diff --git a/dbgpt/app/static/web/404.html b/dbgpt/app/static/web/404.html index 2dd5f3630..44d5c8703 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 2dd5f3630..44d5c8703 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/_LUlP8fg3TFDUAFikQDdn/construct/prompt/add.json b/dbgpt/app/static/web/_next/data/UzIL9Vo-lgMnc_NIhniRY/construct/prompt/add.json similarity index 100% rename from dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/add.json rename to dbgpt/app/static/web/_next/data/UzIL9Vo-lgMnc_NIhniRY/construct/prompt/add.json diff --git a/dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/edit.json b/dbgpt/app/static/web/_next/data/UzIL9Vo-lgMnc_NIhniRY/construct/prompt/edit.json similarity index 100% rename from dbgpt/app/static/web/_next/data/_LUlP8fg3TFDUAFikQDdn/construct/prompt/edit.json rename to dbgpt/app/static/web/_next/data/UzIL9Vo-lgMnc_NIhniRY/construct/prompt/edit.json diff --git a/dbgpt/app/static/web/_next/static/UzIL9Vo-lgMnc_NIhniRY/_buildManifest.js b/dbgpt/app/static/web/_next/static/UzIL9Vo-lgMnc_NIhniRY/_buildManifest.js new file mode 100644 index 000000000..77328161d --- /dev/null +++ b/dbgpt/app/static/web/_next/static/UzIL9Vo-lgMnc_NIhniRY/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(c,t,s,a,e,n,o,p,u,i,r,d,b,h,f,k,m,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,f,"static/chunks/2415-38583cd988d3a7a0.js",I,"static/chunks/pages/index-e7fc91c162983a3d.js"],"/_error":["static/chunks/pages/_error-8095ba9e1bf12f30.js"],"/chat":[c,t,s,a,e,n,o,p,u,r,d,b,f,k,x,_,I,"static/chunks/pages/chat-5db0a67ea8525f5f.js"],"/construct":[t,e,h,B,"static/chunks/pages/construct-8a169176d486c1fd.js"],"/construct/agent":[c,t,s,e,n,o,p,h,f,"static/chunks/7612-bac91f172005b1c4.js",L,"static/chunks/pages/construct/agent-f548915706cafc75.js"],"/construct/app":[c,t,s,a,e,n,o,p,u,h,i,m,f,E,"static/css/286e71c2657cb947.css","static/chunks/pages/construct/app-cce00a78553efd73.js"],"/construct/app/components/create-app-modal":[c,s,a,n,i,"static/css/71b2e674cdce283c.css","static/chunks/pages/construct/app/components/create-app-modal-048a4aaebd00cdd0.js"],"/construct/app/extra":[C,R,N,c,t,s,a,e,n,o,p,u,h,i,r,d,m,j,b,f,l,w,k,g,v,A,D,x,M,S,F,_,T,"static/css/096e41fbc2c0234f.css","static/chunks/pages/construct/app/extra-46155242a25f026e.js"],"/construct/app/extra/components/AwelLayout":[N,t,u,i,S,H,"static/chunks/pages/construct/app/extra/components/AwelLayout-cae7e3cebaa0566b.js"],"/construct/app/extra/components/NativeApp":[c,t,u,i,k,"static/chunks/pages/construct/app/extra/components/NativeApp-89d10b71042978e7.js"],"/construct/app/extra/components/RecommendQuestions":[c,s,a,i,"static/css/baa1b56aac6681e7.css","static/chunks/pages/construct/app/extra/components/RecommendQuestions-aa4edfb8a4c4ab9e.js"],"/construct/app/extra/components/auto-plan":[C,R,c,t,s,a,e,n,o,p,u,h,i,r,d,m,j,b,f,l,w,k,g,v,A,D,x,M,F,_,T,I,"static/chunks/pages/construct/app/extra/components/auto-plan-6e9761dabfe481b3.js"],"/construct/app/extra/components/auto-plan/DetailsCard":[C,R,c,t,s,a,e,n,o,p,u,h,i,r,d,m,j,b,f,l,w,k,g,v,A,D,x,M,F,_,T,I,"static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-85d27469d9eebd26.js"],"/construct/app/extra/components/auto-plan/ResourceContent":[t,u,i,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourceContent-da10a2f702d46f16.js"],"/construct/app/extra/components/auto-plan/ResourcesCard":[C,c,t,s,o,u,i,M,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourcesCard-c23d56fc44d9ba78.js"],"/construct/app/extra/config":["static/chunks/pages/construct/app/extra/config-0d2a0029f7d59647.js"],"/construct/database":[c,t,s,a,e,n,u,h,i,k,g,E,O,B,"static/chunks/pages/construct/database-fea19d3f819037bd.js"],"/construct/dbgpts":[c,t,s,a,e,n,o,p,h,f,"static/chunks/8391-507fab98abdd95c0.js",L,"static/chunks/pages/construct/dbgpts-5539304dbb5562f3.js"],"/construct/flow":[c,t,s,a,e,n,o,p,u,h,i,m,j,"static/chunks/7138-d1edda86473c263d.js",L,"static/chunks/pages/construct/flow-d8fd69a06359825b.js"],"/construct/flow/canvas":[C,N,c,t,s,a,n,o,u,i,r,d,m,j,l,k,x,"static/chunks/3764-90db3ed836a41b68.js",S,Q,"static/chunks/905-0c5c5c53252325cf.js","static/chunks/5376-374baf8a709dc019.js",H,"static/chunks/pages/construct/flow/canvas-68df61d6704c64f3.js"],"/construct/knowledge":[C,R,c,t,s,a,e,n,o,p,u,h,i,r,d,m,j,b,f,l,w,k,g,v,A,D,x,Q,"static/chunks/118-32492a94d66c9568.js",F,_,L,"static/chunks/pages/construct/knowledge-fa330d03c46998c4.js"],"/construct/knowledge/chunk":[C,R,c,t,s,a,e,n,o,p,u,h,i,r,d,m,j,b,f,l,w,k,g,v,A,D,x,"static/chunks/245-71283dfb2635f16f.js",F,_,I,"static/chunks/pages/construct/knowledge/chunk-4a703cf182e32988.js"],"/construct/models":[c,t,s,a,e,o,p,u,h,i,j,k,"static/chunks/6576-ce1ffc912059f3d9.js",L,"static/chunks/pages/construct/models-a2c48a1502929b7c.js"],"/construct/prompt":[c,t,s,a,e,n,o,p,u,h,m,j,f,l,w,"static/css/6f3f201b5cbc2e30.css","static/chunks/pages/construct/prompt-6eed4da259b44d56.js"],"/construct/prompt/[type]":[c,t,s,a,e,u,h,i,d,b,k,D,O,"static/chunks/3485-d1147a6980abad4d.js","static/css/279c58a83be8d59c.css","static/chunks/pages/construct/prompt/[type]-42367d3e9e7d0ca0.js"],"/evaluation":[c,t,s,a,e,n,p,u,i,r,m,j,f,l,w,"static/chunks/2271-565a2ce587ab123e.js","static/chunks/pages/evaluation-0bb9b83928c3dc1d.js"],"/mobile/chat":[c,t,s,a,e,n,o,p,r,d,b,"static/chunks/7209-e9b9789415bc4cda.js",y,"static/chunks/pages/mobile/chat-73fafc9994a784e4.js"],"/mobile/chat/components/ChatDialog":[C,R,c,t,s,a,e,n,o,p,u,h,r,d,m,j,b,f,l,w,k,g,v,A,D,x,"static/chunks/4257-a426d3580ccc3360.js",F,_,I,"static/chunks/pages/mobile/chat/components/ChatDialog-59679d5fe7b7f4f5.js"],"/mobile/chat/components/Content":[C,R,c,t,s,a,e,n,o,p,u,h,r,d,m,j,b,f,l,w,k,g,v,A,D,x,"static/chunks/242-dbb68b23f203ef74.js",F,_,I,"static/chunks/pages/mobile/chat/components/Content-2bb9e93786282803.js"],"/mobile/chat/components/DislikeDrawer":[c,s,a,g,"static/chunks/pages/mobile/chat/components/DislikeDrawer-9288f41a6c2b216d.js"],"/mobile/chat/components/Feedback":[c,t,s,a,e,n,o,p,r,d,b,g,"static/chunks/5737-20f7e281c9abcdf4.js",y,"static/chunks/pages/mobile/chat/components/Feedback-2cc20ea6c06bb756.js"],"/mobile/chat/components/Header":[c,t,s,a,e,n,o,p,r,d,b,"static/chunks/2500-d84cf8221c6a1a05.js",y,"static/chunks/pages/mobile/chat/components/Header-b946939cde98acef.js"],"/mobile/chat/components/InputContainer":[c,t,s,a,e,n,o,p,r,d,b,"static/chunks/8538-b1818d93452a29d4.js",y,"static/chunks/pages/mobile/chat/components/InputContainer-0fd249ffc195c3eb.js"],"/mobile/chat/components/ModelSelector":[c,t,s,a,e,n,o,p,r,d,b,"static/chunks/7399-394eff6f9ebad46d.js",y,"static/chunks/pages/mobile/chat/components/ModelSelector-275c638acc09930b.js"],"/mobile/chat/components/OptionIcon":["static/chunks/pages/mobile/chat/components/OptionIcon-9b7b2b198d5ee1f1.js"],"/mobile/chat/components/Resource":[c,t,s,a,e,n,o,p,r,d,b,"static/chunks/2524-c83a156de2b77b49.js",y,"static/chunks/pages/mobile/chat/components/Resource-34980a6b3cc452ed.js"],"/mobile/chat/components/Thermometer":[c,t,s,a,e,n,o,p,r,d,b,"static/chunks/2293-6c9d7e03730e4b24.js",y,"static/chunks/pages/mobile/chat/components/Thermometer-77cb0ef3c006005b.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/2648-59de234a807d90ae.js","static/chunks/3791-f6f37850ece447de.js","static/chunks/4296-4008870119994001.js","static/chunks/5102-86e740a9133090e8.js","static/chunks/3293-8f925a65eec3ddec.js","static/chunks/4330-b260746a7ea9ddcf.js","static/chunks/1776-8c7097bfb185b336.js","static/chunks/5418-eb78d0ca20252b52.js","static/chunks/4041-8d256002237909f6.js","static/chunks/8232-12712978f4f1b0d6.js","static/chunks/2913-9eb18866ddd0927d.js","static/chunks/3780-e1ed1f83a44ab45f.js","static/chunks/6231-082aa9c179c552ae.js","static/chunks/1941-bc4a92a35ebc89e5.js","static/chunks/2783-1c3fc6dac7c21452.js","static/chunks/3320-5d66a909c13147ea.js","static/chunks/5872-8f08381df96c9b7e.js","static/chunks/4567-31022b4e8fe3200a.js","static/chunks/1531-7c4fca1ca77441a8.js","static/chunks/5265-f62f582ca941ed38.js","static/chunks/542-0bbd04c86115e00c.js","static/chunks/29107295-75edf0bf34e24b1e.js","static/chunks/2611-3472a5f174173631.js","static/chunks/9256-f626ccdf8dd069fb.js","static/chunks/9397-b2daec73b1febdd8.js","static/css/9b601b4de5d78ac2.css","static/chunks/355a6ca7-261eadbf8f42c8f1.js","static/chunks/7332-ef4a1a0affdec590.js","static/chunks/6540-aafeba114a6e14b0.js","static/chunks/8709-c8ebd65cc988bf10.js","static/chunks/3913-219eee6825505e08.js","static/css/f50ad89cce84a0a9.css","static/chunks/5852-18d2610bc86ace51.js","static/chunks/971df74e-65e71fad3b06f301.js","static/chunks/7003-4abc6703166ef27c.js","static/chunks/9200-0e937cd7ae6417f1.js","static/css/8ff116f2992cd086.css","static/chunks/8401-0914586dce1fe9ac.js","static/css/a275cc2b185e04f8.css","static/chunks/4393-f23047ee5940b648.js","static/chunks/7047-e4c4cb32bc20c129.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_ssgManifest.js b/dbgpt/app/static/web/_next/static/UzIL9Vo-lgMnc_NIhniRY/_ssgManifest.js similarity index 100% rename from dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_ssgManifest.js rename to dbgpt/app/static/web/_next/static/UzIL9Vo-lgMnc_NIhniRY/_ssgManifest.js diff --git a/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_buildManifest.js b/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_buildManifest.js deleted file mode 100644 index 8f333cc2e..000000000 --- a/dbgpt/app/static/web/_next/static/_LUlP8fg3TFDUAFikQDdn/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(c,t,s,a,e,n,o,p,u,i,b,r,h,d,f,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,U){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[c,t,s,a,e,n,o,p,f,"static/chunks/9491-9d8b35345ca8af6d.js",I,"static/chunks/pages/index-840709426a19cb84.js"],"/_error":["static/chunks/pages/_error-8095ba9e1bf12f30.js"],"/chat":[c,t,s,a,e,n,o,p,u,b,r,h,f,m,x,_,I,"static/chunks/pages/chat-d42284a5615e370b.js"],"/construct":[t,e,d,E,"static/chunks/pages/construct-319b439e78be2143.js"],"/construct/agent":[c,t,s,e,n,o,p,i,d,f,H,"static/chunks/pages/construct/agent-fe9b1b1a107c27e4.js"],"/construct/app":[c,t,s,a,e,n,o,p,u,i,d,k,f,M,"static/css/286e71c2657cb947.css","static/chunks/pages/construct/app-c09abe4737efea80.js"],"/construct/app/components/create-app-modal":[c,s,a,n,i,"static/css/71b2e674cdce283c.css","static/chunks/pages/construct/app/components/create-app-modal-ee138c28e7c75813.js"],"/construct/app/extra":[C,R,N,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,L,S,F,_,T,"static/css/096e41fbc2c0234f.css","static/chunks/pages/construct/app/extra-cb009c91f3a8a7d4.js"],"/construct/app/extra/components/AwelLayout":[N,t,u,i,S,O,"static/chunks/pages/construct/app/extra/components/AwelLayout-ddaa4a6b5824376c.js"],"/construct/app/extra/components/NativeApp":[c,t,u,i,m,"static/chunks/pages/construct/app/extra/components/NativeApp-84139b5be810e4f8.js"],"/construct/app/extra/components/RecommendQuestions":[c,s,a,i,"static/css/baa1b56aac6681e7.css","static/chunks/pages/construct/app/extra/components/RecommendQuestions-31d13fcf36b4c9f2.js"],"/construct/app/extra/components/auto-plan":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,L,F,_,T,I,"static/chunks/pages/construct/app/extra/components/auto-plan-5716b726d8598c10.js"],"/construct/app/extra/components/auto-plan/DetailsCard":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,L,F,_,T,I,"static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-8397eefbebcfaba1.js"],"/construct/app/extra/components/auto-plan/ResourceContent":[t,u,i,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourceContent-f826779e9c30836d.js"],"/construct/app/extra/components/auto-plan/ResourcesCard":[C,c,t,s,o,u,i,L,"static/chunks/pages/construct/app/extra/components/auto-plan/ResourcesCard-e058cb34054ef9de.js"],"/construct/app/extra/config":["static/chunks/pages/construct/app/extra/config-f3c12bc9d870619f.js"],"/construct/database":[c,t,s,a,e,n,u,i,d,m,g,M,Q,E,"static/chunks/pages/construct/database-cf37126619f928e1.js"],"/construct/dbgpts":[c,t,s,a,e,n,o,p,i,d,f,H,"static/chunks/pages/construct/dbgpts-1ab327b075143feb.js"],"/construct/flow":[c,t,s,a,e,n,o,p,u,i,d,k,j,B,"static/chunks/pages/construct/flow-6a6f34dd4d9d2446.js"],"/construct/flow/canvas":[C,N,c,t,s,a,n,o,u,i,b,r,k,j,l,m,x,"static/chunks/3764-b45350cb2b4cc75c.js",S,U,"static/chunks/905-0f83596e5a15f70c.js","static/chunks/5376-56da7b9cd48c6939.js",O,"static/chunks/pages/construct/flow/canvas-e7f999f251346cd8.js"],"/construct/knowledge":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,U,"static/chunks/118-ed7c92bb0f6e1f76.js",F,_,B,"static/chunks/pages/construct/knowledge-36ba0b014ada0320.js"],"/construct/knowledge/chunk":[C,R,c,t,s,a,e,n,o,p,u,i,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,"static/chunks/245-e035ffa3e6f9184e.js",F,_,I,"static/chunks/pages/construct/knowledge/chunk-e43245e0afb94fff.js"],"/construct/models":[c,t,s,a,e,o,p,u,i,d,j,m,M,B,"static/chunks/pages/construct/models-1711917289711ce5.js"],"/construct/prompt":[c,t,s,a,e,n,o,p,u,d,k,j,f,l,w,"static/css/6f3f201b5cbc2e30.css","static/chunks/pages/construct/prompt-f4f4bf731dfe5edc.js"],"/construct/prompt/[type]":[c,t,s,a,e,u,i,d,r,h,m,D,Q,"static/chunks/3485-f0ab5a7ee3c9ca60.js","static/css/279c58a83be8d59c.css","static/chunks/pages/construct/prompt/[type]-0ee7da9aef6c5786.js"],"/evaluation":[c,t,s,a,e,n,p,u,i,b,k,j,f,l,w,"static/chunks/3205-24ab90342873962a.js","static/chunks/pages/evaluation-b4a5301e64edac85.js"],"/mobile/chat":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/2524-6688060ea7aa83a3.js",y,"static/chunks/pages/mobile/chat-8fee71d4789d96bc.js"],"/mobile/chat/components/ChatDialog":[C,R,c,t,s,a,e,n,o,p,u,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,"static/chunks/4257-668156f8a1c38c56.js",F,_,I,"static/chunks/pages/mobile/chat/components/ChatDialog-287af3d0d1704f88.js"],"/mobile/chat/components/Content":[C,R,c,t,s,a,e,n,o,p,u,d,b,r,k,j,h,f,l,w,m,g,v,A,D,x,"static/chunks/242-78fac58777b2bfcd.js",F,_,I,"static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js"],"/mobile/chat/components/DislikeDrawer":[c,s,a,g,"static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js"],"/mobile/chat/components/Feedback":[c,t,s,a,e,n,o,p,b,r,h,g,"static/chunks/5737-5cac6ca544298b0c.js",y,"static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js"],"/mobile/chat/components/Header":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/2293-9b8cd265e41eb091.js",y,"static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js"],"/mobile/chat/components/InputContainer":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/2500-b968fce58417f277.js",y,"static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js"],"/mobile/chat/components/ModelSelector":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/8538-dbf75773f80258af.js",y,"static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js"],"/mobile/chat/components/OptionIcon":["static/chunks/pages/mobile/chat/components/OptionIcon-c8d001dd2e3fe951.js"],"/mobile/chat/components/Resource":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/7209-521abe84c6bfc433.js",y,"static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js"],"/mobile/chat/components/Thermometer":[c,t,s,a,e,n,o,p,b,r,h,"static/chunks/7399-aa4b411960656a19.js",y,"static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.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/2648-312da8c51dc12c7d.js","static/chunks/3791-f814ce3f4efc763b.js","static/chunks/4296-03a1c6f7e5fa7978.js","static/chunks/5102-ac0ec123b5c456ca.js","static/chunks/3293-00eeeedfb2d0e52d.js","static/chunks/4330-b561a3ebc6c7d177.js","static/chunks/1776-744a753b0d12343d.js","static/chunks/5418-4cb1198a87b39bf7.js","static/chunks/4041-329f36270173dc92.js","static/chunks/8232-7d47277563776def.js","static/chunks/2913-05d24ba2d215bb30.js","static/chunks/2378-dfa7314d67a753a4.js","static/chunks/6231-01c7c0033aee5719.js","static/chunks/1941-b1ab5784439b9144.js","static/chunks/2783-afe76fb57ff0a4da.js","static/chunks/3320-15447b17ad1077c7.js","static/chunks/5872-c44e0f19a507cf4a.js","static/chunks/4567-d1df11aa7b25e1cf.js","static/chunks/1531-58ba8f03b8d769ab.js","static/chunks/5265-d25a28b8e47ce90f.js","static/chunks/6212-6da268a7efc0e249.js","static/chunks/29107295-75edf0bf34e24b1e.js","static/chunks/2611-243c0c2c920951e0.js","static/chunks/9256-c28ad822e1703c70.js","static/chunks/9397-fe28251b41db0e09.js","static/css/9b601b4de5d78ac2.css","static/chunks/355a6ca7-261eadbf8f42c8f1.js","static/chunks/7332-8eb0732abfa61a4b.js","static/chunks/7530-a7f2629474af542d.js","static/chunks/8709-0fd030e811cfd483.js","static/chunks/3913-d21b4c9b2d757142.js","static/chunks/5852-455172e18d73a1f3.js","static/chunks/6261-88eb5ea7012b9da0.js","static/chunks/971df74e-5c8a2b2e1932b68d.js","static/chunks/7003-35ff135d274ba463.js","static/chunks/9200-7d8e5b566dae262d.js","static/css/f50ad89cce84a0a9.css","static/css/8ff116f2992cd086.css","static/css/5c8e4c269e2281cb.css","static/css/a275cc2b185e04f8.css","static/chunks/4393-b2ea16a41b98d023.js","static/chunks/8237-a1c0bcfc277205e0.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/118-ed7c92bb0f6e1f76.js b/dbgpt/app/static/web/_next/static/chunks/118-32492a94d66c9568.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/118-ed7c92bb0f6e1f76.js rename to dbgpt/app/static/web/_next/static/chunks/118-32492a94d66c9568.js diff --git a/dbgpt/app/static/web/_next/static/chunks/1531-58ba8f03b8d769ab.js b/dbgpt/app/static/web/_next/static/chunks/1531-7c4fca1ca77441a8.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/1531-58ba8f03b8d769ab.js rename to dbgpt/app/static/web/_next/static/chunks/1531-7c4fca1ca77441a8.js diff --git a/dbgpt/app/static/web/_next/static/chunks/8401.ba8833cc7b7ba0a1.js b/dbgpt/app/static/web/_next/static/chunks/1653.fc3d2f354d739c43.js similarity index 99% rename from dbgpt/app/static/web/_next/static/chunks/8401.ba8833cc7b7ba0a1.js rename to dbgpt/app/static/web/_next/static/chunks/1653.fc3d2f354d739c43.js index 2edebbe74..61ffb7760 100644 --- a/dbgpt/app/static/web/_next/static/chunks/8401.ba8833cc7b7ba0a1.js +++ b/dbgpt/app/static/web/_next/static/chunks/1653.fc3d2f354d739c43.js @@ -1,3 +1,3 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8401],{78401:function(e,t,i){i.r(t),i.d(t,{Adapter:function(){return _},CodeActionAdaptor:function(){return N},DefinitionAdapter:function(){return D},DiagnosticsAdapter:function(){return w},DocumentHighlightAdapter:function(){return C},FormatAdapter:function(){return O},FormatHelper:function(){return P},FormatOnTypeAdapter:function(){return L},InlayHintsAdapter:function(){return M},Kind:function(){return I},LibFiles:function(){return y},OutlineAdapter:function(){return F},QuickInfoAdapter:function(){return v},ReferenceAdapter:function(){return A},RenameAdapter:function(){return K},SignatureHelpAdapter:function(){return x},SuggestAdapter:function(){return S},WorkerManager:function(){return m},flattenDiagnosticMessageText:function(){return f},getJavaScriptWorker:function(){return H},getTypeScriptWorker:function(){return j},setupJavaScript:function(){return E},setupTypeScript:function(){return R}});var s,r,n,a=i(5036),o=i(39585),l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,g=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of c(t))d.call(e,r)||r===i||l(e,r,{get:()=>t[r],enumerable:!(s=u(t,r))||s.enumerable});return e},p={};g(p,a,"default"),s&&g(s,a,"default");var m=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;let e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=p.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync())?await this._worker.withSyncedResources(p.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy())()),this._client}async getLanguageServiceWorker(...e){let t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},h={};function f(e,t,i=0){if("string"==typeof e)return e;if(void 0===e)return"";let s="";if(i){s+=t;for(let e=0;ee.text).join(""):""}h["lib.d.ts"]=!0,h["lib.decorators.d.ts"]=!0,h["lib.decorators.legacy.d.ts"]=!0,h["lib.dom.asynciterable.d.ts"]=!0,h["lib.dom.d.ts"]=!0,h["lib.dom.iterable.d.ts"]=!0,h["lib.es2015.collection.d.ts"]=!0,h["lib.es2015.core.d.ts"]=!0,h["lib.es2015.d.ts"]=!0,h["lib.es2015.generator.d.ts"]=!0,h["lib.es2015.iterable.d.ts"]=!0,h["lib.es2015.promise.d.ts"]=!0,h["lib.es2015.proxy.d.ts"]=!0,h["lib.es2015.reflect.d.ts"]=!0,h["lib.es2015.symbol.d.ts"]=!0,h["lib.es2015.symbol.wellknown.d.ts"]=!0,h["lib.es2016.array.include.d.ts"]=!0,h["lib.es2016.d.ts"]=!0,h["lib.es2016.full.d.ts"]=!0,h["lib.es2016.intl.d.ts"]=!0,h["lib.es2017.d.ts"]=!0,h["lib.es2017.date.d.ts"]=!0,h["lib.es2017.full.d.ts"]=!0,h["lib.es2017.intl.d.ts"]=!0,h["lib.es2017.object.d.ts"]=!0,h["lib.es2017.sharedmemory.d.ts"]=!0,h["lib.es2017.string.d.ts"]=!0,h["lib.es2017.typedarrays.d.ts"]=!0,h["lib.es2018.asyncgenerator.d.ts"]=!0,h["lib.es2018.asynciterable.d.ts"]=!0,h["lib.es2018.d.ts"]=!0,h["lib.es2018.full.d.ts"]=!0,h["lib.es2018.intl.d.ts"]=!0,h["lib.es2018.promise.d.ts"]=!0,h["lib.es2018.regexp.d.ts"]=!0,h["lib.es2019.array.d.ts"]=!0,h["lib.es2019.d.ts"]=!0,h["lib.es2019.full.d.ts"]=!0,h["lib.es2019.intl.d.ts"]=!0,h["lib.es2019.object.d.ts"]=!0,h["lib.es2019.string.d.ts"]=!0,h["lib.es2019.symbol.d.ts"]=!0,h["lib.es2020.bigint.d.ts"]=!0,h["lib.es2020.d.ts"]=!0,h["lib.es2020.date.d.ts"]=!0,h["lib.es2020.full.d.ts"]=!0,h["lib.es2020.intl.d.ts"]=!0,h["lib.es2020.number.d.ts"]=!0,h["lib.es2020.promise.d.ts"]=!0,h["lib.es2020.sharedmemory.d.ts"]=!0,h["lib.es2020.string.d.ts"]=!0,h["lib.es2020.symbol.wellknown.d.ts"]=!0,h["lib.es2021.d.ts"]=!0,h["lib.es2021.full.d.ts"]=!0,h["lib.es2021.intl.d.ts"]=!0,h["lib.es2021.promise.d.ts"]=!0,h["lib.es2021.string.d.ts"]=!0,h["lib.es2021.weakref.d.ts"]=!0,h["lib.es2022.array.d.ts"]=!0,h["lib.es2022.d.ts"]=!0,h["lib.es2022.error.d.ts"]=!0,h["lib.es2022.full.d.ts"]=!0,h["lib.es2022.intl.d.ts"]=!0,h["lib.es2022.object.d.ts"]=!0,h["lib.es2022.regexp.d.ts"]=!0,h["lib.es2022.sharedmemory.d.ts"]=!0,h["lib.es2022.string.d.ts"]=!0,h["lib.es2023.array.d.ts"]=!0,h["lib.es2023.collection.d.ts"]=!0,h["lib.es2023.d.ts"]=!0,h["lib.es2023.full.d.ts"]=!0,h["lib.es5.d.ts"]=!0,h["lib.es6.d.ts"]=!0,h["lib.esnext.collection.d.ts"]=!0,h["lib.esnext.d.ts"]=!0,h["lib.esnext.decorators.d.ts"]=!0,h["lib.esnext.disposable.d.ts"]=!0,h["lib.esnext.full.d.ts"]=!0,h["lib.esnext.intl.d.ts"]=!0,h["lib.esnext.object.d.ts"]=!0,h["lib.esnext.promise.d.ts"]=!0,h["lib.scripthost.d.ts"]=!0,h["lib.webworker.asynciterable.d.ts"]=!0,h["lib.webworker.d.ts"]=!0,h["lib.webworker.importscripts.d.ts"]=!0,h["lib.webworker.iterable.d.ts"]=!0;var _=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let i=e.getPositionAt(t.start),s=e.getPositionAt(t.start+t.length),{lineNumber:r,column:n}=i,{lineNumber:a,column:o}=s;return{startLineNumber:r,startColumn:n,endLineNumber:a,endColumn:o}}},y=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return!!e&&0===e.path.indexOf("/lib.")&&!!h[e.path.slice(1)]}getOrCreateModel(e){let t=p.Uri.parse(e),i=p.editor.getModel(t);if(i)return i;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return p.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);let s=o.TG.getExtraLibs()[e];return s?p.editor.createModel(s.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},w=class extends _{constructor(e,t,i,s){super(s),this._libFiles=e,this._defaults=t,this._selector=i,this._disposables=[],this._listener=Object.create(null);let r=e=>{let t;if(e.getLanguageId()!==i)return;let s=()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t?e.isAttachedToEditor()&&this._doValidate(e):this._doValidate(e)},r=e.onDidChangeContent(()=>{clearTimeout(t),t=window.setTimeout(s,500)}),n=e.onDidChangeAttached(()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t&&(e.isAttachedToEditor()?s():p.editor.setModelMarkers(e,this._selector,[]))});this._listener[e.uri.toString()]={dispose(){r.dispose(),n.dispose(),clearTimeout(t)}},s()},n=e=>{p.editor.setModelMarkers(e,this._selector,[]);let t=e.uri.toString();this._listener[t]&&(this._listener[t].dispose(),delete this._listener[t])};this._disposables.push(p.editor.onDidCreateModel(e=>r(e))),this._disposables.push(p.editor.onWillDisposeModel(n)),this._disposables.push(p.editor.onDidChangeModelLanguage(e=>{n(e.model),r(e.model)})),this._disposables.push({dispose(){for(let e of p.editor.getModels())n(e)}});let a=()=>{for(let e of p.editor.getModels())n(e),r(e)};this._disposables.push(this._defaults.onDidChange(a)),this._disposables.push(this._defaults.onDidExtraLibsChange(a)),p.editor.getModels().forEach(e=>r(e))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){let t=await this._worker(e.uri);if(e.isDisposed())return;let i=[],{noSyntaxValidation:s,noSemanticValidation:r,noSuggestionDiagnostics:n}=this._defaults.getDiagnosticsOptions();s||i.push(t.getSyntacticDiagnostics(e.uri.toString())),r||i.push(t.getSemanticDiagnostics(e.uri.toString())),n||i.push(t.getSuggestionDiagnostics(e.uri.toString()));let a=await Promise.all(i);if(!a||e.isDisposed())return;let o=a.reduce((e,t)=>t.concat(e),[]).filter(e=>-1===(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)),l=o.map(e=>e.relatedInformation||[]).reduce((e,t)=>t.concat(e),[]).map(e=>e.file?p.Uri.parse(e.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(l),e.isDisposed()||p.editor.setModelMarkers(e,this._selector,o.map(t=>this._convertDiagnostics(e,t)))}_convertDiagnostics(e,t){let i=t.start||0,s=t.length||1,{lineNumber:r,column:n}=e.getPositionAt(i),{lineNumber:a,column:o}=e.getPositionAt(i+s),l=[];return t.reportsUnnecessary&&l.push(p.MarkerTag.Unnecessary),t.reportsDeprecated&&l.push(p.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:r,startColumn:n,endLineNumber:a,endColumn:o,message:f(t.messageText,"\n"),code:t.code.toString(),tags:l,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];let i=[];return t.forEach(t=>{let s=e;if(t.file&&(s=this._libFiles.getOrCreateModel(t.file.fileName)),!s)return;let r=t.start||0,n=t.length||1,{lineNumber:a,column:o}=s.getPositionAt(r),{lineNumber:l,column:u}=s.getPositionAt(r+n);i.push({resource:s.uri,startLineNumber:a,startColumn:o,endLineNumber:l,endColumn:u,message:f(t.messageText,"\n")})}),i}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return p.MarkerSeverity.Error;case 3:break;case 0:return p.MarkerSeverity.Warning;case 2:return p.MarkerSeverity.Hint}return p.MarkerSeverity.Info}},S=class e extends _{get triggerCharacters(){return["."]}async provideCompletionItems(t,i,s,r){let n=t.getWordUntilPosition(i),a=new p.Range(i.lineNumber,n.startColumn,i.lineNumber,n.endColumn),o=t.uri,l=t.getOffsetAt(i),u=await this._worker(o);if(t.isDisposed())return;let c=await u.getCompletionsAtPosition(o.toString(),l);if(!c||t.isDisposed())return;let d=c.entries.map(s=>{let r=a;if(s.replacementSpan){let e=t.getPositionAt(s.replacementSpan.start),i=t.getPositionAt(s.replacementSpan.start+s.replacementSpan.length);r=new p.Range(e.lineNumber,e.column,i.lineNumber,i.column)}let n=[];return void 0!==s.kindModifiers&&-1!==s.kindModifiers.indexOf("deprecated")&&n.push(p.languages.CompletionItemTag.Deprecated),{uri:o,position:i,offset:l,range:r,label:s.name,insertText:s.name,sortText:s.sortText,kind:e.convertKind(s.kind),tags:n}});return{suggestions:d}}async resolveCompletionItem(t,i){let s=t.uri,r=t.position,n=t.offset,a=await this._worker(s),o=await a.getCompletionEntryDetails(s.toString(),n,t.label);return o?{uri:s,position:r,label:o.name,kind:e.convertKind(o.kind),detail:b(o.displayParts),documentation:{value:e.createDocumentationString(o)}}:t}static convertKind(e){switch(e){case I.primitiveType:case I.keyword:return p.languages.CompletionItemKind.Keyword;case I.variable:case I.localVariable:return p.languages.CompletionItemKind.Variable;case I.memberVariable:case I.memberGetAccessor:case I.memberSetAccessor:return p.languages.CompletionItemKind.Field;case I.function:case I.memberFunction:case I.constructSignature:case I.callSignature:case I.indexSignature:return p.languages.CompletionItemKind.Function;case I.enum:return p.languages.CompletionItemKind.Enum;case I.module:return p.languages.CompletionItemKind.Module;case I.class:return p.languages.CompletionItemKind.Class;case I.interface:return p.languages.CompletionItemKind.Interface;case I.warning:return p.languages.CompletionItemKind.File}return p.languages.CompletionItemKind.Property}static createDocumentationString(e){let t=b(e.documentation);if(e.tags)for(let i of e.tags)t+=` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1653],{78401:function(e,t,i){i.r(t),i.d(t,{Adapter:function(){return _},CodeActionAdaptor:function(){return N},DefinitionAdapter:function(){return D},DiagnosticsAdapter:function(){return w},DocumentHighlightAdapter:function(){return C},FormatAdapter:function(){return O},FormatHelper:function(){return P},FormatOnTypeAdapter:function(){return L},InlayHintsAdapter:function(){return M},Kind:function(){return I},LibFiles:function(){return y},OutlineAdapter:function(){return F},QuickInfoAdapter:function(){return v},ReferenceAdapter:function(){return A},RenameAdapter:function(){return K},SignatureHelpAdapter:function(){return x},SuggestAdapter:function(){return S},WorkerManager:function(){return m},flattenDiagnosticMessageText:function(){return f},getJavaScriptWorker:function(){return H},getTypeScriptWorker:function(){return j},setupJavaScript:function(){return E},setupTypeScript:function(){return R}});var s,r,n,a=i(5036),o=i(39585),l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,g=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of c(t))d.call(e,r)||r===i||l(e,r,{get:()=>t[r],enumerable:!(s=u(t,r))||s.enumerable});return e},p={};g(p,a,"default"),s&&g(s,a,"default");var m=class{constructor(e,t){this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker()),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(()=>this._updateExtraLibs())}dispose(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}async _updateExtraLibs(){if(!this._worker)return;let e=++this._updateExtraLibsToken,t=await this._worker.getProxy();this._updateExtraLibsToken===e&&t.updateExtraLibs(this._defaults.getExtraLibs())}_getClient(){return this._client||(this._client=(async()=>(this._worker=p.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath,inlayHintsOptions:this._defaults.inlayHintsOptions}}),this._defaults.getEagerModelSync())?await this._worker.withSyncedResources(p.editor.getModels().filter(e=>e.getLanguageId()===this._modeId).map(e=>e.uri)):await this._worker.getProxy())()),this._client}async getLanguageServiceWorker(...e){let t=await this._getClient();return this._worker&&await this._worker.withSyncedResources(e),t}},h={};function f(e,t,i=0){if("string"==typeof e)return e;if(void 0===e)return"";let s="";if(i){s+=t;for(let e=0;ee.text).join(""):""}h["lib.d.ts"]=!0,h["lib.decorators.d.ts"]=!0,h["lib.decorators.legacy.d.ts"]=!0,h["lib.dom.asynciterable.d.ts"]=!0,h["lib.dom.d.ts"]=!0,h["lib.dom.iterable.d.ts"]=!0,h["lib.es2015.collection.d.ts"]=!0,h["lib.es2015.core.d.ts"]=!0,h["lib.es2015.d.ts"]=!0,h["lib.es2015.generator.d.ts"]=!0,h["lib.es2015.iterable.d.ts"]=!0,h["lib.es2015.promise.d.ts"]=!0,h["lib.es2015.proxy.d.ts"]=!0,h["lib.es2015.reflect.d.ts"]=!0,h["lib.es2015.symbol.d.ts"]=!0,h["lib.es2015.symbol.wellknown.d.ts"]=!0,h["lib.es2016.array.include.d.ts"]=!0,h["lib.es2016.d.ts"]=!0,h["lib.es2016.full.d.ts"]=!0,h["lib.es2016.intl.d.ts"]=!0,h["lib.es2017.d.ts"]=!0,h["lib.es2017.date.d.ts"]=!0,h["lib.es2017.full.d.ts"]=!0,h["lib.es2017.intl.d.ts"]=!0,h["lib.es2017.object.d.ts"]=!0,h["lib.es2017.sharedmemory.d.ts"]=!0,h["lib.es2017.string.d.ts"]=!0,h["lib.es2017.typedarrays.d.ts"]=!0,h["lib.es2018.asyncgenerator.d.ts"]=!0,h["lib.es2018.asynciterable.d.ts"]=!0,h["lib.es2018.d.ts"]=!0,h["lib.es2018.full.d.ts"]=!0,h["lib.es2018.intl.d.ts"]=!0,h["lib.es2018.promise.d.ts"]=!0,h["lib.es2018.regexp.d.ts"]=!0,h["lib.es2019.array.d.ts"]=!0,h["lib.es2019.d.ts"]=!0,h["lib.es2019.full.d.ts"]=!0,h["lib.es2019.intl.d.ts"]=!0,h["lib.es2019.object.d.ts"]=!0,h["lib.es2019.string.d.ts"]=!0,h["lib.es2019.symbol.d.ts"]=!0,h["lib.es2020.bigint.d.ts"]=!0,h["lib.es2020.d.ts"]=!0,h["lib.es2020.date.d.ts"]=!0,h["lib.es2020.full.d.ts"]=!0,h["lib.es2020.intl.d.ts"]=!0,h["lib.es2020.number.d.ts"]=!0,h["lib.es2020.promise.d.ts"]=!0,h["lib.es2020.sharedmemory.d.ts"]=!0,h["lib.es2020.string.d.ts"]=!0,h["lib.es2020.symbol.wellknown.d.ts"]=!0,h["lib.es2021.d.ts"]=!0,h["lib.es2021.full.d.ts"]=!0,h["lib.es2021.intl.d.ts"]=!0,h["lib.es2021.promise.d.ts"]=!0,h["lib.es2021.string.d.ts"]=!0,h["lib.es2021.weakref.d.ts"]=!0,h["lib.es2022.array.d.ts"]=!0,h["lib.es2022.d.ts"]=!0,h["lib.es2022.error.d.ts"]=!0,h["lib.es2022.full.d.ts"]=!0,h["lib.es2022.intl.d.ts"]=!0,h["lib.es2022.object.d.ts"]=!0,h["lib.es2022.regexp.d.ts"]=!0,h["lib.es2022.sharedmemory.d.ts"]=!0,h["lib.es2022.string.d.ts"]=!0,h["lib.es2023.array.d.ts"]=!0,h["lib.es2023.collection.d.ts"]=!0,h["lib.es2023.d.ts"]=!0,h["lib.es2023.full.d.ts"]=!0,h["lib.es5.d.ts"]=!0,h["lib.es6.d.ts"]=!0,h["lib.esnext.collection.d.ts"]=!0,h["lib.esnext.d.ts"]=!0,h["lib.esnext.decorators.d.ts"]=!0,h["lib.esnext.disposable.d.ts"]=!0,h["lib.esnext.full.d.ts"]=!0,h["lib.esnext.intl.d.ts"]=!0,h["lib.esnext.object.d.ts"]=!0,h["lib.esnext.promise.d.ts"]=!0,h["lib.scripthost.d.ts"]=!0,h["lib.webworker.asynciterable.d.ts"]=!0,h["lib.webworker.d.ts"]=!0,h["lib.webworker.importscripts.d.ts"]=!0,h["lib.webworker.iterable.d.ts"]=!0;var _=class{constructor(e){this._worker=e}_textSpanToRange(e,t){let i=e.getPositionAt(t.start),s=e.getPositionAt(t.start+t.length),{lineNumber:r,column:n}=i,{lineNumber:a,column:o}=s;return{startLineNumber:r,startColumn:n,endLineNumber:a,endColumn:o}}},y=class{constructor(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}isLibFile(e){return!!e&&0===e.path.indexOf("/lib.")&&!!h[e.path.slice(1)]}getOrCreateModel(e){let t=p.Uri.parse(e),i=p.editor.getModel(t);if(i)return i;if(this.isLibFile(t)&&this._hasFetchedLibFiles)return p.editor.createModel(this._libFiles[t.path.slice(1)],"typescript",t);let s=o.TG.getExtraLibs()[e];return s?p.editor.createModel(s.content,"typescript",t):null}_containsLibFile(e){for(let t of e)if(this.isLibFile(t))return!0;return!1}async fetchLibFilesIfNecessary(e){this._containsLibFile(e)&&await this._fetchLibFiles()}_fetchLibFiles(){return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then(e=>e.getLibFiles()).then(e=>{this._hasFetchedLibFiles=!0,this._libFiles=e})),this._fetchLibFilesPromise}},w=class extends _{constructor(e,t,i,s){super(s),this._libFiles=e,this._defaults=t,this._selector=i,this._disposables=[],this._listener=Object.create(null);let r=e=>{let t;if(e.getLanguageId()!==i)return;let s=()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t?e.isAttachedToEditor()&&this._doValidate(e):this._doValidate(e)},r=e.onDidChangeContent(()=>{clearTimeout(t),t=window.setTimeout(s,500)}),n=e.onDidChangeAttached(()=>{let{onlyVisible:t}=this._defaults.getDiagnosticsOptions();t&&(e.isAttachedToEditor()?s():p.editor.setModelMarkers(e,this._selector,[]))});this._listener[e.uri.toString()]={dispose(){r.dispose(),n.dispose(),clearTimeout(t)}},s()},n=e=>{p.editor.setModelMarkers(e,this._selector,[]);let t=e.uri.toString();this._listener[t]&&(this._listener[t].dispose(),delete this._listener[t])};this._disposables.push(p.editor.onDidCreateModel(e=>r(e))),this._disposables.push(p.editor.onWillDisposeModel(n)),this._disposables.push(p.editor.onDidChangeModelLanguage(e=>{n(e.model),r(e.model)})),this._disposables.push({dispose(){for(let e of p.editor.getModels())n(e)}});let a=()=>{for(let e of p.editor.getModels())n(e),r(e)};this._disposables.push(this._defaults.onDidChange(a)),this._disposables.push(this._defaults.onDidExtraLibsChange(a)),p.editor.getModels().forEach(e=>r(e))}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables=[]}async _doValidate(e){let t=await this._worker(e.uri);if(e.isDisposed())return;let i=[],{noSyntaxValidation:s,noSemanticValidation:r,noSuggestionDiagnostics:n}=this._defaults.getDiagnosticsOptions();s||i.push(t.getSyntacticDiagnostics(e.uri.toString())),r||i.push(t.getSemanticDiagnostics(e.uri.toString())),n||i.push(t.getSuggestionDiagnostics(e.uri.toString()));let a=await Promise.all(i);if(!a||e.isDisposed())return;let o=a.reduce((e,t)=>t.concat(e),[]).filter(e=>-1===(this._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)),l=o.map(e=>e.relatedInformation||[]).reduce((e,t)=>t.concat(e),[]).map(e=>e.file?p.Uri.parse(e.file.fileName):null);await this._libFiles.fetchLibFilesIfNecessary(l),e.isDisposed()||p.editor.setModelMarkers(e,this._selector,o.map(t=>this._convertDiagnostics(e,t)))}_convertDiagnostics(e,t){let i=t.start||0,s=t.length||1,{lineNumber:r,column:n}=e.getPositionAt(i),{lineNumber:a,column:o}=e.getPositionAt(i+s),l=[];return t.reportsUnnecessary&&l.push(p.MarkerTag.Unnecessary),t.reportsDeprecated&&l.push(p.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:r,startColumn:n,endLineNumber:a,endColumn:o,message:f(t.messageText,"\n"),code:t.code.toString(),tags:l,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}}_convertRelatedInformation(e,t){if(!t)return[];let i=[];return t.forEach(t=>{let s=e;if(t.file&&(s=this._libFiles.getOrCreateModel(t.file.fileName)),!s)return;let r=t.start||0,n=t.length||1,{lineNumber:a,column:o}=s.getPositionAt(r),{lineNumber:l,column:u}=s.getPositionAt(r+n);i.push({resource:s.uri,startLineNumber:a,startColumn:o,endLineNumber:l,endColumn:u,message:f(t.messageText,"\n")})}),i}_tsDiagnosticCategoryToMarkerSeverity(e){switch(e){case 1:return p.MarkerSeverity.Error;case 3:break;case 0:return p.MarkerSeverity.Warning;case 2:return p.MarkerSeverity.Hint}return p.MarkerSeverity.Info}},S=class e extends _{get triggerCharacters(){return["."]}async provideCompletionItems(t,i,s,r){let n=t.getWordUntilPosition(i),a=new p.Range(i.lineNumber,n.startColumn,i.lineNumber,n.endColumn),o=t.uri,l=t.getOffsetAt(i),u=await this._worker(o);if(t.isDisposed())return;let c=await u.getCompletionsAtPosition(o.toString(),l);if(!c||t.isDisposed())return;let d=c.entries.map(s=>{let r=a;if(s.replacementSpan){let e=t.getPositionAt(s.replacementSpan.start),i=t.getPositionAt(s.replacementSpan.start+s.replacementSpan.length);r=new p.Range(e.lineNumber,e.column,i.lineNumber,i.column)}let n=[];return void 0!==s.kindModifiers&&-1!==s.kindModifiers.indexOf("deprecated")&&n.push(p.languages.CompletionItemTag.Deprecated),{uri:o,position:i,offset:l,range:r,label:s.name,insertText:s.name,sortText:s.sortText,kind:e.convertKind(s.kind),tags:n}});return{suggestions:d}}async resolveCompletionItem(t,i){let s=t.uri,r=t.position,n=t.offset,a=await this._worker(s),o=await a.getCompletionEntryDetails(s.toString(),n,t.label);return o?{uri:s,position:r,label:o.name,kind:e.convertKind(o.kind),detail:b(o.displayParts),documentation:{value:e.createDocumentationString(o)}}:t}static convertKind(e){switch(e){case I.primitiveType:case I.keyword:return p.languages.CompletionItemKind.Keyword;case I.variable:case I.localVariable:return p.languages.CompletionItemKind.Variable;case I.memberVariable:case I.memberGetAccessor:case I.memberSetAccessor:return p.languages.CompletionItemKind.Field;case I.function:case I.memberFunction:case I.constructSignature:case I.callSignature:case I.indexSignature:return p.languages.CompletionItemKind.Function;case I.enum:return p.languages.CompletionItemKind.Enum;case I.module:return p.languages.CompletionItemKind.Module;case I.class:return p.languages.CompletionItemKind.Class;case I.interface:return p.languages.CompletionItemKind.Interface;case I.warning:return p.languages.CompletionItemKind.File}return p.languages.CompletionItemKind.Property}static createDocumentationString(e){let t=b(e.documentation);if(e.tags)for(let i of e.tags)t+=` ${k(i)}`;return t}};function k(e){let t=`*@${e.name}*`;if("param"===e.name&&e.text){let[i,...s]=e.text;t+=`\`${i.text}\``,s.length>0&&(t+=` \u2014 ${s.map(e=>e.text).join(" ")}`)}else Array.isArray(e.text)?t+=` \u2014 ${e.text.map(e=>e.text).join(" ")}`:e.text&&(t+=` \u2014 ${e.text}`);return t}var x=class e extends _{constructor(){super(...arguments),this.signatureHelpTriggerCharacters=["(",","]}static _toSignatureHelpTriggerReason(e){switch(e.triggerKind){case p.languages.SignatureHelpTriggerKind.TriggerCharacter:if(!e.triggerCharacter)return{kind:"invoked"};if(e.isRetrigger)return{kind:"retrigger",triggerCharacter:e.triggerCharacter};return{kind:"characterTyped",triggerCharacter:e.triggerCharacter};case p.languages.SignatureHelpTriggerKind.ContentChange:return e.isRetrigger?{kind:"retrigger"}:{kind:"invoked"};case p.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:"invoked"}}}async provideSignatureHelp(t,i,s,r){let n=t.uri,a=t.getOffsetAt(i),o=await this._worker(n);if(t.isDisposed())return;let l=await o.getSignatureHelpItems(n.toString(),a,{triggerReason:e._toSignatureHelpTriggerReason(r)});if(!l||t.isDisposed())return;let u={activeSignature:l.selectedItemIndex,activeParameter:l.argumentIndex,signatures:[]};return l.items.forEach(e=>{let t={label:"",parameters:[]};t.documentation={value:b(e.documentation)},t.label+=b(e.prefixDisplayParts),e.parameters.forEach((i,s,r)=>{let n=b(i.displayParts),a={label:n,documentation:{value:b(i.documentation)}};t.label+=n,t.parameters.push(a),sk(e)).join(" \n\n"):"",u=b(a.displayParts);return{range:this._textSpanToRange(e,a.textSpan),contents:[{value:"```typescript\n"+u+"\n```\n"},{value:o+(l?"\n\n"+l:"")}]}}},C=class extends _{async provideDocumentHighlights(e,t,i){let s=e.uri,r=e.getOffsetAt(t),n=await this._worker(s);if(e.isDisposed())return;let a=await n.getDocumentHighlights(s.toString(),r,[s.toString()]);if(!(!a||e.isDisposed()))return a.flatMap(t=>t.highlightSpans.map(t=>({range:this._textSpanToRange(e,t.textSpan),kind:"writtenReference"===t.kind?p.languages.DocumentHighlightKind.Write:p.languages.DocumentHighlightKind.Text})))}},D=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideDefinition(e,t,i){let s=e.uri,r=e.getOffsetAt(t),n=await this._worker(s);if(e.isDisposed())return;let a=await n.getDefinitionAtPosition(s.toString(),r);if(!a||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(a.map(e=>p.Uri.parse(e.fileName))),e.isDisposed()))return;let o=[];for(let e of a){let t=this._libFiles.getOrCreateModel(e.fileName);t&&o.push({uri:t.uri,range:this._textSpanToRange(t,e.textSpan)})}return o}},A=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideReferences(e,t,i,s){let r=e.uri,n=e.getOffsetAt(t),a=await this._worker(r);if(e.isDisposed())return;let o=await a.getReferencesAtPosition(r.toString(),n);if(!o||e.isDisposed()||(await this._libFiles.fetchLibFilesIfNecessary(o.map(e=>p.Uri.parse(e.fileName))),e.isDisposed()))return;let l=[];for(let e of o){let t=this._libFiles.getOrCreateModel(e.fileName);t&&l.push({uri:t.uri,range:this._textSpanToRange(t,e.textSpan)})}return l}},F=class extends _{async provideDocumentSymbols(e,t){let i=e.uri,s=await this._worker(i);if(e.isDisposed())return;let r=await s.getNavigationTree(i.toString());if(!r||e.isDisposed())return;let n=(t,i)=>{let s={name:t.text,detail:"",kind:T[t.kind]||p.languages.SymbolKind.Variable,range:this._textSpanToRange(e,t.spans[0]),selectionRange:this._textSpanToRange(e,t.spans[0]),tags:[],children:t.childItems?.map(e=>n(e,t.text)),containerName:i};return s},a=r.childItems?r.childItems.map(e=>n(e)):[];return a}},I=class{static{this.unknown=""}static{this.keyword="keyword"}static{this.script="script"}static{this.module="module"}static{this.class="class"}static{this.interface="interface"}static{this.type="type"}static{this.enum="enum"}static{this.variable="var"}static{this.localVariable="local var"}static{this.function="function"}static{this.localFunction="local function"}static{this.memberFunction="method"}static{this.memberGetAccessor="getter"}static{this.memberSetAccessor="setter"}static{this.memberVariable="property"}static{this.constructorImplementation="constructor"}static{this.callSignature="call"}static{this.indexSignature="index"}static{this.constructSignature="construct"}static{this.parameter="parameter"}static{this.typeParameter="type parameter"}static{this.primitiveType="primitive type"}static{this.label="label"}static{this.alias="alias"}static{this.const="const"}static{this.let="let"}static{this.warning="warning"}},T=Object.create(null);T[I.module]=p.languages.SymbolKind.Module,T[I.class]=p.languages.SymbolKind.Class,T[I.enum]=p.languages.SymbolKind.Enum,T[I.interface]=p.languages.SymbolKind.Interface,T[I.memberFunction]=p.languages.SymbolKind.Method,T[I.memberVariable]=p.languages.SymbolKind.Property,T[I.memberGetAccessor]=p.languages.SymbolKind.Property,T[I.memberSetAccessor]=p.languages.SymbolKind.Property,T[I.variable]=p.languages.SymbolKind.Variable,T[I.const]=p.languages.SymbolKind.Variable,T[I.localVariable]=p.languages.SymbolKind.Variable,T[I.variable]=p.languages.SymbolKind.Variable,T[I.function]=p.languages.SymbolKind.Function,T[I.localFunction]=p.languages.SymbolKind.Function;var P=class extends _{static _convertOptions(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:2,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}}_convertTextChanges(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}}},O=class extends P{constructor(){super(...arguments),this.canFormatMultipleRanges=!1}async provideDocumentRangeFormattingEdits(e,t,i,s){let r=e.uri,n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=await this._worker(r);if(e.isDisposed())return;let l=await o.getFormattingEditsForRange(r.toString(),n,a,P._convertOptions(i));if(!(!l||e.isDisposed()))return l.map(t=>this._convertTextChanges(e,t))}},L=class extends P{get autoFormatTriggerCharacters(){return[";","}","\n"]}async provideOnTypeFormattingEdits(e,t,i,s,r){let n=e.uri,a=e.getOffsetAt(t),o=await this._worker(n);if(e.isDisposed())return;let l=await o.getFormattingEditsAfterKeystroke(n.toString(),a,i,P._convertOptions(s));if(!(!l||e.isDisposed()))return l.map(t=>this._convertTextChanges(e,t))}},N=class extends P{async provideCodeActions(e,t,i,s){let r=e.uri,n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=P._convertOptions(e.getOptions()),l=i.markers.filter(e=>e.code).map(e=>e.code).map(Number),u=await this._worker(r);if(e.isDisposed())return;let c=await u.getCodeFixesAtPosition(r.toString(),n,a,l,o);if(!c||e.isDisposed())return{actions:[],dispose:()=>{}};let d=c.filter(e=>0===e.changes.filter(e=>e.isNewFile).length).map(t=>this._tsCodeFixActionToMonacoCodeAction(e,i,t));return{actions:d,dispose:()=>{}}}_tsCodeFixActionToMonacoCodeAction(e,t,i){let s=[];for(let t of i.changes)for(let i of t.textChanges)s.push({resource:e.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(e,i.span),text:i.newText}});let r={title:i.description,edit:{edits:s},diagnostics:t.markers,kind:"quickfix"};return r}},K=class extends _{constructor(e,t){super(t),this._libFiles=e}async provideRenameEdits(e,t,i,s){let r=e.uri,n=r.toString(),a=e.getOffsetAt(t),o=await this._worker(r);if(e.isDisposed())return;let l=await o.getRenameInfo(n,a,{allowRenameOfImportPath:!1});if(!1===l.canRename)return{edits:[],rejectReason:l.localizedErrorMessage};if(void 0!==l.fileToRename)throw Error("Renaming files is not supported.");let u=await o.findRenameLocations(n,a,!1,!1,!1);if(!u||e.isDisposed())return;let c=[];for(let e of u){let t=this._libFiles.getOrCreateModel(e.fileName);if(t)c.push({resource:t.uri,versionId:void 0,textEdit:{range:this._textSpanToRange(t,e.textSpan),text:i}});else throw Error(`Unknown file ${e.fileName}.`)}return{edits:c}}},M=class extends _{async provideInlayHints(e,t,i){let s=e.uri,r=s.toString(),n=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),a=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),o=await this._worker(s);if(e.isDisposed())return null;let l=await o.provideInlayHints(r,n,a),u=l.map(t=>({...t,label:t.text,position:e.getPositionAt(t.position),kind:this._convertHintKind(t.kind)}));return{hints:u,dispose:()=>{}}}_convertHintKind(e){return"Parameter"===e?p.languages.InlayHintKind.Parameter:p.languages.InlayHintKind.Type}};function R(e){n=W(e,"typescript")}function E(e){r=W(e,"javascript")}function H(){return new Promise((e,t)=>{if(!r)return t("JavaScript not registered!");e(r)})}function j(){return new Promise((e,t)=>{if(!n)return t("TypeScript not registered!");e(n)})}function W(e,t){let i=[],s=[],r=new m(t,e);i.push(r);let n=(...e)=>r.getLanguageServiceWorker(...e),a=new y(n);return!function(){let{modeConfiguration:i}=e;V(s),i.completionItems&&s.push(p.languages.registerCompletionItemProvider(t,new S(n))),i.signatureHelp&&s.push(p.languages.registerSignatureHelpProvider(t,new x(n))),i.hovers&&s.push(p.languages.registerHoverProvider(t,new v(n))),i.documentHighlights&&s.push(p.languages.registerDocumentHighlightProvider(t,new C(n))),i.definitions&&s.push(p.languages.registerDefinitionProvider(t,new D(a,n))),i.references&&s.push(p.languages.registerReferenceProvider(t,new A(a,n))),i.documentSymbols&&s.push(p.languages.registerDocumentSymbolProvider(t,new F(n))),i.rename&&s.push(p.languages.registerRenameProvider(t,new K(a,n))),i.documentRangeFormattingEdits&&s.push(p.languages.registerDocumentRangeFormattingEditProvider(t,new O(n))),i.onTypeFormattingEdits&&s.push(p.languages.registerOnTypeFormattingEditProvider(t,new L(n))),i.codeActions&&s.push(p.languages.registerCodeActionProvider(t,new N(n))),i.inlayHints&&s.push(p.languages.registerInlayHintsProvider(t,new M(n))),i.diagnostics&&s.push(new w(a,e,t,n))}(),i.push({dispose:()=>V(s)}),n}function V(e){for(;e.length;)e.pop().dispose()}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/1776-744a753b0d12343d.js b/dbgpt/app/static/web/_next/static/chunks/1776-744a753b0d12343d.js deleted file mode 100644 index dde882f36..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/1776-744a753b0d12343d.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1776],{48820:function(e,t){t.Z={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"}},27363:function(e,t){t.Z={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"}},63404:function(e,t){t.Z={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"}},49867: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}})},91776:function(e,t,n){n.d(t,{Z:function(){return ex}});var l=n(67294),r=n(83963),o=n(27363),i=n(30672),a=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))}),c=n(93967),s=n.n(c),u=n(9220),d=n(50344),p=n(8410),f=n(21770),m=n(98423),g=n(42550),b=n(79370),v=n(15105),y=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 h={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},O=l.forwardRef((e,t)=>{let{style:n,noStyle:r,disabled:o,tabIndex:i=0}=e,a=y(e,["style","noStyle","disabled","tabIndex"]),c={};return r||(c=Object.assign({},h)),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===v.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:l}=e;n===v.Z.ENTER&&l&&l()},style:c}))});var x=n(53124),E=n(10110),w=n(83062),j=n(63404),S=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:j.Z}))}),k=n(96159),$=n(22913),C=n(49867),Z=n(83559),R=n(65409),H=n(47648);let I=(e,t,n,l)=>{let{titleMarginBottom:r,fontWeightStrong:o}=l;return{marginBottom:r,color:n,fontWeight:o,fontSize:e,lineHeight:t}},T=e=>{let t={};return[1,2,3,4,5].forEach(n=>{t[` - h${n}&, - div&-h${n}, - div&-h${n} > textarea, - h${n} - `]=I(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},M=e=>{let{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,C.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"}}})}},z=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:R.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}}),P=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,H.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"}}}},B=e=>({[`${e.componentCls}-copy-success`]:{[` - &, - &:hover, - &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),D=()=>({[` - 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"}}),N=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"}},T(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}}}),z(e)),M(e)),{[` - ${t}-expand, - ${t}-collapse, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},(0,C.N)(e)),{marginInlineStart:e.marginXXS})}),P(e)),B(e)),D()),{"&-rtl":{direction:"rtl"}})}};var L=(0,Z.I$)("Typography",e=>[N(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),W=e=>{let{prefixCls:t,"aria-label":n,className:r,style:o,direction:i,maxLength:a,autoSize:c=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:m,enterIcon:g=l.createElement(S,null)}=e,b=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=b.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let E=()=>{d(O.trim())},w=m?`${t}-${m}`:"",[j,C,Z]=L(t),R=s()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i},r,w,C,Z);return j(l.createElement("div",{className:R,style:o},l.createElement($.Z,{ref:b,maxLength:a,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===v.Z.ENTER?(E(),null==f||f()):t===v.Z.ESC&&p())},onCompositionStart:()=>{y.current=!0},onCompositionEnd:()=>{y.current=!1},onBlur:()=>{E()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,k.Tm)(g,{className:`${t}-edit-content-confirm`}):null))},A=n(20640),F=n.n(A),V=n(56790),_=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,V.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;F()(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 q(e,t){return l.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var X=e=>{let t=(0,l.useRef)();return(0,l.useEffect)(()=>{t.current=e}),t.current},K=(e,t)=>{let n=l.useRef(!1);l.useEffect(()=>{n.current?e():n.current=!0},t)},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 Q=l.forwardRef((e,t)=>{let{prefixCls:n,component:r="article",className:o,rootClassName:i,setContentRef:a,children:c,direction:u,style:d}=e,p=G(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,typography:b}=l.useContext(x.E_),v=t;a&&(v=(0,g.sQ)(t,a));let y=f("typography",n),[h,O,E]=L(y),w=s()(y,null==b?void 0:b.className,{[`${y}-rtl`]:"rtl"===(null!=u?u:m)},o,i,O,E),j=Object.assign(Object.assign({},null==b?void 0:b.style),d);return h(l.createElement(r,Object.assign({className:w,style:j,ref:v},p),c))});var U=n(64894),J=n(48820),Y=l.forwardRef(function(e,t){return l.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:J.Z}))}),ee=n(19267);function et(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function en(e,t,n){return!0===e||void 0===e?t:e||n&&t}var el=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:o,tooltips:i,icon:a,loading:c,tabIndex:u,onCopy:d}=e,p=et(i),f=et(a),{copied:m,copy:g}=null!=r?r:{},b=n?en(p[1],m):en(p[0],g),v=n?m:g;return l.createElement(w.Z,{key:"copy",title:b},l.createElement(O,{className:s()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:v,tabIndex:u},n?en(f[1],l.createElement(U.Z,null),!0):en(f[0],c?l.createElement(ee.Z,null):l.createElement(Y,null),!0)))},er=n(96641);let eo=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 ei(e){let t=typeof e;return"string"===t||"number"===t}function ea(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 ec={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function es(e){let{enableMeasure:t,width:n,text:r,children:o,rows:i,expanded:a,miscDeps:c,onEllipsis:s}=e,u=l.useMemo(()=>(0,d.Z)(r),[r]),f=l.useMemo(()=>{let e;return e=0,u.forEach(t=>{ei(t)?e+=String(t).length:e+=1}),e},[r]),m=l.useMemo(()=>o(u,!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,p.Z)(()=>{t&&n&&f?S(1):S(0)},[n,r,i,t,u]),(0,p.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,u=Math.max(o,a+c);$(u+1),s(r)}},[j]);let R=g?Math.ceil((g[0]+g[1])/2):0;(0,p.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(u,!1);return 4!==j&&0!==j?l.createElement("span",{style:Object.assign(Object.assign({},ec),{WebkitLineClamp:i})},e):e}return o(a?u:ea(u,g[0]),E)},[a,j,g,u].concat((0,er.Z)(c))),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(eo,{style:Object.assign(Object.assign(Object.assign({},I),ec),{WebkitLineClamp:i}),ref:h},m),l.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},I),ec),{WebkitLineClamp:i-1}),ref:O},m),l.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},I),ec),{WebkitLineClamp:1}),ref:x},o([],!0))),3===j&&g&&g[0]!==g[1]&&l.createElement(eo,{style:Object.assign(Object.assign({},I),{top:400}),ref:v},o(ea(u,R),!0)),1===j&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var eu=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?l.createElement(w.Z,Object.assign({open:!!n&&void 0},o),r):r},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 n,r,o;let{prefixCls:i,className:c,style:v,type:y,disabled:h,children:j,ellipsis:S,editable:k,copyable:$,component:C,title:Z}=e,R=ed(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:H,direction:I}=l.useContext(x.E_),[T]=(0,E.Z)("Text"),M=l.useRef(null),z=l.useRef(null),P=H("typography",i),B=(0,m.Z)(R,["mark","code","delete","underline","strong","keyboard","italic"]),[D,N]=q(k),[L,A]=(0,f.Z)(!1,{value:N.editing}),{triggerType:F=["icon"]}=N,V=e=>{var t;e&&(null===(t=N.onStart)||void 0===t||t.call(N)),A(e)},G=X(L);K(()=>{var e;!L&&G&&(null===(e=z.current)||void 0===e||e.focus())},[L]);let U=e=>{null==e||e.preventDefault(),V(!0)},[J,Y]=q($),{copied:ee,copyLoading:et,onClick:en}=_({copyConfig:Y,children:j}),[er,eo]=l.useState(!1),[ei,ea]=l.useState(!1),[ec,ep]=l.useState(!1),[ef,em]=l.useState(!1),[eg,eb]=l.useState(!0),[ev,ey]=q(S,{expandable:!1,symbol:e=>e?null==T?void 0:T.collapse:null==T?void 0:T.expand}),[eh,eO]=(0,f.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,p.Z)(()=>{ev&&!ew&&(eo((0,b.G)("webkitLineClamp")),ea((0,b.G)("textOverflow")))},[ew,ev]);let[ej,eS]=l.useState(ex),ek=l.useMemo(()=>!ew&&(1===eE?ei:er),[ew,ei,er]);(0,p.Z)(()=>{eS(ek&&ex)},[ek,ex]);let e$=ex&&(ej?ef:ec),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),ec!==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!==(r=N.text)&&void 0!==r?r: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(L)return l.createElement(W,{value:null!==(o=N.text)&&void 0!==o?o:"string"==typeof j?j:"",onSave:e=>{var t;null===(t=N.onChange)||void 0===t||t.call(N,e),V(!1)},onCancel:()=>{var e;null===(e=N.onCancel)||void 0===e||e.call(N),V(!1)},onEnd:N.onEnd,prefixCls:P,className:c,style:v,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(O,{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,r=(0,d.Z)(t)[0]||(null==T?void 0:T.edit);return F.includes("icon")?l.createElement(w.Z,{key:"edit",title:!1===t?"":r},l.createElement(O,{ref:z,className:`${P}-edit`,onClick:U,"aria-label":"string"==typeof r?r:"",tabIndex:n},e||l.createElement(a,{role:"button"}))):null},eD=()=>J?l.createElement(el,Object.assign({key:"copy"},Y,{prefixCls:P,copied:ee,locale:T,onCopy:en,loading:et,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(u.Z,{onResize:e=>{let{offsetWidth:t}=e;eI(t)},disabled:!ex},n=>l.createElement(eu,{tooltipProps:eM,enableEllipsis:ex,isEllipsis:e$},l.createElement(Q,Object.assign({className:s()({[`${P}-${y}`]:y,[`${P}-disabled`]:h,[`${P}-ellipsis`]:ev,[`${P}-ellipsis-single-line`]:eC,[`${P}-ellipsis-multiple-line`]:eZ},c),prefixCls:i,style:Object.assign(Object.assign({},v),{WebkitLineClamp:eZ?eE:void 0}),component:C,ref:(0,g.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(es,{enableMeasure:ex&&!ej,text:j,rows:eE,width:eH,onEllipsis:eT,expanded:eh,miscDeps:[ee,eh,et,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 ef=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 em=l.forwardRef((e,t)=>{var{ellipsis:n,rel:r}=e,o=ef(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(ep,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eg=l.forwardRef((e,t)=>l.createElement(ep,Object.assign({ref:t},e,{component:"div"})));var 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},ev=l.forwardRef((e,t)=>{var{ellipsis:n}=e,r=eb(e,["ellipsis"]);let o=l.useMemo(()=>n&&"object"==typeof n?(0,m.Z)(n,["expandable","rows"]):n,[n]);return l.createElement(ep,Object.assign({ref:t},r,{ellipsis:o,component:"span"}))}),ey=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 eh=[1,2,3,4,5],eO=l.forwardRef((e,t)=>{let n;let{level:r=1}=e,o=ey(e,["level"]);return n=eh.includes(r)?`h${r}`:"h1",l.createElement(ep,Object.assign({ref:t},o,{component:n}))});Q.Text=ev,Q.Link=em,Q.Title=eO,Q.Paragraph=eg;var ex=Q},79370:function(e,t,n){n.d(t,{G:function(){return i}});var l=n(98924),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/1776-8c7097bfb185b336.js b/dbgpt/app/static/web/_next/static/chunks/1776-8c7097bfb185b336.js new file mode 100644 index 000000000..797e250a6 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/1776-8c7097bfb185b336.js @@ -0,0 +1,41 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1776],{48820:function(e,t){"use strict";t.Z={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"}},27363:function(e,t){"use strict";t.Z={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"}},63404:function(e,t){"use strict";t.Z={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"}},49867:function(e,t,n){"use strict";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}})},91776:function(e,t,n){"use strict";n.d(t,{Z:function(){return eO}});var r=n(67294),l=n(83963),o=n(27363),i=n(30672),a=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,l.Z)({},e,{ref:t,icon:o.Z}))}),c=n(93967),s=n.n(c),u=n(9220),d=n(50344),p=n(8410),f=n(21770),m=n(98423),g=n(42550),b=n(79370),y=n(15105),v=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 h={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},x=r.forwardRef((e,t)=>{let{style:n,noStyle:l,disabled:o,tabIndex:i=0}=e,a=v(e,["style","noStyle","disabled","tabIndex"]),c={};return l||(c=Object.assign({},h)),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===y.Z.ENTER&&e.preventDefault()},onKeyUp:t=>{let{keyCode:n}=t,{onClick:r}=e;n===y.Z.ENTER&&r&&r()},style:c}))});var O=n(53124),E=n(10110),w=n(83062),S=n(63404),j=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,l.Z)({},e,{ref:t,icon:S.Z}))}),k=n(96159),C=n(22913),$=n(49867),R=n(83559),Z=n(65409),D=n(47648);let T=(e,t,n,r)=>{let{titleMarginBottom:l,fontWeightStrong:o}=r;return{marginBottom:l,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} + `]=T(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),t},H=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}}),P=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,D.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"}}}},z=e=>({[`${e.componentCls}-copy-success`]:{[` + &, + &:hover, + &:focus`]:{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),N=()=>({[` + 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"}}),B=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)),H(e)),{[` + ${t}-expand, + ${t}-collapse, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},(0,$.N)(e)),{marginInlineStart:e.marginXXS})}),P(e)),z(e)),N()),{"&-rtl":{direction:"rtl"}})}};var L=(0,R.I$)("Typography",e=>[B(e)],()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"})),A=e=>{let{prefixCls:t,"aria-label":n,className:l,style:o,direction:i,maxLength:a,autoSize:c=!0,value:u,onSave:d,onCancel:p,onEnd:f,component:m,enterIcon:g=r.createElement(j,null)}=e,b=r.useRef(null),v=r.useRef(!1),h=r.useRef(),[x,O]=r.useState(u);r.useEffect(()=>{O(u)},[u]),r.useEffect(()=>{var e;if(null===(e=b.current)||void 0===e?void 0:e.resizableTextArea){let{textArea:e}=b.current.resizableTextArea;e.focus();let{length:t}=e.value;e.setSelectionRange(t,t)}},[]);let E=()=>{d(x.trim())},w=m?`${t}-${m}`:"",[S,$,R]=L(t),Z=s()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===i},l,w,$,R);return S(r.createElement("div",{className:Z,style:o},r.createElement(C.Z,{ref:b,maxLength:a,value:x,onChange:e=>{let{target:t}=e;O(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;v.current||(h.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:l,shiftKey:o}=e;h.current!==t||v.current||n||r||l||o||(t===y.Z.ENTER?(E(),null==f||f()):t===y.Z.ESC&&p())},onCompositionStart:()=>{v.current=!0},onCompositionEnd:()=>{v.current=!1},onBlur:()=>{E()},"aria-label":n,rows:1,autoSize:c}),null!==g?(0,k.Tm)(g,{className:`${t}-edit-content-confirm`}):null))},W=n(20640),F=n.n(W),U=n(56790),V=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,U.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;F()(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 _(e,t){return r.useMemo(()=>{let n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]},[e])}var X=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e}),t.current},q=(e,t)=>{let n=r.useRef(!1);r.useEffect(()=>{n.current?e():n.current=!0},t)},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 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 G=r.forwardRef((e,t)=>{let{prefixCls:n,component:l="article",className:o,rootClassName:i,setContentRef:a,children:c,direction:u,style:d}=e,p=K(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:m,typography:b}=r.useContext(O.E_),y=t;a&&(y=(0,g.sQ)(t,a));let v=f("typography",n),[h,x,E]=L(v),w=s()(v,null==b?void 0:b.className,{[`${v}-rtl`]:"rtl"===(null!=u?u:m)},o,i,x,E),S=Object.assign(Object.assign({},null==b?void 0:b.style),d);return h(r.createElement(l,Object.assign({className:w,style:S,ref:y},p),c))});var Q=n(64894),J=n(48820),Y=r.forwardRef(function(e,t){return r.createElement(i.Z,(0,l.Z)({},e,{ref:t,icon:J.Z}))}),ee=n(19267);function et(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function en(e,t,n){return!0===e||void 0===e?t:e||n&&t}var er=e=>{let{prefixCls:t,copied:n,locale:l,iconOnly:o,tooltips:i,icon:a,loading:c,tabIndex:u,onCopy:d}=e,p=et(i),f=et(a),{copied:m,copy:g}=null!=l?l:{},b=n?en(p[1],m):en(p[0],g),y=n?m:g;return r.createElement(w.Z,{key:"copy",title:b},r.createElement(x,{className:s()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:o}),onClick:d,"aria-label":"string"==typeof b?b:y,tabIndex:u},n?en(f[1],r.createElement(Q.Z,null),!0):en(f[0],c?r.createElement(ee.Z,null):r.createElement(Y,null),!0)))},el=n(96641);let eo=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 ei(e){let t=typeof e;return"string"===t||"number"===t}function ea(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 ec={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function es(e){let{enableMeasure:t,width:n,text:l,children:o,rows:i,expanded:a,miscDeps:c,onEllipsis:s}=e,u=r.useMemo(()=>(0,d.Z)(l),[l]),f=r.useMemo(()=>{let e;return e=0,u.forEach(t=>{ei(t)?e+=String(t).length:e+=1}),e},[l]),m=r.useMemo(()=>o(u,!1),[l]),[g,b]=r.useState(null),y=r.useRef(null),v=r.useRef(null),h=r.useRef(null),x=r.useRef(null),O=r.useRef(null),[E,w]=r.useState(!1),[S,j]=r.useState(0),[k,C]=r.useState(0),[$,R]=r.useState(null);(0,p.Z)(()=>{t&&n&&f?j(1):j(0)},[n,l,i,t,u]),(0,p.Z)(()=>{var e,t,n,r;if(1===S){j(2);let e=v.current&&getComputedStyle(v.current).whiteSpace;R(e)}else if(2===S){let l=!!(null===(e=h.current)||void 0===e?void 0:e.isExceed());j(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=x.current)||void 0===n?void 0:n.getHeight())||0,c=(null===(r=O.current)||void 0===r?void 0:r.getHeight())||0,u=Math.max(o,a+c);C(u+1),s(l)}},[S]);let Z=g?Math.ceil((g[0]+g[1])/2):0;(0,p.Z)(()=>{var e;let[t,n]=g||[0,0];if(t!==n){let r=(null===(e=y.current)||void 0===e?void 0:e.getHeight())||0,l=r>k,o=Z;n-t==1&&(o=l?t:n),l?b([t,o]):b([o,n])}},[g,Z]);let D=r.useMemo(()=>{if(3!==S||!g||g[0]!==g[1]){let e=o(u,!1);return 4!==S&&0!==S?r.createElement("span",{style:Object.assign(Object.assign({},ec),{WebkitLineClamp:i})},e):e}return o(a?u:ea(u,g[0]),E)},[a,S,g,u].concat((0,el.Z)(c))),T={width:n,margin:0,padding:0,whiteSpace:"nowrap"===$?"normal":"inherit"};return r.createElement(r.Fragment,null,D,2===S&&r.createElement(r.Fragment,null,r.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},T),ec),{WebkitLineClamp:i}),ref:h},m),r.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},T),ec),{WebkitLineClamp:i-1}),ref:x},m),r.createElement(eo,{style:Object.assign(Object.assign(Object.assign({},T),ec),{WebkitLineClamp:1}),ref:O},o([],!0))),3===S&&g&&g[0]!==g[1]&&r.createElement(eo,{style:Object.assign(Object.assign({},T),{top:400}),ref:y},o(ea(u,Z),!0)),1===S&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:v}))}var eu=e=>{let{enableEllipsis:t,isEllipsis:n,children:l,tooltipProps:o}=e;return(null==o?void 0:o.title)&&t?r.createElement(w.Z,Object.assign({open:!!n&&void 0},o),l):l},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};let ep=r.forwardRef((e,t)=>{var n,l,o;let{prefixCls:i,className:c,style:y,type:v,disabled:h,children:S,ellipsis:j,editable:k,copyable:C,component:$,title:R}=e,Z=ed(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:D,direction:T}=r.useContext(O.E_),[I]=(0,E.Z)("Text"),H=r.useRef(null),M=r.useRef(null),P=D("typography",i),z=(0,m.Z)(Z,["mark","code","delete","underline","strong","keyboard","italic"]),[N,B]=_(k),[L,W]=(0,f.Z)(!1,{value:B.editing}),{triggerType:F=["icon"]}=B,U=e=>{var t;e&&(null===(t=B.onStart)||void 0===t||t.call(B)),W(e)},K=X(L);q(()=>{var e;!L&&K&&(null===(e=M.current)||void 0===e||e.focus())},[L]);let Q=e=>{null==e||e.preventDefault(),U(!0)},[J,Y]=_(C),{copied:ee,copyLoading:et,onClick:en}=V({copyConfig:Y,children:S}),[el,eo]=r.useState(!1),[ei,ea]=r.useState(!1),[ec,ep]=r.useState(!1),[ef,em]=r.useState(!1),[eg,eb]=r.useState(!0),[ey,ev]=_(j,{expandable:!1,symbol:e=>e?null==I?void 0:I.collapse:null==I?void 0:I.expand}),[eh,ex]=(0,f.Z)(ev.defaultExpanded||!1,{value:ev.expanded}),eO=ey&&(!eh||"collapsible"===ev.expandable),{rows:eE=1}=ev,ew=r.useMemo(()=>eO&&(void 0!==ev.suffix||ev.onEllipsis||ev.expandable||N||J),[eO,ev,N,J]);(0,p.Z)(()=>{ey&&!ew&&(eo((0,b.G)("webkitLineClamp")),ea((0,b.G)("textOverflow")))},[ew,ey]);let[eS,ej]=r.useState(eO),ek=r.useMemo(()=>!ew&&(1===eE?ei:el),[ew,ei,el]);(0,p.Z)(()=>{ej(ek&&eO)},[ek,eO]);let eC=eO&&(eS?ef:ec),e$=eO&&1===eE&&eS,eR=eO&&eE>1&&eS,eZ=(e,t)=>{var n;ex(t.expanded),null===(n=ev.onExpand)||void 0===n||n.call(ev,e,t)},[eD,eT]=r.useState(0),eI=e=>{var t;ep(e),ec!==e&&(null===(t=ev.onEllipsis)||void 0===t||t.call(ev,e))};r.useEffect(()=>{let e=H.current;if(ey&&eS&&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=eR?n{let e=H.current;if("undefined"==typeof IntersectionObserver||!e||!eS||!eO)return;let t=new IntersectionObserver(()=>{eb(!!e.offsetParent)});return t.observe(e),()=>{t.disconnect()}},[eS,eO]);let eH={};eH=!0===ev.tooltip?{title:null!==(n=B.text)&&void 0!==n?n:S}:r.isValidElement(ev.tooltip)?{title:ev.tooltip}:"object"==typeof ev.tooltip?Object.assign({title:null!==(l=B.text)&&void 0!==l?l:S},ev.tooltip):{title:ev.tooltip};let eM=r.useMemo(()=>{let e=e=>["string","number"].includes(typeof e);return!ey||eS?void 0:e(B.text)?B.text:e(S)?S:e(R)?R:e(eH.title)?eH.title:void 0},[ey,eS,R,eH.title,eC]);if(L)return r.createElement(A,{value:null!==(o=B.text)&&void 0!==o?o:"string"==typeof S?S:"",onSave:e=>{var t;null===(t=B.onChange)||void 0===t||t.call(B,e),U(!1)},onCancel:()=>{var e;null===(e=B.onCancel)||void 0===e||e.call(B),U(!1)},onEnd:B.onEnd,prefixCls:P,className:c,style:y,direction:T,component:$,maxLength:B.maxLength,autoSize:B.autoSize,enterIcon:B.enterIcon});let eP=()=>{let{expandable:e,symbol:t}=ev;return!e||eh&&"collapsible"!==e?null:r.createElement(x,{key:"expand",className:`${P}-${eh?"collapse":"expand"}`,onClick:e=>eZ(e,{expanded:!eh}),"aria-label":eh?I.collapse:null==I?void 0:I.expand},"function"==typeof t?t(eh):t)},ez=()=>{if(!N)return;let{icon:e,tooltip:t,tabIndex:n}=B,l=(0,d.Z)(t)[0]||(null==I?void 0:I.edit);return F.includes("icon")?r.createElement(w.Z,{key:"edit",title:!1===t?"":l},r.createElement(x,{ref:M,className:`${P}-edit`,onClick:Q,"aria-label":"string"==typeof l?l:"",tabIndex:n},e||r.createElement(a,{role:"button"}))):null},eN=()=>J?r.createElement(er,Object.assign({key:"copy"},Y,{prefixCls:P,copied:ee,locale:I,onCopy:en,loading:et,iconOnly:null==S})):null,eB=e=>[e&&eP(),ez(),eN()],eL=e=>[e&&!eh&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),ev.suffix,eB(e)];return r.createElement(u.Z,{onResize:e=>{let{offsetWidth:t}=e;eT(t)},disabled:!eO},n=>r.createElement(eu,{tooltipProps:eH,enableEllipsis:eO,isEllipsis:eC},r.createElement(G,Object.assign({className:s()({[`${P}-${v}`]:v,[`${P}-disabled`]:h,[`${P}-ellipsis`]:ey,[`${P}-ellipsis-single-line`]:e$,[`${P}-ellipsis-multiple-line`]:eR},c),prefixCls:i,style:Object.assign(Object.assign({},y),{WebkitLineClamp:eR?eE:void 0}),component:$,ref:(0,g.sQ)(n,H,t),direction:T,onClick:F.includes("text")?Q:void 0,"aria-label":null==eM?void 0:eM.toString(),title:R},z),r.createElement(es,{enableMeasure:eO&&!eS,text:S,rows:eE,width:eD,onEllipsis:eI,expanded:eh,miscDeps:[ee,eh,et,N,J]},(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&&eM?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,eL(n)))))))});var 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=r.forwardRef((e,t)=>{var{ellipsis:n,rel:l}=e,o=ef(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(ep,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),eg=r.forwardRef((e,t)=>r.createElement(ep,Object.assign({ref:t},e,{component:"div"})));var 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 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},ey=r.forwardRef((e,t)=>{var{ellipsis:n}=e,l=eb(e,["ellipsis"]);let o=r.useMemo(()=>n&&"object"==typeof n?(0,m.Z)(n,["expandable","rows"]):n,[n]);return r.createElement(ep,Object.assign({ref:t},l,{ellipsis:o,component:"span"}))}),ev=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 eh=[1,2,3,4,5],ex=r.forwardRef((e,t)=>{let n;let{level:l=1}=e,o=ev(e,["level"]);return n=eh.includes(l)?`h${l}`:"h1",r.createElement(ep,Object.assign({ref:t},o,{component:n}))});G.Text=ey,G.Link=em,G.Title=ex,G.Paragraph=eg;var eO=G},20640:function(e,t,n){"use strict";var r=n(11742),l={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,i,a,c,s,u,d,p=!1;t||(t={}),i=t.debug||!1;try{if(c=r(),s=document.createRange(),u=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=l[t.format]||l.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(d),s.selectNodeContents(d),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(r){i&&console.error("unable to copy using execCommand: ",r),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){i&&console.error("unable to copy using clipboardData: ",r),i&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=n.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return p}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(98924),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)}},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r{if(t&&"object"==typeof t||"function"==typeof t)for(let n of V(t))W.call(e,n)||n===i||N(e,n,{get:()=>t[n],enumerable:!(s=J(t,n))||s.enumerable});return e},U={};z(U,r,"default"),a&&z(a,r,"default");var Q=new class{constructor(e,t,i){this._onDidChange=new U.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}}("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});function X(){return i.e(665).then(i.bind(i,90665))}U.languages.json={jsonDefaults:Q,getWorker:()=>X().then(e=>e.getWorker())},U.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),U.languages.onLanguage("json",()=>{X().then(e=>e.setupMode(Q))}),i(39585),i(20913),i(28609),self.MonacoEnvironment=(o={editorWorkerService:"static/editor.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var s=i.p,n=(s?s.replace(/\/$/,"")+"/":"")+o[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(n)){var a=String(window.location),r=a.substr(0,a.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(n.substring(0,r.length)!==r){/^(\/\/)/.test(n)&&(n=window.location.protocol+n);var l="/*"+t+'*/importScripts("'+n+'");',d=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(d)}}return n}})},39585:function(e,t,i){i.d(t,{TG:function(){return k}});var s,n,a,o,r,l,d=i(5036),c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,m=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of p(t))g.call(e,n)||n===i||c(e,n,{get:()=>t[n],enumerable:!(s=h(t,n))||s.enumerable});return e},u={};m(u,d,"default"),s&&m(s,d,"default");var b=((n=b||{})[n.None=0]="None",n[n.CommonJS=1]="CommonJS",n[n.AMD=2]="AMD",n[n.UMD=3]="UMD",n[n.System=4]="System",n[n.ES2015=5]="ES2015",n[n.ESNext=99]="ESNext",n),x=((a=x||{})[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a),f=((o=f||{})[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o),y=((r=y||{})[r.ES3=0]="ES3",r[r.ES5=1]="ES5",r[r.ES2015=2]="ES2015",r[r.ES2016=3]="ES2016",r[r.ES2017=4]="ES2017",r[r.ES2018=5]="ES2018",r[r.ES2019=6]="ES2019",r[r.ES2020=7]="ES2020",r[r.ESNext=99]="ESNext",r[r.JSON=100]="JSON",r[r.Latest=99]="Latest",r),w=((l=w||{})[l.Classic=1]="Classic",l[l.NodeJs=2]="NodeJs",l),H=class{constructor(e,t,i,s,n){this._onDidChange=new u.Emitter,this._onDidExtraLibsChange=new u.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(s),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(i=void 0===t?`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(s=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let e=this._extraLibs[i];e&&e.version===s&&(delete this._extraLibs[i],this._removedExtraLibs[i]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let e=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=t.content,s=1;this._removedExtraLibs[e]&&(s=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:i,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},k=new H({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new H({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S);function O(){return i.e(8401).then(i.bind(i,78401))}u.languages.typescript={ModuleKind:b,JsxEmit:x,NewLineKind:f,ScriptTarget:y,ModuleResolutionKind:w,typescriptVersion:"5.4.5",typescriptDefaults:k,javascriptDefaults:v,getTypeScriptWorker:()=>O().then(e=>e.getTypeScriptWorker()),getJavaScriptWorker:()=>O().then(e=>e.getJavaScriptWorker())},u.languages.onLanguage("typescript",()=>O().then(e=>e.setupTypeScript(k))),u.languages.onLanguage("javascript",()=>O().then(e=>e.setupJavaScript(v)))}}]); \ No newline at end of file + *-----------------------------------------------------------------------------*/var N=Object.defineProperty,J=Object.getOwnPropertyDescriptor,V=Object.getOwnPropertyNames,W=Object.prototype.hasOwnProperty,z=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of V(t))W.call(e,n)||n===i||N(e,n,{get:()=>t[n],enumerable:!(s=J(t,n))||s.enumerable});return e},U={};z(U,r,"default"),a&&z(a,r,"default");var Q=new class{constructor(e,t,i){this._onDidChange=new U.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}}("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});function X(){return i.e(665).then(i.bind(i,90665))}U.languages.json={jsonDefaults:Q,getWorker:()=>X().then(e=>e.getWorker())},U.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),U.languages.onLanguage("json",()=>{X().then(e=>e.setupMode(Q))}),i(39585),i(20913),i(28609),self.MonacoEnvironment=(o={editorWorkerService:"static/editor.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var s=i.p,n=(s?s.replace(/\/$/,"")+"/":"")+o[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(n)){var a=String(window.location),r=a.substr(0,a.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(n.substring(0,r.length)!==r){/^(\/\/)/.test(n)&&(n=window.location.protocol+n);var l="/*"+t+'*/importScripts("'+n+'");',d=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(d)}}return n}})},39585:function(e,t,i){i.d(t,{TG:function(){return k}});var s,n,a,o,r,l,d=i(5036),c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,m=(e,t,i,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of p(t))g.call(e,n)||n===i||c(e,n,{get:()=>t[n],enumerable:!(s=h(t,n))||s.enumerable});return e},u={};m(u,d,"default"),s&&m(s,d,"default");var b=((n=b||{})[n.None=0]="None",n[n.CommonJS=1]="CommonJS",n[n.AMD=2]="AMD",n[n.UMD=3]="UMD",n[n.System=4]="System",n[n.ES2015=5]="ES2015",n[n.ESNext=99]="ESNext",n),x=((a=x||{})[a.None=0]="None",a[a.Preserve=1]="Preserve",a[a.React=2]="React",a[a.ReactNative=3]="ReactNative",a[a.ReactJSX=4]="ReactJSX",a[a.ReactJSXDev=5]="ReactJSXDev",a),f=((o=f||{})[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o),y=((r=y||{})[r.ES3=0]="ES3",r[r.ES5=1]="ES5",r[r.ES2015=2]="ES2015",r[r.ES2016=3]="ES2016",r[r.ES2017=4]="ES2017",r[r.ES2018=5]="ES2018",r[r.ES2019=6]="ES2019",r[r.ES2020=7]="ES2020",r[r.ESNext=99]="ESNext",r[r.JSON=100]="JSON",r[r.Latest=99]="Latest",r),w=((l=w||{})[l.Classic=1]="Classic",l[l.NodeJs=2]="NodeJs",l),H=class{constructor(e,t,i,s,n){this._onDidChange=new u.Emitter,this._onDidExtraLibsChange=new u.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(s),this.setModeConfiguration(n),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(i=void 0===t?`ts:extralib-${Math.random().toString(36).substring(2,15)}`:t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let s=1;return this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(s=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:s},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let e=this._extraLibs[i];e&&e.version===s&&(delete this._extraLibs[i],this._removedExtraLibs[i]=s,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(let e in this._extraLibs)this._removedExtraLibs[e]=this._extraLibs[e].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(let t of e){let e=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,i=t.content,s=1;this._removedExtraLibs[e]&&(s=this._removedExtraLibs[e]+1),this._extraLibs[e]={content:i,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}},S={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},k=new H({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},S),v=new H({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},S);function O(){return i.e(1653).then(i.bind(i,78401))}u.languages.typescript={ModuleKind:b,JsxEmit:x,NewLineKind:f,ScriptTarget:y,ModuleResolutionKind:w,typescriptVersion:"5.4.5",typescriptDefaults:k,javascriptDefaults:v,getTypeScriptWorker:()=>O().then(e=>e.getTypeScriptWorker()),getJavaScriptWorker:()=>O().then(e=>e.getJavaScriptWorker())},u.languages.onLanguage("typescript",()=>O().then(e=>e.setupTypeScript(k))),u.languages.onLanguage("javascript",()=>O().then(e=>e.setupJavaScript(v)))}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/2271-565a2ce587ab123e.js b/dbgpt/app/static/web/_next/static/chunks/2271-565a2ce587ab123e.js new file mode 100644 index 000000000..2f685dd75 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/2271-565a2ce587ab123e.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2271],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},45605:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),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 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"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},88484:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),l={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"},a=n(13401),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l}))})},8745:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(67294),o=n(21770),l=n(28459),a=n(53124);function i(e){return t=>r.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,l)=>i(i=>{let{prefixCls:s,style:c}=i,u=r.useRef(null),[f,m]=r.useState(0),[p,d]=r.useState(0),[g,v]=(0,o.Z)(!1,{value:i.open}),{getPrefixCls:y}=r.useContext(a.E_),b=y(t||"select",s);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;m(t.offsetHeight+8),d(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,l=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);l&&(clearInterval(t),e.observe(l))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let O=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},c),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});return l&&(O=l(O)),r.createElement("div",{ref:u,style:{paddingBottom:f,position:"relative",minWidth:p}},r.createElement(e,Object.assign({},O)))})},98065: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}})},45360:function(e,t,n){var r=n(96641),o=n(67294),l=n(38135),a=n(66968),i=n(53124),s=n(28459),c=n(66277),u=n(16474),f=n(84926);let m=null,p=e=>e(),d=[],g={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=g,l=(null==e?void 0:e())||document.body;return{getContainer:()=>l,duration:t,rtl:n,maxCount:r,top:o}}let y=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:l}=(0,o.useContext)(i.E_),s=g.prefixCls||l("message"),c=(0,o.useContext)(a.J),[f,m]=(0,u.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:s}),c.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},f);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),f[t].apply(f,arguments)}}),{instance:e,sync:r}}),m}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),l=()=>{r(v)};o.useEffect(l,[]);let a=(0,s.w6)(),i=a.getRootPrefixCls(),c=a.getIconPrefixCls(),u=a.getTheme(),f=o.createElement(y,{ref:t,sync:l,messageConfig:n});return o.createElement(s.ZP,{prefixCls:i,iconPrefixCls:c,theme:u},a.holderRender?a.holderRender(f):f)});function O(){if(!m){let e=document.createDocumentFragment(),t={fragment:e};m=t,p(()=>{(0,l.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,O())})}}),e)});return}m.instance&&(d.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":p(()=>{let t=m.instance.open(Object.assign(Object.assign({},g),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":p(()=>{null==m||m.instance.destroy(e.key)});break;default:p(()=>{var n;let o=(n=m.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),d=[])}let h={open:function(e){let t=(0,f.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return d.push(r),()=>{n?p(()=>{n()}):r.skipped=!0}});return O(),t},destroy:e=>{d.push({type:"destroy",key:e}),O()},config:function(e){g=Object.assign(Object.assign({},g),e),p(()=>{var e;null===(e=null==m?void 0:m.sync)||void 0===e||e.call(m)})},useMessage:u.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};["success","info","warning","error","loading"].forEach(e=>{h[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 d.push(o),()=>{r?p(()=>{r()}):o.skipped=!0}});return O(),n}(e,n)}}),t.ZP=h},85576:function(e,t,n){n.d(t,{default:function(){return C}});var r=n(56080),o=n(38657),l=n(56745),a=n(67294),i=n(93967),s=n.n(i),c=n(40974),u=n(8745),f=n(53124),m=n(35792),p=n(32409),d=n(4941),g=n(71194),v=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},y=(0,u.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:l,title:i,children:u,footer:y}=e,b=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:O}=a.useContext(f.E_),h=O(),C=t||O("modal"),$=(0,m.Z)(h),[E,x,w]=(0,g.ZP)(C,$),j=`${C}-confirm`,k={};return k=l?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(p.O,Object.assign({},e,{prefixCls:C,confirmPrefixCls:j,rootPrefixCls:h,content:u}))}:{closable:null==o||o,title:i,footer:null!==y&&a.createElement(d.$,Object.assign({},e)),children:u},E(a.createElement(c.s,Object.assign({prefixCls:C,className:s()(x,`${C}-pure-panel`,l&&j,l&&`${j}-${l}`,n,w,$)},b,{closeIcon:(0,d.b)(C,r),closable:o},k)))}),b=n(94423);function O(e){return(0,r.ZP)((0,r.uW)(e))}let h=l.Z;h.useModal=b.Z,h.info=function(e){return(0,r.ZP)((0,r.cw)(e))},h.success=function(e){return(0,r.ZP)((0,r.vq)(e))},h.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},h.warning=O,h.warn=O,h.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},h.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},h.config=r.ai,h._InternalPanelDoNotUseOrYouWillBeFired=y;var C=h},86738:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(67294),o=n(29950),l=n(93967),a=n.n(l),i=n(21770),s=n(98423),c=n(53124),u=n(55241),f=n(86743),m=n(81643),p=n(14726),d=n(33671),g=n(10110),v=n(24457),y=n(66330),b=n(83559);let O=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:l,colorWarning:a,marginXXS:i,marginXS:s,fontSize:c,fontWeightStrong:u,colorTextHeading:f}=e;return{[t]:{zIndex:o,[`&${r}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:s,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:s},[`${t}-title`]:{fontWeight:u,color:f,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:i,color:l}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:s}}}}};var h=(0,b.I$)("Popconfirm",e=>O(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),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 $=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:l,title:a,description:i,cancelText:s,okText:u,okType:y="primary",icon:b=r.createElement(o.Z,null),showCancel:O=!0,close:h,onConfirm:C,onCancel:$,onPopupClick:E}=e,{getPrefixCls:x}=r.useContext(c.E_),[w]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),j=(0,m.Z)(a),k=(0,m.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`},j&&r.createElement("div",{className:`${t}-title`},j),k&&r.createElement("div",{className:`${t}-description`},k))),r.createElement("div",{className:`${t}-buttons`},O&&r.createElement(p.ZP,Object.assign({onClick:$,size:"small"},l),s||(null==w?void 0:w.cancelText)),r.createElement(f.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,d.nx)(y)),n),actionFn:C,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,l;let{prefixCls:f,placement:m="top",trigger:p="click",okType:d="primary",icon:g=r.createElement(o.Z,null),children:v,overlayClassName:y,onOpenChange:b,onVisibleChange:O}=e,C=E(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:x}=r.useContext(c.E_),[w,j]=(0,i.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(l=e.defaultOpen)&&void 0!==l?l:e.defaultVisible}),k=(e,t)=>{j(e,!0),null==O||O(e),null==b||b(e,t)},P=x("popconfirm",f),S=a()(P,y),[Z]=h(P);return Z(r.createElement(u.Z,Object.assign({},(0,s.Z)(C,["title"]),{trigger:p,placement:m,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||k(t,n)},open:w,ref:t,overlayClassName:S,content:r.createElement($,Object.assign({okType:d,icon:g},e,{prefixCls:P,close:e=>{k(!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;k(!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:l}=e,i=C(e,["prefixCls","placement","className","style"]),{getPrefixCls:s}=r.useContext(c.E_),u=s("popconfirm",t),[f]=h(u);return f(r.createElement(y.ZP,{placement:n,className:a()(u,o),style:l,content:r.createElement($,Object.assign({prefixCls:u},i))}))};var w=x},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),l=n.n(o),a=n(50344),i=n(98065),s=n(53124),c=n(4173);let u=r.createContext({latestIndex:0}),f=u.Provider;var m=e=>{let{className:t,index:n,children:o,split:l,style:a}=e,{latestIndex:i}=r.useContext(u);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},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,c;let{getPrefixCls:u,space:g,direction:v}=r.useContext(s.E_),{size:y=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:O,rootClassName:h,children:C,direction:$="horizontal",prefixCls:E,split:x,style:w,wrap:j=!1,classNames:k,styles:P}=e,S=d(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Z,N]=Array.isArray(y)?y:[y,y],I=(0,i.n)(N),M=(0,i.n)(Z),z=(0,i.T)(N),T=(0,i.T)(Z),R=(0,a.Z)(C,{keepEmpty:!0}),B=void 0===b&&"horizontal"===$?"center":b,D=u("space",E),[F,H,_]=(0,p.Z)(D),A=l()(D,null==g?void 0:g.className,H,`${D}-${$}`,{[`${D}-rtl`]:"rtl"===v,[`${D}-align-${B}`]:B,[`${D}-gap-row-${N}`]:I,[`${D}-gap-col-${Z}`]:M},O,h,_),L=l()(`${D}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(c=null==g?void 0:g.classNames)||void 0===c?void 0:c.item),W=0,V=R.map((e,t)=>{var n,o;null!=e&&(W=t);let l=(null==e?void 0:e.key)||`${L}-${t}`;return r.createElement(m,{className:L,key:l,index:t,split:x,style:null!==(n=null==P?void 0:P.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:W}),[W]);if(0===R.length)return null;let q={};return j&&(q.flexWrap="wrap"),!M&&T&&(q.columnGap=Z),!I&&z&&(q.rowGap=N),F(r.createElement("div",Object.assign({ref:t,className:A,style:Object.assign(Object.assign(Object.assign({},q),null==g?void 0:g.style),w)},S),r.createElement(f,{value:K},V)))});g.Compact=c.ZP;var v=g},55054:function(e,t,n){n.d(t,{Z:function(){return E}});var r=n(67294),o=n(57838),l=n(96159),a=n(93967),i=n.n(a),s=n(64217),c=n(53124),u=n(87564),f=e=>{let t;let{value:n,formatter:o,precision:l,decimalSeparator:a,groupSeparator:i="",prefixCls:s}=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",c=o[4]||"";n=n.replace(/\B(?=(\d{3})+(?!\d))/g,i),"number"==typeof l&&(c=c.padEnd(l,"0").slice(0,l>0?l:0)),c&&(c=`${a}${c}`),t=[r.createElement("span",{key:"int",className:`${s}-content-value-int`},e,n),c&&r.createElement("span",{key:"decimal",className:`${s}-content-value-decimal`},c)]}else t=e}return r.createElement("span",{className:`${s}-content-value`},t)},m=n(14747),p=n(83559),d=n(87893);let g=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:o,titleFontSize:l,colorTextHeading:a,contentFontSize:i,fontFamily:s}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:l},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:i,fontFamily:s,[`${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:l,valueStyle:a,value:m=0,title:p,valueRender:d,prefix:g,suffix:b,loading:O=!1,formatter:h,precision:C,decimalSeparator:$=".",groupSeparator:E=",",onMouseEnter:x,onMouseLeave:w}=e,j=y(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:k,direction:P,statistic:S}=r.useContext(c.E_),Z=k("statistic",t),[N,I,M]=v(Z),z=r.createElement(f,{decimalSeparator:$,groupSeparator:E,prefixCls:Z,formatter:h,precision:C,value:m}),T=i()(Z,{[`${Z}-rtl`]:"rtl"===P},null==S?void 0:S.className,n,o,I,M),R=(0,s.Z)(j,{aria:!0,data:!0});return N(r.createElement("div",Object.assign({},R,{className:T,style:Object.assign(Object.assign({},null==S?void 0:S.style),l),onMouseEnter:x,onMouseLeave:w}),p&&r.createElement("div",{className:`${Z}-title`},p),r.createElement(u.Z,{paragraph:!1,loading:O,className:`${Z}-skeleton`},r.createElement("div",{style:a,className:`${Z}-content`},g&&r.createElement("span",{className:`${Z}-content-prefix`},g),d?d(z):z,b&&r.createElement("span",{className:`${Z}-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 C=1e3/30;var $=r.memo(e=>{let{value:t,format:n="HH:mm:ss",onChange:a,onFinish:i}=e,s=h(e,["value","format","onChange","onFinish"]),c=(0,o.Z)(),u=r.useRef(null),f=()=>{null==i||i(),u.current&&(clearInterval(u.current),u.current=null)},m=()=>{let e=new Date(t).getTime();e>=Date.now()&&(u.current=setInterval(()=>{c(),null==a||a(e-Date.now()),e(m(),()=>{u.current&&(clearInterval(u.current),u.current=null)}),[t]),r.createElement(b,Object.assign({},s,{value:t,valueRender:e=>(0,l.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)),l=t.replace(r,"[]"),a=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},l),i=0;return a.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=$;var E=b},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return d}});var r=n(47648),o=n(93590);let l=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}}),a=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}}),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}}),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}}),f=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}}),p={"move-up":{inKeyframes:f,outKeyframes:m},"move-down":{inKeyframes:l,outKeyframes:a},"move-left":{inKeyframes:i,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:u}},d=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:l,outKeyframes:a}=p[t];return[(0,o.R)(r,l,a,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49867: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}})},66309:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(67294),o=n(93967),l=n.n(o),a=n(98423),i=n(98787),s=n(69760),c=n(96159),u=n(45353),f=n(53124),m=n(47648),p=n(10274),d=n(14747),g=n(87893),v=n(83559);let y=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:l}=e,a=l(r).sub(n).equal(),i=l(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,d.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: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:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,l=(0,g.IX)(e,{tagFontSize:o,tagLineHeight:(0,m.bf)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return l},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),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 $=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:a,checked:i,onChange:s,onClick:c}=e,u=C(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:m,tag:p}=r.useContext(f.E_),d=m("tag",n),[g,v,y]=h(d),b=l()(d,`${d}-checkable`,{[`${d}-checkable-checked`]:i},null==p?void 0:p.className,a,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==s||s(!i),null==c||c(e)}})))});var E=n(98719);let x=e=>(0,E.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:l,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:l,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},O);let j=(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 k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[j(t,"success","Success"),j(t,"processing","Info"),j(t,"error","Error"),j(t,"warning","Warning")]},O),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 S=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:m,style:p,children:d,icon:g,color:v,onClose:y,bordered:b=!0,visible:O}=e,C=P(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:E,tag:x}=r.useContext(f.E_),[j,S]=r.useState(!0),Z=(0,a.Z)(C,["closeIcon","closable"]);r.useEffect(()=>{void 0!==O&&S(O)},[O]);let N=(0,i.o2)(v),I=(0,i.yT)(v),M=N||I,z=Object.assign(Object.assign({backgroundColor:v&&!M?v:void 0},null==x?void 0:x.style),p),T=$("tag",n),[R,B,D]=h(T),F=l()(T,null==x?void 0:x.className,{[`${T}-${v}`]:M,[`${T}-has-color`]:v&&!M,[`${T}-hidden`]:!j,[`${T}-rtl`]:"rtl"===E,[`${T}-borderless`]:!b},o,m,B,D),H=e=>{e.stopPropagation(),null==y||y(e),e.defaultPrevented||S(!1)},[,_]=(0,s.Z)((0,s.w)(e),(0,s.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${T}-close-icon`,onClick:H},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),H(t)},className:l()(null==e?void 0:e.className,`${T}-close-icon`)}))}}),A="function"==typeof C.onClick||d&&"a"===d.type,L=g||null,W=L?r.createElement(r.Fragment,null,L,d&&r.createElement("span",null,d)):d,V=r.createElement("span",Object.assign({},Z,{ref:t,className:F,style:z}),W,_,N&&r.createElement(w,{key:"preset",prefixCls:T}),I&&r.createElement(k,{key:"status",prefixCls:T}));return R(A?r.createElement(u.Z,{component:"Tag"},V):V)});S.CheckableTag=$;var Z=S},64894:function(e,t,n){var r=n(83963),o=n(67294),l=n(32857),a=n(30672),i=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:l.Z}))});t.Z=i},79370:function(e,t,n){n.d(t,{G:function(){return a}});var r=n(98924),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},l=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 a(e,t){return Array.isArray(e)||void 0===t?o(e):l(e,t)}},36459: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/2293-9b8cd265e41eb091.js b/dbgpt/app/static/web/_next/static/chunks/2293-6c9d7e03730e4b24.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2293-9b8cd265e41eb091.js rename to dbgpt/app/static/web/_next/static/chunks/2293-6c9d7e03730e4b24.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2378-dfa7314d67a753a4.js b/dbgpt/app/static/web/_next/static/chunks/2378-dfa7314d67a753a4.js deleted file mode 100644 index ef1d94287..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/2378-dfa7314d67a753a4.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2378],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},98065: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}})},30568:function(e,t,n){n.d(t,{Z:function(){return en}});var r=n(67294),a=n(93967),o=n.n(a),l=n(1413),i=n(4942),u=n(74902),c=n(71002),s=n(97685),d=n(56790),f=n(21770),v=n(91881),m=n(80334),g=n(87462),p=n(45987),h=n(73935);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(15105),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,F=O.tabIndex,R=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(F,c),role:"slider","aria-valuemin":M,"aria-valuemax":B,"aria-valuenow":u,"aria-disabled":I,"aria-label":y(R,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]),eR=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=eR.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,eR,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=[];eR.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===eF&&0===e||"number"==typeof eF&&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=eF||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)}e7(null)},[e6]);var e5=r.useMemo(function(){return(!eM||null!==eP)&&eM},[eM,eP]),e8=(0,d.zX)(function(e,t){e1(e,t),null==Y||Y(eW(eV))}),e9=-1!==eU;r.useEffect(function(){if(!e9){var e=eV.lastIndexOf(eQ);ex.current.focus(e)}},[e9]);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(){R&&ex.current.focus(0)},[]);var to=r.useMemo(function(){return{min:eI,max:eN,direction:e$,disabled:D,keyboard:F,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,F,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"),eR.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:e5?e8:void 0}),r.createElement(B,{prefixCls:x,marks:eR,dots:ev,style:es,activeStyle:ed}),r.createElement(S,{ref:ex,prefixCls:x,style:eu,values:e0,draggingIndex:eU,draggingDelete:eJ,onStartMove:e8,onOffsetChange:function(e,t){if(!D){var n=ez(eV,e,t);null==Y||Y(eW(eV)),eK(n.values),e7(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:eR,onClick:e2})))}),R=n(75164),H=n(53124),j=n(98866),L=n(42550),z=n(83062);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(){R.Z.cancel(i.current),i.current=null}return r.useEffect(()=>(l?i.current=(0,R.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(47648),q=n(10274),X=n(14747),V=n(83559),W=n(87893);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=()=>{R.Z.cancel(n.current)};return r.useEffect(()=>a,[]),[e,e=>{a(),e?t(e):n.current=(0,R.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,R.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(F,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},42075:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(67294),a=n(93967),o=n.n(a),l=n(50344),i=n(98065),u=n(53124),c=n(4173);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),F=(0,i.T)(B),R=(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=R.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===R.length)return null;let K={};return S&&(K.flexWrap="wrap"),!N&&F&&(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},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return m}});var r=n(47648),a=n(93590);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}}]}},64894:function(e,t,n){var r=n(83963),a=n(67294),o=n(32857),l=n(30672),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9491-9d8b35345ca8af6d.js b/dbgpt/app/static/web/_next/static/chunks/2415-38583cd988d3a7a0.js similarity index 86% rename from dbgpt/app/static/web/_next/static/chunks/9491-9d8b35345ca8af6d.js rename to dbgpt/app/static/web/_next/static/chunks/2415-38583cd988d3a7a0.js index 9a0ae77eb..7f19a4a19 100644 --- a/dbgpt/app/static/web/_next/static/chunks/9491-9d8b35345ca8af6d.js +++ b/dbgpt/app/static/web/_next/static/chunks/2415-38583cd988d3a7a0.js @@ -1,6 +1,6 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9491],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},42110:function(e,t){t.Z={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"}},91321:function(e,t,o){o.d(t,{Z:function(){return d}});var n=o(87462),r=o(45987),i=o(67294),l=o(16165),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=i.forwardRef(function(e,t){var o=e.type,c=e.children,d=(0,r.Z)(e,s),u=null;return e.type&&(u=i.createElement("use",{xlinkHref:"#".concat(o)})),c&&(u=c),i.createElement(l.Z,(0,n.Z)({},a,d,{ref:t}),u)});return d.displayName="Iconfont",d}},3471:function(e,t,o){var n=o(87462),r=o(67294),i=o(29245),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},51042:function(e,t,o){var n=o(87462),r=o(67294),i=o(42110),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},40110:function(e,t,o){var n=o(87462),r=o(67294),i=o(509),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},90598:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),r=o(67294),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=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},75750:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),r=o(67294),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=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},98065:function(e,t,o){function n(e){return["small","middle","large"].includes(e)}function r(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}o.d(t,{T:function(){return r},n:function(){return n}})},96074:function(e,t,o){o.d(t,{Z:function(){return p}});var n=o(67294),r=o(93967),i=o.n(r),l=o(53124),s=o(47648),a=o(14747),c=o(83559),d=o(87893);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:r,textPaddingInline:i,orientationMargin:l,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${(0,s.bf)(r)} 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)(r)} 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)(r)} 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,s.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,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 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},p=e=>{let{getPrefixCls:t,direction:o,divider:r}=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,b]=h(w),R=!!m,T="left"===c&&null!=d,z="right"===c&&null!=d,I=i()(w,null==r?void 0:r.className,x,b,`${w}-${a}`,{[`${w}-with-text`]:R,[`${w}-with-text-${c}`]:R,[`${w}-dashed`]:!!g,[`${w}-${v}`]:"solid"!==v,[`${w}-plain`]:!!_,[`${w}-rtl`]:"rtl"===o,[`${w}-no-default-orientation-margin-left`]:T,[`${w}-no-default-orientation-margin-right`]:z},u,p),O=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),M=Object.assign(Object.assign({},T&&{marginLeft:O}),z&&{marginRight:O});return C(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==r?void 0:r.style),S)},y,{role:"separator"}),m&&"vertical"!==a&&n.createElement("span",{className:`${w}-inner-text`,style:M},m)))}},42075:function(e,t,o){o.d(t,{Z:function(){return g}});var n=o(67294),r=o(93967),i=o.n(r),l=o(50344),s=o(98065),a=o(53124),c=o(4173);let d=n.createContext({latestIndex:0}),u=d.Provider;var h=e=>{let{className:t,index:o,children:r,split:i,style:l}=e,{latestIndex:s}=n.useContext(d);return null==r?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:l},r),ot.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 m=n.forwardRef((e,t)=>{var o,r,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:b,style:R,wrap:T=!1,classNames:z,styles:I}=e,O=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[M,P]=Array.isArray(v)?v:[v,v],k=(0,s.n)(P),L=(0,s.n)(M),E=(0,s.T)(P),G=(0,s.T)(M),A=(0,l.Z)(w,{keepEmpty:!0}),D=void 0===_&&"horizontal"===C?"center":_,W=d("space",x),[H,j,F]=(0,f.Z)(W),N=i()(W,null==m?void 0:m.className,j,`${W}-${C}`,{[`${W}-rtl`]:"rtl"===g,[`${W}-align-${D}`]:D,[`${W}-gap-row-${P}`]:k,[`${W}-gap-col-${M}`]:L},S,y,F),U=i()(`${W}-item`,null!==(r=null==z?void 0:z.item)&&void 0!==r?r:null===(c=null==m?void 0:m.classNames)||void 0===c?void 0:c.item),B=0,$=A.map((e,t)=>{var o,r;null!=e&&(B=t);let i=(null==e?void 0:e.key)||`${U}-${t}`;return n.createElement(h,{className:U,key:i,index:t,split:b,style:null!==(o=null==I?void 0:I.item)&&void 0!==o?o:null===(r=null==m?void 0:m.styles)||void 0===r?void 0:r.item},e)}),V=n.useMemo(()=>({latestIndex:B}),[B]);if(0===A.length)return null;let Z={};return T&&(Z.flexWrap="wrap"),!L&&G&&(Z.columnGap=M),!k&&E&&(Z.rowGap=P),H(n.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},Z),null==m?void 0:m.style),R)},O),n.createElement(u,{value:V},$)))});m.Compact=c.ZP;var g=m},33507: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([[2415],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},42110:function(e,t){t.Z={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"}},91321:function(e,t,o){o.d(t,{Z:function(){return d}});var n=o(87462),r=o(45987),i=o(67294),l=o(16165),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=i.forwardRef(function(e,t){var o=e.type,c=e.children,d=(0,r.Z)(e,s),u=null;return e.type&&(u=i.createElement("use",{xlinkHref:"#".concat(o)})),c&&(u=c),i.createElement(l.Z,(0,n.Z)({},a,d,{ref:t}),u)});return d.displayName="Iconfont",d}},3471:function(e,t,o){var n=o(87462),r=o(67294),i=o(29245),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},51042:function(e,t,o){var n=o(87462),r=o(67294),i=o(42110),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},40110:function(e,t,o){var n=o(87462),r=o(67294),i=o(509),l=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},90598:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),r=o(67294),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=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},75750:function(e,t,o){o.d(t,{Z:function(){return s}});var n=o(87462),r=o(67294),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=o(13401),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},8745:function(e,t,o){o.d(t,{i:function(){return s}});var n=o(67294),r=o(21770),i=o(28459),l=o(53124);function s(e){return t=>n.createElement(i.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},n.createElement(e,Object.assign({},t)))}t.Z=(e,t,o,i)=>s(s=>{let{prefixCls:a,style:c}=s,d=n.useRef(null),[u,h]=n.useState(0),[f,p]=n.useState(0),[m,g]=(0,r.Z)(!1,{value:s.open}),{getPrefixCls:v}=n.useContext(l.E_),_=v(t||"select",a);n.useEffect(()=>{if(g(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;h(t.offsetHeight+8),p(t.offsetWidth)}),t=setInterval(()=>{var n;let r=o?`.${o(_)}`:`.${_}-dropdown`,i=null===(n=d.current)||void 0===n?void 0:n.querySelector(r);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let S=Object.assign(Object.assign({},s),{style:Object.assign(Object.assign({},c),{margin:0}),open:m,visible:m,getPopupContainer:()=>d.current});return i&&(S=i(S)),n.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:f}},n.createElement(e,Object.assign({},S)))})},98065:function(e,t,o){function n(e){return["small","middle","large"].includes(e)}function r(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}o.d(t,{T:function(){return r},n:function(){return n}})},96074:function(e,t,o){o.d(t,{Z:function(){return p}});var n=o(67294),r=o(93967),i=o.n(r),l=o(53124),s=o(47648),a=o(14747),c=o(83559),d=o(87893);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:n,lineWidth:r,textPaddingInline:i,orientationMargin:l,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(e)),{borderBlockStart:`${(0,s.bf)(r)} 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)(r)} 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)(r)} 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,s.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:`${(0,s.bf)(r)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,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 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},p=e=>{let{getPrefixCls:t,direction:o,divider:r}=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,b]=h(w),R=!!m,z="left"===c&&null!=d,T="right"===c&&null!=d,I=i()(w,null==r?void 0:r.className,x,b,`${w}-${a}`,{[`${w}-with-text`]:R,[`${w}-with-text-${c}`]:R,[`${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),O=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),P=Object.assign(Object.assign({},z&&{marginLeft:O}),T&&{marginRight:O});return C(n.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},null==r?void 0:r.style),S)},y,{role:"separator"}),m&&"vertical"!==a&&n.createElement("span",{className:`${w}-inner-text`,style:P},m)))}},45360:function(e,t,o){var n=o(96641),r=o(67294),i=o(38135),l=o(66968),s=o(53124),a=o(28459),c=o(66277),d=o(16474),u=o(84926);let h=null,f=e=>e(),p=[],m={};function g(){let{getContainer:e,duration:t,rtl:o,maxCount:n,top:r}=m,i=(null==e?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:o,maxCount:n,top:r}}let v=r.forwardRef((e,t)=>{let{messageConfig:o,sync:n}=e,{getPrefixCls:i}=(0,r.useContext)(s.E_),a=m.prefixCls||i("message"),c=(0,r.useContext)(l.J),[u,h]=(0,d.K)(Object.assign(Object.assign(Object.assign({},o),{prefixCls:a}),c.message));return r.useImperativeHandle(t,()=>{let e=Object.assign({},u);return Object.keys(e).forEach(t=>{e[t]=function(){return n(),u[t].apply(u,arguments)}}),{instance:e,sync:n}}),h}),_=r.forwardRef((e,t)=>{let[o,n]=r.useState(g),i=()=>{n(g)};r.useEffect(i,[]);let l=(0,a.w6)(),s=l.getRootPrefixCls(),c=l.getIconPrefixCls(),d=l.getTheme(),u=r.createElement(v,{ref:t,sync:i,messageConfig:o});return r.createElement(a.ZP,{prefixCls:s,iconPrefixCls:c,theme:d},l.holderRender?l.holderRender(u):u)});function S(){if(!h){let e=document.createDocumentFragment(),t={fragment:e};h=t,f(()=>{(0,i.s)(r.createElement(_,{ref:e=>{let{instance:o,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&o&&(t.instance=o,t.sync=n,S())})}}),e)});return}h.instance&&(p.forEach(e=>{let{type:t,skipped:o}=e;if(!o)switch(t){case"open":f(()=>{let t=h.instance.open(Object.assign(Object.assign({},m),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":f(()=>{null==h||h.instance.destroy(e.key)});break;default:f(()=>{var o;let r=(o=h.instance)[t].apply(o,(0,n.Z)(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)})}}),p=[])}let y={open:function(e){let t=(0,u.J)(t=>{let o;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{o=e}};return p.push(n),()=>{o?f(()=>{o()}):n.skipped=!0}});return S(),t},destroy:e=>{p.push({type:"destroy",key:e}),S()},config:function(e){m=Object.assign(Object.assign({},m),e),f(()=>{var e;null===(e=null==h?void 0:h.sync)||void 0===e||e.call(h)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};["success","info","warning","error","loading"].forEach(e=>{y[e]=function(){for(var t=arguments.length,o=Array(t),n=0;n{let n;let r={type:e,args:t,resolve:o,setCloseFn:e=>{n=e}};return p.push(r),()=>{n?f(()=>{n()}):r.skipped=!0}});return S(),o}(e,o)}}),t.ZP=y},42075:function(e,t,o){o.d(t,{Z:function(){return g}});var n=o(67294),r=o(93967),i=o.n(r),l=o(50344),s=o(98065),a=o(53124),c=o(4173);let d=n.createContext({latestIndex:0}),u=d.Provider;var h=e=>{let{className:t,index:o,children:r,split:i,style:l}=e,{latestIndex:s}=n.useContext(d);return null==r?null:n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:l},r),ot.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 m=n.forwardRef((e,t)=>{var o,r,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:b,style:R,wrap:z=!1,classNames:T,styles:I}=e,O=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[P,M]=Array.isArray(v)?v:[v,v],k=(0,s.n)(M),E=(0,s.n)(P),L=(0,s.T)(M),G=(0,s.T)(P),A=(0,l.Z)(w,{keepEmpty:!0}),D=void 0===_&&"horizontal"===C?"center":_,W=d("space",x),[H,j,F]=(0,f.Z)(W),N=i()(W,null==m?void 0:m.className,j,`${W}-${C}`,{[`${W}-rtl`]:"rtl"===g,[`${W}-align-${D}`]:D,[`${W}-gap-row-${M}`]:k,[`${W}-gap-col-${P}`]:E},S,y,F),U=i()(`${W}-item`,null!==(r=null==T?void 0:T.item)&&void 0!==r?r:null===(c=null==m?void 0:m.classNames)||void 0===c?void 0:c.item),B=0,$=A.map((e,t)=>{var o,r;null!=e&&(B=t);let i=(null==e?void 0:e.key)||`${U}-${t}`;return n.createElement(h,{className:U,key:i,index:t,split:b,style:null!==(o=null==I?void 0:I.item)&&void 0!==o?o:null===(r=null==m?void 0:m.styles)||void 0===r?void 0:r.item},e)}),V=n.useMemo(()=>({latestIndex:B}),[B]);if(0===A.length)return null;let Z={};return z&&(Z.flexWrap="wrap"),!E&&G&&(Z.columnGap=P),!k&&L&&(Z.rowGap=M),H(n.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},Z),null==m?void 0:m.style),R)},O),n.createElement(u,{value:V},$)))});m.Compact=c.ZP;var g=m},33507: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`}}})},33297:function(e,t,o){o.d(t,{Fm:function(){return p}});var n=o(47648),r=o(93590);let i=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:i,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:i,outKeyframes:l}=f[t];return[(0,r.R)(n,i,l,e.motionDurationMid),{[` ${n}-enter, ${n}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},64894:function(e,t,o){var n=o(83963),r=o(67294),i=o(32857),l=o(30672),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},54686:function(e,t,o){function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}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){var t=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function l(e,t){for(var o=0;o=0&&a===s&&c())}function W(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=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 r=this._cellSizeGetter({index:n});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(r));null===r?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:r},o+=r,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,r=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(i),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,r))}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,r=this._findNearestCell(o),i=this.getSizeAndPositionOfCell(r);o=i.offset+i.size;for(var l=r;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}(),j=function(){function e(t){var o=t.maxScrollSize,r=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=W(t,["maxScrollSize"]);n(this,e),f(this,"_cellSizeAndPositionManager",void 0),f(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new H(i),this._maxScrollSize=r}return s(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(),r=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(r-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,r=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var i=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:i})}},{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(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(n-t))}}]),e}();function F(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,r=o.indices,i=Object.keys(r),l=!e||i.every(function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0}),s=i.length!==Object.keys(t).length||i.some(function(e){var o=t[e],n=r[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=r,l&&s&&n(r)}}function N(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,r=e.previousCellSize,i=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 U=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function B(e){if((!p&&0!==p||e)&&U){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),p=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return p}var $=(m="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||m.webkitRequestAnimationFrame||m.mozRequestAnimationFrame||m.oRequestAnimationFrame||m.msRequestAnimationFrame||function(e){return m.setTimeout(e,1e3/60)},V=m.cancelAnimationFrame||m.webkitCancelAnimationFrame||m.mozCancelAnimationFrame||m.oCancelAnimationFrame||m.msCancelAnimationFrame||function(e){m.clearTimeout(e)},Z=function(e){return V(e.id)},q=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n={id:$(function r(){Date.now()-o>=t?e.call():n.id=$(r)})};return n};function K(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 X(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 h(t,e),s(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,r=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,s=X({},this.props,{scrollToAlignment:o,scrollToColumn:r,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 r=this.props,i=r.autoHeight,l=r.autoWidth,s=r.height,a=r.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:Y.OBSERVED};i||(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,r=void 0===n?0:n,i=this.props,l=i.scrollToColumn,s=i.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?r<=s:r>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,r=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(X({},r,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(X({},r,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,r=e.scrollLeft,i=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=X({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof r&&r>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,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;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||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,r=n.autoHeight,i=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===Y.REQUESTED&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!r&&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)):N({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)):N({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&&Z(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,r=e.className,i=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 b=this._childrenToDisplay,R=0===b.length&&a>0&&p>0;return M.createElement("div",G({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:A("ReactVirtualized__Grid",r),id:c,onScroll:this._onScroll,role:u,style:X({},S,{},h),tabIndex:f}),b.length>0&&M.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:X({width:t?"auto":y,height:w,maxWidth:y,maxHeight:w,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,r=e.columnCount,i=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:r,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,T=x.overscanStopIndex,z=b.overscanStartIndex,I=b.overscanStopIndex;if(i){if(!i.hasFixedHeight()){for(var O=z;O<=I;O++)if(!i.has(O,0)){R=0,T=r-1;break}}if(!i.hasFixedWidth()){for(var M=R;M<=T;M++)if(!i.has(0,M)){z=0,I=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:R,columnStopIndex:T,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:z,rowStopIndex:I,scrollLeft:v,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:C,visibleColumnIndices:S,visibleRowIndices:y}),this._columnStartIndex=R,this._columnStopIndex=T,this._rowStartIndex=z,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Z(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=q(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,r=e.totalColumnsWidth,i=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:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},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,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{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 r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(n,"-").concat(r);this._styleCache[i]=e[i],o&&(this._cellCache[i]=t[i])}}},{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,r,i={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(i.scrollLeft=0,i.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return i.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(i.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(i,{isScrolling:!1}),D({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)}}),D({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(){r=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,i.instanceProps=l,X({},i,{},n,{},r)}},{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,r={scrollPositionChangeReason:Y.REQUESTED};return("number"==typeof o&&o>=0&&(r.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,r.scrollLeft=o),"number"==typeof n&&n>=0&&(r.scrollDirectionVertical=n>t.scrollTop?1:-1,r.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?r:{}}},{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,r=e.scrollToAlignment,i=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:r,containerSize:l-u,currentOffset:s,targetIndex:i<0?c:Math.min(c,i)})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,r=t._getCalculatedScrollLeft(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,r=e.scrollToAlignment,i=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:r,containerSize:o-u,currentOffset:s,targetIndex:i<0?c:Math.min(c,i)})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,r=t._getCalculatedScrollTop(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:r}):{}}}]),t}(M.PureComponent),f(g,"propTypes",null),v);f(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,r=e.columnStartIndex,i=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=r;x<=i;x++){var b=n.getSizeAndPositionOfCell(x),R=x>=g.start&&x<=g.stop&&w>=v.start&&w<=v.stop,T="".concat(w,"-").concat(x),z=void 0;y&&p[T]?z=p[T]:l&&!l.has(w,x)?z={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(z={height:C.size,left:b.offset+s,position:"absolute",top:C.offset+m,width:b.size},p[T]=z);var I={columnIndex:x,isScrolling:a,isVisible:R,key:T,parent:d,rowIndex:w,style:z},O=void 0;(c||a)&&!s&&!m?(t[T]||(t[T]=o(I)),O=t[T]):O=o(I),null!=O&&!1!==O&&_.push(O)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:B,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,r=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),E(Q);var J=Q;function ee(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i+1)}}function et(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 eo=(S=_=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;le.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],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=o:r.appendChild(t.createTextNode(o)),n.appendChild(r)}};return{addResizeListener:function(e,t){if(r)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=n.getComputedStyle(e);i&&"static"==i.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(r)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 er(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}f(eo,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),E(eo);var ei=(w=y=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l=0){var d=t.getScrollPositionForCell({align:r,cellIndex:i,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&o._setScrollPosition(d)}}),f(a(o),"_onScroll",function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,n=t.cellLayoutManager,r=t.height,i=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-r+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?ec.OBSERVED:ec.REQUESTED;o.state.isScrolling||i(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),o._scrollbarSize=B(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return h(t,e),s(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,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=B(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||r>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),l=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:r||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,r=o.scrollToAlignment,i=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===ec.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||r!==e.scrollToAlignment||i!==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,r=e.className,i=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,p=h.isScrolling,m=h.scrollLeft,g=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var v=n.getTotalSize(),_=v.height,S=v.width,y=Math.max(0,m-l),w=Math.max(0,g-d),C=Math.min(S,m+u+l),x=Math.min(_,g+i+d),b=i>0&&u>0?n.cellRenderers({height:x-w,isScrolling:p,width:C-y,x:y,y:w}):[],R={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},T=_>i?this._scrollbarSize:0,z=S>u?this._scrollbarSize:0;return R.overflowX=S+T<=u?"hidden":"auto",R.overflowY=_+z<=i?"hidden":"auto",M.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:A("ReactVirtualized__Collection",r),id:s,onScroll:this._onScroll,role:"grid",style:function(e){for(var t=1;t0&&M.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:_,maxHeight:_,maxWidth:S,overflow:"hidden",pointerEvents:p?"none":"",width:S}},b),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,r=e.totalHeight,i=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:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:ec.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:ec.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:ec.REQUESTED}:null}}]),t}(M.PureComponent);f(ed,"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}),ed.propTypes={},E(ed);var eu=function(){function e(t){var o=t.height,r=t.width,i=t.x,l=t.y;n(this,e),this.height=o,this.width=r,this.x=i,this.y=l,this._indexMap={},this._indices=[]}return s(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}(),eh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;n(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return s(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,r=e.y,i={};return this.getSections({height:t,width:o,x:n,y:r}).forEach(function(e){return e.getCellIndices().forEach(function(e){i[e]=e})}),Object.keys(i).map(function(e){return i[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,r=e.y,i=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(r/this._sectionSize),a=Math.floor((r+t-1)/this._sectionSize),c=[],d=i;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new eu({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 ef(e){var t=e.align,o=e.cellOffset,n=e.cellSize,r=e.containerSize,i=e.currentOffset,l=o-r+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(r-n)/2;default:return Math.max(l,Math.min(o,i))}}var ep=function(e){function t(e,o){var r;return n(this,t),(r=c(this,d(t).call(this,e,o)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(a(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(a(r)),r}return h(t,e),s(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=G({},this.props);return M.createElement(ed,G({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,r=[],i=new eh(n),l=0,s=0,a=0;a=0&&oe.length)&&(t=e.length);for(var o=0,n=Array(t);or||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,r=this,i=this.props,l=i.isRowLoaded,s=i.minimumBatchSize,a=i.rowCount,c=i.threshold,d=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,r=e.startIndex,i=e.stopIndex,l=[],s=null,a=null,c=r;c<=i;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:l,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-c),stopIndex:Math.min(a-1,t+c)}),u=(n=[]).concat.apply(n,function(e){if(Array.isArray(e))return em(e)}(o=d.map(function(e){return[e.startIndex,e.stopIndex]}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||eg(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(M.PureComponent);f(ev,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),ev.propTypes={};var e_=(R=b=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&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,r=e.width,i=A("ReactVirtualized__List",t);return M.createElement(J,G({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:r,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}]),t}(M.PureComponent),f(b,"propTypes",null),R);f(e_,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:ee,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var eS={ge:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>=0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>=n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},gt:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},lt:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=t-1;t<=o;){var l=t+o>>>1;0>r(e[l],n)?(i=l,t=l+1):o=l-1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=t-1;t<=o;){var i=t+o>>>1;e[i]>>1;0>=r(e[l],n)?(i=l,t=l+1):o=l-1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=t-1;t<=o;){var i=t+o>>>1;e[i]<=n?(r=i,t=i+1):o=i-1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},eq:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(;t<=o;){var i=t+o>>>1,l=r(e[i],n);if(0===l)return i;l<=0?t=i+1:o=i-1}return -1}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(;t<=o;){var r=t+o>>>1,i=e[r];if(i===n)return r;i<=n?t=r+1:o=r-1}return -1}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)}};function ey(e,t,o,n,r){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=r,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ew=ey.prototype;function eC(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 ex(e,t){var o=ek(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 eb(e,t){var o=e.intervals([]);o.push(t),ex(e,o)}function eR(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),ex(e,o),1)}function eT(e,t,o){for(var n=0;n=0&&e[n][1]>=t;--n){var r=o(e[n]);if(r)return r}}function eI(e,t){for(var o=0;o>1],r=[],i=[],l=[],o=0;o3*(t+1)?eb(this,e):this.left.insert(e):this.left=ek([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?eb(this,e):this.right.insert(e):this.right=ek([e]);else{var o=eS.ge(this.leftPoints,e,eM),n=eS.ge(this.rightPoints,e,eP);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ew.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return eR(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 eR(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,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var i=this.left,o=this.right;n.count-=r.count,n.right=r.left,r.left=i,r.right=o}eC(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?eC(this,this.left):eC(this,this.right);return 1}for(var i=eS.ge(this.leftPoints,e,eM);ithis.mid))return eI(this.leftPoints,t);if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return ez(this.rightPoints,e,t)},ew.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?ez(this.rightPoints,e,o):eI(this.leftPoints,o)};var eE=eL.prototype;eE.insert=function(e){this.root?this.root.insert(e):this.root=new ey(e[0],null,null,[e],[e])},eE.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},eE.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},eE.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(eE,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(eE,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eG=function(){function e(){var t;n(this,e),f(this,"_columnSizeMap",{}),f(this,"_intervalTree",new eL(t&&0!==t.length?ek(t):null)),f(this,"_leftMap",{})}return s(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=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,l,s=[],a=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;a=!1}else for(;!(a=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{if(!a&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(c)throw r}}return s}}(e,3)||eg(e,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=(t[1],t[2]);return o(i,n._leftMap[i],r)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];void 0===i?r[t]=o+n:r[t]=Math.max(i,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 eA(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 eD=(z=T=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),f(this,"_cellMeasurerCache",void 0),f(this,"_columnIndexOffset",void 0),f(this,"_rowIndexOffset",void 0),f(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),f(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var r=o.cellMeasurerCache,i=o.columnIndexOffset,l=o.rowIndexOffset;this._cellMeasurerCache=r,this._columnIndexOffset=void 0===i?0:i,this._rowIndexOffset=void 0===l?0:l}return s(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 ej(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 eF(e){for(var t=1;t0?new eH({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,r._deferredMeasurementCacheBottomRightGrid=l>0||s>0?new eH({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:s}):i,r._deferredMeasurementCacheTopRightGrid=l>0?new eH({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:0}):i),r}return h(t,e),s(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,r=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,r):r}},{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,r=void 0===n?0:n,i=this.props,l=i.fixedColumnCount,s=i.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,r-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:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:r}),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),r=(e.scrollTop,e.scrollToRow),i=W(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 M.createElement("div",{style:this._containerOuterStyle},M.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(eF({},i,{onScroll:t,scrollLeft:s}))),M.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eF({},i,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(eF({},i,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:n,scrollToRow:r,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,r=0;r=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(M.PureComponent);function eU(e){var t=e.className,o=e.columns,n=e.style;return M.createElement("div",{className:t,role:"row",style:n},o)}f(eN,"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}),eN.propTypes={},E(eN),function(e){function t(e,o){var r;return n(this,t),(r=c(this,d(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(a(r)),r}return h(t,e),s(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:r,scrollTop:i,scrollWidth:l})}}]),t}(M.PureComponent).propTypes={},eU.propTypes=null;var eB={ASC:"ASC",DESC:"DESC"};function e$(e){var t=e.sortDirection,o=A("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===eB.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eB.DESC});return M.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===eB.ASC?M.createElement("path",{d:"M7 14l5-5 5 5z"}):M.createElement("path",{d:"M7 10l5 5 5-5z"}),M.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eV(e){var t=e.dataKey,o=e.label,n=e.sortBy,r=e.sortDirection,i=[M.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&i.push(M.createElement(e$,{key:"SortIndicator",sortDirection:r})),i}function eZ(e){var t=e.className,o=e.columns,n=e.index,r=e.key,i=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(i||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,i&&(h.onClick=function(e){return i({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})})),M.createElement("div",G({},h,{className:t,key:r,role:"row",style:u}),o)}e$.propTypes={},eV.propTypes=null,eZ.propTypes=null;var eq=function(e){function t(){return n(this,t),c(this,d(t).apply(this,arguments))}return h(t,e),t}(M.Component);function eK(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 eX(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,el.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,r=t.disableHeader,i=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,_=r?c:c-s,S="function"==typeof h?h({index:-1}):h,y="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],M.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=eX({overflow:"hidden"},n)}),M.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":M.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:A("ReactVirtualized__Table",n),id:d,role:"grid",style:m},!r&&a({className:A("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:eX({height:s,overflow:"hidden",paddingRight:v,width:g},y)}),M.createElement(J,G({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:A("ReactVirtualized__Table__Grid",i),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:eX({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,r=e.parent,i=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:i}),columnData:h,columnIndex:o,dataKey:f,isScrolling:n,parent:r,rowData:i,rowIndex:l}),g=this._cachedColumnStyles[o],v="string"==typeof m?m:null;return M.createElement("div",{"aria-colindex":o+1,"aria-describedby":p,className:A("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,r,i,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,b=A("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),R=this._getFlexStyleForColumn(l,eX({},d,{},l.props.headerStyle)),T=y({columnData:g,dataKey:v,disableSort:S,label:C,sortBy:f,sortDirection:p});if(x||u){var z=f!==v?_:p===eB.DESC?eB.ASC:eB.DESC,I=function(e){x&&h({defaultSortDirection:_,event:e,sortBy:v,sortDirection:z}),u&&u({columnData:g,dataKey:v,event:e})};i=l.props["aria-label"]||C||v,r="none",n=0,t=I,o=function(e){("Enter"===e.key||" "===e.key)&&I(e)}}return f===v&&(r=p===eB.ASC?"ascending":"descending"),M.createElement("div",{"aria-label":i,"aria-sort":r,className:b,id:w,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,r=e.key,i=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=M.Children.toArray(a).map(function(e,r){return t._createColumn({column:e,columnIndex:r,isScrolling:n,parent:i,rowData:w,rowIndex:o,scrollbarWidth:_})}),x=A("ReactVirtualized__Table__row",S),b=eX({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:_},y);return g({className:x,columns:C,index:o,isScrolling:n,key:r,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:f,rowData:w,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=eX({},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?[]:M.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,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(M.PureComponent);f(eY,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:ee,overscanRowCount:10,rowRenderer:eZ,headerRowRenderer:eU,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),eY.propTypes={};var eQ=[],eJ=null,e0=null;function e1(){e0&&(e0=null,document.body&&null!=eJ&&(document.body.style.pointerEvents=eJ),eJ=null)}function e3(){e1(),eQ.forEach(function(e){return e.__resetIsScrolling()})}function e2(e){var t;e.currentTarget===window&&null==eJ&&document.body&&(eJ=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),e0&&Z(e0),t=0,eQ.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),e0=q(e3,t),eQ.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e4(e,t){eQ.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",e2),eQ.push(e)}function e6(e,t){!(eQ=eQ.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",e2),e0&&(Z(e0),e1()))}var e9=function(e){return e===window},e5=function(e){return e.getBoundingClientRect()};function e8(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!e9(e))return e5(e);var o=window,n=o.innerHeight,r=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof r?r:0}}function e7(e){return e9(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 te(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 tt=function(){return"undefined"!=typeof window?window:void 0},to=(O=I=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,r=o.width,i=this._child||el.findDOMNode(this);if(i instanceof Element&&e){var l=function(e,t){if(e9(t)&&document.documentElement){var o=document.documentElement,n=e5(e),r=e5(o);return{top:n.top-r.top,left:n.left-r.left}}var i=e7(t),l=e5(e),s=e5(t);return{top:l.top+i.top-s.top,left:l.left+i.left-s.left}}(i,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=e8(e,this.props);(n!==s.height||r!==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=en(),this.updatePosition(e),e&&(e4(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),e6(this,n),e4(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e6(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,r=t.scrollLeft,i=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:o,scrollLeft:r,scrollTop:n,width:l})}}]),t}(M.PureComponent),f(I,"propTypes",null),O);f(to,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:tt(),serverHeight:0,serverWidth:0})}}]); \ No newline at end of file + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},64894:function(e,t,o){var n=o(83963),r=o(67294),i=o(32857),l=o(30672),s=r.forwardRef(function(e,t){return r.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},54686:function(e,t,o){function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}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){var t=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function l(e,t){for(var o=0;o=0&&a===s&&c())}function W(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=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 r=this._cellSizeGetter({index:n});if(void 0===r||isNaN(r))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(r));null===r?(this._cellSizeAndPositionData[n]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:o,size:r},o+=r,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,r=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var l=this.getSizeAndPositionOfCell(i),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,r))}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,r=this._findNearestCell(o),i=this.getSizeAndPositionOfCell(r);o=i.offset+i.size;for(var l=r;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}(),j=function(){function e(t){var o=t.maxScrollSize,r=void 0===o?"undefined"!=typeof window&&window.chrome?16777100:15e5:o,i=W(t,["maxScrollSize"]);n(this,e),f(this,"_cellSizeAndPositionManager",void 0),f(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new H(i),this._maxScrollSize=r}return s(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(),r=this.getTotalSize();return Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(r-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,r=e.targetIndex;n=this._safeOffsetToOffset({containerSize:o,offset:n});var i=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:void 0===t?"auto":t,containerSize:o,currentOffset:n,targetIndex:r});return this._offsetToSafeOffset({containerSize:o,offset:i})}},{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(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:n})*(r-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,o=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),r=this.getTotalSize();return n===r?o:Math.round(this._getOffsetPercentage({containerSize:t,offset:o,totalSize:r})*(n-t))}}]),e}();function F(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t={};return function(o){var n=o.callback,r=o.indices,i=Object.keys(r),l=!e||i.every(function(e){var t=r[e];return Array.isArray(t)?t.length>0:t>=0}),s=i.length!==Object.keys(t).length||i.some(function(e){var o=t[e],n=r[e];return Array.isArray(n)?o.join(",")!==n.join(","):o!==n});t=r,l&&s&&n(r)}}function N(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,n=e.previousCellsCount,r=e.previousCellSize,i=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 U=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function B(e){if((!p&&0!==p||e)&&U){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),p=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return p}var $=(m="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||m.webkitRequestAnimationFrame||m.mozRequestAnimationFrame||m.oRequestAnimationFrame||m.msRequestAnimationFrame||function(e){return m.setTimeout(e,1e3/60)},V=m.cancelAnimationFrame||m.webkitCancelAnimationFrame||m.mozCancelAnimationFrame||m.oCancelAnimationFrame||m.msCancelAnimationFrame||function(e){m.clearTimeout(e)},Z=function(e){return V(e.id)},q=function(e,t){Promise.resolve().then(function(){o=Date.now()});var o,n={id:$(function r(){Date.now()-o>=t?e.call():n.id=$(r)})};return n};function K(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 X(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 h(t,e),s(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,r=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,l=void 0===i?this.props.scrollToRow:i,s=X({},this.props,{scrollToAlignment:o,scrollToColumn:r,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 r=this.props,i=r.autoHeight,l=r.autoWidth,s=r.height,a=r.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:Y.OBSERVED};i||(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,r=void 0===n?0:n,i=this.props,l=i.scrollToColumn,s=i.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(r),this._recomputeScrollLeftFlag=l>=0&&(1===this.state.scrollDirectionHorizontal?o<=l:o>=l),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?r<=s:r>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,o=e.rowIndex,n=this.props.columnCount,r=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(X({},r,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(X({},r,{scrollToRow:o}))}},{key:"componentDidMount",value:function(){var e=this.props,o=e.getScrollbarSize,n=e.height,r=e.scrollLeft,i=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=X({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=o(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof r&&r>=0||"number"==typeof l&&l>=0){var d=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,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;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:r||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,r=n.autoHeight,i=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===Y.REQUESTED&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=p),!r&&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)):N({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)):N({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&&Z(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,n=e.autoWidth,r=e.className,i=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 b=this._childrenToDisplay,R=0===b.length&&a>0&&p>0;return P.createElement("div",G({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:A("ReactVirtualized__Grid",r),id:c,onScroll:this._onScroll,role:u,style:X({},S,{},h),tabIndex:f}),b.length>0&&P.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:l,style:X({width:t?"auto":y,height:w,maxWidth:y,maxHeight:w,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,r=e.columnCount,i=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:r,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(i){if(!i.hasFixedHeight()){for(var O=T;O<=I;O++)if(!i.has(O,0)){R=0,z=r-1;break}}if(!i.hasFixedWidth()){for(var P=R;P<=z;P++)if(!i.has(0,P)){T=0,I=d-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:R,columnStopIndex:z,deferredMeasurementCache:i,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=R,this._columnStopIndex=z,this._rowStartIndex=T,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Z(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=q(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,r=e.totalColumnsWidth,i=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:i,scrollLeft:o,scrollTop:n,scrollWidth:r})},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,r=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:n});r&&(r.needToResetStyleCache=!1,this.setState(r))}},{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 r=this._columnStartIndex;r<=this._columnStopIndex;r++){var i="".concat(n,"-").concat(r);this._styleCache[i]=e[i],o&&(this._cellCache[i]=t[i])}}},{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,r,i={};0===e.columnCount&&0!==o.scrollLeft||0===e.rowCount&&0!==o.scrollTop?(i.scrollLeft=0,i.scrollTop=0):(e.scrollLeft!==o.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==o.scrollTop&&e.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=o.instanceProps;return i.needToResetStyleCache=!1,(e.columnWidth!==l.prevColumnWidth||e.rowHeight!==l.prevRowHeight)&&(i.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(i,{isScrolling:!1}),D({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)}}),D({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(){r=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,i.instanceProps=l,X({},i,{},n,{},r)}},{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,r={scrollPositionChangeReason:Y.REQUESTED};return("number"==typeof o&&o>=0&&(r.scrollDirectionHorizontal=o>t.scrollLeft?1:-1,r.scrollLeft=o),"number"==typeof n&&n>=0&&(r.scrollDirectionVertical=n>t.scrollTop?1:-1,r.scrollTop=n),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop)?r:{}}},{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,r=e.scrollToAlignment,i=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:r,containerSize:l-u,currentOffset:s,targetIndex:i<0?c:Math.min(c,i)})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,o){var n=o.scrollLeft,r=t._getCalculatedScrollLeft(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:r,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var o=e.height,n=e.rowCount,r=e.scrollToAlignment,i=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:r,containerSize:o-u,currentOffset:s,targetIndex:i<0?c:Math.min(c,i)})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,o){var n=o.scrollTop,r=t._getCalculatedScrollTop(e,o);return"number"==typeof r&&r>=0&&n!==r?t._getScrollToPositionStateUpdate({prevState:o,scrollLeft:-1,scrollTop:r}):{}}}]),t}(P.PureComponent),f(g,"propTypes",null),v);f(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,r=e.columnStartIndex,i=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=r;x<=i;x++){var b=n.getSizeAndPositionOfCell(x),R=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:b.offset+s,position:"absolute",top:C.offset+m,width:b.size},p[z]=T);var I={columnIndex:x,isScrolling:a,isVisible:R,key:z,parent:d,rowIndex:w,style:T},O=void 0;(c||a)&&!s&&!m?(t[z]||(t[z]=o(I)),O=t[z]):O=o(I),null!=O&&!1!==O&&_.push(O)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:B,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,r=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,r),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),L(Q);var J=Q;function ee(e){var t=e.cellCount,o=e.overscanCellsCount,n=e.scrollDirection,r=e.startIndex,i=e.stopIndex;return(o=Math.max(1,o),1===n)?{overscanStartIndex:Math.max(0,r-1),overscanStopIndex:Math.min(t-1,i+o)}:{overscanStartIndex:Math.max(0,r-o),overscanStopIndex:Math.min(t-1,i+1)}}function et(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 eo=(S=_=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;le.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],r=t.createElement("style");r.id="detectElementResize",r.type="text/css",null!=e&&r.setAttribute("nonce",e),r.styleSheet?r.styleSheet.cssText=o:r.appendChild(t.createTextNode(o)),n.appendChild(r)}};return{addResizeListener:function(e,t){if(r)e.attachEvent("onresize",t);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=n.getComputedStyle(e);i&&"static"==i.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(r)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 er(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}f(eo,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),L(eo);var ei=(w=y=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l=0){var d=t.getScrollPositionForCell({align:r,cellIndex:i,height:n,scrollLeft:a,scrollTop:c,width:l});(d.scrollLeft!==a||d.scrollTop!==c)&&o._setScrollPosition(d)}}),f(a(o),"_onScroll",function(e){if(e.target===o._scrollingContainer){o._enablePointerEventsAfterDelay();var t=o.props,n=t.cellLayoutManager,r=t.height,i=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-r+s,e.target.scrollTop));if(o.state.scrollLeft!==u||o.state.scrollTop!==h){var f=e.cancelable?ec.OBSERVED:ec.REQUESTED;o.state.isScrolling||i(!0),o.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:f,scrollTop:h})}o._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}}),o._scrollbarSize=B(),void 0===o._scrollbarSize?(o._scrollbarSizeMeasured=!1,o._scrollbarSize=0):o._scrollbarSizeMeasured=!0,o}return h(t,e),s(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,r=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=B(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(o>=0||r>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:r}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),l=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:r||0,totalHeight:l,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var o=this.props,n=o.height,r=o.scrollToAlignment,i=o.scrollToCell,l=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===ec.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||r!==e.scrollToAlignment||i!==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,r=e.className,i=e.height,l=e.horizontalOverscanSize,s=e.id,a=e.noContentRenderer,c=e.style,d=e.verticalOverscanSize,u=e.width,h=this.state,p=h.isScrolling,m=h.scrollLeft,g=h.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var v=n.getTotalSize(),_=v.height,S=v.width,y=Math.max(0,m-l),w=Math.max(0,g-d),C=Math.min(S,m+u+l),x=Math.min(_,g+i+d),b=i>0&&u>0?n.cellRenderers({height:x-w,isScrolling:p,width:C-y,x:y,y:w}):[],R={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:u,willChange:"transform"},z=_>i?this._scrollbarSize:0,T=S>u?this._scrollbarSize:0;return R.overflowX=S+z<=u?"hidden":"auto",R.overflowY=_+T<=i?"hidden":"auto",P.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:A("ReactVirtualized__Collection",r),id:s,onScroll:this._onScroll,role:"grid",style:function(e){for(var t=1;t0&&P.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:_,maxHeight:_,maxWidth:S,overflow:"hidden",pointerEvents:p?"none":"",width:S}},b),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,r=e.totalHeight,i=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:r,scrollLeft:o,scrollTop:n,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,o=e.scrollTop,n={scrollPositionChangeReason:ec.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:ec.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:ec.REQUESTED}:null}}]),t}(P.PureComponent);f(ed,"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}),ed.propTypes={},L(ed);var eu=function(){function e(t){var o=t.height,r=t.width,i=t.x,l=t.y;n(this,e),this.height=o,this.width=r,this.x=i,this.y=l,this._indexMap={},this._indices=[]}return s(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}(),eh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;n(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return s(e,[{key:"getCellIndices",value:function(e){var t=e.height,o=e.width,n=e.x,r=e.y,i={};return this.getSections({height:t,width:o,x:n,y:r}).forEach(function(e){return e.getCellIndices().forEach(function(e){i[e]=e})}),Object.keys(i).map(function(e){return i[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,r=e.y,i=Math.floor(n/this._sectionSize),l=Math.floor((n+o-1)/this._sectionSize),s=Math.floor(r/this._sectionSize),a=Math.floor((r+t-1)/this._sectionSize),c=[],d=i;d<=l;d++)for(var u=s;u<=a;u++){var h="".concat(d,".").concat(u);this._sections[h]||(this._sections[h]=new eu({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 ef(e){var t=e.align,o=e.cellOffset,n=e.cellSize,r=e.containerSize,i=e.currentOffset,l=o-r+n;switch(void 0===t?"auto":t){case"start":return o;case"end":return l;case"center":return o-(r-n)/2;default:return Math.max(l,Math.min(o,i))}}var ep=function(e){function t(e,o){var r;return n(this,t),(r=c(this,d(t).call(this,e,o)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(a(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(a(r)),r}return h(t,e),s(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=G({},this.props);return P.createElement(ed,G({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,r=[],i=new eh(n),l=0,s=0,a=0;a=0&&oe.length)&&(t=e.length);for(var o=0,n=Array(t);or||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,r=this,i=this.props,l=i.isRowLoaded,s=i.minimumBatchSize,a=i.rowCount,c=i.threshold,d=function(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,n=e.rowCount,r=e.startIndex,i=e.stopIndex,l=[],s=null,a=null,c=r;c<=i;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:l,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-c),stopIndex:Math.min(a-1,t+c)}),u=(n=[]).concat.apply(n,function(e){if(Array.isArray(e))return em(e)}(o=d.map(function(e){return[e.startIndex,e.stopIndex]}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||eg(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(P.PureComponent);f(ev,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),ev.propTypes={};var e_=(R=b=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&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,r=e.width,i=A("ReactVirtualized__List",t);return P.createElement(J,G({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:r,columnCount:1,noContentRenderer:o,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}]),t}(P.PureComponent),f(b,"propTypes",null),R);f(e_,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:ee,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var eS={ge:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>=0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>=n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},gt:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=o+1;t<=o;){var l=t+o>>>1;r(e[l],n)>0?(i=l,o=l-1):t=l+1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=o+1;t<=o;){var i=t+o>>>1;e[i]>n?(r=i,o=i-1):t=i+1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},lt:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(var i=t-1;t<=o;){var l=t+o>>>1;0>r(e[l],n)?(i=l,t=l+1):o=l-1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=t-1;t<=o;){var i=t+o>>>1;e[i]>>1;0>=r(e[l],n)?(i=l,t=l+1):o=l-1}return i}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(var r=t-1;t<=o;){var i=t+o>>>1;e[i]<=n?(r=i,t=i+1):o=i-1}return r}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)},eq:function(e,t,o,n,r){return"function"==typeof o?function(e,t,o,n,r){for(;t<=o;){var i=t+o>>>1,l=r(e[i],n);if(0===l)return i;l<=0?t=i+1:o=i-1}return -1}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t,o):function(e,t,o,n){for(;t<=o;){var r=t+o>>>1,i=e[r];if(i===n)return r;i<=n?t=r+1:o=r-1}return -1}(e,void 0===o?0:0|o,void 0===n?e.length-1:0|n,t)}};function ey(e,t,o,n,r){this.mid=e,this.left=t,this.right=o,this.leftPoints=n,this.rightPoints=r,this.count=(t?t.count:0)+(o?o.count:0)+n.length}var ew=ey.prototype;function eC(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 ex(e,t){var o=ek(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 eb(e,t){var o=e.intervals([]);o.push(t),ex(e,o)}function eR(e,t){var o=e.intervals([]),n=o.indexOf(t);return n<0?0:(o.splice(n,1),ex(e,o),1)}function ez(e,t,o){for(var n=0;n=0&&e[n][1]>=t;--n){var r=o(e[n]);if(r)return r}}function eI(e,t){for(var o=0;o>1],r=[],i=[],l=[],o=0;o3*(t+1)?eb(this,e):this.left.insert(e):this.left=ek([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?eb(this,e):this.right.insert(e):this.right=ek([e]);else{var o=eS.ge(this.leftPoints,e,eP),n=eS.ge(this.rightPoints,e,eM);this.leftPoints.splice(o,0,e),this.rightPoints.splice(n,0,e)}},ew.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1))return eR(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 eR(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,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var i=this.left,o=this.right;n.count-=r.count,n.right=r.left,r.left=i,r.right=o}eC(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?eC(this,this.left):eC(this,this.right);return 1}for(var i=eS.ge(this.leftPoints,e,eP);ithis.mid))return eI(this.leftPoints,t);if(this.right){var o=this.right.queryPoint(e,t);if(o)return o}return eT(this.rightPoints,e,t)},ew.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?eT(this.rightPoints,e,o):eI(this.leftPoints,o)};var eL=eE.prototype;eL.insert=function(e){this.root?this.root.insert(e):this.root=new ey(e[0],null,null,[e],[e])},eL.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},eL.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},eL.queryInterval=function(e,t,o){if(e<=t&&this.root)return this.root.queryInterval(e,t,o)},Object.defineProperty(eL,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(eL,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var eG=function(){function e(){var t;n(this,e),f(this,"_columnSizeMap",{}),f(this,"_intervalTree",new eE(t&&0!==t.length?ek(t):null)),f(this,"_leftMap",{})}return s(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=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,i,l,s=[],a=!0,c=!1;try{if(i=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;a=!1}else for(;!(a=(n=i.call(o)).done)&&(s.push(n.value),s.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{if(!a&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(c)throw r}}return s}}(e,3)||eg(e,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],i=(t[1],t[2]);return o(i,n._leftMap[i],r)})}},{key:"setPosition",value:function(e,t,o,n){this._intervalTree.insert([o,o+n,e]),this._leftMap[e]=t;var r=this._columnSizeMap,i=r[t];void 0===i?r[t]=o+n:r[t]=Math.max(i,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 eA(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 eD=(T=z=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),f(this,"_cellMeasurerCache",void 0),f(this,"_columnIndexOffset",void 0),f(this,"_rowIndexOffset",void 0),f(this,"columnWidth",function(e){var o=e.index;t._cellMeasurerCache.columnWidth({index:o+t._columnIndexOffset})}),f(this,"rowHeight",function(e){var o=e.index;t._cellMeasurerCache.rowHeight({index:o+t._rowIndexOffset})});var r=o.cellMeasurerCache,i=o.columnIndexOffset,l=o.rowIndexOffset;this._cellMeasurerCache=r,this._columnIndexOffset=void 0===i?0:i,this._rowIndexOffset=void 0===l?0:l}return s(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 ej(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 eF(e){for(var t=1;t0?new eH({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,r._deferredMeasurementCacheBottomRightGrid=l>0||s>0?new eH({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:s}):i,r._deferredMeasurementCacheTopRightGrid=l>0?new eH({cellMeasurerCache:i,columnIndexOffset:l,rowIndexOffset:0}):i),r}return h(t,e),s(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,r=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,r):r}},{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,r=void 0===n?0:n,i=this.props,l=i.fixedColumnCount,s=i.fixedRowCount,a=Math.max(0,o-l),c=Math.max(0,r-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:r}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:a,rowIndex:r}),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),r=(e.scrollTop,e.scrollToRow),i=W(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 P.createElement("div",{style:this._containerOuterStyle},P.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(eF({},i,{onScroll:t,scrollLeft:s}))),P.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(eF({},i,{onScroll:t,scrollTop:a})),this._renderBottomRightGrid(eF({},i,{onScroll:t,onSectionRendered:o,scrollLeft:s,scrollToColumn:n,scrollToRow:r,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,r=0;r=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(P.PureComponent);function eU(e){var t=e.className,o=e.columns,n=e.style;return P.createElement("div",{className:t,role:"row",style:n},o)}f(eN,"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}),eN.propTypes={},L(eN),function(e){function t(e,o){var r;return n(this,t),(r=c(this,d(t).call(this,e,o))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(a(r)),r}return h(t,e),s(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,o=t.clientHeight,n=t.clientWidth,r=t.scrollHeight,i=t.scrollLeft,l=t.scrollTop,s=t.scrollWidth;return e({clientHeight:o,clientWidth:n,onScroll:this._onScroll,scrollHeight:r,scrollLeft:i,scrollTop:l,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,o=e.clientWidth,n=e.scrollHeight,r=e.scrollLeft,i=e.scrollTop,l=e.scrollWidth;this.setState({clientHeight:t,clientWidth:o,scrollHeight:n,scrollLeft:r,scrollTop:i,scrollWidth:l})}}]),t}(P.PureComponent).propTypes={},eU.propTypes=null;var eB={ASC:"ASC",DESC:"DESC"};function e$(e){var t=e.sortDirection,o=A("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===eB.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===eB.DESC});return P.createElement("svg",{className:o,width:18,height:18,viewBox:"0 0 24 24"},t===eB.ASC?P.createElement("path",{d:"M7 14l5-5 5 5z"}):P.createElement("path",{d:"M7 10l5 5 5-5z"}),P.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function eV(e){var t=e.dataKey,o=e.label,n=e.sortBy,r=e.sortDirection,i=[P.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof o?o:null},o)];return n===t&&i.push(P.createElement(e$,{key:"SortIndicator",sortDirection:r})),i}function eZ(e){var t=e.className,o=e.columns,n=e.index,r=e.key,i=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(i||l||s||a||c)&&(h["aria-label"]="row",h.tabIndex=0,i&&(h.onClick=function(e){return i({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})})),P.createElement("div",G({},h,{className:t,key:r,role:"row",style:u}),o)}e$.propTypes={},eV.propTypes=null,eZ.propTypes=null;var eq=function(e){function t(){return n(this,t),c(this,d(t).apply(this,arguments))}return h(t,e),t}(P.Component);function eK(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 eX(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,el.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,r=t.disableHeader,i=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,_=r?c:c-s,S="function"==typeof h?h({index:-1}):h,y="function"==typeof f?f({index:-1}):f;return this._cachedColumnStyles=[],P.Children.toArray(o).forEach(function(t,o){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[o]=eX({overflow:"hidden"},n)}),P.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":P.Children.toArray(o).length,"aria-rowcount":this.props.rowCount,className:A("ReactVirtualized__Table",n),id:d,role:"grid",style:m},!r&&a({className:A("ReactVirtualized__Table__headerRow",S),columns:this._getHeaderColumns(),style:eX({height:s,overflow:"hidden",paddingRight:v,width:g},y)}),P.createElement(J,G({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:A("ReactVirtualized__Table__Grid",i),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:eX({},l,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,o=e.columnIndex,n=e.isScrolling,r=e.parent,i=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:i}),columnData:h,columnIndex:o,dataKey:f,isScrolling:n,parent:r,rowData:i,rowIndex:l}),g=this._cachedColumnStyles[o],v="string"==typeof m?m:null;return P.createElement("div",{"aria-colindex":o+1,"aria-describedby":p,className:A("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,r,i,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,b=A("ReactVirtualized__Table__headerColumn",c,l.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),R=this._getFlexStyleForColumn(l,eX({},d,{},l.props.headerStyle)),z=y({columnData:g,dataKey:v,disableSort:S,label:C,sortBy:f,sortDirection:p});if(x||u){var T=f!==v?_:p===eB.DESC?eB.ASC:eB.DESC,I=function(e){x&&h({defaultSortDirection:_,event:e,sortBy:v,sortDirection:T}),u&&u({columnData:g,dataKey:v,event:e})};i=l.props["aria-label"]||C||v,r="none",n=0,t=I,o=function(e){("Enter"===e.key||" "===e.key)&&I(e)}}return f===v&&(r=p===eB.ASC?"ascending":"descending"),P.createElement("div",{"aria-label":i,"aria-sort":r,className:b,id:w,key:"Header-Col"+s,onClick:t,onKeyDown:o,role:"columnheader",style:R,tabIndex:n},z)}},{key:"_createRow",value:function(e){var t=this,o=e.rowIndex,n=e.isScrolling,r=e.key,i=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=P.Children.toArray(a).map(function(e,r){return t._createColumn({column:e,columnIndex:r,isScrolling:n,parent:i,rowData:w,rowIndex:o,scrollbarWidth:_})}),x=A("ReactVirtualized__Table__row",S),b=eX({},l,{height:this._getRowHeight(o),overflow:"hidden",paddingRight:_},y);return g({className:x,columns:C,index:o,isScrolling:n,key:r,onRowClick:c,onRowDoubleClick:d,onRowRightClick:u,onRowMouseOver:h,onRowMouseOut:f,rowData:w,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=eX({},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?[]:P.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,r=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:o,startIndex:n,stopIndex:r})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(P.PureComponent);f(eY,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:ee,overscanRowCount:10,rowRenderer:eZ,headerRowRenderer:eU,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),eY.propTypes={};var eQ=[],eJ=null,e0=null;function e1(){e0&&(e0=null,document.body&&null!=eJ&&(document.body.style.pointerEvents=eJ),eJ=null)}function e3(){e1(),eQ.forEach(function(e){return e.__resetIsScrolling()})}function e2(e){var t;e.currentTarget===window&&null==eJ&&document.body&&(eJ=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),e0&&Z(e0),t=0,eQ.forEach(function(e){t=Math.max(t,e.props.scrollingResetTimeInterval)}),e0=q(e3,t),eQ.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function e4(e,t){eQ.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",e2),eQ.push(e)}function e6(e,t){!(eQ=eQ.filter(function(t){return t!==e})).length&&(t.removeEventListener("scroll",e2),e0&&(Z(e0),e1()))}var e5=function(e){return e===window},e9=function(e){return e.getBoundingClientRect()};function e8(e,t){if(!e)return{height:t.serverHeight,width:t.serverWidth};if(!e5(e))return e9(e);var o=window,n=o.innerHeight,r=o.innerWidth;return{height:"number"==typeof n?n:0,width:"number"==typeof r?r:0}}function e7(e){return e5(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 te(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 tt=function(){return"undefined"!=typeof window?window:void 0},to=(O=I=function(e){function t(){n(this,t);for(var e,o,r=arguments.length,i=Array(r),l=0;l0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,o=this.state,n=o.height,r=o.width,i=this._child||el.findDOMNode(this);if(i instanceof Element&&e){var l=function(e,t){if(e5(t)&&document.documentElement){var o=document.documentElement,n=e9(e),r=e9(o);return{top:n.top-r.top,left:n.left-r.left}}var i=e7(t),l=e9(e),s=e9(t);return{top:l.top+i.top-s.top,left:l.left+i.left-s.left}}(i,e);this._positionFromTop=l.top,this._positionFromLeft=l.left}var s=e8(e,this.props);(n!==s.height||r!==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=en(),this.updatePosition(e),e&&(e4(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),e6(this,n),e4(this,o),this._unregisterResizeListener(n),this._registerResizeListener(o))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(e6(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,r=t.scrollLeft,i=t.height,l=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:o,scrollLeft:r,scrollTop:n,width:l})}}]),t}(P.PureComponent),f(I,"propTypes",null),O);f(to,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:tt(),serverHeight:0,serverWidth:0})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/242-78fac58777b2bfcd.js b/dbgpt/app/static/web/_next/static/chunks/242-dbb68b23f203ef74.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/242-78fac58777b2bfcd.js rename to dbgpt/app/static/web/_next/static/chunks/242-dbb68b23f203ef74.js diff --git a/dbgpt/app/static/web/_next/static/chunks/245-e035ffa3e6f9184e.js b/dbgpt/app/static/web/_next/static/chunks/245-71283dfb2635f16f.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/245-e035ffa3e6f9184e.js rename to dbgpt/app/static/web/_next/static/chunks/245-71283dfb2635f16f.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2500-b968fce58417f277.js b/dbgpt/app/static/web/_next/static/chunks/2500-d84cf8221c6a1a05.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2500-b968fce58417f277.js rename to dbgpt/app/static/web/_next/static/chunks/2500-d84cf8221c6a1a05.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2524-6688060ea7aa83a3.js b/dbgpt/app/static/web/_next/static/chunks/2524-c83a156de2b77b49.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2524-6688060ea7aa83a3.js rename to dbgpt/app/static/web/_next/static/chunks/2524-c83a156de2b77b49.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2611-243c0c2c920951e0.js b/dbgpt/app/static/web/_next/static/chunks/2611-3472a5f174173631.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2611-243c0c2c920951e0.js rename to dbgpt/app/static/web/_next/static/chunks/2611-3472a5f174173631.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2648-312da8c51dc12c7d.js b/dbgpt/app/static/web/_next/static/chunks/2648-59de234a807d90ae.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2648-312da8c51dc12c7d.js rename to dbgpt/app/static/web/_next/static/chunks/2648-59de234a807d90ae.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2783-afe76fb57ff0a4da.js b/dbgpt/app/static/web/_next/static/chunks/2783-1c3fc6dac7c21452.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2783-afe76fb57ff0a4da.js rename to dbgpt/app/static/web/_next/static/chunks/2783-1c3fc6dac7c21452.js diff --git a/dbgpt/app/static/web/_next/static/chunks/2913-05d24ba2d215bb30.js b/dbgpt/app/static/web/_next/static/chunks/2913-9eb18866ddd0927d.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/2913-05d24ba2d215bb30.js rename to dbgpt/app/static/web/_next/static/chunks/2913-9eb18866ddd0927d.js diff --git a/dbgpt/app/static/web/_next/static/chunks/3205-24ab90342873962a.js b/dbgpt/app/static/web/_next/static/chunks/3205-24ab90342873962a.js deleted file mode 100644 index af39e1d57..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/3205-24ab90342873962a.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3205],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},45605:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),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(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},88484:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),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(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},98065: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}})},86738:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(67294),o=n(29950),a=n(93967),l=n.n(a),i=n(21770),c=n(98423),s=n(53124),u=n(55241),m=n(86743),f=n(81643),p=n(14726),d=n(33671),g=n(10110),v=n(24457),y=n(66330),b=n(83559);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},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),l=n(50344),i=n(98065),c=n(53124),s=n(4173);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},55054:function(e,t,n){n.d(t,{Z:function(){return E}});var r=n(67294),o=n(57838),a=n(96159),l=n(93967),i=n.n(l),c=n(64217),s=n(53124),u=n(87564),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(14747),p=n(83559),d=n(87893);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},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return d}});var r=n(47648),o=n(93590);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}}]}},49867: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}})},66309:function(e,t,n){n.d(t,{Z:function(){return I}});var r=n(67294),o=n(93967),a=n.n(o),l=n(98423),i=n(98787),c=n(69760),s=n(96159),u=n(45353),m=n(53124),f=n(47648),p=n(10274),d=n(14747),g=n(87893),v=n(83559);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(98719);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},64894:function(e,t,n){var r=n(83963),o=n(67294),a=n(32857),l=n(30672),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},79370:function(e,t,n){n.d(t,{G:function(){return l}});var r=n(98924),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)}},36459: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/3266.0c0e0dc068ebd4e8.js b/dbgpt/app/static/web/_next/static/chunks/3266.0c0e0dc068ebd4e8.js deleted file mode 100644 index 2082cc241..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/3266.0c0e0dc068ebd4e8.js +++ /dev/null @@ -1,4 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3266],{39055:function(e,t){"use strict";t.Z={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"}},27496:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),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(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},41441:function(e,t,r){"use strict";var n=r(87462),o=r(67294),a=r(39055),i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},72868:function(e,t,r){"use strict";r.d(t,{L:function(){return u}});var n=r(67294),o=r(85241),a=r(78031),i=r(51633);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(85893);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})}},53406:function(e,t,r){"use strict";r.d(t,{r:function(){return eL}});var n,o,a,i,l,s=r(87462),u=r(63366),c=r(67294),d=r(22760),f=r(54895),p=r(36425);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 z(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){return k(C(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 L(e){return"html"===z(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||C(e)}function T(e,t){void 0===t&&(t=[]);var r,n=function e(t){return["html","body","#document"].indexOf(z(t))>=0?t.ownerDocument.body:g(t)&&P(t)?t:e(L(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(T(L(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(z(r))>=0&&"static"===R(r).position;)r=D(r);return r&&("html"===z(r)||"body"===z(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=L(e);for(h(r)&&(r=r.host);g(r)&&0>["html","body"].indexOf(z(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",_="popper",V=A.reduce(function(e,t){return e.concat([t+"-"+N,t+"-end"])},[]),W=[].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 z=f.hasOwnProperty("x"),I=f.hasOwnProperty("y"),P=E,O="top",L=window;if(g){var T=M(s),D="clientHeight",j="clientWidth";T===v(s)&&"static"!==R(T=C(s)).position&&"absolute"===p&&(D="scrollHeight",j="scrollWidth"),("top"===c||(c===E||c===B)&&"end"===d)&&(O=$,k-=(b&&T===L&&L.visualViewport?L.visualViewport.height:T[D])-u.height,k*=m?1:-1),(c===E||("top"===c||c===$)&&"end"===d)&&(P=B,S-=(b&&T===L&&L.visualViewport?L.visualViewport.width:T[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]=z?"0":"",l.transform=1>=(L.devicePixelRatio||1)?"translate("+S+"px, "+k+"px)":"translate3d("+S+"px, "+k+"px, 0)",l)):Object.assign({},A,((i={})[O]=I?k+"px":"",i[P]=z?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=C(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=C(e),i=C(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?_: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===_?"reference":_:S],E=(r=m(D)?D:D.contextElement||C(e.elements.popper),l=(i=[].concat("clippingParents"===(n=void 0===v?"clippingParents":v)?(o=T(L(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"!==z(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}),V=ei(Object.assign({},O,N)),W=S===_?V:j,F={top:E.top-W.top+P.top,bottom:W.bottom-E.bottom+P.bottom,left:E.left-W.left+P.left,right:W.right-E.right+P.right},J=e.modifiersData.offset;if(S===_&&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)&&z(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)&&z(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=W.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)?W:f,0===(b=(h=(g=X(o))?s?V:V.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],z=0;z=0,O=P?"width":"height",L=ed(t,{placement:C,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),T=P?R?B:E:R?$:"top";y[O]>S[O]&&(T=er(T));var D=er(T),M=[];if(a&&M.push(L[I]<=0),l&&M.push(L[T]<=0,L[D]<=0),M.every(function(e){return e})){w=C,k=!1;break}Z.set(C,M)}if(k)for(var H=v?3:1,_=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"!==_(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,z="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,C="number"==typeof z?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(Z){if(void 0===o||o){var P,L="y"===y?"top":E,T="y"===y?$:B,D="y"===y?"height":"width",j=Z[y],A=j+v[L],H=j-v[T],_=d?-w[D]/2:0,V=g===N?k[D]:w[D],W=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[L],Y=q[T],Q=ef(0,k[D],J[D]),ee=h?k[D]/2-_-Q-U-C.mainAxis:V-Q-U-C.mainAxis,et=h?-k[D]/2+_+Q+Y+C.mainAxis:W+Q+Y+C.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+C.altAxis,eZ=ex?em+k[eg]+w[eg]-ey-C.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)?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,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=C(t),f=k(b,c,r),p={scrollLeft:0,scrollTop:0},m={x:0,y:0},(n||!n&&!r)&&(("body"!==z(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(8027);function eZ(e){return(0,eS.ZP)("MuiPopper",e)}(0,r(1977).Z)("MuiPopper",["root"]);var ek=r(7293);let ew=c.createContext({disableDefaultClasses:!1}),ez=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],eC=["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,ez),S=c.useRef(null),Z=(0,d.Z)(S,t),k=c.useRef(null),w=(0,d.Z)(k,g),z=c.useRef(w);(0,f.Z)(()=>{z.current=w},[w]),c.useImperativeHandle(g,()=>k.current,[]);let C=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(C),[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:C},m,{modifiers:t}));return z.current(r),()=>{r.destroy(),z.current(null)}},[P,i,l,p,m,C]);let L={placement:I};null!==x&&(L.TransitionProps=x);let T=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:T.root});return(0,ex.jsx)(D,(0,s.Z)({},M,{children:"function"==typeof o?o(L):o}))}),eL=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,eC),[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 z=!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:z},b),TransitionProps:x?{in:v,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0,children:o}))})})},70758:function(e,t,r){"use strict";r.d(t,{U:function(){return s}});var n=r(87462),o=r(67294),a=r(11136),i=r(22760),l=r(30437);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)},z=e=>t=>{var r;b(t),!1===g.current&&S(!1),null==(r=e.onBlur)||r.call(e,t)},C=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()))},L=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:"")},[]),D=(0,i.Z)(T,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:z(r),onClick:R(r),onFocus:C(r),onKeyDown:O(r),onKeyUp:L(r),onMouseDown:P(r),onMouseLeave:w(r),ref:D});return delete o.onFocusVisible,o},focusVisible:y,setFocusVisible:S,active:v,rootRef:D}}},85241:function(e,t,r){"use strict";r.d(t,{D:function(){return o}});var n=r(67294);let o=n.createContext(null)},51633: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"}},26558:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(67294);let o=n.createContext(null)},22644: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"}},7333:function(e,t,r){"use strict";r.d(t,{R$:function(){return l},Rl:function(){return a}});var n=r(87462),o=r(22644);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}}},96592:function(e,t,r){"use strict";r.d(t,{s:function(){return x}});var n=r(87462),o=r(67294),a=r(22760),i=r(22644),l=r(7333);let s="select:change-selection",u="select:change-highlight";var c=r(78031),d=r(6414);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:z,onStateChange:C=v,items:I,itemComparer:R=m,getItemAsString:P=h,onChange:O,onHighlightChange:L,onItemsChange:T,orientation:D="vertical",pageSize:M=5,reducerActionContext:$=p,selectionMode:B="single",stateReducer:E}=e,j=o.useRef(null),A=(0,a.Z)(z,j),N=o.useCallback((e,t,r)=>{if(null==L||L(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,L,y]),H=o.useMemo(()=>({highlightedValue:R,selectedValues:(e,t)=>(0,d.H)(e,t,R)}),[R]),_=o.useCallback((e,t,r,n,o)=>{switch(null==C||C(e,t,r,n,o),t){case"highlightedValue":N(e,r,n);break;case"selectedValues":null==O||O(e,r,n)}},[N,O,C]),V=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]),W=S(),F=null!=E?E:l.R$,J=o.useMemo(()=>(0,n.Z)({},$,V),[$,V]),[q,U]=(0,c.r)({reducer:F,actionContext:J,initialState:W,controlledProps:t,stateComparers:H,onStateChange:_}),{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==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(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}}},43069:function(e,t,r){"use strict";r.d(t,{J:function(){return u}});var n=r(87462),o=r(67294),a=r(22760),i=r(54895),l=r(22644),s=r(26558);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}}},6414: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}})},2900:function(e,t,r){"use strict";r.d(t,{f:function(){return o}});var n=r(87462);function o(e,t){return function(r={}){let o=(0,n.Z)({},r,e(r)),a=(0,n.Z)({},o,t(o));return a}}},12247:function(e,t,r){"use strict";r.d(t,{Y:function(){return a},s:function(){return o}});var n=r(67294);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"},14072:function(e,t,r){"use strict";r.d(t,{B:function(){return i}});var n=r(67294),o=r(54895),a=r(12247);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}}},78031:function(e,t,r){"use strict";r.d(t,{r:function(){return u}});var n=r(87462),o=r(67294);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]}},7293:function(e,t,r){"use strict";r.d(t,{y:function(){return c}});var n=r(87462),o=r(63366),a=r(22760),i=r(10238),l=r(24407),s=r(71276);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}},41132:function(e,t,r){"use strict";var n=r(28549),o=r(85893);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")},59301:function(e,t,r){"use strict";var n=r(28549),o=r(85893);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")},48665:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(87462),o=r(63366),a=r(67294),i=r(90512),l=r(23534),s=r(86523),u=r(39707),c=r(79718),d=r(85893);let f=["className","component"];var p=r(31983),v=r(67299),m=r(2548);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},66478:function(e,t,r){"use strict";r.d(t,{Z:function(){return R},f:function(){return z}});var n=r(63366),o=r(87462),a=r(67294),i=r(70758),l=r(58510),s=r(62908),u=r(22760),c=r(74312),d=r(20407),f=r(2226),p=r(30220),v=r(48699),m=r(26821);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(89996),x=r(85893);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})}),z=({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"}})]},C=(0,c.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(z),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:z=!1,startDecorator:I,endDecorator:R,loading:P=!1,loadingPosition:O="center",loadingIndicator:L,disabled:T,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),_=null!=(r=e.disabled||e.loading)?r:E.disabled||T||P,V=a.useRef(null),W=(0,u.Z)(V,t),{focusVisible:F,setFocusVisible:J,getRootProps:q}=(0,i.U)((0,o.Z)({},l,{disabled:_,rootRef:W})),U=null!=L?L:(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=V.current)||e.focus()}}),[J]);let G=(0,o.Z)({},l,{color:H,fullWidth:z,variant:j,size:A,focusVisible:F,loading:P,loadingPosition:O,disabled:_}),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:C,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},89996:function(e,t,r){"use strict";var n=r(67294);let o=n.createContext({});t.Z=o},48699:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(87462),o=r(63366),a=r(67294),i=r(90512),l=r(62908),s=r(58510),u=r(70917),c=r(74312),d=r(20407),f=r(2226),p=r(30220),v=r(26821);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(85893);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)})}),z=(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))"}),C=(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}),L=Z(O),T=(0,n.Z)({},k,{component:b,slots:x,slotProps:S}),[D,M]=(0,p.Z)("root",{ref:t,className:(0,i.Z)(L.root,l),elementType:w,externalForwardedProps:T,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:L.svg,elementType:z,externalForwardedProps:T,ownerState:O}),[E,j]=(0,p.Z)("track",{className:L.track,elementType:C,externalForwardedProps:T,ownerState:O}),[A,N]=(0,p.Z)("progress",{className:L.progress,elementType:I,externalForwardedProps:T,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},76043:function(e,t,r){"use strict";var n=r(67294);let o=n.createContext(void 0);t.Z=o},26047:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=r(87462),o=r(63366),a=r(67294),i=r(90512),l=r(16485),s=r(8027),u=r(58510),c=r(86154);let d=(0,c.ZP)();var f=r(44065),p=r(79718),v=r(39707),m=r(88647);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},z=({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},C=({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},L=(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 D=r(85893);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(74312),A=r(20407);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)}`,...T(n),...O(i),...r?L(o,t.breakpoints.keys[0]):[]]};return(0,u.Z)(l,e=>(0,s.ZP)(c,e),{})},m=t(z,I,C,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:z,children:C,columns:I=12,container:R=!1,component:P="div",direction:O="row",wrap:L="wrap",spacing:T=0,rowSpacing:$=T,columnSpacing:B=T,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={};Object.entries(A).forEach(([e,t])=>{void 0!==S.breakpoints.values[e]?H[e]=t:void 0!==S.breakpoints.values[e.replace("Offset","")]?_[e.replace("Offset","")]=t:V[e]=t});let W=null!=(s=e.columns)?s:j?void 0:I,F=null!=(u=e.spacing)?u:j?void 0:T,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:W,container:R,direction:O,wrap:L,spacing:F,rowSpacing:J,columnSpacing:q,gridSize:H,gridOffset:_,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,z)},V,{children:a.Children.map(C,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},14553:function(e,t,r){"use strict";r.d(t,{ZP:function(){return k}});var n=r(63366),o=r(87462),a=r(67294),i=r(62908),l=r(22760),s=r(70758),u=r(58510),c=r(74312),d=r(20407),f=r(2226),p=r(30220),v=r(26821);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(89996),h=r(85893);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:z={}}=i,C=(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),L=O(e.color,I.color||m),T=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:T,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:L,disabled:T,variant:R,size:P,focusVisible:$,instanceSize:e.size}),A=x(j),N=(0,o.Z)({},C,{component:v,slots:w,slotProps:z}),[H,_]=(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)({},_,{children:u}))});Z.muiName="IconButton";var k=Z},43614:function(e,t,r){"use strict";var n=r(67294);let o=n.createContext(void 0);t.Z=o},50984:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});var n=r(87462);r(67294);var o=r(74312),a=r(58859);r(85893);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})({})},3419:function(e,t,r){"use strict";r.d(t,{Z:function(){return c},M:function(){return u}});var n=r(87462),o=r(67294),a=r(40780);let i=o.createContext(!1),l=o.createContext(!1);var s=r(85893);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})}},40780:function(e,t,r){"use strict";var n=r(67294);let o=n.createContext(!1);t.Z=o},39984:function(e,t,r){"use strict";r.d(t,{r:function(){return s}});var n=r(87462);r(67294);var o=r(74312),a=r(26821);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(85893);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}}))},25359:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(63366),o=r(87462),a=r(67294),i=r(62908),l=r(58510),s=r(22760),u=r(89326),c=r(54895),d=r(22644),f=r(7333);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(85241),m=r(96592),g=r(51633),h=r(12247),b=r(2900);let x={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var y=r(26558),S=r(85893);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(53406),w=r(7293),z=r(50984),C=r(3419),I=r(43614),R=r(74312),P=r(20407),O=r(55907),L=r(2226),T=r(26821);function D(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"],$=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)(z.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)"},C.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:z,disablePortal:R=!1,keepMounted:T=!1,id:D,invertedColors:E=!1,onItemsChange:j,modifiers:A,variant:N="outlined",size:H="md",slots:_={},slotProps:V={}}=i,W=(0,n.Z)(i,M),{getColor:F}=(0,L.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,z=a.useRef(S),{subitems:C,contextValue:I}=(0,h.Y)(),R=a.useMemo(()=>Array.from(C.keys()),[C]),P=a.useCallback(e=>{var t,r;return null==e?null:null!=(t=null==(r=C.get(e))?void 0:r.ref.current)?t:null},[C]),{dispatch:O,getRootProps:L,contextValue:T,state:{highlightedValue:D},rootRef:M}=(0,m.s)({disabledItemsFocusable:!0,focusManagement:"DOM",getItemDomElement:P,getInitialState:()=>({selectedValues:[],highlightedValue:null}),isItemDisabled:e=>{var t;return(null==C||null==(t=C.get(e))?void 0:t.disabled)||!1},items:R,getItemAsString:e=>{var t,r;return(null==(t=C.get(e))?void 0:t.label)||(null==(r=C.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]&&!z.current){var e;null==(e=C.get(R[0]))||null==(e=e.ref)||null==(e=e.current)||e.focus()}},[S,D,C,R]),a.useEffect(()=>{var e,t;null!=(e=d.current)&&e.contains(document.activeElement)&&null!==D&&(null==C||null==(t=C.get(D))||null==(t=t.ref.current)||t.focus())},[D,C]);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:C,highlightedValue:D}),{contextValue:(0,o.Z)({},I,T),dispatch:O,getListboxProps:(e={})=>{let t=(0,b.f)(E,L);return(0,o.Z)({},t(e),{id:y,role:"menu"})},highlightedValue:D,listboxRef:M,menuItems:C,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)({},W,{component:z,slots:_,slotProps:V}),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:T,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)(C.Z,{nested:!0,children:f})})})});return E&&(en=(0,S.jsx)(L.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:z||"ul"}},{children:en})),R?en:(0,S.jsx)(L.ZP.Provider,{value:void 0,children:en})});var j=E},59562:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(63366),o=r(87462),a=r(67294),i=r(22760),l=r(85241),s=r(51633),u=r(70758),c=r(2900),d=r(58510),f=r(62908),p=r(26821);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(20407),g=r(30220),h=r(48699),b=r(66478),x=r(74312),y=r(2226),S=r(89996),Z=r(85893);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,{})},z=(0,x.Z)("button",{name:"JoyMenuButton",slot:"Root",overridesResolver:(e,t)=>t.root})(b.f),C=(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:L,size:T="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||T,{getColor:H}=(0,y.VT)(A),_=H(e.color,j.color||p),V=null!=(r=e.disabled)?r:j.disabled||b||P,{getRootProps:W,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:V}),q=null!=L?L:(0,Z.jsx)(h.Z,(0,o.Z)({},"context"!==_&&{color:_},{thickness:{sm:2,md:3,lg:4}[N]||3})),U=(0,o.Z)({},d,{active:J,color:_,disabled:V,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:z,getSlotProps:W,externalForwardedProps:X,ref:t,ownerState:U,className:G.root}),[Q,ee]=(0,g.Z)("startDecorator",{className:G.startDecorator,elementType:C,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},7203:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=r(87462),o=r(63366),a=r(67294),i=r(62908),l=r(58510),s=r(89326),u=r(22760),c=r(70758),d=r(43069),f=r(51633),p=r(85241),v=r(2900),m=r(14072);function g(e){return`menu-item-${e.size}`}let h={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var b=r(39984),x=r(74312),y=r(20407),S=r(2226),Z=r(55907),k=r(26821);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 z=r(40780);let C=a.createContext("horizontal");var I=r(30220),R=r(85893);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},L=(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(z.Z),{children:l,disabled:b=!1,component:x="li",selected:k=!1,color:w="neutral",orientation:T="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:_,focusVisible:V}=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:z,totalItemCount:C}=(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 L=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:L(e)});function D(e={}){let t=(0,v.f)(T,(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:z,totalItemCount:C,rootRef:O}}({disabled:b,rootRef:t}),W=(0,n.Z)({},r,{component:x,color:N,disabled:_,focusVisible:V,orientation:T,selected:k,row:i,variant:E}),F=O(W),J=(0,n.Z)({},B,{component:x,slots:M,slotProps:$}),[q,U]=(0,I.Z)("root",{ref:t,elementType:L,getSlotProps:H,externalForwardedProps:J,className:F.root,ownerState:W});return(0,R.jsx)(C.Provider,{value:T,children:(0,R.jsx)(q,(0,n.Z)({},U,{children:l}))})});var D=T},57814:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var n=r(87462),o=r(63366),a=r(67294),i=r(58510),l=r(89326),s=r(22760),u=r(43069),c=r(14072),d=r(30220),f=r(39984),p=r(74312),v=r(20407),m=r(2226),g=r(55907),h=r(26821);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(40780),S=r(85893);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}}}),z=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:z="plain",color:C="neutral",slots:I={},slotProps:R={}}=i,P=(0,o.Z)(i,Z),O=a.useContext(y.Z),{variant:L=z,color:T=C}=(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)(L),H=N(e.color,T),_=(0,n.Z)({},i,{disabled:h,selected:E,highlighted:j,index:A,component:f,variant:L,color:H,row:O}),V=k(_),W=(0,n.Z)({},P,{component:f,slots:I,slotProps:R}),[F,J]=(0,d.Z)("root",{ref:t,getSlotProps:B,elementType:w,externalForwardedProps:W,className:V.root,ownerState:_});return(0,S.jsx)(F,(0,n.Z)({},J,{children:p}))});var C=z},99056:function(e,t,r){"use strict";r.d(t,{Z:function(){return el}});var n,o=r(63366),a=r(87462),i=r(67294),l=r(90512),s=r(62908),u=r(22760),c=r(53406),d=r(89326),f=r(54895),p=r(70758);let v={buttonClick:"buttonClick"};var m=r(96592);let g=e=>{let{label:t,value:r}=e;return"string"==typeof t?t:"string"==typeof r?r:String(e)};var h=r(12247),b=r(7333),x=r(22644);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(2900);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 z(e){e.preventDefault()}var C=r(26558),I=r(85893);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)(C.Z.Provider,{value:d,children:r})})}var P=r(58510),O=r(50984),L=r(3419),T=r(43614),D=r(74312),M=r(20407),$=r(30220),B=r(26821);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)`}))}),_=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,z]=(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)({},z,{children:[y?n.props.children:n,v?(0,I.jsx)("title",{children:v}):null]}))});var V=function(e,t){function r(r,n){return(0,I.jsx)(_,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=_.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"),W=r(2226),F=r(58859);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(76043),G=r(55907);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)"},L.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,C,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:_,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)(V,{})),"aria-describedby":ex,"aria-label":ey,"aria-labelledby":eS,id:eZ,name:ek,slots:ew={},slotProps:ez={}}=D,eC=(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,W.VT)(ev),eL=eO(e.color,null!=eI&&eI.error?"danger":null!=(C=null==eI?void 0:eI.color)?C:em),eT=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:e_,disabled:eV,getButtonProps:eW,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:C,multiple:I=!1,name:R,required:P,onChange:O,onHighlightChange:L,onOpenChange:T,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 _=i.useMemo(()=>{if(void 0!==E)return I?E:null==E?[]:[E]},[E,I]),{subitems:V,contextValue:W}=(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}`}])):V,[M,V,H]),J=(0,u.Z)(C,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:_,open:D}),[_,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==L||L(e,null!=t?t:null)},[L]),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: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,W),[eu,W]);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:z}),getOptionMetadata:em,listboxRef:ep,open:ec,options:K,value:r,highlightedOption:ed}}({buttonRef:eB,defaultOpen:N,defaultValue:A,disabled:eR,getSerializedValue:_,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:eV,focusVisible:eH,open:eU,renderValue:eT,value:eG,size:eP,variant:ev,color:eL}),eK=Q(eX),eY=(0,a.Z)({},eC,{slots:ew,slotProps:ez}),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,e5]=(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:eW,ownerState:eX}),[e4,e6]=(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?eL:em),disableColorInversion:!e.disablePortal})}),[e3,e9]=(0,$.Z)("startDecorator",{className:eK.startDecorator,elementType:en,externalForwardedProps:eY,ownerState:eX}),[e8,e7]=(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,...e6.modifiers||[]],[e6.modifiers]),tn=null;return eD&&(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!=(O=D.slots)&&O.listbox)&&{as:c.r,slots:{root:e6.as||"ul"}},{children:(0,I.jsx)(R,{value:e_,children:(0,I.jsx)(G.Yb,{variant:ev,color:em,children:(0,I.jsx)(T.Z.Provider,{value:"select",children:(0,I.jsx)(L.Z,{nested:!0,children:j})})})})})),e6.disablePortal||(tn=(0,I.jsx)(W.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)(e3,(0,a.Z)({},e9,{children:eg})),(0,I.jsx)(e2,(0,a.Z)({},e5,{children:eQ?eT(eQ):F})),eh&&(0,I.jsx)(e8,(0,a.Z)({},e7,{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},3414:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var n=r(63366),o=r(87462),a=r(67294),i=r(90512),l=r(58510),s=r(62908),u=r(54844),c=r(20407),d=r(74312),f=r(58859),p=r(26821);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(2226),g=r(30220),h=r(85893);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),z=(0,o.Z)({},v,{component:s,slots:f,slotProps:p}),[C,I]=(0,g.Z)("root",{ref:t,className:(0,i.Z)(w.root,a),elementType:y,externalForwardedProps:z,ownerState:k}),R=(0,h.jsx)(C,(0,o.Z)({},I));return d?(0,h.jsx)(m.do,{variant:u,children:R}):R});var Z=S},64415:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return G}});var o=r(63366),a=r(87462),i=r(67294),l=r(90512),s=r(62908),u=r(58510),c=r(36425),d=r(11136),f=r(22760),p=r(54895),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(6414);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}%`})}},z=e=>e;function C(){return void 0===n&&(n="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),n}var I=r(28442),R=r(74312),P=r(20407),O=r(2226),L=r(30220),T=r(26821);function D(e){return(0,T.d6)("MuiSlider",e)}let M=(0,T.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(85893);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})]),_=(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"})]),V=(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"}})}),W=(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:T=!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:T,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:ez,trackOffset:eC,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:L,scale:T=z,step:D=1,tabIndex:M,value:$}=e,B=i.useRef(),[E,j]=i.useState(-1),[A,N]=i.useState(-1),[H,_]=i.useState(!1),V=i.useRef(0),[W,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(W),U=q?W.slice().sort(h):[W];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)(L,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(V.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&&V.current>2&&_(!0),J&&!k(r,W)&&J(e,r,n)}),ep=v(e=>{let t=y(e,B);if(_(!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;C()||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,W)&&J(e,t,n)}V.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:C()}),()=>{e.removeEventListener("touchstart",ev,{passive:C()}),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,W)&&J(t,e,r)}V.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":T(u),"aria-valuemin":T(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(eC),ev[ey].leap(eI)),eO=j(ep),eL=(0,a.Z)({},ec,{component:el,slots:es,slotProps:eu}),[eT,eD]=(0,L.Z)("root",{ref:t,className:(0,l.Z)(eO.root,u),elementType:N,externalForwardedProps:eL,getSlotProps:em,ownerState:ep}),[eM,e$]=(0,L.Z)("rail",{className:eO.rail,elementType:H,externalForwardedProps:eL,ownerState:ep}),[eB,eE]=(0,L.Z)("track",{additionalProps:{style:eP},className:eO.track,elementType:_,externalForwardedProps:eL,ownerState:ep}),[ej,eA]=(0,L.Z)("mark",{className:eO.mark,elementType:W,externalForwardedProps:eL,ownerState:ep}),[eN,eH]=(0,L.Z)("markLabel",{className:eO.markLabel,elementType:J,externalForwardedProps:eL,ownerState:ep,additionalProps:{"aria-hidden":!0}}),[e_,eV]=(0,L.Z)("thumb",{className:eO.thumb,elementType:V,externalForwardedProps:eL,getSlotProps:eh,ownerState:ep}),[eW,eF]=(0,L.Z)("input",{className:eO.input,elementType:q,externalForwardedProps:eL,getSlotProps:eg,ownerState:ep}),[eJ,eq]=(0,L.Z)("valueLabel",{className:eO.valueLabel,elementType:F,externalForwardedProps:eL,ownerState:ep});return(0,$.jsxs)(eT,(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!==ez.indexOf(e.value):"normal"===ee&&(eZ?e.value>=ez[0]&&e.value<=ez[ez.length-1]:e.value<=ez[0])||"inverted"===ee&&(eZ?e.value<=ez[0]||e.value>=ez[ez.length-1]:e.value>=ez[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)}),ez.map((e,t)=>{let r=(e-X)*100/(G-X),o=ev[ey].offset(r);return(0,$.jsxs)(e_,(0,a.Z)({"data-index":t},eV,{className:(0,l.Z)(eV.className,ex===t&&eO.active,eS===t&&eO.focusVisible),style:(0,a.Z)({},o,eR(t),eV.style),children:[(0,$.jsx)(eW,(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:ez[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},21694:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});var n=r(63366),o=r(87462),a=r(67294),i=r(62908),l=r(58510),s=r(73935),u=r(22760),c=r(36425);function d(e){let t=(0,c.Z)(e);return t.defaultView||window}var f=r(54895),p=r(85893);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),[z,C]=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)||C(t=>R(t,e))},[I]),O=()=>{let e=I();h(e)||s.flushSync(()=>{C(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:z.outerHeightStyle,overflow:z.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(74312),y=r(20407),S=r(2226),Z=r(30220),k=r(26821);function w(e){return(0,k.d6)("MuiTextarea",e)}let z=(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 C=r(78758);let I=a.createContext(void 0);var R=r(30437),P=r(76043);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"],L=["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,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"}),[`&.${z.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:z,required:L,type:T,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),z=(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 L=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)},T=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,C.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:T(a),onChange:D(a),onFocus:L(a)});return(0,o.Z)({},s,{"aria-invalid":n||void 0,defaultValue:t,ref:z,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:z,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!=L?L: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:z,type:T},rootStateClasses:N,inputStateClasses:H,getRootProps:$,getInputProps:B,focused:E,error:j,disabled:A},M)}(v,z),{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:_="outlined",startDecorator:V,endDecorator:W,minRows:F,maxRows:J,component:q,slots:U={},slotProps:G={}}=m,X=(0,n.Z)(m,L),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)(_),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:_}),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: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:[V&&(0,p.jsx)(eu,(0,o.Z)({},ec,{children:V})),(0,p.jsx)(el,(0,o.Z)({},es)),W&&(0,p.jsx)(ed,(0,o.Z)({},ef,{children:W}))]}))});var j=E},55907:function(e,t,r){"use strict";r.d(t,{Yb:function(){return l},yP:function(){return i}});var n=r(67294),o=r(85893);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})}},28549:function(e,t,r){"use strict";r.d(t,{Z:function(){return Y}});var n=r(87462),o=r(67294),a=r(63366),i=r(90512),l=r(58510),s=r(62908).Z,u=r(44065),c=r(78758),d=r(68027),f=r(44920),p=r(86523),v=r(88647),m=r(2101),g={black:"#000",white:"#fff"},h={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"},b={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"},x={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"},y={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"},S={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"},Z={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"},k={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 w=["mode","contrastThreshold","tonalOffset"],z={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:g.white,default:g.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}},C={text:{primary:g.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:g.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 I(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,m.$n)(e.main,o):"dark"===t&&(e.dark=(0,m._j)(e.main,a)))}let R=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],P={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function L(...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 T=["none",L(0,2,1,-1,0,1,1,0,0,1,3,0),L(0,3,1,-2,0,2,2,0,0,1,5,0),L(0,3,3,-2,0,3,4,0,0,1,8,0),L(0,2,4,-1,0,4,5,0,0,1,10,0),L(0,3,5,-1,0,5,8,0,0,1,14,0),L(0,3,5,-1,0,6,10,0,0,1,18,0),L(0,4,5,-2,0,7,10,1,0,2,16,1),L(0,5,5,-3,0,8,10,1,0,3,14,2),L(0,5,6,-3,0,9,12,1,0,3,16,2),L(0,6,6,-3,0,10,14,1,0,4,18,3),L(0,6,7,-4,0,11,15,1,0,4,20,3),L(0,7,8,-4,0,12,17,2,0,5,22,4),L(0,7,8,-4,0,13,19,2,0,5,24,4),L(0,7,9,-4,0,14,21,2,0,5,26,4),L(0,8,9,-5,0,15,22,2,0,6,28,5),L(0,8,10,-5,0,16,24,2,0,6,30,5),L(0,8,11,-5,0,17,26,2,0,6,32,5),L(0,9,11,-5,0,18,28,2,0,7,34,6),L(0,9,12,-6,0,19,29,2,0,7,36,6),L(0,10,13,-6,0,20,31,3,0,8,38,7),L(0,10,13,-6,0,21,33,3,0,8,40,7),L(0,10,14,-6,0,22,35,3,0,8,42,7),L(0,11,14,-7,0,23,36,3,0,9,44,8),L(0,11,15,-7,0,24,38,3,0,9,46,8)],D=["duration","easing","delay"],M={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)"},$={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function B(e){return`${Math.round(e)}ms`}function E(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var j={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let A=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],N=function(e={}){var t;let{mixins:r={},palette:o={},transitions:i={},typography:l={}}=e,s=(0,a.Z)(e,A);if(e.vars)throw Error((0,c.Z)(18));let u=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:o=.2}=e,i=(0,a.Z)(e,w),l=e.primary||function(e="light"){return"dark"===e?{main:S[200],light:S[50],dark:S[400]}:{main:S[700],light:S[400],dark:S[800]}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:b[200],light:b[50],dark:b[400]}:{main:b[500],light:b[300],dark:b[700]}}(t),u=e.error||function(e="light"){return"dark"===e?{main:x[500],light:x[300],dark:x[700]}:{main:x[700],light:x[400],dark:x[800]}}(t),f=e.info||function(e="light"){return"dark"===e?{main:Z[400],light:Z[300],dark:Z[700]}:{main:Z[700],light:Z[500],dark:Z[900]}}(t),p=e.success||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:k[800],light:k[500],dark:k[900]}}(t),v=e.warning||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:"#ed6c02",light:y[500],dark:y[900]}}(t);function R(e){let t=(0,m.mi)(e,C.text.primary)>=r?C.text.primary:z.text.primary;return t}let P=({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,c.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,c.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return I(e,"light",a,o),I(e,"dark",i,o),e.contrastText||(e.contrastText=R(e.main)),e},O=(0,d.Z)((0,n.Z)({common:(0,n.Z)({},g),mode:t,primary:P({color:l,name:"primary"}),secondary:P({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:u,name:"error"}),warning:P({color:v,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:p,name:"success"}),grey:h,contrastThreshold:r,getContrastText:R,augmentColor:P,tonalOffset:o},{dark:C,light:z}[t]),i);return O}(o),L=(0,v.Z)(e),N=(0,d.Z)(L,{mixins:(t=L.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},r)),palette:u,shadows:T.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:o=O,fontSize:i=14,fontWeightLight:l=300,fontWeightRegular:s=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:f=16,allVariants:p,pxToRem:v}=r,m=(0,a.Z)(r,R),g=i/14,h=v||(e=>`${e/f*g}rem`),b=(e,t,r,a,i)=>(0,n.Z)({fontFamily:o,fontWeight:e,fontSize:h(t),lineHeight:r},o===O?{letterSpacing:`${Math.round(1e5*(a/t))/1e5}em`}:{},i,p),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,P),caption:b(s,12,1.66,.4),overline:b(s,12,2.66,1,P),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,n.Z)({htmlFontSize:f,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)({},M,e.easing),r=(0,n.Z)({},$,e.duration);return(0,n.Z)({getAutoHeightDuration:E,create:(e=["all"],n={})=>{let{duration:o=r.standard,easing:i=t.easeInOut,delay:l=0}=n;return(0,a.Z)(n,D),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:B(o)} ${i} ${"string"==typeof l?l:B(l)}`).join(",")}},e,{easing:t,duration:r})}(i),zIndex:(0,n.Z)({},j)});return(N=[].reduce((e,t)=>(0,d.Z)(e,t),N=(0,d.Z)(N,s))).unstable_sxConfig=(0,n.Z)({},f.Z,null==s?void 0:s.unstable_sxConfig),N.unstable_sx=function(e){return(0,p.Z)({sx:e,theme:this})},N}();var H="$$material",_=r(58128);let V=(0,_.ZP)({themeId:H,defaultTheme:N,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var W=r(1977),F=r(8027);function J(e){return(0,F.ZP)("MuiSvgIcon",e)}(0,W.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var q=r(85893);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,J,n)},X=V("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}){return(0,u.Z)({props:e,name:t,defaultTheme:N,themeId:H})}({props:e,name:"MuiSvgIcon"}),{children:l,className:s,color:c="inherit",component:d="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:v=!1,titleAccess:m,viewBox:g="0 0 24 24"}=r,h=(0,a.Z)(r,U),b=o.isValidElement(l)&&"svg"===l.type,x=(0,n.Z)({},r,{color:c,component:d,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:v,viewBox:g,hasSvgAsChild:b}),y={};v||(y.viewBox=g);let S=G(x);return(0,q.jsxs)(X,(0,n.Z)({as:d,className:(0,i.Z)(S.root,s),focusable:"false",color:p,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},y,h,b&&l.props,{ownerState:x,children:[b?l.props.children:l,m?(0,q.jsx)("title",{children:m}):null]}))});function Y(e,t){function r(r,o){return(0,q.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"},2101:function(e,t,r){"use strict";var n=r(64836);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(743)),a=n(r(49425));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))}},58128:function(e,t,r){"use strict";var n=r(64836);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,z=S||!1,C=v;"Root"===x||"root"===x?C=n:x?C=s:"string"==typeof e&&e.charCodeAt(0)>96&&(C=void 0);let I=(0,i.default)(e,(0,o.default)({shouldForwardProp:C,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}))}),z||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(10434)),a=n(r(7071)),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(23534)),l=r(211);n(r(99698)),n(r(37889));var s=n(r(19926)),u=n(r(386));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}},19926: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(88647),o=r(41512),a=r(57064)},386: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(86523),o=r(39707),a=r(44920)},99698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(62908)},49425: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))}},211: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(68027)},743:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(78758)},37889:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return s},getFunctionName:function(){return a}});var n=r(59864);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")}}}},36425:function(e,t,r){"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{Z:function(){return n}})},54895:function(e,t,r){"use strict";var n=r(67294);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},89326:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n,o=r(67294);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)}},11136:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(67294);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}}},10434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3293-00eeeedfb2d0e52d.js b/dbgpt/app/static/web/_next/static/chunks/3293-8f925a65eec3ddec.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/3293-00eeeedfb2d0e52d.js rename to dbgpt/app/static/web/_next/static/chunks/3293-8f925a65eec3ddec.js diff --git a/dbgpt/app/static/web/_next/static/chunks/3320-15447b17ad1077c7.js b/dbgpt/app/static/web/_next/static/chunks/3320-5d66a909c13147ea.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/3320-15447b17ad1077c7.js rename to dbgpt/app/static/web/_next/static/chunks/3320-5d66a909c13147ea.js diff --git a/dbgpt/app/static/web/_next/static/chunks/3485-f0ab5a7ee3c9ca60.js b/dbgpt/app/static/web/_next/static/chunks/3485-d1147a6980abad4d.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/3485-f0ab5a7ee3c9ca60.js rename to dbgpt/app/static/web/_next/static/chunks/3485-d1147a6980abad4d.js diff --git a/dbgpt/app/static/web/_next/static/chunks/3764-b45350cb2b4cc75c.js b/dbgpt/app/static/web/_next/static/chunks/3764-90db3ed836a41b68.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/3764-b45350cb2b4cc75c.js rename to dbgpt/app/static/web/_next/static/chunks/3764-90db3ed836a41b68.js diff --git a/dbgpt/app/static/web/_next/static/chunks/3780-e1ed1f83a44ab45f.js b/dbgpt/app/static/web/_next/static/chunks/3780-e1ed1f83a44ab45f.js new file mode 100644 index 000000000..0b1d1ba8f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/3780-e1ed1f83a44ab45f.js @@ -0,0 +1,18 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3780],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},8745:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(67294),a=n(21770),o=n(28459),l=n(53124);function i(e){return t=>r.createElement(o.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,o)=>i(i=>{let{prefixCls:u,style:s}=i,c=r.useRef(null),[d,f]=r.useState(0),[v,m]=r.useState(0),[g,p]=(0,a.Z)(!1,{value:i.open}),{getPrefixCls:b}=r.useContext(l.E_),h=b(t||"select",u);r.useEffect(()=>{if(p(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),m(t.offsetWidth)}),t=setInterval(()=>{var r;let a=n?`.${n(h)}`:`.${h}-dropdown`,o=null===(r=c.current)||void 0===r?void 0:r.querySelector(a);o&&(clearInterval(t),e.observe(o))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>c.current});return o&&(y=o(y)),r.createElement("div",{ref:c,style:{paddingBottom:d,position:"relative",minWidth:v}},r.createElement(e,Object.assign({},y)))})},98065: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}})},30568:function(e,t,n){n.d(t,{Z:function(){return en}});var r=n(67294),a=n(93967),o=n.n(a),l=n(1413),i=n(4942),u=n(74902),s=n(71002),c=n(97685),d=n(56790),f=n(21770),v=n(91881),m=n(80334),g=n(87462),p=n(45987),b=n(73935);function h(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(15105),E=r.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),x=r.createContext({}),k=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],Z=r.forwardRef(function(e,t){var n,a=e.prefixCls,u=e.value,s=e.valueIndex,c=e.onStartMove,d=e.onDelete,f=e.style,v=e.render,m=e.dragging,b=e.draggingDelete,x=e.onOffsetChange,Z=e.onChangeComplete,$=e.onFocus,O=e.onMouseEnter,S=(0,p.Z)(e,k),w=r.useContext(E),M=w.min,B=w.max,D=w.direction,I=w.disabled,P=w.keyboard,N=w.range,R=w.tabIndex,F=w.ariaLabelForHandle,j=w.ariaLabelledByForHandle,H=w.ariaValueTextFormatterForHandle,L=w.styles,z=w.classNames,A="".concat(a,"-handle"),T=function(e){I||c(e,s)},q=h(D,u,M,B),X={};null!==s&&(X={tabIndex:I?null:y(R,s),role:"slider","aria-valuemin":M,"aria-valuemax":B,"aria-valuenow":u,"aria-disabled":I,"aria-label":y(F,s),"aria-labelledby":y(j,s),"aria-valuetext":null===(n=y(H,s))||void 0===n?void 0:n(u),"aria-orientation":"ltr"===D||"rtl"===D?"horizontal":"vertical",onMouseDown:T,onTouchStart:T,onFocus:function(e){null==$||$(e,s)},onMouseEnter:function(e){O(e,s)},onKeyDown:function(e){if(!I&&P){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(s)}null!==t&&(e.preventDefault(),x(t,s))}},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==Z||Z()}}});var W=r.createElement("div",(0,g.Z)({ref:t,className:o()(A,(0,i.Z)((0,i.Z)((0,i.Z)({},"".concat(A,"-").concat(s+1),null!==s&&N),"".concat(A,"-dragging"),m),"".concat(A,"-dragging-delete"),b),z.handle),style:(0,l.Z)((0,l.Z)((0,l.Z)({},q),f),L.handle)},X,S));return v&&(W=v(W,{index:s,prefixCls:a,value:u,dragging:m,draggingDelete:b})),W}),$=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],O=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.style,o=e.onStartMove,i=e.onOffsetChange,u=e.values,s=e.handleRender,d=e.activeHandleRender,f=e.draggingIndex,v=e.draggingDelete,m=e.onFocus,h=(0,p.Z)(e,$),C=r.useRef({}),E=r.useState(!1),x=(0,c.Z)(E,2),k=x[0],O=x[1],S=r.useState(-1),w=(0,c.Z)(S,2),M=w[0],B=w[1],D=function(e){B(e),O(!0)};r.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=C.current[e])||void 0===t||t.focus()},hideHelp:function(){(0,b.flushSync)(function(){O(!1)})}}});var I=(0,l.Z)({prefixCls:n,onStartMove:o,onOffsetChange:i,render:s,onFocus:function(e,t){D(t),null==m||m(e)},onMouseEnter:function(e,t){D(t)}},h);return r.createElement(r.Fragment,null,u.map(function(e,t){var n=f===t;return r.createElement(Z,(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&&k&&r.createElement(Z,(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})))}),S=function(e){var t=e.prefixCls,n=e.style,a=e.children,u=e.value,s=e.onClick,c=r.useContext(E),d=c.min,f=c.max,v=c.direction,m=c.includedStart,g=c.includedEnd,p=c.included,b="".concat(t,"-text"),y=h(v,u,d,f);return r.createElement("span",{className:o()(b,(0,i.Z)({},"".concat(b,"-active"),p&&m<=u&&u<=g)),style:(0,l.Z)((0,l.Z)({},y),n),onMouseDown:function(e){e.stopPropagation()},onClick:function(){s(u)}},a)},w=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(S,{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,s=r.useContext(E),c=s.min,d=s.max,f=s.direction,v=s.included,m=s.includedStart,g=s.includedEnd,p="".concat(t,"-dot"),b=v&&m<=n&&n<=g,y=(0,l.Z)((0,l.Z)({},h(f,n,c,d)),"function"==typeof a?a(n):a);return b&&(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"),b)),style:y})},B=function(e){var t=e.prefixCls,n=e.marks,a=e.dots,o=e.style,l=e.activeStyle,i=r.useContext(E),u=i.min,s=i.max,c=i.step,d=r.useMemo(function(){var e=new Set;if(n.forEach(function(t){e.add(t.value)}),a&&null!==c)for(var t=u;t<=s;)e.add(t),t+=c;return Array.from(e)},[u,s,c,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,s=e.index,c=e.onStartMove,d=e.replaceCls,f=r.useContext(E),v=f.direction,m=f.min,g=f.max,p=f.disabled,b=f.range,h=f.classNames,y="".concat(t,"-track"),C=(a-m)/(g-m),x=(u-m)/(g-m),k=function(e){!p&&c&&c(e,-1)},Z={};switch(v){case"rtl":Z.right="".concat(100*C,"%"),Z.width="".concat(100*x-100*C,"%");break;case"btt":Z.bottom="".concat(100*C,"%"),Z.height="".concat(100*x-100*C,"%");break;case"ttb":Z.top="".concat(100*C,"%"),Z.height="".concat(100*x-100*C,"%");break;default:Z.left="".concat(100*C,"%"),Z.width="".concat(100*x-100*C,"%")}var $=d||o()(y,(0,i.Z)((0,i.Z)({},"".concat(y,"-").concat(s+1),null!==s&&b),"".concat(t,"-track-draggable"),c),h.track);return r.createElement("div",{className:$,style:(0,l.Z)((0,l.Z)({},Z),n),onMouseDown:k,onTouchStart:k})},I=function(e){var t=e.prefixCls,n=e.style,a=e.values,i=e.startPoint,u=e.onStartMove,s=r.useContext(E),c=s.included,d=s.range,f=s.min,v=s.styles,m=s.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,eN]),eF=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]),ej=(n=void 0===J||J,a=r.useCallback(function(e){return Math.max(eI,Math.min(eP,e))},[eI,eP]),g=r.useCallback(function(e){if(null!==eN){var t=eI+Math.round((a(e)-eI)/eN)*eN,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(eN),n(eP),n(eI)),o=Number(t.toFixed(r));return eI<=o&&o<=eP?o:null}return null},[eN,eI,eP,a]),p=r.useCallback(function(e){var t=a(e),n=eF.map(function(e){return e.value});null!==eN&&n.push(g(e)),n.push(eI,eP);var r=n[0],o=eP-eI;return n.forEach(function(e){var n=Math.abs(t-e);n<=o&&(r=e,o=n)}),r},[eI,eP,eF,eN,a,g]),b=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=[];eF.forEach(function(e){s.push(e.value)}),s.push(eI,eP),s.push(g(l));var c=n>0?1:-1;"unit"===a?s.push(g(l+c*eN)):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 v=(0,u.Z)(t);return v[r]=o,e(v,n-c,r,a)}return o}return"min"===n?eI:"max"===n?eP:void 0},h=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=b(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=b(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=h(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 E=h(o,-1,g-1);o[g-1]=E.value,C=E.changed}for(var x=0;x=0?_+1:2;for(r=r.slice(0,o);r.length=0&&ex.current.focus(e)}e7(null)},[e6]);var e5=r.useMemo(function(){return(!eM||null!==eN)&&eM},[eM,eN]),e8=(0,d.zX)(function(e,t){e1(e,t),null==Y||Y(eV(eW))}),e9=-1!==eU;r.useEffect(function(){if(!e9){var e=eW.lastIndexOf(eQ);ex.current.focus(e)}},[e9]);var te=r.useMemo(function(){return(0,u.Z)(e0).sort(function(e,t){return e-t})},[e0]),tt=r.useMemo(function(){return eS?[te[0],te[te.length-1]]:[eI,te[0]]},[te,eS,eI]),tn=(0,c.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=ek.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:eP,direction:eZ,disabled:D,keyboard:R,step:eN,included:eo,includedStart:tr,includedEnd:ta,range:eS,tabIndex:eh,ariaLabelForHandle:ey,ariaLabelledByForHandle:eC,ariaValueTextFormatterForHandle:eE,styles:S||{},classNames:$||{}}},[eI,eP,eZ,D,R,eN,eo,tr,ta,eS,eh,ey,eC,eE,S,$]);return r.createElement(E.Provider,{value:to},r.createElement("div",{ref:ek,className:o()(x,k,(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:Z,onMouseDown:function(e){e.preventDefault();var t,n=ek.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(eZ){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(eI+t*(eP-eI)),e)}},r.createElement("div",{className:o()("".concat(x,"-rail"),null==$?void 0:$.rail),style:(0,l.Z)((0,l.Z)({},es),null==S?void 0:S.rail)}),!1!==ep&&r.createElement(I,{prefixCls:x,style:ei,values:eW,startPoint:el,onStartMove:e5?e8:void 0}),r.createElement(B,{prefixCls:x,marks:eF,dots:ev,style:ec,activeStyle:ed}),r.createElement(O,{ref:ex,prefixCls:x,style:eu,values:e0,draggingIndex:eU,draggingDelete:eJ,onStartMove:e8,onOffsetChange:function(e,t){if(!D){var n=ez(eW,e,t);null==Y||Y(eV(eW)),eK(n.values),e7(n.value)}},onFocus:j,onBlur:H,handleRender:em,activeHandleRender:eg,onChangeComplete:e_,onDelete:ew?function(e){if(!D&&ew&&!(eW.length<=eB)){var t=(0,u.Z)(eW);t.splice(e,1),null==Y||Y(eV(t)),eK(t);var n=Math.max(0,e-1);ex.current.hideHelp(),ex.current.focus(n)}}:void 0}),r.createElement(w,{prefixCls:x,marks:eF,onClick:e2})))}),F=n(75164),j=n(53124),H=n(98866),L=n(42550),z=n(83062);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(47648),q=n(10274),X=n(14747),W=n(83559),V=n(87893);let K=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: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:c,height:c,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:s(m).mul(-1).equal(),insetBlockStart:s(m).mul(-1).equal(),width:s(c).add(s(m).mul(2)).equal(),height:s(c).add(s(m).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,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: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,T.bf)(g)} ${f}`,outline:`6px solid ${v}`,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,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:c,height:c,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"}})}},_=(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",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,[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]:v},[`${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()}}},G=e=>{let{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},_(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Y=e=>{let{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},_(e,!1)),{height:"100%"})}};var U=(0,W.I$)("Slider",e=>{let t=(0,V.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),G(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:s,tooltipPrefixCls:c,tipFormatter:d,tooltipVisible:f,getTooltipPopupContainer:v,tooltipPlacement:m,tooltip:g={},onChangeComplete:p}=e,b=ee(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:h}=e,{direction:y,slider:C,getPrefixCls:E,getPopupContainer:x}=r.useContext(j.E_),k=r.useContext(H.Z),{handleRender:Z,direction:$}=r.useContext(Q),O="rtl"===($||y),[S,w]=J(),[M,B]=J(),D=Object.assign({},g),{open:I,placement:P,getPopupContainer:N,prefixCls:L,formatter:z}=D,T=null!=I?I:f,q=(S||M)&&!1!==T,X=z||null===z?z:d||null===d?d:e=>"number"==typeof e?e.toString():"",[W,V]=J(),K=(e,t)=>e||(t?O?"left":"right":"top"),_=E("slider",n),[G,Y,et]=U(_),en=o()(l,null==C?void 0:C.className,i,{[`${_}-rtl`]:O,[`${_}-lock`]:W},Y,et);O&&!b.vertical&&(b.reverse=!b.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=Z||((e,t)=>{let{index:n}=t,a=e.props;function o(e,t,n){var r,o;n&&(null===(r=b[e])||void 0===r||r.call(b,t)),null===(o=a[e])||void 0===o||o.call(a,t)}let l=Object.assign(Object.assign({},a),{onMouseEnter:e=>{w(!0),o("onMouseEnter",e)},onMouseLeave:e=>{w(!1),o("onMouseLeave",e)},onMouseDown:e=>{B(!0),V(!0),o("onMouseDown",e)},onFocus:e=>{var t;B(!0),null===(t=b.onFocus)||void 0===t||t.call(b,e),o("onFocus",e,!0)},onBlur:e=>{var t;B(!1),null===(t=b.onBlur)||void 0===t||t.call(b,e),o("onBlur",e,!0)}}),i=r.cloneElement(e,l);return er?i:r.createElement(A,Object.assign({},D,{prefixCls:E("tooltip",null!=L?L:c),title:X?X(t.value):"",open:(!!T||q)&&null!==X,placement:K(null!=P?P:m,h),key:n,overlayClassName:`${_}-tooltip`,getPopupContainer:N||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:E("tooltip",null!=L?L:c),title:X?X(t.value):"",open:null!==X&&q,placement:K(null!=P?P:m,h),key:"tooltip",overlayClassName:`${_}-tooltip`,getPopupContainer:N||v||x,draggingDelete:t.draggingDelete}),n)}:void 0,el=Object.assign(Object.assign({},null==C?void 0:C.style),u);return G(r.createElement(R,Object.assign({},b,{step:b.step,range:a,className:en,style:el,disabled:null!=s?s:k,ref:t,prefixCls:_,handleRender:ea,activeHandleRender:eo,onChangeComplete:e=>{null==p||p(e),V(!1)}})))});var en=et},42075:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(67294),a=n(93967),o=n.n(a),l=n(50344),i=n(98065),u=n(53124),s=n(4173);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:b=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:h,className:y,rootClassName:C,children:E,direction:x="horizontal",prefixCls:k,split:Z,style:$,wrap:O=!1,classNames:S,styles:w}=e,M=m(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[B,D]=Array.isArray(b)?b:[b,b],I=(0,i.n)(D),P=(0,i.n)(B),N=(0,i.T)(D),R=(0,i.T)(B),F=(0,l.Z)(E,{keepEmpty:!0}),j=void 0===h&&"horizontal"===x?"center":h,H=c("space",k),[L,z,A]=(0,v.Z)(H),T=o()(H,null==g?void 0:g.className,z,`${H}-${x}`,{[`${H}-rtl`]:"rtl"===p,[`${H}-align-${j}`]:j,[`${H}-gap-row-${D}`]:I,[`${H}-gap-col-${B}`]:P},y,C,A),q=o()(`${H}-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),X=0,W=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:Z,style:null!==(n=null==w?void 0:w.item)&&void 0!==n?n:null===(a=null==g?void 0:g.styles)||void 0===a?void 0:a.item},e)}),V=r.useMemo(()=>({latestIndex:X}),[X]);if(0===F.length)return null;let K={};return O&&(K.flexWrap="wrap"),!P&&R&&(K.columnGap=B),!I&&N&&(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),$)},M),r.createElement(d,{value:V},W)))});g.Compact=s.ZP;var p=g},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return m}});var r=n(47648),a=n(93590);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}}),v={"move-up":{inKeyframes:d,outKeyframes:f},"move-down":{inKeyframes:o,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:u},"move-right":{inKeyframes:s,outKeyframes:c}},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}}]}},64894:function(e,t,n){var r=n(83963),a=n(67294),o=n(32857),l=n(30672),i=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))});t.Z=i}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/3791-f814ce3f4efc763b.js b/dbgpt/app/static/web/_next/static/chunks/3791-f6f37850ece447de.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/3791-f814ce3f4efc763b.js rename to dbgpt/app/static/web/_next/static/chunks/3791-f6f37850ece447de.js diff --git a/dbgpt/app/static/web/_next/static/chunks/3913-d21b4c9b2d757142.js b/dbgpt/app/static/web/_next/static/chunks/3913-219eee6825505e08.js similarity index 66% rename from dbgpt/app/static/web/_next/static/chunks/3913-d21b4c9b2d757142.js rename to dbgpt/app/static/web/_next/static/chunks/3913-219eee6825505e08.js index 474009927..ffcad955b 100644 --- a/dbgpt/app/static/web/_next/static/chunks/3913-d21b4c9b2d757142.js +++ b/dbgpt/app/static/web/_next/static/chunks/3913-219eee6825505e08.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3913],{56397:function(e,t,l){l.r(t);var n=l(85893),r=l(48218),a=l(58638),i=l(31418),s=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);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"})})]})})},74638:function(e,t,l){l.r(t);var n=l(85893),r=l(76212),a=l(62418),i=l(25519),s=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),m=l(1375),v=l(65654),x=l(66309),p=l(55241),h=l(74330),f=l(55102),g=l(14726),b=l(93967),j=l.n(b),y=l(39332),w=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);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"})})})]})]})}},7001:function(e,t,l){l.r(t);var n=l(85893),r=l(39718),a=l(41468),i=l(41441),s=l(85418),o=l(55241),c=l(67294),d=l(73913);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})]})})})}},46568:function(e,t,l){l.r(t);var n=l(85893),r=l(25675),a=l.n(r),i=l(67294);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})})},73749:function(e,t,l){l.r(t);var n=l(85893),r=l(76212),a=l(62418),i=l(79090),s=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),m=l(85418),v=l(67294),x=l(73913),p=l(46568);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})]})})}})()})}},97109:function(e,t,l){l.r(t);var n=l(85893),r=l(85418),a=l(30568),i=l(67294),s=l(73913),o=l(70065);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})]})})}},73913:function(e,t,l){l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(85893),r=l(41468),a=l(76212),i=l(2440),s=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),m=l(5152),v=l.n(m),x=l(39332),p=l(67294),h=l(56397),f=l(74638),g=l(83454);let b=v()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(7530),l.e(9397),l.e(6212),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},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([[3913],{56397:function(e,t,l){l.r(t);var n=l(85893),r=l(48218),a=l(58638),i=l(31418),s=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);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"})})]})})},74638:function(e,t,l){l.r(t);var n=l(85893),r=l(76212),a=l(62418),i=l(25519),s=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),m=l(1375),v=l(65654),x=l(66309),p=l(55241),h=l(74330),f=l(55102),g=l(14726),b=l(93967),j=l.n(b),y=l(39332),w=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);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"})})})]})]})}},7001:function(e,t,l){l.r(t);var n=l(85893),r=l(41468),a=l(39718),i=l(41441),s=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(r.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)(a.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)(a.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})]})})})}},46568:function(e,t,l){l.r(t);var n=l(85893),r=l(25675),a=l.n(r),i=l(67294);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})})},73749:function(e,t,l){l.r(t);var n=l(85893),r=l(76212),a=l(62418),i=l(79090),s=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),m=l(85418),v=l(67294),x=l(73913),p=l(46568);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})]})})}})()})}},97109:function(e,t,l){l.r(t);var n=l(85893),r=l(70065),a=l(85418),i=l(30568),s=l(67294),o=l(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(o.MobileChatContext),l=e=>{isNaN(e)||t(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)(i.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)(r.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(85893),r=l(41468),a=l(76212),i=l(2440),s=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),m=l(5152),v=l.n(m),x=l(39332),p=l(67294),h=l(56397),f=l(74638),g=l(83454);let b=v()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(6540),l.e(9397),l.e(542),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},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/4041-329f36270173dc92.js b/dbgpt/app/static/web/_next/static/chunks/4041-8d256002237909f6.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/4041-329f36270173dc92.js rename to dbgpt/app/static/web/_next/static/chunks/4041-8d256002237909f6.js diff --git a/dbgpt/app/static/web/_next/static/chunks/4257-668156f8a1c38c56.js b/dbgpt/app/static/web/_next/static/chunks/4257-a426d3580ccc3360.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/4257-668156f8a1c38c56.js rename to dbgpt/app/static/web/_next/static/chunks/4257-a426d3580ccc3360.js diff --git a/dbgpt/app/static/web/_next/static/chunks/4296-03a1c6f7e5fa7978.js b/dbgpt/app/static/web/_next/static/chunks/4296-4008870119994001.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/4296-03a1c6f7e5fa7978.js rename to dbgpt/app/static/web/_next/static/chunks/4296-4008870119994001.js diff --git a/dbgpt/app/static/web/_next/static/chunks/4330-b561a3ebc6c7d177.js b/dbgpt/app/static/web/_next/static/chunks/4330-b260746a7ea9ddcf.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/4330-b561a3ebc6c7d177.js rename to dbgpt/app/static/web/_next/static/chunks/4330-b260746a7ea9ddcf.js diff --git a/dbgpt/app/static/web/_next/static/chunks/4393-b2ea16a41b98d023.js b/dbgpt/app/static/web/_next/static/chunks/4393-f23047ee5940b648.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/4393-b2ea16a41b98d023.js rename to dbgpt/app/static/web/_next/static/chunks/4393-f23047ee5940b648.js diff --git a/dbgpt/app/static/web/_next/static/chunks/4434.29532ee152041d33.js b/dbgpt/app/static/web/_next/static/chunks/4434.29532ee152041d33.js new file mode 100644 index 000000000..a47f4bb6f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4434.29532ee152041d33.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4434],{74434:function(e,o,r){let n;r.d(o,{Z:function(){return b}});var t=r(85893),f=r(41468),d=r(62418),a=r(63764),u=r(3930),i=r(93967),g=r.n(i),c=r(5036),k=r(67294);async function l(){window.obMonaco={getWorkerUrl:e=>{switch(e){case"mysql":return location.origin+"/_next/static/ob-workers/mysql.js";case"obmysql":return location.origin+"/_next/static/ob-workers/obmysql.js";case"oboracle":return location.origin+"/_next/static/ob-workers/oracle.js"}return""}};let e=await r.e(2057).then(r.bind(r,12057)),o=e.default;return n||(n=new o).setup(["mysql"]),n}function b(e){let{className:o,value:r,language:n="mysql",onChange:i,thoughts:c,session:b}=e,s=(0,k.useMemo)(()=>"mysql"!==n?r:c&&c.length>0?(0,d._m)("-- ".concat(c," \n").concat(r)):(0,d._m)(r),[r,c]),m=(0,u.Z)(b),p=(0,k.useContext)(f.p);async function h(e){var o,r;let n=await l();n.setModelOptions((null===(o=e.getModel())||void 0===o?void 0:o.id)||"",function(e,o){let{_modelId:r,delimiter:n}=e;return{delimiter:n,async getTableList(e){var r;return(null==o?void 0:null===(r=o())||void 0===r?void 0:r.getTableList(e))||[]},async getTableColumns(e,r){var n;return(null==o?void 0:null===(n=o())||void 0===n?void 0:n.getTableColumns(e))||[]},async getSchemaList(){var e;return(null==o?void 0:null===(e=o())||void 0===e?void 0:e.getSchemaList())||[]}}}({modelId:(null===(r=e.getModel())||void 0===r?void 0:r.id)||"",delimiter:";"},()=>m.current||null))}return(0,t.jsx)(a.ZP,{className:g()(o),onMount:h,value:s,defaultLanguage:n,onChange:i,theme:(null==p?void 0:p.mode)!=="dark"?"github":"githubDark",options:{minimap:{enabled:!1},wordWrap:"on"}})}a._m.config({monaco:c}),c.editor.defineTheme("github",{base:"vs",inherit:!0,rules:[{background:"ffffff",token:""},{foreground:"6a737d",token:"comment"},{foreground:"6a737d",token:"punctuation.definition.comment"},{foreground:"6a737d",token:"string.comment"},{foreground:"005cc5",token:"constant"},{foreground:"005cc5",token:"entity.name.constant"},{foreground:"005cc5",token:"variable.other.constant"},{foreground:"005cc5",token:"variable.language"},{foreground:"6f42c1",token:"entity"},{foreground:"6f42c1",token:"entity.name"},{foreground:"24292e",token:"variable.parameter.function"},{foreground:"22863a",token:"entity.name.tag"},{foreground:"d73a49",token:"keyword"},{foreground:"d73a49",token:"storage"},{foreground:"d73a49",token:"storage.type"},{foreground:"24292e",token:"storage.modifier.package"},{foreground:"24292e",token:"storage.modifier.import"},{foreground:"24292e",token:"storage.type.java"},{foreground:"032f62",token:"string"},{foreground:"032f62",token:"punctuation.definition.string"},{foreground:"032f62",token:"string punctuation.section.embedded source"},{foreground:"005cc5",token:"support"},{foreground:"005cc5",token:"meta.property-name"},{foreground:"e36209",token:"variable"},{foreground:"24292e",token:"variable.other"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"b31d28",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"b31d28",token:"message.error"},{foreground:"24292e",token:"string source"},{foreground:"005cc5",token:"string variable"},{foreground:"032f62",token:"source.regexp"},{foreground:"032f62",token:"string.regexp"},{foreground:"032f62",token:"string.regexp.character-class"},{foreground:"032f62",token:"string.regexp constant.character.escape"},{foreground:"032f62",token:"string.regexp source.ruby.embedded"},{foreground:"032f62",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"22863a",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"005cc5",token:"support.constant"},{foreground:"005cc5",token:"support.variable"},{foreground:"005cc5",token:"meta.module-reference"},{foreground:"735c0f",token:"markup.list"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"22863a",token:"markup.quote"},{foreground:"24292e",fontStyle:"italic",token:"markup.italic"},{foreground:"24292e",fontStyle:"bold",token:"markup.bold"},{foreground:"005cc5",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"22863a",background:"f0fff4",token:"markup.inserted"},{foreground:"22863a",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"22863a",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"e36209",background:"ffebda",token:"markup.changed"},{foreground:"e36209",background:"ffebda",token:"punctuation.definition.changed"},{foreground:"f6f8fa",background:"005cc5",token:"markup.ignored"},{foreground:"f6f8fa",background:"005cc5",token:"markup.untracked"},{foreground:"6f42c1",fontStyle:"bold",token:"meta.diff.range"},{foreground:"005cc5",token:"meta.diff.header"},{foreground:"005cc5",fontStyle:"bold",token:"meta.separator"},{foreground:"005cc5",token:"meta.output"},{foreground:"586069",token:"brackethighlighter.tag"},{foreground:"586069",token:"brackethighlighter.curly"},{foreground:"586069",token:"brackethighlighter.round"},{foreground:"586069",token:"brackethighlighter.square"},{foreground:"586069",token:"brackethighlighter.angle"},{foreground:"586069",token:"brackethighlighter.quote"},{foreground:"b31d28",token:"brackethighlighter.unmatched"},{foreground:"b31d28",token:"sublimelinter.mark.error"},{foreground:"e36209",token:"sublimelinter.mark.warning"},{foreground:"959da5",token:"sublimelinter.gutter-mark"},{foreground:"032f62",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"032f62",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#24292e","editor.background":"#ffffff","editor.selectionBackground":"#c8c8fa","editor.inactiveSelectionBackground":"#fafbfc","editor.lineHighlightBackground":"#fafbfc","editorCursor.foreground":"#24292e","editorWhitespace.foreground":"#959da5","editorIndentGuide.background":"#959da5","editorIndentGuide.activeBackground":"#24292e","editor.selectionHighlightBorder":"#fafbfc"}}),c.editor.defineTheme("githubDark",{base:"vs-dark",inherit:!0,rules:[{background:"24292e",token:""},{foreground:"959da5",token:"comment"},{foreground:"959da5",token:"punctuation.definition.comment"},{foreground:"959da5",token:"string.comment"},{foreground:"c8e1ff",token:"constant"},{foreground:"c8e1ff",token:"entity.name.constant"},{foreground:"c8e1ff",token:"variable.other.constant"},{foreground:"c8e1ff",token:"variable.language"},{foreground:"b392f0",token:"entity"},{foreground:"b392f0",token:"entity.name"},{foreground:"f6f8fa",token:"variable.parameter.function"},{foreground:"7bcc72",token:"entity.name.tag"},{foreground:"ea4a5a",token:"keyword"},{foreground:"ea4a5a",token:"storage"},{foreground:"ea4a5a",token:"storage.type"},{foreground:"f6f8fa",token:"storage.modifier.package"},{foreground:"f6f8fa",token:"storage.modifier.import"},{foreground:"f6f8fa",token:"storage.type.java"},{foreground:"79b8ff",token:"string"},{foreground:"79b8ff",token:"punctuation.definition.string"},{foreground:"79b8ff",token:"string punctuation.section.embedded source"},{foreground:"c8e1ff",token:"support"},{foreground:"c8e1ff",token:"meta.property-name"},{foreground:"fb8532",token:"variable"},{foreground:"f6f8fa",token:"variable.other"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"d73a49",token:"message.error"},{foreground:"f6f8fa",token:"string source"},{foreground:"c8e1ff",token:"string variable"},{foreground:"79b8ff",token:"source.regexp"},{foreground:"79b8ff",token:"string.regexp"},{foreground:"79b8ff",token:"string.regexp.character-class"},{foreground:"79b8ff",token:"string.regexp constant.character.escape"},{foreground:"79b8ff",token:"string.regexp source.ruby.embedded"},{foreground:"79b8ff",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"7bcc72",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"c8e1ff",token:"support.constant"},{foreground:"c8e1ff",token:"support.variable"},{foreground:"c8e1ff",token:"meta.module-reference"},{foreground:"fb8532",token:"markup.list"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"c8e1ff",token:"markup.quote"},{foreground:"f6f8fa",fontStyle:"italic",token:"markup.italic"},{foreground:"f6f8fa",fontStyle:"bold",token:"markup.bold"},{foreground:"c8e1ff",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"176f2c",background:"f0fff4",token:"markup.inserted"},{foreground:"176f2c",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"176f2c",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"b08800",background:"fffdef",token:"markup.changed"},{foreground:"b08800",background:"fffdef",token:"punctuation.definition.changed"},{foreground:"2f363d",background:"959da5",token:"markup.ignored"},{foreground:"2f363d",background:"959da5",token:"markup.untracked"},{foreground:"b392f0",fontStyle:"bold",token:"meta.diff.range"},{foreground:"c8e1ff",token:"meta.diff.header"},{foreground:"0366d6",fontStyle:"bold",token:"meta.separator"},{foreground:"0366d6",token:"meta.output"},{foreground:"ffeef0",token:"brackethighlighter.tag"},{foreground:"ffeef0",token:"brackethighlighter.curly"},{foreground:"ffeef0",token:"brackethighlighter.round"},{foreground:"ffeef0",token:"brackethighlighter.square"},{foreground:"ffeef0",token:"brackethighlighter.angle"},{foreground:"ffeef0",token:"brackethighlighter.quote"},{foreground:"d73a49",token:"brackethighlighter.unmatched"},{foreground:"d73a49",token:"sublimelinter.mark.error"},{foreground:"fb8532",token:"sublimelinter.mark.warning"},{foreground:"6a737d",token:"sublimelinter.gutter-mark"},{foreground:"79b8ff",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"79b8ff",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#f6f8fa","editor.background":"#24292e","editor.selectionBackground":"#4c2889","editor.inactiveSelectionBackground":"#444d56","editor.lineHighlightBackground":"#444d56","editorCursor.foreground":"#ffffff","editorWhitespace.foreground":"#6a737d","editorIndentGuide.background":"#6a737d","editorIndentGuide.activeBackground":"#f6f8fa","editor.selectionHighlightBorder":"#444d56"}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4434.2e999e7dac0e59c2.js b/dbgpt/app/static/web/_next/static/chunks/4434.2e999e7dac0e59c2.js deleted file mode 100644 index c58d81441..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4434.2e999e7dac0e59c2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4434],{74434:function(e,o,r){let n;r.d(o,{Z:function(){return b}});var t=r(85893),f=r(5036),d=r(63764),a=r(93967),u=r.n(a),i=r(67294),g=r(41468),c=r(62418),k=r(3930);async function l(){window.obMonaco={getWorkerUrl:e=>{switch(e){case"mysql":return location.origin+"/_next/static/ob-workers/mysql.js";case"obmysql":return location.origin+"/_next/static/ob-workers/obmysql.js";case"oboracle":return location.origin+"/_next/static/ob-workers/oracle.js"}return""}};let e=await r.e(2057).then(r.bind(r,12057)),o=e.default;return n||(n=new o).setup(["mysql"]),n}function b(e){let{className:o,value:r,language:n="mysql",onChange:f,thoughts:a,session:b}=e,s=(0,i.useMemo)(()=>"mysql"!==n?r:a&&a.length>0?(0,c._m)("-- ".concat(a," \n").concat(r)):(0,c._m)(r),[r,a]),m=(0,k.Z)(b),p=(0,i.useContext)(g.p);async function h(e){var o,r;let n=await l();n.setModelOptions((null===(o=e.getModel())||void 0===o?void 0:o.id)||"",function(e,o){let{modelId:r,delimiter:n}=e;return{delimiter:n,async getTableList(e){var r;return(null==o?void 0:null===(r=o())||void 0===r?void 0:r.getTableList(e))||[]},async getTableColumns(e,r){var n;return(null==o?void 0:null===(n=o())||void 0===n?void 0:n.getTableColumns(e))||[]},async getSchemaList(){var e;return(null==o?void 0:null===(e=o())||void 0===e?void 0:e.getSchemaList())||[]}}}({modelId:(null===(r=e.getModel())||void 0===r?void 0:r.id)||"",delimiter:";"},()=>m.current||null))}return(0,t.jsx)(d.ZP,{className:u()(o),onMount:h,value:s,defaultLanguage:n,onChange:f,theme:(null==p?void 0:p.mode)!=="dark"?"github":"githubDark",options:{minimap:{enabled:!1},wordWrap:"on"}})}d._m.config({monaco:f}),f.editor.defineTheme("github",{base:"vs",inherit:!0,rules:[{background:"ffffff",token:""},{foreground:"6a737d",token:"comment"},{foreground:"6a737d",token:"punctuation.definition.comment"},{foreground:"6a737d",token:"string.comment"},{foreground:"005cc5",token:"constant"},{foreground:"005cc5",token:"entity.name.constant"},{foreground:"005cc5",token:"variable.other.constant"},{foreground:"005cc5",token:"variable.language"},{foreground:"6f42c1",token:"entity"},{foreground:"6f42c1",token:"entity.name"},{foreground:"24292e",token:"variable.parameter.function"},{foreground:"22863a",token:"entity.name.tag"},{foreground:"d73a49",token:"keyword"},{foreground:"d73a49",token:"storage"},{foreground:"d73a49",token:"storage.type"},{foreground:"24292e",token:"storage.modifier.package"},{foreground:"24292e",token:"storage.modifier.import"},{foreground:"24292e",token:"storage.type.java"},{foreground:"032f62",token:"string"},{foreground:"032f62",token:"punctuation.definition.string"},{foreground:"032f62",token:"string punctuation.section.embedded source"},{foreground:"005cc5",token:"support"},{foreground:"005cc5",token:"meta.property-name"},{foreground:"e36209",token:"variable"},{foreground:"24292e",token:"variable.other"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"b31d28",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"b31d28",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"b31d28",token:"message.error"},{foreground:"24292e",token:"string source"},{foreground:"005cc5",token:"string variable"},{foreground:"032f62",token:"source.regexp"},{foreground:"032f62",token:"string.regexp"},{foreground:"032f62",token:"string.regexp.character-class"},{foreground:"032f62",token:"string.regexp constant.character.escape"},{foreground:"032f62",token:"string.regexp source.ruby.embedded"},{foreground:"032f62",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"22863a",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"005cc5",token:"support.constant"},{foreground:"005cc5",token:"support.variable"},{foreground:"005cc5",token:"meta.module-reference"},{foreground:"735c0f",token:"markup.list"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading"},{foreground:"005cc5",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"22863a",token:"markup.quote"},{foreground:"24292e",fontStyle:"italic",token:"markup.italic"},{foreground:"24292e",fontStyle:"bold",token:"markup.bold"},{foreground:"005cc5",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"22863a",background:"f0fff4",token:"markup.inserted"},{foreground:"22863a",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"22863a",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"e36209",background:"ffebda",token:"markup.changed"},{foreground:"e36209",background:"ffebda",token:"punctuation.definition.changed"},{foreground:"f6f8fa",background:"005cc5",token:"markup.ignored"},{foreground:"f6f8fa",background:"005cc5",token:"markup.untracked"},{foreground:"6f42c1",fontStyle:"bold",token:"meta.diff.range"},{foreground:"005cc5",token:"meta.diff.header"},{foreground:"005cc5",fontStyle:"bold",token:"meta.separator"},{foreground:"005cc5",token:"meta.output"},{foreground:"586069",token:"brackethighlighter.tag"},{foreground:"586069",token:"brackethighlighter.curly"},{foreground:"586069",token:"brackethighlighter.round"},{foreground:"586069",token:"brackethighlighter.square"},{foreground:"586069",token:"brackethighlighter.angle"},{foreground:"586069",token:"brackethighlighter.quote"},{foreground:"b31d28",token:"brackethighlighter.unmatched"},{foreground:"b31d28",token:"sublimelinter.mark.error"},{foreground:"e36209",token:"sublimelinter.mark.warning"},{foreground:"959da5",token:"sublimelinter.gutter-mark"},{foreground:"032f62",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"032f62",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#24292e","editor.background":"#ffffff","editor.selectionBackground":"#c8c8fa","editor.inactiveSelectionBackground":"#fafbfc","editor.lineHighlightBackground":"#fafbfc","editorCursor.foreground":"#24292e","editorWhitespace.foreground":"#959da5","editorIndentGuide.background":"#959da5","editorIndentGuide.activeBackground":"#24292e","editor.selectionHighlightBorder":"#fafbfc"}}),f.editor.defineTheme("githubDark",{base:"vs-dark",inherit:!0,rules:[{background:"24292e",token:""},{foreground:"959da5",token:"comment"},{foreground:"959da5",token:"punctuation.definition.comment"},{foreground:"959da5",token:"string.comment"},{foreground:"c8e1ff",token:"constant"},{foreground:"c8e1ff",token:"entity.name.constant"},{foreground:"c8e1ff",token:"variable.other.constant"},{foreground:"c8e1ff",token:"variable.language"},{foreground:"b392f0",token:"entity"},{foreground:"b392f0",token:"entity.name"},{foreground:"f6f8fa",token:"variable.parameter.function"},{foreground:"7bcc72",token:"entity.name.tag"},{foreground:"ea4a5a",token:"keyword"},{foreground:"ea4a5a",token:"storage"},{foreground:"ea4a5a",token:"storage.type"},{foreground:"f6f8fa",token:"storage.modifier.package"},{foreground:"f6f8fa",token:"storage.modifier.import"},{foreground:"f6f8fa",token:"storage.type.java"},{foreground:"79b8ff",token:"string"},{foreground:"79b8ff",token:"punctuation.definition.string"},{foreground:"79b8ff",token:"string punctuation.section.embedded source"},{foreground:"c8e1ff",token:"support"},{foreground:"c8e1ff",token:"meta.property-name"},{foreground:"fb8532",token:"variable"},{foreground:"f6f8fa",token:"variable.other"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.broken"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.deprecated"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"invalid.illegal"},{foreground:"fafbfc",background:"d73a49",fontStyle:"italic underline",token:"carriage-return"},{foreground:"d73a49",fontStyle:"bold italic underline",token:"invalid.unimplemented"},{foreground:"d73a49",token:"message.error"},{foreground:"f6f8fa",token:"string source"},{foreground:"c8e1ff",token:"string variable"},{foreground:"79b8ff",token:"source.regexp"},{foreground:"79b8ff",token:"string.regexp"},{foreground:"79b8ff",token:"string.regexp.character-class"},{foreground:"79b8ff",token:"string.regexp constant.character.escape"},{foreground:"79b8ff",token:"string.regexp source.ruby.embedded"},{foreground:"79b8ff",token:"string.regexp string.regexp.arbitrary-repitition"},{foreground:"7bcc72",fontStyle:"bold",token:"string.regexp constant.character.escape"},{foreground:"c8e1ff",token:"support.constant"},{foreground:"c8e1ff",token:"support.variable"},{foreground:"c8e1ff",token:"meta.module-reference"},{foreground:"fb8532",token:"markup.list"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading"},{foreground:"0366d6",fontStyle:"bold",token:"markup.heading entity.name"},{foreground:"c8e1ff",token:"markup.quote"},{foreground:"f6f8fa",fontStyle:"italic",token:"markup.italic"},{foreground:"f6f8fa",fontStyle:"bold",token:"markup.bold"},{foreground:"c8e1ff",token:"markup.raw"},{foreground:"b31d28",background:"ffeef0",token:"markup.deleted"},{foreground:"b31d28",background:"ffeef0",token:"meta.diff.header.from-file"},{foreground:"b31d28",background:"ffeef0",token:"punctuation.definition.deleted"},{foreground:"176f2c",background:"f0fff4",token:"markup.inserted"},{foreground:"176f2c",background:"f0fff4",token:"meta.diff.header.to-file"},{foreground:"176f2c",background:"f0fff4",token:"punctuation.definition.inserted"},{foreground:"b08800",background:"fffdef",token:"markup.changed"},{foreground:"b08800",background:"fffdef",token:"punctuation.definition.changed"},{foreground:"2f363d",background:"959da5",token:"markup.ignored"},{foreground:"2f363d",background:"959da5",token:"markup.untracked"},{foreground:"b392f0",fontStyle:"bold",token:"meta.diff.range"},{foreground:"c8e1ff",token:"meta.diff.header"},{foreground:"0366d6",fontStyle:"bold",token:"meta.separator"},{foreground:"0366d6",token:"meta.output"},{foreground:"ffeef0",token:"brackethighlighter.tag"},{foreground:"ffeef0",token:"brackethighlighter.curly"},{foreground:"ffeef0",token:"brackethighlighter.round"},{foreground:"ffeef0",token:"brackethighlighter.square"},{foreground:"ffeef0",token:"brackethighlighter.angle"},{foreground:"ffeef0",token:"brackethighlighter.quote"},{foreground:"d73a49",token:"brackethighlighter.unmatched"},{foreground:"d73a49",token:"sublimelinter.mark.error"},{foreground:"fb8532",token:"sublimelinter.mark.warning"},{foreground:"6a737d",token:"sublimelinter.gutter-mark"},{foreground:"79b8ff",fontStyle:"underline",token:"constant.other.reference.link"},{foreground:"79b8ff",fontStyle:"underline",token:"string.other.link"}],colors:{"editor.foreground":"#f6f8fa","editor.background":"#24292e","editor.selectionBackground":"#4c2889","editor.inactiveSelectionBackground":"#444d56","editor.lineHighlightBackground":"#444d56","editorCursor.foreground":"#ffffff","editorWhitespace.foreground":"#6a737d","editorIndentGuide.background":"#6a737d","editorIndentGuide.activeBackground":"#f6f8fa","editor.selectionHighlightBorder":"#444d56"}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4451.0a12e4b67fece561.js b/dbgpt/app/static/web/_next/static/chunks/4451.0a12e4b67fece561.js deleted file mode 100644 index a1334921e..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4451.0a12e4b67fece561.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4451],{96991:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},37653:function(e,t,l){"use strict";var n=l(87462),a=l(67294),i=l(26554),r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},43929:function(e,t,l){"use strict";var n=l(87462),a=l(67294),i=l(50756),r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},36986:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49591:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},88484:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},99134:function(e,t,l){"use strict";var n=l(67294);let a=(0,n.createContext)({});t.Z=a},21584:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(53124),s=l(99134),o=l(6999),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"]),Z=l("col",v),[C,$,k]=(0,o.cG)(Z),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),{[`${Z}-${t}-${l.span}`]:void 0!==l.span,[`${Z}-${t}-order-${l.order}`]:l.order||0===l.order,[`${Z}-${t}-offset-${l.offset}`]:l.offset||0===l.offset,[`${Z}-${t}-push-${l.push}`]:l.push||0===l.push,[`${Z}-${t}-pull-${l.pull}`]:l.pull||0===l.pull,[`${Z}-rtl`]:"rtl"===a}),l.flex&&(O[`${Z}-${t}-flex`]=!0,S[`--${Z}-${t}-flex`]=c(l.flex))});let E=i()(Z,{[`${Z}-${f}`]:void 0!==f,[`${Z}-order-${p}`]:p,[`${Z}-offset-${x}`]:x,[`${Z}-push-${y}`]:y,[`${Z}-pull-${g}`]:g},j,O,$,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)),C(n.createElement("div",Object.assign({},N,{style:Object.assign(Object.assign(Object.assign({},P),_),S),className:E,ref:t}),w))});t.Z=h},92820:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(74443),s=l(53124),o=l(99134),d=l(6999),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}),Z=u(h,_),C=u(a,_),$=n.useRef(p),k=(0,r.ZP)();n.useEffect(()=>{let e=k.subscribe(e=>{N(e);let t=$.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;V&&(R.marginLeft=V,R.marginRight=V);let[I,T]=M;R.rowGap=T;let D=n.useMemo(()=>({gutter:[I,T],wrap:x}),[I,T,x]);return O(n.createElement(o.Z.Provider,{value:D},n.createElement("div",Object.assign({},y,{className:z,style:Object.assign(Object.assign({},R),v),ref:t}),f)))});t.Z=h},6999:function(e,t,l){"use strict";l.d(t,{VM:function(){return c},cG:function(){return u}});var n=l(47648),a=l(83559),i=l(87893);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),{})]},()=>({}))},21332:function(e,t,l){"use strict";l.d(t,{_:function(){return R},a:function(){return M}});var n=l(85893),a=l(34041),i=l(71230),r=l(15746),s=l(42075),o=l(83062),d=l(14726),c=l(32983),u=l(99802),h=l(64371),m=l(64352),v=l(8625),f=l(96486);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(67294);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},Z=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},C=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})},$="multi_line_chart",k="multi_measure_line_chart",S=[{chartType:"multi_line_chart",chartKnowledge:{id:$,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:Z({data:e,chartType:$,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:Z({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(41468);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var P=l(69753);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,R=e=>{let{data:t,chartType:l,scopeOfCharts:m,ruleConfig:v}=e,g=C(t),{mode:j}=(0,y.useContext)(O.p),[w,b]=(0,y.useState)(),[_,N]=(0,y.useState)([]),[$,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 R=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=R(t);N(l),k(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(g),w,l]);let V=(0,y.useMemo)(()=>{if((null==_?void 0:_.length)>0){var e,t,l,a;let i=null!=$?$:_[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=Z({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,$]);return $?(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:$,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($)),icon:(0,n.jsx)(P.Z,{}),type:"text"})})})]}),(0,n.jsx)("div",{className:"flex",children:V})]}):(0,n.jsx)(c.Z,{image:c.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156: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(85893),a=l(41118),i=l(30208),r=l(40911),s=l(41468),o=l(99802),d=l(67294);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(61685),m=l(96486);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(21332),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)))})}},96307:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return P}});var n=l(85893),a=l(67294),i=l(65654),r=l(42611),s=l(83062),o=l(34041),d=l(14726),c=l(16165),u=l(55102),h=l(41952),m=l(74434),v=l(30119),f=l(39332),p=l(34625),x=l(39156),y=l(37653),g=l(43929),j=l(14313),w=l(36986);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 Z=l(93967),C=l.n(Z),$=l(91085),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:C()("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,{})}),c]})]})}var P=function(){var e,t,l,r,u;let[m,x]=(0,a.useState)([]),[Z,$]=(0,a.useState)(""),[P,M]=(0,a.useState)(),[z,R]=(0,a.useState)(!0),[V,I]=(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)?I({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}):I(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(Z),r=a.substring(0,i),o=a.slice(i+Z.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:Z}),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])):[]},[Z,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:C()("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([]);$(t),R(!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),R(!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:C()("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:C()("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:C()("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:C()("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:V})},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})]})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return O}});var n=l(85893),a=l(67294),i=l(45360),r=l(83062),s=l(2913),o=l(14726),d=l(49591),c=l(88484),u=l(29158),h=l(76212),m=l(41468),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:Z}=(0,a.useContext)(m.p),C=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])},$=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:Z,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:C,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:$,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(23293);var p=l(78045),x=l(16165),y=l(96991),g=l(82353);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(81799),b=l(62418),_=l(2093),N=l(34041),Z=l(23430),C=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)(Z.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},$=l(65654),k=l(67421),S=function(){let{t:e}=(0,k.$G)(),{agent:t,setAgent:l}=(0,a.useContext)(m.p),{data:i=[]}=(0,$.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)(C,{}),"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,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return h}});var n=l(85893),a=l(41468),i=l(19284),r=l(34041),s=l(25675),o=l.n(s),d=l(67294),c=l(67421);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)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),i=l(14726),r=l(93967),s=l.n(r),o=l(67421);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")})}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return c}});var n=l(45360),a=l(87066),i=l(83454);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(96486);var s=l(62418);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)})},23293:function(){},36459: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/4451.3679f68a9cadba83.js b/dbgpt/app/static/web/_next/static/chunks/4451.3679f68a9cadba83.js new file mode 100644 index 000000000..2060d5c69 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4451.3679f68a9cadba83.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4451],{96991:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},37653:function(e,t,l){"use strict";var n=l(87462),a=l(67294),i=l(26554),r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},43929:function(e,t,l){"use strict";var n=l(87462),a=l(67294),i=l(50756),r=l(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},36986:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49591:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},88484:function(e,t,l){"use strict";l.d(t,{Z:function(){return s}});var n=l(87462),a=l(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(r.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},99134:function(e,t,l){"use strict";var n=l(67294);let a=(0,n.createContext)({});t.Z=a},21584:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(53124),s=l(99134),o=l(6999),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 d(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=c(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=l("col",v),[C,$,k]=(0,o.cG)(Z),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),{[`${Z}-${t}-${l.span}`]:void 0!==l.span,[`${Z}-${t}-order-${l.order}`]:l.order||0===l.order,[`${Z}-${t}-offset-${l.offset}`]:l.offset||0===l.offset,[`${Z}-${t}-push-${l.push}`]:l.push||0===l.push,[`${Z}-${t}-pull-${l.pull}`]:l.pull||0===l.pull,[`${Z}-rtl`]:"rtl"===a}),l.flex&&(O[`${Z}-${t}-flex`]=!0,S[`--${Z}-${t}-flex`]=d(l.flex))});let E=i()(Z,{[`${Z}-${f}`]:void 0!==f,[`${Z}-order-${p}`]:p,[`${Z}-offset-${x}`]:x,[`${Z}-push-${y}`]:y,[`${Z}-pull-${g}`]:g},j,O,$,k),P={};if(h&&h[0]>0){let e=h[0]/2;P.paddingLeft=e,P.paddingRight=e}return b&&(P.flex=d(b),!1!==m||P.minWidth||(P.minWidth=0)),C(n.createElement("div",Object.assign({},N,{style:Object.assign(Object.assign(Object.assign({},P),_),S),className:E,ref:t}),w))});t.Z=h},92820:function(e,t,l){"use strict";var n=l(67294),a=l(93967),i=l.n(a),r=l(74443),s=l(53124),o=l(99134),c=l(6999),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 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=d(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}),Z=u(h,_),C=u(a,_),$=n.useRef(p),k=(0,r.ZP)();n.useEffect(()=>{let e=k.subscribe(e=>{N(e);let t=$.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,c.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;V&&(R.marginLeft=V,R.marginRight=V);let[I,T]=M;R.rowGap=T;let D=n.useMemo(()=>({gutter:[I,T],wrap:x}),[I,T,x]);return O(n.createElement(o.Z.Provider,{value:D},n.createElement("div",Object.assign({},y,{className:z,style:Object.assign(Object.assign({},R),v),ref:t}),f)))});t.Z=h},6999:function(e,t,l){"use strict";l.d(t,{VM:function(){return d},cG:function(){return u}});var n=l(47648),a=l(83559),i=l(87893);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),c=(e,t,l)=>({[`@media (min-width: ${(0,n.bf)(t)})`]:Object.assign({},o(e,l))}),d=(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=>c(t,l[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]},()=>({}))},21332:function(e,t,l){"use strict";l.d(t,{_:function(){return R},a:function(){return M}});var n=l(85893),a=l(41468),i=l(64371),r=l(69753),s=l(99802),o=l(34041),c=l(71230),d=l(15746),u=l(42075),h=l(83062),m=l(14726),v=l(32983),f=l(96486),p=l(67294);let x=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var y=l(64352),g=l(8625);let j=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 y.w({ckbCfg:i,ruleCfg:r});return s},w=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 g.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:[]};function b(e,t){return t.every(t=>e.includes(t))}function _(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 N(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function Z(e){return e.find(e=>e.levelOfMeasurements&&b(e.levelOfMeasurements,["Nominal"]))}let C=e=>{let{data:t,xField:l}=e,n=(0,f.uniq)(t.map(e=>e[l]));return n.length<=1},$=(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 C({data:i,xField:a.name})?5:void 0}return(null==a?void 0:a.name)&&C({data:t,xField:a.name})?5:void 0},k=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},S=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})},O="multi_line_chart",E="multi_measure_line_chart",P=[{chartType:"multi_line_chart",chartKnowledge:{id:O,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=N(t),i=Z(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&&b(e.levelOfMeasurements,["Interval"])))&&void 0!==n?n:[s[0]],c=s.filter(e=>!o.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&b(e.levelOfMeasurements,["Nominal"]));if(!r||!o)return null;let d={type:"view",autoFit:!0,data:k({data:e,chartType:O,xField:r}),children:[]};return o.forEach(l=>{let n={type:"line",encode:{x:_(r.name,t),y:l.name,size:t=>$(t,e,{field4Split:c,field4X:r})},legend:{size:!1}};c&&(n.encode.color=c.name),d.children.push(n)}),d}},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=>b(e.levelOfMeasurements,["Interval"])),n=Z(t),a=N(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:E,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=Z(t))&&void 0!==l?l:N(t))&&void 0!==n?n:t[0],i=null==t?void 0:t.filter(e=>e.name!==(null==a?void 0:a.name)&&b(e.levelOfMeasurements,["Interval"]));if(!a||!i)return null;let r={type:"view",data:k({data:e,chartType:E,xField:a}),children:[]};return null==i||i.forEach(l=>{let n={type:"line",encode:{x:_(a.name,t),y:l.name,color:()=>l.name,series:()=>l.name,size:t=>$(t,e,{field4X:a})},legend:{size:!1}};r.children.push(n)}),r}catch(e){return console.log(e),null}}},chineseName:"折线图"}],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}=o.default,R=e=>{let{data:t,chartType:l,scopeOfCharts:y,ruleConfig:g}=e,b=S(t),{mode:_}=(0,p.useContext)(a.p),[N,Z]=(0,p.useState)(),[C,$]=(0,p.useState)([]),[O,E]=(0,p.useState)(),M=(0,p.useRef)();(0,p.useEffect)(()=>{Z(j({charts:P,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:g}))},[g,y]);let R=e=>{if(!N)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=N.dataAnalyzer.execute({data:b});if("data"in n){var a;let t=N.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,p.useEffect)(()=>{if(b&&N){var e;let t=w({data:b,myChartAdvisor:N}),l=R(t);$(l),E(null===(e=l[0])||void 0===e?void 0:e.type)}},[JSON.stringify(b),N,l]);let V=(0,p.useMemo)(()=>{if((null==C?void 0:C.length)>0){var e,t,l,a;let i=null!=O?O:C[0].type,r=null!==(t=null===(e=null==C?void 0:C.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==N?void 0:N.dataAnalyzer.execute({data:b});e&&"dataProps"in e&&(r.data=k({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)(s.k,{options:{...r,autoFit:!0,theme:_,height:300},ref:M},i)}}},[C,_,O]);return O?(0,n.jsxs)("div",{children:[(0,n.jsxs)(c.Z,{justify:"space-between",className:"mb-2",children:[(0,n.jsx)(d.Z,{children:(0,n.jsxs)(u.Z,{children:[(0,n.jsx)("span",{children:i.Z.t("Advices")}),(0,n.jsx)(o.default,{className:"w-52",value:O,placeholder:"Chart Switcher",onChange:e=>E(e),size:"small",children:null==C?void 0:C.map(e=>{let t=i.Z.t(e.type);return(0,n.jsx)(z,{value:e.type,children:(0,n.jsx)(h.Z,{title:t,placement:"right",children:(0,n.jsx)("div",{children:t})})},e.type)})})]})}),(0,n.jsx)(d.Z,{children:(0,n.jsx)(h.Z,{title:i.Z.t("Download"),children:(0,n.jsx)(m.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=x(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,i.Z.t(O)),icon:(0,n.jsx)(r.Z,{}),type:"text"})})})]}),(0,n.jsx)("div",{className:"flex",children:V})]}):(0,n.jsx)(v.Z,{image:v.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156: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(85893),a=l(41118),i=l(30208),r=l(40911),s=l(67294),o=l(41468),c=l(99802);function d(e){let{chart:t}=e,{mode:l}=(0,s.useContext)(o.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)(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,s.useContext)(o.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)(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 h=l(61685),m=l(96486);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(21332),p=function(e){let{chartsData:t}=e,l=(0,s.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)(d,{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)))})}},96307:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return P}});var n=l(85893),a=l(30119),i=l(16165),r=l(65654),s=l(55102),o=l(42611),c=l(83062),d=l(34041),u=l(41952),h=l(14726),m=l(39332),v=l(67294),f=l(39156),p=l(34625),x=l(74434),y=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"})})},g=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"})})},j=l(37653),w=l(43929),b=l(14313),_=l(36986),N=l(93967),Z=l.n(N),C=l(91085);function $(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",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"}),(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"})]})}function k(){return(0,n.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",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"})})}function S(){return(0,n.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",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"}),(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",fillOpacity:".5"}),(0,n.jsx)("path",{d:"M394.4 690.3h236.2v236.3H394.4z",fill:"#A1E6C9","data-spm-anchor-id":"a313x.search_index.0.i13.27343a81CqKUWU"}),(0,n.jsx)("path",{d:"M689.7 395h236.2v236.3H689.7z",fill:"#1ECD93",fillOpacity:".5"}),(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","data-spm-anchor-id":"a313x.search_index.0.i17.27343a81CqKUWU"})]})}let{Search:O}=s.default;function E(e){let{layout:t="LR",editorValue:l,chartData:a,tableData:i,tables:r,handleChange:s}=e,c=(0,v.useMemo)(()=>a?(0,n.jsx)("div",{className:"flex-1 overflow-auto p-2",style:{flexShrink:0,overflow:"hidden"},children:(0,n.jsx)(f.ZP,{chartsData:[a]})}):null,[a]),{columns:d,dataSource:u}=(0,v.useMemo)(()=>{let{columns:e=[],values:t=[]}=null!=i?i:{},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}},[i]),h=(0,v.useMemo)(()=>{let e={},t=null==r?void 0:r.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]:[]}},[r]);return(0,n.jsxs)("div",{className:Z()("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)(x.Z,{value:(null==l?void 0:l.sql)||"",language:"mysql",onChange:s,thoughts:(null==l?void 0:l.thoughts)||"",session:h})}),(0,n.jsxs)("div",{className:"flex-1 h-full overflow-auto bg-white dark:bg-theme-dark-container rounded p-4",children:[(null==i?void 0:i.values.length)?(0,n.jsx)(o.Z,{bordered:!0,scroll:{x:"auto"},rowKey:d[0].key,columns:d,dataSource:u}):(0,n.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,n.jsx)(C.Z,{})}),c]})]})}var P=function(){var e,t,l,s,o;let[f,x]=(0,v.useState)([]),[N,C]=(0,v.useState)(""),[P,M]=(0,v.useState)(),[z,R]=(0,v.useState)(!0),[V,I]=(0,v.useState)(),[T,D]=(0,v.useState)(),[H,L]=(0,v.useState)(),[q,A]=(0,v.useState)(),[B,F]=(0,v.useState)(),[U,Q]=(0,v.useState)(!1),[G,K]=(0,v.useState)("TB"),W=(0,m.useSearchParams)(),X=null==W?void 0:W.get("id"),J=null==W?void 0:W.get("scene"),{data:Y}=(0,r.Z)(async()=>await (0,a.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:ee,loading:et}=(0,r.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,a.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:el,loading:en}=(0,r.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,a.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)?I({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}):I(void 0)}}}),{run:ea,loading:ei}=(0,r.Z)(async()=>{var e,t,l,n,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,a.PR)("/api/v1/sql/editor/submit",{conv_uid:X,db_name:r,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===(i=l[1])||void 0===i?void 0:i.trim())||(null==H?void 0:H.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&ee()}}),{run:er,loading:es}=(0,r.Z)(async()=>{var e,t,l,n,i,r;let s=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,a.PR)("/api/v1/chart/editor/submit",{conv_uid:X,chart_title:null==H?void 0:H.title,db_name:s,old_sql:null==T?void 0:null===(l=T[null!=B?B:0])||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===(i=H.thoughts)||void 0===i?void 0:i.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(r=n[1])||void 0===r?void 0:r.trim())||(null==H?void 0:H.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&el()}}),{data:eo}=(0,r.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,a.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===(s=Y.data)||void 0===s?void 0:s.find(e=>e.round===P))||void 0===l?void 0:l.db_name]}),{run:ec}=(0,r.Z)(async e=>await (0,a.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)}}}),ed=(0,v.useMemo)(()=>{let e=(t,l)=>t.map(t=>{let a=t.title,i=a.indexOf(N),r=a.substring(0,i),s=a.slice(i+N.length),o=e=>{switch(e){case"db":return(0,n.jsx)($,{});case"table":return(0,n.jsx)(S,{});default:return(0,n.jsx)(k,{})}},d=i>-1?(0,n.jsx)(c.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:[o(t.type),"\xa0\xa0\xa0",r,(0,n.jsx)("span",{className:"text-[#1677ff]",children:N}),s,"\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)(c.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:[o(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:d,key:n,children:e(t.children,n)}}return{title:a,showTitle:d,key:t.key}});return(null==eo?void 0:eo.data)?(x([null==eo?void 0:eo.data.key]),e([null==eo?void 0:eo.data])):[]},[N,eo]),eu=(0,v.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:eh(e,a.children)&&(l=eh(e,a.children)))}return l};function em(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,v.useEffect)(()=>{P&&ec(P)},[ec,P]),(0,v.useEffect)(()=>{T&&"chat_dashboard"===J&&B&&el()},[B,J,T,el]),(0,v.useEffect)(()=>{T&&"chat_dashboard"!==J&&ee()},[J,T,ee]),(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:Z()("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)(d.default,{size:"middle",className:"w-full mb-2",value:P,options:null==Y?void 0:null===(o=Y.data)||void 0===o?void 0:o.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==eo?void 0:eo.data){if(t){let e=eu.map(e=>e.title.indexOf(t)>-1?eh(e.key,ed):null).filter((e,t,l)=>e&&l.indexOf(e)===t);x(e)}else x([]);C(t),R(!0)}}}),ed&&ed.length>0&&(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,n.jsx)(u.Z,{onExpand:e=>{x(e),R(!1)},expandedKeys:f,autoExpandParent:z,treeData:ed,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)(w.Z,{}):(0,n.jsx)(j.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)(h.ZP,{className:"text-xs rounded-none",size:"small",type:"primary",icon:(0,n.jsx)(b.Z,{}),loading:et||en,onClick:async()=>{"chat_dashboard"===J?el():ee()},children:"Run"}),(0,n.jsx)(h.ZP,{className:"text-xs rounded-none",type:"primary",size:"small",loading:ei||es,icon:(0,n.jsx)(_.Z,{}),onClick:async()=>{"chat_dashboard"===J?await er():await ea()},children:"Save"})]}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(i.Z,{className:Z()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"TB"===G}),component:g,onClick:()=>{K("TB")}}),(0,n.jsx)(i.Z,{className:Z()("flex items-center justify-center w-6 h-6 text-lg rounded",{"bg-theme-primary bg-opacity-10":"LR"===G}),component:y,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)(c.Z,{className:"inline-block",title:e.title,children:(0,n.jsx)("div",{className:Z()("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:Z()("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}=em(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:V})},e.title))})]}):(0,n.jsx)(E,{layout:G,editorValue:T,handleChange:e=>{let{sql:t,thoughts:l}=em(e);L(e=>Object.assign({},e,{sql:t,thoughts:l}))},tableData:q,chartData:void 0,tables:eo})]})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return O}});var n=l(85893),a=l(41468),i=l(81799),r=l(82353),s=l(16165),o=l(96991),c=l(78045),d=l(67294);function u(){let{isContract:e,setIsContract:t,scene:l}=(0,d.useContext)(a.p),i=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return i?(0,n.jsxs)(c.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(c.ZP.Button,{value:!1,children:[(0,n.jsx)(s.Z,{component:r.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(c.ZP.Button,{value:!0,children:[(0,n.jsx)(o.Z,{className:"mr-1"}),"Editor"]})]}):null}l(23293);var h=l(76212),m=l(65654),v=l(34041),f=l(67421),p=function(){let{t:e}=(0,f.$G)(),{agent:t,setAgent:l}=(0,d.useContext)(a.p),{data:i=[]}=(0,m.Z)(async()=>{let[,e]=await (0,h.Vx)((0,h.H4)());return null!=e?e:[]});return(0,n.jsx)(v.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)}})},x=l(29158),y=l(49591),g=l(88484),j=l(45360),w=l(83062),b=l(2913),_=l(14726),N=function(e){var t;let{convUid:l,chatMode:i,onComplete:r,...s}=e,[o,c]=(0,d.useState)(!1),[u,m]=j.ZP.useMessage(),[v,f]=(0,d.useState)([]),[p,N]=(0,d.useState)(),{model:Z}=(0,d.useContext)(a.p),C=async e=>{var t;if(!e){j.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){j.ZP.error("File type must be csv, xlsx or xls");return}f([e.file])},$=async()=>{c(!0);try{let e=new FormData;e.append("doc_file",v[0]),u.open({content:"Uploading ".concat(v[0].name),type:"loading",duration:0});let[t]=await (0,h.Vx)((0,h.qn)({convUid:l,chatMode:i,data:e,model:Z,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;j.ZP.success("success"),null==r||r()}catch(e){j.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{c(!1),u.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[m,(0,n.jsx)(w.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(b.default,{disabled:o,className:"mr-1",beforeUpload:()=>!1,fileList:v,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...s,children:(0,n.jsx)(_.ZP,{className:"flex justify-center items-center",type:"primary",disabled:o,icon:(0,n.jsx)(y.Z,{}),children:"Select File"})})}),(0,n.jsx)(_.ZP,{type:"primary",loading:o,className:"flex justify-center items-center",disabled:!v.length,icon:(0,n.jsx)(g.Z,{}),onClick:$,children:o?100===p?"Analysis":"Uploading":"Upload"}),!!v.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>f([]),children:[(0,n.jsx)(x.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=v[0])||void 0===t?void 0:t.name})]})]})})},Z=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:i,chatId:r}=(0,d.useContext)(a.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)(x.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)(N,{convUid:r,chatMode:i,onComplete:t})})},C=l(23430),$=l(62418),k=l(2093),S=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,d.useContext)(a.p),[i,r]=(0,d.useState)([]);(0,k.Z)(async()=>{let[,t]=await (0,h.Vx)((0,h.vD)(e));r(null!=t?t:[])},[e]);let s=(0,d.useMemo)(()=>{var e;return null===(e=i.map)||void 0===e?void 0:e.call(i,e=>({name:e.param,...$.S$[e.type]}))},[i]);return((0,d.useEffect)(()=>{(null==s?void 0:s.length)&&!t&&l(s[0].name)},[s,l,t]),null==s?void 0:s.length)?(0,n.jsx)(v.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:s.map(e=>(0,n.jsxs)(v.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},O=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:r,refreshDialogList:s}=(0,d.useContext)(a.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)(i.Z,{onChange:l}),(0,n.jsx)(S,{}),"chat_excel"===r&&(0,n.jsx)(Z,{onComplete:()=>{null==s||s(),null==t||t()}}),"chat_agent"===r&&(0,n.jsx)(p,{}),(0,n.jsx)(u,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return h}});var n=l(85893),a=l(41468),i=l(19284),r=l(34041),s=l(25675),o=l.n(s),c=l(67294),d=l(67421);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,d.$G)(),{modelList:s,model:o}=(0,c.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)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),i=l(14726),r=l(93967),s=l.n(r),o=l(67421);t.Z=function(e){let{className:t,error:l,description:r,refresh:c}=e,{t:d}=(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:c,children:d("try_again")}):null!=r?r:d("no_data")})}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(62418),a=l(45360);l(96486);var i=l(87066),r=l(83454);let s=i.default.create({baseURL:r.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e));let o={"content-type":"application/json","User-Id":(0,n.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 s.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>s.post(e,t,{headers:o}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},23293:function(){},36459: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/4567-d1df11aa7b25e1cf.js b/dbgpt/app/static/web/_next/static/chunks/4567-31022b4e8fe3200a.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/4567-d1df11aa7b25e1cf.js rename to dbgpt/app/static/web/_next/static/chunks/4567-31022b4e8fe3200a.js diff --git a/dbgpt/app/static/web/_next/static/chunks/4769.e22bd26c9f9cb6b0.js b/dbgpt/app/static/web/_next/static/chunks/4769.e22bd26c9f9cb6b0.js deleted file mode 100644 index 6182d7783..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/4769.e22bd26c9f9cb6b0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4769],{36517:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eE}});var n=l(85893),a=l(67294),s=l(2093),r=l(43446),o=l(41468),i=l(76212),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(62418),u=l(87740),x=l(85175),m=l(66478),h=l(14553),p=l(45360),f=l(83062),v=l(85576),g=l(93967),j=l.n(g),w=l(20640),b=l.n(w),y=l(96486),Z=l(39332),_=l(67421),N=l(27496),C=l(55102),P=l(14726),k=l(11163),S=l(82353),R=l(1051);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(45128),F=l(2913);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(2487),L=l(28459),O=l(55241),$=l(8232),A=l(34041),V=l(37364),G=l(65654),z=l(30119);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(95988),J=l(30853),Q=l(14660),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(30071),X=l(79090),Y=l(28508),ee=l(88284),et=l(50228),el=l(87547),en=l(89035),ea=l(66309),es=l(81799);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(59301),ed=l(41132),eu=l(74312),ex=l(3414),em=l(72868),eh=l(59562),ep=l(25359),ef=l(7203),ev=l(48665),eg=l(26047),ej=l(99056),ew=l(57814),eb=l(64415),ey=l(21694),eZ=l(40911),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(74434),eC=l(91085),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(34625),eS=l(39156),eR=l(45247),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})})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(85893),a=l(67294),s=l(45360),r=l(83062),o=l(2913),i=l(14726),c=l(49591),d=l(88484),u=l(29158),x=l(76212),m=l(41468),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(23293);var f=l(78045),v=l(16165),g=l(96991),j=l(82353);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(81799),y=l(62418),Z=l(2093),_=l(34041),N=l(23430),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(65654),k=l(67421),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,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(85893),a=l(41468),s=l(19284),r=l(34041),o=l(25675),i=l.n(o),c=l(67294),d=l(67421);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)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),s=l(14726),r=l(93967),o=l.n(r),i=l(67421);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")})}},45247:function(e,t,l){"use strict";var n=l(85893),a=l(79090);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}},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(45360),a=l(87066),s=l(83454);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(96486);var o=l(62418);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)})},23293:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/4769.f492fe3de0649e87.js b/dbgpt/app/static/web/_next/static/chunks/4769.f492fe3de0649e87.js new file mode 100644 index 000000000..572ca8f7b --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/4769.f492fe3de0649e87.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4769],{36517:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return eI}});var n=l(85893),a=l(41468),s=l(76212),r=l(43446),o=l(62418),i=l(2093),c=l(93967),d=l.n(c),u=l(39332),x=l(67294),m=l(39156),h=l(91085),p=l(45247),f=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:o}=(0,x.useContext)(a.p),{chat:i}=(0,r.Z)({queryAgentURL:"/knowledge/document/summary"}),c=(0,x.useCallback)(async e=>{let[,a]=await (0,s.Vx)((0,s.$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}],c=r.length-1;t([...r]),await i({data:{doc_id:e||o,model_name:n},chatId:l,onMessage:e=>{r[c].context=e,t([...r])}})},[e,n,o,l]);return c},v=l(87740),g=l(85175),j=l(66478),w=l(14553),b=l(45360),y=l(83062),Z=l(85576),_=l(20640),N=l.n(_),C=l(96486),P=l(67421),k=l(27496),S=l(55102),R=l(14726),E=l(11163),I=l(82353),D=l(1051);function F(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(I.Rp,{});case"FINISHED":default:return(0,n.jsx)(I.s2,{});case"FAILED":return(0,n.jsx)(D.Z,{})}}function M(e){let{documents:t,dbParam:l}=e,a=(0,E.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)(y.Z,{title:e.result,children:(0,n.jsxs)(R.ZP,{style:{color:t},onClick:()=>{s(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(F,{document:e}),e.doc_name]})},e.id)})}):null}var U=l(45128),L=l(2913);function O(e){let{dbParam:t,setDocId:l}=(0,x.useContext)(a.p),{onUploadFinish:r,handleFinish:o}=e,i=f(),[c,d]=(0,x.useState)(!1),u=async e=>{d(!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,s.Vx)((0,s.iG)(t||"default",n));if(!a[1]){d(!1);return}l(a[1]),r(),d(!1),null==o||o(!0),await i(a[1]),null==o||o(!1)};return(0,n.jsx)(L.default,{customRequest:u,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)(R.ZP,{loading:c,size:"small",shape:"circle",icon:(0,n.jsx)(U.Z,{})})})}var $=l(30119),A=l(65654),V=l(2487),G=l(28459),z=l(55241),H=l(8232),q=l(34041),B=l(37364);let T=e=>{let{data:t,loading:l,submit:a,close:s}=e,{t:r}=(0,P.$G)(),o=e=>()=>{a(e),s()};return(0,n.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,n.jsx)(V.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,n.jsx)(V.Z.Item,{onClick:o(e.content),children:(0,n.jsx)(y.Z,{title:e.content,children:(0,n.jsx)(V.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 J=e=>{let{submit:t}=e,{t:l}=(0,P.$G)(),[a,s]=(0,x.useState)(!1),[r,o]=(0,x.useState)("common"),{data:i,loading:c}=(0,A.Z)(()=>(0,$.PR)("/prompt/list",{prompt_type:r}),{refreshDeps:[r],onError:e=>{b.ZP.error(null==e?void 0:e.message)}});return(0,n.jsx)(G.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,n.jsx)(z.Z,{title:(0,n.jsx)(H.default.Item,{label:"Prompt "+l("Type"),children:(0,n.jsx)(q.default,{style:{width:150},value:r,onChange:e=>{o(e)},options:[{label:l("Public")+" Prompts",value:"common"},{label:l("Private")+" Prompts",value:"private"}]})}),content:(0,n.jsx)(T,{data:i,loading:c,submit:t,close:()=>{s(!1)}}),placement:"topRight",trigger:"click",open:a,onOpenChange:e=>{s(e)},children:(0,n.jsx)(y.Z,{title:l("Click_Select")+" Prompt",children:(0,n.jsx)(B.Z,{className:"bottom-[30%]"})})})})},Q=function(e){let{children:t,loading:l,onSubmit:r,handleFinish:o,placeholder:i,...c}=e,{dbParam:d,scene:u}=(0,x.useContext)(a.p),[m,h]=(0,x.useState)(""),p=(0,x.useMemo)(()=>"chat_knowledge"===u,[u]),[f,v]=(0,x.useState)([]),g=(0,x.useRef)(0);async function j(){if(!d)return null;let[e,t]=await (0,s.Vx)((0,s._Q)(d,{page:1,page_size:g.current}));v((null==t?void 0:t.data)||[])}(0,x.useEffect)(()=>{p&&j()},[d]);let w=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(M,{documents:f,dbParam:d}),p&&(0,n.jsx)(O,{handleFinish:o,onUploadFinish:w,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(S.default.TextArea,{className:"flex-1 ".concat(p?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...c,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}r(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof c.maxLength){h(e.target.value.substring(0,c.maxLength));return}h(e.target.value)},placeholder:i}),(0,n.jsx)(R.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(k.Z,{}),onClick:()=>{r(m)}}),(0,n.jsx)(J,{submit:e=>{h(m+e)}}),t]})},W=l(38292),K=l(14660),X=l(30853),Y=(0,x.memo)(function(e){var t;let{content:l}=e,{scene:s}=(0,x.useContext)(a.p),r="view"===l.role;return(0,n.jsx)("div",{className:d()("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)(W.Z,{components:X.Z,rehypePlugins:[K.Z],children:null==(t=l.context)?void 0:t.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}):(0,n.jsx)("div",{className:"",children:l.context})})}),ee=l(30071),et=l(79090),el=l(28508),en=l(88284),ea=l(50228),es=l(87547),er=l(89035),eo=l(66309),ei=l(28643),ec=l(81799);let ed={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(ee.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(et.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(el.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(en.Z,{className:"ml-2"})}};function eu(e){return e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}var ex=(0,x.memo)(function(e){let{children:t,content:l,isChartChat:s,onLinkClick:r}=e,{scene:o}=(0,x.useContext)(a.p),{context:i,model_name:c,role:u}=l,m="view"===u,{relations:h,value:p,cachePluginContext:f}=(0,x.useMemo)(()=>{if("string"!=typeof i)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=i.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:eu(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}},[i]),v=(0,x.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,a=+l.toString();if(!f[a])return l;let{name:s,status:r,err_msg:o,result:i}=f[a],{bgClass:c,icon:u}=null!==(t=ed[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:d()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[s,u]}),i?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(ei.D,{components:X.Z,rehypePlugins:[K.Z],children:null!=i?i:""})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:o})]})}}),[i,f]);return m||i?(0,n.jsxs)("div",{className:d()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":m,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(o)}),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:m?(0,ec.A)(c)||(0,n.jsx)(ea.Z,{}):(0,n.jsx)(es.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!m&&"string"==typeof i&&i,m&&s&&"object"==typeof i&&(0,n.jsxs)("div",{children:["[".concat(i.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:r,children:[(0,n.jsx)(er.Z,{className:"mr-1"}),i.template_introduce||"More Details"]})]}),m&&"string"==typeof i&&(0,n.jsx)(W.Z,{components:{...X.Z,...v},rehypePlugins:[K.Z],children:eu(p)}),!!(null==h?void 0:h.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==h?void 0:h.map((e,t)=>(0,n.jsx)(eo.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),em=l(59301),eh=l(41132),ep=l(74312),ef=l(3414),ev=l(72868),eg=l(59562),ej=l(25359),ew=l(7203),eb=l(48665),ey=l(26047),eZ=l(99056),e_=l(57814),eN=l(64415),eC=l(21694),eP=l(40911),ek=e=>{var t;let{conv_index:l,question:r,knowledge_space:o,select_param:i}=e,{t:c}=(0,P.$G)(),{chatId:d}=(0,x.useContext)(a.p),[u,m]=(0,x.useState)(""),[h,p]=(0,x.useState)(4),[f,v]=(0,x.useState)(""),g=(0,x.useRef)(null),[Z,_]=b.ZP.useMessage(),N=(0,x.useCallback)((e,t)=>{t?(0,s.Vx)((0,s.Eb)(d,l)).then(e=>{var t,l,n,a;let s=null!==(t=e[1])&&void 0!==t?t:{};m(null!==(l=s.ques_type)&&void 0!==l?l:""),p(parseInt(null!==(n=s.score)&&void 0!==n?n:"4")),v(null!==(a=s.messages)&&void 0!==a?a:"")}).catch(e=>{console.log(e)}):(m(""),p(4),v(""))},[d,l]),C=(0,ep.Z)(ef.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)(ev.L,{onOpenChange:N,children:[_,(0,n.jsx)(y.Z,{title:c("Rating"),children:(0,n.jsx)(eg.Z,{slots:{root:w.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(em.Z,{})})}),(0,n.jsxs)(ej.Z,{children:[(0,n.jsx)(ew.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(eb.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault(),(0,s.Vx)((0,s.VC)({data:{conv_uid:d,conv_index:l,question:r,knowledge_space:o,score:h,ques_type:u,messages:f}})).then(e=>{Z.open({type:"success",content:"save success"})}).catch(e=>{Z.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(ey.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(ey.Z,{xs:3,children:(0,n.jsx)(C,{children:c("Q_A_Category")})}),(0,n.jsx)(ey.Z,{xs:10,children:(0,n.jsx)(eZ.Z,{action:g,value:u,placeholder:"Choose one…",onChange:(e,t)=>m(null!=t?t:""),...u&&{endDecorator:(0,n.jsx)(w.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;m(""),null===(e=g.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(eh.Z,{})}),indicator:null},sx:{width:"100%"},children:i&&(null===(t=Object.keys(i))||void 0===t?void 0:t.map(e=>(0,n.jsx)(e_.Z,{value:e,children:i[e]},e)))})}),(0,n.jsx)(ey.Z,{xs:3,children:(0,n.jsx)(C,{children:(0,n.jsx)(y.Z,{title:(0,n.jsx)(eb.Z,{children:(0,n.jsx)("div",{children:c("feed_back_desc")})}),variant:"solid",placement:"left",children:c("Q_A_Rating")})})}),(0,n.jsx)(ey.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eN.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:c("Lowest"),1:c("Missed"),2:c("Lost"),3:c("Incorrect"),4:c("Verbose"),5:c("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 p(null===(t=e.target)||void 0===t?void 0:t.value)},value:h})}),(0,n.jsx)(ey.Z,{xs:13,children:(0,n.jsx)(eC.Z,{placeholder:c("Please_input_the_text"),value:f,onChange:e=>v(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(eP.ZP,{level:"body-xs",sx:{ml:"auto"},children:c("input_count")+f.length+c("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(ey.Z,{xs:13,children:(0,n.jsx)(j.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:c("submit")})})]})})})]})]})},eS=l(74434),eR=e=>{var t,l;let{messages:r,onSubmit:c}=e,{dbParam:m,currentDialogue:p,scene:_,model:k,refreshDialogList:S,chatId:R,agent:E,docId:I}=(0,x.useContext)(a.p),{t:D}=(0,P.$G)(),F=(0,u.useSearchParams)(),M=null!==(t=F&&F.get("select_param"))&&void 0!==t?t:"",U=null!==(l=F&&F.get("spaceNameOriginal"))&&void 0!==l?l:"",[L,O]=(0,x.useState)(!1),[$,A]=(0,x.useState)(!1),[V,G]=(0,x.useState)(r),[z,H]=(0,x.useState)(""),[q,B]=(0,x.useState)(),T=(0,x.useRef)(null),J=(0,x.useMemo)(()=>"chat_dashboard"===_,[_]),W=f(),K=(0,x.useMemo)(()=>{switch(_){case"chat_agent":return E;case"chat_excel":return null==p?void 0:p.select_param;case"chat_flow":return M;default:return U||m}},[_,E,p,m,U,M]),X=async e=>{if(!L&&e.trim()){if("chat_agent"===_&&!E){b.ZP.warning(D("choice_agent_tip"));return}try{O(!0),await c(e,{select_param:null!=K?K:""})}finally{O(!1)}}},ee=e=>{try{return JSON.parse(e)}catch(t){return e}},[et,el]=b.ZP.useMessage(),en=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=N()(t);l?t?et.open({type:"success",content:D("copy_success")}):et.open({type:"warning",content:D("copy_nothing")}):et.open({type:"error",content:D("copy_failed")})},ea=async()=>{!L&&I&&(O(!0),await W(I),O(!1))};return(0,i.Z)(async()=>{let e=(0,o.a_)();e&&e.id===R&&(await X(e.message),S(),localStorage.removeItem(o.rU))},[R]),(0,x.useEffect)(()=>{let e=r;J&&(e=(0,C.cloneDeep)(r).map(e=>((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=ee(null==e?void 0:e.context)),e))),G(e.filter(e=>["view","human"].includes(e.role)))},[J,r]),(0,x.useEffect)(()=>{(0,s.Vx)((0,s.Lu)()).then(e=>{var t;B(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]),(0,x.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:[el,(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:V.length?V.map((e,t)=>{var l;return"chat_agent"===_?(0,n.jsx)(Y,{content:e},t):(0,n.jsx)(ex,{content:e,isChartChat:J,onLinkClick:()=>{A(!0),H(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"===_&&e.retry?(0,n.jsxs)(j.Z,{onClick:ea,slots:{root:w.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(v.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:D("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(ek,{select_param:q,conv_index:Math.ceil((t+1)/2),question:null===(l=null==V?void 0:V.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:U||m||""}),(0,n.jsx)(y.Z,{title:D("Copy_Btn"),children:(0,n.jsx)(j.Z,{onClick:()=>en(null==e?void 0:e.context),slots:{root:w.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(g.Z,{})})})]})]})},t)}):(0,n.jsx)(h.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:d()("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"===_&&!(null==p?void 0:p.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[k&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,ec.A)(k)}),(0,n.jsx)(Q,{loading:L,onSubmit:X,handleFinish:O})]})}),(0,n.jsx)(Z.default,{title:"JSON Editor",open:$,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{A(!1)},onCancel:()=>{A(!1)},children:(0,n.jsx)(eS.Z,{className:"w-full h-[500px]",language:"json",value:z})})]})},eE=l(34625),eI=()=>{var e;let t=(0,u.useSearchParams)(),{scene:l,chatId:c,model:f,agent:v,setModel:g,history:j,setHistory:w}=(0,x.useContext)(a.p),{chat:b}=(0,r.Z)({}),y=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[Z,_]=(0,x.useState)(!1),[N,C]=(0,x.useState)(),P=async()=>{_(!0);let[,e]=await (0,s.Vx)((0,s.$i)(c));w(null!=e?e:[]),_(!1)},k=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;C((null==e?void 0:e.template_name)==="report"?null==e?void 0:e.charts:void 0)}catch(e){console.log(e),C([])}};(0,i.Z)(async()=>{let e=(0,o.a_)();e&&e.id===c||await P()},[y,c]),(0,x.useEffect)(()=>{var e,t;if(!j.length)return;let l=null===(e=null===(t=j.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)&&g(l.model_name),k(j)},[j.length]),(0,x.useEffect)(()=>()=>{w([])},[]);let S=(0,x.useCallback)((e,t)=>new Promise(n=>{let a=[...j,{role:"human",context:e,model_name:f,order:0,time_stamp:0},{role:"view",context:"",model_name:f,order:0,time_stamp:0}],s=a.length-1;w([...a]),b({data:{...t,chat_mode:l||"chat_normal",model_name:f,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?a[s].context+=e:a[s].context=e,w([...a])},onDone:()=>{k(a),n()},onClose:()=>{k(a),n()},onError:e=>{a[s].context=e,w([...a]),n()}})}),[j,b,c,f,v,l]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.Z,{visible:Z}),(0,n.jsx)(eE.Z,{refreshHistory:P,modelChange:e=>{g(e)}}),(0,n.jsxs)("div",{className:"px-4 flex flex-1 flex-wrap overflow-hidden relative",children:[!!(null==N?void 0:N.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)(m.ZP,{chartsData:N})}),!(null==N?void 0:N.length)&&"chat_dashboard"===l&&(0,n.jsx)(h.Z,{className:"w-full xl:w-3/4 h-1/2 xl:h-full"}),(0,n.jsx)("div",{className:d()("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)(eR,{messages:j,onSubmit:S})})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(85893),a=l(41468),s=l(81799),r=l(82353),o=l(16165),i=l(96991),c=l(78045),d=l(67294);function u(){let{isContract:e,setIsContract:t,scene:l}=(0,d.useContext)(a.p),s=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return s?(0,n.jsxs)(c.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(c.ZP.Button,{value:!1,children:[(0,n.jsx)(o.Z,{component:r.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(c.ZP.Button,{value:!0,children:[(0,n.jsx)(i.Z,{className:"mr-1"}),"Editor"]})]}):null}l(23293);var x=l(76212),m=l(65654),h=l(34041),p=l(67421),f=function(){let{t:e}=(0,p.$G)(),{agent:t,setAgent:l}=(0,d.useContext)(a.p),{data:s=[]}=(0,m.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(h.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)}})},v=l(29158),g=l(49591),j=l(88484),w=l(45360),b=l(83062),y=l(2913),Z=l(14726),_=function(e){var t;let{convUid:l,chatMode:s,onComplete:r,...o}=e,[i,c]=(0,d.useState)(!1),[u,m]=w.ZP.useMessage(),[h,p]=(0,d.useState)([]),[f,_]=(0,d.useState)(),{model:N}=(0,d.useContext)(a.p),C=async e=>{var t;if(!e){w.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){w.ZP.error("File type must be csv, xlsx or xls");return}p([e.file])},P=async()=>{c(!0);try{let e=new FormData;e.append("doc_file",h[0]),u.open({content:"Uploading ".concat(h[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:s,data:e,model:N,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);_(t)}}}));if(t)return;w.ZP.success("success"),null==r||r()}catch(e){w.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{c(!1),u.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[m,(0,n.jsx)(b.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(y.default,{disabled:i,className:"mr-1",beforeUpload:()=>!1,fileList:h,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:C,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...o,children:(0,n.jsx)(Z.ZP,{className:"flex justify-center items-center",type:"primary",disabled:i,icon:(0,n.jsx)(g.Z,{}),children:"Select File"})})}),(0,n.jsx)(Z.ZP,{type:"primary",loading:i,className:"flex justify-center items-center",disabled:!h.length,icon:(0,n.jsx)(j.Z,{}),onClick:P,children:i?100===f?"Analysis":"Uploading":"Upload"}),!!h.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>p([]),children:[(0,n.jsx)(v.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=h[0])||void 0===t?void 0:t.name})]})]})})},N=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:s,chatId:r}=(0,d.useContext)(a.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)(v.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)(_,{convUid:r,chatMode:s,onComplete:t})})},C=l(23430),P=l(62418),k=l(2093),S=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,d.useContext)(a.p),[s,r]=(0,d.useState)([]);(0,k.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));r(null!=t?t:[])},[e]);let o=(0,d.useMemo)(()=>{var e;return null===(e=s.map)||void 0===e?void 0:e.call(s,e=>({name:e.param,...P.S$[e.type]}))},[s]);return((0,d.useEffect)(()=>{(null==o?void 0:o.length)&&!t&&l(o[0].name)},[o,l,t]),null==o?void 0:o.length)?(0,n.jsx)(h.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:o.map(e=>(0,n.jsxs)(h.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},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:r,refreshDialogList:o}=(0,d.useContext)(a.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)(s.Z,{onChange:l}),(0,n.jsx)(S,{}),"chat_excel"===r&&(0,n.jsx)(N,{onComplete:()=>{null==o||o(),null==t||t()}}),"chat_agent"===r&&(0,n.jsx)(f,{}),(0,n.jsx)(u,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(85893),a=l(41468),s=l(19284),r=l(34041),o=l(25675),i=l.n(o),c=l(67294),d=l(67421);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)})})}},91085:function(e,t,l){"use strict";var n=l(85893),a=l(32983),s=l(14726),r=l(93967),o=l.n(r),i=l(67421);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")})}},45247:function(e,t,l){"use strict";var n=l(85893),a=l(79090);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}},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},PR:function(){return d}});var n=l(62418),a=l(45360);l(96486);var s=l(87066),r=l(83454);let o=s.default.create({baseURL:r.env.API_BASE_URL});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e));let i={"content-type":"application/json","User-Id":(0,n.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 o.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>o.post(e,t,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},23293:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5102-ac0ec123b5c456ca.js b/dbgpt/app/static/web/_next/static/chunks/5102-86e740a9133090e8.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5102-ac0ec123b5c456ca.js rename to dbgpt/app/static/web/_next/static/chunks/5102-86e740a9133090e8.js diff --git a/dbgpt/app/static/web/_next/static/chunks/5265-d25a28b8e47ce90f.js b/dbgpt/app/static/web/_next/static/chunks/5265-f62f582ca941ed38.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5265-d25a28b8e47ce90f.js rename to dbgpt/app/static/web/_next/static/chunks/5265-f62f582ca941ed38.js diff --git a/dbgpt/app/static/web/_next/static/chunks/5376-56da7b9cd48c6939.js b/dbgpt/app/static/web/_next/static/chunks/5376-374baf8a709dc019.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5376-56da7b9cd48c6939.js rename to dbgpt/app/static/web/_next/static/chunks/5376-374baf8a709dc019.js diff --git a/dbgpt/app/static/web/_next/static/chunks/5418-4cb1198a87b39bf7.js b/dbgpt/app/static/web/_next/static/chunks/5418-eb78d0ca20252b52.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5418-4cb1198a87b39bf7.js rename to dbgpt/app/static/web/_next/static/chunks/5418-eb78d0ca20252b52.js diff --git a/dbgpt/app/static/web/_next/static/chunks/542-0bbd04c86115e00c.js b/dbgpt/app/static/web/_next/static/chunks/542-0bbd04c86115e00c.js new file mode 100644 index 000000000..fd95b3e9e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/542-0bbd04c86115e00c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[542],{94155:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},14313:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},11186:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),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 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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},82061:function(e,t,r){var n=r(87462),o=r(67294),a=r(47046),i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},3471:function(e,t,r){var n=r(87462),o=r(67294),a=r(29245),i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},90725:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},42952:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},20046:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},90598:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},75750:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},i=r(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},96074:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(67294),o=r(93967),a=r.n(o),i=r(53124),l=r(47648),c=r(14747),s=r(83559),d=r(87893);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.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,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 u=(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}}),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 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},h=e=>{let{getPrefixCls:t,direction:r,divider:o}=n.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:f,rootClassName:h,children:b,dashed:m,variant:p="solid",plain:v,style:x}=e,$=g(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",l),[w,O,z]=u(y),Z=!!b,C="left"===s&&null!=d,E="right"===s&&null!=d,S=a()(y,null==o?void 0:o.className,O,z,`${y}-${c}`,{[`${y}-with-text`]:Z,[`${y}-with-text-${s}`]:Z,[`${y}-dashed`]:!!m,[`${y}-${p}`]:"solid"!==p,[`${y}-plain`]:!!v,[`${y}-rtl`]:"rtl"===r,[`${y}-no-default-orientation-margin-left`]:C,[`${y}-no-default-orientation-margin-right`]:E},f,h),k=n.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),B=Object.assign(Object.assign({},C&&{marginLeft:k}),E&&{marginRight:k});return w(n.createElement("div",Object.assign({className:S,style:Object.assign(Object.assign({},null==o?void 0:o.style),x)},$,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${y}-inner-text`,style:B},b)))}},21612:function(e,t,r){r.d(t,{default:function(){return Z}});var n=r(96641),o=r(67294),a=r(93967),i=r.n(a),l=r(98423),c=r(53124),s=r(82401),d=r(50344),f=r(48058),u=r(47648),g=r(83559),h=e=>{let{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:o,lightTriggerColor:a}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:a,background:o},[`${t}-sider-zero-width-trigger`]:{color:a,background:o,border:`1px solid ${r}`,borderInlineStart:0}}}};let b=e=>{let{antCls:t,componentCls:r,colorText:n,triggerColor:o,footerBg:a,triggerBg:i,headerHeight:l,headerPadding:c,headerColor:s,footerPadding:d,triggerHeight:f,zeroTriggerHeight:g,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:o,lineHeight:(0,u.bf)(f),textAlign:"center",background:i,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,insetInlineEnd:e.calc(b).mul(-1).equal(),zIndex:1,width:b,height:g,color:o,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:l,padding:c,color:s,lineHeight:(0,u.bf)(l),background:y,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:d,color:n,fontSize:v,background:a},[`${r}-content`]:{flex:"auto",color:n,minHeight:0}}};var m=(0,g.I$)("Layout",e=>[b(e)],e=>{let{colorBgLayout:t,controlHeight:r,controlHeightLG:n,colorText:o,controlHeightSM:a,marginXXS:i,colorTextLightSolid:l,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:o,footerPadding:`${a}px ${s}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*i,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:o}},{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 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 v(e){let{suffixCls:t,tagName:r,displayName:n}=e;return e=>{let n=o.forwardRef((n,a)=>o.createElement(e,Object.assign({ref:a,suffixCls:t,tagName:r},n)));return n}}let x=o.forwardRef((e,t)=>{let{prefixCls:r,suffixCls:n,className:a,tagName:l}=e,s=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=o.useContext(c.E_),f=d("layout",r),[u,g,h]=m(f),b=n?`${f}-${n}`:f;return u(o.createElement(l,Object.assign({className:i()(r||b,a,g,h),ref:t},s)))}),$=o.forwardRef((e,t)=>{let{direction:r}=o.useContext(c.E_),[a,u]=o.useState([]),{prefixCls:g,className:h,rootClassName:b,children:v,hasSider:x,tagName:$,style:y}=e,w=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),O=(0,l.Z)(w,["suffixCls"]),{getPrefixCls:z,layout:Z}=o.useContext(c.E_),C=z("layout",g),E=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)}(a,v,x),[S,k,B]=m(C),j=i()(C,{[`${C}-has-sider`]:E,[`${C}-rtl`]:"rtl"===r},null==Z?void 0:Z.className,h,b,k,B),I=o.useMemo(()=>({siderHook:{addSider:e=>{u(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{u(t=>t.filter(t=>t!==e))}}}),[]);return S(o.createElement(s.V.Provider,{value:I},o.createElement($,Object.assign({ref:t,className:j,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),y)},O),v)))}),y=v({tagName:"div",displayName:"Layout"})($),w=v({suffixCls:"header",tagName:"header",displayName:"Header"})(x),O=v({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(x),z=v({suffixCls:"content",tagName:"main",displayName:"Content"})(x);y.Header=w,y.Footer=O,y.Content=z,y.Sider=f.Z,y._InternalSiderContext=f.D;var Z=y},45360:function(e,t,r){var n=r(96641),o=r(67294),a=r(38135),i=r(66968),l=r(53124),c=r(28459),s=r(66277),d=r(16474),f=r(84926);let u=null,g=e=>e(),h=[],b={};function m(){let{getContainer:e,duration:t,rtl:r,maxCount:n,top:o}=b,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:r,maxCount:n,top:o}}let p=o.forwardRef((e,t)=>{let{messageConfig:r,sync:n}=e,{getPrefixCls:a}=(0,o.useContext)(l.E_),c=b.prefixCls||a("message"),s=(0,o.useContext)(i.J),[f,u]=(0,d.K)(Object.assign(Object.assign(Object.assign({},r),{prefixCls:c}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},f);return Object.keys(e).forEach(t=>{e[t]=function(){return n(),f[t].apply(f,arguments)}}),{instance:e,sync:n}}),u}),v=o.forwardRef((e,t)=>{let[r,n]=o.useState(m),a=()=>{n(m)};o.useEffect(a,[]);let i=(0,c.w6)(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),d=i.getTheme(),f=o.createElement(p,{ref:t,sync:a,messageConfig:r});return o.createElement(c.ZP,{prefixCls:l,iconPrefixCls:s,theme:d},i.holderRender?i.holderRender(f):f)});function x(){if(!u){let e=document.createDocumentFragment(),t={fragment:e};u=t,g(()=>{(0,a.s)(o.createElement(v,{ref:e=>{let{instance:r,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=n,x())})}}),e)});return}u.instance&&(h.forEach(e=>{let{type:t,skipped:r}=e;if(!r)switch(t){case"open":g(()=>{let t=u.instance.open(Object.assign(Object.assign({},b),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":g(()=>{null==u||u.instance.destroy(e.key)});break;default:g(()=>{var r;let o=(r=u.instance)[t].apply(r,(0,n.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),h=[])}let $={open:function(e){let t=(0,f.J)(t=>{let r;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{r=e}};return h.push(n),()=>{r?g(()=>{r()}):n.skipped=!0}});return x(),t},destroy:e=>{h.push({type:"destroy",key:e}),x()},config:function(e){b=Object.assign(Object.assign({},b),e),g(()=>{var e;null===(e=null==u?void 0:u.sync)||void 0===e||e.call(u)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{let n;let o={type:e,args:t,resolve:r,setCloseFn:e=>{n=e}};return h.push(o),()=>{n?g(()=>{n()}):o.skipped=!0}});return x(),r}(e,r)}}),t.ZP=$},85576:function(e,t,r){r.d(t,{default:function(){return y}});var n=r(56080),o=r(38657),a=r(56745),i=r(67294),l=r(93967),c=r.n(l),s=r(40974),d=r(8745),f=r(53124),u=r(35792),g=r(32409),h=r(4941),b=r(71194),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},p=(0,d.i)(e=>{let{prefixCls:t,className:r,closeIcon:n,closable:o,type:a,title:l,children:d,footer:p}=e,v=m(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:x}=i.useContext(f.E_),$=x(),y=t||x("modal"),w=(0,u.Z)($),[O,z,Z]=(0,b.ZP)(y,w),C=`${y}-confirm`,E={};return E=a?{closable:null!=o&&o,title:"",footer:"",children:i.createElement(g.O,Object.assign({},e,{prefixCls:y,confirmPrefixCls:C,rootPrefixCls:$,content:d}))}:{closable:null==o||o,title:l,footer:null!==p&&i.createElement(h.$,Object.assign({},e)),children:d},O(i.createElement(s.s,Object.assign({prefixCls:y,className:c()(z,`${y}-pure-panel`,a&&C,a&&`${C}-${a}`,r,Z,w)},v,{closeIcon:(0,h.b)(y,n),closable:o},E)))}),v=r(94423);function x(e){return(0,n.ZP)((0,n.uW)(e))}let $=a.Z;$.useModal=v.Z,$.info=function(e){return(0,n.ZP)((0,n.cw)(e))},$.success=function(e){return(0,n.ZP)((0,n.vq)(e))},$.error=function(e){return(0,n.ZP)((0,n.AQ)(e))},$.warning=x,$.warn=x,$.confirm=function(e){return(0,n.ZP)((0,n.Au)(e))},$.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},$.config=n.ai,$._InternalPanelDoNotUseOrYouWillBeFired=p;var y=$}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/5737-5cac6ca544298b0c.js b/dbgpt/app/static/web/_next/static/chunks/5737-20f7e281c9abcdf4.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5737-5cac6ca544298b0c.js rename to dbgpt/app/static/web/_next/static/chunks/5737-20f7e281c9abcdf4.js diff --git a/dbgpt/app/static/web/_next/static/chunks/5852-455172e18d73a1f3.js b/dbgpt/app/static/web/_next/static/chunks/5852-18d2610bc86ace51.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5852-455172e18d73a1f3.js rename to dbgpt/app/static/web/_next/static/chunks/5852-18d2610bc86ace51.js diff --git a/dbgpt/app/static/web/_next/static/chunks/5872-c44e0f19a507cf4a.js b/dbgpt/app/static/web/_next/static/chunks/5872-8f08381df96c9b7e.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/5872-c44e0f19a507cf4a.js rename to dbgpt/app/static/web/_next/static/chunks/5872-8f08381df96c9b7e.js diff --git a/dbgpt/app/static/web/_next/static/chunks/6212-6da268a7efc0e249.js b/dbgpt/app/static/web/_next/static/chunks/6212-6da268a7efc0e249.js deleted file mode 100644 index 56c0168c1..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6212-6da268a7efc0e249.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6212],{94155:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},14313:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},11186:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},82061:function(e,t,r){var n=r(87462),a=r(67294),o=r(47046),i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=l},3471:function(e,t,r){var n=r(87462),a=r(67294),o=r(29245),i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o.Z}))});t.Z=l},90725:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},42952:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},20046:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),o={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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},90598:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},75750:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),a=r(67294),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.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"},i=r(13401),l=a.forwardRef(function(e,t){return a.createElement(i.Z,(0,n.Z)({},e,{ref:t,icon:o}))})},96074:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(67294),a=r(93967),o=r.n(a),i=r(53124),l=r(47648),c=r(14747),d=r(83559),s=r(87893);let f=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:a,textPaddingInline:o,orientationMargin:i,verticalMarginInline:d}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(a)} solid ${n}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:d,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(a)} 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)(a)} 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:o},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:`${(0,l.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,l.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,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}}),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(i.E_),{prefixCls:l,type:c="horizontal",orientation:d="center",orientationMargin:s,className:f,rootClassName:h,children:b,dashed:m,variant:p="solid",plain:v,style:$}=e,x=u(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),w=t("divider",l),[z,y,S]=g(w),E=!!b,B="left"===d&&null!=s,Z="right"===d&&null!=s,k=o()(w,null==a?void 0:a.className,y,S,`${w}-${c}`,{[`${w}-with-text`]:E,[`${w}-with-text-${d}`]:E,[`${w}-dashed`]:!!m,[`${w}-${p}`]:"solid"!==p,[`${w}-plain`]:!!v,[`${w}-rtl`]:"rtl"===r,[`${w}-no-default-orientation-margin-left`]:B,[`${w}-no-default-orientation-margin-right`]:Z},f,h),C=n.useMemo(()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s,[s]),O=Object.assign(Object.assign({},B&&{marginLeft:C}),Z&&{marginRight:C});return z(n.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==a?void 0:a.style),$)},x,{role:"separator"}),b&&"vertical"!==c&&n.createElement("span",{className:`${w}-inner-text`,style:O},b)))}},21612:function(e,t,r){r.d(t,{default:function(){return E}});var n=r(96641),a=r(67294),o=r(93967),i=r.n(o),l=r(98423),c=r(53124),d=r(82401),s=r(50344),f=r(48058),g=r(47648),u=r(83559),h=e=>{let{componentCls:t,bodyBg:r,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:o}=e;return{[`${t}-sider-light`]:{background:n,[`${t}-sider-trigger`]:{color:o,background:a},[`${t}-sider-zero-width-trigger`]:{color:o,background:a,border:`1px solid ${r}`,borderInlineStart:0}}}};let b=e=>{let{antCls:t,componentCls:r,colorText:n,triggerColor:a,footerBg:o,triggerBg:i,headerHeight:l,headerPadding:c,headerColor:d,footerPadding:s,triggerHeight:f,zeroTriggerHeight:u,zeroTriggerWidth:b,motionDurationMid:m,motionDurationSlow:p,fontSize:v,borderRadius:$,bodyBg:x,headerBg:w,siderBg:z}=e;return{[r]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:x,"&, *":{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:z,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:i,cursor:"pointer",transition:`all ${m}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:l,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:z,borderStartStartRadius:0,borderStartEndRadius:$,borderEndEndRadius:$,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:$,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:$}}}}},h(e)),{"&-rtl":{direction:"rtl"}}),[`${r}-header`]:{height:l,padding:c,color:d,lineHeight:(0,g.bf)(l),background:w,[`${t}-menu`]:{lineHeight:"inherit"}},[`${r}-footer`]:{padding:s,color:n,fontSize:v,background:o},[`${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:o,marginXXS:i,colorTextLightSolid:l,colorBgContainer:c}=e,d=1.25*n;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*r,headerPadding:`0 ${d}px`,headerColor:a,footerPadding:`${o}px ${d}px`,footerBg:t,siderBg:"#001529",triggerHeight:n+2*i,triggerBg:"#002140",triggerColor:l,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,o)=>a.createElement(e,Object.assign({ref:o,suffixCls:t,tagName:r},n)));return n}}let $=a.forwardRef((e,t)=>{let{prefixCls:r,suffixCls:n,className:o,tagName:l}=e,d=p(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=a.useContext(c.E_),f=s("layout",r),[g,u,h]=m(f),b=n?`${f}-${n}`:f;return g(a.createElement(l,Object.assign({className:i()(r||b,o,u,h),ref:t},d)))}),x=a.forwardRef((e,t)=>{let{direction:r}=a.useContext(c.E_),[o,g]=a.useState([]),{prefixCls:u,className:h,rootClassName:b,children:v,hasSider:$,tagName:x,style:w}=e,z=p(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),y=(0,l.Z)(z,["suffixCls"]),{getPrefixCls:S,layout:E}=a.useContext(c.E_),B=S("layout",u),Z=function(e,t,r){if("boolean"==typeof r)return r;if(e.length)return!0;let n=(0,s.Z)(t);return n.some(e=>e.type===f.Z)}(o,v,$),[k,C,O]=m(B),N=i()(B,{[`${B}-has-sider`]:Z,[`${B}-rtl`]:"rtl"===r},null==E?void 0:E.className,h,b,C,O),L=a.useMemo(()=>({siderHook:{addSider:e=>{g(t=>[].concat((0,n.Z)(t),[e]))},removeSider:e=>{g(t=>t.filter(t=>t!==e))}}}),[]);return k(a.createElement(d.V.Provider,{value:L},a.createElement(x,Object.assign({ref:t,className:N,style:Object.assign(Object.assign({},null==E?void 0:E.style),w)},y),v)))}),w=v({tagName:"div",displayName:"Layout"})(x),z=v({suffixCls:"header",tagName:"header",displayName:"Header"})($),y=v({suffixCls:"footer",tagName:"footer",displayName:"Footer"})($),S=v({suffixCls:"content",tagName:"main",displayName:"Content"})($);w.Header=z,w.Footer=y,w.Content=S,w.Sider=f.Z,w._InternalSiderContext=f.D;var E=w}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6231-01c7c0033aee5719.js b/dbgpt/app/static/web/_next/static/chunks/6231-082aa9c179c552ae.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/6231-01c7c0033aee5719.js rename to dbgpt/app/static/web/_next/static/chunks/6231-082aa9c179c552ae.js diff --git a/dbgpt/app/static/web/_next/static/chunks/6261-88eb5ea7012b9da0.js b/dbgpt/app/static/web/_next/static/chunks/6261-88eb5ea7012b9da0.js deleted file mode 100644 index 8eff6162b..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/6261-88eb5ea7012b9da0.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6261],{32857:function(e,r){r.Z={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"}},51042:function(e,r,o){var t=o(87462),n=o(67294),a=o(42110),l=o(13401),i=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,t.Z)({},e,{ref:r,icon:a.Z}))});r.Z=i},85980:function(e,r,o){var t=o(97582),n=o(23279),a=o.n(n),l=o(67294),i=o(3930),c=o(45210),s=o(92770),u=o(31663);r.Z=function(e,r){u.Z&&!(0,s.mf)(e)&&console.error("useDebounceFn expected parameter is a function, got ".concat(typeof e));var o,n=(0,i.Z)(e),f=null!==(o=null==r?void 0:r.wait)&&void 0!==o?o:1e3,d=(0,l.useMemo)(function(){return a()(function(){for(var e=[],r=0;r({[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`}}})},33297:function(e,r,o){o.d(r,{Fm:function(){return p}});var t=o(47648),n=o(93590);let a=new t.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 t.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 t.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 t.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 t.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 t.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 t.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 t.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}},p=(e,r)=>{let{antCls:o}=e,t=`${o}-${r}`,{inKeyframes:a,outKeyframes:l}=m[r];return[(0,n.R)(t,a,l,e.motionDurationMid),{[` - ${t}-enter, - ${t}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${t}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,r,o){o.d(r,{Z:function(){return Z}});var t=o(67294),n=o(93967),a=o.n(n),l=o(98423),i=o(98787),c=o(69760),s=o(96159),u=o(45353),f=o(53124),d=o(47648),m=o(10274),p=o(14747),g=o(87893),b=o(83559);let y=e=>{let{paddingXXS:r,lineWidth:o,tagPaddingHorizontal:t,componentCls:n,calc:a}=e,l=a(t).sub(o).equal(),i=a(r).sub(o).equal();return{[n]: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,d.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:i,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}}},v=e=>{let{lineWidth:r,fontSizeIcon:o,calc:t}=e,n=e.fontSizeSM,a=(0,g.IX)(e,{tagFontSize:n,tagLineHeight:(0,d.bf)(t(e.lineHeightSM).mul(n).equal()),tagIconSize:t(o).sub(t(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},h=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var C=(0,b.I$)("Tag",e=>{let r=v(e);return y(r)},h),O=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&0>r.indexOf(t)&&(o[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])&&(o[t[n]]=e[t[n]]);return o};let $=t.forwardRef((e,r)=>{let{prefixCls:o,style:n,className:l,checked:i,onChange:c,onClick:s}=e,u=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=t.useContext(f.E_),p=d("tag",o),[g,b,y]=C(p),v=a()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,l,b,y);return g(t.createElement("span",Object.assign({},u,{ref:r,style:Object.assign(Object.assign({},n),null==m?void 0:m.style),className:v,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var k=o(98719);let w=e=>(0,k.Z)(e,(r,o)=>{let{textColor:t,lightBorderColor:n,lightColor:a,darkColor:l}=o;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:t,background:a,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,b.bk)(["Tag","preset"],e=>{let r=v(e);return w(r)},h);let S=(e,r,o)=>{let t=function(e){if("string"!=typeof e)return e;let r=e.charAt(0).toUpperCase()+e.slice(1);return r}(o);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${o}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,b.bk)(["Tag","status"],e=>{let r=v(e);return[S(r,"success","Success"),S(r,"processing","Info"),S(r,"error","Error"),S(r,"warning","Warning")]},h),I=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&0>r.indexOf(t)&&(o[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])&&(o[t[n]]=e[t[n]]);return o};let M=t.forwardRef((e,r)=>{let{prefixCls:o,className:n,rootClassName:d,style:m,children:p,icon:g,color:b,onClose:y,bordered:v=!0,visible:h}=e,O=I(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:k,tag:w}=t.useContext(f.E_),[S,M]=t.useState(!0),Z=(0,l.Z)(O,["closeIcon","closable"]);t.useEffect(()=>{void 0!==h&&M(h)},[h]);let j=(0,i.o2)(b),T=(0,i.yT)(b),B=j||T,P=Object.assign(Object.assign({backgroundColor:b&&!B?b:void 0},null==w?void 0:w.style),m),N=$("tag",o),[D,R,H]=C(N),z=a()(N,null==w?void 0:w.className,{[`${N}-${b}`]:B,[`${N}-has-color`]:b&&!B,[`${N}-hidden`]:!S,[`${N}-rtl`]:"rtl"===k,[`${N}-borderless`]:!v},n,d,R,H),F=e=>{e.stopPropagation(),null==y||y(e),e.defaultPrevented||M(!1)},[,K]=(0,c.Z)((0,c.w)(e),(0,c.w)(w),{closable:!1,closeIconRender:e=>{let r=t.createElement("span",{className:`${N}-close-icon`,onClick:F},e);return(0,s.wm)(e,r,e=>({onClick:r=>{var o;null===(o=null==e?void 0:e.onClick)||void 0===o||o.call(e,r),F(r)},className:a()(null==e?void 0:e.className,`${N}-close-icon`)}))}}),L="function"==typeof O.onClick||p&&"a"===p.type,_=g||null,q=_?t.createElement(t.Fragment,null,_,p&&t.createElement("span",null,p)):p,A=t.createElement("span",Object.assign({},Z,{ref:r,className:z,style:P}),q,K,j&&t.createElement(E,{key:"preset",prefixCls:N}),T&&t.createElement(x,{key:"status",prefixCls:N}));return D(L?t.createElement(u.Z,{component:"Tag"},A):A)});M.CheckableTag=$;var Z=M},64894:function(e,r,o){var t=o(83963),n=o(67294),a=o(32857),l=o(30672),i=n.forwardRef(function(e,r){return n.createElement(l.Z,(0,t.Z)({},e,{ref:r,icon:a.Z}))});r.Z=i}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6540-aafeba114a6e14b0.js b/dbgpt/app/static/web/_next/static/chunks/6540-aafeba114a6e14b0.js new file mode 100644 index 000000000..5719791f3 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6540-aafeba114a6e14b0.js @@ -0,0 +1,53 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6540],{99011:function(e,t){"use strict";t.Z={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"}},4708:function(e,t){"use strict";t.Z={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"}},10952:function(e,t){"use strict";t.Z={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"}},19369:function(e,t){"use strict";t.Z={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"}},66995:function(e,t){"use strict";t.Z={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"}},86759:function(e,t){"use strict";t.Z={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"}},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},88284:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(32857),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},30071:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(99011),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},28508:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(89503),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},85175:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(48820),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},35790:function(e,t,n){"use strict";var r=n(87462),a=n(67294),i=n(19369),o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},98165:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),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(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},47727:function(e,t,n){"use strict";var r=n(28549),a=n(85893);t.Z=(0,r.Z)((0,a.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"CheckOutlined")},15273:function(e,t,n){"use strict";var r=n(28549),a=n(85893);t.Z=(0,r.Z)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"CloseOutlined")},28549:function(e,t,n){"use strict";n.d(t,{Z:function(){return Q}});var r=n(87462),a=n(67294),i=n(63366),o=n(90512),s=n(58510),l=n(62908).Z,c=n(44065),u=n(78758),p=n(68027),d=n(44920),f=n(86523),g=n(88647),m=n(2101),h={black:"#000",white:"#fff"},b={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"},y={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"},E={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"},T={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"},S={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"},v={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"},A={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 O=["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:h.white,default:h.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}},k={text:{primary:h.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:h.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 I(e,t,n,r){let a=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,m.$n)(e.main,a):"dark"===t&&(e.dark=(0,m._j)(e.main,i)))}let C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],N={textTransform:"uppercase"},x='"Roboto", "Helvetica", "Arial", sans-serif';function w(...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 R=["none",w(0,2,1,-1,0,1,1,0,0,1,3,0),w(0,3,1,-2,0,2,2,0,0,1,5,0),w(0,3,3,-2,0,3,4,0,0,1,8,0),w(0,2,4,-1,0,4,5,0,0,1,10,0),w(0,3,5,-1,0,5,8,0,0,1,14,0),w(0,3,5,-1,0,6,10,0,0,1,18,0),w(0,4,5,-2,0,7,10,1,0,2,16,1),w(0,5,5,-3,0,8,10,1,0,3,14,2),w(0,5,6,-3,0,9,12,1,0,3,16,2),w(0,6,6,-3,0,10,14,1,0,4,18,3),w(0,6,7,-4,0,11,15,1,0,4,20,3),w(0,7,8,-4,0,12,17,2,0,5,22,4),w(0,7,8,-4,0,13,19,2,0,5,24,4),w(0,7,9,-4,0,14,21,2,0,5,26,4),w(0,8,9,-5,0,15,22,2,0,6,28,5),w(0,8,10,-5,0,16,24,2,0,6,30,5),w(0,8,11,-5,0,17,26,2,0,6,32,5),w(0,9,11,-5,0,18,28,2,0,7,34,6),w(0,9,12,-6,0,19,29,2,0,7,36,6),w(0,10,13,-6,0,20,31,3,0,8,38,7),w(0,10,13,-6,0,21,33,3,0,8,40,7),w(0,10,14,-6,0,22,35,3,0,8,42,7),w(0,11,14,-7,0,23,36,3,0,9,44,8),w(0,11,15,-7,0,24,38,3,0,9,46,8)],L=["duration","easing","delay"],D={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)"},P={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function M(e){return`${Math.round(e)}ms`}function F(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var B={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"],U=function(e={}){var t;let{mixins:n={},palette:a={},transitions:o={},typography:s={}}=e,l=(0,i.Z)(e,j);if(e.vars)throw Error((0,u.Z)(18));let c=function(e){let{mode:t="light",contrastThreshold:n=3,tonalOffset:a=.2}=e,o=(0,i.Z)(e,O),s=e.primary||function(e="light"){return"dark"===e?{main:S[200],light:S[50],dark:S[400]}:{main:S[700],light:S[400],dark:S[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:y[200],light:y[50],dark:y[400]}:{main:y[500],light:y[300],dark:y[700]}}(t),c=e.error||function(e="light"){return"dark"===e?{main:E[500],light:E[300],dark:E[700]}:{main:E[700],light:E[400],dark:E[800]}}(t),d=e.info||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(t),f=e.success||function(e="light"){return"dark"===e?{main:A[400],light:A[300],dark:A[700]}:{main:A[800],light:A[500],dark:A[900]}}(t),g=e.warning||function(e="light"){return"dark"===e?{main:T[400],light:T[300],dark:T[700]}:{main:"#ed6c02",light:T[500],dark:T[900]}}(t);function C(e){let t=(0,m.mi)(e,k.text.primary)>=n?k.text.primary:_.text.primary;return t}let N=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return I(e,"light",i,a),I(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},x=(0,p.Z)((0,r.Z)({common:(0,r.Z)({},h),mode:t,primary:N({color:s,name:"primary"}),secondary:N({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:N({color:c,name:"error"}),warning:N({color:g,name:"warning"}),info:N({color:d,name:"info"}),success:N({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:N,tonalOffset:a},{dark:k,light:_}[t]),o);return x}(a),w=(0,g.Z)(e),U=(0,p.Z)(w,{mixins:(t=w.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:R.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=x,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:g}=n,m=(0,i.Z)(n,C),h=o/14,b=g||(e=>`${e/d*h}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===x?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,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(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,N),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,N),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,p.Z)((0,r.Z)({htmlFontSize:d,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,p.Z)(e,t),U=(0,p.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},d.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var H="$$material",G=n(58128);let z=(0,G.ZP)({themeId:H,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var $=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,$.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Y=n(85893);let V=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=z("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,p,d,f,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(p=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?p:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(g=(e.vars||e).palette)||null==(g=g.action)?void 0:g.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:H})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:p="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:g=!1,titleAccess:m,viewBox:h="0 0 24 24"}=n,b=(0,i.Z)(n,V),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:p,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:g,viewBox:h,hasSvgAsChild:y}),T={};g||(T.viewBox=h);let S=q(E);return(0,Y.jsxs)(K,(0,r.Z)({as:p,className:(0,o.Z)(S.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},T,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,Y.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,Y.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(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 n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(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 n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(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))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=g,slotShouldForwardProp:l=g}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var p;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:T,skipSx:S,overridesResolver:v=(p=h(E))?(e,t)=>t[p]:null}=c,A=(0,i.default)(c,d),O=void 0!==T?T:E&&"Root"!==E&&"root"!==E||!1,_=S||!1,k=g;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let I=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,N=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&v&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),v(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=I(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return I.withConfig&&(N.withConfig=I.withConfig),N}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function g(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,p),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}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 r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},47221:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(67294),a=n(62994),i=n(93967),o=n.n(i),s=n(87462),l=n(74902),c=n(97685),u=n(71002),p=n(21770),d=n(80334),f=n(45987),g=n(50344),m=n(4942),h=n(29372),b=n(15105),y=r.forwardRef(function(e,t){var n=e.prefixCls,a=e.forceRender,i=e.className,s=e.style,l=e.children,u=e.isActive,p=e.role,d=r.useState(u||a),f=(0,c.Z)(d,2),g=f[0],h=f[1];return(r.useEffect(function(){(a||u)&&h(!0)},[a,u]),g)?r.createElement("div",{ref:t,className:o()("".concat(n,"-content"),(0,m.Z)((0,m.Z)({},"".concat(n,"-content-active"),u),"".concat(n,"-content-inactive"),!u),i),style:s,role:p},r.createElement("div",{className:"".concat(n,"-content-box")},l)):null});y.displayName="PanelContent";var E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],T=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,p=e.className,d=e.prefixCls,g=e.collapsible,T=e.accordion,S=e.panelKey,v=e.extra,A=e.header,O=e.expandIcon,_=e.openMotion,k=e.destroyInactivePanel,I=e.children,C=(0,f.Z)(e,E),N="disabled"===g,x="header"===g,w="icon"===g,R=null!=v&&"boolean"!=typeof v,L=function(){null==c||c(S)},D="function"==typeof O?O(e):r.createElement("i",{className:"arrow"});D&&(D=r.createElement("div",{className:"".concat(d,"-expand-icon"),onClick:["header","icon"].includes(g)?L:void 0},D));var P=o()((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(d,"-item"),!0),"".concat(d,"-item-active"),l),"".concat(d,"-item-disabled"),N),p),M={className:o()(i,(0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(d,"-header"),!0),"".concat(d,"-header-collapsible-only"),x),"".concat(d,"-icon-collapsible-only"),w)),"aria-expanded":l,"aria-disabled":N,onKeyDown:function(e){("Enter"===e.key||e.keyCode===b.Z.ENTER||e.which===b.Z.ENTER)&&L()}};return x||w||(M.onClick=L,M.role=T?"tab":"button",M.tabIndex=N?-1:0),r.createElement("div",(0,s.Z)({},C,{ref:t,className:P}),r.createElement("div",M,a&&D,r.createElement("span",{className:"".concat(d,"-header-text"),onClick:"header"===g?L:void 0},A),R&&r.createElement("div",{className:"".concat(d,"-extra")},v)),r.createElement(h.ZP,(0,s.Z)({visible:l,leavedClassName:"".concat(d,"-content-hidden")},_,{forceRender:u,removeOnLeave:k}),function(e,t){var n=e.className,a=e.style;return r.createElement(y,{ref:t,prefixCls:d,className:n,style:a,isActive:l,forceRender:u,role:T?"tabpanel":void 0},I)}))}),S=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],v=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,p=t.expandIcon;return e.map(function(e,t){var d=e.children,g=e.label,m=e.key,h=e.collapsible,b=e.onItemClick,y=e.destroyInactivePanel,E=(0,f.Z)(e,S),v=String(null!=m?m:t),A=null!=h?h:i,O=!1;return O=a?c[0]===v:c.indexOf(v)>-1,r.createElement(T,(0,s.Z)({},E,{prefixCls:n,key:v,panelKey:v,isActive:O,accordion:a,openMotion:u,expandIcon:p,header:g,collapsible:A,onItemClick:function(e){"disabled"!==A&&(l(e),null==b||b(e))},destroyInactivePanel:null!=y?y:o}),d)})},A=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,p=n.expandIcon,d=e.key||String(t),f=e.props,g=f.header,m=f.headerClass,h=f.destroyInactivePanel,b=f.collapsible,y=f.onItemClick,E=!1;E=i?c[0]===d:c.indexOf(d)>-1;var T=null!=b?b:o,S={key:d,panelKey:d,header:g,headerClass:m,isActive:E,prefixCls:a,destroyInactivePanel:null!=h?h:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==T&&(l(e),null==y||y(e))},expandIcon:p,collapsible:T};return"string"==typeof e.type?e:(Object.keys(S).forEach(function(e){void 0===S[e]&&delete S[e]}),r.cloneElement(e,S))},O=n(64217);function _(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,m=e.accordion,h=e.className,b=e.children,y=e.collapsible,E=e.openMotion,T=e.expandIcon,S=e.activeKey,k=e.defaultActiveKey,I=e.onChange,C=e.items,N=o()(i,h),x=(0,p.Z)([],{value:S,onChange:function(e){return null==I?void 0:I(e)},defaultValue:k,postState:_}),w=(0,c.Z)(x,2),R=w[0],L=w[1];(0,d.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(n={prefixCls:i,accordion:m,openMotion:E,expandIcon:T,collapsible:y,destroyInactivePanel:void 0!==u&&u,onItemClick:function(e){return L(function(){return m?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(C)?v(C,n):(0,g.Z)(b).map(function(e,t){return A(e,t,n)}));return r.createElement("div",(0,s.Z)({ref:t,className:N,style:f,role:m?"tablist":void 0},(0,O.Z)(e,{aria:!0,data:!0})),D)}),{Panel:T});k.Panel;var I=n(98423),C=n(33603),N=n(96159),x=n(53124),w=n(98675);let R=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(x.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(47648),D=n(14747),P=n(33507),M=n(83559),F=n(87893);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:p,colorText:d,colorTextHeading:f,colorTextDisabled:g,fontSizeLG:m,lineHeight:h,lineHeightLG:b,marginSM:y,paddingSM:E,paddingLG:T,paddingXS:S,motionDurationSlow:v,fontSizeIcon:A,contentPadding:O,fontHeight:_,fontHeightLG:k}=e,I=`${(0,L.bf)(c)} ${u} ${p}`;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:f,lineHeight:h,cursor:"pointer",transition:`all ${v}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:_,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},(0,D.Ro)()),{fontSize:A,transition:`transform ${v}`,svg:{transition:`transform ${v}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:d,backgroundColor:n,borderTop:I,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:S,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(S).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:b,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(T).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:T}}},[`${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: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 z=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(x.E_),{prefixCls:l,className:c,rootClassName:u,style:p,bordered:d=!0,ghost:f,size:m,expandIconPosition:h="start",children:b,expandIcon:y}=e,E=(0,w.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),T=n("collapse",l),S=n(),[v,A,O]=G(T),_=r.useMemo(()=>"left"===h?"start":"right"===h?"end":h,[h]),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,N.Tm)(t,()=>{var e;return{className:o()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${T}-arrow`)}})},[R,T]),D=o()(`${T}-icon-position-${_}`,{[`${T}-borderless`]:!d,[`${T}-rtl`]:"rtl"===i,[`${T}-ghost`]:!!f,[`${T}-${E}`]:"middle"!==E},null==s?void 0:s.className,c,u,A,O),P=Object.assign(Object.assign({},(0,C.Z)(S)),{motionAppear:!1,leavedClassName:`${T}-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,N.Tm)(e,o)}return e}):null,[b]);return v(r.createElement(k,Object.assign({ref:t,openMotion:P},(0,I.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:T,className:D,style:Object.assign(Object.assign({},null==s?void 0:s.style),p)}),M))});var $=Object.assign(z,{Panel:R})},72906:function(e,t,n){"use strict";n.d(t,{Z:function(){return eC}});var r=n(67294),a=n(1208),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),p=n(71002),d=n(45987),f=n(27678),g=n(21770),m=n(40974),h=n(64019),b=n(15105),y=n(2788),E=n(29372),T=r.createContext(null),S=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,p=e.countRender,d=e.showSwitch,f=e.showProgress,g=e.current,m=e.transform,h=e.count,S=e.scale,v=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,I=e.onClose,C=e.onZoomIn,N=e.onZoomOut,x=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)(T),j=u.rotateLeft,U=u.rotateRight,H=u.zoomIn,G=u.zoomOut,z=u.close,$=u.left,Z=u.right,W=u.flipX,Y=u.flipY,V="".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:Y,onClick:L,type:"flipY"},{icon:W,onClick:R,type:"flipX"},{icon:j,onClick:w,type:"rotateLeft"},{icon:U,onClick:x,type:"rotateRight"},{icon:G,onClick:N,type:"zoomOut",disabled:S<=v},{icon:H,onClick:C,type:"zoomIn",disabled:S===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(V,(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===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:I},O||z),d&&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:_},$),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),g===h-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},p?p(g+1,h):"".concat(g+1," / ").concat(h)),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:x,onZoomOut:N,onZoomIn:C,onReset:D,onClose:I},transform:m},B?{current:g,total:h}:{}),{},{image:F})):K)))})},v=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);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 I(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 C(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),p="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"):p&&l("normal")},[t]);var d=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,d())},p&&a?{src:a}:{onLoad:d,src:t},s]}function N(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var x=["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,d.Z)(e,x),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],p=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,p))},L=function(e){var t,n,a,i,p,g,y,E,k,C,x,L,D,P,M,F,B,j,U,H,G,z,$,Z,W,Y,V,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,ep=e.count,ed=void 0===ep?1:ep,ef=e.countRender,eg=e.scaleStep,em=void 0===eg?.5:eg,eh=e.minScale,eb=void 0===eh?1:eh,ey=e.maxScale,eE=void 0===ey?50:ey,eT=e.transitionName,eS=e.maskTransitionName,ev=void 0===eS?"fade":eS,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eI=e.onChange,eC=(0,d.Z)(e,w),eN=(0,r.useRef)(),ex=(0,r.useContext)(T),ew=ex&&ed>1,eR=ex&&ed>=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)(O),p=(i=(0,u.Z)(a,2))[0],g=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.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==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},p),e))},{transform:p,resetTransform:function(e){g(O),(0,v.Z)(O,p)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=eN.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,d=i.offsetTop,g=e,m=p.scale*e;m>eE?(m=eE,g=eE/p.scale):m0&&(t=1/t),eH(t,"wheel",e.clientX,e.clientY)}}}),ez=eG.isMoving,e$=eG.onMouseDown,eZ=eG.onWheel,eW=(U=eB.rotate,H=eB.scale,G=eB.x,z=eB.y,$=(0,r.useState)(!1),W=(Z=(0,u.Z)($,2))[0],Y=Z[1],V=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){V.current=(0,l.Z)((0,l.Z)({},V.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(),Y(!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-z},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=V.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=N(e,n),i=N(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),p=(0,u.Z)(c,2),d=p[0],f=p[1];eH(N(s,l)/N(a,i),"touchZoom",d,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(W&&Y(!1),q({eventType:"none"}),eb>H)return eU({x:0,y:0,scale:eb},"touchZoom");var e=eN.current.offsetWidth*H,t=eN.current.offsetHeight*H,n=eN.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=I(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eY=eW.isTouching,eV=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),ez));(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==eI||eI(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eb=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 ec.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ep.vS),{padding:`0 ${(0,el.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ey=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:p}=e,d=new ec.C(n).setAlpha(.1),f=d.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:p,backgroundColor:d.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,el.bf)(o)}`,backgroundColor:d.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}}}}},eE=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new ec.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}}},eT=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({},eh()),{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({},eh()),{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()},"&":[ey(e),eE(e)]}]},eS=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({},eb(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},eh())}}},ev=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ed._y)(e,"zoom"),"&":(0,ef.J$)(e,!0)}};var eA=(0,eg.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,em.IX)(e,{previewCls:t,modalMaskBg:new ec.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eS(n),eT(n),(0,eu.QA)((0,em.IX)(n,{componentCls:t})),ev(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new ec.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ec.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ec.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eO=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(J,null),rotateRight:r.createElement(et,null),zoomIn:r.createElement(ei,null),zoomOut:r.createElement(es,null),close:r.createElement(Y.Z,null),left:r.createElement(V.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(er,null),flipY:r.createElement(er,{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 eI=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=ek(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:p,locale:d=W.Z,getPopupContainer:f,image:g}=r.useContext($.E_),m=p("image",n),h=p(),b=d.Image||W.Z.Image,y=(0,Z.Z)(m),[E,T,S]=eA(m,y),v=o()(l,T,S,y),A=o()(s,T,null==g?void 0:g.className),[O]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=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:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:e_},s),{getContainer:null!=n?n:f,transitionName:(0,z.m)(h,"zoom",t.transitionName),maskTransitionName:(0,z.m)(h,"fade",t.maskTransitionName),zIndex:O,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]),k=Object.assign(Object.assign({},null==g?void 0:g.style),c);return E(r.createElement(H,Object.assign({prefixCls:m,preview:_,rootClassName:v,className:A,style:k},u)))};eI.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eO(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext($.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[p,d,f]=eA(s,u),[g]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(d,f,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 p(r.createElement(H.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:e_},a)))};var eC=eI},94470: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,p=arguments[0],d=1,f=arguments.length,g=!1;for("boolean"==typeof p&&(g=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d4&&g.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,p)).charAt(0).toUpperCase()+n.slice(1):(f=(d=t).slice(4),t=l.test(f)?d:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),h=a),new h(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),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}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,p=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:p,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|p,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:p,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:p,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,p={},d={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new a(p,d,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);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,p=-1;for(s&&(this.space=s),r.call(this,e,t);++p=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480: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}},25160:function(e,t,n){"use strict";n.d(t,{r:function(){return vg}});var r,a,i,o,s,l,c,u,p,d,f,g,m,h,b,y,E,T,S,v,A,O,_,k,I,C,N,x,w,R,L,D,P,M,F,B,j,U,H,G,z,$,Z,W,Y,V,q,K,X,Q={};n.r(Q),n.d(Q,{area:function(){return iO},bottom:function(){return iR},bottomLeft:function(){return iR},bottomRight:function(){return iR},inside:function(){return iR},left:function(){return iR},outside:function(){return iM},right:function(){return iR},spider:function(){return iG},surround:function(){return i$},top:function(){return iR},topLeft:function(){return iR},topRight:function(){return iR}});var J={};n.r(J),n.d(J,{geoAlbers:function(){return bv.Z},geoAlbersUsa:function(){return bS.Z},geoAzimuthalEqualArea:function(){return bA.Z},geoAzimuthalEqualAreaRaw:function(){return bA.l},geoAzimuthalEquidistant:function(){return bO.Z},geoAzimuthalEquidistantRaw:function(){return bO.N},geoConicConformal:function(){return b_.Z},geoConicConformalRaw:function(){return b_.l},geoConicEqualArea:function(){return bk.Z},geoConicEqualAreaRaw:function(){return bk.v},geoConicEquidistant:function(){return bI.Z},geoConicEquidistantRaw:function(){return bI.o},geoEqualEarth:function(){return bC.Z},geoEqualEarthRaw:function(){return bC.i},geoEquirectangular:function(){return bN.Z},geoEquirectangularRaw:function(){return bN.k},geoGnomonic:function(){return bx.Z},geoGnomonicRaw:function(){return bx.M},geoIdentity:function(){return bw.Z},geoMercator:function(){return bL.ZP},geoMercatorRaw:function(){return bL.hk},geoNaturalEarth1:function(){return bD.Z},geoNaturalEarth1Raw:function(){return bD.K},geoOrthographic:function(){return bP.Z},geoOrthographicRaw:function(){return bP.I},geoProjection:function(){return bR.Z},geoProjectionMutator:function(){return bR.r},geoStereographic:function(){return bM.Z},geoStereographicRaw:function(){return bM.T},geoTransverseMercator:function(){return bF.Z},geoTransverseMercatorRaw:function(){return bF.F}});var ee={};n.r(ee),n.d(ee,{frequency:function(){return yR},id:function(){return yL},name:function(){return yD},weight:function(){return yw}});var et=n(74902),en=n(1413),er=n(87462),ea=n(97685),ei=n(45987);function eo(){return(eo=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&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 e_(e){return(0,eh.R_)(e)[0]}function ek(e){return e?Array.isArray(e)?e:[e]:[]}var eI=function(e){var t=(0,es.useContext)(eb),n=t.csp,r=t.prefixCls,a="\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&&(a=a.replace(/anticon/g,r)),(0,es.useEffect)(function(){var t=e.current,r=(0,eS.A)(t);(0,eT.hq)(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},eC=["icon","className","onClick","style","primaryColor","secondaryColor"],eN={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},ex=function(e){var t,n,r=e.icon,a=e.className,i=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=ef(e,eC),u=es.useRef(),p=eN;if(s&&(p={primaryColor:s,secondaryColor:l||e_(s)}),eI(u),t=eA(r),n="icon should be icon definiton, but got ".concat(r),(0,ev.ZP)(t,"[@ant-design/icons] ".concat(n)),!eA(r))return null;var d=r;return d&&"function"==typeof d.icon&&(d=eE(eE({},d),{},{icon:d.icon(p.primaryColor,p.secondaryColor)})),function e(t,n,r){return r?es.createElement(t.tag,eE(eE({key:n},eO(t.attrs)),r),(t.children||[]).map(function(r,a){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(a))})):es.createElement(t.tag,eE({key:n},eO(t.attrs)),(t.children||[]).map(function(r,a){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(a))}))}(d.icon,"svg-".concat(d.name),eE(eE({className:a,onClick:i,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};function ew(e){var t=eu(ek(e),2),n=t[0],r=t[1];return ex.setTwoToneColors({primaryColor:n,secondaryColor:r})}ex.displayName="IconReact",ex.getTwoToneColors=function(){return eE({},eN)},ex.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;eN.primaryColor=t,eN.secondaryColor=n||e_(t),eN.calculated=!!n};var eR=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ew(eh.iN.primary);var eL=es.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=ef(e,eR),u=es.useContext(eb),p=u.prefixCls,d=void 0===p?"anticon":p,f=u.rootClassName,g=em()(f,d,ed(ed({},"".concat(d,"-").concat(r.name),!!r.name),"".concat(d,"-spin"),!!a||"loading"===r.name),n),m=o;void 0===m&&s&&(m=-1);var h=eu(ek(l),2),b=h[0],y=h[1];return es.createElement("span",eo({role:"img","aria-label":r.name},c,{ref:t,tabIndex:m,onClick:s,className:g}),es.createElement(ex,{icon:r,primaryColor:b,secondaryColor:y,style:i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0}))});eL.displayName="AntdIcon",eL.getTwoToneColor=function(){var e=ex.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},eL.setTwoToneColor=ew;var eD=es.forwardRef(function(e,t){return es.createElement(eL,eo({},e,{ref:t,icon:el.Z}))}),eP=n(96486),eM=function(){return(eM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case eZ:e.return=function e(t,n,r){var a;switch(a=n,45^eJ(t,0)?(((a<<2^eJ(t,0))<<2^eJ(t,1))<<2^eJ(t,2))<<2^eJ(t,3):0){case 5103:return eG+"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 eG+t+t;case 4789:return eH+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eG+t+eH+t+eU+t+t;case 5936:switch(eJ(t,n+11)){case 114:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eG+t+eU+t+t;case 6165:return eG+t+eU+"flex-"+t+t;case 5187:return eG+t+eX(t,/(\w+).+(:[^]+)/,eG+"box-$1$2"+eU+"flex-$1$2")+t;case 5443:return eG+t+eU+"flex-item-"+eX(t,/flex-|-self/g,"")+(eK(t,/flex-|baseline/)?"":eU+"grid-row-"+eX(t,/flex-|-self/g,""))+t;case 4675:return eG+t+eU+"flex-line-pack"+eX(t,/align-content|flex-|-self/g,"")+t;case 5548:return eG+t+eU+eX(t,"shrink","negative")+t;case 5292:return eG+t+eU+eX(t,"basis","preferred-size")+t;case 6060:return eG+"box-"+eX(t,"-grow","")+eG+t+eU+eX(t,"grow","positive")+t;case 4554:return eG+eX(t,/([^-])(transform)/g,"$1"+eG+"$2")+t;case 6187:return eX(eX(eX(t,/(zoom-|grab)/,eG+"$1"),/(image-set)/,eG+"$1"),t,"")+t;case 5495:case 3959:return eX(t,/(image-set\([^]*)/,eG+"$1$`$1");case 4968:return eX(eX(t,/(.+:)(flex-)?(.*)/,eG+"box-pack:$3"+eU+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eG+t+t;case 4200:if(!eK(t,/flex-|baseline/))return eU+"grid-column-align"+e0(t,n)+t;break;case 2592:case 3360:return eU+eX(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eK(e.props,/grid-\w+-end/)}))return~eQ(t+(r=r[n].value),"span",0)?t:eU+eX(t,"-start","")+t+eU+"grid-row-span:"+(~eQ(r,"span",0)?eK(r,/\d+/):+eK(r,/\d+/)-+eK(t,/\d+/))+";";return eU+eX(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eK(e.props,/grid-\w+-start/)})?t:eU+eX(eX(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eX(t,/(.+)-inline(.+)/,eG+"$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(e1(t)-1-n>6)switch(eJ(t,n+1)){case 109:if(45!==eJ(t,n+4))break;case 102:return eX(t,/(.+:)(.+)-([^]+)/,"$1"+eG+"$2-$3$1"+eH+(108==eJ(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eQ(t,"stretch",0)?e(eX(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eX(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eU+n+":"+r+s+(a?eU+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eJ(t,n+6))return eX(t,":",":"+eG)+t;break;case 6444:switch(eJ(t,45===eJ(t,14)?18:11)){case 120:return eX(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eG+(45===eJ(t,14)?"inline-":"")+"box$3$1"+eG+"$2$3$1"+eU+"$2box$3")+t;case 100:return eX(t,":",":"+eU)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eX(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eW:return ts([tt(e,{value:eX(e.value,"@","@"+eG)})],r);case e$:if(e.length)return(n=e.props).map(function(t){switch(eK(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":tn(tt(e,{props:[eX(t,/:(read-\w+)/,":"+eH+"$1")]})),tn(tt(e,{props:[t]})),eq(e,{props:e3(n,r)});break;case"::placeholder":tn(tt(e,{props:[eX(t,/:(plac\w+)/,":"+eG+"input-$1")]})),tn(tt(e,{props:[eX(t,/:(plac\w+)/,":"+eH+"$1")]})),tn(tt(e,{props:[eX(t,/:(plac\w+)/,eU+"input-$1")]})),tn(tt(e,{props:[t]})),eq(e,{props:e3(n,r)})}return""}).join("")}}function tu(e,t,n,r,a,i,o,s,l,c,u,p){for(var d=a-1,f=0===a?i:[""],g=f.length,m=0,h=0,b=0;m0?f[y]+" "+E:eX(E,/&\f/g,f[y])).trim())&&(l[b++]=T);return te(e,t,n,0===a?e$:s,l,c,u,p)}function tp(e,t,n,r,a){return te(e,t,n,eZ,e0(e,0,r),e0(e,r+1,-1),r,a)}var td={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},tf=n(83454),tg=void 0!==tf&&void 0!==tf.env&&(tf.env.REACT_APP_SC_ATTR||tf.env.SC_ATTR)||"data-styled",tm="active",th="data-styled-version",tb="6.1.12",ty="/*!sc*/\n",tE="undefined"!=typeof window&&"HTMLElement"in window,tT=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==tf&&void 0!==tf.env&&void 0!==tf.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==tf.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==tf.env.REACT_APP_SC_DISABLE_SPEEDY&&tf.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==tf&&void 0!==tf.env&&void 0!==tf.env.SC_DISABLE_SPEEDY&&""!==tf.env.SC_DISABLE_SPEEDY&&"false"!==tf.env.SC_DISABLE_SPEEDY&&tf.env.SC_DISABLE_SPEEDY),tS=Object.freeze([]),tv=Object.freeze({}),tA=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"]),tO=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,t_=/(^-|-$)/g;function tk(e){return e.replace(tO,"-").replace(t_,"")}var tI=/(a)(d)/gi,tC=function(e){return String.fromCharCode(e+(e>25?39:97))};function tN(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tC(t%52)+n;return(tC(t%52)+n).replace(tI,"$1-$2")}var tx,tw=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tR=function(e){return tw(5381,e)};function tL(e){return"string"==typeof e}var tD="function"==typeof Symbol&&Symbol.for,tP=tD?Symbol.for("react.memo"):60115,tM=tD?Symbol.for("react.forward_ref"):60112,tF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tB={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tj={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tU=((tx={})[tM]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tx[tP]=tj,tx);function tH(e){return("type"in e&&e.type.$$typeof)===tP?tj:"$$typeof"in e?tU[e.$$typeof]:tF}var tG=Object.defineProperty,tz=Object.getOwnPropertyNames,t$=Object.getOwnPropertySymbols,tZ=Object.getOwnPropertyDescriptor,tW=Object.getPrototypeOf,tY=Object.prototype;function tV(e){return"function"==typeof e}function tq(e){return"object"==typeof e&&"styledComponentId"in e}function tK(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tX(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var t1=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 t0(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(ty)}}})(a);return r}(r)})}return e.registerId=function(e){return t5(e)},e.prototype.rehydrate=function(){!this.server&&tE&&nt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eM(eM({},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 ni(r):n?new nr(r):new na(r),new t1(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(t5(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(t5(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(t5(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),nc=/&/g,nu=/^\s*\/\/.*$/gm;function np(e){var t,n,r,a=void 0===e?tv:e,i=a.options,o=void 0===i?tv:i,s=a.plugins,l=void 0===s?tS: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===e$&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(nc,n).replace(r,c))}),o.prefix&&u.push(tc),u.push(tl);var p=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,p,d,f,g=e.replace(nu,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,p=0,d=0,f=s,g=0,m=0,h=0,b=1,y=1,E=1,T=0,S="",v=i,A=o,O=a,_=S;y;)switch(h=T,T=tr()){case 40:if(108!=h&&58==eJ(_,f-1)){-1!=eQ(_+=eX(to(T),"&","&\f"),"&\f",eY(p?l[p-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=to(T);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e8=ta();)if(e8<33)tr();else break;return ti(e)>2||ti(e8)>3?"":" "}(h);break;case 92:_+=function(e,t){for(var n;--t&&tr()&&!(e8<48)&&!(e8>102)&&(!(e8>57)||!(e8<65))&&(!(e8>70)||!(e8<97)););return n=e9+(t<6&&32==ta()&&32==tr()),e0(e7,e,n)}(e9-1,7);continue;case 47:switch(ta()){case 42:case 47:e2(te(u=function(e,t){for(;tr();)if(e+e8===57)break;else if(e+e8===84&&47===ta())break;return"/*"+e0(e7,t,e9-1)+"*"+eV(47===e?e:tr())}(tr(),e9),n,r,ez,eV(e8),e0(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[p++]=e1(_)*E;case 125*b:case 59:case 0:switch(T){case 0:case 125:y=0;case 59+d:-1==E&&(_=eX(_,/\f/g,"")),m>0&&e1(_)-f&&e2(m>32?tp(_+";",a,r,f-1,c):tp(eX(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(e2(O=tu(_,n,r,p,d,i,l,S,v=[],A=[],f,o),o),123===T){if(0===d)e(_,n,O,O,v,o,f,l,A);else switch(99===g&&110===eJ(_,3)?100:g){case 100:case 108:case 109:case 115:e(t,O,O,a&&e2(tu(t,O,O,0,0,i,l,S,i,v=[],f,A),A),i,A,f,l,a?v:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}p=d=m=0,b=E=1,S=_="",f=s;break;case 58:f=1+e1(_),m=h;default:if(b<1){if(123==T)--b;else if(125==T&&0==b++&&125==(e8=e9>0?eJ(e7,--e9):0,e5--,10===e8&&(e5=1,e4--),e8))continue}switch(_+=eV(T),T*b){case 38:E=d>0?1:(_+="\f",-1);break;case 44:l[p++]=(e1(_)-1)*E,E=1;break;case 64:45===ta()&&(_+=to(tr())),g=ta(),d=f=e1(S=_+=function(e){for(;!ti(ta());)tr();return e0(e7,e,e9)}(e9)),T++;break;case 45:45===h&&2==e1(_)&&(b=0)}}return o}("",null,null,null,[""],(d=p=i||a?"".concat(i," ").concat(a," { ").concat(g," }"):g,e4=e5=1,e6=e1(e7=d),e9=0,p=[]),0,[0],p),e7="",f);o.namespace&&(m=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})}(m,o.namespace));var h=[];return ts(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,h.push(t))})).length,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 nT=function(e){return null==e||!1===e||""===e},nS=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nT(r)&&(Array.isArray(r)&&r.isCss||tV(r)?t.push("".concat(nE(n),":"),r,";"):tQ(r)?t.push.apply(t,eF(eF(["".concat(n," {")],nS(r),!1),["}"],!1)):t.push("".concat(nE(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in td||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nv(e,t,n,r){return nT(e)?[]:tq(e)?[".".concat(e.styledComponentId)]:tV(e)?!tV(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nv(e(t),t,n,r):e instanceof ny?n?(e.inject(n,r),[e.getName(r)]):[e]:tQ(e)?nS(e):Array.isArray(e)?Array.prototype.concat.apply(tS,e.map(function(e){return nv(e,t,n,r)})):[e.toString()]}function nA(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=tK(r,i),this.staticRulesId=i}}else{for(var s=tw(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=tK(r,d)}}return r},e}(),nk=es.createContext(void 0);nk.Consumer;var nI={};function nC(e,t,n){var r,a,i,o,s=tq(e),l=!tL(e),c=t.attrs,u=void 0===c?tS:c,p=t.componentId,d=void 0===p?(r=t.displayName,a=t.parentComponentId,nI[i="string"!=typeof r?"sc":tk(r)]=(nI[i]||0)+1,o="".concat(i,"-").concat(tN(tR(tb+i+nI[i])>>>0)),a?"".concat(a,"-").concat(o):o):p,f=t.displayName,g=void 0===f?tL(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(tk(t.displayName),"-").concat(t.componentId):t.componentId||d,h=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 T=new n_(n,m,s?e.componentStyle:void 0);function S(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,p=es.useContext(nk),d=nh(),f=e.shouldForwardProp||d.shouldForwardProp,g=(void 0===(r=s)&&(r=tv),t.theme!==r.theme&&t.theme||p||r.theme||tv),m=function(e,t,n){for(var r,a=eM(eM({},t),{className:void 0,theme:n}),i=0;i2&&nl.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=tX([r&&'nonce="'.concat(r,'"'),"".concat(tg,'="true"'),"".concat(th,'="').concat(tb,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw t0(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw t0(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[tg]="",t[th]=tb,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[es.createElement("style",eM({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new nl({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw t0(2);return es.createElement(nb,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw t0(3)}}();var nL=n(4942),nD=n(73935),nP=n.t(nD,2),nM=function(){return(nM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(q=nF.createRoot)}catch(e){}function nU(e){var t=nF.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nH="__rc_react_root__",nG=new Map;"undefined"!=typeof document&&nG.set("tooltip",document.createElement("div"));var nz=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nG.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nG.get(e.key);r?n=r:nG.set(e.key,n)}return!function(e,t){if(q){var n;nU(!0),n=t[nH]||q(t),nU(!1),n.render(e),t[nH]=n;return}nj(e,t)}(e,n),n},n$=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)},nZ=function(e){var t=e.loadingTemplate,n=e.theme,r=es.useRef(null);return es.useEffect(function(){!t&&r.current&&n$(r.current)},[]),es.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||es.createElement("div",{ref:r}))},nW=(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)}),nY=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||es.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nW(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):es.createElement(es.Fragment,null,this.props.children)},t}(es.Component),nV=function(){return(nV=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},nK=n(90494),nX=n(1242),nQ=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 nJ=(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"]];nJ.style=["fill"];let n0=nJ.bind(void 0);n0.style=["stroke","lineWidth"];let n1=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];n1.style=["fill"];let n2=n1.bind(void 0);n2.style=["fill"];let n3=n1.bind(void 0);n3.style=["stroke","lineWidth"];let n4=(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"]]};n4.style=["fill"];let n5=n4.bind(void 0);n5.style=["stroke","lineWidth"];let n6=(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"]]};n6.style=["fill"];let n9=n6.bind(void 0);n9.style=["stroke","lineWidth"];let n8=(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"]]};n8.style=["fill"];let n7=n8.bind(void 0);n7.style=["stroke","lineWidth"];let re=(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"]]};re.style=["fill"];let rt=re.bind(void 0);rt.style=["stroke","lineWidth"];let rn=(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"]]};rn.style=["fill"];let rr=rn.bind(void 0);rr.style=["stroke","lineWidth"];let ra=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];ra.style=["stroke","lineWidth"];let ri=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];ri.style=["stroke","lineWidth"];let ro=(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]];ro.style=["stroke","lineWidth"];let rs=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rs.style=["stroke","lineWidth"];let rl=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rl.style=["stroke","lineWidth"];let rc=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rc.style=["stroke","lineWidth"];let ru=rc.bind(void 0);ru.style=["stroke","lineWidth"];let rp=(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]];rp.style=["stroke","lineWidth"];let rd=(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]];rd.style=["stroke","lineWidth"];let rf=(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]];rf.style=["stroke","lineWidth"];let rg=(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]];rg.style=["stroke","lineWidth"];let rm=(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]];rm.style=["stroke","lineWidth"];let rh=new Map([["bowtie",rn],["cross",ri],["dash",ru],["diamond",n4],["dot",rc],["hexagon",re],["hollowBowtie",rr],["hollowDiamond",n5],["hollowHexagon",rt],["hollowPoint",n0],["hollowSquare",n3],["hollowTriangle",n9],["hollowTriangleDown",n7],["hv",rd],["hvh",rg],["hyphen",rl],["line",ra],["plus",rs],["point",nJ],["rect",n2],["smooth",rp],["square",n1],["tick",ro],["triangleDown",n8],["triangle",n6],["vh",rf],["vhv",rm]]),rb={};function ry(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),rh.set(n,t)}else Object.assign(rb,{[e]:t})}var rE=n(31989),rT=n(98875),rS=n(68040),rv=n(83787),rA=n(44022),rO=n(95147),r_=function(e){return(0,rO.Z)(e)?"":e.toString()},rk=function(e){var t=r_(e);return t.charAt(0).toLowerCase()+t.substring(1)},rI=n(83845);function rC(e){return e}function rN(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),rC)}function rx(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function rw(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 rL(e){return null!=e&&!Number.isNaN(e)}function rD(e,t){return rP(e,t)||{}}function rP(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[rk(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function rM(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function rF(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 rB(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function rj(e){return null===e||!1===e}function rU(e){return new rH([e],null,e,e.ownerDocument)}class rH{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 rH(t,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new rH(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 rH([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=(0,rA.ZP)(this._elements,e=>n(e.__data__));for(let p=0;pe,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 rH([],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}}rH.registry={g:nX.ZA,rect:nX.UL,circle:nX.Cd,path:nX.y$,text:nX.xv,ellipse:nX.Pj,image:nX.Ee,line:nX.x1,polygon:nX.mg,polyline:nX.aH,html:nX.k9};let rG={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 rz=n(5199),r$=function(e){var t=r_(e);return t.charAt(0).toUpperCase()+t.substring(1)},rZ=n(17694);function rW(e,t){return Object.entries(e).reduce((n,[r,a])=>(n[r]=t(a,r,e),n),{})}function rY(e){return e.map((e,t)=>t)}function rV(e){return e[e.length-1]}function rq(e,t){let n=[[],[]];return e.forEach(e=>{n[t(e)?0:1].push(e)}),n}var rK=n(30335),rX=n(90155),rQ=n(98823);let rJ=(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}))},r0=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rJ(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,a]]};r0.props={};let r1=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),r2=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=r1(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};function r3(e,t,n){return Math.max(t,Math.min(e,n))}function r4(e,t=10){return"number"!=typeof e?e:1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}r2.props={};let r5=[["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 r6=n(17816);function r9(e){let{transformations:t}=e.getOptions(),n=t.map(([e])=>e).filter(e=>"transpose"===e);return n.length%2!=0}function r8(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function r7(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function ae(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function at(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function an(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function ar(e){return ae(e)||r8(e)}function aa(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function ai(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 ao=n(47537),as=n(36380),al=n(4637),ac=function(e,t){if(e){if((0,rz.Z)(e))for(var n=0,r=e.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};function am(e,t,n){return e.querySelector(t)?rU(e).select(t):rU(e).append(n)}function ah(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function ab(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 ay extends af.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 aE extends ay{update(e){var t;let{subOptions:n}=e;this.attr(e),null===(t=this.child)||void 0===t||t.update(n)}}function aT(e,t){var n;return null===(n=e.filter(e=>e.getOptions().name===t))||void 0===n?void 0:n[0]}function aS(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:p}=n.props,d=i||u||l,f=o||p||c,[g,m]=s?[f,d]:[d,f];return{orientation:s?"horizontal":"vertical",width:g,height:m,size:d,length:f}}function av(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=ag(e,["style"]),a={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?a[`show${r$(e)}`]=n:a[e]=n}),Object.assign(Object.assign({},a),n)}var aA=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 aO(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function a_(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function ak(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]=(0,ad.Z)(t,e=>+e),{tickCount:i}=e.getOptions();return n(r,a,i)}(e,t,i),u=a?c.filter(a):c,p=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),d=r||(null===(l=e.getFormatter)||void 0===l?void 0:l.call(e))||p,f=function(e,t){if(r8(t))return e=>e;let n=t.getOptions(),{innerWidth:r,innerHeight:a,insetTop:i,insetBottom:o,insetLeft:s,insetRight:l}=n,[c,u,p]="left"===e||"right"===e?[i,o,a]:[s,l,r],d=new as.b({domain:[0,1],range:[c/p,1-u/p]});return e=>d.map(e)}(o,s),g=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!an(t))return a;let i=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=i[0],t=new as.b({domain:[0,n],range:[0,1]});return t.map(e)}if("left"===e){let e=i[1],t=new as.b({domain:[0,r],range:[0,1]});return t.map(e)}return a}}(o,s),m=e=>["top","bottom","center","outer"].includes(e),h=e=>["left","right"].includes(e);return r8(s)||r9(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=r7(s)&&"center"===o||r9(s)&&(null===(i=e.getTicks)||void 0===i?void 0:i.call(e))&&m(o)||r9(s)&&h(o);return{value:u?1-c:c,label:p(d(r4(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=g(f(e.map(t)+i)),l=h(o);return{value:l?1-s:s,label:p(d(r4(t),n,r)),id:String(n)}})}let aI=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?(0,rZ.WU)(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)}},aC=aI(e=>{let{direction:t="left",important:n={},labelFormatter:r,order:a,orientation:i,actualPosition:o,position:s,size:l,style:c={},title:u,tickCount:p,tickFilter:d,tickMethod:f,transform:g,indexBBox:m}=e,h=aA(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 T;let{bbox:S}=b,[v]=a,{domain:A,xScale:O}=v.getOptions(),_=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${rx(a)}`]:n.axisLinear,l=e.getOptions().name,c=n[`axis${r$(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}(v,0,E,t,s,i),k=Object.assign(Object.assign(Object.assign({},_),c),h),I=function(e,t,n="xy"){let[r,a,i]=a_(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),C=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]=aa(r),[p,d]=ai(r),f=Math.min(s,l)/2,{insetLeft:g,insetTop:m}=r.getOptions(),h=c*f,b=u*f,[y,E]=[e+i-g,n+o-m],[T,S]=[Math.cos(t),Math.sin(t)],v=r8(r)&&a?(()=>{let{domain:e}=a.getOptions();return e.length})():3;return{startPos:[y+b*T,E+b*S],endPos:[y+h*T,E+h*S],gridClosed:1e-6>Math.abs(d-p-360),gridCenter:[y,E],gridControlAngles:Array(v).fill(0).map((e,t,n)=>(d-p)/v*t)}}}return{}}(s,i,S,y,O),N=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(y),x=ak(v,A,p,r,d,f,s,y),w=m?x.map((e,t)=>{let n=m.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):x,R=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},k),{type:"linear",data:w,crossSize:l,titleText:ah(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}(g,k),grid:(T=k.grid,!(r8(y)&&r9(y)||at(y))&&(void 0===T?!!v.getTicks:T)),gridLength:I,line:!0,indexBBox:m}),k.line?null:{lineOpacity:0}),C),N),n),L=R.labelOverlap.find(e=>"hide"===e.type);return L&&(R.crossSize=!1),new ao.R({className:"axis",style:av(R)})}}),aN=aI(e=>{let{order:t,size:n,position:r,orientation:a,labelFormatter:i,tickFilter:o,tickCount:s,tickMethod:l,important:c={},style:u={},indexBBox:p,title:d,grid:f=!1}=e,g=aA(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:m}=e.getOptions(),h=ak(e,m,s,i,o,l,r,n),b=p?h.map((e,t)=>{let n=p.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):h,[y,E]=aa(n),T=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=t,c=[i+s/2,o+l/2],[u,p]=ai(a),[d,f]=a_(a),g={center:c,radius:Math.min(s,l)/2,startAngle:u,endAngle:p,gridLength:(r-n)*(Math.min(d,f)/2)};if("inner"===e){let{insetLeft:e,insetTop:t}=a.getOptions();return Object.assign(Object.assign({},g),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},g),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,u,y,E,n),{axis:S,axisArc:v={}}=a,A=av((0,rv.Z)({},S,v,T,Object.assign(Object.assign({type:"arc",data:b,titleText:ah(d),grid:f},g),c)));return new ao.R({style:ap(A,["transform"])})}});aC.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},aN.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var ax=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 aw=e=>{let{important:t={}}=e,n=ax(e,["important"]);return r=>{let{theme:a,coordinate:i,scales:o}=r;return aC(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]=ai(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)}};aw.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"center"});var aR=n(37948),aL=n(25897),aD=n(7847),aP=n(74271);class aM extends aP.X{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:aD.Z}}map(e){let[t]=this.options.range;return void 0!==t?t:this.options.unknown}invert(e){let[t]=this.options.range;return e===t&&void 0!==t?this.options.domain:[]}getTicks(){let{tickMethod:e,domain:t,tickCount:n}=this.options,[r,a]=t;return(0,aL.Z)(r)&&(0,aL.Z)(a)?e(r,a,n):[]}clone(){return new aM(this.options)}}var aF=n(13393),aB=n(33338);class aj extends aP.X{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!(0,aF.J)(e))return this.options.unknown;let t=(0,aB.b)(this.thresholds,e,0,this.n);return this.options.range[t]}invert(e){let{range:t}=this.options,n=t.indexOf(e),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new aj(this.options)}rescale(){let{domain:e,range:t}=this.options;this.n=Math.min(e.length,t.length-1),this.thresholds=e}}var aU=n(82844);function aH(e){return(0,rO.Z)(e)?0:(0,aU.Z)(e)?e.length:Object.keys(e).length}var aG=function(e,t){if(!(0,aU.Z)(e))return -1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,a=0;aMath.abs(e)?e:parseFloat(e.toFixed(14))}let a$=[1,5,2,2.5,4,3],aZ=100*Number.EPSILON,aW=(e,t,n=5,r=!0,a=a$,i=[.25,.2,.5,.05])=>{let o=n<0?0:Math.round(n);if(Number.isNaN(e)||Number.isNaN(t)||"number"!=typeof e||"number"!=typeof t||!o)return[];if(t-e<1e-15||1===o)return[e];let s={score:-2,lmin:0,lmax:0,lstep:0},l=1;for(;l<1/0;){for(let n=0;n=o?2-(c-1)/(o-1):1;if(i[0]*p+i[1]+i[2]*n+i[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(e,t,c*(d-1));if(i[0]*p+i[1]*f+i[2]*n+i[3]=0&&(l=1),1-s/(o-1)-n+l}(u,a,l,f,g,c),b=1-.5*((t-g)**2+(e-f)**2)/(.1*(t-e))**2,y=function(e,t,n,r,a,i){let o=(e-1)/(i-a),s=(t-1)/(Math.max(i,r)-Math.min(n,a));return 2-Math.max(o/s,s/o)}(d,o,e,t,f,g),E=i[0]*h+i[1]*b+i[2]*y+1*i[3];E>s.score&&(!r||f<=e&&g>=t)&&(s.lmin=f,s.lmax=g,s.lstep=c,s.score=E)}}g+=1}d+=1}}l+=1}let u=az(s.lmax),p=az(s.lmin),d=az(s.lstep),f=Math.floor(Math.round(1e12*((u-p)/d))/1e12)+1,g=Array(f);g[0]=az(p);for(let e=1;ee-t);let r=[];for(let n=1;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};function aX(e){let{domain:t}=e.getOptions(),[n,r]=[t[0],rV(t)];return[n,r]}let aQ=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,style:l,crossPadding:c,padding:u}=e,p=aK(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:d,y:f,width:g,height:m}=u,h=ab(i,n),{legendContinuous:b={}}=o,y=av(Object.assign({},b,Object.assign(Object.assign({titleText:ah(s),labelAlign:"value",labelFormatter:"string"==typeof t?e=>(0,rZ.WU)(t)(e.label):t},function(e,t,n,r,a,i){let o=aT(e,"color"),s=function(e,t,n){var r,a,i;let{size:o}=t,s=aS(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 aj){let{range:e}=o.getOptions(),[t,n]=aX(o);return o instanceof aV||o instanceof aq?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 aM)));return Object.assign(Object.assign({},e),{domain:[p,d],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,aQ,o)),l),p)),E=new ay({style:Object.assign(Object.assign({x:d,y:f,width:g,height:m},h),{subOptions:y})});return E.appendChild(new aR.V({className:"legend-continuous",style:y})),E}};aQ.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let aJ=e=>(...t)=>aQ(Object.assign({},{block:!0},e))(...t);aJ.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let a0=e=>t=>{let{scales:n}=t,r=aT(n,"size");return aQ(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};a0.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let a1=e=>a0(Object.assign({},{block:!0},e));a1.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var a2=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 a3=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:a,paddingLeft:i,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:p,insetTop:d,insetRight:f,insetBottom:g,margin:m,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,data:T,coordinate:S,theme:v,component:A,interaction:O,x:_,y:k,z:I,key:C,frame:N,labelTransform:x,parentKey:w,clip:R,viewStyle:L,title:D}=t,P=a2(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:_,y:k,z:I,key:C,width:n,height:r,depth:a,padding:c,paddingLeft:i,paddingRight:o,paddingTop:s,inset:u,insetLeft:p,insetTop:d,insetRight:f,insetBottom:g,paddingBottom:l,theme:v,coordinate:S,component:A,interaction:O,frame:N,labelTransform:x,margin:m,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,parentKey:w,clip:R,style:L},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},P),{key:`${C}-0`,data:T}),e&&{title:D})]})]};a3.props={};var a4=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 a5(e){return(t,...n)=>(0,rv.Z)({},e(t,...n),t)}function a6(e){return(t,...n)=>(0,rv.Z)({},t,e(t,...n))}function a9(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=a4(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}return e}var a8=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 a7=()=>e=>{let{children:t}=e,n=a8(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:a={},axis:i={},legend:o={},encode:s={},transform:l=[]}=n,c=a8(n,["data","scale","axis","legend","encode","transform"]),u=t.map(e=>{var{data:t,scale:n={},axis:c={},legend:u={},encode:p={},transform:d=[]}=e,f=a8(e,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:a9(t,r),scale:(0,rv.Z)({},a,n),encode:(0,rv.Z)({},s,p),transform:[...l,...d],axis:!!c&&!!i&&(0,rv.Z)({},i,c),legend:!!u&&!!o&&(0,rv.Z)({},o,u)},f)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function ie([e,t],[n,r]){return[e-n,t-r]}function it([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function ir([e,t]){return Math.atan2(t,e)}function ia([e,t]){return ir([e,t])+Math.PI/2}function ii(e,t){let n=ir(e),r=ir(t);return no[e]),u=new as.b({domain:[l,c],range:[0,100]}),p=e=>(0,aL.Z)(o[e])&&!Number.isNaN(o[e])?u.map(o[e]):0,d={between:t=>`${e[t]} ${p(t)}%`,start:t=>0===t?`${e[t]} ${p(t)}%`:`${e[t-1]} ${p(t)}%, ${e[t]} ${p(t)}%`,end:t=>t===e.length-1?`${e[t]} ${p(t)}%`:`${e[t]} ${p(t)}%, ${e[t+1]} ${p(t)}%`},f=s.sort((e,t)=>p(e)-p(t)).map(d[a]||d.between).join(",");return`linear-gradient(${"y"===r||!0===r?i?180:90:i?90:0}deg, ${f})`}function ip(e){let[t,n,r,a]=e;return[a,t,n,r]}function id(e,t,n){let[r,a,,i]=r9(e)?ip(t):t,[o,s]=n,l=e.getCenter(),c=ia(ie(r,l)),u=ia(ie(a,l)),p=u===c&&o!==s?u+2*Math.PI:u;return{startAngle:c,endAngle:p-c>=0?p:2*Math.PI+p,innerRadius:it(i,l),outerRadius:it(r,l)}}function ig(e){let{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function im(e,t){if(!r8(e))return"";let n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function ih(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 ib(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}a7.props={};var iy=n(86224),iE=n(25049);function iT(e){let t="function"==typeof e?e:e.render;return class extends nX.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}var iS=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 iv=iT(e=>{let t;let n=e.attributes,{className:r,class:a,transform:i,rotate:o,labelTransform:s,labelTransformOrigin:l,x:c,y:u,x0:p=c,y0:d=u,text:f,background:g,connector:m,startMarker:h,endMarker:b,coordCenter:y,innerHTML:E}=n,T=iS(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,p,d].some(e=>!(0,aL.Z)(e))){e.children.forEach(e=>e.remove());return}let S=rD(T,"background"),{padding:v}=S,A=iS(S,["padding"]),O=rD(T,"connector"),{points:_=[]}=O,k=iS(O,["points"]);t=E?rU(e).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",E).call(il,Object.assign({transform:s,transformOrigin:l},T)).node():rU(e).maybeAppend("text","text").style("zIndex",0).style("text",f).call(il,Object.assign({textBaseline:"middle",transform:s,transformOrigin:l},T)).node();let I=rU(e).maybeAppend("background","rect").style("zIndex",-1).call(il,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,p]=l,[d,f]=c;return o.setEulerAngles(s),{x:u-i,y:p-n,width:2*d+i+r,height:2*f+n+a}}(t,v)).call(il,g?A:{}).node(),C=+p(0,iE.Z)()(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]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),p=l(s+1),d=ir(ie(p,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${d})`,textAlign:"center",textBaseline:"middle"}}function i_(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=rF(n.x,c),s=rF(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 ik(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),c=id(r,t,[a,i]),{innerRadius:u,outerRadius:p,startAngle:d,endAngle:f}=c,g="inside"===e?(d+f)/2:f,m=iC(g,o,s),h=(()=>{let[n,r]=t,[a,i]="inside"===e?iI(l,g,u+(p-u)*.5):is(n,r);return{x:a,y:i}})();return Object.assign(Object.assign({},h),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:m})}function iI(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function iC(e,t,n){return t?e/Math.PI*180+(n?0:0>Math.sin(e)?90:-90):0}function iN(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=id(r,t,[a,i]),{startAngle:p,endAngle:d}=u,f=r.getCenter(),g=(p+d)/2,m=iC(g,o,s),{innerRadius:h,outerRadius:b}=u,[y,E]=iI(f,g,h+(b-h)*l+c);return Object.assign({x:y,y:E},{textAlign:"center",textBaseline:"middle",rotate:m})}function ix(e){return void 0===e?null:e}function iw(e,t,n,r){let{bounds:a}=n,[i]=a;return{x:ix(i[0]),y:ix(i[1])}}function iR(e,t,n,r){let{bounds:a}=n;if(1===a.length)return iw(e,t,n,r);let i=r7(r)?ik:ar(r)?iN:i_;return i(e,t,n,r)}function iL(e,t,n){let r=id(n,e,[t.y,t.y1]),{innerRadius:a,outerRadius:i}=r;return a+(i-a)}function iD(e,t,n){let r=id(n,e,[t.y,t.y1]),{startAngle:a,endAngle:i}=r;return(a+i)/2}function iP(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,p=r.getCenter(),d=iD(t,n,r),f=Math.sin(d)>0?1:-1,g=iC(d,a,i),m={textAlign:f>0||r7(r)?"start":"end",textBaseline:"middle",rotate:g},h=iL(t,n,r),b=h+(s?l:o),[[y,E],[T,S],[v,A]]=function(e,t,n,r,a){let[i,o]=iI(e,t,n),[s,l]=iI(e,t,r),c=Math.sin(t)>0?1:-1;return[[i,o],[s,l],[s+c*a,l]]}(p,d,h,b,s?c:0),O=s?+u*f:0,_=v+O;return Object.assign(Object.assign({x0:y,y0:E,x:v+O,y:A},m),{connector:s,connectorPoints:[[T-_,S-A],[v-_,A-A]]})}function iM(e,t,n,r){let{bounds:a}=n;if(1===a.length)return iw(e,t,n,r);let i=r7(r)?ik:ar(r)?iP:i_;return i(e,t,n,r)}var iF=n(80732);function iB(e,t={}){let{labelHeight:n=14,height:r}=t,a=(0,iF.Z)(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 ij(e,t){let n=(0,iF.Z)(e,e=>e.y),{height:r,labelHeight:a=14}=t,i=Math.ceil(r/a);if(n.length<=i)return iB(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 iH=new WeakMap;function iG(e,t,n,r,a,i){if(!ar(r))return{};if(iH.has(t))return iH.get(t);let o=i.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:a,connectorDistance:i}=t,o=iU(iP("outside",e,t,n),[]),s=n.getCenter(),l=iL(e,t,n),c=iD(e,t,n),u=s[0]+(l+r+a+ +i)*(Math.sin(c)>0?1:-1),{x:p}=o,d=u-p;return o.x+=d,o.connectorPoints[0][0]-=d,o})(e,n,r)),{width:s,height:l}=r.getOptions(),c=o.filter(e=>e.xe.x>=s/2),p=Object.assign(Object.assign({},a),{height:l});return ij(c,p),ij(u,p),o.forEach((e,t)=>iH.set(i[t],e)),iH.get(t)}var iz=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 i$(e,t,n,r){if(!ar(r))return{};let{connectorLength:a,connectorLength2:i,connectorDistance:o}=n,s=iz(iP("outside",t,n,r),[]),{x0:l,y0:c}=s,u=r.getCenter(),p=function(e){if(ar(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),d=ia([l-u[0],c-u[1]]),f=Math.sin(d)>0?1:-1,[g,m]=iI(u,d,p+a);return s.x=g+(i+o)*f,s.y=m,s}var iZ=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 iW=(e,t)=>{let{coordinate:n,theme:r}=t,{render:a}=e;return(t,i,o,s)=>{let{text:l,x:c,y:u,transform:p="",transformOrigin:d,className:f=""}=i,g=iZ(i,["text","x","y","transform","transformOrigin","className"]),m=function(e,t,n,r,a,i){let{position:o}=t,{render:s}=a,l=void 0!==o?o:ar(n)?"inside":r9(n)?"right":"top",c=s?"htmlLabel":"inside"===l?"innerLabel":"label",u=r[c],p=Object.assign({},u,t),d=Q[ib(l)];if(!d)throw Error(`Unknown position: ${l}`);return Object.assign(Object.assign({},u),d(l,e,p,n,a,i))}(t,i,n,r,e,s),{rotate:h=0,transform:b=""}=m,y=iZ(m,["rotate","transform"]);return rU(new iv).call(il,y).style("text",`${l}`).style("className",`${f} g2-label`).style("innerHTML",a?a(l,i.datum,i.index):void 0).style("labelTransform",`${b} rotate(${+h}) ${p}`.trim()).style("labelTransformOrigin",d).style("coordCenter",n.getCenter()).call(il,g).node()}};iW.props={defaultMarker:"point"};var iY=n(11108),iV=function(e,t){if(!(0,aU.Z)(e))return e;for(var n=[],r=0;re+i),s=(0,i3.Nw)(o,t),l=Math.min(a.length-1,Math.max(0,s+(n?-1:0)));return a[l]}function i6(e,t,n){if(!t)return e.getOptions().domain;if(!i4(e)){let r=(0,iF.Z)(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 i9(e,t,n,r,a,i){let{x:o,y:s}=a,l=(e,t)=>{let[n,r]=i.invert(e);return[i5(o,n,t),i5(s,r,t)]},c=l([e,t],!0),u=l([n,r],!1),p=i6(o,[c[0],u[0]]),d=i6(s,[c[1],u[1]]);return[p,d]}function i8(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}var i7=n(10233),oe=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 ot(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:p=o,radiusBottomRight:d=o,radiusTopLeft:f=o,radiusTopRight:g=o,minWidth:m=-1/0,maxWidth:h=1/0,minHeight:b=-1/0}=a,y=oe(a,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!r8(r)&&!ae(r)){let n=!!r9(r),[a,,i]=n?ip(t):t,[o,E]=a,[T,S]=ie(i,a),v=(T>0?o:o+T)+s,A=(S>0?E:E+S)+l,O=Math.abs(T)-(s+c),_=Math.abs(S)-(l+u),k=n?r3(O,b,1/0):r3(O,m,h),I=n?r3(_,m,h):r3(_,b,1/0),C=n?v:v-(k-O)/2,N=n?A-(I-_)/2:A-(I-_);return rU(e.createElement("rect",{})).style("x",C).style("y",N).style("width",k).style("height",I).style("radius",[f,g,d,p]).call(il,y).node()}let{y:E,y1:T}=n,S=r.getCenter(),v=id(r,t,[E,T]),A=(0,i7.Z)().cornerRadius(o).padAngle(i*Math.PI/180);return rU(e.createElement("path",{})).style("d",A(v)).style("transform",`translate(${S[0]}, ${S[1]})`).style("radius",o).style("inset",i).call(il,y).node()}let on=(e,t)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:a=!0,last:i=!0}=e,o=oe(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:s,document:l}=t;return(t,r,c)=>{let{color:u,radius:p=0}=c,d=oe(c,["color","radius"]),f=d.lineWidth||1,{stroke:g,radius:m=p,radiusTopLeft:h=m,radiusTopRight:b=m,radiusBottomRight:y=m,radiusBottomLeft:E=m,innerRadius:T=0,innerRadiusTopLeft:S=T,innerRadiusTopRight:v=T,innerRadiusBottomRight:A=T,innerRadiusBottomLeft:O=T,lineWidth:_="stroke"===n||g?f:0,inset:k=0,insetLeft:I=k,insetRight:C=k,insetBottom:N=k,insetTop:x=k,minWidth:w,maxWidth:R,minHeight:L}=o,D=oe(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?h:S,a?b:v,i?y:A,i?E:O],B=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];r9(s)&&B.push(B.shift());let j=Object.assign(Object.assign({radius:m},Object.fromEntries(B.map((e,t)=>[e,F[t]]))),{inset:k,insetLeft:I,insetRight:C,insetBottom:N,insetTop:x,minWidth:w,maxWidth:R,minHeight:L});return rU(ot(l,t,r,s,j)).call(il,d).style("fill","transparent").style(n,P).style(ig(e),M).style("lineWidth",_).style("stroke",void 0===g?P:g).call(il,D).node()}};on.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let or={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function oa(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>oa(e,t,n,r))}function oi(e){oa(e,"visibility","hidden",!0)}function oo(e){oa(e,"visibility","visible",!0)}var os=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 ol(e){return rU(e).selectAll(`.${iX}`).nodes().filter(e=>!e.__removed__)}function oc(e,t){return ou(e,t).flatMap(({container:e})=>ol(e))}function ou(e,t){return t.filter(t=>t!==e&&t.options.parentKey===e.options.key)}function op(e){return rU(e).select(`.${iJ}`).node()}function od(e){if("g"===e.tagName)return e.getRenderBounds();let t=e.getGeometryBounds(),n=new nX.mN;return n.setFromTransformedAABB(t,e.getWorldTransform()),n}function of(e,t){let{offsetX:n,offsetY:r}=t,a=od(e),{min:[i,o],max:[s,l]}=a;return ns||rl?null:[n-i,r-o]}function og(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 om(e){return e=>e.__data__.color}function oh(e){return e=>e.__data__.x}function ob(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=>[oE(e.key,t.key),t.data])}));return e=>{let{index:t,markKey:r,viewKey:a}=e.__data__,i=n.get(oE(a,r));return i[t]}}function oy(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:or[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 oE(e,t){return`${e},${t}`}function oT(e,t){let n=Array.isArray(e)?e:[e],r=n.flatMap(e=>e.marks.map(t=>[oE(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=oE(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 oS(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 ov(e){var{link:t=!1,valueof:n=(e,t)=>e,coordinate:r}=e,a=os(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=(0,iF.Z)(e,(e,t)=>{let{x:n}=e.__data__,{x:r}=t.__data__;return n-r});for(let e=1;en(e,l)),{fill:m=l.getAttribute("fill")}=g,h=os(g,["fill"]),b=new nX.y$({className:"element-link",style:Object.assign({d:s.toString(),fill:m,zIndex:-2},h)});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 oA(e,t,n){let r=t=>{let{transform:n}=e.style;return n?`${n} ${t}`:t};if(r8(n)){let{points:a}=e.__data__,[i,o]=r9(n)?ip(a):a,s=n.getCenter(),l=ie(i,s),c=ie(o,s),u=ir(l),p=ii(l,c),d=u+p/2,f=t*Math.cos(d),g=t*Math.sin(d);return r(`translate(${f}, ${g})`)}return r(r9(n)?`translate(${t}, 0)`:`translate(0, ${-t})`)}function oO(e){var{document:t,background:n,scale:r,coordinate:a,valueof:i}=e,o=os(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(!i4(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(!i4(n))return[0,1];let{__data__:a}=e,{y:i}=a,[o,s]=l(n,i,t);return[o,s]},p=(e,n)=>{let{padding:r}=n,[i,o]=c(e,r),[s,l]=u(e,r),p=[[i,s],[o,s],[o,l],[i,l]].map(e=>a.map(e)),{__data__:d}=e,{y:f,y1:g}=d;return ot(t,p,{y:f,y1:g},a,n)},d=(e,t)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:a=""}=t,i=os(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(i4)};return[e=>{e.background&&e.background.remove();let t=rW(o,t=>i(t,e)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:a=-2,padding:l=.001,lineWidth:c=0}=t,u=os(t,["fill","fillOpacity","zIndex","padding","lineWidth"]),g=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:a,padding:l,lineWidth:c}),m=f()?p:d,h=m(e,g);h.className=s,e.parentNode.parentNode.appendChild(h),e.background=h},e=>{var t;null===(t=e.background)||void 0===t||t.remove(),e.background=null},e=>e.className===s]}function o_(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 ok(e,t,n){return e.find(e=>Object.entries(t).every(([t,r])=>n(e)[t]===r))}function oI(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function oC(e,t=!1){let n=iV(e,e=>!!e).map((e,t)=>[0===t?"M":"L",...e]);return t&&n.push(["Z"]),n}function oN(e){return e.querySelectorAll(".element")}function ox(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function ow(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 oR(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=ox(i,e=>"element"===e.className),l=ox(i,e=>"component"===e.className),c=ox(i,e=>"label"===e.className),u=s||l||c;if(!u)return;let{className:p,markType:d}=u,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===p?(f.data={data:ow(u,t)},n.emit(`element:${e}`,f),n.emit(`${d}:${e}`,f)):"label"===p?(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 oL(){return(e,t,n)=>{let{container:r,view:a}=e,i=oR(rG.CLICK,a,n,e=>1===e.detail),o=oR(rG.DBLCLICK,a,n,e=>2===e.detail),s=oR(rG.POINTER_TAP,a,n),l=oR(rG.POINTER_DOWN,a,n),c=oR(rG.POINTER_UP,a,n),u=oR(rG.POINTER_OVER,a,n),p=oR(rG.POINTER_OUT,a,n),d=oR(rG.POINTER_MOVE,a,n),f=oR(rG.POINTER_ENTER,a,n),g=oR(rG.POINTER_LEAVE,a,n),m=oR(rG.POINTER_UPOUTSIDE,a,n),h=oR(rG.DRAG_START,a,n),b=oR(rG.DRAG,a,n),y=oR(rG.DRAG_END,a,n),E=oR(rG.DRAG_ENTER,a,n),T=oR(rG.DRAG_LEAVE,a,n),S=oR(rG.DRAG_OVER,a,n),v=oR(rG.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",p),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",f),r.addEventListener("pointerleave",g),r.addEventListener("pointerupoutside",m),r.addEventListener("dragstart",h),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",E),r.addEventListener("dragleave",T),r.addEventListener("dragover",S),r.addEventListener("drop",v),()=>{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",p),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",f),r.removeEventListener("pointerleave",g),r.removeEventListener("pointerupoutside",m),r.removeEventListener("dragstart",h),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",E),r.removeEventListener("dragleave",T),r.removeEventListener("dragover",S),r.removeEventListener("drop",v)}}}oL.props={reapplyWhenUpdate:!0};var oD=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 oP(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":aw,"component.axisLinear":aC,"component.axisArc":aN,"component.legendContinuousBlock":aJ,"component.legendContinuousBlockSize":a1,"component.legendContinuousSize":a0,"interaction.event":oL,"composition.mark":a3,"composition.view":a7,"shape.label.label":iW}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||rw(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=oD(e,["type"]);n||rw("Plot type is required!");let i=r(n);return null==i?void 0:i(a,t)},r]}function oM(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||rw("Cannot find library document")}var oF=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 oB(e,t){let{coordinate:n={},coordinates:r}=e,a=oF(e,["coordinate","coordinates"]);if(r)return e;let{type:i,transform:o=[]}=n,s=oF(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},a),{coordinates:o});let[,l]=oP("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 oj(e,t){return e.filter(e=>e.type===t)}function oU(e){return oj(e,"polar").length>0}function oH(e){return oj(e,"transpose").length%2==1}function oG(e){return oj(e,"theta").length>0}function oz(e){return oj(e,"radial").length>0}var o$=n(25338),oZ=n(63488);function oW(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=(0,rQ.Z)(a)+1,o=`${t}${i}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function oY(e,t){let n,r;let[a]=oP("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)]:[rC,rC],s=a(e);return o(s)}function oV(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),a=n.every(oq)?(0,ad.Z)(r):n.every(oK)?Array.from(new Set(r)):null;if(null!==a)for(let e of n)e.domain=a}function oq(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function oK(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function oX(e,t,n,r,a){let[i]=oP("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=r$(e),a=oZ[`scheme${r}`],i=oZ[`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 oQ(e,t){return t||(e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")?"point":"ordinal")}function oJ(e,t,n){return n||("color"!==e?"linear":t?"linear":"sequential")}function o0(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 o1(e){return o3(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function o2(e){return o3(e,e=>e instanceof Date)}function o3(e,t){for(let n of e)if(n.some(t))return!0;return!1}let o4={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},o5={threshold:"threshold",quantize:"quantize",quantile:"quantile"},o6={ordinal:"ordinal",band:"band",point:"point"},o9={constant:"constant"};var o8=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 o7(e,t,n,r,a){let[i]=oP("component",r),{scaleInstances:o,scale:s,bbox:l}=e,c=o8(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 se(e,t){let n=["left","right","bottom","top"],r=(0,rA.Xx)(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=(0,rX.Z)(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=(0,rQ.Z)(e,e=>e.size),r=(0,rQ.Z)(e,e=>e.order),a=(0,rQ.Z)(e,e=>e.crossPadding),i=e[0].position;return{type:"group",size:n,order:r,position:i,children:e,crossPadding:a}})}function st(e){let t=oj(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=rJ(e);return[n,r]}let n=oj(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=r1(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function sn(e,t,n,r,a,i){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?ss:o.startsWith("group")?sr:o.startsWith("legendContinuous")?sl:"legendCategory"===o?sc:o.startsWith("slider")?so:"title"===o?si:o.startsWith("scrollbar")?sa:()=>{})(e,t,n,r,a,i)}function sr(e,t,n,r,a,i){let{children:o}=e,s=(0,rQ.Z)(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>sn(e,t,n,r,a,i));let l=(0,rQ.Z)(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}function sa(e,t,n,r,a,i){let{trackSize:o=6}=(0,rv.Z)({},a.scrollbar,e);e.size=o}function si(e,t,n,r,a,i){let o=(0,rv.Z)({},a.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=o8(o,["title","subtitle","spacing"]);if(s){let t=rD(u,"title"),n=sm(s,t);e.size=n.height}if(l){let t=rD(u,"subtitle"),n=sm(l,t);e.size+=c+n.height}}function so(e,t,n,r,a,i){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=a;return(0,rv.Z)({},t,e)})();e.size=Math.max(o,2.4*s)}function ss(e,t,n,r,a,i){var o;e.transform=e.transform||[{type:"hide"}];let s="left"===r||"right"===r,l=sf(e,r,a),{tickLength:c=0,labelSpacing:u=0,titleSpacing:p=0,labelAutoRotate:d}=l,f=o8(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),g=su(e,i),m=sp(f,g),h=c+u;if(m&&m.length){let r=(0,rQ.Z)(m,e=>e.width),a=(0,rQ.Z)(m,e=>e.height);if(s)e.size=r+h;else{let{tickFilter:i,labelTransform:s}=e;(function(e,t,n,r,a){let i=(0,rX.Z)(t,e=>e.width);if(i>n)return!0;let o=e.clone();o.update({range:[0,n]});let s=sg(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],p=n+r[1],d=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;ep)return!0;let i=l[e+1];if(i){let[n]=d(i,t[e+1]);if(a>n)return!0}}return!1})(g,m,t,n,i)&&!s&&!1!==d&&null!==d?(e.labelTransform="rotate(90)",e.size=r+h):(e.labelTransform=null!==(o=e.labelTransform)&&void 0!==o?o:"rotate(0)",e.size=a+h)}}else e.size=c;let b=sd(f);b&&(s?e.size+=p+b.width:e.size+=p+b.height)}function sl(e,t,n,r,a,i){let o=(()=>{let{legendContinuous:t}=a;return(0,rv.Z)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=o8(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,p=rD(c,"ribbon"),{size:d}=p,f=rD(c,"handleIcon"),{size:g}=f;e.size=Math.max(d,2.4*g);let m=su(e,i),h=sp(c,m);if(h){let t=u?"width":"height",n=(0,rQ.Z)(h,e=>e[t]);e.size+=n+s}let b=sd(c);b&&(u?e.size=Math.max(e.size,b.width):e.size+=l+b.height)}function sc(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,rv.Z)({title:r},t,Object.assign(Object.assign({},e),{title:i}))})(),{itemSpacing:s,itemMarkerSize:l,titleSpacing:c,rowPadding:u,colPadding:p,maxCols:d=1/0,maxRows:f=1/0}=o,g=o8(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:m,length:h}=e,b=e=>Math.min(e,f),y=e=>Math.min(e,d),E="left"===r||"right"===r,T=void 0===h?t+(E?0:n[0]+n[1]):h,S=sd(g),v=su(e,i),A=sp(g,v,"itemLabel"),O=Math.max(A[0].height,l)+u,_=(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=S?S.height:0,l=T-s;for(let{width:e}of A){let s=_(e,p);t=Math.max(t,s),n+O>l?(r++,i=Math.max(i,a),o=Math.max(o,n),a=1,n=O):(n+=O,a++)}r<=1&&(i=a,o=n),e.size=t*y(r),e.length=o+s,(0,rv.Z)(e,{cols:y(r),gridRow:i})})():"number"==typeof m?(()=>{let t=Math.ceil(A.length/m),n=(0,rQ.Z)(A,e=>_(e.width))*m;e.size=O*b(t)-u,e.length=Math.min(n,T)})():(()=>{let t=1,n=0,r=-1/0;for(let{width:e}of A){let a=_(e,p);n+a>T?(r=Math.max(r,n),n=a,t++):n+=a}1===t&&(r=n),e.size=O*b(t)-u,e.length=r})(),S&&(E?e.size=Math.max(e.size,S.width):e.size+=c+S.height)}function su(e,t){let[n]=oP("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 sp(e,t,n="label"){let{labelFormatter:r,tickFilter:a,label:i=!0}=e,o=o8(e,["labelFormatter","tickFilter","label"]);if(!i)return null;let s=function(e,t,n){let r=sg(e,n),a=r.map(e=>"number"==typeof e?r4(e):e),i=t?"string"==typeof t?(0,rZ.WU)(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return a.map(i)}(t,r,a),l=rD(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 sm(e,n)}),p=c.some(e=>e.transform);if(!p){let t=s.map((e,t)=>t);e.indexBBox=new Map(t.map(e=>[e,[s[e],u[e]]]))}return u}function sd(e){let{title:t}=e,n=o8(e,["title"]);if(!1===t||null==t)return null;let r=rD(n,"title"),{direction:a,transform:i}=r,o=Array.isArray(t)?t.join(","):t;if("string"!=typeof o)return null;let s=sm(o,Object.assign(Object.assign({},r),{transform:i||("vertical"===a?"rotate(-90)":"")}));return s}function sf(e,t,n){let{title:r}=e,[a,i]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${rx(t)}`]:s}=n;return(0,rv.Z)({title:a},o,s,Object.assign(Object.assign({},e),{title:i}))}function sg(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function sm(e,t){let n=e instanceof nX.s$?e:new nX.xv({style:{text:`${e}`}}),{filter:r}=t,a=o8(t,["filter"]);n.attr(Object.assign(Object.assign({},a),{visibility:"none"}));let i=n.getBBox();return i}var sh=n(47622),sb=n(91077);function sy(e,t,n,r,a,i,o){let s=(0,rA.ZP)(e,e=>e.position),{padding:l=i.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:p=l,paddingTop:d=l}=a,f={paddingBottom:p,paddingLeft:c,paddingTop:d,paddingRight:u};for(let e of r){let r=`padding${rx(ib(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=(0,rQ.Z)(e.children,e=>e.size)):e.size=e.defaultSize},p=r=>{r.size||("auto"!==l?u(r):(sn(r,t,n,e,i,o),c(r)))},d=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},g="bottom"===e||"top"===e,m=(0,sh.Z)(a,e=>e.order),h=a.filter(e=>e.type.startsWith("axis")&&e.order==m);if(h.length&&(h[0].crossPadding=0),"number"==typeof l)a.forEach(c),a.forEach(d);else if(0===a.length)f[r]=0;else{let e=g?t+n[0]+n[1]:t,i=se(a,e);i.forEach(p);let o=i.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=o}}return f}function sE({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:a,paddingBottom:i,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:p,insetBottom:d,insetLeft:f,insetRight:g,insetTop:m}){let h=n+o,b=a+s,y=r+c,E=i+l,T=e-o-c,S=[h+f,b+m,p-f-g,u-m-d,"center",null,null],v={top:[h,0,p,b,"vertical",!0,sb.Z,o,T],right:[e-y,b,y,u,"horizontal",!1,sb.Z],bottom:[h,t-E,p,E,"vertical",!1,sb.Z,o,T],left:[0,b,h,u,"horizontal",!0,sb.Z],"top-left":[h,0,p,b,"vertical",!0,sb.Z],"top-right":[h,0,p,b,"vertical",!0,sb.Z],"bottom-left":[h,t-E,p,E,"vertical",!1,sb.Z],"bottom-right":[h,t-E,p,E,"vertical",!1,sb.Z],center:S,inner:S,outer:S};return v}function sT(e,t,n={},r=!1){if(rj(e)||Array.isArray(e)&&r)return e;let a=rD(e,t);return(0,rv.Z)(n,a)}function sS(e,t={}){return rj(e)||Array.isArray(e)||!sv(e)?e:(0,rv.Z)(t,e)}function sv(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function sA(e,t){return"object"==typeof e?rD(e,t):e}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};function s_(e,t,n){let{encode:r={},scale:a={},transform:i=[]}=t,o=sO(t,["encode","scale","transform"]);return[e,Object.assign(Object.assign({},o),{encode:r,scale:a,transform:i})]}function sk(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]=oP("data",e),i=function(e){if((0,aL.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=sO(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}(r),{transform:o=[]}=i,s=sO(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())})},rC)})(c)(r),p=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?rY(u):[],Object.assign(Object.assign({},t),{data:p})]},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 sI(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 rL(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 sN(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a=rW(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 sx(e,t,n){let{encode:r,data:a}=t;if(!r)return[e,t];let{library:i}=n,o=function(e){let[t]=oP("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=rW(r,e=>o(a,e));return[e,Object.assign(Object.assign({},t),{encode:s})]}function sw(e,t,n){let{tooltip:r={}}=t;return rj(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:rB(r)&&sv(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function sR(e,t,n){let{data:r,encode:a,tooltip:i={}}=t;if(rj(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(rB(t)){let{field:n,channel:i,color:o,name:s=n,valueFormatter:l=e=>e}=t,c="string"==typeof l?(0,rZ.WU)(l):l,u=i&&a[i],p=u&&a[i].field,d=s||p||i,f=[];for(let t of e){let e=n?r[t][n]:u?a[i].value[t]:null;f[t]={name:d,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);rB(e)?n[i]=e:n[i]={value:e}}return n}return t},{title:s,items:l=[]}=i,c=sO(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 sL(e,t,n){let{encode:r}=t,a=sO(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=sO(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 sD(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,rv.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 sP(e,t,n){let{animate:r}=t;return r||void 0===r||(0,rv.Z)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}var sM=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())})},sF=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},sB=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())})},sj=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 sU(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function sH(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,r=yield function(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,[r,a]=oP("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(rL)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:p}=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:p=l,marginBottom:d=l,inset:f=0,insetLeft:g=f,insetRight:m=f,insetTop:h=f,insetBottom:b=f}=e,y=e=>"auto"===e?20:e,E=n-y(a)-y(i)-c-u-g-m,T=t-y(o)-y(s)-p-d-h-b;return{width:E,height:T}}(e),d={options:e,width:u,height:p};for(;c.length;){let[e]=c.splice(0,1),n=yield sQ(e,t),{type:o=rw("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,d),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=sj(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,rv.Z)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,rv.Z)(e,t),{}),p=[...l,r].reduce((e,t)=>(0,rv.Z)(e,t),{});return Object.assign(Object.assign({},i),{marks:a,coordinate:c,interaction:u,style:p})}(r);e.interaction=a.interaction,e.coordinate=a.coordinate,e.marks=[...a.marks,...a.components];let i=oB(a,n),o=yield sG(i,t);return s$(o,i,n)})}function sG(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,[r]=oP("theme",n),[,a]=oP("mark",n),{theme:i,marks:o,coordinates:s=[]}=e,l=r(sK(i)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=a(n),i=yield function(e,t,n){return sM(this,void 0,void 0,function*(){let[r,a]=yield function(e,t,n){return sM(this,void 0,void 0,function*(){let{library:r}=n,[a]=oP("transform",r),{preInference:i=[],postInference:o=[]}=t,{transform:s=[]}=e,l=[s_,sk,sI,sC,sN,sx,sL,sP,sD,sw,...i.map(a),...s.map(a),...o.map(a),sR],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=(0,rA.Q3)(Object.entries(i).filter(([,e])=>rL(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}),p=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),p=o[e]||{},{independent:d=!1,key:f=r||e,type:g=u?"constant":c?"identity":n}=p,m=sF(p,["independent","key","type"]),h="constant"===g;return{name:e,values:t,scaleKey:d||h?Symbol("independent"):f,scale:Object.assign(Object.assign({type:g,range:h?void 0:a},m),{quantitative:i,ordinal:s})}})});return[a,Object.assign(Object.assign({},t),{index:r,channels:p,tooltip:l})]})}(e,r,t);if(i){let[e,t]=i;c.set(e,t)}}let u=(0,rA.ZP)(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,rv.Z)(e,t),{}),{scaleKey:r}=e[0],{values:a}=e[0],i=Array.from(new Set(a.map(e=>e.field).filter(rL))),o=(0,rv.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)),p=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:o3(t,rB)?"identity":"string"==typeof i?"linear":(a||i||[]).length>2?oQ(e,s):void 0!==a?o1([a])?oQ(e,s):o2(t)?"time":oJ(e,i,o):o1(t)?oQ(e,s):o2(t)?"time":oJ(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 o0(function(e,t){let{zero:n=!1}=t,r=1/0,a=-1/0;for(let t of e)for(let e of t)rL(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 o0(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)rL(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:oq({type:e})?function(e,t,n){let r=e.map(Number),a=new as.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):oK({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=o$.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?oG(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=r$(t),a=oZ[`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=oX(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],rV(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 oX(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=p)}return c})}function sz(e,t,n,r){let a=e.theme,i="string"==typeof t&&a[t]||{},o=r((0,rv.Z)(i,Object.assign({type:t},n)));return o}function s$(e,t,n){var r;let[a]=oP("mark",n),[i]=oP("theme",n),[o]=oP("labelTransform",n),{key:s,frame:l=!1,theme:c,clip:u,style:p={},labelTransform:d=[]}=t,f=i(sK(c)),g=Array.from(e.values()),m=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,rv.Z)({},r,e),Object.assign(t,s)}else{let t=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:r,guide:ap(e,a)});i.push(t)}}}return i}(g,t),h=(function(e,t,n){let{coordinates:r=[],title:a}=t,[,i]=oP("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=oP("component",n),{coordinates:a}=e;function i(e,t,n,i){let o=function(e,t,n=[]){return"x"===e?oH(n)?`${t}Y`:`${t}X`:"y"===e?oH(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:[p]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:p},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=(0,rA.Xx)(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 o4?"continuous":t in o6?"discrete":t in o5?"distribution":t in o9?"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 r5)for(let{option:r,combination:a}of n)if(t.some(e=>(0,rK.Z)(c(e),c(r))))return[e,a];return null}).filter(rL);return u}(n,0),...n.map(e=>{let{name:n}=e;if(oj(t,"helix").length>0||oG(t)||oH(t)&&(oU(t)||oz(t)))return null;if(n.startsWith("x"))return oU(t)?["axisArc",[e]]:oz(t)?["axisLinear",[e]]:[oH(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return oU(t)?["axisLinear",[e]]:oz(t)?["axisArc",[e]]:[oH(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if(oj(t,"radar").length>0)return["axisRadar",[e]];if(!oU(t))return["axisY",[e]]}return null}).filter(rL)]}(o,r);return c.forEach(([e,t])=>{let{props:n}=i(e),{defaultPosition:a,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:p,defaultLength:d,defaultPadding:f=[0,0],defaultCrossPadding:g=[0,0]}=n,m=(0,rv.Z)({},...t),{guide:h,field:b}=m,y=Array.isArray(h)?h:[h];for(let n of y){let[i,m]=function(e,t,n,r,a,i,o){let[s]=st(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]=st(a),s=(o-n)/(e.length-1)*t+n;return["center",s]}if("axisY"===e&&oj(a,"parallel").length>0)return oH(a)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=st(a);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:oU(a)||oz(a)?["center",null]:"axisX"===e&&oj(a,"reflect").length>0||"axisX"===e&&oj(a,"reflectY").length>0?["top",null]:t}(e,l,a,i,o):"string"==typeof e&&e.startsWith("legend")&&oU(o)&&"center"===r.position?["center","vertical"]:l}(e,a,c,n,t,o,r);if(!i&&!m)continue;let h="left"===i||"right"===i,y=h?f[1]:f[0],E=h?g[1]:g[0],{size:T,order:S=p,length:v=d,padding:A=y,crossPadding:O=E}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:v,position:i,plane:l,orientation:m,padding:A,order:S,crossPadding:O,size:T,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(m),g,e),t,n).map(e=>{let t=(0,rv.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:p=0,inset:d=null!==(a=n.inset)&&void 0!==a?a:0,insetLeft:f=d,insetTop:g=d,insetBottom:m=d,insetRight:h=d,margin:b=null!==(i=n.margin)&&void 0!==i?i:0,marginLeft:y=b,marginBottom:E=b,marginTop:T=b,marginRight:S=b,padding:v=n.padding,paddingBottom:A=v,paddingLeft:O=v,paddingRight:_=v,paddingTop:k=v}=function(e,t,n,r){let{coordinates:a}=t;if(!oU(a)&&!oz(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 sf(e,t,n)}),s=(0,rQ.Z)(o,e=>{var t;return null!==(t=e.labelSpacing)&&void 0!==t?t:0}),l=i.flatMap((e,t)=>{let n=o[t],a=su(e,r),i=sp(n,a);return i}).filter(rL),c=(0,rQ.Z)(l,e=>e.height)+s,u=i.flatMap((e,t)=>{let n=o[t];return sd(n)}).filter(e=>null!==e),p=0===u.length?0:(0,rQ.Z)(u,e=>e.height),{inset:d=c,insetLeft:f=d,insetBottom:g=d,insetTop:m=d+p,insetRight:h=d}=t;return Object.assign(Object.assign({},t),{insetLeft:f,insetBottom:g,insetTop:m,insetRight:h})}(e,t,n,r),I=1/4,C=(e,n,r,a,i)=>{let{marks:o}=t;if(0===o.length||e-a-i-e*I>0)return[a,i];let s=e*(1-I);return["auto"===n?s*a/(a+i):a,"auto"===r?s*i/(a+i):i]},N=e=>"auto"===e?20:null!=e?e:20,x=N(k),w=N(A),R=sy(e,s-x-w,[x+T,w+E],["left","right"],t,n,r),{paddingLeft:L,paddingRight:D}=R,P=o-y-S,[M,F]=C(P,O,_,L,D),B=P-M-F,j=sy(e,B,[M+y,F+S],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:H}=j,G=s-E-T,[z,$]=C(G,A,k,H,U),Z=G-z-$;return{width:o,height:s,depth:l,insetLeft:f,insetTop:g,insetBottom:m,insetRight:h,innerWidth:B,innerHeight:Z,paddingLeft:M,paddingRight:F,paddingTop:$,paddingBottom:z,marginLeft:y,marginBottom:E,marginTop:T,marginRight:S,x:c,y:u,z:p}}(h,t,f,n),y=function(e,t,n){let[r]=oP("coordinate",n),{innerHeight:a,innerWidth:i,insetLeft:o,insetTop:s,insetRight:l,insetBottom:c}=e,{coordinates:u=[]}=t,p=u.find(e=>"cartesian"===e.type||"cartesian3D"===e.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===p[0].type,f=Object.assign(Object.assign({},e),{x:o,y:s,width:i-o-l,height:a-c-s,transformations:p.flatMap(r)}),g=d?new r6.Coordinate3D(f):new r6.Coordinate(f);return g}(b,t,n),E=l?(0,rv.Z)({mainLineWidth:1,mainStroke:"#000"},p):p;!function(e,t,n){let r=(0,rA.ZP)(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:d,innerWidth:f,insetBottom:g,insetLeft:m,insetRight:h,insetTop:b,height:y,width:E,depth:T}=n,S={xy:sE({width:E,height:y,paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:d,innerWidth:f,insetBottom:g,insetLeft:m,insetRight:h,insetTop:b}),yz:sE({width:T,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:T,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:sE({width:E,height:T,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:E,innerHeight:T,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,a]=e.split("-"),i=S[r][a],[o,s]=rq(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]=rq(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){if("center"===r){if(at(t)&&r8(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;r8(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):at(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 T=e=>"title"===e||"group"===e||e.startsWith("legend"),S=(e,t,n)=>void 0===n?t:T(e)?n:t,v=(e,t,n)=>void 0===n?t:T(e)?n:t;for(let t=0,n=l?f+b:f;t"group"===e.type);for(let e of A){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=(0,rX.Z)(o),l=r-s,c="flex-start"===i?0:"center"===i?l/2:l;for(let e=0,r=t[g]+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]})))}(h);let T=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,oY(e,n)])}));!function(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels),r=(0,rA.Q3)(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,T);let S={};for(let e of h){let{scales:t=[]}=e,a=[];for(let e of t){let{name:t,uid:i}=e,o=null!==(r=T.get(i))&&void 0!==r?r:oY(e,n);a.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:S.x})),oW(S,{[t]:o})}e.scaleInstances=a}let v=[];for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:i,key:o}=t,{index:l,channels:c,tooltip:u}=n,p=Object.fromEntries(c.map(({name:e,scale:t})=>[e,t])),d=rW(p,({uid:e})=>T.get(e));oW(S,d);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,d),g=a(t),[m,h,E]=function([e,t,n]){if(n)return[e,t,n];let r=[],a=[];for(let n=0;nrL(e)&&rL(t))&&(r.push(i),a.push(o))}return[r,a]}(g(l,d,f,y)),A=r||m.length,O=i?i(h,A,b):[],_=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]),I=m.map((e,t)=>{let n=Object.assign({points:h[t],transform:O[t],index:e,markKey:o,viewKey:s},u&&{title:_(e),items:k(e)});for(let[r,a]of Object.entries(f))n[r]=a[e],E&&(n[`series${r$(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=>_(e))),n});n.data=I,n.index=m;let C=null==e?void 0:e(I,d,b);v.push(...C||[])}let A={layout:b,theme:f,coordinate:y,markState:e,key:s,clip:u,scale:S,style:E,components:h,labelTransform:rN(d.map(o))};return[A,v]}function sZ(e,t,n,r){return sB(this,void 0,void 0,function*(){let{library:a}=r,{components:i,theme:o,layout:s,markState:l,coordinate:c,key:u,style:p,clip:d,scale:f}=e,{x:g,y:m,width:h,height:b}=s,y=sj(s,["x","y","width","height"]),E=["view","plot","main","content"],T=E.map((e,t)=>t),S=E.map(e=>rP(Object.assign({},o.view,p),e)),v=["a","margin","padding","inset"].map(e=>rD(y,e)),A=e=>e.style("x",e=>C[e].x).style("y",e=>C[e].y).style("width",e=>C[e].width).style("height",e=>C[e].height).each(function(e,t,n){!function(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}(rU(n),S[e])}),O=0,_=0,k=h,I=b,C=T.map(e=>{let t=v[e],{left:n=0,top:r=0,bottom:a=0,right:i=0}=t;return{x:O+=n,y:_+=r,width:k-=n+i,height:I-=r+a}});t.selectAll(s2(i2)).data(T.filter(e=>rL(S[e])),e=>E[e]).join(e=>e.append("rect").attr("className",i2).style("zIndex",-2).call(A),e=>e.call(A),e=>e.remove());let N=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:p=0}=s,{type:d,duration:f=300,delay:g=0}=o,{type:m,duration:h=300,delay:b=0}=l;for(let e of i){let{updateType:r=c,updateDuration:a=u,updateDelay:i=p,enterType:o=d,enterDuration:s=f,enterDelay:l=g,exitDuration:y=h,exitDelay:E=b,exitType:T=m}=e;(void 0===r||r)&&(t=Math.max(t,a+i),n=Math.min(n,i)),(void 0===T||T)&&(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),x=!!N&&{duration:N[1]};for(let[,e]of(0,rA.Xx)(i,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let w=t.selectAll(s2(i0)).data(i,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",i0).append(e=>o7((0,rv.Z)({animate:x,scale:f},e),c,o,a,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let i=o7((0,rv.Z)({animate:x,scale:f},e),c,o,a,l),{attributes:s}=i,[u]=n.childNodes;return u.update(s,!1)})).transitions();n.push(...w.flat().filter(rL));let R=t.selectAll(s2(iJ)).data([s],()=>u).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",iJ).call(sJ).call(s1,Array.from(l.keys())).call(s3,d),e=>e.call(s1,Array.from(l.keys())).call(e=>N?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:p,marginLeft:d,marginTop:f}=e,g=[{transform:i,width:o,height:s},{transform:`translate(${l+d}, ${c+f})`,width:u,height:p}];return a.animate(g,{delay:n,duration:r,fill:"both"})})}(e,N):sJ(e)).call(s3,d)).transitions();for(let[i,o]of(n.push(...R.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=i,p=t.select(`#${l}`),d=function(e,t,n,r){let{library:a}=r,[i]=oP("shape",a),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,p=rW(s,e=>e.value),d=c.map(e=>e.points),{theme:f,coordinate:g}=n,{type:m,style:h={}}=e,b=Object.assign(Object.assign({},r),{document:oM(r),coordinate:g,theme:f});return t=>{let{shape:n=l}=h,{shape:r=n,points:a,seriesIndex:s,index:c}=t,g=sj(t,["shape","points","seriesIndex","index"]),y=Object.assign(Object.assign({},g),{index:c}),E=s?s.map(e=>o[e]):o[c],T=s||c,S=rW(h,e=>sW(e,E,T,o,{channel:p})),v=u[r]?u[r](S,b):i(Object.assign(Object.assign({},S),{type:s0(e,r)}),b),A=sY(f,m,r,l);return v(a,y,A,d)}}(i,o,e,r),f=sV("enter",i,o,e,a),g=sV("update",i,o,e,a),m=sV("exit",i,o,e,a),h=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,p,c,"element"),b=p.selectAll(s2(iX)).selectFacetAll(h).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(d).attr("className",iX).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=d(e,r),o=g(e,[a],[i]);return null!==o||(a.nodeName===i.nodeName&&"g"!==i.nodeName?rR(a,i):(a.parentNode.replaceChild(i,a),i.className=iX,i.markType=u,i.__data__=a.__data__)),o}).attr("markType",u).attr("className",iX)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return m(e,[n])}).remove(),e=>e.append(d).attr("className",iX).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,a=g(e,r,[n]),i=new rH(r,null,n.parentNode);return i.transition(a).remove(),a}),e=>e.transition(function(e,t,n){let r=new rH([],n.__toData__,n.parentNode),a=r.append(d).attr("className",iX).attr("markType",u).nodes();return g(e,[n],a)}).remove()).transitions();n.push(...b.flat())}!function(e,t,n,r,a){let[i]=oP("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(s2(iK)).node(),c=new Map,u=new Map,p=Array.from(o.entries()).flatMap(([n,i])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,a){let[i]=oP("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),p=rW(s,e=>e.value),{theme:d,coordinate:f}=n,g=Object.assign(Object.assign({},a),{document:oM(a),theme:d,coordinate:f});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:a=e=>`${e}`,transform:s,style:l,render:f}=e,m=sj(e,["formatter","transform","style","render"]),h=rW(Object.assign(Object.assign({},m),l),e=>sW(e,r,t,o,{channel:p})),{shape:b=c,text:y}=h,E=sj(h,["shape","text"]),T="string"==typeof a?(0,rZ.WU)(a):a,S=Object.assign(Object.assign({},E),{text:T(y,r,t,o),datum:r}),v=Object.assign({type:`label.${b}`,render:f},E),A=i(v,g),O=sY(d,"label",b,"label");return A(n,S,O,u)}}(n,i,e,r,a),p=t.select(`#${s}`).selectAll(s2(iX)).nodes().filter(e=>!e.__removed__);return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=sj(e,["transform"]);return p.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})})}),d=rU(l).selectAll(s2(i1)).data(p,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",i1),e=>e.each(function(e,t,n){let r=c.get(e),a=r(e);rR(n,a)}),e=>e.remove()).nodes(),f=(0,rA.ZP)(d,e=>u.get(e.__data__)),{coordinate:g}=e,m={canvas:a.canvas,coordinate:g};for(let[e,t]of f){let{transform:n=[]}=e,r=rN(n.map(i));r(t,m)}s&&s(d,m)}(e,t,0,a,r)})}function sW(e,t,n,r,a){return"function"==typeof e?e(t,n,r,a):"string"!=typeof e?e:rB(t)&&void 0!==t[e]?t[e]:e}function sY(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 sV(e,t,n,r,a){var i,o;let[,s]=oP("shape",a),[l]=oP("animation",a),{defaultShape:c,shape:u}=n,{theme:p,coordinate:d}=r,f=r$(e),g=`default${f}Animation`,{[g]:m}=(null===(i=u[c])||void 0===i?void 0:i.props)||s(s0(t,c)).props,{[e]:h={}}=p,b=(null===(o=t.animate)||void 0===o?void 0:o[e])||{},y={coordinate:d};return(t,n,r)=>{let{[`${e}Type`]:a,[`${e}Delay`]:i,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:a||m},b);if(!c.type)return null;let u=l(c,y),p=u(n,r,(0,rv.Z)(h,{delay:i,duration:o,easing:s}));return Array.isArray(p)?p:[p]}}function sq(e){return e.finished.then(()=>{e.cancel()}),e}function sK(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e,n=sj(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function sX(e){let{interaction:t={}}=e;return Object.entries((0,rv.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function sQ(e,t){return sB(this,void 0,void 0,function*(){let{data:n}=e,r=sj(e,["data"]);if(void 0==n)return e;let[,{data:a}]=yield sk([],{data:n},t);return Object.assign({data:a},r)})}function sJ(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 s0(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function s1(e,t){let n=e=>void 0!==e.class?`${e.class}`:"",r=e.nodes();if(0===r.length)return;e.selectAll(s2(iq)).data(t,e=>e.key).join(e=>e.append("g").attr("className",iq).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(s2(iK)).node();a||e.append("g").attr("className",iK).style("zIndex",0)}function s2(...e){return e.map(e=>`.${e}`).join("")}function s3(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 nX.UL({style:{x:r+a,y:n+i,width:o,height:s}})})}function s4(e,t={},n=!1){let{canvas:r,emitter:a}=t;r&&(function(e){let t=e.getRoot().querySelectorAll(`.${iQ}`);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 s5=e=>e?parseInt(e):0;function s6(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 s9{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 s6(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return s6(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return s6(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 s8=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 s7=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],le="__remove__",lt="__callback__";function ln(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function lr(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||s5(t.width),r=e.clientHeight||s5(t.height),a=s5(t.paddingLeft)+s5(t.paddingRight),i=s5(t.paddingTop)+s5(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,aL.Z)(o)?o:1,1),height:Math.max((0,aL.Z)(s)?s:1,1),depth:i}}function la(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(rB(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 li(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let lo={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"}},ls=Object.assign(Object.assign({},lo),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),ll=Object.assign(Object.assign({},lo),{labelTransform:{type:"array"}}),lc=class extends s9{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()||oo(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&oi(e)}};lc=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}([la(ll)],lc);let lu=class extends s9{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)}};lu=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}([la(ls)],lu);var lp=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},ld=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},lf=Object.prototype.hasOwnProperty,lg=function(e,t){if(null===e||!(0,rI.Z)(e))return{};var n={};return ac(t,function(t){lf.call(e,t)&&(n[t]=e[t])}),n},lm=n(53032),lh=n(8080),lb=n(36849),ly=n(70569),lE=n(76714);function lT(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}let lS={field:"value",size:[1,1],round:!1,padding:0,sort:(e,t)=>t.value-e.value,as:["x","y"],ignoreParentValue:!0},lv="childNodeCount",lA="Invalid field: it must be a string!";var lO=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_="sunburst",lk="markType",lI="path",lC="ancestor-node",lN={id:l_,encode:{x:"x",y:"y",key:lI,color:lC,value:"value"},axis:{x:!1,y:!1},style:{[lk]:l_,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[lv]:lv,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},lx=e=>{let{encode:t,data:n=[],legend:r}=e,a=lO(e,["encode","data","legend"]),i=Object.assign(Object.assign({},a.coordinate),{innerRadius:Math.max((0,lm.Z)(a,["coordinate","innerRadius"],.2),1e-5)}),o=Object.assign(Object.assign({},lN.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,lS&&lT(n,lS),r&&lT(n,r),a&&lT(n,a),t=n;let o=t.as;if(!(0,rz.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,lE.Z)(n))return n;if((0,rz.Z)(n))return console.warn(lA),n[0];if(console.warn("".concat(lA," will try to get fields instead.")),(0,lE.Z)(r))return r;if((0,rz.Z)(r)&&r.length)return r[0];if(t)return t;throw TypeError(lA)}(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&&(0,lb.Z)(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;aaH(e.children)?t.ignoreParentValue?0:e[i]-au(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=iV(((null===(a=e.ancestors)||void 0===a?void 0:a.call(e))||[]).map(e=>t.find(t=>t.name===e.name)||e),t=>{let{depth:n}=t;return n>0&&n{t.push(e)});return t}(s)}(t,{field:a,type:"hierarchy.".concat("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="".concat(null===(t=u.parent.data)||void 0===t?void 0:t.name," / ").concat(l),c.unshift(null===(n=u.parent.data)||void 0===n?void 0:n.name),u=u.parent;let p=Object.assign(Object.assign(Object.assign({},lg(e.data,[a])),{[lI]:l,[lC]:u.data.name}),e);r&&r!==lC&&(p[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(p)}),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,rv.Z)({},lN,Object.assign(Object.assign({type:"rect",data:l,encode:o,tooltip:{title:"path",items:[e=>({name:s,value:e[s]})]}},a),{coordinate:i}))]};lx.props={};var lw=n(45607),lR=Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];return ac(e,function(n,r){(0,lw.Z)(e)&&"prototype"===r||t.push(r)}),t},lL=n(50368);let lD=e=>e.querySelectorAll(".element").filter(e=>(0,lm.Z)(e,["style",lk])===l_),lP={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}},lM=()=>[["cartesian"]];lM.props={};let lF=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];lF.props={transform:!0};let lB=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),lj=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=lB(e);return[...lF(),...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};lj.props={};let lU=()=>[["parallel",0,1,0,1]];lU.props={};let lH=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:a=!1})=>[["fisheye",e,t,n,r,a]];lH.props={transform:!0};let lG=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:a=1}=e;return[...lU(),...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};lG.props={};let lz=({value:e})=>t=>t.map(()=>e);lz.props={};let l$=({value:e})=>t=>t.map(t=>t[e]);l$.props={};let lZ=({value:e})=>t=>t.map(e);lZ.props={};let lW=({value:e})=>()=>e;function lY(e,t){if(null!==e)return{type:"column",value:e,field:t}}function lV(e,t){let n=lY(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function lq(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function lK(e,t){let n=[];for(let r of e)n[r]=t;return n}function lX(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:a=null}=n;return[r,a]}function lQ(e,...t){for(let n of t){if("string"!=typeof n)return[n,null];{let[t,r]=lX(e,n);if(null!==t)return[t,r]}}return[null,null]}function lJ(e){return!(e instanceof Date)&&"object"==typeof e}lW.props={};let l0=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{y1:lV(lK(e,0))}})]};l0.props={};let l1=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{x:lV(lK(e,0))},scale:{x:{guide:null}}})]};l1.props={};let l2=(e,t)=>on(Object.assign({colorAttribute:"fill"},e),t);l2.props=Object.assign(Object.assign({},on.props),{defaultMarker:"square"});let l3=(e,t)=>on(Object.assign({colorAttribute:"stroke"},e),t);l3.props=Object.assign(Object.assign({},on.props),{defaultMarker:"hollowSquare"});var l4=n(57481),l5=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 l6(e,t,n){let[r,a,i,o]=e;if(r9(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 l9=(e,t)=>{let{adjustPoints:n=l6}=e,r=l5(e,["adjustPoints"]),{coordinate:a,document:i}=t;return(e,t,o,s)=>{let{index:l}=t,{color:c}=o,u=l5(o,["color"]),p=s[l+1],d=n(e,p,a),f=!!r9(a),[g,m,h,b]=f?ip(d):d,{color:y=c,opacity:E}=t,T=(0,iE.Z)().curve(l4.Z)([g,m,h,b]);return rU(i.createElement("path",{})).call(il,u).style("d",T).style("fill",y).style("fillOpacity",E).call(il,r).node()}};function l8(e,t,n){let[r,a,i,o]=e;if(r9(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]}l9.props={defaultMarker:"square"};let l7=(e,t)=>l9(Object.assign({adjustPoints:l8},e),t);function ce(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}l7.props={defaultMarker:"square"};let ct=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:a}=n;if(rj(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=>lX(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=ce(e.getMonth()+1),r=ce(e.getDate()),a=`${t}-${n}-${r}`,i=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return i||o||s?`${a} ${ce(i)}:${ce(o)}:${ce(s)}`:a}(e[t]):e[t]).join(", ")};return[e,(0,rv.Z)({},n,{tooltip:{title:s}})]}};ct.props={};let cn=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:a}=n;if(rj(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,rv.Z)({},n,{tooltip:{items:s}})]}};cn.props={};var cr=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 ca=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,a=cr(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,rv.Z)({},t,{encode:{key:lY(o)}})]};function ci(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 co(e={}){return[...ci(e),{name:"title",scale:"identity"}]}function cs(){return[{type:ct,channel:"color"},{type:cn,channel:["x","y"]}]}function cl(){return[{type:ct,channel:"x"},{type:cn,channel:["y"]}]}function cc(e={}){return ci(e)}function cu(){return[{type:ca}]}function cp(e,t){return e.getBandWidth(e.invert(t))}function cd(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:p=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),f=!!(null==s?void 0:s.getBandWidth),g=!!(null==l?void 0:l.getBandWidth);return d||f?(e,t)=>{let n=d?cp(o,r[t]):0,c=f?cp(s,a[t]):0,m=g&&i?(cp(l,i[t])/2+ +i[t])*n:0,[h,b]=e;return[h+u*n+m,b+p*c]}:e=>e}function cf(e){return parseFloat(e)/100}function cg(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?cf(t)*o:+t,l="string"==typeof n?cf(n)*s:+n;return[[r,l]]});return[e,l]}function cm(e){return"function"==typeof e?e:t=>t[e]}function ch(e,t){return Array.from(e,cm(t))}function cb(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=ch(i,n),l=ch(i,r),c=ch(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 cy(e,t){return e.getBandWidth(e.invert(t))}ca.props={};let cE={rect:l2,hollow:l3,funnel:l9,pyramid:l7},cT=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,series:s,size:l}=n,c=t.x,u=t.series,[p]=r.getSize(),d=l?l.map(e=>+e/p):null,f=l?(e,t,n)=>{let r=e+t/2,a=d[n];return[r-a/2,r+a/2]}:(e,t,n)=>[e,e+t],g=Array.from(e,e=>{let t=cy(c,a[e]),n=u?cy(u,null==s?void 0:s[e]):1,l=(+(null==s?void 0:s[e])||0)*t,p=+a[e]+l,[d,g]=f(p,t*n,e),m=+i[e],h=+o[e];return[[d,m],[g,m],[g,h],[d,h]].map(e=>r.map(e))});return[e,g]};cT.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:cE,channels:[...co({shapes:Object.keys(cE)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...cu(),{type:l0},{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};let cS={rect:l2,hollow:l3},cv=()=>(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]};cv.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:cS,channels:[...co({shapes:Object.keys(cS)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:l0}],postInference:[...cl()],interaction:{shareTooltip:!0}};var cA=n(18143),cO=n(73671),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 ck=iT(e=>{let{d1:t,d2:n,style1:r,style2:a}=e.attributes,i=e.ownerDocument;rU(e).maybeAppend("line",()=>i.createElement("path",{})).style("d",t).call(il,r),rU(e).maybeAppend("line1",()=>i.createElement("path",{})).style("d",n).call(il,a)}),cI=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:a="between",defined:i=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=c_(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let p;let{color:d,lineWidth:f}=u,g=c_(u,["color","lineWidth"]),{color:m=d,size:h=f,seriesColor:b,seriesX:y,seriesY:E}=t,T=im(l,t),S=r9(l),v=r&&b?iu(b,y,E,r,a,S):m,A=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},g),v&&{stroke:v}),h&&{lineWidth:h}),T&&{transform:T}),s);if(r8(l)){let e=l.getCenter();p=t=>(0,cO.Z)().angle((n,r)=>ia(ie(t[r],e))).radius((n,r)=>it(t[r],e)).defined(([e,t])=>i(e)&&i(t)).curve(n)(t)}else p=(0,iE.Z)().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>i(e)&&i(t)).curve(n);let[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=rD(A,"connect"),I=!!_.length;return I&&(!o||Object.keys(k).length)?I&&!o?rU(c.createElement("path",{})).style("d",p(e)).call(il,A).node():rU(new ck).style("style1",Object.assign(Object.assign({},A),k)).style("style2",A).style("d1",_.map(p).join(",")).style("d2",p(e)).node():rU(c.createElement("path",{})).style("d",p(O)||[]).call(il,A).node()}};cI.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cC=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=r8(n)?l4.Z:cA.Z;return cI(Object.assign({curve:a},e),t)(...r)}};cC.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"line"});var cN=n(43683),cx=n(65165),cw=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 cR=(e,t)=>{let n=cw(e,[]),{coordinate:r}=t;return(...e)=>{let a=r8(r)?cN.Z:r9(r)?cx.s:cx.Z;return cI(Object.assign({curve:a},n),t)(...e)}};cR.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"smooth"});var cL=n(77059);let cD=(e,t)=>cI(Object.assign({curve:cL.cD},e),t);cD.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"hv"});let cP=(e,t)=>cI(Object.assign({curve:cL.RN},e),t);cP.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"vh"});let cM=(e,t)=>cI(Object.assign({curve:cL.ZP},e),t);cM.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"hvh"});var cF=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 cB=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{seriesSize:i,color:o}=r,{color:s}=a,l=cF(a,["color"]),c=(0,iY.Z)();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,rv.Z)({},t,{encode:{series:lq(lK(e,void 0))}})]};cj.props={};let cU=()=>(e,t)=>{let{encode:n}=t,{series:r,color:a}=n;if(void 0!==r||void 0===a)return[e,t];let[i,o]=lX(n,"color");return[e,(0,rv.Z)({},t,{encode:{series:lY(i,o)}})]};cU.props={};let cH={line:cC,smooth:cR,hv:cD,vh:cP,hvh:cM,trail:cB},cG=(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 p=o?Array.from((0,rA.ZP)(e,e=>o[e]).values()):[e],d=p.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,g=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,m=Array.from(p,e=>e.map(e=>r.map([+s[e]+f,+l[e]+g])));return[d,m,p]},cz=(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=at(r)?cz:cG;return a(e,t,n,r)};c$.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:cH,channels:[...co({shapes:Object.keys(cH)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...cu(),{type:cj},{type:cU}],postInference:[...cl(),{type:ct,channel:"color"},{type:cn,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var cZ=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 cW(e,t,n,r){if(1===t.length)return;let{size:a}=n;if("fixed"===e)return a;if("normal"===e||an(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 cY=(e,t)=>{let{colorAttribute:n,symbol:r,mode:a="auto"}=e,i=cZ(e,["colorAttribute","symbol","mode"]),o=rh.get(r)||rh.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:p}=c,d=i.stroke?u||1:u,{color:f=p,transform:g,opacity:m}=r,[h,b]=ih(t),y=cW(a,t,r,s),E=y||i.r||c.r;return rU(l.createElement("path",{})).call(il,c).style("fill","transparent").style("d",o(h,b,E)).style("lineWidth",d).style("transform",g).style("transformOrigin",`${h-E} ${b-E}`).style("stroke",f).style(ig(e),m).style(n,f).call(il,i).node()}};cY.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cV=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);cV.props=Object.assign({defaultMarker:"hollowPoint"},cY.props);let cq=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);cq.props=Object.assign({defaultMarker:"hollowDiamond"},cY.props);let cK=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);cK.props=Object.assign({defaultMarker:"hollowHexagon"},cY.props);let cX=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);cX.props=Object.assign({defaultMarker:"hollowSquare"},cY.props);let cQ=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);cQ.props=Object.assign({defaultMarker:"hollowTriangleDown"},cY.props);let cJ=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);cJ.props=Object.assign({defaultMarker:"hollowTriangle"},cY.props);let c0=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);c0.props=Object.assign({defaultMarker:"hollowBowtie"},cY.props);var c1=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 c2=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,a=c1(e,["colorAttribute","mode"]),{coordinate:i,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,p=a.stroke?c||1:c,{color:d=u,transform:f,opacity:g}=s,[m,h]=ih(t),b=cW(r,t,s,i),y=b||a.r||l.r;return rU(o.createElement("circle",{})).call(il,l).style("fill","transparent").style("cx",m).style("cy",h).style("r",y).style("lineWidth",p).style("transform",f).style("transformOrigin",`${m} ${h}`).style("stroke",d).style(ig(e),g).style(n,d).call(il,a).node()}},c3=(e,t)=>c2(Object.assign({colorAttribute:"fill"},e),t);c3.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let c4=(e,t)=>c2(Object.assign({colorAttribute:"stroke"},e),t);c4.props=Object.assign({defaultMarker:"hollowPoint"},c3.props);let c5=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);c5.props=Object.assign({defaultMarker:"point"},cY.props);let c6=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);c6.props=Object.assign({defaultMarker:"plus"},cY.props);let c9=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);c9.props=Object.assign({defaultMarker:"diamond"},cY.props);let c8=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);c8.props=Object.assign({defaultMarker:"square"},cY.props);let c7=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);c7.props=Object.assign({defaultMarker:"triangle"},cY.props);let ue=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);ue.props=Object.assign({defaultMarker:"hexagon"},cY.props);let ut=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);ut.props=Object.assign({defaultMarker:"cross"},cY.props);let un=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);un.props=Object.assign({defaultMarker:"bowtie"},cY.props);let ur=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);ur.props=Object.assign({defaultMarker:"hyphen"},cY.props);let ua=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);ua.props=Object.assign({defaultMarker:"line"},cY.props);let ui=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);ui.props=Object.assign({defaultMarker:"tick"},cY.props);let uo=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);uo.props=Object.assign({defaultMarker:"triangleDown"},cY.props);let us=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{y:lV(lK(e,0))},scale:{y:{guide:null}}})]};us.props={};let ul=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{size:lq(lK(e,3))}})]};ul.props={};let uc={hollow:cV,hollowDiamond:cq,hollowHexagon:cK,hollowSquare:cX,hollowTriangleDown:cQ,hollowTriangle:cJ,hollowBowtie:c0,hollowCircle:c4,point:c5,plus:c6,diamond:c9,square:c8,triangle:c7,hexagon:ue,cross:ut,bowtie:un,hyphen:ur,line:ua,tick:ui,triangleDown:uo,circle:c3},uu=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s,y1:l,size:c,dx:u,dy:p}=r,[d,f]=a.getSize(),g=cd(n,r,e),m=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==p?void 0:p[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]},h=c?Array.from(t,e=>{let[t,n]=m(e),r=+c[e],i=r/d,o=r/f;return[a.map(g([t-i,n-o],e)),a.map(g([t+i,n+o],e))]}):Array.from(t,e=>[a.map(g(m(e),e))]);return[t,h]};uu.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:uc,channels:[...co({shapes:Object.keys(uc)}),{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:[...cu(),{type:l1},{type:us}],postInference:[{type:ul},...cs()]};let up=(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},[[p,d]]=t;return rU(new iv).style("x",p).style("y",d).call(il,a).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(il,u).call(il,e).node()}};up.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};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 uf=iT(e=>{let t=e.attributes,{class:n,x:r,y:a,transform:i}=t,o=ud(t,["class","x","y","transform"]),s=rD(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=rU(e).maybeAppend("marker",()=>new iy.J({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node(),[p,d]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}(u);rU(e).maybeAppend("text","text").style("x",p).style("y",d).call(il,o)}),ug=(e,t)=>{let n=ud(e,[]);return(e,t,r)=>{let{color:a}=r,i=ud(r,["color"]),{color:o=a,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return rU(new uf).call(il,i).style("transform",`translate(${c},${u})`).call(il,l).call(il,n).node()}};ug.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let um=(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"},[[p,d]]=t,f=rU(new nX.xv).style("x",p).style("y",d).call(il,a).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(il,u).call(il,e).node();return f}};um.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uh=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(lJ))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,rv.Z)({},t,{encode:{x:lY(a),y:lY(i)}})]};uh.props={};var ub=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 uy=()=>(e,t)=>{let{data:n,style:r={}}=t,a=ub(t,["data","style"]),{x:i,y:o}=r,s=ub(r,["x","y"]);if(void 0==i||void 0==o)return[e,t];let l=i||0,c=o||0;return[[0],(0,rv.Z)({},a,{data:[0],cartesian:!0,encode:{x:lY([l]),y:lY([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};uy.props={};let uE={text:up,badge:ug,tag:um},uT=e=>{let{cartesian:t=!1}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};uT.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:uE,channels:[...co({shapes:Object.keys(uE)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...cu(),{type:uh},{type:uy}],postInference:[...cs()]};let uS=()=>(e,t)=>[e,(0,rv.Z)({scale:{x:{padding:0},y:{padding:0}}},t)];uS.props={};let uv={cell:l2,hollow:l3},uA=()=>(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]};uA.props={defaultShape:"cell",defaultLabelShape:"label",shape:uv,composite:!1,channels:[...co({shapes:Object.keys(uv)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...cu(),{type:l1},{type:us},{type:uS}],postInference:[...cs()]};var uO=n(37633),u_=n(53253),uk=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 uI=iT(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:a}=e.attributes,i=e.ownerDocument;rU(e).maybeAppend("connect-path",()=>i.createElement("path",{})).style("d",n).call(il,a),rU(e).maybeAppend("area-path",()=>i.createElement("path",{})).style("d",t).call(il,r)}),uC=(e,t)=>{let{curve:n,gradient:r=!1,defined:a=e=>!Number.isNaN(e)&&null!=e,connect:i=!1}=e,o=uk(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:p=u,seriesColor:d,seriesX:f,seriesY:g}=t,m=r9(s),h=im(s,t),b=r&&d?iu(d,f,g,r,void 0,m):p,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),h&&{transform:h}),o),[E,T]=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),S=rD(y,"connect"),v=!!T.length,A=e=>rU(l.createElement("path",{})).style("d",e||"").call(il,y).node();if(r8(s)){let t=e=>{let t=s.getCenter(),r=e.slice(0,e.length/2),i=e.slice(e.length/2);return(0,u_.Z)().angle((e,n)=>ia(ie(r[n],t))).outerRadius((e,n)=>it(r[n],t)).innerRadius((e,n)=>it(i[n],t)).defined((e,t)=>[...r[t],...i[t]].every(a)).curve(n)(i)};return v&&(!i||Object.keys(S).length)?v&&!i?A(t(e)):rU(new uI).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},S),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return m?(0,uO.Z)().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):(0,uO.Z)().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 v&&(!i||Object.keys(S).length)?v&&!i?A(t(e)):rU(new uI).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},S),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}}};uC.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uN=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=r8(n)?l4.Z:cA.Z;return uC(Object.assign({curve:a},e),t)(...r)}};uN.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"square"});var ux=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 uw=(e,t)=>{let n=ux(e,[]),{coordinate:r}=t;return(...e)=>{let a=r8(r)?cN.Z:r9(r)?cx.s:cx.Z;return uC(Object.assign({curve:a},n),t)(...e)}};uw.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"smooth"});let uR=(e,t)=>(...n)=>uC(Object.assign({curve:cL.ZP},e),t)(...n);uR.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"hvh"});let uL=(e,t)=>(...n)=>uC(Object.assign({curve:cL.RN},e),t)(...n);uL.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"vh"});let uD=(e,t)=>(...n)=>uC(Object.assign({curve:cL.cD},e),t)(...n);uD.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"hv"});let uP={area:uN,smooth:uw,hvh:uR,vh:uL,hv:uD},uM=()=>(e,t,n,r)=>{var a,i;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:p}=t,d=c?Array.from((0,rA.ZP)(e,e=>c[e]).values()):[e],f=d.map(e=>e[0]).filter(e=>void 0!==e),g=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,m=((null===(i=null==p?void 0:p.getBandWidth)||void 0===i?void 0:i.call(p))||0)/2,h=Array.from(d,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]=lX(n,"y");return[e,(0,rv.Z)({},t,{encode:{y1:lY([...a])}})]};uF.props={};let uB=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[a]=lX(n,"x");return[e,(0,rv.Z)({},t,{encode:{x1:lY([...a])}})]};uB.props={};var uj=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 uU=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,a=uj(e,["arrow","arrowSize"]),{document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=uj(o,["defaultColor"]),{color:c=s,transform:u}=t,[p,d]=e,f=(0,iY.Z)();if(f.moveTo(...p),f.lineTo(...d),n){let[e,t]=function(e,t,n){let{arrowSize:r}=n,a="string"==typeof r?+parseFloat(r)/100*it(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]}(p,d,{arrowSize:r});f.moveTo(...e),f.lineTo(...d),f.lineTo(...t)}return rU(i.createElement("path",{})).call(il,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(il,a).node()}};uU.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uH=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>uU(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};uH.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uG=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 uz=(e,t)=>{let n=uG(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=uG(i,["color"]),{color:l=o,transform:c}=t,[u,p]=e,d=(0,iY.Z)();if(d.moveTo(u[0],u[1]),r8(r)){let e=r.getCenter();d.quadraticCurveTo(e[0],e[1],p[0],p[1])}else{let e=is(u,p),t=it(u,p)/2;ic(d,u,p,e,t)}return rU(a.createElement("path",{})).call(il,s).style("d",d.toString()).style("stroke",l).style("transform",c).call(il,n).node()}};uz.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var 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};let uZ=(e,t)=>{let n=u$(e,[]),{document:r}=t;return(e,t,a)=>{let{color:i}=a,o=u$(a,["color"]),{color:s=i,transform:l}=t,[c,u]=e,p=(0,iY.Z)();return p.moveTo(c[0],c[1]),p.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),rU(r.createElement("path",{})).call(il,o).style("d",p.toString()).style("stroke",s).style("transform",l).call(il,n).node()}};uZ.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uW=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 uY=(e,t)=>{let{cornerRatio:n=1/3}=e,r=uW(e,["cornerRatio"]),{coordinate:a,document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=uW(o,["defaultColor"]),{color:c=s,transform:u}=t,[p,d]=e,f=function(e,t,n,r){let a=(0,iY.Z)();if(r8(n)){let i=n.getCenter(),o=it(e,i),s=it(t,i),l=(s-o)*r+o;return a.moveTo(e[0],e[1]),ic(a,e,t,i,l),a.lineTo(t[0],t[1]),a}return r9(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)}(p,d,a,n);return rU(i.createElement("path",{})).call(il,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(il,r).node()}};uY.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uV={link:uH,arc:uz,smooth:uZ,vhv:uY},uq=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s=i,y1:l=o}=r,c=cd(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]};uq.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:uV,channels:[...co({shapes:Object.keys(uV)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:uF},{type:uB}],postInference:[...cs()]};var uK=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 uX=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=uK(i,["color"]),{color:l=o,src:c="",size:u=32,transform:p=""}=a,{width:d=u,height:f=u}=e,[[g,m]]=t,[h,b]=n.getSize();d="string"==typeof d?cf(d)*h:d,f="string"==typeof f?cf(f)*b:f;let y=g-Number(d)/2,E=m-Number(f)/2;return rU(r.createElement("image",{})).call(il,s).style("x",y).style("y",E).style("src",c).style("stroke",l).style("transform",p).call(il,e).style("width",d).style("height",f).node()}};uX.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uQ={image:uX},uJ=e=>{let{cartesian:t}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};uJ.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:uQ,channels:[...co({shapes:Object.keys(uQ)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...cu(),{type:uh},{type:uy}],postInference:[...cs()]};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{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=u0(i,["color"]),{color:l=o,transform:c}=a,u=function(e,t){let n=(0,iY.Z)();if(r8(t)){let r=t.getCenter(),a=[...e,e[0]],i=a.map(e=>it(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)?ic(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 rU(r.createElement("path",{})).call(il,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(il,e).node()}};u1.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var u2=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 u3=(e,t)=>{let n=u2(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=u2(i,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,a,i]=e,o=(0,iY.Z)();if(r8(t)){let e=t.getCenter(),s=it(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],a[0],a[1]),ic(o,a,i,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),ic(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 rU(a.createElement("path",{})).call(il,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(il,n).node()}};u3.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let u4={polygon:u1,ribbon:u3},u5=()=>(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 u9=(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,p=u6(i,["color","fill","stroke"]),d=function(e,t){let n=(0,iY.Z)();if(r8(t)){let r=t.getCenter(),[a,i]=r,o=ir(ie(e[0],r)),s=ir(ie(e[1],r)),l=it(r,e[2]),c=it(r,e[3]),u=it(r,e[8]),p=it(r,e[10]),d=it(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,p,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,d,o,s),n.arc(a,i,d,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 rU(r.createElement("path",{})).call(il,p).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(il,e).node()}};u9.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var u8=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 u7=(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,p=u8(i,["color","fill","stroke"]),d=function(e,t,n=4){let r=(0,iY.Z)();if(!r8(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=it(a,e[3]),l=it(a,e[8]),c=it(a,e[10]),u=ir(ie(e[2],a)),p=Math.asin(n/l),d=u-p,f=u+p;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(d)*s+i,Math.sin(d)*s+o),r.arc(i,o,s,d,f),r.lineTo(Math.cos(f)*c+i,Math.sin(f)*c+o),r.arc(i,o,c,f,d,!0),r.lineTo(Math.cos(d)*s+i,Math.sin(d)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let g=(d+f)/2;return r.moveTo(Math.cos(g)*(l+n/2)+i,Math.sin(g)*(l+n/2)+o),r.arc(Math.cos(g)*l+i,Math.sin(g)*l+o,n/2,g,2*Math.PI+g),r.closePath(),r}(t,n,4);return rU(r.createElement("path",{})).call(il,p).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(il,e).node()}};u7.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pe={box:u9,violin:u7},pt=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,y2:s,y3:l,y4:c,series:u}=n,p=t.x,d=t.series,f=Array.from(e,e=>{let t=p.getBandWidth(p.invert(+a[e])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[e]))):1,f=t*n,g=(+(null==u?void 0:u[e])||0)*t,m=+a[e]+g+f/2,[h,b,y,E,T]=[+i[e],+o[e],+s[e],+l[e],+c[e]];return[[m-f/2,T],[m+f/2,T],[m,T],[m,E],[m-f/2,E],[m+f/2,E],[m+f/2,b],[m-f/2,b],[m-f/2,y],[m+f/2,y],[m,b],[m,h],[m-f/2,h],[m+f/2,h]].map(e=>r.map(e))});return[e,f]};pt.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:pe,channels:[...co({shapes:Object.keys(pe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...cu(),{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};let pn={vector:uU},pr=()=>(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),p=-(n/c)*Math.sin(t);return[r.map([+a[e]-u/2,+i[e]-p/2]),r.map([+a[e]+u/2,+i[e]+p/2])]});return[e,u]};pr.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:pn,channels:[...co({shapes:Object.keys(pn)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...cu()],postInference:[...cs()]};var pa=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 pi=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,a=pa(e,["arrow","arrowSize"]),{coordinate:i,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=pa(s,["color","lineWidth"]),{color:p=l,size:d=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||p,stroke:a.stroke||p},rD(a,"arrow"))):null,g=function(e,t){if(!r8(t))return(0,iE.Z)().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return(0,i7.Z)()({startAngle:0,endAngle:2*Math.PI,outerRadius:it(e[0],n),innerRadius:it(e[1],n)})}(e,i),m=function(e,t){if(!r8(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(i,t.transform);return rU(o.createElement("path",{})).call(il,u).style("d",g).style("stroke",p).style("lineWidth",d).style("transform",m).style("markerEnd",f).call(il,a).node()}};pi.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let po=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(lJ)?[e,t]:[e,(0,rv.Z)({},t,{encode:{x:lY(n)}})]};po.props={};let ps={line:pi},pl=e=>(t,n,r,a)=>{let{x:i}=r,o=cd(n,r,(0,rv.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]};pl.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:ps,channels:[...cc({shapes:Object.keys(ps)}),{name:"x",required:!0}],preInference:[...cu(),{type:po}],postInference:[]};let pc=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(lJ)?[e,t]:[e,(0,rv.Z)({},t,{encode:{y:lY(n)}})]};pc.props={};let pu={line:pi},pp=e=>(t,n,r,a)=>{let{y:i}=r,o=cd(n,r,(0,rv.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]};pp.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:pu,channels:[...cc({shapes:Object.keys(pu)}),{name:"y",required:!0}],preInference:[...cu(),{type:pc}],postInference:[]};var pd=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 pf(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let pg=(e,t)=>{let{offset:n=0,offset1:r=n,offset2:a=n,connectLength1:i,endMarker:o=!0}=e,s=pd(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:l}=t;return(e,t,n)=>{let{color:c,connectLength1:u}=n,p=pd(n,["color","connectLength1"]),{color:d,transform:f}=t,g=function(e,t,n,r,a=0){let[[i,o],[s,l]]=t;if(r9(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),m=rD(Object.assign(Object.assign({},s),n),"endMarker");return rU(new nX.y$).call(il,p).style("d",(0,iE.Z)().x(e=>e[0]).y(e=>e[1])(g)).style("stroke",d||c).style("transform",f).style("markerEnd",o?new iy.J({className:"marker",style:Object.assign(Object.assign({},m),{symbol:pf})}):null).call(il,s).node()}};pg.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pm={connector:pg},ph=(...e)=>uq(...e);function pb(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 py(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,a,i)=>{let o=pb("x",t,a,r.x),s=pb("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]}}ph.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:pm,channels:[...cc({shapes:Object.keys(pm)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu()],postInference:[]};let pE={range:l2},pT=()=>py();pT.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:pE,channels:[...cc({shapes:Object.keys(pE)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu()],postInference:[]};let pS=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(lJ))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,rv.Z)({},t,{encode:{x:lY(r(n,0)),x1:lY(r(n,1))}})]}return[e,t]};pS.props={};let pv={range:l2},pA=()=>py({extendY:!0});pA.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:pv,channels:[...cc({shapes:Object.keys(pv)}),{name:"x",required:!0}],preInference:[...cu(),{type:pS}],postInference:[]};let pO=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(lJ))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,rv.Z)({},t,{encode:{y:lY(r(n,0)),y1:lY(r(n,1))}})]}return[e,t]};pO.props={};let p_={range:l2},pk=()=>py({extendX:!0});pk.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:p_,channels:[...cc({shapes:Object.keys(p_)}),{name:"y",required:!0}],preInference:[...cu(),{type:pO}],postInference:[]};var pI=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 pC=(e,t)=>{let{arrow:n,colorAttribute:r}=e,a=pI(e,["arrow","colorAttribute"]),{coordinate:i,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=pI(n,["color","stroke"]),{d:u,color:p=s}=t,[d,f]=i.getSize();return rU(o.createElement("path",{})).call(il,c).style("d","function"==typeof u?u({width:d,height:f}):u).style(r,p).call(il,a).node()}};pC.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pN=(e,t)=>pC(Object.assign({colorAttribute:"fill"},e),t);pN.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let px=(e,t)=>pC(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);px.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pw={path:pN,hollow:px},pR=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];pR.props={defaultShape:"path",defaultLabelShape:"label",shape:pw,composite:!1,channels:[...co({shapes:Object.keys(pw)}),{name:"d",scale:"identity"}],preInference:[...cu()],postInference:[]};var pL=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 pD=(e,t)=>{let{render:n}=e,r=pL(e,["render"]);return e=>{let[[a,i]]=e;return n(Object.assign(Object.assign({},r),{x:a,y:i}),t)}};pD.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pP=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,rv.Z)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};pP.props={};let pM=e=>{let{cartesian:t}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};pM.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:pD},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:uh},{type:uy},{type:pP}]};var pF=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 pB=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{transform:i}=r,{color:o}=a,s=pF(a,["color"]),{color:l=o}=r,[c,...u]=t,p=(0,iY.Z)();return p.moveTo(...c),u.forEach(([e,t])=>{p.lineTo(e,t)}),p.closePath(),rU(n.createElement("path",{})).call(il,s).style("d",p.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",i).call(il,e).node()}};pB.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pj={density:pB},pU=()=>(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,p=(+(null==i?void 0:i[t])||0)*n,d=+a[t]+p+n*u/2,f=[...o.map((n,r)=>[d+ +s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[d-+s[r][t]/e.length,+o[r][t]]).reverse()];return f.map(e=>r.map(e))});return[e,u]};pU.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:pj,channels:[...co({shapes:Object.keys(pj)}),{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:[...cu(),{type:l0},{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};var pH=n(82631);function pG(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}(0,pH.Z)(3);let pz=function(e,t=(...e)=>`${e[0]}`,n=16){let r=(0,pH.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=pG(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 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 pZ=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:a,minOpacity:i,blur:o,useGradientOpacity:s}=e,l=p$(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:p}=t;return(e,t,d)=>{var f,g;let{transform:m}=t,[h,b]=c.getSize(),y=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),E=(0,sh.Z)(e,e=>e[2]),T=(0,rQ.Z)(e,e=>e[2]),S=h&&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=pG(o,e,t),c=l.getContext("2d"),u=function(e,t){let n=pG(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],p=Math.min(c,n),d=a-u,f=l-u,g=pz(u,1-o,i),m=(p-t)/(n-t);e.globalAlpha=Math.max(m,.001),e.drawImage(g,d,f)}}(c,n,r,a,s,o);let p=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,p=u.length;for(let e=3;evoid 0===e,Object.keys(f).reduce((e,t)=>{let n=f[t];return g(n,t)||(e[t]=n),e},{})),u):{canvas:null};return rU(p.createElement("image",{})).call(il,d).style("x",0).style("y",0).style("width",h).style("height",b).style("src",S.canvas).style("transform",m).call(il,l).node()}};pZ.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pW={heatmap:pZ},pY=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]]};pY.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:pW,channels:[...co({shapes:Object.keys(pW)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...cu(),{type:l1},{type:us}],postInference:[...cs()]};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 pq=()=>({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}}),pK=(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=pV(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,rv.Z)({},pq(),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())})};pK.props={};let pX=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];pX.props={};let pQ=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];pQ.props={};let pJ=e=>new as.b(e);pJ.props={};var p0=n(8064);let p1=e=>new p0.r(e);p1.props={};var p2=n(88944);let p3=e=>new p2.t(e);p3.props={};class p4 extends aP.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:aW}}map(e){return(0,aF.J)(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new p4(this.options)}getTicks(){let{domain:e,tickCount:t,tickMethod:n}=this.options,[r,a]=e;return(0,aL.Z)(r)&&(0,aL.Z)(a)?n(r,a,t):[]}}let p5=e=>new p4(e);p5.props={};class p6 extends p2.t{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:p0.z,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new p6(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}let p9=e=>new p6(e);p9.props={};var p8=n(67128),p7=n(19432),de=n(63025);let dt=864e5,dn=7*dt,dr=30*dt,da=365*dt;function di(e,t,n,r){let a=(e,t)=>{let a=e=>r(e)%t==0,i=t;for(;i&&!a(e);)n(e,-1),i-=1;return e},i=(e,n)=>{n&&a(e,n),t(e)},o=(e,t)=>{let r=new Date(+e-1);return i(r,t),n(r,t),i(r),r};return{ceil:o,floor:(e,t)=>{let n=new Date(+e);return i(n,t),n},range:(e,t,r,a)=>{let s=[],l=Math.floor(r),c=a?o(e,r):o(e);for(;ce,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),dl=di(1e3,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getSeconds()),dc=di(6e4,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getMinutes()),du=di(36e5,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getHours()),dp=di(dt,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dt*t)},e=>e.getDate()-1),dd=di(dr,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),df=di(dn,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{let t=dd.floor(e),n=new Date(+e);return Math.floor((+n-+t)/dn)}),dg=di(da,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear()),dm={millisecond:ds,second:dl,minute:dc,hour:du,day:dp,week:df,month:dd,year:dg},dh=di(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),db=di(1e3,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getUTCSeconds()),dy=di(6e4,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getUTCMinutes()),dE=di(36e5,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getUTCHours()),dT=di(dt,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dt*t)},e=>e.getUTCDate()-1),dS=di(dr,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),dv=di(dn,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dn*t)},e=>{let t=dS.floor(e),n=new Date(+e);return Math.floor((+n-+t)/dn)}),dA=di(da,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear()),dO={millisecond:dh,second:db,minute:dy,hour:dE,day:dT,week:dv,month:dS,year:dA};var d_=n(72478);function dk(e,t,n,r,a){let i;let o=+e,s=+t,{tickIntervals:l,year:c,millisecond:u}=function(e){let{year:t,month:n,week:r,day:a,hour:i,minute:o,second:s,millisecond:l}=e?dO:dm;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[o,1],[o,5],[o,15],[o,30],[i,1],[i,3],[i,6],[i,12],[a,1],[a,2],[r,1],[n,1],[n,3],[t,1]],year:t,millisecond:l}}(a),p=([e,t])=>e.duration*t,d=r?(s-o)/r:n||5,f=r||(s-o)/d,g=l.length,m=(0,aB.b)(l,f,0,g,p);if(m===g){let e=(0,d_.l)(o/c.duration,s/c.duration,d);i=[c,e]}else if(m){let e=f/p(l[m-1]){let i=e>t,o=i?t:e,s=i?e:t,[l,c]=dk(o,s,n,r,a),u=l.range(o,new Date(+s+1),c,!0);return i?u.reverse():u},dC=(e,t,n,r,a)=>{let i=e>t,o=i?t:e,s=i?e:t,[l,c]=dk(o,s,n,r,a),u=[l.floor(o,c),l.ceil(s,c)];return i?u.reverse():u};function dN(e){let t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}class dx extends de.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:dI,interpolate:o$.fv,mask:void 0,utc:!1}}chooseTransforms(){return[e=>+e,e=>new Date(e)]}chooseNice(){return dC}getTickMethodOptions(){let{domain:e,tickCount:t,tickInterval:n,utc:r}=this.options,a=e[0],i=e[e.length-1];return[a,i,t,n,r]}getFormatter(){let{mask:e,utc:t}=this.options,n=t?dO:dm,r=t?dN:p8.Z;return t=>(0,p7.WU)(r(t),e||function(e,t){let{second:n,minute:r,hour:a,day:i,week:o,month:s,year:l}=t;return n.floor(e)new dx(e);dw.props={};let dR=e=>t=>-e(-t),dL=(e,t)=>{let n=Math.log(e),r=e===Math.E?Math.log:10===e?Math.log10:2===e?Math.log2:e=>Math.log(e)/n;return t?dR(r):r},dD=(e,t)=>{let n=e===Math.E?Math.exp:t=>e**t;return t?dR(n):n},dP=(e,t,n,r=10)=>{let a=e<0,i=dD(r,a),o=dL(r,a),s=t=1;t-=1){let n=e*t;if(n>c)break;n>=l&&d.push(n)}}else for(;u<=p;u+=1){let e=i(u);for(let t=1;tc)break;n>=l&&d.push(n)}}2*d.length{let a=e<0,i=dL(r,a),o=dD(r,a),s=e>t,l=[o(Math.floor(i(s?t:e))),o(Math.ceil(i(s?e:t)))];return s?l.reverse():l};class dF extends de.V{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:o$.wp,tickMethod:dP,tickCount:5}}chooseNice(){return dM}getTickMethodOptions(){let{domain:e,tickCount:t,base:n}=this.options,r=e[0],a=e[e.length-1];return[r,a,t,n]}chooseTransforms(){let{base:e,domain:t}=this.options,n=t[0]<0;return[dL(e,n),dD(e,n)]}clone(){return new dF(this.options)}}let dB=e=>new dF(e);dB.props={};let dj=e=>t=>t<0?-((-t)**e):t**e,dU=e=>t=>t<0?-((-t)**(1/e)):t**(1/e),dH=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);class dG extends de.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:o$.wp,tickMethod:aD.Z,tickCount:5}}constructor(e){super(e)}chooseTransforms(){let{exponent:e}=this.options;if(1===e)return[p8.Z,p8.Z];let t=.5===e?dH:dj(e),n=dU(e);return[t,n]}clone(){return new dG(this.options)}}let dz=e=>new dG(e);dz.props={};class d$ extends dG{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:o$.wp,tickMethod:aD.Z,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new d$(this.options)}}let dZ=e=>new d$(e);dZ.props={};let dW=e=>new aj(e);dW.props={};let dY=e=>new aq(e);dY.props={};let dV=e=>new aV(e);dV.props={};var dq=n(99871),dK=n(34199);let dX=e=>t=>{let n=e(t);return(0,aL.Z)(n)?Math.round(n):n},dQ=K=class extends as.b{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:p8.Z,tickMethod:aD.Z,tickCount:5}}constructor(e){super(e)}clone(){return new K(this.options)}};dQ=K=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}([(a=e=>{let[t,n]=e,r=(0,dq.q)((0,o$.fv)(0,1),(0,dK.I)(t,n));return r},e=>{e.prototype.rescale=function(){this.initRange(),this.nice();let[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},e.prototype.initRange=function(){let{interpolator:e}=this.options;this.options.range=[e(0),e(1)]},e.prototype.composeOutput=function(e,t){let{domain:n,interpolator:r,round:i}=this.getOptions(),o=a(n.map(e)),s=i?dX(r):r;this.output=(0,dq.q)(s,o,t,e)},e.prototype.invert=void 0})],dQ);let dJ=e=>new dQ(e);dJ.props={};let d0=e=>new aM(e);function d1({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:a,padding1:i,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:p,alpha10:d,category10:f,category20:g,sizeDefault:m=1,padding:h="auto",margin:b=16}){return{padding:h,margin:b,size:m,color:e,category10:f,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: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:d,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"}}}}}d0.props={};let d2=d1({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}),d3=e=>(0,rv.Z)({},d2,e);d3.props={};let d4=e=>(0,rv.Z)({},d3(),{category10:"category10",category20:"category20"},e);d4.props={};let d5=d1({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}),d6=e=>(0,rv.Z)({},d5,{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),d9=e=>Object.assign({},d6(),{category10:"category10",category20:"category20"},e);d9.props={};let d8=d1({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}),d7=e=>(0,rv.Z)({},d8,{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);d7.props={};let fe=e=>(...t)=>{let n=aC(Object.assign({},{crossPadding:50},e))(...t);return aO(n,e),n};fe.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"bottom"});let ft=e=>(...t)=>{let n=aC(Object.assign({},{crossPadding:10},e))(...t);return aO(n,e),n};ft.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"left"});var fn=n(36789);function fr(e){if((0,aU.Z)(e))return e[e.length-1]}var fa=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 fi=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,cols:l,itemMarker:c}=e,u=fa(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:p}=u;return t=>{let{value:r,theme:a}=t,{bbox:o}=r,{width:c,height:d}=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}=aS(e,t,n);return{width:a,height:i}}(r,e,fi),f=ab(i,n),g=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(i)?"vertical":"horizontal",width:c,height:d,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==p&&{gridRow:p}),{titleText:ah(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=aT(e,"size");return n instanceof p4?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=aT(e,"shape"),r=aT(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)||fr(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=nQ(t,["d","fill","lineWidth","path","stroke","color"]);let c=rh.get(e)||rh.get("point");return(...e)=>{let t=new nX.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]}`,p=aT(n,"shape");return p&&!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=aT(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r)},l="string"==typeof n?(0,rZ.WU)(n):n,c=aT(r,"color"),u=r.find(e=>e.getOptions().domain.length>0).getOptions().domain,p=c?e=>c.map(e):()=>t.theme.color;return Object.assign(Object.assign({},s),{data:u.map(e=>({id:e,label:l(e),color:p(e)}))})}(e,t)),{legendCategory:m={}}=a,h=av(Object.assign({},m,g,u)),b=new aE({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:h})});return b.appendChild(new fn.W({className:"legend-category",style:h})),b}};fi.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fo=e=>()=>new nX.ZA;fo.props={};var fs=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 fl(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 fc=(i={render(e,t){let{width:n,title:r,subtitle:a,spacing:i=2,align:o="left",x:s,y:l}=e,c=fs(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=rD(c,"title"),p=rD(c,"subtitle"),d=am(t,".title","text").attr("className","title").call(il,Object.assign(Object.assign(Object.assign({},fl(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),f=d.getLocalBounds();am(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({},fl(0,f.max[1]+i,n,o)),{fontSize:12,textBaseline:"top",text:a}),p))})}},class extends nX.b_{constructor(e){super(e),this.descriptor=i}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,rv.Z)({},this.attributes,e)),null===(n=(t=this.descriptor).render)||void 0===n||n.call(t,this.attributes,this)}}),fu=e=>({value:t,theme:n})=>{let{x:r,y:a,width:i,height:o}=t.bbox;return new fc({style:(0,rv.Z)({},n.title,Object.assign({x:r,y:a,width:i,height:o},e))})};fu.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var fp=n(21155),fd=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 ff=e=>{let{orientation:t,labelFormatter:n,size:r,style:a={},position:i}=e,o=fd(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:p}=r,{bbox:d}=c,{width:f,height:g}=d,{slider:m={}}=u,h=(null===(s=l.getFormatter)||void 0===s?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?(0,rZ.WU)(n):n,y="horizontal"===t,E=r9(p)&&y,{trackSize:T=m.trackSize}=a,[S,v]=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}(d,i,T);return new fp.i({className:"slider",style:Object.assign({},m,Object.assign(Object.assign({x:S,y:v,trackLength:y?f:g,orientation:t,formatter:e=>{let t=i5(l,E?1-e:e,!0);return(b||h)(t)},sparklineData:function(e,t){let{markState:n}=t;return(0,rz.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))})}};ff.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fg=e=>ff(Object.assign(Object.assign({},e),{orientation:"horizontal"}));fg.props=Object.assign(Object.assign({},ff.props),{defaultPosition:"bottom"});let fm=e=>ff(Object.assign(Object.assign({},e),{orientation:"vertical"}));fm.props=Object.assign(Object.assign({},ff.props),{defaultPosition:"left"});var fh=n(53020),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 fy=e=>{let{orientation:t,labelFormatter:n,style:r}=e,a=fb(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:p={}}=i,{ratio:d,range:f}=e.getOptions(),g="horizontal"===t?c:u,[m,h]=f;return new fh.L({className:"g2-scrollbar",style:Object.assign({},p,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:g,value:h>m?0:1}),a),{orientation:t,contentLength:g/d,viewportLength:g}))})}};fy.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fE=e=>fy(Object.assign(Object.assign({},e),{orientation:"horizontal"}));fE.props=Object.assign(Object.assign({},fy.props),{defaultPosition:"bottom"});let fT=e=>fy(Object.assign(Object.assign({},e),{orientation:"vertical"}));fT.props=Object.assign(Object.assign({},fy.props),{defaultPosition:"left"});let fS=(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,p]=r9(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],d=[{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${p}`.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(d,Object.assign(Object.assign({},a),e));return f}},fv=(e,t)=>{let{coordinate:n}=t;return nX.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:nX.h0.NUMBER}),(t,r,a)=>{let[i]=t;return r8(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:p,y:d,y1:f}=r,g=id(n,p,[d,f]),{innerRadius:m,outerRadius:h}=g,b=(0,i7.Z)().cornerRadius(o).padAngle(s*Math.PI/180),y=new nX.y$({}),E=e=>{y.attr({d:b(e)});let t=(0,nX.YR)(y);return t},T=t.animate([{scaleInYRadius:m+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:m+1e-4,fillOpacity:l,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:h,fillOpacity:l,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},a),e));return T.onframe=function(){t.style.d=E(Object.assign(Object.assign({},g),{outerRadius:Number(t.style.scaleInYRadius)}))},T.onfinish=function(){t.style.d=E(Object.assign(Object.assign({},g),{outerRadius:h}))},T})(i):(t=>{let{style:r}=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=r9(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{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}],d=t.animate(p,Object.assign(Object.assign({},a),e));return d})(i)}},fA=(e,t)=>{nX.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:nX.h0.NUMBER});let{coordinate:n}=t;return(r,a,i)=>{let[o]=r;if(!r8(n))return fS(e,t)(r,a,i);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:p=1,strokeOpacity:d=1,opacity:f=1}=l,{points:g,y:m,y1:h}=s,b=(0,i7.Z)().cornerRadius(c).padAngle(u*Math.PI/180),y=id(n,g,[m,h]),{startAngle:E,endAngle:T}=y,S=o.animate([{waveInArcAngle:E+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:E+1e-4,fillOpacity:p,strokeOpacity:d,opacity:f,offset:.01},{waveInArcAngle:T,fillOpacity:p,strokeOpacity:d,opacity:f}],Object.assign(Object.assign({},i),e));return S.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},S.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:T}))},S}};fA.props={};let fO=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))};fO.props={};let f_=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))};f_.props={};let fk=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))};fk.props={};let fI={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},fC={[nX.bn.CIRCLE]:["cx","cy","r"],[nX.bn.ELLIPSE]:["cx","cy","rx","ry"],[nX.bn.RECT]:["x","y","width","height"],[nX.bn.IMAGE]:["x","y","width","height"],[nX.bn.LINE]:["x1","y1","x2","y2"],[nX.bn.POLYLINE]:["points"],[nX.bn.POLYGON]:["points"]};function fN(e,t,n=!1){let r={};for(let a of t){let t=e.style[a];t?r[a]=t:n&&(r[a]=fI[a])}return r}let fx=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function fw(e){let{min:t,max:n}=e.getLocalBounds(),[r,a]=t,[i,o]=n;return[r,a,i-r,o-a]}function fR(e,t){let[n,r,a,i]=fw(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 fF=e=>(t,n,r)=>{let a=function(e="pack"){return"function"==typeof e?e:fR}(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 fM(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 nX.y$({style:Object.assign({d:a[r]},fN(e,fx))});return fM(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 nX.y$({style:{d:a[r],fill:t.style.fill}});return fM(e,e,i,n)});return[...c,l]}(t,e,i,a)}return null};fF.props={};let fB=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],p=new nX.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(p),i.style.clipPath=p;let d=fS(e,t)([p],r,a);return d};fB.props={};let fj=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],p=new nX.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(p),i.style.clipPath=p;let d=fv(e,t)([p],r,a);return d};fj.props={};var fU=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 fH(e){var{delay:t,createGroup:n,background:r=!1,link:a=!1}=e,i=fU(e,["delay","createGroup","background","link"]);return(e,o,s)=>{let{container:l,view:c,options:u}=e,{scale:p,coordinate:d}=c,f=op(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 p;let d;let f=t(e),g=new Set(f),m=(0,rA.ZP)(f,r),h=oS(f,n),[b,y]=ov(Object.assign({elements:f,valueof:h,link:a,coordinate:l},rD(u.active,"link"))),[E,T,S]=oO(Object.assign({document:e.ownerDocument,scale:s,coordinate:l,background:i,valueof:h},rD(u.active,"background"))),v=(0,rv.Z)(u,{active:Object.assign({},(null===(p=u.active)||void 0===p?void 0:p.offset)&&{transform:(...e)=>{let t=u.active.offset(...e),[,n]=e;return oA(f[n],t,l)}})}),{setState:A,removeState:O,hasState:_}=oy(v,h),k=e=>{let{target:t,nativeEvent:a=!0}=e;if(!g.has(t))return;d&&clearTimeout(d);let i=r(t),o=m.get(i),s=new Set(o);for(let e of f)s.has(e)?_(e,"active")||A(e,"active"):(A(e,"inactive"),y(e)),e!==t&&T(e);E(t),b(o),a&&c.emit("element:highlight",{nativeEvent:a,data:{data:n(t),group:o.map(n)}})},I=()=>{d&&clearTimeout(d),d=setTimeout(()=>{C(),d=null},o)},C=(e=!0)=>{for(let e of f)O(e,"active","inactive"),T(e),y(e);e&&c.emit("element:unhighlight",{nativeEvent:e})},N=e=>{let{target:t}=e;(!i||S(t))&&(i||g.has(t))&&(o>0?I():C())},x=()=>{C()};e.addEventListener("pointerover",k),e.addEventListener("pointerout",N),e.addEventListener("pointerleave",x);let w=e=>{let{nativeEvent:t}=e;t||C(!1)},R=e=>{let{nativeEvent:t}=e;if(t)return;let{data:r}=e.data,a=ok(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",N),e.removeEventListener("pointerleave",x),c.off("element:highlight",R),c.off("element:unhighlight",w),f))T(t),y(t)}}(f,Object.assign({elements:ol,datum:ob(c),groupKey:n?n(c):void 0,coordinate:d,scale:p,state:oT(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:a,delay:t,emitter:s},i))}}function fG(e){return fH(Object.assign(Object.assign({},e),{createGroup:oh}))}function fz(e){return fH(Object.assign(Object.assign({},e),{createGroup:om}))}fH.props={reapplyWhenUpdate:!0},fG.props={reapplyWhenUpdate:!0},fz.props={reapplyWhenUpdate:!0};var 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 fZ(e){var{createGroup:t,background:n=!1,link:r=!1}=e,a=f$(e,["createGroup","background","link"]);return(e,i,o)=>{let{container:s,view:l,options:c}=e,{coordinate:u,scale:p}=l,d=op(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 p;let d=t(e),f=new Set(d),g=(0,rA.ZP)(d,r),m=oS(d,n),[h,b]=ov(Object.assign({link:a,elements:d,valueof:m,coordinate:o},rD(u.selected,"link"))),[y,E]=oO(Object.assign({document:e.ownerDocument,background:s,coordinate:o,scale:l,valueof:m},rD(u.selected,"background"))),T=(0,rv.Z)(u,{selected:Object.assign({},(null===(p=u.selected)||void 0===p?void 0:p.offset)&&{transform:(...e)=>{let t=u.selected.offset(...e),[,n]=e;return oA(d[n],t,o)}})}),{setState:S,removeState:v,hasState:A}=oy(T,m),O=(e=!0)=>{for(let e of d)v(e,"selected","unselected"),b(e),E(e);e&&c.emit("element:unselect",{nativeEvent:!0})},_=(e,t,a=!0)=>{if(A(t,"selected"))O();else{let i=r(t),o=g.get(i),s=new Set(o);for(let e of d)s.has(e)?S(e,"selected"):(S(e,"unselected"),b(e)),e!==t&&E(e);if(h(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=g.get(o),l=new Set(s);if(A(t,"selected")){let e=d.some(e=>!l.has(e)&&A(e,"selected"));if(!e)return O();for(let e of s)S(e,"unselected"),b(e),E(e)}else{let e=s.some(e=>A(e,"selected"));for(let e of d)l.has(e)?S(e,"selected"):A(e,"selected")||S(e,"unselected");!e&&a&&h(s),y(t)}i&&c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:i,data:{data:d.filter(e=>A(e,"selected")).map(n)}}))},I=e=>{let{target:t,nativeEvent:n=!0}=e;return f.has(t)?i?_(e,t,n):k(e,t,n):O()};e.addEventListener("click",I);let C=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=ok(d,e,n);I({target:t,nativeEvent:!1})}},N=()=>{O(!1)};return c.on("element:select",C),c.on("element:unselect",N),()=>{for(let e of d)b(e);e.removeEventListener("click",I),c.off("element:select",C),c.off("element:unselect",N)}}(d,Object.assign({elements:ol,datum:ob(l),groupKey:t?t(l):void 0,coordinate:u,scale:p,state:oT(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},a))}}function fW(e){return fZ(Object.assign(Object.assign({},e),{createGroup:oh}))}function fY(e){return fZ(Object.assign(Object.assign({},e),{createGroup:om}))}fZ.props={reapplyWhenUpdate:!0},fW.props={reapplyWhenUpdate:!0},fY.props={reapplyWhenUpdate:!0};var fV=function(e,t,n){var r,a,i,o,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),r=null,o=e.apply(a,i),r||(a=i=null)},c=function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return a=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,o=e.apply(a,i),r||(a=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),o};return c.cancel=function(){clearTimeout(r),s=0,r=a=i=null},c},fq=n(29173),fK=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 fX(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:a=e=>`${e}`}=e,i=fK(e,["wait","leading","trailing","labelFormatter"]);return e=>{let o;let{view:s,container:l,update:c,setState:u}=e,{markState:p,scale:d,coordinate:f}=s,g=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}(p,"line",["x","y","series"]);if(!g)return;let{y:m,x:h,series:b=[]}=g,y=m.map((e,t)=>t),E=(0,iF.Z)(y.map(e=>h[e])),T=op(l),S=l.getElementsByClassName(iX),v=l.getElementsByClassName(i1),A=(0,rA.ZP)(v,e=>e.__data__.key.split("-")[0]),O=new nX.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:T.getAttribute("height"),stroke:"black",lineWidth:1},rD(i,"rule"))}),_=new nX.xv({style:Object.assign({x:0,y:T.getAttribute("height"),text:"",fontSize:10},rD(i,"label"))});O.append(_),T.appendChild(O);let k=(e,t,n)=>{let[r]=e.invert(n),a=t.invert(r);return E[(0,i3.ZR)(E,a)]},I=(e,t)=>{O.setAttribute("x1",e[0]),O.setAttribute("x2",e[0]),_.setAttribute("text",a(t))},C=e=>{let{scale:t,coordinate:n}=o,{x:r,y:a}=t,i=k(n,r,e);for(let t of(I(e,i),S)){let{seriesIndex:e,key:r}=t.__data__,o=e[(0,fq.Z)(e=>h[+e]).center(e,i)],s=[0,a.map(1)],l=[0,a.map(m[o]/m[e[0]])],[,c]=n.map(s),[,u]=n.map(l),p=c-u;t.setAttribute("transform",`translate(0, ${p})`);let d=A.get(r)||[];for(let e of d)e.setAttribute("dy",p)}},N=fV(e=>{let t=of(T,e);t&&C(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}=d,n=k(f,t,e);I(e,n),u("chartIndex",e=>{let t=(0,rv.Z)({},e),r=t.marks.find(e=>"line"===e.type),a=(0,rQ.Z)((0,rA.jJ)(y,e=>(0,rQ.Z)(e,e=>+m[e])/(0,sh.Z)(e,e=>+m[e]),e=>b[e]).values());(0,rv.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[(0,fq.Z)(e=>h[+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]),T.addEventListener("pointerenter",N),T.addEventListener("pointermove",N),T.addEventListener("pointerleave",N),()=>{O.remove(),T.removeEventListener("pointerenter",N),T.removeEventListener("pointermove",N),T.removeEventListener("pointerleave",N)}}}fX.props={reapplyWhenUpdate:!0};var fQ=n(18320),fJ=n(71894),f0=n(8612),f1=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 f2(e,t){if(t)return"string"==typeof t?document.querySelector(t):t;let n=e.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function f3({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:p,offset:d}){let f=f2(e,u),g=f2(e),m=o?g:e,h=p||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}}(g,f),{tooltipElement:y=function(e,t,n,r,a,i,o,s={},l=[10,10]){let c=new f0.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,rv.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,h,b,c,d)}=m,{items:E,title:T=""}=t;y.update(Object.assign({x:n,y:r,data:E,title:T,position:s,enterable:l},void 0!==a&&{content:a(i,{items:E,title:T})})),m.tooltipElement=y}function f4({root:e,single:t,emitter:n,nativeEvent:r=!0,event:a=null}){r&&n.emit("tooltip:hide",{nativeEvent:r});let i=f2(e),o=t?i:e,{tooltipElement:s}=o;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),ge(e),gt(e),gn(e)}function f5({root:e,single:t}){let n=f2(e),r=t?n:e;if(!r)return;let{tooltipElement:a}=r;a&&(a.destroy(),r.tooltipElement=void 0),ge(e),gt(e),gn(e)}function f6(e){let{value:t}=e;return Object.assign(Object.assign({},e),{value:void 0===t?"undefined":t})}function f9(e){let t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:a=t&&"transparent"!==t?t:n}=r;return a}function f8(e,t=e=>e){let n=new Map(e.map(e=>[t(e),e]));return Array.from(n.values())}function f7(e,t,n,r=e.map(e=>e.__data__),a={}){let i=e=>e instanceof Date?+e:e,o=f8(r.map(e=>e.title),i).filter(rL),s=r.flatMap((r,i)=>{let o=e[i],{items:s=[],title:l}=r,c=s.filter(rL),u=void 0!==n?n:s.length<=1;return c.map(e=>{var{color:n=f9(o)||a.color,name:i}=e,s=f1(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 p2.t)&&!(r instanceof aM)){let e=r.clone();return e.invert(o)}if(o&&r instanceof p2.t&&r.invert(o)!==i&&!a)return r.invert(o);if(n&&n.invert&&!(n instanceof p2.t)&&!(n instanceof aM)){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(f6);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:f8(s,e=>`(${i(e.name)}, ${i(e.value)}, ${i(e.color)})`)})}function ge(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function gt(e){e.ruleX&&(e.ruleX.remove(),e.ruleX=void 0)}function gn(e){e.markers&&(e.markers.forEach(e=>e.remove()),e.markers=[])}function gr(e,t){return Array.from(e.values()).some(e=>{var n;return null===(n=e.interaction)||void 0===n?void 0:n[t]})}function ga(e,t){return void 0===e?t:e}function gi(e){let{title:t,items:n}=e;return 0===n.length&&void 0===t}function go(e,t){var{elements:n,sort:r,filter:a,scale:i,coordinate:o,crosshairs:s,crosshairsX:l,crosshairsY:c,render:u,groupName:p,emitter:d,wait:f=50,leading:g=!0,trailing:m=!1,startX:h=0,startY:b=0,body:y=!0,single:E=!0,position:T,enterable:S,mount:v,bounding:A,theme:O,offset:_,disableNative:k=!1,marker:I=!0,preserve:C=!1,style:N={},css:x={}}=t,w=f1(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=r9(o),D=r8(o),P=(0,rv.Z)(N,w),{innerWidth:M,innerHeight:F,width:B,height:j,insetLeft:U,insetTop:H}=o.getOptions(),G=[],z=[];for(let e of R){let{__data__:t}=e,{seriesX:n,title:r,items:a}=t;n?G.push(e):(r||a)&&z.push(e)}let $=z.length&&z.every(e=>"interval"===e.markType)&&!r8(o),Z=e=>e.__data__.x,W=!!i.x.getBandWidth,Y=W&&z.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 V=e=>{let t=L?1:0,{min:n,max:r}=e.getLocalBounds();return(0,iF.Z)([n[t],r[t]])};$?R.sort((e,t)=>Z(e)-Z(t)):z.sort((e,t)=>{let[n,r]=V(e),[a,i]=V(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=(0,iF.Z)(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(rL),[s,l]=(0,iF.Z)([o[0],o[o.length-1]]);if(!Y&&(il)&&s!==l)return null;let c=(0,fq.Z)(e=>r[+e]).center,u=c(n,i);return n[u]},ee=$?(e,t)=>{let n=(0,fq.Z)(Z).center,r=n(t,Q(e)),a=t[r],i=(0,rA.ZP)(t,Z),o=i.get(Z(a));return o}:(e,t)=>{let n=L?1:0,r=e[n],a=t.filter(e=>{let[t,n]=V(e);return r>=t&&r<=n});if(!Y||a.length>0)return a;let i=(0,fq.Z)(e=>{let[t,n]=V(e);return(t+n)/2}).center,o=i(t,r);return[t[o]].filter(rL)},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[rk(e.replace("series","")),r]}))},en=fV(t=>{var n;let f=of(e,t);if(!f)return;let g=od(e),m=g.min[0],k=g.min[1],C=[f[0]-h,f[1]-b];if(!C)return;let N=ee(C,z),w=[],R=[];for(let e of G){let[n,r]=q.get(e),a=J(t,C,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 $=Array.from(new Set(R.map(e=>e[0].x))),Z=$[(0,fQ.Z)($,e=>Math.abs(e-Q(C)))],W=R.filter(e=>e[0].x===Z),Y=[...W.map(e=>e[0]),...N.map(e=>e.__data__)],V=[...w,...N],K=f7(V,i,p,Y,O);if(r&&K.items.sort((e,t)=>r(e)-r(t)),a&&(K.items=K.items.filter(a)),0===V.length||gi(K)){er(t);return}if(y&&f3({root:e,data:K,x:f[0]+m,y:f[1]+k,render:u,event:t,single:E,position:T,enterable:S,mount:v,bounding:A,css:x,offset:_}),s||l||c){let t=rD(P,"crosshairs"),n=Object.assign(Object.assign({},t),rD(P,"crosshairsX")),r=Object.assign(Object.assign({},t),rD(P,"crosshairsY")),a=W.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:p,insetLeft:d,insetTop:f}=r,g=f1(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let m=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},g),h=((e,t)=>{if(1===t.length)return t[0];let n=t.map(t=>it(t,e)),r=(0,fQ.Z)(n,e=>e);return t[r]})(n,t);if(p){let[t,n,r]=(()=>{let e=l+d+o/2,t=c+f+s/2,n=it([e,t],h);return[e,t,n]})(),a=e.ruleX||((t,n,r)=>{let a=new nX.Cd({style:Object.assign({cx:t,cy:n,r},m)});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+h[0],l+h[0],c,c+i]:[l,l+a,h[1]+c,h[1]+c],s=e.ruleX||((t,n,r,a)=>{let i=new nX.x1({style:Object.assign({x1:t,x2:n,y1:r,y2:a},m)});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:h,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:p,insetTop:d}=n,f=f1(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},f),m=t.map(e=>e[1]),h=t.map(e=>e[0]),b=(0,fJ.Z)(m),y=(0,fJ.Z)(h),[E,T,S,v]=(()=>{if(u){let e=Math.min(i,o)/2,t=s+p+i/2,n=l+d+o/2,r=ir(ie([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(h.length>0){let t=e.ruleY||(()=>{let t=new nX.x1({style:Object.assign({x1:E,x2:T,y1:S,y2:v},g)});return e.appendChild(t),t})();t.style.x1=E,t.style.x2=T,t.style.y1=S,t.style.y2=v,e.ruleY=t}}(e,a,Object.assign(Object.assign({},r),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:h,startY:b,transposed:L,polar:D}))}if(I){let t=rD(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 rL(t)&&rL(n)}).map(e=>{let[{color:t,element:i},o]=e,s=t||i.style.fill||i.style.stroke||r.color,l=new nX.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:W,style:t,theme:O})}let en=null===(n=W[0])||void 0===n?void 0:n[0].x,ea=null!=en?en:Q(C);d.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:{x:i5(i.x,ea,!0)}}}))},f,{leading:g,trailing:m}),er=t=>{f4({root:e,single:E,emitter:d,event:t})},ea=()=>{f5({root:e,single:E})},ei=t=>{var n,{nativeEvent:r,data:a,offsetX:s,offsetY:l}=t,c=f1(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,p=i.x,d=p.map(u),[f,g]=o.map([d,.5]),m=e.getRenderBounds(),h=m.min[0],b=m.min[1];en(Object.assign(Object.assign({},c),{offsetX:void 0!==s?s:h+f,offsetY:void 0!==l?l:b+g,_x:u}))},eo=()=>{f4({root:e,single:E,emitter:d,nativeEvent:!1})},es=()=>{eu(),ea()},el=()=>{ec()},ec=()=>{k||(e.addEventListener("pointerenter",en),e.addEventListener("pointermove",en),e.addEventListener("pointerleave",t=>{of(e,t)||er(t)}))},eu=()=>{k||(e.removeEventListener("pointerenter",en),e.removeEventListener("pointermove",en),e.removeEventListener("pointerleave",er))};return ec(),d.on("tooltip:show",ei),d.on("tooltip:hide",eo),d.on("tooltip:disable",es),d.on("tooltip:enable",el),()=>{eu(),d.off("tooltip:show",ei),d.off("tooltip:hide",eo),d.off("tooltip:disable",es),d.off("tooltip:enable",el),C?f4({root:e,single:E,emitter:d,nativeEvent:!1}):ea()}}function gs(e){let{shared:t,crosshairs:n,crosshairsX:r,crosshairsY:a,series:i,name:o,item:s=()=>({}),facet:l=!1}=e,c=f1(e,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(e,o,u)=>{let{container:p,view:d}=e,{scale:f,markState:g,coordinate:m,theme:h}=d,b=gr(g,"seriesTooltip"),y=gr(g,"crosshairs"),E=op(p),T=ga(i,b),S=ga(n,y);if(T&&Array.from(g.values()).some(e=>{var t;return(null===(t=e.interaction)||void 0===t?void 0:t.seriesTooltip)&&e.tooltip})&&!l)return go(E,Object.assign(Object.assign({},c),{theme:h,elements:ol,scale:f,coordinate:m,crosshairs:S,crosshairsX:ga(ga(r,n),!1),crosshairsY:ga(a,S),item:s,emitter:u}));if(T&&l){let t=o.filter(t=>t!==e&&t.options.parentKey===e.options.key),i=oc(e,o),l=t[0].view.scale,p=E.getBounds(),d=p.min[0],f=p.min[1];return Object.assign(l,{facet:!0}),go(E.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:h,elements:()=>i,scale:l,coordinate:m,crosshairs:ga(n,y),crosshairsX:ga(ga(r,n),!1),crosshairsY:ga(a,S),item:s,startX:d,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:p=!1,groupKey:d=e=>e,single:f=!0,position:g,enterable:m,datum:h,view:b,mount:y,bounding:E,theme:T,offset:S,shared:v=!1,body:A=!0,disableNative:O=!1,preserve:_=!1,css:k={}}){var I,C;let N=t(e),x=(0,rA.ZP)(N,d),w=N.every(e=>"interval"===e.markType)&&!r8(n),R=r.x,L=r.series,D=null!==(C=null===(I=null==R?void 0:R.getBandWidth)||void 0===I?void 0:I.call(R))&&void 0!==C?C:0,P=L?e=>e.__data__.x+e.__data__.series*D:e=>e.__data__.x+D/2;w&&N.sort((e,t)=>P(e)-P(t));let M=e=>{let{target:t}=e;return ox(t,e=>!!e.classList&&e.classList.includes("element"))},F=w?t=>{let r=of(e,t);if(!r)return;let[a]=n.invert(r),i=(0,fq.Z)(P).center,o=i(N,a),s=N[o];if(!v){let e=N.find(e=>e!==s&&P(e)===P(s));if(e)return M(t)}return s}:M,B=fV(t=>{let n=F(t);if(!n){f4({root:e,single:f,emitter:l,event:t});return}let c=d(n),u=x.get(c);if(!u)return;let p=1!==u.length||v?f7(u,r,i,void 0,T):function(e){let{__data__:t}=e,{title:n,items:r=[]}=t,a=r.filter(rL).map(t=>{var{color:n=f9(e)}=t;return Object.assign(Object.assign({},f1(t,["color"])),{color:n})}).map(f6);return Object.assign(Object.assign({},n&&{title:n}),{items:a})}(u[0]);if(o&&p.items.sort((e,t)=>o(e)-o(t)),s&&(p.items=p.items.filter(s)),gi(p)){f4({root:e,single:f,emitter:l,event:t});return}let{offsetX:h,offsetY:O}=t;A&&f3({root:e,data:p,x:h,y:O,render:a,event:t,single:f,position:g,enterable:m,mount:y,bounding:E,css:k,offset:S}),l.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:ow(n,b)}}))},c,{leading:u,trailing:p}),j=t=>{f4({root:e,single:f,emitter:l,event:t})},U=()=>{O||(e.addEventListener("pointermove",B),e.addEventListener("pointerleave",j))},H=()=>{O||(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=ok(N,i,h);if(!o)return;let s=o.getBBox(),{x:l,y:c,width:u,height:p}=s,d=e.getBBox();B({target:o,offsetX:void 0!==n?n+d.x:l+u/2,offsetY:void 0!==r?r+d.y:c+p/2})},z=({nativeEvent:t}={})=>{t||f4({root:e,single:f,emitter:l,nativeEvent:!1})};return l.on("tooltip:show",G),l.on("tooltip:hide",z),l.on("tooltip:enable",()=>{U()}),l.on("tooltip:disable",()=>{H(),f5({root:e,single:f})}),U(),()=>{H(),l.off("tooltip:show",G),l.off("tooltip:hide",z),_?f4({root:e,single:f,emitter:l,nativeEvent:!1}):f5({root:e,single:f})}}(E,Object.assign(Object.assign({},c),{datum:ob(d),elements:ol,scale:f,coordinate:m,groupKey:t?oh(d):void 0,item:s,emitter:u,view:d,theme:h,shared:t}))}}gs.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 gc="legend-category";function gu(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function gp(e){return e.getElementsByClassName("legend-category-item-label")[0]}function gd(e){return e.getElementsByClassName("items-item")}function gf(e){return e.getElementsByClassName(gc)}function gg(e){return e.getElementsByClassName("legend-continuous")}function gm(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")),p=[...t];c.length&&p.splice(u+1,0,{type:"filter",[n]:{value:r,ordinal:a}});let d=Object.fromEntries(i.map(e=>[e,{domain:l.scale[e].getOptions().domain}]));return(0,rv.Z)({},e,Object.assign(Object.assign({transform:p,scale:d},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:c})}),yield c()})}function gb(e,t){for(let n of e)gh(n,Object.assign(Object.assign({},t),{facet:!0}))}var gy=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 gE(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}let gT=iT(e=>{let t=e.attributes,{x:n,y:r,width:a,height:i,class:o,renders:s={},handleSize:l=10,document:c}=t,u=gy(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 p=l/2,d=(e,t,n)=>{e.handle||(e.handle=n.createElement("rect"),e.append(e.handle));let{handle:r}=e;return r.attr(t),r},f=rD(rM(u,"handleNW","handleNE"),"handleN"),{render:g=d}=f,m=gy(f,["render"]),h=rD(u,"handleE"),{render:b=d}=h,y=gy(h,["render"]),E=rD(rM(u,"handleSE","handleSW"),"handleS"),{render:T=d}=E,S=gy(E,["render"]),v=rD(u,"handleW"),{render:A=d}=v,O=gy(v,["render"]),_=rD(u,"handleNW"),{render:k=d}=_,I=gy(_,["render"]),C=rD(u,"handleNE"),{render:N=d}=C,x=gy(C,["render"]),w=rD(u,"handleSE"),{render:R=d}=w,L=gy(w,["render"]),D=rD(u,"handleSW"),{render:P=d}=D,M=gy(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=iT(t=>F(t,e));return new t({})},j=rU(e).attr("className",o).style("transform",`translate(${n}, ${r})`).style("draggable",!0);j.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(gE,Object.assign(Object.assign({width:a,height:i},rM(u,"handle")),{transform:void 0})),j.maybeAppend("handle-n",B(g)).style("x",p).style("y",-p).style("width",a-l).style("height",l).style("fill","transparent").call(gE,m),j.maybeAppend("handle-e",B(b)).style("x",a-p).style("y",p).style("width",l).style("height",i-l).style("fill","transparent").call(gE,y),j.maybeAppend("handle-s",B(T)).style("x",p).style("y",i-p).style("width",a-l).style("height",l).style("fill","transparent").call(gE,S),j.maybeAppend("handle-w",B(A)).style("x",-p).style("y",p).style("width",l).style("height",i-l).style("fill","transparent").call(gE,O),j.maybeAppend("handle-nw",B(k)).style("x",-p).style("y",-p).style("width",l).style("height",l).style("fill","transparent").call(gE,I),j.maybeAppend("handle-ne",B(N)).style("x",a-p).style("y",-p).style("width",l).style("height",l).style("fill","transparent").call(gE,x),j.maybeAppend("handle-se",B(R)).style("x",a-p).style("y",i-p).style("width",l).style("height",l).style("fill","transparent").call(gE,L),j.maybeAppend("handle-sw",B(P)).style("x",-p).style("y",i-p).style("width",l).style("height",l).style("fill","transparent").call(gE,M)});function gS(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:p="0.3",stroke:d="#fff",selectedHandles:f=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,g=gy(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let m=null,h=null,b=null,y=null,E=null,T=!1,[S,v,A,O]=s;o_(e,"crosshair"),e.style.draggable=!0;let _=(e,t,n)=>{if(i(n),y&&y.remove(),E&&E.remove(),m=[e,t],c)return k();I()},k=()=>{E=new nX.y$({style:Object.assign(Object.assign({},g),{fill:u,fillOpacity:p,stroke:d,pointerEvents:"none"})}),y=new gT({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(E),e.appendChild(y)},I=()=>{y=new gT({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},g),{fill:u,fillOpacity:p,stroke:d,draggable:!0}),className:"mask"}),e.appendChild(y)},C=(e=!0)=>{y&&y.remove(),E&&E.remove(),m=null,h=null,b=null,T=!1,y=null,E=null,r(e)},N=(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),[p,d,f,g]=l(a,i,o,u,s);return c?w(p,d,f,g):x(p,d,f,g),n(p,d,f,g,r),[p,d,f,g]},x=(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${S},${v}L${A},${v}L${A},${O}L${S},${O}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,m[0],h[0],S,A),i=t(r,m[1],h[1],v,O),o=[m[0]+a,m[1]+i],s=[h[0]+a,h[1]+i];N(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]=og(e,t);if(!y||!D(n)){_(r,a,t),T=!0;return}D(n)&&(b=[r,a])},B=t=>{let{target:n}=t,r=og(e,t);if(!m)return;if(!b)return N(m,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 N([m[0]+a*e,m[1]+i*t],[h[0]+a*n,h[1]+i*r])}},j=t=>{if(b){b=null;let{x:e,y:n,width:r,height:a}=y.style;m=[e,n],h=[e+r,n+a],o(e,n,e+r,n+a,t);return}h=og(e,t);let[n,r,i,s]=N(m,h);T=!1,a(n,r,i,s,t)},U=e=>{let{target:t}=e;y&&!D(t)&&C()},H=t=>{let{target:n}=t;y&&D(n)&&!T?M(n)?o_(e,"move"):P(n)&&o_(e,L[n.id].cursor):o_(e,"crosshair")},G=()=>{o_(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||_(e,t,{}),m=[e,t],h=[n,r],N([e,t],[n,r],a)},remove(e=!0){y&&C(e)},destroy(){y&&C(!1),o_(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 gA(e,t){var{elements:n,selectedHandles:r,siblings:a=e=>[],datum:i,brushRegion:o,extent:s,reverse:l,scale:c,coordinate:u,series:p=!1,key:d=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:g={},emitter:m}=t,h=gy(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),T=oS(b,i),S=rD(h,"mask"),{setState:v,removeState:A}=oy(g,T),O=new Map,{width:_,height:k,x:I=0,y:C=0}=f(e),N=()=>{for(let e of[...b,...E])A(e,"active","inactive")},x=(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,p]=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)A(e,"inactive");for(let e of O.values())e.remove();O.clear()},R=(t,n,r,a)=>{let i=e=>{let t=e.cloneNode();return t.__data__=e.__data__,e.parentNode.appendChild(t),O.set(e,t),t},o=new nX.UL({style:{x:t+I,y:n+C,width:r-t,height:a-n}});for(let t of(e.appendChild(o),b)){let e=O.get(t)||i(t);e.style.clipPath=o,v(t,"inactive"),v(e,"active")}},L=gS(e,Object.assign(Object.assign({},S),{extent:s||[0,0,_,k],brushRegion:o,reverse:l,selectedHandles:r,brushended:e=>{let t=p?w:N;e&&m.emit("brush:remove",{nativeEvent:!0}),t()},brushed:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);a&&m.emit("brush:highlight",{nativeEvent:!0,data:{selection:i}});let o=p?R:x;o(e,t,n,r)},brushcreated:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);m.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushupdated:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);m.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushstarted:e=>{m.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=i8(i,r),l=i8(o,a),c=[s[0],l[0]],u=[s[1],l[1]],[p,d]=n.map(c),[f,g]=n.map(u);return[p,d,f,g]}(n,c,u);L.move(r,a,i,o,!1)};m.on("brush:highlight",D);let P=({nativeEvent:e}={})=>{e||L.remove(!1)};m.on("brush:remove",P);let M=L.destroy.bind(L);return L.destroy=()=>{m.off("brush:highlight",D),m.off("brush:remove",P),M()},L}function gO(e){var{facet:t,brushKey:n}=e,r=gy(e,["facet","brushKey"]);return(e,a,i)=>{let{container:o,view:s,options:l}=e,c=op(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},p=["active",["inactive",{opacity:.5}]],{scale:d,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 gA(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>oc(e,a),datum:ob(ou(e,a).map(e=>e.view)),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:[n,o,s,l],state:oT(ou(e,a).map(e=>e.options),p),emitter:i,scale:d,coordinate:f,selectedHandles:void 0},u),r))}let g=gA(c,Object.assign(Object.assign({elements:ol,key:e=>e.__data__.key,siblings:()=>gv(e,a,n).map(e=>op(e.container)),datum:ob([s,...gv(e,a,n).map(e=>e.view)]),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:void 0,state:oT([l,...gv(e,a,n).map(e=>e.options)],p),emitter:i,scale:d,coordinate:f,selectedHandles:void 0},u),r));return c.brush=g,()=>g.destroy()}}function g_(e,t,n,r,a){let[,i,,o]=a;return[e,i,n,o]}function gk(e,t,n,r,a){let[i,,o]=a;return[i,t,o,r]}var gI=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 gC="axis-hot-area";function gN(e){return e.getElementsByClassName("axis")}function gx(e){return e.getElementsByClassName("axis-line")[0]}function gw(e){return e.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function gR(e,t){var{cross:n,offsetX:r,offsetY:a}=t,i=gI(t,["cross","offsetX","offsetY"]);let o=gw(e),s=gx(e),[l]=s.getLocalBounds().min,[c,u]=o.min,[p,d]=o.max,f=(p-c)*2;return{brushRegion:gk,hotZone:new nX.UL({className:gC,style:Object.assign({width:n?f/2:f,transform:`translate(${(n?c:l-f/2).toFixed(2)}, ${u})`,height:d-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(p-r),a]}}function gL(e,t){var{offsetY:n,offsetX:r,cross:a=!1}=t,i=gI(t,["offsetY","offsetX","cross"]);let o=gw(e),s=gx(e),[,l]=s.getLocalBounds().min,[c,u]=o.min,[p,d]=o.max,f=d-u;return{brushRegion:g_,hotZone:new nX.UL({className:gC,style:Object.assign({width:p-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(d-n)]}}var 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{hideX:t=!0,hideY:n=!0}=e,r=gD(e,["hideX","hideY"]);return(e,a,i)=>{let{container:o,view:s,options:l,update:c,setState:u}=e,p=op(o),d=!1,f=!1,g=s,{scale:m,coordinate:h}=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:p=!1}=t,d=gD(t,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let f=rD(d,"mask"),{width:g,height:m}=e.getBBox(),h=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)}}(p,Object.assign(Object.assign({brushRegion:(e,t,n,r)=>[e,t,n,r],selection:(e,t,n,r)=>{let{scale:a,coordinate:i}=g;return i9(e,t,n,r,a,i)},filter:(e,r)=>{var a,o,s,p;return a=this,o=void 0,s=void 0,p=function*(){if(f)return;f=!0;let[a,o]=e;u("brushFilter",e=>{let{marks:r}=e,i=r.map(e=>(0,rv.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();g=s.view,f=!1,d=!0},new(s||(s=Promise))(function(e,t){function n(e){try{i(p.next(e))}catch(e){t(e)}}function r(e){try{i(p.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((p=p.apply(a,o||[])).next())})},reset:e=>{if(f||!d)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]}})),d=!1,g=s,u("brushFilter"),c()},extent:void 0,emitter:i,scale:m,coordinate:h},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var gM=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 gF(e){return[e[0],e[e.length-1]]}function gB({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,p)=>{let{container:d,view:f,update:g,setState:m}=c,h=d.getElementsByClassName(t);if(!h.length)return()=>{};let b=!1,{scale:y,coordinate:E,layout:T}=f,{paddingLeft:S,paddingTop:v,paddingBottom:A,paddingRight:O}=T,{x:_,y:k}=y,I=r9(E),C=e=>{let t="vertical"===e?"y":"x",n="vertical"===e?"x":"y";return I?[n,t]:[t,n]},N=new Map,x=new Set,w={x:e.x||_.getOptions().domain,y:e.y||k.getOptions().domain};for(let e of h){let{orientation:t}=e.attributes,[c,u]=C(t),d=`${n}${r$(c)}:filter`,f="x"===c,{ratio:h}=_.getOptions(),{ratio:E}=k.getOptions(),T=e=>{if(e.data){let{selection:t}=e.data,[n=gF(w.x),r=gF(w.y)]=t;return f?[i6(_,n,h),i6(k,r,E)]:[i6(k,r,E),i6(_,n,h)]}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=i5(t,i(r),!0),s=i5(t,i(a),!1);return i6(t,[o,s])}(n,r,I&&"horizontal"===t),i=w[u];return[a,i]},R=fV(t=>gM(this,void 0,void 0,function*(){let{initValue:r=!1}=t;if(b&&!r)return;b=!0;let{nativeEvent:i=!0}=t,[o,s]=T(t);if(w[c]=o,w[u]=s,i){let e=f?o:s,n=f?s:o;p.emit(d,Object.assign(Object.assign({},t),{nativeEvent:i,data:{selection:[gF(e),gF(n)]}}))}m(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,rv.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:S,paddingTop:v,paddingBottom:A,paddingRight:O})),yield g(),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 nX.Aw("valuechange",{data:a,nativeEvent:!1}));let l=f?i8(o,_):i8(s,k);r(e,l)};p.on(d,L),e.addEventListener("valuechange",R),N.set(e,R),x.add([d,L]);let D=l(e);D&&e.dispatchEvent(new nX.Aw("valuechange",{detail:{value:D},nativeEvent:!1,initValue:!0}))}return()=>{for(let[e,t]of N)e.removeEventListener("valuechange",t);for(let[e,t]of x)p.off(e,t)}}}let gj="g2-scrollbar";var gU=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 gH={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 gG(e){return"text"===e.nodeName&&!!e.isOverflowing()}function gz(e){var{offsetX:t=8,offsetY:n=8}=e,r=gU(e,["offsetX","offsetY"]);return e=>{let{container:a}=e,[i,o]=a.getBounds().min,s=rD(r,"tip"),l=new Set,c=e=>{let{target:r}=e;if(!gG(r)){e.stopPropagation();return}let{offsetX:c,offsetY:u}=e,p=c+t-i,d=u+n-o;if(r.tip){r.tip.style.x=p,r.tip.style.y=d;return}let{text:f}=r.style,g=new nX.k9({className:"poptip",style:{innerHTML:`
${f}
`,x:p,y:d}});a.appendChild(g),r.tip=g,l.add(g)},u=e=>{let{target:t}=e;if(!gG(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())}}}gz.props={reapplyWhenUpdate:!0};var g$=function(e,t){var n=lR(t),r=n.length;if((0,rO.Z)(e))return!r;for(var a=0;a{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:cm(a)(e)).sort(t.sort):o.count(),(0,gQ.Z)().tile(i).size(t.size).round(t.round).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft)(o);let s=o.descendants().map(e=>Object.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 g0=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 g1={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var g2=n(71154),g3=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())})},g4=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 g5={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},g6="movePoint",g9=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")))},g8=e=>{let t=e.target,{markType:n}=t;"line"===n&&t.attr("lineWidth",t.attr("_lineWidth")),"interval"===n&&t.attr("opacity",t.attr("_opacity"))},g7=(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}),me=e=>{let t=(0,lm.Z)(e,["__data__","y"]),n=(0,lm.Z)(e,["__data__","y1"]),r=n-t,{__data__:{data:a,encode:i,transform:o},childNodes:s}=e.parentNode,l=gZ(o,({type:e})=>"normalizeY"===e),c=(0,lm.Z)(i,["y","field"]),u=a[s.indexOf(e)][c];return(e,t=!1)=>l||t?e/(1-e)/(r/(1-r))*u:e},mt=(e,t)=>{let n=(0,lm.Z)(e,["__data__","seriesItems",t,"0","value"]),r=(0,lm.Z)(e,["__data__","seriesIndex",t]),{__data__:{data:a,encode:i,transform:o}}=e.parentNode,s=gZ(o,({type:e})=>"normalizeY"===e),l=(0,lm.Z)(i,["y","field"]),c=a[r][l];return e=>s?1===n?e:e/(1-e)/(n/(1-n))*c:e},mn=(e,t,n)=>{e.forEach((e,r)=>{e.attr("stroke",t[1]===r?n.activeStroke:n.stroke)})},mr=(e,t,n,r)=>{let a=new nX.y$({style:n}),i=new nX.xv({style:r});return t.appendChild(i),e.appendChild(a),[a,i]},ma=(e,t)=>{let n=(0,lm.Z)(e,["options","range","indexOf"]);if(!n)return;let r=e.options.range.indexOf(t);return e.sortedDomain[r]},mi=(e,t,n)=>{let r=oI(e,t),a=oI(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 mo=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=()=>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({},mo(e,["data","x","y","width","height"])),{data:a9(t,o),x:null!=s?s:n,y:null!=l?l:r,width:null!=c?c:a,height:null!=u?u:i})})};ms.props={};var ml=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 mc=()=>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),p=e[s]-a*(t.length-1),d=r.map(e=>p*(e/u)),f=[],g=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 md=a5(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=(0,rA.ZP)(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"))}}}),mf=a6(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:p}=l;void 0!==c&&(t=c),void 0!==u&&(n=u),void 0!==p&&(r=p),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)?[(0,ad.Z)(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:(0,rv.Z)({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:(0,rv.Z)({title:l},r)}})}),mg=a5(()=>({animate:{enterType:"fadeIn"}})),mm=a6(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),mh=a6(()=>({type:"cell"})),mb=a6(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})()}}]}}}),my=a6((e,t=mE,n=mS,r=mv,a={})=>{let{data:i,encode:o,children:s,scale:l,x:c=0,y:u=0,shareData:p=!1,key:d}=e,{value:f}=i,{x:g,y:m}=o,{color:h}=l,{domain:b}=h;return{children:(e,i,o)=>{let{x:l,y:h}=i,{paddingLeft:y,paddingTop:E,marginLeft:T,marginTop:S}=o,{domain:v}=l.getOptions(),{domain:A}=h.getOptions(),O=rY(e),_=e.map(t),k=e.map(({x:e,y:t})=>[l.invert(e),h.invert(t)]),I=k.map(([e,t])=>n=>{let{[g]:r,[m]:a}=n;return(void 0===g||r===e)&&(void 0===m||a===t)}),C=I.map(e=>f.filter(e)),N=p?(0,rQ.Z)(C,e=>e.length):void 0,x=k.map(([e,t])=>({columnField:g,columnIndex:v.indexOf(e),columnValue:e,columnValuesLength:v.length,rowField:m,rowIndex:A.indexOf(t),rowValue:t,rowValuesLength:A.length})),w=x.map(e=>Array.isArray(s)?s:[s(e)].flat(1));return O.flatMap(e=>{let[t,i,o,s]=_[e],l=x[e],p=C[e],h=w[e];return h.map(h=>{var v,A,{scale:O,key:_,facet:k=!0,axis:I={},legend:C={}}=h,x=mp(h,["scale","key","facet","axis","legend"]);let w=(null===(v=null==O?void 0:O.y)||void 0===v?void 0:v.guide)||I.y,R=(null===(A=null==O?void 0:O.x)||void 0===A?void 0:A.guide)||I.x,L=k?p:0===p.length?[]:f,D={x:mA(R,n)(l,L),y:mA(w,r)(l,L)};return Object.assign(Object.assign({key:`${_}-${e}`,data:L,margin:0,x:t+y+c+T,y:i+E+u+S,parentKey:d,width:o,height:s,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:N,scale:(0,rv.Z)({x:{tickCount:g?5:void 0},y:{tickCount:m?5:void 0}},O,{color:{domain:b}}),axis:(0,rv.Z)({},I,D),legend:!1},x),a)})})}}});function mE(e){let{points:t}=e;return io(t)}function mT(e,t){return t.length?(0,rv.Z)({title:!1,tick:null,label:null},e):(0,rv.Z)({title:!1,tick:null,label:null,grid:null},e)}function mS(e){return(t,n)=>{let{rowIndex:r,rowValuesLength:a,columnIndex:i,columnValuesLength:o}=t;if(r!==a-1)return mT(e,n);let s=n.length?void 0:null;return(0,rv.Z)({title:i===o-1&&void 0,grid:s},e)}}function mv(e){return(t,n)=>{let{rowIndex:r,columnIndex:a}=t;if(0!==a)return mT(e,n);let i=n.length?void 0:null;return(0,rv.Z)({title:0===r&&void 0,grid:i},e)}}function mA(e,t){return"function"==typeof e?e:null===e||!1===e?()=>null:t(e)}let mO=()=>e=>{let t=mu.of(e).call(mh).call(mf).call(mg).call(md).call(mm).call(mb).call(my).value();return[t]};mO.props={};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 mk=a5(e=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mI=a6(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:p,marginLeft:d,marginTop:f}=s,{domain:g}=l.getOptions(),{domain:m}=c.getOptions(),h=rY(e),b=e.map(({points:e})=>io(e)),y=e.map(({x:e,y:t})=>[l.invert(e),c.invert(t)]),E=y.map(([e,t])=>({columnField:e,columnIndex:g.indexOf(e),columnValue:e,columnValuesLength:g.length,rowField:t,rowIndex:m.indexOf(t),rowValue:t,rowValuesLength:m.length})),T=E.map(e=>Array.isArray(n)?n:[n(e)].flat(1));return h.flatMap(e=>{let[n,o,s,l]=b[e],[c,g]=y[e],m=E[e],h=T[e];return h.map(h=>{var b,y;let{scale:E,key:T,encode:S,axis:v,interaction:A}=h,O=m_(h,["scale","key","encode","axis","interaction"]),_=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,I={x:("function"==typeof k?k:null===k?()=>null:(e,t)=>{let{rowIndex:n,rowValuesLength:r}=e;if(n!==r-1)return mT(k,t)})(m,t),y:("function"==typeof _?_:null===_?()=>null:(e,t)=>{let{columnIndex:n}=e;if(0!==n)return mT(_,t)})(m,t)};return Object.assign({data:t,parentKey:i,key:`${T}-${e}`,x:n+u+r+d,y:o+p+a+f,width:s,height:l,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,rv.Z)({x:{facet:!1},y:{facet:!1}},E),axis:(0,rv.Z)({x:{tickCount:5},y:{tickCount:5}},v,I),legend:!1,encode:(0,rv.Z)({},S,{x:c,y:g}),interaction:(0,rv.Z)({},A,{legendFilter:!1})},O)})})}}}),mC=a6(e=>{let{encode:t}=e,n=m_(e,["encode"]),{position:r=[],x:a=r,y:i=[...r].reverse()}=t,o=m_(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 mN=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=a5(e=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mw=a5(e=>({coordinate:{type:"polar"}})),mR=e=>{let{encode:t}=e,n=mN(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function mL(e){return e=>null}function mD(e){let{points:t}=e,[n,r,a,i]=t,o=it(n,i),s=ie(n,i),l=ie(r,a),c=ii(s,l),u=1/Math.sin(c/2),p=o/(1+u),d=p*Math.sqrt(2),[f,g]=a,m=ia(s),h=m+c/2,b=p*u;return[f+b*Math.sin(h)-d/2,g-b*Math.cos(h)-d/2,d,d]}let mP=()=>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,rv.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=lX(r,e))||void 0===t?void 0:t[0]]}).filter(([,e])=>rL(e));return Array.from((0,rA.ZP)(t,e=>a.map(([,t])=>t[e]).join("-")).values())}function mF(e){return Array.isArray(e)?(t,n,r)=>(n,r)=>e.reduce((e,a)=>0!==e?e:(0,sb.Z)(t[n][a],t[r][a]),0):"function"==typeof e?(t,n,r)=>m$(n=>e(t[n])):"series"===e?mU:"value"===e?mH:"sum"===e?mG:"maxIndex"===e?mz:null}function mB(e,t){for(let n of e)n.sort(t)}function mj(e,t){return(null==t?void 0:t.domain)||Array.from(new Set(e))}function mU(e,t,n){return m$(e=>n[e])}function mH(e,t,n){return m$(e=>t[e])}function mG(e,t,n){let r=rY(e),a=Array.from((0,rA.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,n.reduce((e,n)=>e+ +t[n])]));return m$(e=>i.get(n[e]))}function mz(e,t,n){let r=rY(e),a=Array.from((0,rA.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,(0,iA.Z)(n,e=>t[e])]));return m$(e=>i.get(n[e]))}function m$(e){return(t,n)=>(0,sb.Z)(e(t),e(n))}mP.props={};let mZ=(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:p={}}=s,[d,f]=lX(u,"y"),[g,m]=lX(u,"y1"),[h]=o?lQ(u,"series","color"):lX(u,"color"),b=mM(t,e,s),y=null!==(l=mF(n))&&void 0!==l?l:()=>null,E=y(c,d,h);E&&mB(b,E);let T=Array(e.length),S=Array(e.length),v=Array(e.length),A=[],O=[];for(let e of b){r&&e.reverse();let t=g?+g[e[0]]:0,n=[],a=[];for(let r of e){let e=v[r]=+d[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===d[i[s]];)s--;for(;l0?u=T[e]=(S[e]=u)+t:T[e]=S[e]=u}}let _=new Set(A),k=new Set(O),I="y"===a?T:S,C="y"===i?T:S;return[e,(0,rv.Z)({},s,{encode:{y0:lV(d,f),y:lY(I,f),y1:lY(C,m)},style:Object.assign({first:(e,t)=>_.has(t),last:(e,t)=>k.has(t)},p)})]}};mZ.props={};var mW=n(52362),mY=n(87568),mV=n(76132),mq=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 mK(e){return t=>null===t?e:`${e} of ${t}`}function mX(){let e=mK("mean");return[(e,t)=>(0,fJ.Z)(e,e=>+t[e]),e]}function mQ(){let e=mK("median");return[(e,t)=>(0,mV.Z)(e,e=>+t[e]),e]}function mJ(){let e=mK("max");return[(e,t)=>(0,rQ.Z)(e,e=>+t[e]),e]}function m0(){let e=mK("min");return[(e,t)=>(0,sh.Z)(e,e=>+t[e]),e]}function m1(){let e=mK("count");return[(e,t)=>e.length,e]}function m2(){let e=mK("sum");return[(e,t)=>(0,rX.Z)(e,e=>+t[e]),e]}function m3(){let e=mK("first");return[(e,t)=>t[e[0]],e]}function m4(){let e=mK("last");return[(e,t)=>t[e[e.length-1]],e]}let m5=(e={})=>{let{groupBy:t}=e,n=mq(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]=lX(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:mX,max:mJ,count:m1,first:m3,last:m4,sum:m2,min:m0,median:mQ}[e];if(!t)throw Error(`Unknown reducer: ${e}.`);return t()}(t),[l,c]=lX(i,e),u=s(c,t),p=o.map(e=>n(e,null!=l?l:a));return[e,Object.assign(Object.assign({},function(e,t){let n=lY(e,t);return Object.assign(Object.assign({},n),{constant:!1})}(p,(null==r?void 0:r(u))||u)),{aggregate:!0})]}),c=Object.keys(i).map(e=>{let[t,n]=lX(i,e),r=o.map(e=>t[e[0]]);return[e,lY(r,n)]}),u=o.map(e=>a[e[0]]),p=rY(o);return[p,(0,rv.Z)({},r,{data:u,encode:Object.fromEntries([...c,...l])})]}};m5.props={};var m6=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="thresholds",m8=(e={})=>{let{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=m6(e,["groupChannels","binChannels"]),a={};return m5(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([e])=>!e.startsWith(m9)))),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]=lX(o,e);return t}),l=rD(r,m9),c=e.filter(e=>s.every(t=>rL(t[e]))),u=[...t.map(e=>{let[t]=lX(o,e);return t}).filter(rL).map(e=>t=>e[t]),...n.map((e,t)=>{let n=s[t],r=l[e]||function(e){let[t,n]=(0,ad.Z)(e);return Math.min(200,(0,mW.Z)(e,t,n))}(n),i=(0,mY.Z)().thresholds(r).value(e=>+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((0,rA.ZP)(c,e=>u.map(t=>t(e)).join("-")).values())}}))};m8.props={};let m7=(e={})=>{let{thresholds:t}=e;return m8(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};m7.props={};var he=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 ht=(e={})=>{let{groupBy:t="x",reverse:n=!1,orderBy:r,padding:a}=e;return he(e,["groupBy","reverse","orderBy","padding"]),(e,i)=>{let{data:o,encode:s,scale:l}=i,{series:c}=l,[u]=lX(s,"y"),[p]=lQ(s,"series","color"),d=mj(p,c),f=(0,rv.Z)({},i,{scale:{series:{domain:d,paddingInner:a}}}),g=mM(t,e,i),m=mF(r);if(!m)return[e,(0,rv.Z)(f,{encode:{series:lY(p)}})];let h=m(o,u,p);h&&mB(g,h);let b=Array(e.length);for(let e of g){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]=lX(i,"x"),[u]=lX(i,"y"),p=hn(c,s,n),d=hn(u,l,r),f=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...d)),g=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...p));return[e,(0,rv.Z)({scale:{x:{padding:.5},y:{padding:.5}}},t,{encode:{dy:lY(f),dx:lY(g)}})]}};hr.props={};let ha=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{x:o}=i,[s]=lX(a,"x"),l=hn(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,rv.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:lY(c)}})]}};ha.props={};let hi=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{y:o}=i,[s]=lX(a,"y"),l=hn(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,rv.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:lY(c)}})]}};hi.props={};var ho=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 hs=(e={})=>{let{groupBy:t="x"}=e;return(e,n)=>{let{encode:r}=n,{x:a}=r,i=ho(r,["x"]),o=Object.entries(i).filter(([e])=>e.startsWith("y")).map(([e])=>[e,lX(r,e)[0]]),s=o.map(([t])=>[t,Array(e.length)]),l=mM(t,e,n),c=Array(l.length);for(let e=0;eo.map(([,t])=>+t[e])),[r,a]=(0,ad.Z)(n);c[e]=(r+a)/2}let u=Math.max(...c);for(let e=0;e[e,lY(t,lX(r,e)[1])]))})]}};hs.props={};let hl=(e={})=>{let{groupBy:t="x",series:n=!0}=e;return(e,r)=>{let{encode:a}=r,[i]=lX(a,"y"),[o,s]=lX(a,"y1"),[l]=n?lQ(a,"series","color"):lX(a,"color"),c=mM(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,rv.Z)({},r,{encode:{y1:lY(u,s)}})]}};hl.props={};let hc=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,lX(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((0,rA.ZP)(n,t=>e[t]).values());t.push(...r)}u=t}if(r){let[e]=lX(s,r);e&&u.sort((t,r)=>n(t,e)-n(r,e)),a&&u.reverse()}let p=(i||3e3)/u.length,[d]=i?[lK(e,p)]:lQ(s,"enterDuration",lK(e,p)),[f]=lQ(s,"enterDelay",lK(e,0)),g=Array(e.length);for(let e=0,t=0;e+d[e]);for(let e of n)g[e]=+f[e]+t;t+=r}return[e,(0,rv.Z)({},o,{encode:{enterDuration:lq(d),enterDelay:lq(g)}})]}};hc.props={};var hu=n(93209),hp=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 hd=(e={})=>{let{groupBy:t="x",basis:n="max"}=e;return(e,r)=>{let{encode:a,tooltip:i}=r,{x:o}=a,s=hp(a,["x"]),l=Object.entries(s).filter(([e])=>e.startsWith("y")).map(([e])=>[e,lX(a,e)[0]]),[,c]=l.find(([e])=>"y"===e),u=l.map(([t])=>[t,Array(e.length)]),p=mM(t,e,r),d="function"==typeof n?n:({min:(e,t)=>(0,sh.Z)(e,e=>t[+e]),max:(e,t)=>(0,rQ.Z)(e,e=>t[+e]),first:(e,t)=>t[e[0]],last:(e,t)=>t[e[e.length-1]],mean:(e,t)=>(0,fJ.Z)(e,e=>t[+e]),median:(e,t)=>(0,mV.Z)(e,e=>t[+e]),sum:(e,t)=>(0,rX.Z)(e,e=>t[+e]),deviation:(e,t)=>(0,hu.Z)(e,e=>t[+e])})[n]||rQ.Z;for(let e of p){let t=d(e,c);for(let n of e)for(let e=0;e[e,lY(t,lX(a,e)[1])]))},!f&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function hf(e,t){return[e[0]]}function hg(e,t){let n=e.length-1;return[e[n]]}function hm(e,t){let n=(0,iA.Z)(e,e=>t[e]);return[e[n]]}function hh(e,t){let n=(0,fQ.Z)(e,e=>t[e]);return[e[n]]}hd.props={};let hb=(e={})=>{let{groupBy:t="series",channel:n,selector:r}=e;return(e,a)=>{let{encode:i}=a,o=mM(t,e,a),[s]=lX(i,n),l="function"==typeof r?r:({first:hf,last:hg,max:hm,min:hh})[r]||hf;return[o.flatMap(e=>l(e,s)),a]}};hb.props={};var hy=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 hE=(e={})=>{let{selector:t}=e,n=hy(e,["selector"]);return hb(Object.assign({channel:"x",selector:t},n))};hE.props={};var hT=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 hS=(e={})=>{let{selector:t}=e,n=hT(e,["selector"]);return hb(Object.assign({channel:"y",selector:t},n))};hS.props={};var hv=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 hA=(e={})=>{let{channels:t=["x","y"]}=e,n=hv(e,["channels"]);return m5(Object.assign(Object.assign({},n),{groupBy:(e,n)=>mM(t,e,n)}))};hA.props={};let hO=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));hO.props={};let h_=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));h_.props={};let hk=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["color"]}));hk.props={};var hI=n(28085),hC=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 hN=(e={})=>{let{reverse:t=!1,slice:n,channel:r,ordinal:a=!0}=e,i=hC(e,["reverse","slice","channel","ordinal"]);return(e,o)=>a?function(e,t,n){var r;let{reverse:a,slice:i,channel:o}=n,s=hC(n,["reverse","slice","channel"]),{encode:l,scale:c={}}=t,u=null===(r=c[o])||void 0===r?void 0:r.domain,[p]=lX(l,o),d=function(e,t,n){let{by:r=e,reducer:a="max"}=t,[i]=lX(n,r);if("function"==typeof a)return e=>a(e,i);if("max"===a)return e=>(0,rQ.Z)(e,e=>+i[e]);if("min"===a)return e=>(0,sh.Z)(e,e=>+i[e]);if("sum"===a)return e=>(0,rX.Z)(e,e=>+i[e]);if("median"===a)return e=>(0,mV.Z)(e,e=>+i[e]);if("mean"===a)return e=>(0,fJ.Z)(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}`)}(o,s,l),f=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,u),g=(0,hI.Z)(f,d,e=>p[e]);a&&g.reverse();let m=i?g.slice(..."number"==typeof i?[0,i]:i):g;return[e,(0,rv.Z)(t,{scale:{[o]:{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]=lX(i,a),s=(0,iF.Z)(e,e=>o[e]);return r&&s.reverse(),[s,t]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i))};hN.props={};let hx=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"x"}));hx.props={};let hw=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"y"}));hw.props={};let hR=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"color"}));hR.props={};let hL=(e={})=>{let{field:t,channel:n="y",reducer:r="sum"}=e;return(e,a)=>{let{data:i,encode:o}=a,[s]=lX(o,"x"),l=t?"string"==typeof t?i.map(e=>e[t]):i.map(t):lX(o,n)[0],c=function(e,t){if("function"==typeof e)return n=>e(n,t);if("sum"===e)return e=>(0,rX.Z)(e,e=>+t[e]);throw Error(`Unknown reducer: ${e}`)}(r,l),u=(0,rA.Q3)(e,c,e=>s[e]).map(e=>e[1]);return[e,(0,rv.Z)({},a,{scale:{x:{flex:u}}})]}};hL.props={};let hD=e=>(t,n)=>[t,(0,rv.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),p=u*c;for(;p>s;)l+=1,c=o/l,p=(u=Math.ceil(r/l))*c;let d=s-u*c,f=u<=1?0:d/(u-1),[g,m]=u<=1?[(o-i*c)/(i-1),(s-c)/2]:[0,0];return e.map((e,r)=>{let[a,i,o,s]=io(e),p="col"===n?r%l:Math.floor(r/u),h="col"===n?Math.floor(r/l):r%u,b=p*c,y=(u-h-1)*c+d,E=(c-t)/o,T=(c-t)/s;return`translate(${b-a+g*p+.5*t}, ${y-i-f*h-m+.5*t}) scale(${E}, ${T})`})}}(e),axis:!1})];hD.props={};var hP=n(80091);function hM(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=[],p=(s-2)/(r-2),d=0;u.push(d);for(let e=0;ea&&(a=i,o=m);u.push(o),d=o}return u.push(s-1),u.map(t=>e[t])}let hF=(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 hM;let t={first:e=>[e[0]],last:e=>[e[e.length-1]],min:(e,t,n)=>[e[(0,fQ.Z)(e,e=>n[e])]],max:(e,t,n)=>[e[(0,iA.Z)(e,e=>n[e])]],median:(e,t,n)=>[e[(0,hP.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=mM(r,e,t),[s]=lX(i,"x"),[l]=lX(i,"y");return[o.flatMap(e=>a(e,s,l,n)),t]}};hF.props={};let hB=(e={})=>(t,n)=>{let{encode:r,data:a}=n,i=Object.entries(e).map(([e,t])=>{let[n]=lX(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(rL),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,rv.Z)({},n,{encode:Object.fromEntries(l),data:o.map(e=>a[e])})]};hB.props={};var hj=n(42132),hU=n(6586);let hH=e=>{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(0,hj.Z)(r).parse(t,a?hU.Z:rC)}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())})}};hH.props={};let hG=e=>{let{value:t}=e;return()=>t};hG.props={};let hz=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))};hz.props={};let h$=e=>{let{callback:t}=e;return e=>Array.isArray(e)?[...e].sort(t):e};function hZ(e){return null!=e&&!Number.isNaN(e)}h$.props={};let hW=e=>{let{callback:t=hZ}=e;return e=>e.filter(t)};hW.props={};let hY=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))};hY.props={};let hV=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;hV.props={};let hq=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};hq.props={};let hK=e=>{let{start:t,end:n}=e;return e=>e.slice(t,n)};hK.props={};let hX=e=>{let{callback:t=rC}=e;return e=>t(e)};hX.props={};let hQ=e=>{let{callback:t=rC}=e;return e=>Array.isArray(e)?e.map(t):e};function hJ(e){return"string"==typeof e?t=>t[e]:e}hQ.props={};let h0=e=>{let{join:t,on:n,select:r=[],as:a=r,unknown:i=NaN}=e,[o,s]=n,l=hJ(s),c=hJ(o),u=(0,rA.jJ)(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),{}))})};h0.props={};var h1=n(53843),h2=n.n(h1);let h3=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((0,rA.ZP)(e,e=>n.map(t=>e[t]).join("-")).values());return r.map(e=>{let n=h2().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})})}};h3.props={};let h4=()=>e=>(console.log("G2 data section:",e),e);h4.props={};let h5=Math.PI/180;function h6(e){return e.text}function h9(){return"serif"}function h8(){return"normal"}function h7(e){return e.value}function be(){return 90*~~(2*Math.random())}function bt(){return 1}function bn(){}function br(e){let t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function ba(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 bc={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function bu(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 bp=(e,t)=>n=>{var r,a,i,o;return r=void 0,a=void 0,i=void 0,o=function*(){let r=Object.assign({},bc,e,{canvas:t.createCanvas}),a=function(){let e=[256,256],t=h6,n=h9,r=h7,a=h8,i=be,o=bt,s=br,l=Math.random,c=bn,u=[],p=null,d=1/0,f=bi,g={};return g.start=function(){let[m,h]=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=g.board?g.board:ba((e[0]>>5)*e[1]),E=u.length,T=[],S=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=h8.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}),v=-1,A=g.board?[{x:0,y:0},{x:m,y:h}]:void 0;function O(){let t=Date.now();for(;Date.now()-t>1,t.y=h*(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*h5),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,p=[];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;p[e]|=r,l|=r}l?c=n:(t.y0++,i--,n--,s++)}t.y1=t.y0+c,t.sprite=p.slice(0,(t.y1-t.y0)*a)}}(b,t,S,v),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,p,d=-u,f,g;for(;(p=c(d+=u))&&!(Math.min(Math.abs(f=~~p[0]),Math.abs(g=~~p[1]))>=o);)if(n.x=a+f,n.y=i+g,!(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,p=(n.y+n.y0)*i+(o>>5);for(let e=0;e>>s:0);p+=i}return delete n.sprite,!0}return!1}(y,t,A)&&(c.call(null,"word",{cloud:g,word:t}),T.push(t),A?g.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)}(A,t):A=[{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)}g._tags=T,g._bounds=A,v>=E&&(g.stop(),c.call(null,"end",{cloud:g,words:T,bounds:A}))}return p&&clearInterval(p),p=setInterval(O,0),O(),g},g.stop=function(){return p&&(clearInterval(p),p=null),g},g.createMask=t=>{let n=document.createElement("canvas"),[r,a]=e;if(!r||!a)return;let i=r>>5,o=ba((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}g.board=o,g.hasImage=!0},g.timeInterval=function(e){d=null==e?1/0:e},g.words=function(e){u=e},g.size=function(t=[]){e=[+t[0],+t[1]]},g.text=function(e){t=bo(e)},g.font=function(e){n=bo(e)},g.fontWeight=function(e){a=bo(e)},g.rotate=function(e){i=bo(e)},g.canvas=function(e){f=bo(e)},g.spiral=function(e){s=bs[e]||e},g.fontSize=function(e){r=bo(e)},g.padding=function(e){o=bo(e)},g.random=function(e){l=bo(e)},g.on=function(e){c=bo(e)},g}();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,[(0,sh.Z)(t),(0,rQ.Z)(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",bu,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,p=c.map(e=>{var{x:t,y:n,font:r}=e;return Object.assign(Object.assign({},bl(e,["x","y","font"])),{x:t+o/2,y:n+s/2,fontFamily:r})}),[{x:d,y:f},{x:g,y:m}]=l,h={text:"",value:0,opacity:0,fontSize:0};return p.push(Object.assign(Object.assign({},h),{x:u?0:d,y:u?0:f}),Object.assign(Object.assign({},h),{x:u?o:g,y:u?s:m})),p},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 bd(e){let{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function bf(e,t){let[n,r]=e,[a,i]=t;return n>=a[0]&&n<=i[0]&&r>=a[1]&&r<=i[1]}function bg(){let e=new Map;return[t=>e.get(t),(t,n)=>e.set(t,n)]}function bm(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}function bh(e,t,n){return .2126*bm(e)+.7152*bm(t)+.0722*bm(n)}function bb(e,t){let{r:n,g:r,b:a}=e,{r:i,g:o,b:s}=t,l=bh(n,r,a),c=bh(i,o,s);return(Math.max(l,c)+.05)/(Math.min(l,c)+.05)}bp.props={};let by=(e,t)=>{let[[n,r],[a,i]]=t,[[o,s],[l,c]]=e,u=0,p=0;return oa&&(u=a-l),si&&(p=i-c),[u,p]};var bE=n(30348),bT=n(70603),bS=n(60261),bv=n(33487),bA=n(84699),bO=n(58271),b_=n(72051),bk=n(26477),bI=n(75053),bC=n(40552),bN=n(11261),bx=n(40916),bw=n(93437),bR=n(32427),bL=n(23007),bD=n(38839),bP=n(50435),bM=n(30378),bF=n(17421),bB=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 bj(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:[(0,bT.e)()]}}):"sphere"===n?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function bU(e){return"geoPath"===e.type}let bH=()=>e=>{let t;let{children:n,coordinate:r={}}=e;if(!Array.isArray(n))return[];let{type:a="equalEarth"}=r,i=bB(r,["type"]),o=function(e){if("function"==typeof e)return e;let t=`geo${r$(e)}`,n=J[t];if(!n)throw Error(`Unknown coordinate: ${e}`);return n}(a),s=n.map(bj);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(bU),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]]=(0,bE.Z)(e.fitWidth(r,t)).bounds(t),c=Math.ceil(l-o),u=Math.min(Math.ceil(s-i),c),p=e.scale()*(u-1)/u,[d,f]=e.translate();e.scale(p).translate([d,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=(0,bE.Z)(l);let c=new as.b({domain:[e,e+r]}),u=new as.b({domain:[n,n+a]}),p=e=>{let t=l(e);if(!t)return[null,null];let[n,r]=t;return[c.map(n),u.map(r)]},d=e=>{if(!e)return null;let[t,n]=e,r=[c.invert(t),u.invert(n)];return l.invert(r)};return{transform:e=>p(e),untransform:e=>d(e)}}]]}},children:s.flatMap(e=>bU(e)?function(e){let{style:n,tooltip:r={}}=e;return Object.assign(Object.assign({},e),{type:"path",tooltip:sS(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:e=>t(e)||[]})})}(e):e)})]};bH.props={};var bG=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{type:t,data:n,scale:r,encode:a,style:i,animate:o,key:s,state:l}=e,c=bG(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}]})]};bz.props={};var b$=n(61940),bZ=n(58571),bW=n(69299),bY=n(77715),bV=n(26464),bq=n(32878),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};let bX={joint:!0},bQ={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}},bJ={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},b0={text:""},b1=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:p=e=>e.id}=n,d=bK(n,["nodeKey","linkKey"]),f=Object.assign({nodeKey:u,linkKey:p},d),g=rD(f,"node"),m=rD(f,"link"),{links:h,nodes:b}=cb(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=(0,b$.Z)(),p=(0,bZ.Z)(a).id(cm(c));"function"==typeof o&&u.strength(o),"function"==typeof s&&p.strength(s);let d=(0,bW.Z)(r).force("link",p).force("charge",u);i?d.force("center",(0,bY.Z)()):d.force("x",(0,bV.Z)()).force("y",(0,bq.Z)()),d.stop();let f=Math.ceil(Math.log(d.alphaMin())/Math.log(1-d.alphaDecay()));for(let e=0;e({name:"source",value:cm(p)(e.source)}),e=>({name:"target",value:cm(p)(e.target)})]}),S=sT(c,"node",{items:[e=>({name:"key",value:cm(u)(e)})]},!0);return[(0,rv.Z)({},bQ,{data:E,encode:m,labels:s,style:rD(a,"link"),tooltip:T,animate:sA(l,"link")}),(0,rv.Z)({},bJ,{data:y,encode:Object.assign({},g),scale:r,style:rD(a,"node"),tooltip:S,labels:[Object.assign(Object.assign({},b0),rD(a,"label")),...o],animate:sA(l,"link")})]};b1.props={};var b2=n(81594),b3=n(95608);let b4=e=>t=>n=>{let{field:r="value",nodeSize:a,separation:i,sortBy:o,as:s=["x","y"]}=t,[l,c]=s,u=(0,ly.ZP)(n,e=>e.children).sum(e=>e[r]).sort(o),p=e();p.size([1,1]),a&&p.nodeSize(a),i&&p.separation(i),p(u);let d=[];u.each(e=>{e[l]=e.x,e[c]=e.y,e.name=e.data.name,d.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:d,edges:f}},b5=e=>b4(b3.Z)(e);b5.props={};let b6=e=>b4(b2.Z)(e);b6.props={};let b9={sortBy:(e,t)=>t.value-e.value},b8={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},b7={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},ye={text:"",fontSize:10},yt=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:p,edges:d}=b6(Object.assign(Object.assign(Object.assign({},b9),i),{field:u}))(t),f=sT(c,"node",{title:"name",items:["value"]},!0),g=sT(c,"link",{title:"",items:[e=>({name:"source",value:e.source.name}),e=>({name:"target",value:e.target.name})]});return[(0,rv.Z)({},b7,{data:d,encode:rD(n,"link"),scale:rD(r,"link"),labels:s,style:Object.assign({stroke:"#999"},rD(a,"link")),tooltip:g,animate:sA(l,"link")}),(0,rv.Z)({},b8,{data:p,scale:rD(r,"node"),encode:rD(n,"node"),labels:[Object.assign(Object.assign({},ye),rD(a,"label")),...o],style:Object.assign({},rD(a,"node")),tooltip:f,animate:sA(l,"node")})]};yt.props={};var yn=n(45571),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,t)=>({size:[e,t],padding:0,sort:(e,t)=>t.value-e.value}),yi=(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"}}),yo={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>2*e.r},ys={title:e=>e.data.name,items:[{field:"value"}]},yl=(e,t,n)=>{let{value:r}=n,a=(0,rz.Z)(e)?(0,gW.Z)().path(t.path)(e):(0,ly.ZP)(e);return r?a.sum(e=>cm(r)(e)).sort(t.sort):a.count(),(0,yn.Z)().size(t.size).padding(t.padding)(a),a.descendants()},yc=(e,t)=>{let{width:n,height:r}=t,{data:a,encode:i={},scale:o={},style:s={},layout:l={},labels:c=[],tooltip:u={}}=e,p=yr(e,["data","encode","scale","style","layout","labels","tooltip"]),d=yi(n,r,i),f=yl(a,(0,rv.Z)({},ya(n,r),l),(0,rv.Z)({},d.encode,i)),g=rD(s,"label");return(0,rv.Z)({},d,Object.assign(Object.assign({data:f,encode:i,scale:o,style:s,labels:[Object.assign(Object.assign({},yo),g),...c]},p),{tooltip:sS(u,ys),axis:!1}))};function yu(e){return e.target.depth}function yp(e,t){return e.sourceLinks.length?e.depth:t-1}function yd(e){return function(){return e}}function yf(e,t){return ym(e.source,t.source)||e.index-t.index}function yg(e,t){return ym(e.target,t.target)||e.index-t.index}function ym(e,t){return e.y0-t.y0}function yh(e){return e.value}function yb(e){return e.index}function yy(e){return e.nodes}function yE(e){return e.links}function yT(e,t){let n=e.get(t);if(!n)throw Error("missing: "+t);return n}function yS({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}}yc.props={};let yv={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},yA={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?(0,sh.Z)(e.sourceLinks,yu)-1:0},justify:yp},yO=e=>t=>{let{nodeId:n,nodeSort:r,nodeAlign:a,nodeWidth:i,nodePadding:o,nodeDepth:s,nodes:l,links:c,linkSort:u,iterations:p}=Object.assign({},yv,e),d=(function(){let e,t,n,r=0,a=0,i=1,o=1,s=24,l=8,c,u=yb,p=yp,d=yy,f=yE,g=6;function m(m){let b={nodes:d(m),links:f(m)};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=yT(r,n)),"object"!=typeof a&&(a=e.target=yT(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((0,rX.Z)(t.sourceLinks,yh),(0,rX.Z)(t.targetLinks,yh)):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((0,rQ.Z)(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((0,rQ.Z)(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(p.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)/((0,rQ.Z)(u,e=>e.length)-1)),function(e){let t=(0,sh.Z)(e,e=>(o-a-(e.length-1)*c)/(0,rX.Z)(e,yh));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(ym),a.length&&h(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(ym),i.length&&h(i,r)}}(u,n,r)}}(b),yS(b),b}function h(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(yg);for(let{target:{targetLinks:t}}of e)t.sort(yf)}}return m.update=function(e){return yS(e),e},m.nodeId=function(e){return arguments.length?(u="function"==typeof e?e:yd(e),m):u},m.nodeAlign=function(e){return arguments.length?(p="function"==typeof e?e:yd(e),m):p},m.nodeDepth=function(t){return arguments.length?(e=t,m):e},m.nodeSort=function(e){return arguments.length?(t=e,m):t},m.nodeWidth=function(e){return arguments.length?(s=+e,m):s},m.nodePadding=function(e){return arguments.length?(l=c=+e,m):l},m.nodes=function(e){return arguments.length?(d="function"==typeof e?e:yd(e),m):d},m.links=function(e){return arguments.length?(f="function"==typeof e?e:yd(e),m):f},m.linkSort=function(e){return arguments.length?(n=e,m):n},m.size=function(e){return arguments.length?(r=a=0,i=+e[0],o=+e[1],m):[i-r,o-a]},m.extent=function(e){return arguments.length?(r=+e[0][0],i=+e[1][0],a=+e[0][1],o=+e[1][1],m):[[r,a],[i,o]]},m.iterations=function(e){return arguments.length?(g=+e,m):g},m})().nodeSort(r).linkSort(u).links(c).nodes(l).nodeWidth(i).nodePadding(o).nodeDepth(s).nodeAlign(function(e){let t=typeof e;return"string"===t?yA[e]||yp:"function"===t?e:yp}(a)).iterations(p).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let f=d(t),{nodes:g,links:m}=f,h=g.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=m.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:h,links:b}};yO.props={};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 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 yk={nodeId:e=>e.key,nodeWidth:.02,nodePadding:.02},yI={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},yC={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},yN={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},yx=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{links:u,nodes:p}=cb(t,n),d=rD(n,"node"),f=rD(n,"link"),{key:g=e=>e.key,color:m=g}=d,{links:h,nodes:b}=yO(Object.assign(Object.assign(Object.assign({},yk),{nodeId:cm(g)}),i))({links:u,nodes:p}),y=rD(a,"label"),{text:E=g,spacing:T=5}=y,S=y_(y,["text","spacing"]),v=cm(g),A=sT(c,"node",{title:v,items:[{field:"value"}]},!0),O=sT(c,"link",{title:"",items:[e=>({name:"source",value:v(e.source)}),e=>({name:"target",value:v(e.target)})]});return[(0,rv.Z)({},yI,{data:b,encode:Object.assign(Object.assign({},d),{color:m}),scale:r,style:rD(a,"node"),labels:[Object.assign(Object.assign(Object.assign({},yN),{text:E,dx:e=>e.x[0]<.5?T:-T}),S),...o],tooltip:A,animate:sA(l,"node"),axis:!1}),(0,rv.Z)({},yC,{data:h,encode:f,labels:s,style:Object.assign({fill:f.color?void 0:"#aaa",lineWidth:0},rD(a,"link")),tooltip:O,animate:sA(l,"link")})]};function yw(e,t){return t.value-e.value}function yR(e,t){return t.frequency-e.frequency}function yL(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function yD(e,t){return`${e.name}`.localeCompare(`${t.name}`)}yx.props={};let yP={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},yM=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({},yP),e);return function(e){let p=e.nodes.map(e=>Object.assign({},e)),d=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=(0,rA.ZP)(t,e=>e.source),r=(0,rA.ZP)(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=(0,rX.Z)(t,e=>e.sourceWeight)+(0,rX.Z)(a,e=>e.targetWeight)})}(p,d),function(e,t){let n="function"==typeof u?u:ee[u];n&&e.sort(n)}(p,0),function(e,i){let o=e.length;if(!o)throw rw("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)}(p,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=(0,rA.ZP)(n,e=>e.source),l=(0,rA.ZP)(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)||[],p=0;c.map(e=>{let t=e.sourceWeight/o*n;e.x[0]=r[0]+p,e.x[1]=r[0]+p+t,p+=t}),u.forEach(e=>{let t=e.targetWeight/o*n;e.x[3]=r[0]+p,e.x[2]=r[0]+p+t,p+=t})})}(p,d),{nodes:p,edges:d}}})(e)(t);yM.props={};var yF=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 yB={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},yj={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}},yU={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},yH={position:"outside",fontSize:10},yG=(e,t)=>{let{data:n,encode:r={},scale:a,style:i={},layout:o={},nodeLabels:s=[],linkLabels:l=[],animate:c={},tooltip:u={}}=e,{nodes:p,links:d}=cb(n,r),f=rD(r,"node"),g=rD(r,"link"),{key:m=e=>e.key,color:h=m}=f,{linkEncodeColor:b=e=>e.source}=g,{nodeWidthRatio:y=yB.thickness,nodePaddingRatio:E=yB.marginRatio}=o,T=yF(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:S,edges:v}=yM(Object.assign(Object.assign(Object.assign(Object.assign({},yB),{id:cm(m),thickness:y,marginRatio:E}),T),{weight:!0}))({nodes:p,edges:d}),A=rD(i,"label"),{text:O=m}=A,_=yF(A,["text"]),k=sT(u,"node",{title:"",items:[e=>({name:e.key,value:e.value})]},!0),I=sT(u,"link",{title:"",items:[e=>({name:`${e.source} -> ${e.target}`,value:e.value})]}),{height:C,width:N}=t,x=Math.min(C,N);return[(0,rv.Z)({},yU,{data:v,encode:Object.assign(Object.assign({},g),{color:b}),labels:l,style:Object.assign({fill:b?void 0:"#aaa"},rD(i,"link")),tooltip:I,animate:sA(c,"link")}),(0,rv.Z)({},yj,{data:S,encode:Object.assign(Object.assign({},f),{color:h}),scale:a,style:rD(i,"node"),coordinate:{type:"polar",outerRadius:(x-20)/x,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},yH),{text:O}),_),...s],tooltip:k,animate:sA(c,"node"),axis:!1})]};yG.props={};var yz=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 y$=(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}),yZ=(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}}}),yW={fontSize:10,text:e=>fr(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},yY={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"}]},yV={title:e=>fr(e.path),items:[{field:"value"}]},yq=(e,t)=>{let{width:n,height:r,options:a}=t,{data:i,encode:o={},scale:s,style:l={},layout:c={},labels:u=[],tooltip:p={}}=e,d=yz(e,["data","encode","scale","style","layout","labels","tooltip"]),f=(0,lm.Z)(a,["interaction","treemapDrillDown"]),g=(0,rv.Z)({},y$(n,r),c,{layer:f?e=>1===e.depth:c.layer}),[m,h]=gJ(i,g,o),b=rD(l,"label");return(0,rv.Z)({},yZ(n,r),Object.assign(Object.assign({data:m,scale:s,style:l,labels:[Object.assign(Object.assign({},yW),b),...u]},d),{encode:o,tooltip:sS(p,yY),axis:!1}),f?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:f?Object.assign(Object.assign({},f),{originData:h,layout:g}):void 0}),encode:Object.assign({color:e=>fr(e.path)},o),tooltip:sS(p,yV)}:{})};yq.props={};var yK=n(51758),yX=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 yQ(e,t){return(0,sh.Z)(e,e=>t[e])}function yJ(e,t){return(0,rQ.Z)(e,e=>t[e])}function y0(e,t){let n=2.5*y1(e,t)-1.5*y3(e,t);return(0,sh.Z)(e,e=>t[e]>=n?t[e]:NaN)}function y1(e,t){return(0,yK.Z)(e,.25,e=>t[e])}function y2(e,t){return(0,yK.Z)(e,.5,e=>t[e])}function y3(e,t){return(0,yK.Z)(e,.75,e=>t[e])}function y4(e,t){let n=2.5*y3(e,t)-1.5*y1(e,t);return(0,rQ.Z)(e,e=>t[e]<=n?t[e]:NaN)}function y5(){return(e,t)=>{let{encode:n}=t,{y:r,x:a}=n,{value:i}=r,{value:o}=a,s=Array.from((0,rA.ZP)(e,e=>o[+e]).values()),l=s.flatMap(e=>{let t=y0(e,i),n=y4(e,i);return e.filter(e=>i[e]n)});return[l,t]}}let y6=e=>{let{data:t,encode:n,style:r={},tooltip:a={},transform:i,animate:o}=e,s=yX(e,["data","encode","style","tooltip","transform","animate"]),{point:l=!0}=r,c=yX(r,["point"]),{y:u}=n,p={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:y1,y2:y2,y3:y3},f=sT(a,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),g=sT(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:yQ},d),{y4:yJ})],encode:Object.assign(Object.assign({},n),p),style:c,tooltip:f},s);let m=rD(c,"box"),h=rD(c,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:y0},d),{y4:y4})],encode:Object.assign(Object.assign({},n),p),style:m,tooltip:f,animate:sA(o,"box")},s),{type:"point",data:t,transform:[{type:y5}],encode:n,style:Object.assign({},h),tooltip:g,animate:sA(o,"point")}]};y6.props={};let y9=(e,t)=>Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))/2,y8=(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=y9(n[0],n[1]),p=2*y9(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",p+2*u,p+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===l?0:1,...n[3]],["A",p,p,0,0,1,...n[0]],["Z"]]},i),ap(e,["shape","last","first"])),{fill:s||i.color})});return c.appendChild(d),c}};var y7=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 Ee={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"]}}},Et={style:{shape:(e,t)=>{let{shape:n,radius:r}=e,a=y7(e,["shape","radius"]),i=rD(a,"pointer"),o=rD(a,"pin"),{shape:s}=i,l=y7(i,["shape"]),{shape:c}=o,u=y7(o,["shape"]),{coordinate:p,theme:d}=t;return(e,t)=>{let n=e.map(e=>p.invert(e)),[i,o,f]=function(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}(p,"polar"),g=p.clone(),{color:m}=t,h=r2({startAngle:i,endAngle:o,innerRadius:f,outerRadius:r});h.push(["cartesian"]),g.update({transformations:h});let b=n.map(e=>g.map(e)),[y,E]=ih(b),[T,S]=p.getCenter(),v=Object.assign(Object.assign({x1:y,y1:E,x2:T,y2:S,stroke:m},l),a),A=Object.assign(Object.assign({cx:T,cy:S,stroke:m},u),a),O=rU(new nX.ZA);return rj(s)||("function"==typeof s?O.append(()=>s(b,t,g,d)):O.append("line").call(il,v).node()),rj(c)||("function"==typeof c?O.append(()=>c(b,t,g,d)):O.append("circle").call(il,A).node()),O.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},En={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},Er=e=>{var t;let{data:n={},scale:r={},style:a={},animate:i={},transform:o=[]}=e,s=y7(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:c,target:u,total:p,scale:d}=function(e,t){let{name:n="score",target:r,total:a,percent:i,thresholds:o=[]}=function(e){if((0,aL.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=rD(a,"text"),g=(t=["pointer","pin"],Object.fromEntries(Object.entries(a).filter(([e])=>t.find(t=>e.startsWith(t))))),m=rD(a,"arc"),h=m.shape;return[(0,rv.Z)({},Ee,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:d,style:"round"===h?Object.assign(Object.assign({},m),{shape:y8}):m,animate:"object"==typeof i?rD(i,"arc"):i},s)),(0,rv.Z)({},Ee,Et,Object.assign({type:"point",data:l,scale:d,style:g,animate:"object"==typeof i?rD(i,"indicator"):i},s)),(0,rv.Z)({},En,{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:p})},f),animate:"object"==typeof i?rD(i,"text"):i})]};Er.props={};let Ea={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,p=o+i/Math.sin(s);return` + M ${c} ${u} + A ${i} ${i} 0 1 1 ${c+2*l} ${u} + Q ${e} ${p} ${e} ${t+a/2} + Q ${e} ${p} ${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 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 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 Eo=(e="circle")=>Ea[e]||Ea.circle,Es=(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=Ei(a,["background","outline","wave"]),{border:p=2,distance:d=0}=l,f=Ei(l,["border","distance"]),{length:g=192,count:m=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:h}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,T]=n.getCenter(),S=n.getSize(),v=Math.min(...S)/2,A=(0,lw.Z)(i)?i:Eo(i),O=A(E,T,v,...S);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:p,fillOpacity:d,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 p=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 Ec={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:Es},animate:{enter:{type:"fadeIn"}}},Eu={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},Ep=e=>{let{data:t={},style:n={},animate:r}=e,a=El(e,["data","style","animate"]),i=Math.max(0,(0,aL.Z)(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},rD(n,"text")),rD(n,"content")),l=rD(n,"outline"),c=rD(n,"wave"),u=rD(n,"background");return[(0,rv.Z)({},Ec,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,rv.Z)({},Eu,{style:Object.assign({text:`${r4(100*i)} %`},s),animate:r})]};Ep.props={};var Ed=n(69916);function Ef(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,p=Em(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});p>2*a.radius&&(p=2*a.radius),(null===c||c.width>p)&&(c={circle:a,width:p,p1:t,p2:n})}null!==c&&(s.push(c),a+=Eg(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 Eg(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function Em(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function Eh(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 Eg(e,r)+Eg(t,a)}function Eb(e,t){let n=Em(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 Ey(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,Ed.bisect)(function(r){return Eh(e,t,r)-n},0,e+t)}function EE(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:ET,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,p=(0,Ed.norm2)(c.map(Ed.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/p})});let d=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&g<=p||d<0&&g>=p||(a+=2*m*m,t[2*i]+=4*m*(o-c),t[2*i+1]+=4*m*(s-u),t[2*l]+=4*m*(c-o),t[2*l+1]+=4*m*(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||EE,a=t.lossFunction||ET;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),p=Math.min(u,c),d=(t-(s.max-s.min)*p)/2,f=(n-(l.max-l.min)*p)/2,g={};for(let e=0;er[e]),o=function(e){let t={};Ef(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}})})}};ES.props={};var Ev=function(){return(Ev=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new rE.Th,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[le]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nK.Z,this._context={library:Object.assign(Object.assign({},i),rb),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,rv.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 sB(this,void 0,void 0,function*(){let{library:i}=r,[o]=oP("composition",i),[s]=oP("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(rL)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rL)),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},p=e=>"mark"===u(e),d=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},g=e=>{if(d(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},m=[],h=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(d(e)){let t=b.get(e),[n,a]=t?s$(t,e,i):yield sH(e,r);h.set(n,e),m.push(n);let o=a.flatMap(g).map(e=>oB(e,i));if(y.push(...o),o.every(d)){let e=yield Promise.all(o.map(e=>sG(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));oV(t,"x"),oV(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",iQ).attr("id",e=>e.key).call(sU).each(function(e,t,n){sZ(e,rU(n),v,r),T.set(e,n)}),e=>e.call(sU).each(function(e,t,n){sZ(e,rU(n),v,r),S.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=h.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=oP("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=sX(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>sB(this,void 0,void 0,function*(){let[o,l]=yield sH(n,r);for(let e of(sZ(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=oP("interaction",o),l=t.node(),c=l.nameInteraction,u=sX(n).find(([t])=>t===e),p=c.get(e);if(!p||(null===(i=p.destroy)||void 0===i||i.call(p),!u[1]))return;let d=sz(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},g=d(f,[],a.emitter);c.set(e,{destroy:g})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(rU(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>sB(this,void 0,void 0,function*(){let a=rN(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{(0,rz.Z)(r)&&n(t,r,s)})})}}),O=(e=S,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=sX(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=sz(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(T,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,sX(t))){let[t,i]=a;if(i){let a=sz(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:I}=t,C=[];for(let t of E){let a=new Promise(a=>sB(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:I},a);yield e(t,n,r)}a()}));C.push(a)}r.views=m,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=v,r.emitter.emit(rG.AFTER_PAINT);let N=v.filter(rL).map(sq).map(e=>e.finished);return Promise.all([...N,...C])})})(Object.assign(Object.assign({},l),{width:i,height:o,depth:s}),g,t)).then(()=>{if(s){let[e,t]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(e,t,-s/2)}c.requestAnimationFrame(()=>{u.emit(rG.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 s7)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,ln(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===lt)t.children=e.value;else{let a=ln(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 s7)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 s7)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=s8(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,rI.Z)(o)&&(0,rI.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(rG.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(rG.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(rG.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 lu{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 lc{constructor(){super({},t)}};return n=lp([la(li(this._marks))],n),[t,n]})),Object.values(this._compositions)))la(li(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}=lr(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}=lr(this.options(),this._container);this._plugins.push(new rT.S),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nX.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))}},s=Ev(Ev({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":bH,"composition.geoPath":bz}),{"data.arc":yM,"data.cluster":b5,"mark.forceGraph":b1,"mark.tree":yt,"mark.pack":yc,"mark.sankey":yx,"mark.chord":yG,"mark.treemap":yq}),{"data.venn":ES,"mark.boxplot":y6,"mark.gauge":Er,"mark.wordCloud":pK,"mark.liquid":Ep}),{"data.fetch":hH,"data.inline":hG,"data.sortBy":hz,"data.sort":h$,"data.filter":hW,"data.pick":hY,"data.rename":hV,"data.fold":hq,"data.slice":hK,"data.custom":hX,"data.map":hQ,"data.join":h0,"data.kde":h3,"data.log":h4,"data.wordCloud":bp,"transform.stackY":mZ,"transform.binX":m7,"transform.bin":m8,"transform.dodgeX":ht,"transform.jitter":hr,"transform.jitterX":ha,"transform.jitterY":hi,"transform.symmetryY":hs,"transform.diffY":hl,"transform.stackEnter":hc,"transform.normalizeY":hd,"transform.select":hb,"transform.selectX":hE,"transform.selectY":hS,"transform.groupX":hO,"transform.groupY":h_,"transform.groupColor":hk,"transform.group":hA,"transform.sortX":hx,"transform.sortY":hw,"transform.sortColor":hR,"transform.flexX":hL,"transform.pack":hD,"transform.sample":hF,"transform.filter":hB,"coordinate.cartesian":lM,"coordinate.polar":r0,"coordinate.transpose":lF,"coordinate.theta":lj,"coordinate.parallel":lU,"coordinate.fisheye":lH,"coordinate.radial":r2,"coordinate.radar":lG,"encode.constant":lz,"encode.field":l$,"encode.transform":lZ,"encode.column":lW,"mark.interval":cT,"mark.rect":cv,"mark.line":c$,"mark.point":uu,"mark.text":uT,"mark.cell":uA,"mark.area":uM,"mark.link":uq,"mark.image":uJ,"mark.polygon":u5,"mark.box":pt,"mark.vector":pr,"mark.lineX":pl,"mark.lineY":pp,"mark.connector":ph,"mark.range":pT,"mark.rangeX":pA,"mark.rangeY":pk,"mark.path":pR,"mark.shape":pM,"mark.density":pU,"mark.heatmap":pY,"mark.wordCloud":pK,"palette.category10":pX,"palette.category20":pQ,"scale.linear":pJ,"scale.ordinal":p1,"scale.band":p3,"scale.identity":p5,"scale.point":p9,"scale.time":dw,"scale.log":dB,"scale.pow":dz,"scale.sqrt":dZ,"scale.threshold":dW,"scale.quantile":dY,"scale.quantize":dV,"scale.sequential":dJ,"scale.constant":d0,"theme.classic":d4,"theme.classicDark":d9,"theme.academy":d7,"theme.light":d3,"theme.dark":d6,"component.axisX":fe,"component.axisY":ft,"component.legendCategory":fi,"component.legendContinuous":aQ,"component.legends":fo,"component.title":fu,"component.sliderX":fg,"component.sliderY":fm,"component.scrollbarX":fE,"component.scrollbarY":fT,"animation.scaleInX":fS,"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,p]=r9(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],d=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":fv,"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,p]=r9(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":fA,"animation.fadeIn":fO,"animation.fadeOut":f_,"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}],p=a.animate(u,Object.assign(Object.assign({},r),e));return p},"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}],p=a.animate(u,Object.assign(Object.assign({},r),e));return p},"animation.pathIn":fk,"animation.morphing":fF,"animation.growInX":fB,"animation.growInY":fj,"interaction.elementHighlight":fH,"interaction.elementHighlightByX":fG,"interaction.elementHighlightByColor":fz,"interaction.elementSelect":fZ,"interaction.elementSelectByX":fW,"interaction.elementSelectByColor":fY,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=op(s),c=fV(e=>{let t=of(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=(0,rv.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":fX,"interaction.tooltip":gs,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>gm(e).scales.map(e=>e.name),s=[...gf(r),...gg(r)],l=s.flatMap(o),c=i?fV(gb,50,{trailing:!0}):fV(gh,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=gm(t).scales[0],p=o(t),d={legend:t,channel:s,channels:p,allChannels:l};return t.className===gc?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,p=new Map,{unselected:d={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:rD(d,"marker")},g={unselected:rD(d,"label")},{setState:m,removeState:h}=oy(f,void 0),{setState:b,removeState:y}=oy(g,void 0),E=Array.from(t(e)),T=E.map(a),S=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);T.includes(t)?(h(i,"unselected"),y(o,"unselected")):(m(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{o_(e,"pointer")},r=()=>{o_(e,e.cursor)},l=e=>gl(this,void 0,void 0,function*(){let n=a(t),r=T.indexOf(n);-1===r?T.push(n):T.splice(r,1),yield i(T),S();let{nativeEvent:l=!0}=e;l&&(T.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:T}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),p.set(t,r)}let v=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&&(T=a,yield i(T),S())}),A=e=>gl(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(T=E.map(a),yield i(T),S())});return o.on("legend:filter",v),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",p.get(e)),o.off("legend:filter",v),o.off("legend:reset",A)}}(r,{legends:gd,marker:gu,label:gp,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},d),{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({},d),{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=gf(r),s=ol(r),l=e=>gm(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=oT(i,["active","inactive"]),p=oS(s,ob(a)),d=[];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=gd(e),i=c(r),o=(0,rA.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:g={}}=f,{setState:m,removeState:h}=oy(u,p),b={inactive:rD(g,"marker")},y={inactive:rD(g,"label")},{setState:E,removeState:T}=oy(b),{setState:S,removeState:v}=oy(y),A=e=>{for(let t of a){let n=gu(t),r=gp(t);t===e||null===e?(T(n,"inactive"),v(r,"inactive")):(E(n,"inactive"),S(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?m(e,"active"):m(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)h(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},I=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&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",I),n.on("legend:unhighlight",C);let N=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",I),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};d.push(N)}return()=>d.forEach(e=>e())}},"interaction.brushHighlight":gO,"interaction.brushXHighlight":function(e){return gO(Object.assign(Object.assign({},e),{brushRegion:g_,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return gO(Object.assign(Object.assign({},e),{brushRegion:gk,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=op(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:p,coordinate:d}=t,f=gI(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let g=r(e),m=n(e),h=oS(g,o),{setState:b,removeState:y}=oy(u,h),E=new Map,T=rD(f,"mask"),S=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),v=m.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of g){let t=a(e);S(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&p.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!N)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=v[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},I=e=>{for(let e of g)y(e,"active","inactive");_(),e&&p.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=v[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(i6(n,a))},N=m.some(i)&&m.some(e=>!i(e)),x=[];for(let e=0;e{let{nativeEvent:t}=e;t||x.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}=d.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{x.forEach(e=>e.destroy()),p.off("brushAxis:remove",w),p.off("brushAxis:highlight",D)}}(a,Object.assign({elements:ol,axes:gN,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:ob(i),state:oT(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":gP,"interaction.brushXFilter":function(e){return gP(Object.assign(Object.assign({hideX:!0},e),{brushRegion:g_}))},"interaction.brushYFilter":function(e){return gP(Object.assign(Object.assign({hideY:!0},e),{brushRegion:gk}))},"interaction.sliderFilter":gB,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(gj);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 p=gB(Object.assign(Object.assign({},e),{initDomain:u,className:gj,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 p(t,n,r)}},"interaction.poptip":gz,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=g0(e,["originData","layout"]),a=(0,rv.Z)({},g1,r),i=rD(a,"breadCrumb"),o=rD(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=rU(s).select(`.${iJ}`).node(),u=l.marks[0],{state:p}=u,d=new nX.ZA;c.appendChild(d);let f=(e,l)=>{var u,p,g,m;return u=this,p=void 0,g=void 0,m=function*(){if(d.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 nX.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new nX.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>s&&(n=d.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===aH(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===aH(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,lm.Z)(e,["style","path"]),(0,lm.Z)(e,["style","depth"]))})})}(function(e,t){let n=[...gf(e),...gg(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,lm.Z)(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?(0,lm.Z)(e,["value"]):void 0,name:(0,lm.Z)(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.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=gJ(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(fr(e))}),(0,rv.Z)({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(g||(g=Promise))(function(e,t){function n(e){try{a(m.next(e))}catch(e){t(e)}}function r(e){try{a(m.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof g?a:new g(function(e){e(a)})).then(n,r)}a((m=m.apply(u,p||[])).next())})},g=e=>{let n=e.target;if("rect"!==(0,lm.Z)(n,["markType"]))return;let r=(0,lm.Z)(n,["__data__","key"]),a=gZ(t,e=>e.id===r);(0,lm.Z)(a,"height")&&f((0,lm.Z)(a,"path"),(0,lm.Z)(a,"depth"))};c.addEventListener("click",g);let m=lR(Object.assign(Object.assign({},p.active),p.inactive)),h=()=>{let e=oN(c);e.forEach(e=>{let n=(0,lm.Z)(e,["style","cursor"]),r=gZ(t,t=>t.id===(0,lm.Z)(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=lg(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(p.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,rv.Z)(t,p.inactive))})}})};return h(),c.addEventListener("mousemove",h),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",h)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=g4(e,["selection","precision"]),a=Object.assign(Object.assign({},g5),r||{}),i=rD(a,"path"),o=rD(a,"label"),s=rD(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:p,view:d,options:{marks:f,coordinate:g}}=e,m=op(p),h=oN(m),b=t,{transform:y=[],type:E}=g,T=!!gZ(y,({type:e})=>"transpose"===e),S="polar"===E,v="theta"===E,A=!!gZ(h,({markType:e})=>"area"===e);A&&(h=h.filter(({markType:e})=>"area"===e));let O=new nX.ZA({style:{zIndex:2}});m.appendChild(O);let _=()=>{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}})},I=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),N(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=(0,lm.Z)(h,[null==b?void 0:b[0]]);r&&N(r)},N=e=>{let t;let{attributes:r,markType:a,__data__:g}=e,{stroke:m}=r,{points:h,seriesTitle:y,color:E,title:I,seriesX:C,y1:x}=g;if(T&&"interval"!==a)return;let{scale:w,coordinate:R}=(null==l?void 0:l.view)||d,{color:L,y:D,x:P}=w,M=R.getCenter();O.removeChildren();let F=(e,t,n,r)=>g3(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=g7(l,i,o);return k(l,c),(0,rv.Z)({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))h.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nX.Cd({name:g6,style:Object.assign({cx:r[0],cy:r[1],fill:m},s)}),d=mt(e,a);u.addEventListener("mousedown",f=>{let g=R.output([C[a],0]),m=null==y?void 0:y.length;p.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),mn(O.childNodes,b,s);let[T,v]=mr(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(S){let o=r[0]+e.clientX-t[0],[s,l]=mi(M,g,[o,i]),[,c]=R.output([1,D.output(0)]),[,p]=R.invert([s,c-(h[a+m][1]-l)]),f=(a+1)%m,b=(a-1+m)%m,E=oC([h[b],[s,l],y[f]&&h[f]]);v.attr("text",d(D.invert(p)).toFixed(n)),T.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-(h[a+m][1]-i)]),o=oC([h[a-1],[r[0],i],y[a+1]&&h[a+1]]);v.attr("text",d(D.invert(t)).toFixed(n)),T.attr("d",o),u.attr("cy",i)}}else{let[,e]=R.invert([r[0],i]),t=oC([h[a-1],[r[0],i],h[a+1]]);v.attr("text",D.invert(e).toFixed(n)),T.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let I=()=>g3(this,void 0,void 0,function*(){if(p.attr("cursor","default"),window.removeEventListener("mousemove",k),p.removeEventListener("mouseup",I),(0,g2.Z)(v.attr("text")))return;let t=Number(v.attr("text")),n=ma(L,E);l=yield F(c,t,n,["line","area"]),v.remove(),T.remove(),N(e)});p.addEventListener("mouseup",I)}),O.appendChild(u)}),mn(O.childNodes,b,s);else if("interval"===a){let r=[(h[0][0]+h[1][0])/2,h[0][1]];T?r=[h[0][0],(h[0][1]+h[1][1])/2]:v&&(r=h[0]);let c=me(e),u=new nX.Cd({name:g6,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:m},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{p.attr("cursor","move");let d=ma(L,E),[f,g]=mr(O,u,i,o),m=e=>{if(T){let a=r[0]+e.clientX-t[0],[i]=R.output([D.output(0),D.output(0)]),[,o]=R.invert([i+(a-h[2][0]),r[1]]),s=oC([[a,h[0][1]],[a,h[1][1]],h[2],h[3]],!0);g.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(v){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=mi(M,[i,a],r),[l,p]=mi(M,[i,a],h[1]),d=R.invert([o,s])[1],m=x-d;if(m<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=oI(e,t[1]),i=oI(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,p],h[2],h[3]],m>.5?1:0);g.attr("text",c(m,!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-(h[2][1]-a)]),s=oC([[h[0][0],a],[h[1][0],a],h[2],h[3]],!0);g.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",m);let b=()=>g3(this,void 0,void 0,function*(){if(p.attr("cursor","default"),p.removeEventListener("mouseup",b),window.removeEventListener("mousemove",m),(0,g2.Z)(g.attr("text")))return;let t=Number(g.attr("text"));l=yield F(I,t,d,[a]),g.remove(),f.remove(),N(e)});p.addEventListener("mouseup",b)}),O.appendChild(u)}};h.forEach((e,t)=>{b[0]===t&&N(e),e.addEventListener("click",I),e.addEventListener("mouseenter",g9),e.addEventListener("mouseleave",g8)});let x=e=>{let t=null==e?void 0:e.target;t&&(t.name===g6||h.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",x),p.addEventListener("mousedown",x),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",x),p.removeEventListener("mousedown",x),h.forEach(e=>{e.removeEventListener("click",I),e.removeEventListener("mouseenter",g9),e.removeEventListener("mouseleave",g8)})}}},"composition.spaceLayer":ms,"composition.spaceFlex":mc,"composition.facetRect":mO,"composition.repeatMatrix":()=>e=>{let t=mu.of(e).call(mh).call(mf).call(mI).call(mC).call(mg).call(mm).call(mk).value();return[t]},"composition.facetCircle":()=>e=>{let t=mu.of(e).call(mh).call(mR).call(mf).call(mw).call(mb).call(my,mD,mL,mL,{frame:!1}).call(mg).call(mm).call(mx).value();return[t]},"composition.timingKeyframe":mP,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{oo(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]})(bd(t),bd(e.getLocalBounds())));r?oi(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]=bg(),[s,l]=bg(),[c,u]=bg(),[p,d]=bg();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),d(t,[r,i])}for(let i=0;i(0,sb.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(p(i),p(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{oo(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t){let[n,r]=e;return!(bf(n,t)&&bf(r,t))}(bd(n),t);r&&oi(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=bb(a,r);ibb(e,"object"==typeof t?t:(0,nX.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t})=>{let{width:n,height:r}=t.getConfig();return e.forEach(e=>{oo(e);let{max:t,min:a}=e.getRenderBounds(),[i,o]=t,[s,l]=a,c=by([[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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,rv.Z)({},lP,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,lL.Ys)(i).select(".".concat(lL.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===l_}),{state:p}=u,d=l.createElement("g");c.appendChild(d);let f=(e,i)=>{var s,u,p,g;return s=this,u=void 0,p=void 0,g=function*(){if(d.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});d.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=d.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})});d.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(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 d.appendChild(c),(o+=c.getBBox().width)>s&&(i=d.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,lm.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==l_&&"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[lC]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,rv.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(p||(p=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 p?a:new p(function(e){e(a)})).then(n,r)}a((g=g.apply(s,u||[])).next())})},g=e=>{let t=e.target;if((0,lm.Z)(t,["style",lk])!==l_||"rect"!==(0,lm.Z)(t,["markType"])||!(0,lm.Z)(t,["style",lv]))return;let n=(0,lm.Z)(t,["__data__","key"]),r=(0,lm.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",g);let m=lR(Object.assign(Object.assign({},p.active),p.inactive)),h=()=>{let e=lD(c);e.forEach(e=>{let t=(0,lm.Z)(e,["style",lv]),n=(0,lm.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=lg(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(p.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,rv.Z)(t,p.inactive))})}})};return c.addEventListener("mousemove",h),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",h)}}},"mark.sunburst":lx}),class extends o{constructor(e){super(Object.assign(Object.assign({},e),{lib:s}))}}),EO=function(){return(EO=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},Ek=["renderer"],EI=["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"],EC="__transform__",EN=function(e,t){return(0,eP.isBoolean)(t)?{type:e,available:t}:EO({type:e},t)},Ex={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 EN("stackY",e)}},normalize:{target:"transform",value:function(e){return EN("normalizeY",e)}},percent:{target:"transform",value:function(e){return EN("normalizeY",e)}},group:{target:"transform",value:function(e){return EN("dodgeX",e)}},sort:{target:"transform",value:function(e){return EN("sortX",e)}},symmetry:{target:"transform",value:function(e){return EN("symmetryY",e)}},diff:{target:"transform",value:function(e){return EN("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,eP.isBoolean)(e)?{connect:e}:e}}},Ew=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],ER=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Ew},{key:"point",type:"point",extend_keys:Ew},{key:"area",type:"area",extend_keys:Ew}],EL=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=E_(n,["available"]);if(void 0===a||a)e[t].push(EO(((r={})[EC]=!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,eP.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(EO(((r={})[EC]=!0,r),n))}}],ED=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],EP=(l=function(e,t){return(l=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}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EM=function(){return(EM=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},EB=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=EF(t,["style"]);return e.call(this,EM({style:EM({fill:"#eee"},n)},r))||this}return EP(t,e),t}(nX.mg),Ej=(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)}),EU=function(){return(EU=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},EG=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=EH(t,["style"]);return e.call(this,EU({style:EU({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return Ej(t,e),t}(nX.xv),Ez=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,d=t.key,f=(0,eP.get)(s,l),m=g/2;if(e){var b=r+o/2,E=a;p.push({points:[[b+m,E-u+y],[b+m,E-h-y],[b,E-y],[b-m,E-h-y],[b-m,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:d})}else{var b=r,E=a+i/2;p.push({points:[[r-u+y,E-m],[r-h-y,E-m],[b-y,E],[r-h-y,E+m],[r-u+y,E+m]],center:[b-u/2-y,E],width:u,value:[c,f],key:d})}c=f}}),p},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,eP.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],p=a[0],d=a[1],f=new EB({style:Eq({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),g=new EG({style:Eq({x:p,y:d,text:(0,eP.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(g)})},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}(EY),EX=(d=function(e,t){return(d=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}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EQ=function(){return(EQ=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},E0={ConversionTag:EK,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return EX(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,eP.uniqBy)(t,"x"):(0,eP.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,eP.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,p=t.key,d=(0,eP.get)(u,r);e?a.push({x:n+c/2,y:l,text:d,key:p}):a.push({x:s,y:i+o/2,text:d,key:p})}),(0,eP.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,eP.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return EQ(EQ({},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=EJ(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new EG({style:EQ({x:n,y:o,text:(0,eP.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}(EY)},E1=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;ED.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new E0[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&&ED.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),E2=(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)}),E3=function(){return(E3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,eP.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,eP.get)(n,"y.domain",[]);if(r&&s.length&&(0,eP.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return Tl(Tl({originData:Tl({},e)},(0,eP.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(Tl({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},Ta,Tt)(e)}var Tu=(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)});ry("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,p=void 0===u?8:u,d=n[0],f=n[1],g=n[2],m=n[3],h=(f[1]-d[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[d,[d[0]-p,d[1]+h],[g[0]-p,d[1]+h],m],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),T=b.createElement("polygon",{style:{points:[[d[0]-p,d[1]+h],f,g,[g[0]-p,d[1]+h]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),S=b.createElement("polygon",{style:{points:[d,[d[0]-p,d[1]+h],f,[d[0]+p,d[1]+h]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(T),y.appendChild(S),y}});var Tp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return Tu(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 Tc},t}(E5),Td=(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)});ry("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,p=void 0===u?8:u,d=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,g=f.createElement("g",{}),m=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[d,n[1][1]+p],[d,n[3][1]+p],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),h=f.createElement("polygon",{style:{points:[[d,n[1][1]+p],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[d,n[2][1]+p]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[d,n[1][1]-p],[n[1][0],n[1][1]],[d,n[1][1]+p]],fill:a,fillOpacity:s-.2}});return g.appendChild(h),g.appendChild(m),g.appendChild(b),g}});var Tf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Td(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 Tc},t}(E5);function Tg(e){return(0,eP.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,eP.get)(e,"colorField")){var t=(0,eP.get)(e,"yField");(0,eP.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,eP.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,eP.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,eP.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,eP.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,eP.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,eP.get)(e,"scale.y.independent")&&(o=!0,(0,eP.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,eP.set)(e,"scale.y.key",n)}))}}),e},Ta,Tt)(e)}var Tm=(y=function(e,t){return(y=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}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Th=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return Tm(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 Tg},t}(E5);function Tb(e){return(0,eP.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,eP.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,eP.set)(t,"transform",[]):(0,eP.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,eP.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,eP.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,eP.set)(t,"type","spaceFlex"),(0,eP.set)(t,"ratio",[1,1]),(0,eP.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,eP.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},Ta,Tt)(e)}var Ty=(E=function(e,t){return(E=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}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),TE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Ty(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 Tb},t}(E5);function TT(e){return(0,eP.flow)(Ta,Tt)(e)}var TS=(T=function(e,t){return(T=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}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Tv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return TS(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 TT},t}(E5);function TA(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,eP.get)(t,[e])};default:return function(){return e}}}var TO=function(){return(TO=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[T6]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:T8({stroke:"#697474"},i),label:!1,tooltip:!1}),e},Ta,Tt)(e)}var St=(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)}),Sn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return St(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:T9,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 Se},t}(E5);function Sr(e){return(0,eP.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,eP.get)(i,"[0].transform[0]",{});return(0,eP.isNumber)(a)?((0,eP.assign)(l,{thresholds:(0,eP.ceil)((0,eP.divide)(n.length,a)),y:s}),e):((0,eP.isNumber)(r)&&(0,eP.assign)(l,{thresholds:r,y:s}),e)},Ta,Tt)(e)}var Sa=(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)}),Si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return Sa(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 Sr},t}(E5);function So(e){return(0,eP.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},Ta,Tt)(e)}var Ss=(L=function(e,t){return(L=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}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return Ss(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 So},t}(E5);function Sc(e){return(0,eP.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},Ta,Tt)(e)}var Su=(D=function(e,t){return(D=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}D(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return Su(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 Sc},t}(E5);function Sd(e){return(0,eP.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,eP.isArray)(n))n.length>0?(0,eP.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,eP.get)(n,"type")&&(0,eP.get)(n,"value")){var a=(0,eP.get)(n,"transform");(0,eP.isArray)(a)?(0,eP.set)(n,"transform",a.concat(r)):(0,eP.set)(n,"transform",r)}return e},Ta,Tt)(e)}var Sf=(P=function(e,t){return(P=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}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return Sf(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Sd},t}(E5);function Sm(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 Sh=function(){return(Sh=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},S5=(0,es.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,p=e.chartType,d=S4(e,["chartType"]),f=d.containerStyle,g=d.containerAttributes,m=void 0===g?{}:g,h=d.className,b=d.loading,y=d.loadingTemplate,E=d.errorTemplate,T=S4(d,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),S=(n=S2[void 0===p?"Base":p],r=(0,es.useRef)(),a=(0,es.useRef)(),i=(0,es.useRef)(null),o=T.onReady,s=T.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,eP.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 B(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&&V(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),V(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),V(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(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}}},ee={tokenize:function(e,t,n){return(0,K.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var et=n(23402);class en{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=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&&er(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),er(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),er(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(e=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},eo={tokenize:function(e){let t=this,n=e.attempt(et.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,K.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:ep()},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,X.Ch)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},em={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,X.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(eg,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,X.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(et.w,r.interrupt?n:l,e.attempt(eh,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,X.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(et.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,K.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,X.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,K.f)(e,e.attempt(em,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},eh={tokenize:function(e,t,n){let r=this;return(0,K.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,X.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,K.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,X.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,X.xz)(t)?(0,K.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),p):null===t||32===t||41===t||(0,X.Av)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(t))};function p(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"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),p(t)):null===t||60===t||(0,X.Ch)(t)?n(t):(e.consume(t),92===t?f:d)}function f(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function g(a){return!u&&(null===a||41===a||(0,X.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u999||null===p||91===p||93===p&&!o||94===p&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):93===p?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):(0,X.Ch)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||(0,X.Ch)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,X.xz)(t)),92===t?p:u)}function p(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,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,K.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,X.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 ev(e,t){let n;return function r(a){return(0,X.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,X.xz)(a)?(0,K.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var eA=n(11098);let eO={tokenize:function(e,t,n){return function(t){return(0,X.z3)(t)?ev(e,r)(t):n(t)};function r(t){return eS(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,X.xz)(t)?(0,K.f)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,X.Ch)(e)?t(e):n(e)}},partial:!0},e_={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,K.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,X.Ch)(n)?e.attempt(ek,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,X.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,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,K.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,X.Ch)(e)?a(e):n(e)}},partial:!0},eI={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,X.xz)(n)?(0,K.f)(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||(0,X.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}},eC=["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"],eN=["pre","script","style","textarea"],ex={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(et.w,t,n)}},partial:!0},ew={tokenize:function(e,t,n){let r=this;return function(t){return(0,X.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,X.xz)(t)?(0,K.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,X.xz)(a)?(0,K.f)(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||(0,X.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,X.xz)(a)?(0,K.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(i){return null===i||(0,X.Ch)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(eR,u,g)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,X.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,X.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,K.f)(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,X.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,X.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,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return o>0&&(0,X.xz)(t)?(0,K.f)(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||(0,X.Ch)(t)?e.check(eR,u,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,X.Ch)(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eD=n(44301);let eP={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=X.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=X.AF,c):(e.enter("characterReferenceValue"),r=7,a=X.pY,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==X.H$||(0,eD.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 p=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);eZ(p,-s),eZ(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},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,W.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,W.V)(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=(0,W.V)(l,(0,ef.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,W.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,W.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,W.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,W.d)(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eg,45:[eI,eg],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,X.jv)(o)?(e.consume(o),i=String.fromCharCode(o),g):n(o)}function u(a){return 45===a?(e.consume(a),r=2,p):91===a?(e.consume(a),r=5,o=0,d):(0,X.jv)(a)?(e.consume(a),r=4,l.interrupt?t:R):n(a)}function p(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function d(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:O:d:n(r)}function f(t){return(0,X.jv)(t)?(e.consume(t),i=String.fromCharCode(t),g):n(t)}function g(o){if(null===o||47===o||62===o||(0,X.z3)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&eN.includes(c)?(r=1,l.interrupt?t(o):O(o)):eC.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),m):l.interrupt?t(o):O(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return(0,X.xz)(n)?(e.consume(n),t):v(n)}(o):h(o))}return 45===o||(0,X.H$)(o)?(e.consume(o),i+=String.fromCharCode(o),g):n(o)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:O):n(r)}function h(t){return 47===t?(e.consume(t),v):58===t||95===t||(0,X.jv)(t)?(e.consume(t),b):(0,X.xz)(t)?(e.consume(t),h):v(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,X.xz)(t)?(e.consume(t),y):h(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,T):(0,X.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,X.z3)(n)?y(n):(e.consume(n),t)}(t)}function T(t){return t===s?(e.consume(t),s=null,S):null===t||(0,X.Ch)(t)?n(t):(e.consume(t),T)}function S(e){return 47===e||62===e||(0,X.xz)(e)?h(e):n(e)}function v(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,X.Ch)(t)?O(t):(0,X.xz)(t)?(e.consume(t),A):n(t)}function O(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),N):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,X.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ex,D,_)(t)):null===t||(0,X.Ch)(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),O)}function _(t){return e.check(ew,k,D)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,X.Ch)(t)?_(t):(e.enter("htmlFlowData"),O(t))}function C(t){return 45===t?(e.consume(t),R):O(t)}function N(t){return 47===t?(e.consume(t),i="",x):O(t)}function x(t){if(62===t){let n=i.toLowerCase();return eN.includes(n)?(e.consume(t),L):O(t)}return(0,X.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),x):O(t)}function w(t){return 93===t?(e.consume(t),R):O(t)}function R(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),R):O(t)}function L(t){return null===t||(0,X.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:eI,95:eg,96:eL,126:eL},eX={38:eP,92:eM},eQ={[-5]:eF,[-4]:eF,[-3]:eF,33:eG,38:eP,42:e$,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,X.jv)(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(t){return 43===t||45===t||46===t||(0,X.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,X.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,X.Av)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,X.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,X.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,X.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),T):63===t?(e.consume(t),y):(0,X.jv)(t)?(e.consume(t),v):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,f):(0,X.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),p):(0,X.Ch)(t)?(i=u,x(t)):(e.consume(t),u)}function p(t){return 45===t?(e.consume(t),d):u(t)}function d(e){return 62===e?N(e):45===e?p(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?g:f):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),m):(0,X.Ch)(t)?(i=g,x(t)):(e.consume(t),g)}function m(t){return 93===t?(e.consume(t),h):g(t)}function h(t){return 62===t?N(t):93===t?(e.consume(t),h):g(t)}function b(t){return null===t||62===t?N(t):(0,X.Ch)(t)?(i=b,x(t)):(e.consume(t),b)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,X.Ch)(t)?(i=y,x(t)):(e.consume(t),y)}function E(e){return 62===e?N(e):y(e)}function T(t){return(0,X.jv)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,X.H$)(t)?(e.consume(t),S):function t(n){return(0,X.Ch)(n)?(i=t,x(n)):(0,X.xz)(n)?(e.consume(n),t):N(n)}(t)}function v(t){return 45===t||(0,X.H$)(t)?(e.consume(t),v):47===t||62===t||(0,X.z3)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,X.jv)(t)?(e.consume(t),O):(0,X.Ch)(t)?(i=A,x(t)):(0,X.xz)(t)?(e.consume(t),A):N(t)}function O(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),O):function t(n){return 61===n?(e.consume(n),_):(0,X.Ch)(n)?(i=t,x(n)):(0,X.xz)(n)?(e.consume(n),t):A(n)}(t)}function _(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,X.Ch)(t)?(i=_,x(t)):(0,X.xz)(t)?(e.consume(t),_):(e.consume(t),I)}function k(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):(0,X.Ch)(t)?(i=k,x(t)):(e.consume(t),k)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,X.z3)(t)?A(t):(e.consume(t),I)}function C(e){return 47===e||62===e||(0,X.z3)(e)?A(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function x(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),w}function w(t){return(0,X.xz)(t)?(0,K.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:eW,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,X.Ch)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eM],93:eB,95:e$,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,X.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,X.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)}(n.slice(t?2:1),t?16:10)}return(0,eD.T)(n)||e}function e5(e){return e&&"object"==typeof e?"position"in e||"type"in e?e9(e.position):"start"in e||"end"in e?e9(e):"line"in e||"column"in e?e6(e):"":""}function e6(e){return e8(e&&e.line)+":"+e8(e&&e.column)}function e9(e){return e6(e&&e.start)+"-"+e6(e&&e.end)}function e8(e){return e&&"number"==typeof e?e:1}let e7={}.hasOwnProperty;function te(e){return{line:e.line,column:e.column,offset:e.offset}}function tt(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+e5({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+e5({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+e5({start:t.start,end:t.end})+") is still open")}function tn(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(g),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(m),hardBreakTrailing:r(m),htmlFlow:r(h,a),htmlFlowData:c,htmlText:r(h,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(g),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:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=function(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&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)}(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0;else{let e=(0,eD.T)(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=te(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,eA.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(p),hardBreakTrailing:o(p),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(e3,e4),n.identifier=(0,eA.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=te(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,eA.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]||tt;t.call(o,void 0,e[0])}for(r.position={start:te(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:te(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 d(){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 g(e,t){return function(n,a,i){let o,u,p,f;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:m(e[u])}function m(e){return function(n){return(f=function(){let e=d(),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}}(),p=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(p,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 ti(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 to(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var ts=n(21623);function tl(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 tc(e){let t=e.spread;return null==t?e.children.length>1:t}var tu=n(81436);let tp={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=ta(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 tl(e,t);let a={src:ta(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:ta(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 tl(e,t);let a={href:ta(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:ta(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,A.Pk)(t.children[1]),o=(0,A.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&&n.push({type:"text",value:"\n"}),n}function tE(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tT(e,t){let n=function(e,t){let n=t||tg,r=new Map,a=new Map,i=new Map,o={...tp,...n.handlers},s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),p.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(...p)}else i.push(...p);let g={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,g),s.push(g)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...(0,tr.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 tS(e,t){return e&&"run"in e?async function(n,r){let a=tT(n,{file:r,...t});await e.run(a,r)}:function(n,r){return tT(n,{file:r,...t||e})}}var tv=n(84873),tA=n(94470),tO=n(41675),t_=n(94029);let tk={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tI(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(tI(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;tI(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 tI(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tC={cwd:function(){return"/"}};function tN(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 tw{constructor(e){let t,n;t=e?tN(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":tC.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r0){let[r,...i]=t,o=n[a][1];(0,tO.Z)(o)&&(0,tO.Z)(r)&&(r=tA(!0,o,r)),n[a]=[e,r,...i]}}}}let tB=new tF().freeze();function tj(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tU(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tH(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 tG(e){if(!(0,tO.Z)(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tz(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function t$(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new tw(e)}let tZ=[],tW={allowDangerousHtml:!0},tY=/^(https?|ircs?|mailto|xmpp)$/i,tV=[{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 tq(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,i=e.components,o=e.disallowedElements,s=e.rehypePlugins||tZ,l=e.remarkPlugins||tZ,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...tW}:tW,p=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||tK,g=tB().use(tn).use(l).use(tS,u).use(s),m=new tw;for(let n of("string"==typeof r?m.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"),tV))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 h=g.parse(m),y=g.runSync(h,m);return a&&(y={type:"element",tagName:"div",properties:{className:a},children:"root"===y.type?y.children:[y]}),(0,ts.Vn)(y,function(e,r,a){if("raw"===e.type&&a&&"number"==typeof r)return p?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 d&&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,A.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=P(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(y,{Fragment:$.Fragment,components:i,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0})}function tK(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||tY.test(e.slice(0,t))?e:""}var tX=n(14660),tQ=n(25160),tJ=["children","components","rehypePlugins"],t0=function(e){var t=e.children,n=e.components,r=e.rehypePlugins,c=(0,s.Z)(e,tJ),u=(0,tQ.r)();return l.createElement(tq,(0,a.Z)({components:(0,o.Z)({code:u},n),rehypePlugins:[tX.Z].concat((0,i.Z)(r||[]))},c),t)}},84502:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r,a,i=n(45987),o=n(74902),s=n(4942),l=n(67294),c=n(87462);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 p(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 d[n]||(d[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),d[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return p(p({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else h=p(p({},s),{},{className:s.className.join(" ")});var S=b(n.children);return l.createElement(f,(0,c.Z)({key:o},h),S)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function v(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),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,p=void 0===u?{}:u,d=e.codeTagProps,g=void 0===d?{className:t?"language-".concat(t):void 0,style:m(m({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:d,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,I=e.showInlineLineNumbers,C=void 0===I||I,N=e.startingLineNumber,x=void 0===N?1:N,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,z=void 0===G?"code":G,$=e.code,Z=void 0===$?(Array.isArray(n)?n[0]:n)||"":$,W=e.astGenerator,Y=(0,i.Z)(e,f);W=W||r;var V=k?l.createElement(b,{containerStyle:w,codeStyle:g.style||{},numberStyle:L,startingLineNumber:x,codeString:Z}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=v(W)?"hljs":"prismjs",X=O?Object.assign({},Y,{style:Object.assign({},q,p)}):Object.assign({},Y,{className:Y.className?"".concat(K," ").concat(Y.className):K,style:Object.assign({},p)});if(M?g.style=m(m({},g.style),{},{whiteSpace:"pre-wrap"}):g.style=m(m({},g.style),{},{whiteSpace:"pre"}),!W)return l.createElement(H,X,V,l.createElement(z,g,Z));(void 0===D&&j||M)&&(D=!0),j=j||S;var Q=[{type:"text",value:Z}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(v(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:Z,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+x,et=function(e,t,n,r,a,i,s,l,c){var u,p=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 T({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(;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"}}},12187: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%)"}}},89144: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%)"}}},89435: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}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),d)n=t[i],o[i]=null==n?d[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,d,E,T,S,v,A,O,_,k,I,C,N,x,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,z=t.warningContext,$=t.position,Z=t.indent||[],W=e.length,Y=0,V=-1,q=$.column||1,K=$.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),R=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call(z,y[e],n,e)}:p,Y--,W++;++Y=55296&&n<=57343||n>1114111?(O(7,D),v=u(65533)):v in a?(O(6,D),v=a[v]):(k="",((i=v)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),v>65535&&(v-=65536,k+=u(v>>>10|55296),v=56320|1023&v),v=k+u(v))):x!==f&&O(4,D)),v?(ee(),R=J(),Y=P-1,q+=P-N+1,Q.push(v),L=J(),L.offset++,j&&j.call(G,v,{start:R,end:L},e.slice(N-1,P)),R=L):(X+=T=e.slice(N-1,P),q+=T.length,Y=P-1)}else 10===S&&(K++,V++,q=0),S==S?(X+=u(S),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:Y+($.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,p=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",g="hexadecimal",m="decimal",h={};h[g]=16,h[m]=10;var b={};b[f]=s,b[m]=i,b[g]=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"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),p=n(12049),d=n(29726),f=n(36155);o();var g={}.hasOwnProperty;function m(){}m.prototype=c;var h=new m;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(g.call(h.languages,t))n=h.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,a,i,o=h.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\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=[]},68313: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=[]},21207: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=[]},89693: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=[]},24001: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=[]},18018: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=[]},36363: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"]},35281: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=[]},10433:function(e,t,n){"use strict";var r=n(11114);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=[]},84039: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=[]},71336: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=[]},4481: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=[]},2159:function(e,t,n){"use strict";var r=n(80096);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"]},60274: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=[]},18738: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=[]},78734:function(e,t,n){"use strict";var r=n(61958);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=[]},6681: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=[]},53358: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=[]},81700: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"]},37219: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=[]},6979: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=[]},94781: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=[]},62260: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"]},36153: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=[]},59258: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=[]},62890:function(e,t,n){"use strict";var r=n(65806);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=[]},15958: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"]},61321: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=[]},77856: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=[]},90741: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=[]},83410: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=[]},65806: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=[]},33039: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=[]},85082:function(e,t,n){"use strict";var r=n(80096);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=[]},79415: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=[]},29726: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=[]},62849: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=[]},55773: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=[]},32762: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=[]},43576: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"]},71794: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"]},1315: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=[]},80096:function(e,t,n){"use strict";var r=n(65806);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=[]},99176:function(e,t,n){"use strict";var r=n(56939);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=[]},61958: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),p=r(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[d,u]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),m=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,m]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,p,m]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,g,m]),T={keyword:s,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,v=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[v]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,E]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:T},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:T},{pattern:n(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:T},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,d]),inside:T}],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,[d]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,g]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,u]),inside:{function:n(/^<<0>>/.source,[d]),generic:{pattern:RegExp(u),alias:"class-name",inside:T}}},"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,d,E,s.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:T},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 O=v+"|"+S,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),I=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[I,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[I]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,x=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),w=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[x,N]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),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,x)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,R)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);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=[]},12049: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=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315: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=[]},7902: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=[]},28651: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=[]},55579: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=[]},93685: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=[]},13934: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=[]},93336: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=[]},13294:function(e,t,n){"use strict";var r=n(93205);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"]},38223: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=[]},97266: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"]},77125: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"]},36500: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=[]},30296: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=[]},50115: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=[]},20791:function(e,t,n){"use strict";var r=n(93205);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"]},11974: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=[]},8645: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=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);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=[]},4502: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=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);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=[]},34668: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=[]},95126: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=[]},90618: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=[]},37225: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=[]},16725: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=[]},95559: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=[]},82114:function(e,t,n){"use strict";var r=n(93205);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=[]},6806: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=[]},12208: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=[]},62728: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=[]},81549: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=[]},6024: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=[]},13600: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=[]},3322:function(e,t,n){"use strict";var r=n(65806);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=[]},53877: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=[]},60794: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"]},20222: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=[]},51519: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=[]},94055: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=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&d(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=[]},29536:function(e,t,n){"use strict";var r=n(56939);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"]},58090: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"]},95121: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=[]},59904: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=[]},9436:function(e,t,n){"use strict";var r=n(65806);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=[]},60591: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=[]},76942: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=[]},60561: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=[]},49660: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=[]},30615: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=[]},93865: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=[]},51078: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=[]},91178:function(e,t,n){"use strict";var r=n(58090);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"]},40011: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=[]},12017: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"]},65175: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=[]},14970: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=[]},30764: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=[]},15909: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=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);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=[]},9858: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"]},11223: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=[]},57957: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=[]},66604: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=[]},77935: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=[]},46155: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=d.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=d[c],p="string"==typeof o?o:o.content,f=p.indexOf(l);if(-1!==f){++c;var g=p.substring(0,f),m=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=p.substring(f+l.length),b=[];if(g&&b.push(g),b.push(m),h){var y=[h];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])}}}(p),new e.Token(o,p,"language-"+o,t)}(d,m,g)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);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=[]},45950: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"]},50235:function(e,t,n){"use strict";var r=n(45950);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=[]},80963:function(e,t,n){"use strict";var r=n(45950);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=[]},79358: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=[]},96412: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=[]},39259: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=[]},51466: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=[]},35760: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=[]},19715: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"]},27614: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"]},82819: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=[]},42876: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"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);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=[]},41701: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=[]},42491:function(e,t,n){"use strict";var r=n(9997);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=[]},34927:function(e,t,n){"use strict";var r=n(93205);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=[]},3848: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+)*",p={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=p,l.defun.inside.arguments=e.util.clone(p),l.defun.inside.arguments.inside.sublist=p,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=[]},41469: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=[]},73070: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=[]},35049: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=[]},8789: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=[]},59803: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=[]},86328: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=[]},33055: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=[]},90542: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"]},93205: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],p=n.tokenStack[u],d="string"==typeof c?c:c.content,f=t(r,u),g=d.indexOf(f);if(g>-1){++a;var m=d.substring(0,g),h=new e.Token(r,e.tokenize(p,n.grammar),"language-"+r,p),b=d.substring(g+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(h),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=[]},2717: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"]},27992: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=[]},91115: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=[]},606: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=[]},68582: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=[]},23388: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=[]},90596: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=[]},95721: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=[]},64262: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"]},18190: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=[]},70896: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"]},42242: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=[]},37943: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=[]},83873: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=[]},75932: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=[]},60221: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=[]},44188: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=[]},74426: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=[]},88447: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=[]},16032:function(e,t,n){"use strict";var r=n(65806);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"]},33607: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=[]},22001:function(e,t,n){"use strict";var r=n(65806);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=[]},22950: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"]},23254: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=[]},92694: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=[]},43273: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=[]},60718: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"]},39303: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=[]},77393: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"]},19023: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"]},74212: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=[]},5137:function(e,t,n){"use strict";var r=n(88262);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=[]},88262:function(e,t,n){"use strict";var r=n(93205);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=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);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=[]},59149:function(e,t,n){"use strict";var r=n(11114);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=[]},50256: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=[]},61777: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=[]},3623: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=[]},82707: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=[]},59338: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=[]},56267: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=[]},98809: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=[]},37548: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=[]},82161: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=[]},80625: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=[]},88393: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=[]},78404: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=[]},92923:function(e,t,n){"use strict";var r=n(58090);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"]},52992: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"]},55762: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=[]},4137: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=[]},28260: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=[]},71360: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"]},29308: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=[]},32168:function(e,t,n){"use strict";var r=n(9997);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"]},5755: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=[]},54105: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=[]},35108: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"]},46678: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=[]},47496: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=[]},30527: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=[]},5261: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=[]},56939: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"]},83648: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=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,p,d,f,g,m,h,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}],p={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}},d={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"}}},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"},m={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":p["arg-value"],operator:p.operator,argument:p.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":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:y,"submit-statement":m,"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:y,"submit-statement":m,"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:p}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:y,function:u,format:d,altformat:f,"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:p},"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:p},"cas-actions":b,comment:s,function:u,format:d,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=[]},41720: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=[]},6054:function(e,t,n){"use strict";var r=n(15909);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=[]},9997: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=[]},24296: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=[]},49246:function(e,t,n){"use strict";var r=n(6979);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=[]},18890: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=[]},11037: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=[]},64020:function(e,t,n){"use strict";var r=n(93205);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=[]},49760: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"]},33351: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"]},13570: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=[]},38181:function(e,t,n){"use strict";var r=n(93205);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=[]},98774:function(e,t,n){"use strict";var r=n(24691);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"]},22855: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=[]},29611: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=[]},11114: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=[]},67386: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=[]},28067: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=[]},49168: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=[]},23651: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=[]},21483: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=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);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=[]},2329: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=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);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=[]},17290:function(e,t,n){"use strict";var r=n(65039);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=[]},67989: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=[]},31065: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=[]},85572: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=[]},27536: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=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);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=[]},61028:function(e,t,n){"use strict";var r=n(93205);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=[]},24691: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=[]},19892:function(e,t,n){"use strict";var r=n(93205);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=[]},4979: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"]},23159: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"]},34966: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"]},44623: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=[]},38521: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"]},7255: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=[]},28173: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=[]},53813:function(e,t,n){"use strict";var r=n(46241);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=[]},46891: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=[]},91824: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=[]},9447: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=[]},53062: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=[]},46215: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=[]},10784: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=[]},17684: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=[]},64851: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=[]},18191: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=[]},75242: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"]},93639: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=[]},97202: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"]},13808: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=[]},21301: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=[]},20349: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=[]},65039: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"]},96319: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=[]},31501: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=[]},59216: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));v+=S.value.length,S=S.next){var A,O=S.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(T,v,t,h))||A.index>=t.length)break;var k=A.index,I=A.index+A[0].length,C=v;for(C+=S.value.length;k>=C;)C+=(S=S.next).value.length;if(C-=S.value.length,v=C,S.value instanceof i)continue;for(var N=S;N!==n.tail&&(Cu.reach&&(u.reach=L);var D=S.prev;w&&(D=l(n,D,w),v+=w.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:p+","+f,reach:L};e(t,n,r,S.prev,v,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 p=document.readyState;"loading"===p||"interactive"===p&&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)},96774: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;l=0)continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},52835:function(e,t,n){"use strict";n.d(t,{ZP:function(){return d}});let r="object"==typeof self?self:globalThis,a=(e,t)=>{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=[],p=a([o,n],r);for(let t of s(r))(e||!c(l(r[t])))&&n.push([i(t),i(r[t])]);return p}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:p}=r;return a([o,{name:u,message:p}],r)};return i},p=(e,{json:t,lossy:n}={})=>{let r=[];return u(!(t||n),!!t,new Map,r)(e),r};var d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(p(e,t)):structuredClone(e):(e,t)=>i(p(e,t))},84873:function(e,t,n){"use strict";function r(e){if(e)throw e}n.d(t,{N:function(){return r}})},25668: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}})},44301:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});let r=document.createElement("i");function a(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},24345:function(e,t,n){"use strict";function r(){}function a(){}n.d(t,{ok:function(){return r},t1:function(){return a}})},41675:function(e,t,n){"use strict";function r(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)}n.d(t,{Z:function(){return r}})},27962: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))}}},21905: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}})},62987:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(15459);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(21905);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 p(e,t){return t in e?e[t]:t}function d(e,t){return p(e,t.toLowerCase())}let f=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:d,properties:{xmlns:null,xmlnsXLink:null}});var g=n(47312);let m=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:d,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:p,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}}),y=a([u,c,f,m,h],"html"),E=a([u,c,f,m,b],"svg")},26103:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(93859),a=n(75729),i=n(49255);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,d=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,p);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}}d=a.I}return new d(c,t)}function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},33880:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});let r={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"}},93859:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},75729:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(49255),a=n(47312);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 Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.svg?I.YP:I.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=m=m||(m={})).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,g.EOF;return this._err(m.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,g.EOF;let n=this.html.charCodeAt(t);return n===g.CARRIAGE_RETURN?g.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,g.EOF;let e=this.html.charCodeAt(this.pos);if(e===g.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED;if(e===g.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===g.LINE_FEED||e===g.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.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=h=h||(h={}))[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(60411);(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=T=T||(T={})).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=S=S||(S={}))[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([[T.A,S.A],[T.ADDRESS,S.ADDRESS],[T.ANNOTATION_XML,S.ANNOTATION_XML],[T.APPLET,S.APPLET],[T.AREA,S.AREA],[T.ARTICLE,S.ARTICLE],[T.ASIDE,S.ASIDE],[T.B,S.B],[T.BASE,S.BASE],[T.BASEFONT,S.BASEFONT],[T.BGSOUND,S.BGSOUND],[T.BIG,S.BIG],[T.BLOCKQUOTE,S.BLOCKQUOTE],[T.BODY,S.BODY],[T.BR,S.BR],[T.BUTTON,S.BUTTON],[T.CAPTION,S.CAPTION],[T.CENTER,S.CENTER],[T.CODE,S.CODE],[T.COL,S.COL],[T.COLGROUP,S.COLGROUP],[T.DD,S.DD],[T.DESC,S.DESC],[T.DETAILS,S.DETAILS],[T.DIALOG,S.DIALOG],[T.DIR,S.DIR],[T.DIV,S.DIV],[T.DL,S.DL],[T.DT,S.DT],[T.EM,S.EM],[T.EMBED,S.EMBED],[T.FIELDSET,S.FIELDSET],[T.FIGCAPTION,S.FIGCAPTION],[T.FIGURE,S.FIGURE],[T.FONT,S.FONT],[T.FOOTER,S.FOOTER],[T.FOREIGN_OBJECT,S.FOREIGN_OBJECT],[T.FORM,S.FORM],[T.FRAME,S.FRAME],[T.FRAMESET,S.FRAMESET],[T.H1,S.H1],[T.H2,S.H2],[T.H3,S.H3],[T.H4,S.H4],[T.H5,S.H5],[T.H6,S.H6],[T.HEAD,S.HEAD],[T.HEADER,S.HEADER],[T.HGROUP,S.HGROUP],[T.HR,S.HR],[T.HTML,S.HTML],[T.I,S.I],[T.IMG,S.IMG],[T.IMAGE,S.IMAGE],[T.INPUT,S.INPUT],[T.IFRAME,S.IFRAME],[T.KEYGEN,S.KEYGEN],[T.LABEL,S.LABEL],[T.LI,S.LI],[T.LINK,S.LINK],[T.LISTING,S.LISTING],[T.MAIN,S.MAIN],[T.MALIGNMARK,S.MALIGNMARK],[T.MARQUEE,S.MARQUEE],[T.MATH,S.MATH],[T.MENU,S.MENU],[T.META,S.META],[T.MGLYPH,S.MGLYPH],[T.MI,S.MI],[T.MO,S.MO],[T.MN,S.MN],[T.MS,S.MS],[T.MTEXT,S.MTEXT],[T.NAV,S.NAV],[T.NOBR,S.NOBR],[T.NOFRAMES,S.NOFRAMES],[T.NOEMBED,S.NOEMBED],[T.NOSCRIPT,S.NOSCRIPT],[T.OBJECT,S.OBJECT],[T.OL,S.OL],[T.OPTGROUP,S.OPTGROUP],[T.OPTION,S.OPTION],[T.P,S.P],[T.PARAM,S.PARAM],[T.PLAINTEXT,S.PLAINTEXT],[T.PRE,S.PRE],[T.RB,S.RB],[T.RP,S.RP],[T.RT,S.RT],[T.RTC,S.RTC],[T.RUBY,S.RUBY],[T.S,S.S],[T.SCRIPT,S.SCRIPT],[T.SECTION,S.SECTION],[T.SELECT,S.SELECT],[T.SOURCE,S.SOURCE],[T.SMALL,S.SMALL],[T.SPAN,S.SPAN],[T.STRIKE,S.STRIKE],[T.STRONG,S.STRONG],[T.STYLE,S.STYLE],[T.SUB,S.SUB],[T.SUMMARY,S.SUMMARY],[T.SUP,S.SUP],[T.TABLE,S.TABLE],[T.TBODY,S.TBODY],[T.TEMPLATE,S.TEMPLATE],[T.TEXTAREA,S.TEXTAREA],[T.TFOOT,S.TFOOT],[T.TD,S.TD],[T.TH,S.TH],[T.THEAD,S.THEAD],[T.TITLE,S.TITLE],[T.TR,S.TR],[T.TRACK,S.TRACK],[T.TT,S.TT],[T.U,S.U],[T.UL,S.UL],[T.SVG,S.SVG],[T.VAR,S.VAR],[T.WBR,S.WBR],[T.XMP,S.XMP]]);function ep(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:S.UNKNOWN}let ed=S,ef={[b.HTML]:new Set([ed.ADDRESS,ed.APPLET,ed.AREA,ed.ARTICLE,ed.ASIDE,ed.BASE,ed.BASEFONT,ed.BGSOUND,ed.BLOCKQUOTE,ed.BODY,ed.BR,ed.BUTTON,ed.CAPTION,ed.CENTER,ed.COL,ed.COLGROUP,ed.DD,ed.DETAILS,ed.DIR,ed.DIV,ed.DL,ed.DT,ed.EMBED,ed.FIELDSET,ed.FIGCAPTION,ed.FIGURE,ed.FOOTER,ed.FORM,ed.FRAME,ed.FRAMESET,ed.H1,ed.H2,ed.H3,ed.H4,ed.H5,ed.H6,ed.HEAD,ed.HEADER,ed.HGROUP,ed.HR,ed.HTML,ed.IFRAME,ed.IMG,ed.INPUT,ed.LI,ed.LINK,ed.LISTING,ed.MAIN,ed.MARQUEE,ed.MENU,ed.META,ed.NAV,ed.NOEMBED,ed.NOFRAMES,ed.NOSCRIPT,ed.OBJECT,ed.OL,ed.P,ed.PARAM,ed.PLAINTEXT,ed.PRE,ed.SCRIPT,ed.SECTION,ed.SELECT,ed.SOURCE,ed.STYLE,ed.SUMMARY,ed.TABLE,ed.TBODY,ed.TD,ed.TEMPLATE,ed.TEXTAREA,ed.TFOOT,ed.TH,ed.THEAD,ed.TITLE,ed.TR,ed.TRACK,ed.UL,ed.WBR,ed.XMP]),[b.MATHML]:new Set([ed.MI,ed.MO,ed.MN,ed.MS,ed.MTEXT,ed.ANNOTATION_XML]),[b.SVG]:new Set([ed.TITLE,ed.FOREIGN_OBJECT,ed.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eg(e){return e===ed.H1||e===ed.H2||e===ed.H3||e===ed.H4||e===ed.H5||e===ed.H6}T.STYLE,T.SCRIPT,T.XMP,T.IFRAME,T.NOEMBED,T.NOFRAMES,T.PLAINTEXT;let em=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]]);(p=v||(v={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",p[p.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",p[p.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",p[p.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",p[p.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",p[p.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eh={DATA:v.DATA,RCDATA:v.RCDATA,RAWTEXT:v.RAWTEXT,SCRIPT_DATA:v.SCRIPT_DATA,PLAINTEXT:v.PLAINTEXT,CDATA_SECTION:v.CDATA_SECTION};function eb(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function ey(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function eE(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z||ey(e)}function eT(e){return eE(e)||eb(e)}function eS(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_F}function ev(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_F}function eA(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function eO(e){return eA(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class e_{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=v.DATA,this.returnState=v.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(m.endTagWithAttributes),e.selfClosing&&this._err(m.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 h.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case h.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case h.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:h.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=eA(e)?h.WHITESPACE_CHARACTER:e===g.NULL?h.NULL_CHARACTER:h.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(h.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!==g.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===g.EQUALS_SIGN||eT(a))?(t=[g.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!==g.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===v.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case v.DATA:this._stateData(e);break;case v.RCDATA:this._stateRcdata(e);break;case v.RAWTEXT:this._stateRawtext(e);break;case v.SCRIPT_DATA:this._stateScriptData(e);break;case v.PLAINTEXT:this._statePlaintext(e);break;case v.TAG_OPEN:this._stateTagOpen(e);break;case v.END_TAG_OPEN:this._stateEndTagOpen(e);break;case v.TAG_NAME:this._stateTagName(e);break;case v.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case v.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case v.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case v.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case v.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case v.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case v.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case v.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case v.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case v.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case v.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case v.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case v.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case v.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case v.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case v.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case v.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case v.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case v.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case v.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case v.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case v.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case v.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case v.BOGUS_COMMENT:this._stateBogusComment(e);break;case v.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case v.COMMENT_START:this._stateCommentStart(e);break;case v.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case v.COMMENT:this._stateComment(e);break;case v.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case v.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case v.COMMENT_END:this._stateCommentEnd(e);break;case v.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case v.DOCTYPE:this._stateDoctype(e);break;case v.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case v.DOCTYPE_NAME:this._stateDoctypeName(e);break;case v.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case v.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case v.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case v.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case v.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case v.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case v.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case v.CDATA_SECTION:this._stateCdataSection(e);break;case v.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case v.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case v.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case v.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case v.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case v.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case v.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case v.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case v.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case v.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.TAG_OPEN;break;case g.AMPERSAND:this.returnState=v.DATA,this.state=v.CHARACTER_REFERENCE;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case g.AMPERSAND:this.returnState=v.RCDATA,this.state=v.CHARACTER_REFERENCE;break;case g.LESS_THAN_SIGN:this.state=v.RCDATA_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.RAWTEXT_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.SCRIPT_DATA_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.EXCLAMATION_MARK:this.state=v.MARKUP_DECLARATION_OPEN;break;case g.SOLIDUS:this.state=v.END_TAG_OPEN;break;case g.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=v.BOGUS_COMMENT,this._stateBogusComment(e);break;case g.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=v.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=v.DATA;break;case g.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case g.NULL:this._err(m.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===g.SOLIDUS?this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case g.NULL:this._err(m.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===g.SOLIDUS?(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===g.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([S.DD,S.DT,S.LI,S.OPTGROUP,S.OPTION,S.P,S.RB,S.RP,S.RT,S.RTC]),eI=new Set([...ek,S.CAPTION,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]),eC=new Map([[S.APPLET,b.HTML],[S.CAPTION,b.HTML],[S.HTML,b.HTML],[S.MARQUEE,b.HTML],[S.OBJECT,b.HTML],[S.TABLE,b.HTML],[S.TD,b.HTML],[S.TEMPLATE,b.HTML],[S.TH,b.HTML],[S.ANNOTATION_XML,b.MATHML],[S.MI,b.MATHML],[S.MN,b.MATHML],[S.MO,b.MATHML],[S.MS,b.MATHML],[S.MTEXT,b.MATHML],[S.DESC,b.SVG],[S.FOREIGN_OBJECT,b.SVG],[S.TITLE,b.SVG]]),eN=[S.H1,S.H2,S.H3,S.H4,S.H5,S.H6],ex=[S.TR,S.TEMPLATE,S.HTML],ew=[S.TBODY,S.TFOOT,S.THEAD,S.TEMPLATE,S.HTML],eR=[S.TABLE,S.TEMPLATE,S.HTML],eL=[S.TD,S.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=S.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===S.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(ex,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]===S.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]===S.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(eC.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(eg(t)&&n===b.HTML)break;if(eC.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===S.UL||n===S.OL)&&r===b.HTML||eC.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===S.BUTTON&&r===b.HTML||eC.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===S.TABLE||n===S.TEMPLATE||n===S.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===S.TBODY||t===S.THEAD||t===S.TFOOT)break;if(t===S.TABLE||t===S.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!==S.OPTION&&n!==S.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eI.has(this.currentTagId);)this.pop()}}(d=A=A||(A={}))[d.Marker=0]="Marker",d[d.Element=1]="Element";let eP={type:A.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:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.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===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.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"]),ez=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e$=[...ez,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eY=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])),eV=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([S.B,S.BIG,S.BLOCKQUOTE,S.BODY,S.BR,S.CENTER,S.CODE,S.DD,S.DIV,S.DL,S.DT,S.EM,S.EMBED,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HR,S.I,S.IMG,S.LI,S.LISTING,S.MENU,S.META,S.NOBR,S.OL,S.P,S.PRE,S.RUBY,S.S,S.SMALL,S.SPAN,S.STRONG,S.STRIKE,S.SUB,S.SUP,S.TABLE,S.TT,S.U,S.UL,S.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=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eh.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)===T.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 S.TITLE:case S.TEXTAREA:this.tokenizer.state=eh.RCDATA;break;case S.STYLE:case S.XMP:case S.IFRAME:case S.NOEMBED:case S.NOFRAMES:case S.NOSCRIPT:this.tokenizer.state=eh.RAWTEXT;break;case S.SCRIPT:this.tokenizer.state=eh.SCRIPT_DATA;break;case S.PLAINTEXT:this.tokenizer.state=eh.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(T.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,S.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===h.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!==S.SVG||this.treeAdapter.getTagName(t)!==T.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===S.MGLYPH||e.tagID===S.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case h.CHARACTER:this.onCharacter(e);break;case h.NULL_CHARACTER:this.onNullCharacter(e);break;case h.COMMENT:this.onComment(e);break;case h.DOCTYPE:this.onDoctype(e);break;case h.START_TAG:this._processStartTag(e);break;case h.END_TAG:this.onEndTag(e);break;case h.EOF:this.onEof(e);break;case h.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===S.ANNOTATION_XML){for(let e=0;ee.type===A.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=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(S.P),this.openElements.popUntilTagNamePopped(S.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case S.TR:this.insertionMode=O.IN_ROW;return;case S.TBODY:case S.THEAD:case S.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case S.CAPTION:this.insertionMode=O.IN_CAPTION;return;case S.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case S.TABLE:this.insertionMode=O.IN_TABLE;return;case S.BODY:this.insertionMode=O.IN_BODY;return;case S.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case S.SELECT:this._resetInsertionModeForSelect(e);return;case S.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case S.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case S.TD:case S.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case S.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===S.TEMPLATE)break;if(e===S.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.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 S.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case S.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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e5(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e5(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.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(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?ez:e$))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,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tv(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===S.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=ep(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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===S.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BASEFONT:case S.BGSOUND:case S.HEAD:case S.LINK:case S.META:case S.NOFRAMES:case S.STYLE:te(e,t);break;case S.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case S.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,S.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case S.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:td(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):td(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(S.TD)||e.openElements.hasInTableScope(S.TH))&&(e._closeTableCell(),tC(e,t)):td(e,t)}(this,e);break;case O.IN_SELECT:tx(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tx(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:te(e,t);break;case S.CAPTION:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case S.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case S.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case S.TD:case S.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,td(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===S.HTML?td(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.FRAMESET:e._insertElement(t,b.HTML);break;case S.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===S.HTML?td(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===S.P||t.tagID===S.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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===S.HTML||n===S.HEAD||n===S.BODY||n===S.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===S.HEAD||n===S.BODY||n===S.HTML||n===S.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case S.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case S.BODY:case S.BR:case S.HTML:tn(e,t);break;case S.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case S.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case S.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case S.BODY:case S.HTML:case S.BR:ta(e,t);break;case S.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:tg(this,e);break;case O.TEXT:e.tagID===S.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case S.CAPTION:case S.TABLE:e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===S.TABLE&&ty(e,t));break;case S.BODY:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tg(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case S.COLGROUP:e.openElements.currentTagId===S.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case S.TEMPLATE:tt(e,t);break;case S.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tI(this,e);break;case O.IN_ROW:tN(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case S.TD:case S.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case S.TABLE:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tN(e,t));break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:break;default:tg(e,t)}}(this,e);break;case O.IN_SELECT:tw(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tw(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===S.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==S.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===S.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===S.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_TEMPLATE:tR(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===g.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 O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tT(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=ep(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===S.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 e5(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(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 e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(T.HEAD,S.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.TITLE:e._switchToTextParsing(t,eh.RCDATA);break;case S.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eh.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case S.NOFRAMES:case S.STYLE:e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SCRIPT:e._switchToTextParsing(t,eh.SCRIPT_DATA);break;case S.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case S.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==S.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===h.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(T.BODY,S.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case h.CHARACTER:ts(e,t);break;case h.WHITESPACE_CHARACTER:to(e,t);break;case h.COMMENT:e5(e,t);break;case h.START_TAG:td(e,t);break;case h.END_TAG:tg(e,t);break;case h.EOF:tm(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,eh.RAWTEXT)}function tp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function td(e,t){switch(t.tagID){case S.I:case S.S:case S.B:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.SMALL:case S.STRIKE:case S.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(T.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 S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),eg(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case S.P:case S.DL:case S.OL:case S.UL:case S.DIV:case S.DIR:case S.NAV:case S.MAIN:case S.MENU:case S.ASIDE:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.DETAILS:case S.ADDRESS:case S.ARTICLE:case S.SECTION:case S.SUMMARY:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case S.LI:case S.DD:case S.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===S.LI&&r===S.LI||(n===S.DD||n===S.DT)&&(r===S.DD||r===S.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==S.ADDRESS&&r!==S.DIV&&r!==S.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case S.BR:case S.IMG:case S.WBR:case S.AREA:case S.EMBED:case S.KEYGEN:tl(e,t);break;case S.HR:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case S.RB:case S.RTC:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case S.RT:case S.RP:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(S.RTC),e._insertElement(t,b.HTML);break;case S.PRE:case S.LISTING:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case S.XMP:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case S.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case S.BASE:case S.LINK:case S.META:case S.STYLE:case S.TITLE:case S.SCRIPT:case S.BGSOUND:case S.BASEFONT:case S.TEMPLATE:te(e,t);break;case S.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 S.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case S.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(S.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case S.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case S.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case S.PARAM:case S.TRACK:case S.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.IMAGE:t.tagName=T.IMG,t.tagID=S.IMG,tl(e,t);break;case S.BUTTON:e.openElements.hasInScope(S.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case S.APPLET:case S.OBJECT:case S.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case S.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case S.OPTION:case S.OPTGROUP:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case S.NOEMBED:tu(e,t);break;case S.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=O.IN_FRAMESET)}(e,t);break;case S.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eh.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case S.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):tp(e,t);break;case S.PLAINTEXT:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eh.PLAINTEXT;break;case S.COL:case S.TH:case S.TD:case S.TR:case S.HEAD:case S.FRAME:case S.TBODY:case S.TFOOT:case S.THEAD:case S.CAPTION:case S.COLGROUP:break;default:tp(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!==S.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 tg(e,t){switch(t.tagID){case S.A:case S.B:case S.I:case S.S:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.NOBR:case S.SMALL:case S.STRIKE:case S.STRONG:e4(e,t);break;case S.P:e.openElements.hasInButtonScope(S.P)||e._insertFakeElement(T.P,S.P),e._closePElement();break;case S.DL:case S.UL:case S.OL:case S.DIR:case S.DIV:case S.NAV:case S.PRE:case S.MAIN:case S.MENU:case S.ASIDE:case S.BUTTON:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.ADDRESS:case S.ARTICLE:case S.DETAILS:case S.SECTION:case S.SUMMARY:case S.LISTING:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case S.LI:e.openElements.hasInListItemScope(S.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(S.LI),e.openElements.popUntilTagNamePopped(S.LI));break;case S.DD:case S.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case S.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(T.BR,S.BR),e.openElements.pop(),e.framesetOk=!1;break;case S.BODY:!function(e,t){if(e.openElements.hasInScope(S.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case S.HTML:e.openElements.hasInScope(S.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case S.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(S.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(S.FORM):n&&e.openElements.remove(n))}(e);break;case S.APPLET:case S.OBJECT:case S.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 S.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e6(e,t)}function th(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case h.CHARACTER:tS(e,t);break;case h.WHITESPACE_CHARACTER:tT(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case S.TD:case S.TH:case S.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.TBODY,S.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case S.STYLE:case S.SCRIPT:case S.TEMPLATE:te(e,t);break;case S.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.COLGROUP,S.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case S.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case S.TBODY:case S.TFOOT:case S.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case S.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case S.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case S.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode());break;case S.TEMPLATE:tt(e,t);break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tT(e,t){e.pendingCharacterTokens.push(t)}function tS(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tv(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===S.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===S.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop();break;case S.OPTION:e.openElements.currentTagId===S.OPTION&&e.openElements.pop();break;case S.SELECT:e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode());break;case S.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===S.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===S.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=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.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(43470),T.AREA,T.BASE,T.BASEFONT,T.BGSOUND,T.BR,T.COL,T.EMBED,T.FRAME,T.HR,T.IMG,T.INPUT,T.KEYGEN,T.LINK,T.META,T.PARAM,T.SOURCE,T.TRACK,T.WBR;var tF=n(3980),tB=n(21623);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:tz,element:t$,text:tZ,comment:tY,doctype:tW,raw:tV},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 z({file:n.file||void 0,location:!1,schema:"svg"===n.space?I.YP:I.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:h.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:h.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 tY(e,t){let n=e.value,r={type:h.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tV(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,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tH({type:"root",children:e.children},t.options);n.children=r.children}tY({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=eh.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}}},55186: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(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function p(e){this.config.enter.autolinkProtocol.call(this,e)}function d(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 g(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function h(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&&p.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?p.push(...i):i&&p.push(i),s=n+d[0].length,u=!0),!r.global)break;d=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 T=n(11098);function S(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function v(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function I(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function N(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 x(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}N.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 V(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 p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),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 p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),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}W.peek=function(){return"<"},Y.peek=function(){return"!"},V.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:z,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,$.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,Z.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 p=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?l+" "+p:l,n.options.closeAtx&&(p+=" "+l),u(),c(),p},html:W,image:Y,imageReference:V,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 ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ed(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}eA[43]=ev,eA[45]=ev,eA[46]=ev,eA[95]=ev,eA[72]=[ev,eS],eA[104]=[ev,eS],eA[87]=[ev,eT],eA[119]=[ev,eT];var ex=n(23402),ew=n(42761);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,T.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,T.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,T.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?p:u}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(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(ex.w,t,e.attempt(eR,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var ej=n(21905),eU=n(62987),eH=n(63233);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 ez(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"),d):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?p:u)}function p(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(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?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function g(t){return(0,i.xz)(t)?(0,ew.f)(e,m,"whitespace")(t):m(t)}function m(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,i.Ch)(t)?y(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,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"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,ew.f)(e,T,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?v:S)}function v(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function e$(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,p=0,d=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({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eW(e,t,n,r,a){let i=[],o=eY(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 eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eV={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,eg.W)([{text:eA},{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);++ps[p])&&(s[p]=e)}n.push(i)}i[c]=n,o[c]=a}let p=-1;if("object"==typeof n&&"length"in n)for(;++ps[p]&&(s[p]=i),f[p]=i),d[p]=o}i.splice(1,0,d),o.splice(1,0,f),c=-1;let g=[];for(;++c0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(a(t.slice(i),i>0,!1)),o.join("")}function a(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):""}n.d(t,{j:function(){return r}})},94029:function(e,t,n){"use strict";function r(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function a(i,...o){let s=e[++n],l=-1;if(i){r(i);return}for(;++lt.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}n.d(t,{r:function(){return r}})},96093:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});let r=function(e,t,n,i,o){let l=a(t);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw Error("Expected positive finite index");if(null!=i&&(!r(i)||!i.children))throw Error("Expected parent node");if(null==i!=(null==n))throw Error("Expected both parent and index");return!!s(e)&&l.call(o,e,n,i)},a=function(e){if(null==e)return o;if("function"==typeof e)return i(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n0&&"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}}},88718:function(e,t,n){"use strict";n.d(t,{BK:function(){return i},S4:function(){return o}});var r=n(96093);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 p=r&&"object"==typeof r?r:{};if("string"==typeof p.type){let e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(d,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return d;function d(){var p;let d,f,g,m=a;if((!t||l(r,s,u[u.length-1]||void 0))&&(m=Array.isArray(p=n(r,u))?p:"number"==typeof p?[!0,p]:null==p?a:[p])[0]===i)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(f=(o?r.children.length:-1)+c,g=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"}')}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/6576-ce1ffc912059f3d9.js b/dbgpt/app/static/web/_next/static/chunks/6576-ce1ffc912059f3d9.js new file mode 100644 index 000000000..bcf002a50 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/6576-ce1ffc912059f3d9.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6576],{32857:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},41156:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},3471:function(e,t,n){var r=n(87462),o=n(67294),a=n(29245),l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},9641:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},51042:function(e,t,n){var r=n(87462),o=n(67294),a=n(42110),l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},8745:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(67294),o=n(21770),a=n(28459),l=n(53124);function i(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>i(i=>{let{prefixCls:c,style:s}=i,d=r.useRef(null),[u,f]=r.useState(0),[m,g]=r.useState(0),[p,h]=(0,o.Z)(!1,{value:i.open}),{getPrefixCls:v}=r.useContext(l.E_),b=v(t||"select",c);r.useEffect(()=>{if(h(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=d.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:p,visible:p,getPopupContainer:()=>d.current});return a&&(y=a(y)),r.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065: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}})},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(67294),o=n(93967),a=n.n(o),l=n(53124),i=n(47648),c=n(14747),s=n(83559),d=n(87893);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,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 ${r}`,"&-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 ${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)(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:r,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:r,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:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};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}}),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},g=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:g,children:p,dashed:h,variant:v="solid",plain:b,style:y}=e,$=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=t("divider",i),[w,C,x]=f(O),E=!!p,z="left"===s&&null!=d,k="right"===s&&null!=d,Z=a()(O,null==o?void 0:o.className,C,x,`${O}-${c}`,{[`${O}-with-text`]:E,[`${O}-with-text-${s}`]:E,[`${O}-dashed`]:!!h,[`${O}-${v}`]:"solid"!==v,[`${O}-plain`]:!!b,[`${O}-rtl`]:"rtl"===n,[`${O}-no-default-orientation-margin-left`]:z,[`${O}-no-default-orientation-margin-right`]:k},u,g),j=r.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),S=Object.assign(Object.assign({},z&&{marginLeft:j}),k&&{marginRight:j});return w(r.createElement("div",Object.assign({className:Z,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},$,{role:"separator"}),p&&"vertical"!==c&&r.createElement("span",{className:`${O}-inner-text`,style:S},p)))}},45360:function(e,t,n){var r=n(96641),o=n(67294),a=n(38135),l=n(66968),i=n(53124),c=n(28459),s=n(66277),d=n(16474),u=n(84926);let f=null,m=e=>e(),g=[],p={};function h(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=p,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let v=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(i.E_),c=p.prefixCls||a("message"),s=(0,o.useContext)(l.J),[u,f]=(0,d.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.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}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(h),a=()=>{r(h)};o.useEffect(a,[]);let l=(0,c.w6)(),i=l.getRootPrefixCls(),s=l.getIconPrefixCls(),d=l.getTheme(),u=o.createElement(v,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:i,iconPrefixCls:s,theme:d},l.holderRender?l.holderRender(u):u)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(g.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},p),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),g=[])}let $={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return g.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{g.push({type:"destroy",key:e}),y()},config:function(e){p=Object.assign(Object.assign({},p),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[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 g.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=$},85576:function(e,t,n){n.d(t,{default:function(){return O}});var r=n(56080),o=n(38657),a=n(56745),l=n(67294),i=n(93967),c=n.n(i),s=n(40974),d=n(8745),u=n(53124),f=n(35792),m=n(32409),g=n(4941),p=n(71194),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},v=(0,d.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:i,children:d,footer:v}=e,b=h(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:y}=l.useContext(u.E_),$=y(),O=t||y("modal"),w=(0,f.Z)($),[C,x,E]=(0,p.ZP)(O,w),z=`${O}-confirm`,k={};return k=a?{closable:null!=o&&o,title:"",footer:"",children:l.createElement(m.O,Object.assign({},e,{prefixCls:O,confirmPrefixCls:z,rootPrefixCls:$,content:d}))}:{closable:null==o||o,title:i,footer:null!==v&&l.createElement(g.$,Object.assign({},e)),children:d},C(l.createElement(s.s,Object.assign({prefixCls:O,className:c()(x,`${O}-pure-panel`,a&&z,a&&`${z}-${a}`,n,E,w)},b,{closeIcon:(0,g.b)(O,r),closable:o},k)))}),b=n(94423);function y(e){return(0,r.ZP)((0,r.uW)(e))}let $=a.Z;$.useModal=b.Z,$.info=function(e){return(0,r.ZP)((0,r.cw)(e))},$.success=function(e){return(0,r.ZP)((0,r.vq)(e))},$.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},$.warning=y,$.warn=y,$.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},$.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},$.config=r.ai,$._InternalPanelDoNotUseOrYouWillBeFired=v;var O=$},42075:function(e,t,n){n.d(t,{Z:function(){return h}});var r=n(67294),o=n(93967),a=n.n(o),l=n(50344),i=n(98065),c=n(53124),s=n(4173);let d=r.createContext({latestIndex:0}),u=d.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:l}=e,{latestIndex:i}=r.useContext(d);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 p=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:d,space:p,direction:h}=r.useContext(c.E_),{size:v=null!==(n=null==p?void 0:p.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:$,children:O,direction:w="horizontal",prefixCls:C,split:x,style:E,wrap:z=!1,classNames:k,styles:Z}=e,j=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[S,I]=Array.isArray(v)?v:[v,v],P=(0,i.n)(I),M=(0,i.n)(S),H=(0,i.T)(I),B=(0,i.T)(S),N=(0,l.Z)(O,{keepEmpty:!0}),R=void 0===b&&"horizontal"===w?"center":b,V=d("space",C),[T,W,L]=(0,m.Z)(V),F=a()(V,null==p?void 0:p.className,W,`${V}-${w}`,{[`${V}-rtl`]:"rtl"===h,[`${V}-align-${R}`]:R,[`${V}-gap-row-${I}`]:P,[`${V}-gap-col-${S}`]:M},y,$,L),D=a()(`${V}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(s=null==p?void 0:p.classNames)||void 0===s?void 0:s.item),A=0,_=N.map((e,t)=>{var n,o;null!=e&&(A=t);let a=(null==e?void 0:e.key)||`${D}-${t}`;return r.createElement(f,{className:D,key:a,index:t,split:x,style:null!==(n=null==Z?void 0:Z.item)&&void 0!==n?n:null===(o=null==p?void 0:p.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:A}),[A]);if(0===N.length)return null;let G={};return z&&(G.flexWrap="wrap"),!M&&B&&(G.columnGap=S),!P&&H&&(G.rowGap=I),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},G),null==p?void 0:p.style),E)},j),r.createElement(u,{value:K},_)))});p.Compact=s.ZP;var h=p},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return g}});var r=n(47648),o=n(93590);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}}),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}}),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:u,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:d}},g=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=m[t];return[(0,o.R)(r,a,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(67294),o=n(93967),a=n.n(o),l=n(98423),i=n(98787),c=n(69760),s=n(96159),d=n(45353),u=n(53124),f=n(47648),m=n(10274),g=n(14747),p=n(87893),h=n(83559);let v=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,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}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,p.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},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,h.I$)("Tag",e=>{let t=b(e);return v(t)},y),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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:l,checked:i,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(u.E_),g=f("tag",n),[p,h,v]=$(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:i},null==m?void 0:m.className,l,h,v);return p(r.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var C=n(98719);let x=e=>(0,C.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 E=(0,h.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},y);let z=(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 k=(0,h.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),Z=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 j=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:g,icon:p,color:h,onClose:v,bordered:b=!0,visible:y}=e,O=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:C,tag:x}=r.useContext(u.E_),[z,j]=r.useState(!0),S=(0,l.Z)(O,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&j(y)},[y]);let I=(0,i.o2)(h),P=(0,i.yT)(h),M=I||P,H=Object.assign(Object.assign({backgroundColor:h&&!M?h:void 0},null==x?void 0:x.style),m),B=w("tag",n),[N,R,V]=$(B),T=a()(B,null==x?void 0:x.className,{[`${B}-${h}`]:M,[`${B}-has-color`]:h&&!M,[`${B}-hidden`]:!z,[`${B}-rtl`]:"rtl"===C,[`${B}-borderless`]:!b},o,f,R,V),W=e=>{e.stopPropagation(),null==v||v(e),e.defaultPrevented||j(!1)},[,L]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${B}-close-icon`,onClick:W},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),W(t)},className:a()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),F="function"==typeof O.onClick||g&&"a"===g.type,D=p||null,A=D?r.createElement(r.Fragment,null,D,g&&r.createElement("span",null,g)):g,_=r.createElement("span",Object.assign({},S,{ref:t,className:T,style:H}),A,L,I&&r.createElement(E,{key:"preset",prefixCls:B}),P&&r.createElement(k,{key:"status",prefixCls:B}));return N(F?r.createElement(d.Z,{component:"Tag"},_):_)});j.CheckableTag=w;var S=j},64894:function(e,t,n){var r=n(83963),o=n(67294),a=n(32857),l=n(30672),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7003-35ff135d274ba463.js b/dbgpt/app/static/web/_next/static/chunks/7003-4abc6703166ef27c.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/7003-35ff135d274ba463.js rename to dbgpt/app/static/web/_next/static/chunks/7003-4abc6703166ef27c.js diff --git a/dbgpt/app/static/web/_next/static/chunks/7047-e4c4cb32bc20c129.js b/dbgpt/app/static/web/_next/static/chunks/7047-e4c4cb32bc20c129.js new file mode 100644 index 000000000..b9d84acbe --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7047-e4c4cb32bc20c129.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7047],{39055:function(e,t){t.Z={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"}},91321:function(e,t,c){c.d(t,{Z:function(){return u}});var n=c(87462),a=c(45987),r=c(67294),o=c(16165),f=["type","children"],i=new Set;function l(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(){l(e,t+1)},n.onerror=function(){l(e,t+1)}),i.add(c),document.body.appendChild(n)}}function u(){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)?l(t.reverse()):l([t]));var u=r.forwardRef(function(e,t){var c=e.type,l=e.children,u=(0,a.Z)(e,f),h=null;return e.type&&(h=r.createElement("use",{xlinkHref:"#".concat(c)})),l&&(h=l),r.createElement(o.Z,(0,n.Z)({},i,u,{ref:t}),h)});return u.displayName="Iconfont",u}},6321:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},41156:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),r={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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},90389:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},50067:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),r={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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},52645:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},9020:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),r={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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},13179:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},47389:function(e,t,c){var n=c(87462),a=c(67294),r=c(27363),o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r.Z}))});t.Z=f},58638:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},55287:function(e,t,c){var n=c(87462),a=c(67294),r=c(5717),o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r.Z}))});t.Z=f},31545:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27595:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27329:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},83266:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},9641:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),r={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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},68346:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},64082:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},79090:function(e,t,c){var n=c(87462),a=c(67294),r=c(15294),o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r.Z}))});t.Z=f},38545:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),r={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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},3089:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},92962:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),r={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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},30159:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},51042:function(e,t,c){var n=c(87462),a=c(67294),r=c(42110),o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r.Z}))});t.Z=f},87740:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},40110:function(e,t,c){var n=c(87462),a=c(67294),r=c(509),o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r.Z}))});t.Z=f},27496:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},41441:function(e,t,c){var n=c(87462),a=c(67294),r=c(39055),o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r.Z}))});t.Z=f},18754:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},28058:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},65886:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),a=c(67294),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"},o=c(13401),f=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:r}))})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7138-d1edda86473c263d.js b/dbgpt/app/static/web/_next/static/chunks/7138-d1edda86473c263d.js new file mode 100644 index 000000000..2969f95ed --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7138-d1edda86473c263d.js @@ -0,0 +1,6 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7138,6576],{32857:function(e,t){"use strict";t.Z={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"}},26554:function(e,t){"use strict";t.Z={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"}},41156:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},3471:function(e,t,n){"use strict";var r=n(87462),o=n(67294),a=n(29245),l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},9641:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462),o=n(67294),a={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"},l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},51042:function(e,t,n){"use strict";var r=n(87462),o=n(67294),a=n(42110),l=n(13401),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},8745:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(67294),o=n(21770),a=n(28459),l=n(53124);function i(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>i(i=>{let{prefixCls:c,style:s}=i,u=r.useRef(null),[d,f]=r.useState(0),[m,p]=r.useState(0),[g,v]=(0,o.Z)(!1,{value:i.open}),{getPrefixCls:h}=r.useContext(l.E_),b=h(t||"select",c);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),p(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});return a&&(y=a(y)),r.createElement("div",{ref:u,style:{paddingBottom:d,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065:function(e,t,n){"use strict";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}})},96074:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(67294),o=n(93967),a=n.n(o),l=n(53124),i=n(47648),c=n(14747),s=n(83559),u=n(87893);let d=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,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 ${r}`,"&-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 ${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)(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:r,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:r,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:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var f=(0,s.I$)("Divider",e=>{let t=(0,u.IX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(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 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},p=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(l.E_),{prefixCls:i,type:c="horizontal",orientation:s="center",orientationMargin:u,className:d,rootClassName:p,children:g,dashed:v,variant:h="solid",plain:b,style:y}=e,O=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),$=t("divider",i),[C,x,w]=f($),E=!!g,j="left"===s&&null!=u,Z="right"===s&&null!=u,k=a()($,null==o?void 0:o.className,x,w,`${$}-${c}`,{[`${$}-with-text`]:E,[`${$}-with-text-${s}`]:E,[`${$}-dashed`]:!!v,[`${$}-${h}`]:"solid"!==h,[`${$}-plain`]:!!b,[`${$}-rtl`]:"rtl"===n,[`${$}-no-default-orientation-margin-left`]:j,[`${$}-no-default-orientation-margin-right`]:Z},d,p),z=r.useMemo(()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u,[u]),I=Object.assign(Object.assign({},j&&{marginLeft:z}),Z&&{marginRight:z});return C(r.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},O,{role:"separator"}),g&&"vertical"!==c&&r.createElement("span",{className:`${$}-inner-text`,style:I},g)))}},45360:function(e,t,n){"use strict";var r=n(96641),o=n(67294),a=n(38135),l=n(66968),i=n(53124),c=n(28459),s=n(66277),u=n(16474),d=n(84926);let f=null,m=e=>e(),p=[],g={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=g,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let h=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(i.E_),c=g.prefixCls||a("message"),s=(0,o.useContext)(l.J),[d,f]=(0,u.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.message));return o.useImperativeHandle(t,()=>{let e=Object.assign({},d);return Object.keys(e).forEach(t=>{e[t]=function(){return r(),d[t].apply(d,arguments)}}),{instance:e,sync:r}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),a=()=>{r(v)};o.useEffect(a,[]);let l=(0,c.w6)(),i=l.getRootPrefixCls(),s=l.getIconPrefixCls(),u=l.getTheme(),d=o.createElement(h,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:i,iconPrefixCls:s,theme:u},l.holderRender?l.holderRender(d):d)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(p.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},g),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),p=[])}let O={open:function(e){let t=(0,d.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return p.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{p.push({type:"destroy",key:e}),y()},config:function(e){g=Object.assign(Object.assign({},g),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:u.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{O[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 p.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=O},85576:function(e,t,n){"use strict";n.d(t,{default:function(){return $}});var r=n(56080),o=n(38657),a=n(56745),l=n(67294),i=n(93967),c=n.n(i),s=n(40974),u=n(8745),d=n(53124),f=n(35792),m=n(32409),p=n(4941),g=n(71194),v=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},h=(0,u.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:i,children:u,footer:h}=e,b=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:y}=l.useContext(d.E_),O=y(),$=t||y("modal"),C=(0,f.Z)(O),[x,w,E]=(0,g.ZP)($,C),j=`${$}-confirm`,Z={};return Z=a?{closable:null!=o&&o,title:"",footer:"",children:l.createElement(m.O,Object.assign({},e,{prefixCls:$,confirmPrefixCls:j,rootPrefixCls:O,content:u}))}:{closable:null==o||o,title:i,footer:null!==h&&l.createElement(p.$,Object.assign({},e)),children:u},x(l.createElement(s.s,Object.assign({prefixCls:$,className:c()(w,`${$}-pure-panel`,a&&j,a&&`${j}-${a}`,n,E,C)},b,{closeIcon:(0,p.b)($,r),closable:o},Z)))}),b=n(94423);function y(e){return(0,r.ZP)((0,r.uW)(e))}let O=a.Z;O.useModal=b.Z,O.info=function(e){return(0,r.ZP)((0,r.cw)(e))},O.success=function(e){return(0,r.ZP)((0,r.vq)(e))},O.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},O.warning=y,O.warn=y,O.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},O.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},O.config=r.ai,O._InternalPanelDoNotUseOrYouWillBeFired=h;var $=O},86738:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(67294),o=n(29950),a=n(93967),l=n.n(a),i=n(21770),c=n(98423),s=n(53124),u=n(55241),d=n(86743),f=n(81643),m=n(14726),p=n(33671),g=n(10110),v=n(24457),h=n(66330),b=n(83559);let y=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:o,colorText:a,colorWarning:l,marginXXS:i,marginXS:c,fontSize:s,fontWeightStrong:u,colorTextHeading:d}=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:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:i,color:a}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:c}}}}};var O=(0,b.I$)("Popconfirm",e=>y(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:h="primary",icon:b=r.createElement(o.Z,null),showCancel:y=!0,close:O,onConfirm:$,onCancel:C,onPopupClick:x}=e,{getPrefixCls:w}=r.useContext(s.E_),[E]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),j=(0,f.Z)(l),Z=(0,f.Z)(i);return r.createElement("div",{className:`${t}-inner-content`,onClick:x},r.createElement("div",{className:`${t}-message`},b&&r.createElement("span",{className:`${t}-message-icon`},b),r.createElement("div",{className:`${t}-message-text`},j&&r.createElement("div",{className:`${t}-title`},j),Z&&r.createElement("div",{className:`${t}-description`},Z))),r.createElement("div",{className:`${t}-buttons`},y&&r.createElement(m.ZP,Object.assign({onClick:C,size:"small"},a),c||(null==E?void 0:E.cancelText)),r.createElement(d.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,p.nx)(h)),n),actionFn:$,close:O,prefixCls:w("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==E?void 0:E.okText))))};var 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 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 w=r.forwardRef((e,t)=>{var n,a;let{prefixCls:d,placement:f="top",trigger:m="click",okType:p="primary",icon:g=r.createElement(o.Z,null),children:v,overlayClassName:h,onOpenChange:b,onVisibleChange:y}=e,$=x(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:w}=r.useContext(s.E_),[E,j]=(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}),Z=(e,t)=>{j(e,!0),null==y||y(e),null==b||b(e,t)},k=w("popconfirm",d),z=l()(k,h),[I]=O(k);return I(r.createElement(u.Z,Object.assign({},(0,c.Z)($,["title"]),{trigger:m,placement:f,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||Z(t,n)},open:E,ref:t,overlayClassName:z,content:r.createElement(C,Object.assign({okType:p,icon:g},e,{prefixCls:k,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}),v))});w._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),[d]=O(u);return d(r.createElement(h.ZP,{placement:n,className:l()(u,o),style:a,content:r.createElement(C,Object.assign({prefixCls:u},i))}))};var E=w},42075:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),l=n(50344),i=n(98065),c=n(53124),s=n(4173);let u=r.createContext({latestIndex:0}),d=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:h=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:O,children:$,direction:C="horizontal",prefixCls:x,split:w,style:E,wrap:j=!1,classNames:Z,styles:k}=e,z=p(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[I,S]=Array.isArray(h)?h:[h,h],P=(0,i.n)(S),N=(0,i.n)(I),M=(0,i.T)(S),H=(0,i.T)(I),B=(0,l.Z)($,{keepEmpty:!0}),R=void 0===b&&"horizontal"===C?"center":b,V=u("space",x),[T,W,A]=(0,m.Z)(V),F=a()(V,null==g?void 0:g.className,W,`${V}-${C}`,{[`${V}-rtl`]:"rtl"===v,[`${V}-align-${R}`]:R,[`${V}-gap-row-${S}`]:P,[`${V}-gap-col-${I}`]:N},y,O,A),_=a()(`${V}-item`,null!==(o=null==Z?void 0:Z.item)&&void 0!==o?o:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),L=0,D=B.map((e,t)=>{var n,o;null!=e&&(L=t);let a=(null==e?void 0:e.key)||`${_}-${t}`;return r.createElement(f,{className:_,key:a,index:t,split:w,style:null!==(n=null==k?void 0:k.item)&&void 0!==n?n:null===(o=null==g?void 0:g.styles)||void 0===o?void 0:o.item},e)}),U=r.useMemo(()=>({latestIndex:L}),[L]);if(0===B.length)return null;let K={};return j&&(K.flexWrap="wrap"),!N&&H&&(K.columnGap=I),!P&&M&&(K.rowGap=S),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},K),null==g?void 0:g.style),E)},z),r.createElement(d,{value:U},D)))});g.Compact=s.ZP;var v=g},33507: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`}}})},33297:function(e,t,n){"use strict";n.d(t,{Fm:function(){return p}});var r=n(47648),o=n(93590);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}}),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:a,outKeyframes:l},"move-left":{inKeyframes:i,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:u}},p=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:l}=m[t];return[(0,o.R)(r,a,l,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),o=n(93967),a=n.n(o),l=n(98423),i=n(98787),c=n(69760),s=n(96159),u=n(45353),d=n(53124),f=n(47648),m=n(10274),p=n(14747),g=n(87893),v=n(83559);let h=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,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,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},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var O=(0,v.I$)("Tag",e=>{let t=b(e);return h(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};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:m}=r.useContext(d.E_),p=f("tag",n),[g,v,h]=O(p),b=a()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:i},null==m?void 0:m.className,l,v,h);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!i),null==s||s(e)}})))});var x=n(98719);let w=e=>(0,x.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 E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return w(t)},y);let j=(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 Z=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[j(t,"success","Success"),j(t,"processing","Info"),j(t,"error","Error"),j(t,"warning","Warning")]},y),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 z=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:p,icon:g,color:v,onClose:h,bordered:b=!0,visible:y}=e,$=k(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:w}=r.useContext(d.E_),[j,z]=r.useState(!0),I=(0,l.Z)($,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&z(y)},[y]);let S=(0,i.o2)(v),P=(0,i.yT)(v),N=S||P,M=Object.assign(Object.assign({backgroundColor:v&&!N?v:void 0},null==w?void 0:w.style),m),H=C("tag",n),[B,R,V]=O(H),T=a()(H,null==w?void 0:w.className,{[`${H}-${v}`]:N,[`${H}-has-color`]:v&&!N,[`${H}-hidden`]:!j,[`${H}-rtl`]:"rtl"===x,[`${H}-borderless`]:!b},o,f,R,V),W=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||z(!1)},[,A]=(0,c.Z)((0,c.w)(e),(0,c.w)(w),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${H}-close-icon`,onClick:W},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),W(t)},className:a()(null==e?void 0:e.className,`${H}-close-icon`)}))}}),F="function"==typeof $.onClick||p&&"a"===p.type,_=g||null,L=_?r.createElement(r.Fragment,null,_,p&&r.createElement("span",null,p)):p,D=r.createElement("span",Object.assign({},I,{ref:t,className:T,style:M}),L,A,S&&r.createElement(E,{key:"preset",prefixCls:H}),P&&r.createElement(Z,{key:"status",prefixCls:H}));return B(F?r.createElement(u.Z,{component:"Tag"},D):D)});z.CheckableTag=C;var I=z},64894:function(e,t,n){"use strict";var r=n(83963),o=n(67294),a=n(32857),l=n(30672),i=o.forwardRef(function(e,t){return o.createElement(l.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=i},97334:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,n,r,o){n=n||"&",r=r||"=";var a={};if("string"!=typeof e||0===e.length)return a;var l=/\+/g;e=e.split(n);var i=1e3;o&&"number"==typeof o.maxKeys&&(i=o.maxKeys);var c=e.length;i>0&&c>i&&(c=i);for(var s=0;s=0?(u=p.substr(0,g),d=p.substr(g+1)):(u=p,d=""),f=decodeURIComponent(u),m=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(a,f))?t(a[f])?a[f].push(m):a[f]=[a[f],m]:a[f]=m}return a};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,a,l,i){return(a=a||"&",l=l||"=",null===e&&(e=void 0),"object"==typeof e)?r(o(e),function(o){var i=encodeURIComponent(t(o))+l;return n(e[o])?r(e[o],function(e){return i+encodeURIComponent(t(e))}).join(a):i+encodeURIComponent(t(e[o]))}).join(a):i?encodeURIComponent(t(i))+l+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r-1,r.createElement(T,(0,s.Z)({},E,{prefixCls:n,key:v,panelKey:v,isActive:O,accordion:a,openMotion:u,expandIcon:p,header:g,collapsible:A,onItemClick:function(e){"disabled"!==A&&(l(e),null==b||b(e))},destroyInactivePanel:null!=y?y:o}),d)})},A=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,p=n.expandIcon,d=e.key||String(t),f=e.props,g=f.header,m=f.headerClass,h=f.destroyInactivePanel,b=f.collapsible,y=f.onItemClick,E=!1;E=i?c[0]===d:c.indexOf(d)>-1;var T=null!=b?b:o,S={key:d,panelKey:d,header:g,headerClass:m,isActive:E,prefixCls:a,destroyInactivePanel:null!=h?h:s,openMotion:u,accordion:i,children:e.props.children,onItemClick:function(e){"disabled"!==T&&(l(e),null==y||y(e))},expandIcon:p,collapsible:T};return"string"==typeof e.type?e:(Object.keys(S).forEach(function(e){void 0===S[e]&&delete S[e]}),r.cloneElement(e,S))},O=n(64217);function _(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,m=e.accordion,h=e.className,b=e.children,y=e.collapsible,E=e.openMotion,T=e.expandIcon,S=e.activeKey,k=e.defaultActiveKey,I=e.onChange,C=e.items,N=o()(i,h),w=(0,p.Z)([],{value:S,onChange:function(e){return null==I?void 0:I(e)},defaultValue:k,postState:_}),x=(0,c.Z)(w,2),R=x[0],L=x[1];(0,d.ZP)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(n={prefixCls:i,accordion:m,openMotion:E,expandIcon:T,collapsible:y,destroyInactivePanel:void 0!==u&&u,onItemClick:function(e){return L(function(){return m?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(C)?v(C,n):(0,g.Z)(b).map(function(e,t){return A(e,t,n)}));return r.createElement("div",(0,s.Z)({ref:t,className:N,style:f,role:m?"tablist":void 0},(0,O.Z)(e,{aria:!0,data:!0})),D)}),{Panel:T});k.Panel;var I=n(98423),C=n(33603),N=n(96159),w=n(53124),x=n(98675);let R=r.forwardRef((e,t)=>{let{getPrefixCls:n}=r.useContext(w.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(47648),D=n(14747),P=n(33507),M=n(83559),F=n(87893);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:p,colorText:d,colorTextHeading:f,colorTextDisabled:g,fontSizeLG:m,lineHeight:h,lineHeightLG:b,marginSM:y,paddingSM:E,paddingLG:T,paddingXS:S,motionDurationSlow:v,fontSizeIcon:A,contentPadding:O,fontHeight:_,fontHeightLG:k}=e,I=`${(0,L.bf)(c)} ${u} ${p}`;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:f,lineHeight:h,cursor:"pointer",transition:`all ${v}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:_,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},(0,D.Ro)()),{fontSize:A,transition:`transform ${v}`,svg:{transition:`transform ${v}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:d,backgroundColor:n,borderTop:I,[`& > ${t}-content-box`]:{padding:O},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:S,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(S).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:b,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(T).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:T}}},[`${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: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 z=r.forwardRef((e,t)=>{let{getPrefixCls:n,direction:i,collapse:s}=r.useContext(w.E_),{prefixCls:l,className:c,rootClassName:u,style:p,bordered:d=!0,ghost:f,size:m,expandIconPosition:h="start",children:b,expandIcon:y}=e,E=(0,x.Z)(e=>{var t;return null!==(t=null!=m?m:e)&&void 0!==t?t:"middle"}),T=n("collapse",l),S=n(),[v,A,O]=G(T),_=r.useMemo(()=>"left"===h?"start":"right"===h?"end":h,[h]),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,N.Tm)(t,()=>{var e;return{className:o()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${T}-arrow`)}})},[R,T]),D=o()(`${T}-icon-position-${_}`,{[`${T}-borderless`]:!d,[`${T}-rtl`]:"rtl"===i,[`${T}-ghost`]:!!f,[`${T}-${E}`]:"middle"!==E},null==s?void 0:s.className,c,u,A,O),P=Object.assign(Object.assign({},(0,C.Z)(S)),{motionAppear:!1,leavedClassName:`${T}-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,N.Tm)(e,o)}return e}):null,[b]);return v(r.createElement(k,Object.assign({ref:t,openMotion:P},(0,I.Z)(e,["rootClassName"]),{expandIcon:L,prefixCls:T,className:D,style:Object.assign(Object.assign({},null==s?void 0:s.style),p)}),M))});var $=Object.assign(z,{Panel:R})},72906:function(e,t,n){"use strict";n.d(t,{Z:function(){return eC}});var r=n(67294),a=n(1208),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),p=n(71002),d=n(45987),f=n(27678),g=n(21770),m=n(40974),h=n(64019),b=n(15105),y=n(2788),E=n(29372),T=r.createContext(null),S=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,p=e.countRender,d=e.showSwitch,f=e.showProgress,g=e.current,m=e.transform,h=e.count,S=e.scale,v=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,I=e.onClose,C=e.onZoomIn,N=e.onZoomOut,w=e.onRotateRight,x=e.onRotateLeft,R=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(T),j=u.rotateLeft,U=u.rotateRight,H=u.zoomIn,G=u.zoomOut,z=u.close,$=u.left,W=u.right,Z=u.flipX,Y=u.flipY,V="".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:Y,onClick:L,type:"flipY"},{icon:Z,onClick:R,type:"flipX"},{icon:j,onClick:x,type:"rotateLeft"},{icon:U,onClick:w,type:"rotateRight"},{icon:G,onClick:N,type:"zoomOut",disabled:S<=v},{icon:H,onClick:C,type:"zoomIn",disabled:S===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(V,(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===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:I},O||z),d&&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:_},$),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),g===h-1)),onClick:k},W)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},p?p(g+1,h):"".concat(g+1," / ").concat(h)),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:x,onRotateRight:w,onZoomOut:N,onZoomIn:C,onReset:D,onClose:I},transform:m},B?{current:g,total:h}:{}),{},{image:F})):K)))})},v=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);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 I(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 C(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),p="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"):p&&l("normal")},[t]);var d=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,d())},p&&a?{src:a}:{onLoad:d,src:t},s]}function N(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var w=["fallback","src","imgRef"],x=["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,d.Z)(e,w),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],p=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,p))},L=function(e){var t,n,a,i,p,g,y,E,k,C,w,L,D,P,M,F,B,j,U,H,G,z,$,W,Z,Y,V,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,ep=e.count,ed=void 0===ep?1:ep,ef=e.countRender,eg=e.scaleStep,em=void 0===eg?.5:eg,eh=e.minScale,eb=void 0===eh?1:eh,ey=e.maxScale,eE=void 0===ey?50:ey,eT=e.transitionName,eS=e.maskTransitionName,ev=void 0===eS?"fade":eS,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eI=e.onChange,eC=(0,d.Z)(e,x),eN=(0,r.useRef)(),ew=(0,r.useContext)(T),ex=ew&&ed>1,eR=ew&&ed>=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)(O),p=(i=(0,u.Z)(a,2))[0],g=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.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==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},p),e))},{transform:p,resetTransform:function(e){g(O),(0,v.Z)(O,p)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=eN.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,d=i.offsetTop,g=e,m=p.scale*e;m>eE?(m=eE,g=eE/p.scale):m0&&(t=1/t),eH(t,"wheel",e.clientX,e.clientY)}}}),ez=eG.isMoving,e$=eG.onMouseDown,eW=eG.onWheel,eZ=(U=eB.rotate,H=eB.scale,G=eB.x,z=eB.y,$=(0,r.useState)(!1),Z=(W=(0,u.Z)($,2))[0],Y=W[1],V=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){V.current=(0,l.Z)((0,l.Z)({},V.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:Z,onTouchStart:function(e){if(en){e.stopPropagation(),Y(!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-z},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=V.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=N(e,n),i=N(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),p=(0,u.Z)(c,2),d=p[0],f=p[1];eH(N(s,l)/N(a,i),"touchZoom",d,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(Z&&Y(!1),q({eventType:"none"}),eb>H)return eU({x:0,y:0,scale:eb},"touchZoom");var e=eN.current.offsetWidth*H,t=eN.current.offsetHeight*H,n=eN.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=I(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eY=eZ.isTouching,eV=eZ.onTouchStart,eq=eZ.onTouchMove,eK=eZ.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),ez));(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==eI||eI(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eb=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 ec.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ep.vS),{padding:`0 ${(0,el.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ey=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:p}=e,d=new ec.C(n).setAlpha(.1),f=d.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:p,backgroundColor:d.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,el.bf)(o)}`,backgroundColor:d.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}}}}},eE=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new ec.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}}},eT=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({},eh()),{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({},eh()),{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()},"&":[ey(e),eE(e)]}]},eS=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({},eb(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},eh())}}},ev=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ed._y)(e,"zoom"),"&":(0,ef.J$)(e,!0)}};var eA=(0,eg.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,em.IX)(e,{previewCls:t,modalMaskBg:new ec.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eS(n),eT(n),(0,eu.QA)((0,em.IX)(n,{componentCls:t})),ev(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new ec.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ec.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ec.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eO=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(J,null),rotateRight:r.createElement(et,null),zoomIn:r.createElement(ei,null),zoomOut:r.createElement(es,null),close:r.createElement(Y.Z,null),left:r.createElement(V.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(er,null),flipY:r.createElement(er,{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 eI=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=ek(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:p,locale:d=Z.Z,getPopupContainer:f,image:g}=r.useContext($.E_),m=p("image",n),h=p(),b=d.Image||Z.Z.Image,y=(0,W.Z)(m),[E,T,S]=eA(m,y),v=o()(l,T,S,y),A=o()(s,T,null==g?void 0:g.className),[O]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=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:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:e_},s),{getContainer:null!=n?n:f,transitionName:(0,z.m)(h,"zoom",t.transitionName),maskTransitionName:(0,z.m)(h,"fade",t.maskTransitionName),zIndex:O,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]),k=Object.assign(Object.assign({},null==g?void 0:g.style),c);return E(r.createElement(H,Object.assign({prefixCls:m,preview:_,rootClassName:v,className:A,style:k},u)))};eI.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eO(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext($.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,W.Z)(s),[p,d,f]=eA(s,u),[g]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(d,f,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 p(r.createElement(H.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:e_},a)))};var eC=eI},94470: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,p=arguments[0],d=1,f=arguments.length,g=!1;for("boolean"==typeof p&&(g=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d4&&g.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,p)).charAt(0).toUpperCase()+n.slice(1):(f=(d=t).slice(4),t=l.test(f)?d:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),h=a),new h(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),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}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,p=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:p,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|p,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:p,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:p,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,p={},d={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new a(p,d,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);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,p=-1;for(s&&(this.space=s),r.call(this,e,t);++p=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480: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}},25160:function(e,t,n){"use strict";n.d(t,{r:function(){return vg}});var r,a,i,o,s,l,c,u,p,d,f,g,m,h,b,y,E,T,S,v,A,O,_,k,I,C,N,w,x,R,L,D,P,M,F,B,j,U,H,G,z,$,W,Z,Y,V,q,K,X,Q={};n.r(Q),n.d(Q,{area:function(){return iO},bottom:function(){return iR},bottomLeft:function(){return iR},bottomRight:function(){return iR},inside:function(){return iR},left:function(){return iR},outside:function(){return iM},right:function(){return iR},spider:function(){return iG},surround:function(){return i$},top:function(){return iR},topLeft:function(){return iR},topRight:function(){return iR}});var J={};n.r(J),n.d(J,{geoAlbers:function(){return bv.Z},geoAlbersUsa:function(){return bS.Z},geoAzimuthalEqualArea:function(){return bA.Z},geoAzimuthalEqualAreaRaw:function(){return bA.l},geoAzimuthalEquidistant:function(){return bO.Z},geoAzimuthalEquidistantRaw:function(){return bO.N},geoConicConformal:function(){return b_.Z},geoConicConformalRaw:function(){return b_.l},geoConicEqualArea:function(){return bk.Z},geoConicEqualAreaRaw:function(){return bk.v},geoConicEquidistant:function(){return bI.Z},geoConicEquidistantRaw:function(){return bI.o},geoEqualEarth:function(){return bC.Z},geoEqualEarthRaw:function(){return bC.i},geoEquirectangular:function(){return bN.Z},geoEquirectangularRaw:function(){return bN.k},geoGnomonic:function(){return bw.Z},geoGnomonicRaw:function(){return bw.M},geoIdentity:function(){return bx.Z},geoMercator:function(){return bL.ZP},geoMercatorRaw:function(){return bL.hk},geoNaturalEarth1:function(){return bD.Z},geoNaturalEarth1Raw:function(){return bD.K},geoOrthographic:function(){return bP.Z},geoOrthographicRaw:function(){return bP.I},geoProjection:function(){return bR.Z},geoProjectionMutator:function(){return bR.r},geoStereographic:function(){return bM.Z},geoStereographicRaw:function(){return bM.T},geoTransverseMercator:function(){return bF.Z},geoTransverseMercatorRaw:function(){return bF.F}});var ee={};n.r(ee),n.d(ee,{frequency:function(){return yR},id:function(){return yL},name:function(){return yD},weight:function(){return yx}});var et=n(74902),en=n(1413),er=n(87462),ea=n(97685),ei=n(45987);function eo(){return(eo=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&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 e_(e){return(0,eh.R_)(e)[0]}function ek(e){return e?Array.isArray(e)?e:[e]:[]}var eI=function(e){var t=(0,es.useContext)(eb),n=t.csp,r=t.prefixCls,a="\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&&(a=a.replace(/anticon/g,r)),(0,es.useEffect)(function(){var t=e.current,r=(0,eS.A)(t);(0,eT.hq)(a,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},eC=["icon","className","onClick","style","primaryColor","secondaryColor"],eN={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},ew=function(e){var t,n,r=e.icon,a=e.className,i=e.onClick,o=e.style,s=e.primaryColor,l=e.secondaryColor,c=ef(e,eC),u=es.useRef(),p=eN;if(s&&(p={primaryColor:s,secondaryColor:l||e_(s)}),eI(u),t=eA(r),n="icon should be icon definiton, but got ".concat(r),(0,ev.ZP)(t,"[@ant-design/icons] ".concat(n)),!eA(r))return null;var d=r;return d&&"function"==typeof d.icon&&(d=eE(eE({},d),{},{icon:d.icon(p.primaryColor,p.secondaryColor)})),function e(t,n,r){return r?es.createElement(t.tag,eE(eE({key:n},eO(t.attrs)),r),(t.children||[]).map(function(r,a){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(a))})):es.createElement(t.tag,eE({key:n},eO(t.attrs)),(t.children||[]).map(function(r,a){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(a))}))}(d.icon,"svg-".concat(d.name),eE(eE({className:a,onClick:i,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};function ex(e){var t=eu(ek(e),2),n=t[0],r=t[1];return ew.setTwoToneColors({primaryColor:n,secondaryColor:r})}ew.displayName="IconReact",ew.getTwoToneColors=function(){return eE({},eN)},ew.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;eN.primaryColor=t,eN.secondaryColor=n||e_(t),eN.calculated=!!n};var eR=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];ex(eh.iN.primary);var eL=es.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=ef(e,eR),u=es.useContext(eb),p=u.prefixCls,d=void 0===p?"anticon":p,f=u.rootClassName,g=em()(f,d,ed(ed({},"".concat(d,"-").concat(r.name),!!r.name),"".concat(d,"-spin"),!!a||"loading"===r.name),n),m=o;void 0===m&&s&&(m=-1);var h=eu(ek(l),2),b=h[0],y=h[1];return es.createElement("span",eo({role:"img","aria-label":r.name},c,{ref:t,tabIndex:m,onClick:s,className:g}),es.createElement(ew,{icon:r,primaryColor:b,secondaryColor:y,style:i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0}))});eL.displayName="AntdIcon",eL.getTwoToneColor=function(){var e=ew.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},eL.setTwoToneColor=ex;var eD=es.forwardRef(function(e,t){return es.createElement(eL,eo({},e,{ref:t,icon:el.Z}))}),eP=n(96486),eM=function(){return(eM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case eW:e.return=function e(t,n,r){var a;switch(a=n,45^eJ(t,0)?(((a<<2^eJ(t,0))<<2^eJ(t,1))<<2^eJ(t,2))<<2^eJ(t,3):0){case 5103:return eG+"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 eG+t+t;case 4789:return eH+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eG+t+eH+t+eU+t+t;case 5936:switch(eJ(t,n+11)){case 114:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eG+t+eU+eX(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eG+t+eU+t+t;case 6165:return eG+t+eU+"flex-"+t+t;case 5187:return eG+t+eX(t,/(\w+).+(:[^]+)/,eG+"box-$1$2"+eU+"flex-$1$2")+t;case 5443:return eG+t+eU+"flex-item-"+eX(t,/flex-|-self/g,"")+(eK(t,/flex-|baseline/)?"":eU+"grid-row-"+eX(t,/flex-|-self/g,""))+t;case 4675:return eG+t+eU+"flex-line-pack"+eX(t,/align-content|flex-|-self/g,"")+t;case 5548:return eG+t+eU+eX(t,"shrink","negative")+t;case 5292:return eG+t+eU+eX(t,"basis","preferred-size")+t;case 6060:return eG+"box-"+eX(t,"-grow","")+eG+t+eU+eX(t,"grow","positive")+t;case 4554:return eG+eX(t,/([^-])(transform)/g,"$1"+eG+"$2")+t;case 6187:return eX(eX(eX(t,/(zoom-|grab)/,eG+"$1"),/(image-set)/,eG+"$1"),t,"")+t;case 5495:case 3959:return eX(t,/(image-set\([^]*)/,eG+"$1$`$1");case 4968:return eX(eX(t,/(.+:)(flex-)?(.*)/,eG+"box-pack:$3"+eU+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eG+t+t;case 4200:if(!eK(t,/flex-|baseline/))return eU+"grid-column-align"+e0(t,n)+t;break;case 2592:case 3360:return eU+eX(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eK(e.props,/grid-\w+-end/)}))return~eQ(t+(r=r[n].value),"span",0)?t:eU+eX(t,"-start","")+t+eU+"grid-row-span:"+(~eQ(r,"span",0)?eK(r,/\d+/):+eK(r,/\d+/)-+eK(t,/\d+/))+";";return eU+eX(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eK(e.props,/grid-\w+-start/)})?t:eU+eX(eX(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eX(t,/(.+)-inline(.+)/,eG+"$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(e1(t)-1-n>6)switch(eJ(t,n+1)){case 109:if(45!==eJ(t,n+4))break;case 102:return eX(t,/(.+:)(.+)-([^]+)/,"$1"+eG+"$2-$3$1"+eH+(108==eJ(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eQ(t,"stretch",0)?e(eX(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eX(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eU+n+":"+r+s+(a?eU+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eJ(t,n+6))return eX(t,":",":"+eG)+t;break;case 6444:switch(eJ(t,45===eJ(t,14)?18:11)){case 120:return eX(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eG+(45===eJ(t,14)?"inline-":"")+"box$3$1"+eG+"$2$3$1"+eU+"$2box$3")+t;case 100:return eX(t,":",":"+eU)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eX(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eZ:return ts([tt(e,{value:eX(e.value,"@","@"+eG)})],r);case e$:if(e.length)return(n=e.props).map(function(t){switch(eK(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":tn(tt(e,{props:[eX(t,/:(read-\w+)/,":"+eH+"$1")]})),tn(tt(e,{props:[t]})),eq(e,{props:e3(n,r)});break;case"::placeholder":tn(tt(e,{props:[eX(t,/:(plac\w+)/,":"+eG+"input-$1")]})),tn(tt(e,{props:[eX(t,/:(plac\w+)/,":"+eH+"$1")]})),tn(tt(e,{props:[eX(t,/:(plac\w+)/,eU+"input-$1")]})),tn(tt(e,{props:[t]})),eq(e,{props:e3(n,r)})}return""}).join("")}}function tu(e,t,n,r,a,i,o,s,l,c,u,p){for(var d=a-1,f=0===a?i:[""],g=f.length,m=0,h=0,b=0;m0?f[y]+" "+E:eX(E,/&\f/g,f[y])).trim())&&(l[b++]=T);return te(e,t,n,0===a?e$:s,l,c,u,p)}function tp(e,t,n,r,a){return te(e,t,n,eW,e0(e,0,r),e0(e,r+1,-1),r,a)}var td={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},tf=n(83454),tg=void 0!==tf&&void 0!==tf.env&&(tf.env.REACT_APP_SC_ATTR||tf.env.SC_ATTR)||"data-styled",tm="active",th="data-styled-version",tb="6.1.12",ty="/*!sc*/\n",tE="undefined"!=typeof window&&"HTMLElement"in window,tT=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==tf&&void 0!==tf.env&&void 0!==tf.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==tf.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==tf.env.REACT_APP_SC_DISABLE_SPEEDY&&tf.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==tf&&void 0!==tf.env&&void 0!==tf.env.SC_DISABLE_SPEEDY&&""!==tf.env.SC_DISABLE_SPEEDY&&"false"!==tf.env.SC_DISABLE_SPEEDY&&tf.env.SC_DISABLE_SPEEDY),tS=Object.freeze([]),tv=Object.freeze({}),tA=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"]),tO=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,t_=/(^-|-$)/g;function tk(e){return e.replace(tO,"-").replace(t_,"")}var tI=/(a)(d)/gi,tC=function(e){return String.fromCharCode(e+(e>25?39:97))};function tN(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tC(t%52)+n;return(tC(t%52)+n).replace(tI,"$1-$2")}var tw,tx=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tR=function(e){return tx(5381,e)};function tL(e){return"string"==typeof e}var tD="function"==typeof Symbol&&Symbol.for,tP=tD?Symbol.for("react.memo"):60115,tM=tD?Symbol.for("react.forward_ref"):60112,tF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tB={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tj={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tU=((tw={})[tM]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tw[tP]=tj,tw);function tH(e){return("type"in e&&e.type.$$typeof)===tP?tj:"$$typeof"in e?tU[e.$$typeof]:tF}var tG=Object.defineProperty,tz=Object.getOwnPropertyNames,t$=Object.getOwnPropertySymbols,tW=Object.getOwnPropertyDescriptor,tZ=Object.getPrototypeOf,tY=Object.prototype;function tV(e){return"function"==typeof e}function tq(e){return"object"==typeof e&&"styledComponentId"in e}function tK(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tX(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var t1=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 t0(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(ty)}}})(a);return r}(r)})}return e.registerId=function(e){return t5(e)},e.prototype.rehydrate=function(){!this.server&&tE&&nt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eM(eM({},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 ni(r):n?new nr(r):new na(r),new t1(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(t5(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(t5(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(t5(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),nc=/&/g,nu=/^\s*\/\/.*$/gm;function np(e){var t,n,r,a=void 0===e?tv:e,i=a.options,o=void 0===i?tv:i,s=a.plugins,l=void 0===s?tS: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===e$&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(nc,n).replace(r,c))}),o.prefix&&u.push(tc),u.push(tl);var p=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,p,d,f,g=e.replace(nu,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,p=0,d=0,f=s,g=0,m=0,h=0,b=1,y=1,E=1,T=0,S="",v=i,A=o,O=a,_=S;y;)switch(h=T,T=tr()){case 40:if(108!=h&&58==eJ(_,f-1)){-1!=eQ(_+=eX(to(T),"&","&\f"),"&\f",eY(p?l[p-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=to(T);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e8=ta();)if(e8<33)tr();else break;return ti(e)>2||ti(e8)>3?"":" "}(h);break;case 92:_+=function(e,t){for(var n;--t&&tr()&&!(e8<48)&&!(e8>102)&&(!(e8>57)||!(e8<65))&&(!(e8>70)||!(e8<97)););return n=e9+(t<6&&32==ta()&&32==tr()),e0(e7,e,n)}(e9-1,7);continue;case 47:switch(ta()){case 42:case 47:e2(te(u=function(e,t){for(;tr();)if(e+e8===57)break;else if(e+e8===84&&47===ta())break;return"/*"+e0(e7,t,e9-1)+"*"+eV(47===e?e:tr())}(tr(),e9),n,r,ez,eV(e8),e0(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[p++]=e1(_)*E;case 125*b:case 59:case 0:switch(T){case 0:case 125:y=0;case 59+d:-1==E&&(_=eX(_,/\f/g,"")),m>0&&e1(_)-f&&e2(m>32?tp(_+";",a,r,f-1,c):tp(eX(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(e2(O=tu(_,n,r,p,d,i,l,S,v=[],A=[],f,o),o),123===T){if(0===d)e(_,n,O,O,v,o,f,l,A);else switch(99===g&&110===eJ(_,3)?100:g){case 100:case 108:case 109:case 115:e(t,O,O,a&&e2(tu(t,O,O,0,0,i,l,S,i,v=[],f,A),A),i,A,f,l,a?v:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}p=d=m=0,b=E=1,S=_="",f=s;break;case 58:f=1+e1(_),m=h;default:if(b<1){if(123==T)--b;else if(125==T&&0==b++&&125==(e8=e9>0?eJ(e7,--e9):0,e5--,10===e8&&(e5=1,e4--),e8))continue}switch(_+=eV(T),T*b){case 38:E=d>0?1:(_+="\f",-1);break;case 44:l[p++]=(e1(_)-1)*E,E=1;break;case 64:45===ta()&&(_+=to(tr())),g=ta(),d=f=e1(S=_+=function(e){for(;!ti(ta());)tr();return e0(e7,e,e9)}(e9)),T++;break;case 45:45===h&&2==e1(_)&&(b=0)}}return o}("",null,null,null,[""],(d=p=i||a?"".concat(i," ").concat(a," { ").concat(g," }"):g,e4=e5=1,e6=e1(e7=d),e9=0,p=[]),0,[0],p),e7="",f);o.namespace&&(m=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})}(m,o.namespace));var h=[];return ts(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,h.push(t))})).length,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 nT=function(e){return null==e||!1===e||""===e},nS=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nT(r)&&(Array.isArray(r)&&r.isCss||tV(r)?t.push("".concat(nE(n),":"),r,";"):tQ(r)?t.push.apply(t,eF(eF(["".concat(n," {")],nS(r),!1),["}"],!1)):t.push("".concat(nE(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in td||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nv(e,t,n,r){return nT(e)?[]:tq(e)?[".".concat(e.styledComponentId)]:tV(e)?!tV(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nv(e(t),t,n,r):e instanceof ny?n?(e.inject(n,r),[e.getName(r)]):[e]:tQ(e)?nS(e):Array.isArray(e)?Array.prototype.concat.apply(tS,e.map(function(e){return nv(e,t,n,r)})):[e.toString()]}function nA(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=tK(r,i),this.staticRulesId=i}}else{for(var s=tx(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=tK(r,d)}}return r},e}(),nk=es.createContext(void 0);nk.Consumer;var nI={};function nC(e,t,n){var r,a,i,o,s=tq(e),l=!tL(e),c=t.attrs,u=void 0===c?tS:c,p=t.componentId,d=void 0===p?(r=t.displayName,a=t.parentComponentId,nI[i="string"!=typeof r?"sc":tk(r)]=(nI[i]||0)+1,o="".concat(i,"-").concat(tN(tR(tb+i+nI[i])>>>0)),a?"".concat(a,"-").concat(o):o):p,f=t.displayName,g=void 0===f?tL(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(tk(t.displayName),"-").concat(t.componentId):t.componentId||d,h=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 T=new n_(n,m,s?e.componentStyle:void 0);function S(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,p=es.useContext(nk),d=nh(),f=e.shouldForwardProp||d.shouldForwardProp,g=(void 0===(r=s)&&(r=tv),t.theme!==r.theme&&t.theme||p||r.theme||tv),m=function(e,t,n){for(var r,a=eM(eM({},t),{className:void 0,theme:n}),i=0;i2&&nl.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=tX([r&&'nonce="'.concat(r,'"'),"".concat(tg,'="true"'),"".concat(th,'="').concat(tb,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw t0(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw t0(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[tg]="",t[th]=tb,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[es.createElement("style",eM({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new nl({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw t0(2);return es.createElement(nb,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw t0(3)}}();var nL=n(4942),nD=n(73935),nP=n.t(nD,2),nM=function(){return(nM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(q=nF.createRoot)}catch(e){}function nU(e){var t=nF.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nH="__rc_react_root__",nG=new Map;"undefined"!=typeof document&&nG.set("tooltip",document.createElement("div"));var nz=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nG.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nG.get(e.key);r?n=r:nG.set(e.key,n)}return!function(e,t){if(q){var n;nU(!0),n=t[nH]||q(t),nU(!1),n.render(e),t[nH]=n;return}nj(e,t)}(e,n),n},n$=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)},nW=function(e){var t=e.loadingTemplate,n=e.theme,r=es.useRef(null);return es.useEffect(function(){!t&&r.current&&n$(r.current)},[]),es.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||es.createElement("div",{ref:r}))},nZ=(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)}),nY=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||es.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nZ(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):es.createElement(es.Fragment,null,this.props.children)},t}(es.Component),nV=function(){return(nV=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},nK=n(90494),nX=n(1242),nQ=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 nJ=(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"]];nJ.style=["fill"];let n0=nJ.bind(void 0);n0.style=["stroke","lineWidth"];let n1=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];n1.style=["fill"];let n2=n1.bind(void 0);n2.style=["fill"];let n3=n1.bind(void 0);n3.style=["stroke","lineWidth"];let n4=(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"]]};n4.style=["fill"];let n5=n4.bind(void 0);n5.style=["stroke","lineWidth"];let n6=(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"]]};n6.style=["fill"];let n9=n6.bind(void 0);n9.style=["stroke","lineWidth"];let n8=(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"]]};n8.style=["fill"];let n7=n8.bind(void 0);n7.style=["stroke","lineWidth"];let re=(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"]]};re.style=["fill"];let rt=re.bind(void 0);rt.style=["stroke","lineWidth"];let rn=(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"]]};rn.style=["fill"];let rr=rn.bind(void 0);rr.style=["stroke","lineWidth"];let ra=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];ra.style=["stroke","lineWidth"];let ri=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];ri.style=["stroke","lineWidth"];let ro=(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]];ro.style=["stroke","lineWidth"];let rs=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rs.style=["stroke","lineWidth"];let rl=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rl.style=["stroke","lineWidth"];let rc=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rc.style=["stroke","lineWidth"];let ru=rc.bind(void 0);ru.style=["stroke","lineWidth"];let rp=(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]];rp.style=["stroke","lineWidth"];let rd=(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]];rd.style=["stroke","lineWidth"];let rf=(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]];rf.style=["stroke","lineWidth"];let rg=(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]];rg.style=["stroke","lineWidth"];let rm=(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]];rm.style=["stroke","lineWidth"];let rh=new Map([["bowtie",rn],["cross",ri],["dash",ru],["diamond",n4],["dot",rc],["hexagon",re],["hollowBowtie",rr],["hollowDiamond",n5],["hollowHexagon",rt],["hollowPoint",n0],["hollowSquare",n3],["hollowTriangle",n9],["hollowTriangleDown",n7],["hv",rd],["hvh",rg],["hyphen",rl],["line",ra],["plus",rs],["point",nJ],["rect",n2],["smooth",rp],["square",n1],["tick",ro],["triangleDown",n8],["triangle",n6],["vh",rf],["vhv",rm]]),rb={};function ry(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),rh.set(n,t)}else Object.assign(rb,{[e]:t})}var rE=n(31989),rT=n(98875),rS=n(68040),rv=n(83787),rA=n(44022),rO=n(95147),r_=function(e){return(0,rO.Z)(e)?"":e.toString()},rk=function(e){var t=r_(e);return t.charAt(0).toLowerCase()+t.substring(1)},rI=n(83845);function rC(e){return e}function rN(e){return e.reduce((e,t)=>(n,...r)=>t(e(n,...r),...r),rC)}function rw(e){return e.replace(/( |^)[a-z]/g,e=>e.toUpperCase())}function rx(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 rL(e){return null!=e&&!Number.isNaN(e)}function rD(e,t){return rP(e,t)||{}}function rP(e,t){let n=Object.entries(e||{}).filter(([e])=>e.startsWith(t)).map(([e,n])=>[rk(e.replace(t,"").trim()),n]).filter(([e])=>!!e);return 0===n.length?null:Object.fromEntries(n)}function rM(e,...t){return Object.fromEntries(Object.entries(e).filter(([e])=>t.every(t=>!e.startsWith(t))))}function rF(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 rB(e){return"object"==typeof e&&!(e instanceof Date)&&null!==e&&!Array.isArray(e)}function rj(e){return null===e||!1===e}function rU(e){return new rH([e],null,e,e.ownerDocument)}class rH{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 rH(t,null,this._elements[0],this._document)}selectFacetAll(e){let t="string"==typeof e?this._parent.querySelectorAll(e):e;return new rH(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 rH([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=(0,rA.ZP)(this._elements,e=>n(e.__data__));for(let p=0;pe,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 rH([],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}}rH.registry={g:nX.ZA,rect:nX.UL,circle:nX.Cd,path:nX.y$,text:nX.xv,ellipse:nX.Pj,image:nX.Ee,line:nX.x1,polygon:nX.mg,polyline:nX.aH,html:nX.k9};let rG={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 rz=n(5199),r$=function(e){var t=r_(e);return t.charAt(0).toUpperCase()+t.substring(1)},rW=n(17694);function rZ(e,t){return Object.entries(e).reduce((n,[r,a])=>(n[r]=t(a,r,e),n),{})}function rY(e){return e.map((e,t)=>t)}function rV(e){return e[e.length-1]}function rq(e,t){let n=[[],[]];return e.forEach(e=>{n[t(e)?0:1].push(e)}),n}var rK=n(30335),rX=n(90155),rQ=n(98823);let rJ=(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}))},r0=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=rJ(e);return[["translate",0,.5],["reflect.y"],["translate",0,-.5],["polar",t,n,r,a]]};r0.props={};let r1=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),r2=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=r1(e);return[["transpose"],["translate",.5,.5],["reflect"],["translate",-.5,-.5],...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};function r3(e,t,n){return Math.max(t,Math.min(e,n))}function r4(e,t=10){return"number"!=typeof e?e:1e-15>Math.abs(e)?e:parseFloat(e.toFixed(t))}r2.props={};let r5=[["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 r6=n(17816);function r9(e){let{transformations:t}=e.getOptions(),n=t.map(([e])=>e).filter(e=>"transpose"===e);return n.length%2!=0}function r8(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"polar"===e)}function r7(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"reflect"===e)&&t.some(([e])=>e.startsWith("transpose"))}function ae(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"helix"===e)}function at(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"parallel"===e)}function an(e){let{transformations:t}=e.getOptions();return t.some(([e])=>"fisheye"===e)}function ar(e){return ae(e)||r8(e)}function aa(e){let{transformations:t}=e.getOptions(),[,,,n,r]=t.find(e=>"polar"===e[0]);return[+n,+r]}function ai(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 ao=n(47537),as=n(36380),al=n(4637),ac=function(e,t){if(e){if((0,rz.Z)(e))for(var n=0,r=e.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};function am(e,t,n){return e.querySelector(t)?rU(e).select(t):rU(e).append(n)}function ah(e){return Array.isArray(e)?e.join(", "):`${e||""}`}function ab(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 ay extends af.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 aE extends ay{update(e){var t;let{subOptions:n}=e;this.attr(e),null===(t=this.child)||void 0===t||t.update(n)}}function aT(e,t){var n;return null===(n=e.filter(e=>e.getOptions().name===t))||void 0===n?void 0:n[0]}function aS(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:p}=n.props,d=i||u||l,f=o||p||c,[g,m]=s?[f,d]:[d,f];return{orientation:s?"horizontal":"vertical",width:g,height:m,size:d,length:f}}function av(e){let t=["arrow","crosshairs","grid","handle","handleLabel","indicator","label","line","tick","tip","title","trunc"],{style:n}=e,r=ag(e,["style"]),a={};return Object.entries(r).forEach(([e,n])=>{t.includes(e)?a[`show${r$(e)}`]=n:a[e]=n}),Object.assign(Object.assign({},a),n)}var aA=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 aO(e,t){let{eulerAngles:n,origin:r}=t;r&&e.setOrigin(r),n&&e.rotate(n[0],n[1],n[2])}function a_(e){let{innerWidth:t,innerHeight:n,depth:r}=e.getOptions();return[t,n,r]}function ak(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]=(0,ad.Z)(t,e=>+e),{tickCount:i}=e.getOptions();return n(r,a,i)}(e,t,i),u=a?c.filter(a):c,p=e=>e instanceof Date?String(e):"object"==typeof e&&e?e:String(e),d=r||(null===(l=e.getFormatter)||void 0===l?void 0:l.call(e))||p,f=function(e,t){if(r8(t))return e=>e;let n=t.getOptions(),{innerWidth:r,innerHeight:a,insetTop:i,insetBottom:o,insetLeft:s,insetRight:l}=n,[c,u,p]="left"===e||"right"===e?[i,o,a]:[s,l,r],d=new as.b({domain:[0,1],range:[c/p,1-u/p]});return e=>d.map(e)}(o,s),g=function(e,t){let{width:n,height:r}=t.getOptions();return a=>{if(!an(t))return a;let i=t.map("bottom"===e?[a,1]:[0,a]);if("bottom"===e){let e=i[0],t=new as.b({domain:[0,n],range:[0,1]});return t.map(e)}if("left"===e){let e=i[1],t=new as.b({domain:[0,r],range:[0,1]});return t.map(e)}return a}}(o,s),m=e=>["top","bottom","center","outer"].includes(e),h=e=>["left","right"].includes(e);return r8(s)||r9(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=r7(s)&&"center"===o||r9(s)&&(null===(i=e.getTicks)||void 0===i?void 0:i.call(e))&&m(o)||r9(s)&&h(o);return{value:u?1-c:c,label:p(d(r4(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=g(f(e.map(t)+i)),l=h(o);return{value:l?1-s:s,label:p(d(r4(t),n,r)),id:String(n)}})}let aI=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?(0,rW.WU)(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)}},aC=aI(e=>{let{direction:t="left",important:n={},labelFormatter:r,order:a,orientation:i,actualPosition:o,position:s,size:l,style:c={},title:u,tickCount:p,tickFilter:d,tickMethod:f,transform:g,indexBBox:m}=e,h=aA(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 T;let{bbox:S}=b,[v]=a,{domain:A,xScale:O}=v.getOptions(),_=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${rw(a)}`]:n.axisLinear,l=e.getOptions().name,c=n[`axis${r$(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}(v,0,E,t,s,i),k=Object.assign(Object.assign(Object.assign({},_),c),h),I=function(e,t,n="xy"){let[r,a,i]=a_(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),C=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]=aa(r),[p,d]=ai(r),f=Math.min(s,l)/2,{insetLeft:g,insetTop:m}=r.getOptions(),h=c*f,b=u*f,[y,E]=[e+i-g,n+o-m],[T,S]=[Math.cos(t),Math.sin(t)],v=r8(r)&&a?(()=>{let{domain:e}=a.getOptions();return e.length})():3;return{startPos:[y+b*T,E+b*S],endPos:[y+h*T,E+h*S],gridClosed:1e-6>Math.abs(d-p-360),gridCenter:[y,E],gridControlAngles:Array(v).fill(0).map((e,t,n)=>(d-p)/v*t)}}}return{}}(s,i,S,y,O),N=function(e){let{depth:t}=e.getOptions();return t?{tickIsBillboard:!0,lineIsBillboard:!0,labelIsBillboard:!0,titleIsBillboard:!0,gridIsBillboard:!0}:{}}(y),w=ak(v,A,p,r,d,f,s,y),x=m?w.map((e,t)=>{let n=m.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):w,R=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},k),{type:"linear",data:x,crossSize:l,titleText:ah(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}(g,k),grid:(T=k.grid,!(r8(y)&&r9(y)||at(y))&&(void 0===T?!!v.getTicks:T)),gridLength:I,line:!0,indexBBox:m}),k.line?null:{lineOpacity:0}),C),N),n),L=R.labelOverlap.find(e=>"hide"===e.type);return L&&(R.crossSize=!1),new ao.R({className:"axis",style:av(R)})}}),aN=aI(e=>{let{order:t,size:n,position:r,orientation:a,labelFormatter:i,tickFilter:o,tickCount:s,tickMethod:l,important:c={},style:u={},indexBBox:p,title:d,grid:f=!1}=e,g=aA(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:m}=e.getOptions(),h=ak(e,m,s,i,o,l,r,n),b=p?h.map((e,t)=>{let n=p.get(t);return n&&n[0]===e.label?Object.assign(Object.assign({},e),{bbox:n[1]}):e}):h,[y,E]=aa(n),T=function(e,t,n,r,a){let{x:i,y:o,width:s,height:l}=t,c=[i+s/2,o+l/2],[u,p]=ai(a),[d,f]=a_(a),g={center:c,radius:Math.min(s,l)/2,startAngle:u,endAngle:p,gridLength:(r-n)*(Math.min(d,f)/2)};if("inner"===e){let{insetLeft:e,insetTop:t}=a.getOptions();return Object.assign(Object.assign({},g),{center:[c[0]-e,c[1]-t],labelAlign:"perpendicular",labelDirection:"positive",tickDirection:"positive",gridDirection:"negative"})}return Object.assign(Object.assign({},g),{labelAlign:"parallel",labelDirection:"negative",tickDirection:"negative",gridDirection:"positive"})}(r,u,y,E,n),{axis:S,axisArc:v={}}=a,A=av((0,rv.Z)({},S,v,T,Object.assign(Object.assign({type:"arc",data:b,titleText:ah(d),grid:f},g),c)));return new ao.R({style:ap(A,["transform"])})}});aC.props={defaultPosition:"center",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]},aN.props={defaultPosition:"outer",defaultOrientation:"vertical",defaultSize:45,defaultOrder:0,defaultCrossPadding:[12,12],defaultPadding:[12,12]};var aw=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 ax=e=>{let{important:t={}}=e,n=aw(e,["important"]);return r=>{let{theme:a,coordinate:i,scales:o}=r;return aC(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]=ai(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)}};ax.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"center"});var aR=n(37948),aL=n(25897),aD=n(7847),aP=n(74271);class aM extends aP.X{getDefaultOptions(){return{range:[0],domain:[0,1],unknown:void 0,tickCount:5,tickMethod:aD.Z}}map(e){let[t]=this.options.range;return void 0!==t?t:this.options.unknown}invert(e){let[t]=this.options.range;return e===t&&void 0!==t?this.options.domain:[]}getTicks(){let{tickMethod:e,domain:t,tickCount:n}=this.options,[r,a]=t;return(0,aL.Z)(r)&&(0,aL.Z)(a)?e(r,a,n):[]}clone(){return new aM(this.options)}}var aF=n(13393),aB=n(33338);class aj extends aP.X{getDefaultOptions(){return{domain:[.5],range:[0,1]}}constructor(e){super(e)}map(e){if(!(0,aF.J)(e))return this.options.unknown;let t=(0,aB.b)(this.thresholds,e,0,this.n);return this.options.range[t]}invert(e){let{range:t}=this.options,n=t.indexOf(e),r=this.thresholds;return[r[n-1],r[n]]}clone(){return new aj(this.options)}rescale(){let{domain:e,range:t}=this.options;this.n=Math.min(e.length,t.length-1),this.thresholds=e}}var aU=n(82844);function aH(e){return(0,rO.Z)(e)?0:(0,aU.Z)(e)?e.length:Object.keys(e).length}var aG=function(e,t){if(!(0,aU.Z)(e))return -1;var n=Array.prototype.indexOf;if(n)return n.call(e,t);for(var r=-1,a=0;aMath.abs(e)?e:parseFloat(e.toFixed(14))}let a$=[1,5,2,2.5,4,3],aW=100*Number.EPSILON,aZ=(e,t,n=5,r=!0,a=a$,i=[.25,.2,.5,.05])=>{let o=n<0?0:Math.round(n);if(Number.isNaN(e)||Number.isNaN(t)||"number"!=typeof e||"number"!=typeof t||!o)return[];if(t-e<1e-15||1===o)return[e];let s={score:-2,lmin:0,lmax:0,lstep:0},l=1;for(;l<1/0;){for(let n=0;n=o?2-(c-1)/(o-1):1;if(i[0]*p+i[1]+i[2]*n+i[3]r?1-((n-r)/2)**2/(.1*r)**2:1}(e,t,c*(d-1));if(i[0]*p+i[1]*f+i[2]*n+i[3]=0&&(l=1),1-s/(o-1)-n+l}(u,a,l,f,g,c),b=1-.5*((t-g)**2+(e-f)**2)/(.1*(t-e))**2,y=function(e,t,n,r,a,i){let o=(e-1)/(i-a),s=(t-1)/(Math.max(i,r)-Math.min(n,a));return 2-Math.max(o/s,s/o)}(d,o,e,t,f,g),E=i[0]*h+i[1]*b+i[2]*y+1*i[3];E>s.score&&(!r||f<=e&&g>=t)&&(s.lmin=f,s.lmax=g,s.lstep=c,s.score=E)}}g+=1}d+=1}}l+=1}let u=az(s.lmax),p=az(s.lmin),d=az(s.lstep),f=Math.floor(Math.round(1e12*((u-p)/d))/1e12)+1,g=Array(f);g[0]=az(p);for(let e=1;ee-t);let r=[];for(let n=1;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};function aX(e){let{domain:t}=e.getOptions(),[n,r]=[t[0],rV(t)];return[n,r]}let aQ=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,style:l,crossPadding:c,padding:u}=e,p=aK(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:d,y:f,width:g,height:m}=u,h=ab(i,n),{legendContinuous:b={}}=o,y=av(Object.assign({},b,Object.assign(Object.assign({titleText:ah(s),labelAlign:"value",labelFormatter:"string"==typeof t?e=>(0,rW.WU)(t)(e.label):t},function(e,t,n,r,a,i){let o=aT(e,"color"),s=function(e,t,n){var r,a,i;let{size:o}=t,s=aS(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 aj){let{range:e}=o.getOptions(),[t,n]=aX(o);return o instanceof aV||o instanceof aq?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 aM)));return Object.assign(Object.assign({},e),{domain:[p,d],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,aQ,o)),l),p)),E=new ay({style:Object.assign(Object.assign({x:d,y:f,width:g,height:m},h),{subOptions:y})});return E.appendChild(new aR.V({className:"legend-continuous",style:y})),E}};aQ.props={defaultPosition:"top",defaultOrientation:"vertical",defaultOrder:1,defaultSize:60,defaultLength:200,defaultLegendSize:60,defaultPadding:[20,10],defaultCrossPadding:[12,12]};let aJ=e=>(...t)=>aQ(Object.assign({},{block:!0},e))(...t);aJ.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let a0=e=>t=>{let{scales:n}=t,r=aT(n,"size");return aQ(Object.assign({},{type:"size",data:r.getTicks().map((e,t)=>({value:e,label:String(e)}))},e))(t)};a0.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});let a1=e=>a0(Object.assign({},{block:!0},e));a1.props=Object.assign(Object.assign({},aQ.props),{defaultPosition:"top",defaultOrientation:"horizontal"});var a2=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 a3=({static:e=!1}={})=>t=>{let{width:n,height:r,depth:a,paddingLeft:i,paddingRight:o,paddingTop:s,paddingBottom:l,padding:c,inset:u,insetLeft:p,insetTop:d,insetRight:f,insetBottom:g,margin:m,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,data:T,coordinate:S,theme:v,component:A,interaction:O,x:_,y:k,z:I,key:C,frame:N,labelTransform:w,parentKey:x,clip:R,viewStyle:L,title:D}=t,P=a2(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:_,y:k,z:I,key:C,width:n,height:r,depth:a,padding:c,paddingLeft:i,paddingRight:o,paddingTop:s,inset:u,insetLeft:p,insetTop:d,insetRight:f,insetBottom:g,paddingBottom:l,theme:v,coordinate:S,component:A,interaction:O,frame:N,labelTransform:w,margin:m,marginLeft:h,marginBottom:b,marginTop:y,marginRight:E,parentKey:x,clip:R,style:L},!e&&{title:D}),{marks:[Object.assign(Object.assign(Object.assign({},P),{key:`${C}-0`,data:T}),e&&{title:D})]})]};a3.props={};var a4=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 a5(e){return(t,...n)=>(0,rv.Z)({},e(t,...n),t)}function a6(e){return(t,...n)=>(0,rv.Z)({},t,e(t,...n))}function a9(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=a4(e,["value"]);return Object.assign(Object.assign({},r),{value:n})}return e}var a8=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 a7=()=>e=>{let{children:t}=e,n=a8(e,["children"]);if(!Array.isArray(t))return[];let{data:r,scale:a={},axis:i={},legend:o={},encode:s={},transform:l=[]}=n,c=a8(n,["data","scale","axis","legend","encode","transform"]),u=t.map(e=>{var{data:t,scale:n={},axis:c={},legend:u={},encode:p={},transform:d=[]}=e,f=a8(e,["data","scale","axis","legend","encode","transform"]);return Object.assign({data:a9(t,r),scale:(0,rv.Z)({},a,n),encode:(0,rv.Z)({},s,p),transform:[...l,...d],axis:!!c&&!!i&&(0,rv.Z)({},i,c),legend:!!u&&!!o&&(0,rv.Z)({},o,u)},f)});return[Object.assign(Object.assign({},c),{marks:u,type:"standardView"})]};function ie([e,t],[n,r]){return[e-n,t-r]}function it([e,t],[n,r]){return Math.sqrt(Math.pow(e-n,2)+Math.pow(t-r,2))}function ir([e,t]){return Math.atan2(t,e)}function ia([e,t]){return ir([e,t])+Math.PI/2}function ii(e,t){let n=ir(e),r=ir(t);return no[e]),u=new as.b({domain:[l,c],range:[0,100]}),p=e=>(0,aL.Z)(o[e])&&!Number.isNaN(o[e])?u.map(o[e]):0,d={between:t=>`${e[t]} ${p(t)}%`,start:t=>0===t?`${e[t]} ${p(t)}%`:`${e[t-1]} ${p(t)}%, ${e[t]} ${p(t)}%`,end:t=>t===e.length-1?`${e[t]} ${p(t)}%`:`${e[t]} ${p(t)}%, ${e[t+1]} ${p(t)}%`},f=s.sort((e,t)=>p(e)-p(t)).map(d[a]||d.between).join(",");return`linear-gradient(${"y"===r||!0===r?i?180:90:i?90:0}deg, ${f})`}function ip(e){let[t,n,r,a]=e;return[a,t,n,r]}function id(e,t,n){let[r,a,,i]=r9(e)?ip(t):t,[o,s]=n,l=e.getCenter(),c=ia(ie(r,l)),u=ia(ie(a,l)),p=u===c&&o!==s?u+2*Math.PI:u;return{startAngle:c,endAngle:p-c>=0?p:2*Math.PI+p,innerRadius:it(i,l),outerRadius:it(r,l)}}function ig(e){let{colorAttribute:t,opacityAttribute:n=t}=e;return`${n}Opacity`}function im(e,t){if(!r8(e))return"";let n=e.getCenter(),{transform:r}=t;return`translate(${n[0]}, ${n[1]}) ${r||""}`}function ih(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 ib(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})}a7.props={};var iy=n(86224),iE=n(25049);function iT(e){let t="function"==typeof e?e:e.render;return class extends nX.b_{connectedCallback(){this.draw()}attributeChangedCallback(){this.draw()}draw(){t(this)}}}var iS=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 iv=iT(e=>{let t;let n=e.attributes,{className:r,class:a,transform:i,rotate:o,labelTransform:s,labelTransformOrigin:l,x:c,y:u,x0:p=c,y0:d=u,text:f,background:g,connector:m,startMarker:h,endMarker:b,coordCenter:y,innerHTML:E}=n,T=iS(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,p,d].some(e=>!(0,aL.Z)(e))){e.children.forEach(e=>e.remove());return}let S=rD(T,"background"),{padding:v}=S,A=iS(S,["padding"]),O=rD(T,"connector"),{points:_=[]}=O,k=iS(O,["points"]);t=E?rU(e).maybeAppend("html","html",r).style("zIndex",0).style("innerHTML",E).call(il,Object.assign({transform:s,transformOrigin:l},T)).node():rU(e).maybeAppend("text","text").style("zIndex",0).style("text",f).call(il,Object.assign({textBaseline:"middle",transform:s,transformOrigin:l},T)).node();let I=rU(e).maybeAppend("background","rect").style("zIndex",-1).call(il,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,p]=l,[d,f]=c;return o.setEulerAngles(s),{x:u-i,y:p-n,width:2*d+i+r,height:2*f+n+a}}(t,v)).call(il,g?A:{}).node(),C=+p(0,iE.Z)()(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]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),p=l(s+1),d=ir(ie(p,u))/Math.PI*180;return{x:c[0],y:c[1],transform:`rotate(${d})`,textAlign:"center",textBaseline:"middle"}}function i_(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=rF(n.x,c),s=rF(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 ik(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s}=n,l=r.getCenter(),c=id(r,t,[a,i]),{innerRadius:u,outerRadius:p,startAngle:d,endAngle:f}=c,g="inside"===e?(d+f)/2:f,m=iC(g,o,s),h=(()=>{let[n,r]=t,[a,i]="inside"===e?iI(l,g,u+(p-u)*.5):is(n,r);return{x:a,y:i}})();return Object.assign(Object.assign({},h),{textAlign:"inside"===e?"center":"start",textBaseline:"middle",rotate:m})}function iI(e,t,n){return[e[0]+Math.sin(t)*n,e[1]-Math.cos(t)*n]}function iC(e,t,n){return t?e/Math.PI*180+(n?0:0>Math.sin(e)?90:-90):0}function iN(e,t,n,r){let{y:a,y1:i,autoRotate:o,rotateToAlignArc:s,radius:l=.5,offset:c=0}=n,u=id(r,t,[a,i]),{startAngle:p,endAngle:d}=u,f=r.getCenter(),g=(p+d)/2,m=iC(g,o,s),{innerRadius:h,outerRadius:b}=u,[y,E]=iI(f,g,h+(b-h)*l+c);return Object.assign({x:y,y:E},{textAlign:"center",textBaseline:"middle",rotate:m})}function iw(e){return void 0===e?null:e}function ix(e,t,n,r){let{bounds:a}=n,[i]=a;return{x:iw(i[0]),y:iw(i[1])}}function iR(e,t,n,r){let{bounds:a}=n;if(1===a.length)return ix(e,t,n,r);let i=r7(r)?ik:ar(r)?iN:i_;return i(e,t,n,r)}function iL(e,t,n){let r=id(n,e,[t.y,t.y1]),{innerRadius:a,outerRadius:i}=r;return a+(i-a)}function iD(e,t,n){let r=id(n,e,[t.y,t.y1]),{startAngle:a,endAngle:i}=r;return(a+i)/2}function iP(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,p=r.getCenter(),d=iD(t,n,r),f=Math.sin(d)>0?1:-1,g=iC(d,a,i),m={textAlign:f>0||r7(r)?"start":"end",textBaseline:"middle",rotate:g},h=iL(t,n,r),b=h+(s?l:o),[[y,E],[T,S],[v,A]]=function(e,t,n,r,a){let[i,o]=iI(e,t,n),[s,l]=iI(e,t,r),c=Math.sin(t)>0?1:-1;return[[i,o],[s,l],[s+c*a,l]]}(p,d,h,b,s?c:0),O=s?+u*f:0,_=v+O;return Object.assign(Object.assign({x0:y,y0:E,x:v+O,y:A},m),{connector:s,connectorPoints:[[T-_,S-A],[v-_,A-A]]})}function iM(e,t,n,r){let{bounds:a}=n;if(1===a.length)return ix(e,t,n,r);let i=r7(r)?ik:ar(r)?iP:i_;return i(e,t,n,r)}var iF=n(80732);function iB(e,t={}){let{labelHeight:n=14,height:r}=t,a=(0,iF.Z)(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 ij(e,t){let n=(0,iF.Z)(e,e=>e.y),{height:r,labelHeight:a=14}=t,i=Math.ceil(r/a);if(n.length<=i)return iB(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 iH=new WeakMap;function iG(e,t,n,r,a,i){if(!ar(r))return{};if(iH.has(t))return iH.get(t);let o=i.map(e=>(function(e,t,n){let{connectorLength:r,connectorLength2:a,connectorDistance:i}=t,o=iU(iP("outside",e,t,n),[]),s=n.getCenter(),l=iL(e,t,n),c=iD(e,t,n),u=s[0]+(l+r+a+ +i)*(Math.sin(c)>0?1:-1),{x:p}=o,d=u-p;return o.x+=d,o.connectorPoints[0][0]-=d,o})(e,n,r)),{width:s,height:l}=r.getOptions(),c=o.filter(e=>e.xe.x>=s/2),p=Object.assign(Object.assign({},a),{height:l});return ij(c,p),ij(u,p),o.forEach((e,t)=>iH.set(i[t],e)),iH.get(t)}var iz=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 i$(e,t,n,r){if(!ar(r))return{};let{connectorLength:a,connectorLength2:i,connectorDistance:o}=n,s=iz(iP("outside",t,n,r),[]),{x0:l,y0:c}=s,u=r.getCenter(),p=function(e){if(ar(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),d=ia([l-u[0],c-u[1]]),f=Math.sin(d)>0?1:-1,[g,m]=iI(u,d,p+a);return s.x=g+(i+o)*f,s.y=m,s}var iW=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 iZ=(e,t)=>{let{coordinate:n,theme:r}=t,{render:a}=e;return(t,i,o,s)=>{let{text:l,x:c,y:u,transform:p="",transformOrigin:d,className:f=""}=i,g=iW(i,["text","x","y","transform","transformOrigin","className"]),m=function(e,t,n,r,a,i){let{position:o}=t,{render:s}=a,l=void 0!==o?o:ar(n)?"inside":r9(n)?"right":"top",c=s?"htmlLabel":"inside"===l?"innerLabel":"label",u=r[c],p=Object.assign({},u,t),d=Q[ib(l)];if(!d)throw Error(`Unknown position: ${l}`);return Object.assign(Object.assign({},u),d(l,e,p,n,a,i))}(t,i,n,r,e,s),{rotate:h=0,transform:b=""}=m,y=iW(m,["rotate","transform"]);return rU(new iv).call(il,y).style("text",`${l}`).style("className",`${f} g2-label`).style("innerHTML",a?a(l,i.datum,i.index):void 0).style("labelTransform",`${b} rotate(${+h}) ${p}`.trim()).style("labelTransformOrigin",d).style("coordCenter",n.getCenter()).call(il,g).node()}};iZ.props={defaultMarker:"point"};var iY=n(11108),iV=function(e,t){if(!(0,aU.Z)(e))return e;for(var n=[],r=0;re+i),s=(0,i3.Nw)(o,t),l=Math.min(a.length-1,Math.max(0,s+(n?-1:0)));return a[l]}function i6(e,t,n){if(!t)return e.getOptions().domain;if(!i4(e)){let r=(0,iF.Z)(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 i9(e,t,n,r,a,i){let{x:o,y:s}=a,l=(e,t)=>{let[n,r]=i.invert(e);return[i5(o,n,t),i5(s,r,t)]},c=l([e,t],!0),u=l([n,r],!1),p=i6(o,[c[0],u[0]]),d=i6(s,[c[1],u[1]]);return[p,d]}function i8(e,t){let[n,r]=e;return[t.map(n),t.map(r)+(t.getStep?t.getStep():0)]}var i7=n(10233),oe=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 ot(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:p=o,radiusBottomRight:d=o,radiusTopLeft:f=o,radiusTopRight:g=o,minWidth:m=-1/0,maxWidth:h=1/0,minHeight:b=-1/0}=a,y=oe(a,["inset","radius","insetLeft","insetTop","insetRight","insetBottom","radiusBottomLeft","radiusBottomRight","radiusTopLeft","radiusTopRight","minWidth","maxWidth","minHeight"]);if(!r8(r)&&!ae(r)){let n=!!r9(r),[a,,i]=n?ip(t):t,[o,E]=a,[T,S]=ie(i,a),v=(T>0?o:o+T)+s,A=(S>0?E:E+S)+l,O=Math.abs(T)-(s+c),_=Math.abs(S)-(l+u),k=n?r3(O,b,1/0):r3(O,m,h),I=n?r3(_,m,h):r3(_,b,1/0),C=n?v:v-(k-O)/2,N=n?A-(I-_)/2:A-(I-_);return rU(e.createElement("rect",{})).style("x",C).style("y",N).style("width",k).style("height",I).style("radius",[f,g,d,p]).call(il,y).node()}let{y:E,y1:T}=n,S=r.getCenter(),v=id(r,t,[E,T]),A=(0,i7.Z)().cornerRadius(o).padAngle(i*Math.PI/180);return rU(e.createElement("path",{})).style("d",A(v)).style("transform",`translate(${S[0]}, ${S[1]})`).style("radius",o).style("inset",i).call(il,y).node()}let on=(e,t)=>{let{colorAttribute:n,opacityAttribute:r="fill",first:a=!0,last:i=!0}=e,o=oe(e,["colorAttribute","opacityAttribute","first","last"]),{coordinate:s,document:l}=t;return(t,r,c)=>{let{color:u,radius:p=0}=c,d=oe(c,["color","radius"]),f=d.lineWidth||1,{stroke:g,radius:m=p,radiusTopLeft:h=m,radiusTopRight:b=m,radiusBottomRight:y=m,radiusBottomLeft:E=m,innerRadius:T=0,innerRadiusTopLeft:S=T,innerRadiusTopRight:v=T,innerRadiusBottomRight:A=T,innerRadiusBottomLeft:O=T,lineWidth:_="stroke"===n||g?f:0,inset:k=0,insetLeft:I=k,insetRight:C=k,insetBottom:N=k,insetTop:w=k,minWidth:x,maxWidth:R,minHeight:L}=o,D=oe(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?h:S,a?b:v,i?y:A,i?E:O],B=["radiusTopLeft","radiusTopRight","radiusBottomRight","radiusBottomLeft"];r9(s)&&B.push(B.shift());let j=Object.assign(Object.assign({radius:m},Object.fromEntries(B.map((e,t)=>[e,F[t]]))),{inset:k,insetLeft:I,insetRight:C,insetBottom:N,insetTop:w,minWidth:x,maxWidth:R,minHeight:L});return rU(ot(l,t,r,s,j)).call(il,d).style("fill","transparent").style(n,P).style(ig(e),M).style("lineWidth",_).style("stroke",void 0===g?P:g).call(il,D).node()}};on.props={defaultEnterAnimation:"scaleInY",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let or={visibility:"visible",opacity:1,fillOpacity:1,strokeOpacity:1};function oa(e,t,n,r){e.style[t]=n,r&&e.children.forEach(e=>oa(e,t,n,r))}function oi(e){oa(e,"visibility","hidden",!0)}function oo(e){oa(e,"visibility","visible",!0)}var os=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 ol(e){return rU(e).selectAll(`.${iX}`).nodes().filter(e=>!e.__removed__)}function oc(e,t){return ou(e,t).flatMap(({container:e})=>ol(e))}function ou(e,t){return t.filter(t=>t!==e&&t.options.parentKey===e.options.key)}function op(e){return rU(e).select(`.${iJ}`).node()}function od(e){if("g"===e.tagName)return e.getRenderBounds();let t=e.getGeometryBounds(),n=new nX.mN;return n.setFromTransformedAABB(t,e.getWorldTransform()),n}function of(e,t){let{offsetX:n,offsetY:r}=t,a=od(e),{min:[i,o],max:[s,l]}=a;return ns||rl?null:[n-i,r-o]}function og(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 om(e){return e=>e.__data__.color}function oh(e){return e=>e.__data__.x}function ob(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=>[oE(e.key,t.key),t.data])}));return e=>{let{index:t,markKey:r,viewKey:a}=e.__data__,i=n.get(oE(a,r));return i[t]}}function oy(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:or[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 oE(e,t){return`${e},${t}`}function oT(e,t){let n=Array.isArray(e)?e:[e],r=n.flatMap(e=>e.marks.map(t=>[oE(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=oE(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 oS(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 ov(e){var{link:t=!1,valueof:n=(e,t)=>e,coordinate:r}=e,a=os(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=(0,iF.Z)(e,(e,t)=>{let{x:n}=e.__data__,{x:r}=t.__data__;return n-r});for(let e=1;en(e,l)),{fill:m=l.getAttribute("fill")}=g,h=os(g,["fill"]),b=new nX.y$({className:"element-link",style:Object.assign({d:s.toString(),fill:m,zIndex:-2},h)});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 oA(e,t,n){let r=t=>{let{transform:n}=e.style;return n?`${n} ${t}`:t};if(r8(n)){let{points:a}=e.__data__,[i,o]=r9(n)?ip(a):a,s=n.getCenter(),l=ie(i,s),c=ie(o,s),u=ir(l),p=ii(l,c),d=u+p/2,f=t*Math.cos(d),g=t*Math.sin(d);return r(`translate(${f}, ${g})`)}return r(r9(n)?`translate(${t}, 0)`:`translate(0, ${-t})`)}function oO(e){var{document:t,background:n,scale:r,coordinate:a,valueof:i}=e,o=os(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(!i4(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(!i4(n))return[0,1];let{__data__:a}=e,{y:i}=a,[o,s]=l(n,i,t);return[o,s]},p=(e,n)=>{let{padding:r}=n,[i,o]=c(e,r),[s,l]=u(e,r),p=[[i,s],[o,s],[o,l],[i,l]].map(e=>a.map(e)),{__data__:d}=e,{y:f,y1:g}=d;return ot(t,p,{y:f,y1:g},a,n)},d=(e,t)=>{let{transform:n="scale(1.2, 1.2)",transformOrigin:r="center center",stroke:a=""}=t,i=os(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(i4)};return[e=>{e.background&&e.background.remove();let t=rZ(o,t=>i(t,e)),{fill:n="#CCD6EC",fillOpacity:r=.3,zIndex:a=-2,padding:l=.001,lineWidth:c=0}=t,u=os(t,["fill","fillOpacity","zIndex","padding","lineWidth"]),g=Object.assign(Object.assign({},u),{fill:n,fillOpacity:r,zIndex:a,padding:l,lineWidth:c}),m=f()?p:d,h=m(e,g);h.className=s,e.parentNode.parentNode.appendChild(h),e.background=h},e=>{var t;null===(t=e.background)||void 0===t||t.remove(),e.background=null},e=>e.className===s]}function o_(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 ok(e,t,n){return e.find(e=>Object.entries(t).every(([t,r])=>n(e)[t]===r))}function oI(e,t){return Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))}function oC(e,t=!1){let n=iV(e,e=>!!e).map((e,t)=>[0===t?"M":"L",...e]);return t&&n.push(["Z"]),n}function oN(e){return e.querySelectorAll(".element")}function ow(e,t){if(t(e))return e;let n=e.parent;for(;n&&!t(n);)n=n.parent;return n}function ox(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 oR(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=ow(i,e=>"element"===e.className),l=ow(i,e=>"component"===e.className),c=ow(i,e=>"label"===e.className),u=s||l||c;if(!u)return;let{className:p,markType:d}=u,f=Object.assign(Object.assign({},a),{nativeEvent:!0});"element"===p?(f.data={data:ox(u,t)},n.emit(`element:${e}`,f),n.emit(`${d}:${e}`,f)):"label"===p?(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 oL(){return(e,t,n)=>{let{container:r,view:a}=e,i=oR(rG.CLICK,a,n,e=>1===e.detail),o=oR(rG.DBLCLICK,a,n,e=>2===e.detail),s=oR(rG.POINTER_TAP,a,n),l=oR(rG.POINTER_DOWN,a,n),c=oR(rG.POINTER_UP,a,n),u=oR(rG.POINTER_OVER,a,n),p=oR(rG.POINTER_OUT,a,n),d=oR(rG.POINTER_MOVE,a,n),f=oR(rG.POINTER_ENTER,a,n),g=oR(rG.POINTER_LEAVE,a,n),m=oR(rG.POINTER_UPOUTSIDE,a,n),h=oR(rG.DRAG_START,a,n),b=oR(rG.DRAG,a,n),y=oR(rG.DRAG_END,a,n),E=oR(rG.DRAG_ENTER,a,n),T=oR(rG.DRAG_LEAVE,a,n),S=oR(rG.DRAG_OVER,a,n),v=oR(rG.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",p),r.addEventListener("pointermove",d),r.addEventListener("pointerenter",f),r.addEventListener("pointerleave",g),r.addEventListener("pointerupoutside",m),r.addEventListener("dragstart",h),r.addEventListener("drag",b),r.addEventListener("dragend",y),r.addEventListener("dragenter",E),r.addEventListener("dragleave",T),r.addEventListener("dragover",S),r.addEventListener("drop",v),()=>{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",p),r.removeEventListener("pointermove",d),r.removeEventListener("pointerenter",f),r.removeEventListener("pointerleave",g),r.removeEventListener("pointerupoutside",m),r.removeEventListener("dragstart",h),r.removeEventListener("drag",b),r.removeEventListener("dragend",y),r.removeEventListener("dragenter",E),r.removeEventListener("dragleave",T),r.removeEventListener("dragover",S),r.removeEventListener("drop",v)}}}oL.props={reapplyWhenUpdate:!0};var oD=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 oP(e,t){let n=Object.assign(Object.assign({},{"component.axisRadar":ax,"component.axisLinear":aC,"component.axisArc":aN,"component.legendContinuousBlock":aJ,"component.legendContinuousBlockSize":a1,"component.legendContinuousSize":a0,"interaction.event":oL,"composition.mark":a3,"composition.view":a7,"shape.label.label":iZ}),t),r=t=>{if("string"!=typeof t)return t;let r=`${e}.${t}`;return n[r]||rx(`Unknown Component: ${r}`)};return[(e,t)=>{let{type:n}=e,a=oD(e,["type"]);n||rx("Plot type is required!");let i=r(n);return null==i?void 0:i(a,t)},r]}function oM(e){let{canvas:t,group:n}=e;return(null==t?void 0:t.document)||(null==n?void 0:n.ownerDocument)||rx("Cannot find library document")}var oF=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 oB(e,t){let{coordinate:n={},coordinates:r}=e,a=oF(e,["coordinate","coordinates"]);if(r)return e;let{type:i,transform:o=[]}=n,s=oF(n,["type","transform"]);if(!i)return Object.assign(Object.assign({},a),{coordinates:o});let[,l]=oP("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 oj(e,t){return e.filter(e=>e.type===t)}function oU(e){return oj(e,"polar").length>0}function oH(e){return oj(e,"transpose").length%2==1}function oG(e){return oj(e,"theta").length>0}function oz(e){return oj(e,"radial").length>0}var o$=n(25338),oW=n(63488);function oZ(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=(0,rQ.Z)(a)+1,o=`${t}${i}`;e[o]=r,r.getOptions().key=o}else e[t]=r}return e}function oY(e,t){let n,r;let[a]=oP("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)]:[rC,rC],s=a(e);return o(s)}function oV(e,t){let n=e.filter(({name:e,facet:n=!0})=>n&&e===t),r=n.flatMap(e=>e.domain),a=n.every(oq)?(0,ad.Z)(r):n.every(oK)?Array.from(new Set(r)):null;if(null!==a)for(let e of n)e.domain=a}function oq(e){let{type:t}=e;return"string"==typeof t&&["linear","log","pow","time"].includes(t)}function oK(e){let{type:t}=e;return"string"==typeof t&&["band","point","ordinal"].includes(t)}function oX(e,t,n,r,a){let[i]=oP("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=r$(e),a=oW[`scheme${r}`],i=oW[`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 oQ(e,t){return t||(e.startsWith("x")||e.startsWith("y")||e.startsWith("position")||e.startsWith("size")?"point":"ordinal")}function oJ(e,t,n){return n||("color"!==e?"linear":t?"linear":"sequential")}function o0(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 o1(e){return o3(e,e=>{let t=typeof e;return"string"===t||"boolean"===t})}function o2(e){return o3(e,e=>e instanceof Date)}function o3(e,t){for(let n of e)if(n.some(t))return!0;return!1}let o4={linear:"linear",identity:"identity",log:"log",pow:"pow",sqrt:"sqrt",sequential:"sequential"},o5={threshold:"threshold",quantize:"quantize",quantile:"quantile"},o6={ordinal:"ordinal",band:"band",point:"point"},o9={constant:"constant"};var o8=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 o7(e,t,n,r,a){let[i]=oP("component",r),{scaleInstances:o,scale:s,bbox:l}=e,c=o8(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 se(e,t){let n=["left","right","bottom","top"],r=(0,rA.Xx)(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=(0,rX.Z)(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=(0,rQ.Z)(e,e=>e.size),r=(0,rQ.Z)(e,e=>e.order),a=(0,rQ.Z)(e,e=>e.crossPadding),i=e[0].position;return{type:"group",size:n,order:r,position:i,children:e,crossPadding:a}})}function st(e){let t=oj(e,"polar");if(t.length){let e=t[t.length-1],{startAngle:n,endAngle:r}=rJ(e);return[n,r]}let n=oj(e,"radial");if(n.length){let e=n[n.length-1],{startAngle:t,endAngle:r}=r1(e);return[t,r]}return[-Math.PI/2,Math.PI/2*3]}function sn(e,t,n,r,a,i){let{type:o}=e;if(["left","right","bottom","top"].includes(r)&&"string"==typeof o)return(o.startsWith("axis")?ss:o.startsWith("group")?sr:o.startsWith("legendContinuous")?sl:"legendCategory"===o?sc:o.startsWith("slider")?so:"title"===o?si:o.startsWith("scrollbar")?sa:()=>{})(e,t,n,r,a,i)}function sr(e,t,n,r,a,i){let{children:o}=e,s=(0,rQ.Z)(o,e=>e.crossPadding);o.forEach(e=>e.crossPadding=s),o.forEach(e=>sn(e,t,n,r,a,i));let l=(0,rQ.Z)(o,e=>e.size);e.size=l,o.forEach(e=>e.size=l)}function sa(e,t,n,r,a,i){let{trackSize:o=6}=(0,rv.Z)({},a.scrollbar,e);e.size=o}function si(e,t,n,r,a,i){let o=(0,rv.Z)({},a.title,e),{title:s,subtitle:l,spacing:c=0}=o,u=o8(o,["title","subtitle","spacing"]);if(s){let t=rD(u,"title"),n=sm(s,t);e.size=n.height}if(l){let t=rD(u,"subtitle"),n=sm(l,t);e.size+=c+n.height}}function so(e,t,n,r,a,i){let{trackSize:o,handleIconSize:s}=(()=>{let{slider:t}=a;return(0,rv.Z)({},t,e)})();e.size=Math.max(o,2.4*s)}function ss(e,t,n,r,a,i){var o;e.transform=e.transform||[{type:"hide"}];let s="left"===r||"right"===r,l=sf(e,r,a),{tickLength:c=0,labelSpacing:u=0,titleSpacing:p=0,labelAutoRotate:d}=l,f=o8(l,["tickLength","labelSpacing","titleSpacing","labelAutoRotate"]),g=su(e,i),m=sp(f,g),h=c+u;if(m&&m.length){let r=(0,rQ.Z)(m,e=>e.width),a=(0,rQ.Z)(m,e=>e.height);if(s)e.size=r+h;else{let{tickFilter:i,labelTransform:s}=e;(function(e,t,n,r,a){let i=(0,rX.Z)(t,e=>e.width);if(i>n)return!0;let o=e.clone();o.update({range:[0,n]});let s=sg(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],p=n+r[1],d=(e,t)=>{let{width:n}=t;return[e-n/2,e+n/2]};for(let e=0;ep)return!0;let i=l[e+1];if(i){let[n]=d(i,t[e+1]);if(a>n)return!0}}return!1})(g,m,t,n,i)&&!s&&!1!==d&&null!==d?(e.labelTransform="rotate(90)",e.size=r+h):(e.labelTransform=null!==(o=e.labelTransform)&&void 0!==o?o:"rotate(0)",e.size=a+h)}}else e.size=c;let b=sd(f);b&&(s?e.size+=p+b.width:e.size+=p+b.height)}function sl(e,t,n,r,a,i){let o=(()=>{let{legendContinuous:t}=a;return(0,rv.Z)({},t,e)})(),{labelSpacing:s=0,titleSpacing:l=0}=o,c=o8(o,["labelSpacing","titleSpacing"]),u="left"===r||"right"===r,p=rD(c,"ribbon"),{size:d}=p,f=rD(c,"handleIcon"),{size:g}=f;e.size=Math.max(d,2.4*g);let m=su(e,i),h=sp(c,m);if(h){let t=u?"width":"height",n=(0,rQ.Z)(h,e=>e[t]);e.size+=n+s}let b=sd(c);b&&(u?e.size=Math.max(e.size,b.width):e.size+=l+b.height)}function sc(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,rv.Z)({title:r},t,Object.assign(Object.assign({},e),{title:i}))})(),{itemSpacing:s,itemMarkerSize:l,titleSpacing:c,rowPadding:u,colPadding:p,maxCols:d=1/0,maxRows:f=1/0}=o,g=o8(o,["itemSpacing","itemMarkerSize","titleSpacing","rowPadding","colPadding","maxCols","maxRows"]),{cols:m,length:h}=e,b=e=>Math.min(e,f),y=e=>Math.min(e,d),E="left"===r||"right"===r,T=void 0===h?t+(E?0:n[0]+n[1]):h,S=sd(g),v=su(e,i),A=sp(g,v,"itemLabel"),O=Math.max(A[0].height,l)+u,_=(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=S?S.height:0,l=T-s;for(let{width:e}of A){let s=_(e,p);t=Math.max(t,s),n+O>l?(r++,i=Math.max(i,a),o=Math.max(o,n),a=1,n=O):(n+=O,a++)}r<=1&&(i=a,o=n),e.size=t*y(r),e.length=o+s,(0,rv.Z)(e,{cols:y(r),gridRow:i})})():"number"==typeof m?(()=>{let t=Math.ceil(A.length/m),n=(0,rQ.Z)(A,e=>_(e.width))*m;e.size=O*b(t)-u,e.length=Math.min(n,T)})():(()=>{let t=1,n=0,r=-1/0;for(let{width:e}of A){let a=_(e,p);n+a>T?(r=Math.max(r,n),n=a,t++):n+=a}1===t&&(r=n),e.size=O*b(t)-u,e.length=r})(),S&&(E?e.size=Math.max(e.size,S.width):e.size+=c+S.height)}function su(e,t){let[n]=oP("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 sp(e,t,n="label"){let{labelFormatter:r,tickFilter:a,label:i=!0}=e,o=o8(e,["labelFormatter","tickFilter","label"]);if(!i)return null;let s=function(e,t,n){let r=sg(e,n),a=r.map(e=>"number"==typeof e?r4(e):e),i=t?"string"==typeof t?(0,rW.WU)(t):t:e.getFormatter?e.getFormatter():e=>`${e}`;return a.map(i)}(t,r,a),l=rD(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 sm(e,n)}),p=c.some(e=>e.transform);if(!p){let t=s.map((e,t)=>t);e.indexBBox=new Map(t.map(e=>[e,[s[e],u[e]]]))}return u}function sd(e){let{title:t}=e,n=o8(e,["title"]);if(!1===t||null==t)return null;let r=rD(n,"title"),{direction:a,transform:i}=r,o=Array.isArray(t)?t.join(","):t;if("string"!=typeof o)return null;let s=sm(o,Object.assign(Object.assign({},r),{transform:i||("vertical"===a?"rotate(-90)":"")}));return s}function sf(e,t,n){let{title:r}=e,[a,i]=Array.isArray(r)?[r,void 0]:[void 0,r],{axis:o,[`axis${rw(t)}`]:s}=n;return(0,rv.Z)({title:a},o,s,Object.assign(Object.assign({},e),{title:i}))}function sg(e,t){let n=e.getTicks?e.getTicks():e.getOptions().domain;return t?n.filter(t):n}function sm(e,t){let n=e instanceof nX.s$?e:new nX.xv({style:{text:`${e}`}}),{filter:r}=t,a=o8(t,["filter"]);n.attr(Object.assign(Object.assign({},a),{visibility:"none"}));let i=n.getBBox();return i}var sh=n(47622),sb=n(91077);function sy(e,t,n,r,a,i,o){let s=(0,rA.ZP)(e,e=>e.position),{padding:l=i.padding,paddingLeft:c=l,paddingRight:u=l,paddingBottom:p=l,paddingTop:d=l}=a,f={paddingBottom:p,paddingLeft:c,paddingTop:d,paddingRight:u};for(let e of r){let r=`padding${rw(ib(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=(0,rQ.Z)(e.children,e=>e.size)):e.size=e.defaultSize},p=r=>{r.size||("auto"!==l?u(r):(sn(r,t,n,e,i,o),c(r)))},d=e=>{e.type.startsWith("axis")&&void 0===e.labelAutoHide&&(e.labelAutoHide=!0)},g="bottom"===e||"top"===e,m=(0,sh.Z)(a,e=>e.order),h=a.filter(e=>e.type.startsWith("axis")&&e.order==m);if(h.length&&(h[0].crossPadding=0),"number"==typeof l)a.forEach(c),a.forEach(d);else if(0===a.length)f[r]=0;else{let e=g?t+n[0]+n[1]:t,i=se(a,e);i.forEach(p);let o=i.reduce((e,{size:t,crossPadding:n=12})=>e+t+n,0);f[r]=o}}return f}function sE({width:e,height:t,paddingLeft:n,paddingRight:r,paddingTop:a,paddingBottom:i,marginLeft:o,marginTop:s,marginBottom:l,marginRight:c,innerHeight:u,innerWidth:p,insetBottom:d,insetLeft:f,insetRight:g,insetTop:m}){let h=n+o,b=a+s,y=r+c,E=i+l,T=e-o-c,S=[h+f,b+m,p-f-g,u-m-d,"center",null,null],v={top:[h,0,p,b,"vertical",!0,sb.Z,o,T],right:[e-y,b,y,u,"horizontal",!1,sb.Z],bottom:[h,t-E,p,E,"vertical",!1,sb.Z,o,T],left:[0,b,h,u,"horizontal",!0,sb.Z],"top-left":[h,0,p,b,"vertical",!0,sb.Z],"top-right":[h,0,p,b,"vertical",!0,sb.Z],"bottom-left":[h,t-E,p,E,"vertical",!1,sb.Z],"bottom-right":[h,t-E,p,E,"vertical",!1,sb.Z],center:S,inner:S,outer:S};return v}function sT(e,t,n={},r=!1){if(rj(e)||Array.isArray(e)&&r)return e;let a=rD(e,t);return(0,rv.Z)(n,a)}function sS(e,t={}){return rj(e)||Array.isArray(e)||!sv(e)?e:(0,rv.Z)(t,e)}function sv(e){if(0===Object.keys(e).length)return!0;let{title:t,items:n}=e;return void 0!==t||void 0!==n}function sA(e,t){return"object"==typeof e?rD(e,t):e}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};function s_(e,t,n){let{encode:r={},scale:a={},transform:i=[]}=t,o=sO(t,["encode","scale","transform"]);return[e,Object.assign(Object.assign({},o),{encode:r,scale:a,transform:i})]}function sk(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]=oP("data",e),i=function(e){if((0,aL.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=sO(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}(r),{transform:o=[]}=i,s=sO(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())})},rC)})(c)(r),p=!r||Array.isArray(r)||Array.isArray(u)?u:{value:u};return[Array.isArray(u)?rY(u):[],Object.assign(Object.assign({},t),{data:p})]},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 sI(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 rL(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 sN(e,t,n){let{encode:r}=t;if(!r)return[e,t];let a=rZ(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 sw(e,t,n){let{encode:r,data:a}=t;if(!r)return[e,t];let{library:i}=n,o=function(e){let[t]=oP("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=rZ(r,e=>o(a,e));return[e,Object.assign(Object.assign({},t),{encode:s})]}function sx(e,t,n){let{tooltip:r={}}=t;return rj(r)?[e,t]:Array.isArray(r)?[e,Object.assign(Object.assign({},t),{tooltip:{items:r}})]:rB(r)&&sv(r)?[e,Object.assign(Object.assign({},t),{tooltip:r})]:[e,Object.assign(Object.assign({},t),{tooltip:{items:[r]}})]}function sR(e,t,n){let{data:r,encode:a,tooltip:i={}}=t;if(rj(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(rB(t)){let{field:n,channel:i,color:o,name:s=n,valueFormatter:l=e=>e}=t,c="string"==typeof l?(0,rW.WU)(l):l,u=i&&a[i],p=u&&a[i].field,d=s||p||i,f=[];for(let t of e){let e=n?r[t][n]:u?a[i].value[t]:null;f[t]={name:d,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);rB(e)?n[i]=e:n[i]={value:e}}return n}return t},{title:s,items:l=[]}=i,c=sO(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 sL(e,t,n){let{encode:r}=t,a=sO(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=sO(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 sD(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,rv.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 sP(e,t,n){let{animate:r}=t;return r||void 0===r||(0,rv.Z)(t,{animate:{enter:{type:null},exit:{type:null},update:{type:null}}}),[e,t]}var sM=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())})},sF=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},sB=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())})},sj=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 sU(e){e.style("transform",e=>`translate(${e.layout.x}, ${e.layout.y})`)}function sH(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,r=yield function(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,[r,a]=oP("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(rL)),{marks:o}=e,s=[],l=[],c=[...o],{width:u,height:p}=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:p=l,marginBottom:d=l,inset:f=0,insetLeft:g=f,insetRight:m=f,insetTop:h=f,insetBottom:b=f}=e,y=e=>"auto"===e?20:e,E=n-y(a)-y(i)-c-u-g-m,T=t-y(o)-y(s)-p-d-h-b;return{width:E,height:T}}(e),d={options:e,width:u,height:p};for(;c.length;){let[e]=c.splice(0,1),n=yield sQ(e,t),{type:o=rx("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,d),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=sj(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,rv.Z)(e,t),{}),u=[n,...s].reduce((e,t)=>(0,rv.Z)(e,t),{}),p=[...l,r].reduce((e,t)=>(0,rv.Z)(e,t),{});return Object.assign(Object.assign({},i),{marks:a,coordinate:c,interaction:u,style:p})}(r);e.interaction=a.interaction,e.coordinate=a.coordinate,e.marks=[...a.marks,...a.components];let i=oB(a,n),o=yield sG(i,t);return s$(o,i,n)})}function sG(e,t){return sB(this,void 0,void 0,function*(){let{library:n}=t,[r]=oP("theme",n),[,a]=oP("mark",n),{theme:i,marks:o,coordinates:s=[]}=e,l=r(sK(i)),c=new Map;for(let e of o){let{type:n}=e,{props:r={}}=a(n),i=yield function(e,t,n){return sM(this,void 0,void 0,function*(){let[r,a]=yield function(e,t,n){return sM(this,void 0,void 0,function*(){let{library:r}=n,[a]=oP("transform",r),{preInference:i=[],postInference:o=[]}=t,{transform:s=[]}=e,l=[s_,sk,sI,sC,sN,sw,sL,sP,sD,sx,...i.map(a),...s.map(a),...o.map(a),sR],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=(0,rA.Q3)(Object.entries(i).filter(([,e])=>rL(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}),p=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),p=o[e]||{},{independent:d=!1,key:f=r||e,type:g=u?"constant":c?"identity":n}=p,m=sF(p,["independent","key","type"]),h="constant"===g;return{name:e,values:t,scaleKey:d||h?Symbol("independent"):f,scale:Object.assign(Object.assign({type:g,range:h?void 0:a},m),{quantitative:i,ordinal:s})}})});return[a,Object.assign(Object.assign({},t),{index:r,channels:p,tooltip:l})]})}(e,r,t);if(i){let[e,t]=i;c.set(e,t)}}let u=(0,rA.ZP)(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,rv.Z)(e,t),{}),{scaleKey:r}=e[0],{values:a}=e[0],i=Array.from(new Set(a.map(e=>e.field).filter(rL))),o=(0,rv.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)),p=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:o3(t,rB)?"identity":"string"==typeof i?"linear":(a||i||[]).length>2?oQ(e,s):void 0!==a?o1([a])?oQ(e,s):o2(t)?"time":oJ(e,i,o):o1(t)?oQ(e,s):o2(t)?"time":oJ(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 o0(function(e,t){let{zero:n=!1}=t,r=1/0,a=-1/0;for(let t of e)for(let e of t)rL(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 o0(function(e){let t=1/0,n=-1/0;for(let r of e)for(let e of r)rL(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:oq({type:e})?function(e,t,n){let r=e.map(Number),a=new as.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):oK({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=o$.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?oG(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=r$(t),a=oW[`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=oX(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],rV(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 oX(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=p)}return c})}function sz(e,t,n,r){let a=e.theme,i="string"==typeof t&&a[t]||{},o=r((0,rv.Z)(i,Object.assign({type:t},n)));return o}function s$(e,t,n){var r;let[a]=oP("mark",n),[i]=oP("theme",n),[o]=oP("labelTransform",n),{key:s,frame:l=!1,theme:c,clip:u,style:p={},labelTransform:d=[]}=t,f=i(sK(c)),g=Array.from(e.values()),m=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,rv.Z)({},r,e),Object.assign(t,s)}else{let t=Object.assign(Object.assign({},s),{expectedDomain:s.domain,name:r,guide:ap(e,a)});i.push(t)}}}return i}(g,t),h=(function(e,t,n){let{coordinates:r=[],title:a}=t,[,i]=oP("component",n),o=e.filter(({guide:e})=>null!==e),s=[],l=function(e,t,n){let[,r]=oP("component",n),{coordinates:a}=e;function i(e,t,n,i){let o=function(e,t,n=[]){return"x"===e?oH(n)?`${t}Y`:`${t}X`:"y"===e?oH(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:[p]}=s;return Object.assign(Object.assign({position:l,defaultSize:c,order:u,type:o,crossPadding:p},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=(0,rA.Xx)(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 o4?"continuous":t in o6?"discrete":t in o5?"distribution":t in o9?"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 r5)for(let{option:r,combination:a}of n)if(t.some(e=>(0,rK.Z)(c(e),c(r))))return[e,a];return null}).filter(rL);return u}(n,0),...n.map(e=>{let{name:n}=e;if(oj(t,"helix").length>0||oG(t)||oH(t)&&(oU(t)||oz(t)))return null;if(n.startsWith("x"))return oU(t)?["axisArc",[e]]:oz(t)?["axisLinear",[e]]:[oH(t)?"axisY":"axisX",[e]];if(n.startsWith("y"))return oU(t)?["axisLinear",[e]]:oz(t)?["axisArc",[e]]:[oH(t)?"axisX":"axisY",[e]];if(n.startsWith("z"))return["axisZ",[e]];if(n.startsWith("position")){if(oj(t,"radar").length>0)return["axisRadar",[e]];if(!oU(t))return["axisY",[e]]}return null}).filter(rL)]}(o,r);return c.forEach(([e,t])=>{let{props:n}=i(e),{defaultPosition:a,defaultPlane:l="xy",defaultOrientation:c,defaultSize:u,defaultOrder:p,defaultLength:d,defaultPadding:f=[0,0],defaultCrossPadding:g=[0,0]}=n,m=(0,rv.Z)({},...t),{guide:h,field:b}=m,y=Array.isArray(h)?h:[h];for(let n of y){let[i,m]=function(e,t,n,r,a,i,o){let[s]=st(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]=st(a),s=(o-n)/(e.length-1)*t+n;return["center",s]}if("axisY"===e&&oj(a,"parallel").length>0)return oH(a)?["center","horizontal"]:["center","vertical"];if("axisLinear"===e){let[e]=st(a);return["center",e]}return"axisArc"===e?"inner"===t[0]?["inner",null]:["outer",null]:oU(a)||oz(a)?["center",null]:"axisX"===e&&oj(a,"reflect").length>0||"axisX"===e&&oj(a,"reflectY").length>0?["top",null]:t}(e,l,a,i,o):"string"==typeof e&&e.startsWith("legend")&&oU(o)&&"center"===r.position?["center","vertical"]:l}(e,a,c,n,t,o,r);if(!i&&!m)continue;let h="left"===i||"right"===i,y=h?f[1]:f[0],E=h?g[1]:g[0],{size:T,order:S=p,length:v=d,padding:A=y,crossPadding:O=E}=n;s.push(Object.assign(Object.assign({title:b},n),{defaultSize:u,length:v,position:i,plane:l,orientation:m,padding:A,order:S,crossPadding:O,size:T,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(m),g,e),t,n).map(e=>{let t=(0,rv.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:p=0,inset:d=null!==(a=n.inset)&&void 0!==a?a:0,insetLeft:f=d,insetTop:g=d,insetBottom:m=d,insetRight:h=d,margin:b=null!==(i=n.margin)&&void 0!==i?i:0,marginLeft:y=b,marginBottom:E=b,marginTop:T=b,marginRight:S=b,padding:v=n.padding,paddingBottom:A=v,paddingLeft:O=v,paddingRight:_=v,paddingTop:k=v}=function(e,t,n,r){let{coordinates:a}=t;if(!oU(a)&&!oz(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 sf(e,t,n)}),s=(0,rQ.Z)(o,e=>{var t;return null!==(t=e.labelSpacing)&&void 0!==t?t:0}),l=i.flatMap((e,t)=>{let n=o[t],a=su(e,r),i=sp(n,a);return i}).filter(rL),c=(0,rQ.Z)(l,e=>e.height)+s,u=i.flatMap((e,t)=>{let n=o[t];return sd(n)}).filter(e=>null!==e),p=0===u.length?0:(0,rQ.Z)(u,e=>e.height),{inset:d=c,insetLeft:f=d,insetBottom:g=d,insetTop:m=d+p,insetRight:h=d}=t;return Object.assign(Object.assign({},t),{insetLeft:f,insetBottom:g,insetTop:m,insetRight:h})}(e,t,n,r),I=1/4,C=(e,n,r,a,i)=>{let{marks:o}=t;if(0===o.length||e-a-i-e*I>0)return[a,i];let s=e*(1-I);return["auto"===n?s*a/(a+i):a,"auto"===r?s*i/(a+i):i]},N=e=>"auto"===e?20:null!=e?e:20,w=N(k),x=N(A),R=sy(e,s-w-x,[w+T,x+E],["left","right"],t,n,r),{paddingLeft:L,paddingRight:D}=R,P=o-y-S,[M,F]=C(P,O,_,L,D),B=P-M-F,j=sy(e,B,[M+y,F+S],["bottom","top"],t,n,r),{paddingTop:U,paddingBottom:H}=j,G=s-E-T,[z,$]=C(G,A,k,H,U),W=G-z-$;return{width:o,height:s,depth:l,insetLeft:f,insetTop:g,insetBottom:m,insetRight:h,innerWidth:B,innerHeight:W,paddingLeft:M,paddingRight:F,paddingTop:$,paddingBottom:z,marginLeft:y,marginBottom:E,marginTop:T,marginRight:S,x:c,y:u,z:p}}(h,t,f,n),y=function(e,t,n){let[r]=oP("coordinate",n),{innerHeight:a,innerWidth:i,insetLeft:o,insetTop:s,insetRight:l,insetBottom:c}=e,{coordinates:u=[]}=t,p=u.find(e=>"cartesian"===e.type||"cartesian3D"===e.type)?u:[...u,{type:"cartesian"}],d="cartesian3D"===p[0].type,f=Object.assign(Object.assign({},e),{x:o,y:s,width:i-o-l,height:a-c-s,transformations:p.flatMap(r)}),g=d?new r6.Coordinate3D(f):new r6.Coordinate(f);return g}(b,t,n),E=l?(0,rv.Z)({mainLineWidth:1,mainStroke:"#000"},p):p;!function(e,t,n){let r=(0,rA.ZP)(e,e=>`${e.plane||"xy"}-${e.position}`),{paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:d,innerWidth:f,insetBottom:g,insetLeft:m,insetRight:h,insetTop:b,height:y,width:E,depth:T}=n,S={xy:sE({width:E,height:y,paddingLeft:a,paddingRight:i,paddingTop:o,paddingBottom:s,marginLeft:l,marginTop:c,marginBottom:u,marginRight:p,innerHeight:d,innerWidth:f,insetBottom:g,insetLeft:m,insetRight:h,insetTop:b}),yz:sE({width:T,height:y,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:T,innerHeight:y,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0}),xz:sE({width:E,height:T,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,marginLeft:0,marginTop:0,marginBottom:0,marginRight:0,innerWidth:E,innerHeight:T,insetBottom:0,insetLeft:0,insetRight:0,insetTop:0})};for(let[e,n]of r.entries()){let[r,a]=e.split("-"),i=S[r][a],[o,s]=rq(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]=rq(e,e=>!!("string"==typeof e.type&&e.type.startsWith("axis")));(function(e,t,n,r){if("center"===r){if(at(t)&&r8(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;r8(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):at(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 T=e=>"title"===e||"group"===e||e.startsWith("legend"),S=(e,t,n)=>void 0===n?t:T(e)?n:t,v=(e,t,n)=>void 0===n?t:T(e)?n:t;for(let t=0,n=l?f+b:f;t"group"===e.type);for(let e of A){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=(0,rX.Z)(o),l=r-s,c="flex-start"===i?0:"center"===i?l/2:l;for(let e=0,r=t[g]+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]})))}(h);let T=new Map(Array.from(e.values()).flatMap(e=>{let{channels:t}=e;return t.map(({scale:e})=>[e.uid,oY(e,n)])}));!function(e,t){let n=Array.from(e.values()).flatMap(e=>e.channels),r=(0,rA.Q3)(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,T);let S={};for(let e of h){let{scales:t=[]}=e,a=[];for(let e of t){let{name:t,uid:i}=e,o=null!==(r=T.get(i))&&void 0!==r?r:oY(e,n);a.push(o),"y"===t&&o.update(Object.assign(Object.assign({},o.getOptions()),{xScale:S.x})),oZ(S,{[t]:o})}e.scaleInstances=a}let v=[];for(let[t,n]of e.entries()){let{children:e,dataDomain:r,modifier:i,key:o}=t,{index:l,channels:c,tooltip:u}=n,p=Object.fromEntries(c.map(({name:e,scale:t})=>[e,t])),d=rZ(p,({uid:e})=>T.get(e));oZ(S,d);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,d),g=a(t),[m,h,E]=function([e,t,n]){if(n)return[e,t,n];let r=[],a=[];for(let n=0;nrL(e)&&rL(t))&&(r.push(i),a.push(o))}return[r,a]}(g(l,d,f,y)),A=r||m.length,O=i?i(h,A,b):[],_=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]),I=m.map((e,t)=>{let n=Object.assign({points:h[t],transform:O[t],index:e,markKey:o,viewKey:s},u&&{title:_(e),items:k(e)});for(let[r,a]of Object.entries(f))n[r]=a[e],E&&(n[`series${r$(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=>_(e))),n});n.data=I,n.index=m;let C=null==e?void 0:e(I,d,b);v.push(...C||[])}let A={layout:b,theme:f,coordinate:y,markState:e,key:s,clip:u,scale:S,style:E,components:h,labelTransform:rN(d.map(o))};return[A,v]}function sW(e,t,n,r){return sB(this,void 0,void 0,function*(){let{library:a}=r,{components:i,theme:o,layout:s,markState:l,coordinate:c,key:u,style:p,clip:d,scale:f}=e,{x:g,y:m,width:h,height:b}=s,y=sj(s,["x","y","width","height"]),E=["view","plot","main","content"],T=E.map((e,t)=>t),S=E.map(e=>rP(Object.assign({},o.view,p),e)),v=["a","margin","padding","inset"].map(e=>rD(y,e)),A=e=>e.style("x",e=>C[e].x).style("y",e=>C[e].y).style("width",e=>C[e].width).style("height",e=>C[e].height).each(function(e,t,n){!function(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}(rU(n),S[e])}),O=0,_=0,k=h,I=b,C=T.map(e=>{let t=v[e],{left:n=0,top:r=0,bottom:a=0,right:i=0}=t;return{x:O+=n,y:_+=r,width:k-=n+i,height:I-=r+a}});t.selectAll(s2(i2)).data(T.filter(e=>rL(S[e])),e=>E[e]).join(e=>e.append("rect").attr("className",i2).style("zIndex",-2).call(A),e=>e.call(A),e=>e.remove());let N=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:p=0}=s,{type:d,duration:f=300,delay:g=0}=o,{type:m,duration:h=300,delay:b=0}=l;for(let e of i){let{updateType:r=c,updateDuration:a=u,updateDelay:i=p,enterType:o=d,enterDuration:s=f,enterDelay:l=g,exitDuration:y=h,exitDelay:E=b,exitType:T=m}=e;(void 0===r||r)&&(t=Math.max(t,a+i),n=Math.min(n,i)),(void 0===T||T)&&(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),w=!!N&&{duration:N[1]};for(let[,e]of(0,rA.Xx)(i,e=>`${e.type}-${e.position}`))e.forEach((e,t)=>e.index=t);let x=t.selectAll(s2(i0)).data(i,e=>`${e.type}-${e.position}-${e.index}`).join(e=>e.append("g").style("zIndex",({zIndex:e})=>e||-1).attr("className",i0).append(e=>o7((0,rv.Z)({animate:w,scale:f},e),c,o,a,l)),e=>e.transition(function(e,t,n){let{preserve:r=!1}=e;if(r)return;let i=o7((0,rv.Z)({animate:w,scale:f},e),c,o,a,l),{attributes:s}=i,[u]=n.childNodes;return u.update(s,!1)})).transitions();n.push(...x.flat().filter(rL));let R=t.selectAll(s2(iJ)).data([s],()=>u).join(e=>e.append("rect").style("zIndex",0).style("fill","transparent").attr("className",iJ).call(sJ).call(s1,Array.from(l.keys())).call(s3,d),e=>e.call(s1,Array.from(l.keys())).call(e=>N?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:p,marginLeft:d,marginTop:f}=e,g=[{transform:i,width:o,height:s},{transform:`translate(${l+d}, ${c+f})`,width:u,height:p}];return a.animate(g,{delay:n,duration:r,fill:"both"})})}(e,N):sJ(e)).call(s3,d)).transitions();for(let[i,o]of(n.push(...R.flat()),l.entries())){let{data:s}=o,{key:l,class:c,type:u}=i,p=t.select(`#${l}`),d=function(e,t,n,r){let{library:a}=r,[i]=oP("shape",a),{data:o,encode:s}=e,{defaultShape:l,data:c,shape:u}=t,p=rZ(s,e=>e.value),d=c.map(e=>e.points),{theme:f,coordinate:g}=n,{type:m,style:h={}}=e,b=Object.assign(Object.assign({},r),{document:oM(r),coordinate:g,theme:f});return t=>{let{shape:n=l}=h,{shape:r=n,points:a,seriesIndex:s,index:c}=t,g=sj(t,["shape","points","seriesIndex","index"]),y=Object.assign(Object.assign({},g),{index:c}),E=s?s.map(e=>o[e]):o[c],T=s||c,S=rZ(h,e=>sZ(e,E,T,o,{channel:p})),v=u[r]?u[r](S,b):i(Object.assign(Object.assign({},S),{type:s0(e,r)}),b),A=sY(f,m,r,l);return v(a,y,A,d)}}(i,o,e,r),f=sV("enter",i,o,e,a),g=sV("update",i,o,e,a),m=sV("exit",i,o,e,a),h=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,p,c,"element"),b=p.selectAll(s2(iX)).selectFacetAll(h).data(s,e=>e.key,e=>e.groupKey).join(e=>e.append(d).attr("className",iX).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=d(e,r),o=g(e,[a],[i]);return null!==o||(a.nodeName===i.nodeName&&"g"!==i.nodeName?rR(a,i):(a.parentNode.replaceChild(i,a),i.className=iX,i.markType=u,i.__data__=a.__data__)),o}).attr("markType",u).attr("className",iX)}),e=>e.each(function(e,t,n){n.__removed__=!0}).transition(function(e,t,n){return m(e,[n])}).remove(),e=>e.append(d).attr("className",iX).attr("markType",u).transition(function(e,t,n){let{__fromElements__:r}=n,a=g(e,r,[n]),i=new rH(r,null,n.parentNode);return i.transition(a).remove(),a}),e=>e.transition(function(e,t,n){let r=new rH([],n.__toData__,n.parentNode),a=r.append(d).attr("className",iX).attr("markType",u).nodes();return g(e,[n],a)}).remove()).transitions();n.push(...b.flat())}!function(e,t,n,r,a){let[i]=oP("labelTransform",r),{markState:o,labelTransform:s}=e,l=t.select(s2(iK)).node(),c=new Map,u=new Map,p=Array.from(o.entries()).flatMap(([n,i])=>{let{labels:o=[],key:s}=n,l=function(e,t,n,r,a){let[i]=oP("shape",r),{data:o,encode:s}=e,{data:l,defaultLabelShape:c}=t,u=l.map(e=>e.points),p=rZ(s,e=>e.value),{theme:d,coordinate:f}=n,g=Object.assign(Object.assign({},a),{document:oM(a),theme:d,coordinate:f});return e=>{let{index:t,points:n}=e,r=o[t],{formatter:a=e=>`${e}`,transform:s,style:l,render:f}=e,m=sj(e,["formatter","transform","style","render"]),h=rZ(Object.assign(Object.assign({},m),l),e=>sZ(e,r,t,o,{channel:p})),{shape:b=c,text:y}=h,E=sj(h,["shape","text"]),T="string"==typeof a?(0,rW.WU)(a):a,S=Object.assign(Object.assign({},E),{text:T(y,r,t,o),datum:r}),v=Object.assign({type:`label.${b}`,render:f},E),A=i(v,g),O=sY(d,"label",b,"label");return A(n,S,O,u)}}(n,i,e,r,a),p=t.select(`#${s}`).selectAll(s2(iX)).nodes().filter(e=>!e.__removed__);return o.flatMap((e,t)=>{let{transform:n=[]}=e,r=sj(e,["transform"]);return p.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})})}),d=rU(l).selectAll(s2(i1)).data(p,e=>e.key).join(e=>e.append(e=>c.get(e)(e)).attr("className",i1),e=>e.each(function(e,t,n){let r=c.get(e),a=r(e);rR(n,a)}),e=>e.remove()).nodes(),f=(0,rA.ZP)(d,e=>u.get(e.__data__)),{coordinate:g}=e,m={canvas:a.canvas,coordinate:g};for(let[e,t]of f){let{transform:n=[]}=e,r=rN(n.map(i));r(t,m)}s&&s(d,m)}(e,t,0,a,r)})}function sZ(e,t,n,r,a){return"function"==typeof e?e(t,n,r,a):"string"!=typeof e?e:rB(t)&&void 0!==t[e]?t[e]:e}function sY(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 sV(e,t,n,r,a){var i,o;let[,s]=oP("shape",a),[l]=oP("animation",a),{defaultShape:c,shape:u}=n,{theme:p,coordinate:d}=r,f=r$(e),g=`default${f}Animation`,{[g]:m}=(null===(i=u[c])||void 0===i?void 0:i.props)||s(s0(t,c)).props,{[e]:h={}}=p,b=(null===(o=t.animate)||void 0===o?void 0:o[e])||{},y={coordinate:d};return(t,n,r)=>{let{[`${e}Type`]:a,[`${e}Delay`]:i,[`${e}Duration`]:o,[`${e}Easing`]:s}=t,c=Object.assign({type:a||m},b);if(!c.type)return null;let u=l(c,y),p=u(n,r,(0,rv.Z)(h,{delay:i,duration:o,easing:s}));return Array.isArray(p)?p:[p]}}function sq(e){return e.finished.then(()=>{e.cancel()}),e}function sK(e={}){if("string"==typeof e)return{type:e};let{type:t="light"}=e,n=sj(e,["type"]);return Object.assign(Object.assign({},n),{type:t})}function sX(e){let{interaction:t={}}=e;return Object.entries((0,rv.Z)({event:!0,tooltip:!0,sliderFilter:!0,legendFilter:!0,scrollbarFilter:!0},t)).reverse()}function sQ(e,t){return sB(this,void 0,void 0,function*(){let{data:n}=e,r=sj(e,["data"]);if(void 0==n)return e;let[,{data:a}]=yield sk([],{data:n},t);return Object.assign({data:a},r)})}function sJ(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 s0(e,t){let{type:n}=e;return"string"==typeof t?`${n}.${t}`:t}function s1(e,t){let n=e=>void 0!==e.class?`${e.class}`:"",r=e.nodes();if(0===r.length)return;e.selectAll(s2(iq)).data(t,e=>e.key).join(e=>e.append("g").attr("className",iq).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(s2(iK)).node();a||e.append("g").attr("className",iK).style("zIndex",0)}function s2(...e){return e.map(e=>`.${e}`).join("")}function s3(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 nX.UL({style:{x:r+a,y:n+i,width:o,height:s}})})}function s4(e,t={},n=!1){let{canvas:r,emitter:a}=t;r&&(function(e){let t=e.getRoot().querySelectorAll(`.${iQ}`);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 s5=e=>e?parseInt(e):0;function s6(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 s9{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 s6(this,n=>{e===n.attr("key")&&(t=n)}),t}getNodesByType(e){let t=[];return s6(this,n=>{e===n.type&&t.push(n)}),t}getNodeByType(e){let t=null;return s6(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 s8=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 s7=["width","height","depth","padding","paddingLeft","paddingRight","paddingBottom","paddingTop","inset","insetLeft","insetRight","insetTop","insetBottom","margin","marginLeft","marginRight","marginTop","marginBottom","autoFit","theme","title","interaction"],le="__remove__",lt="__callback__";function ln(e){return Object.assign(Object.assign({},e.value),{type:e.type})}function lr(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||s5(t.width),r=e.clientHeight||s5(t.height),a=s5(t.paddingLeft)+s5(t.paddingRight),i=s5(t.paddingTop)+s5(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,aL.Z)(o)?o:1,1),height:Math.max((0,aL.Z)(s)?s:1,1),depth:i}}function la(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(rB(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 li(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,{type:"node",ctor:t}]))}let lo={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"}},ls=Object.assign(Object.assign({},lo),{tooltip:{type:"mix"},viewStyle:{type:"object"}}),ll=Object.assign(Object.assign({},lo),{labelTransform:{type:"array"}}),lc=class extends s9{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()||oo(e))}hide(){let e=this.getGroup();e&&e.isVisible()&&oi(e)}};lc=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}([la(ll)],lc);let lu=class extends s9{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)}};lu=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}([la(ls)],lu);var lp=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},ld=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},lf=Object.prototype.hasOwnProperty,lg=function(e,t){if(null===e||!(0,rI.Z)(e))return{};var n={};return ac(t,function(t){lf.call(e,t)&&(n[t]=e[t])}),n},lm=n(53032),lh=n(8080),lb=n(36849),ly=n(70569),lE=n(76714);function lT(e,t){for(var n in t)t.hasOwnProperty(n)&&"constructor"!==n&&void 0!==t[n]&&(e[n]=t[n])}let lS={field:"value",size:[1,1],round:!1,padding:0,sort:(e,t)=>t.value-e.value,as:["x","y"],ignoreParentValue:!0},lv="childNodeCount",lA="Invalid field: it must be a string!";var lO=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_="sunburst",lk="markType",lI="path",lC="ancestor-node",lN={id:l_,encode:{x:"x",y:"y",key:lI,color:lC,value:"value"},axis:{x:!1,y:!1},style:{[lk]:l_,stroke:"#fff",lineWidth:.5,fillOpacity:"fillOpacity",[lv]:lv,depth:"depth"},state:{active:{zIndex:2,stroke:"#000"},inactive:{zIndex:1,stroke:"#fff"}},legend:!1,interaction:{drillDown:!0},coordinate:{type:"polar",innerRadius:.2}},lw=e=>{let{encode:t,data:n=[],legend:r}=e,a=lO(e,["encode","data","legend"]),i=Object.assign(Object.assign({},a.coordinate),{innerRadius:Math.max((0,lm.Z)(a,["coordinate","innerRadius"],.2),1e-5)}),o=Object.assign(Object.assign({},lN.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,lS&&lT(n,lS),r&&lT(n,r),a&&lT(n,a),t=n;let o=t.as;if(!(0,rz.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,lE.Z)(n))return n;if((0,rz.Z)(n))return console.warn(lA),n[0];if(console.warn("".concat(lA," will try to get fields instead.")),(0,lE.Z)(r))return r;if((0,rz.Z)(r)&&r.length)return r[0];if(t)return t;throw TypeError(lA)}(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&&(0,lb.Z)(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;aaH(e.children)?t.ignoreParentValue?0:e[i]-au(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=iV(((null===(a=e.ancestors)||void 0===a?void 0:a.call(e))||[]).map(e=>t.find(t=>t.name===e.name)||e),t=>{let{depth:n}=t;return n>0&&n{t.push(e)});return t}(s)}(t,{field:a,type:"hierarchy.".concat("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="".concat(null===(t=u.parent.data)||void 0===t?void 0:t.name," / ").concat(l),c.unshift(null===(n=u.parent.data)||void 0===n?void 0:n.name),u=u.parent;let p=Object.assign(Object.assign(Object.assign({},lg(e.data,[a])),{[lI]:l,[lC]:u.data.name}),e);r&&r!==lC&&(p[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(p)}),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,rv.Z)({},lN,Object.assign(Object.assign({type:"rect",data:l,encode:o,tooltip:{title:"path",items:[e=>({name:s,value:e[s]})]}},a),{coordinate:i}))]};lw.props={};var lx=n(45607),lR=Object.keys?function(e){return Object.keys(e)}:function(e){var t=[];return ac(e,function(n,r){(0,lx.Z)(e)&&"prototype"===r||t.push(r)}),t},lL=n(50368);let lD=e=>e.querySelectorAll(".element").filter(e=>(0,lm.Z)(e,["style",lk])===l_),lP={rootText:"root",style:{fill:"rgba(0, 0, 0, 0.85)",fontSize:12,y:1},active:{fill:"rgba(0, 0, 0, 0.5)"}},lM=()=>[["cartesian"]];lM.props={};let lF=()=>[["transpose"],["translate",.5,.5],["reflect.x"],["translate",-.5,-.5]];lF.props={transform:!0};let lB=(e={})=>Object.assign(Object.assign({},{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,outerRadius:1}),e),lj=e=>{let{startAngle:t,endAngle:n,innerRadius:r,outerRadius:a}=lB(e);return[...lF(),...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};lj.props={};let lU=()=>[["parallel",0,1,0,1]];lU.props={};let lH=({focusX:e=0,focusY:t=0,distortionX:n=2,distortionY:r=2,visual:a=!1})=>[["fisheye",e,t,n,r,a]];lH.props={transform:!0};let lG=e=>{let{startAngle:t=-Math.PI/2,endAngle:n=3*Math.PI/2,innerRadius:r=0,outerRadius:a=1}=e;return[...lU(),...r0({startAngle:t,endAngle:n,innerRadius:r,outerRadius:a})]};lG.props={};let lz=({value:e})=>t=>t.map(()=>e);lz.props={};let l$=({value:e})=>t=>t.map(t=>t[e]);l$.props={};let lW=({value:e})=>t=>t.map(e);lW.props={};let lZ=({value:e})=>()=>e;function lY(e,t){if(null!==e)return{type:"column",value:e,field:t}}function lV(e,t){let n=lY(e,t);return Object.assign(Object.assign({},n),{inferred:!0})}function lq(e,t){if(null!==e)return{type:"column",value:e,field:t,visual:!0}}function lK(e,t){let n=[];for(let r of e)n[r]=t;return n}function lX(e,t){let n=e[t];if(!n)return[null,null];let{value:r,field:a=null}=n;return[r,a]}function lQ(e,...t){for(let n of t){if("string"!=typeof n)return[n,null];{let[t,r]=lX(e,n);if(null!==t)return[t,r]}}return[null,null]}function lJ(e){return!(e instanceof Date)&&"object"==typeof e}lZ.props={};let l0=()=>(e,t)=>{let{encode:n}=t,{y1:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{y1:lV(lK(e,0))}})]};l0.props={};let l1=()=>(e,t)=>{let{encode:n}=t,{x:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{x:lV(lK(e,0))},scale:{x:{guide:null}}})]};l1.props={};let l2=(e,t)=>on(Object.assign({colorAttribute:"fill"},e),t);l2.props=Object.assign(Object.assign({},on.props),{defaultMarker:"square"});let l3=(e,t)=>on(Object.assign({colorAttribute:"stroke"},e),t);l3.props=Object.assign(Object.assign({},on.props),{defaultMarker:"hollowSquare"});var l4=n(57481),l5=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 l6(e,t,n){let[r,a,i,o]=e;if(r9(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 l9=(e,t)=>{let{adjustPoints:n=l6}=e,r=l5(e,["adjustPoints"]),{coordinate:a,document:i}=t;return(e,t,o,s)=>{let{index:l}=t,{color:c}=o,u=l5(o,["color"]),p=s[l+1],d=n(e,p,a),f=!!r9(a),[g,m,h,b]=f?ip(d):d,{color:y=c,opacity:E}=t,T=(0,iE.Z)().curve(l4.Z)([g,m,h,b]);return rU(i.createElement("path",{})).call(il,u).style("d",T).style("fill",y).style("fillOpacity",E).call(il,r).node()}};function l8(e,t,n){let[r,a,i,o]=e;if(r9(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]}l9.props={defaultMarker:"square"};let l7=(e,t)=>l9(Object.assign({adjustPoints:l8},e),t);function ce(e){return Math.abs(e)>10?String(e):e.toString().padStart(2,"0")}l7.props={defaultMarker:"square"};let ct=(e={})=>{let{channel:t="x"}=e;return(e,n)=>{let{encode:r}=n,{tooltip:a}=n;if(rj(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=>lX(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=ce(e.getMonth()+1),r=ce(e.getDate()),a=`${t}-${n}-${r}`,i=e.getHours(),o=e.getMinutes(),s=e.getSeconds();return i||o||s?`${a} ${ce(i)}:${ce(o)}:${ce(s)}`:a}(e[t]):e[t]).join(", ")};return[e,(0,rv.Z)({},n,{tooltip:{title:s}})]}};ct.props={};let cn=e=>{let{channel:t}=e;return(e,n)=>{let{encode:r,tooltip:a}=n;if(rj(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,rv.Z)({},n,{tooltip:{items:s}})]}};cn.props={};var cr=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 ca=()=>(e,t)=>{let{encode:n}=t,{key:r}=n,a=cr(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,rv.Z)({},t,{encode:{key:lY(o)}})]};function ci(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 co(e={}){return[...ci(e),{name:"title",scale:"identity"}]}function cs(){return[{type:ct,channel:"color"},{type:cn,channel:["x","y"]}]}function cl(){return[{type:ct,channel:"x"},{type:cn,channel:["y"]}]}function cc(e={}){return ci(e)}function cu(){return[{type:ca}]}function cp(e,t){return e.getBandWidth(e.invert(t))}function cd(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:p=c}={}}=n,d=!!(null==o?void 0:o.getBandWidth),f=!!(null==s?void 0:s.getBandWidth),g=!!(null==l?void 0:l.getBandWidth);return d||f?(e,t)=>{let n=d?cp(o,r[t]):0,c=f?cp(s,a[t]):0,m=g&&i?(cp(l,i[t])/2+ +i[t])*n:0,[h,b]=e;return[h+u*n+m,b+p*c]}:e=>e}function cf(e){return parseFloat(e)/100}function cg(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?cf(t)*o:+t,l="string"==typeof n?cf(n)*s:+n;return[[r,l]]});return[e,l]}function cm(e){return"function"==typeof e?e:t=>t[e]}function ch(e,t){return Array.from(e,cm(t))}function cb(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=ch(i,n),l=ch(i,r),c=ch(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 cy(e,t){return e.getBandWidth(e.invert(t))}ca.props={};let cE={rect:l2,hollow:l3,funnel:l9,pyramid:l7},cT=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,series:s,size:l}=n,c=t.x,u=t.series,[p]=r.getSize(),d=l?l.map(e=>+e/p):null,f=l?(e,t,n)=>{let r=e+t/2,a=d[n];return[r-a/2,r+a/2]}:(e,t,n)=>[e,e+t],g=Array.from(e,e=>{let t=cy(c,a[e]),n=u?cy(u,null==s?void 0:s[e]):1,l=(+(null==s?void 0:s[e])||0)*t,p=+a[e]+l,[d,g]=f(p,t*n,e),m=+i[e],h=+o[e];return[[d,m],[g,m],[g,h],[d,h]].map(e=>r.map(e))});return[e,g]};cT.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:cE,channels:[...co({shapes:Object.keys(cE)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"},{name:"size"}],preInference:[...cu(),{type:l0},{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};let cS={rect:l2,hollow:l3},cv=()=>(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]};cv.props={defaultShape:"rect",defaultLabelShape:"label",composite:!1,shape:cS,channels:[...co({shapes:Object.keys(cS)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:l0}],postInference:[...cl()],interaction:{shareTooltip:!0}};var cA=n(18143),cO=n(73671),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 ck=iT(e=>{let{d1:t,d2:n,style1:r,style2:a}=e.attributes,i=e.ownerDocument;rU(e).maybeAppend("line",()=>i.createElement("path",{})).style("d",t).call(il,r),rU(e).maybeAppend("line1",()=>i.createElement("path",{})).style("d",n).call(il,a)}),cI=(e,t)=>{let{curve:n,gradient:r=!1,gradientColor:a="between",defined:i=e=>!Number.isNaN(e)&&null!=e,connect:o=!1}=e,s=c_(e,["curve","gradient","gradientColor","defined","connect"]),{coordinate:l,document:c}=t;return(e,t,u)=>{let p;let{color:d,lineWidth:f}=u,g=c_(u,["color","lineWidth"]),{color:m=d,size:h=f,seriesColor:b,seriesX:y,seriesY:E}=t,T=im(l,t),S=r9(l),v=r&&b?iu(b,y,E,r,a,S):m,A=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},g),v&&{stroke:v}),h&&{lineWidth:h}),T&&{transform:T}),s);if(r8(l)){let e=l.getCenter();p=t=>(0,cO.Z)().angle((n,r)=>ia(ie(t[r],e))).radius((n,r)=>it(t[r],e)).defined(([e,t])=>i(e)&&i(t)).curve(n)(t)}else p=(0,iE.Z)().x(e=>e[0]).y(e=>e[1]).defined(([e,t])=>i(e)&&i(t)).curve(n);let[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=rD(A,"connect"),I=!!_.length;return I&&(!o||Object.keys(k).length)?I&&!o?rU(c.createElement("path",{})).style("d",p(e)).call(il,A).node():rU(new ck).style("style1",Object.assign(Object.assign({},A),k)).style("style2",A).style("d1",_.map(p).join(",")).style("d2",p(e)).node():rU(c.createElement("path",{})).style("d",p(O)||[]).call(il,A).node()}};cI.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cC=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=r8(n)?l4.Z:cA.Z;return cI(Object.assign({curve:a},e),t)(...r)}};cC.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"line"});var cN=n(43683),cw=n(65165),cx=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 cR=(e,t)=>{let n=cx(e,[]),{coordinate:r}=t;return(...e)=>{let a=r8(r)?cN.Z:r9(r)?cw.s:cw.Z;return cI(Object.assign({curve:a},n),t)(...e)}};cR.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"smooth"});var cL=n(77059);let cD=(e,t)=>cI(Object.assign({curve:cL.cD},e),t);cD.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"hv"});let cP=(e,t)=>cI(Object.assign({curve:cL.RN},e),t);cP.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"vh"});let cM=(e,t)=>cI(Object.assign({curve:cL.ZP},e),t);cM.props=Object.assign(Object.assign({},cI.props),{defaultMarker:"hvh"});var cF=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 cB=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{seriesSize:i,color:o}=r,{color:s}=a,l=cF(a,["color"]),c=(0,iY.Z)();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,rv.Z)({},t,{encode:{series:lq(lK(e,void 0))}})]};cj.props={};let cU=()=>(e,t)=>{let{encode:n}=t,{series:r,color:a}=n;if(void 0!==r||void 0===a)return[e,t];let[i,o]=lX(n,"color");return[e,(0,rv.Z)({},t,{encode:{series:lY(i,o)}})]};cU.props={};let cH={line:cC,smooth:cR,hv:cD,vh:cP,hvh:cM,trail:cB},cG=(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 p=o?Array.from((0,rA.ZP)(e,e=>o[e]).values()):[e],d=p.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,g=((null===(i=null==u?void 0:u.getBandWidth)||void 0===i?void 0:i.call(u))||0)/2,m=Array.from(p,e=>e.map(e=>r.map([+s[e]+f,+l[e]+g])));return[d,m,p]},cz=(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=at(r)?cz:cG;return a(e,t,n,r)};c$.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:cH,channels:[...co({shapes:Object.keys(cH)}),{name:"x"},{name:"y"},{name:"position",independent:!0},{name:"size"},{name:"series",scale:"band"}],preInference:[...cu(),{type:cj},{type:cU}],postInference:[...cl(),{type:ct,channel:"color"},{type:cn,channel:["position"]}],interaction:{shareTooltip:!0,seriesTooltip:!0,crosshairs:!0}};var cW=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 cZ(e,t,n,r){if(1===t.length)return;let{size:a}=n;if("fixed"===e)return a;if("normal"===e||an(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 cY=(e,t)=>{let{colorAttribute:n,symbol:r,mode:a="auto"}=e,i=cW(e,["colorAttribute","symbol","mode"]),o=rh.get(r)||rh.get("point"),{coordinate:s,document:l}=t;return(t,r,c)=>{let{lineWidth:u,color:p}=c,d=i.stroke?u||1:u,{color:f=p,transform:g,opacity:m}=r,[h,b]=ih(t),y=cZ(a,t,r,s),E=y||i.r||c.r;return rU(l.createElement("path",{})).call(il,c).style("fill","transparent").style("d",o(h,b,E)).style("lineWidth",d).style("transform",g).style("transformOrigin",`${h-E} ${b-E}`).style("stroke",f).style(ig(e),m).style(n,f).call(il,i).node()}};cY.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let cV=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"point"},e),t);cV.props=Object.assign({defaultMarker:"hollowPoint"},cY.props);let cq=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"diamond"},e),t);cq.props=Object.assign({defaultMarker:"hollowDiamond"},cY.props);let cK=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"hexagon"},e),t);cK.props=Object.assign({defaultMarker:"hollowHexagon"},cY.props);let cX=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"square"},e),t);cX.props=Object.assign({defaultMarker:"hollowSquare"},cY.props);let cQ=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"triangle-down"},e),t);cQ.props=Object.assign({defaultMarker:"hollowTriangleDown"},cY.props);let cJ=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"triangle"},e),t);cJ.props=Object.assign({defaultMarker:"hollowTriangle"},cY.props);let c0=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"bowtie"},e),t);c0.props=Object.assign({defaultMarker:"hollowBowtie"},cY.props);var c1=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 c2=(e,t)=>{let{colorAttribute:n,mode:r="auto"}=e,a=c1(e,["colorAttribute","mode"]),{coordinate:i,document:o}=t;return(t,s,l)=>{let{lineWidth:c,color:u}=l,p=a.stroke?c||1:c,{color:d=u,transform:f,opacity:g}=s,[m,h]=ih(t),b=cZ(r,t,s,i),y=b||a.r||l.r;return rU(o.createElement("circle",{})).call(il,l).style("fill","transparent").style("cx",m).style("cy",h).style("r",y).style("lineWidth",p).style("transform",f).style("transformOrigin",`${m} ${h}`).style("stroke",d).style(ig(e),g).style(n,d).call(il,a).node()}},c3=(e,t)=>c2(Object.assign({colorAttribute:"fill"},e),t);c3.props={defaultMarker:"circle",defaultEnterAnimation:"fadeIn",defaultExitAnimation:"fadeOut"};let c4=(e,t)=>c2(Object.assign({colorAttribute:"stroke"},e),t);c4.props=Object.assign({defaultMarker:"hollowPoint"},c3.props);let c5=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"point"},e),t);c5.props=Object.assign({defaultMarker:"point"},cY.props);let c6=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"plus"},e),t);c6.props=Object.assign({defaultMarker:"plus"},cY.props);let c9=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"diamond"},e),t);c9.props=Object.assign({defaultMarker:"diamond"},cY.props);let c8=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"square"},e),t);c8.props=Object.assign({defaultMarker:"square"},cY.props);let c7=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"triangle"},e),t);c7.props=Object.assign({defaultMarker:"triangle"},cY.props);let ue=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"hexagon"},e),t);ue.props=Object.assign({defaultMarker:"hexagon"},cY.props);let ut=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"cross"},e),t);ut.props=Object.assign({defaultMarker:"cross"},cY.props);let un=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"bowtie"},e),t);un.props=Object.assign({defaultMarker:"bowtie"},cY.props);let ur=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"hyphen"},e),t);ur.props=Object.assign({defaultMarker:"hyphen"},cY.props);let ua=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"line"},e),t);ua.props=Object.assign({defaultMarker:"line"},cY.props);let ui=(e,t)=>cY(Object.assign({colorAttribute:"stroke",symbol:"tick"},e),t);ui.props=Object.assign({defaultMarker:"tick"},cY.props);let uo=(e,t)=>cY(Object.assign({colorAttribute:"fill",symbol:"triangle-down"},e),t);uo.props=Object.assign({defaultMarker:"triangleDown"},cY.props);let us=()=>(e,t)=>{let{encode:n}=t,{y:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{y:lV(lK(e,0))},scale:{y:{guide:null}}})]};us.props={};let ul=()=>(e,t)=>{let{encode:n}=t,{size:r}=n;return void 0!==r?[e,t]:[e,(0,rv.Z)({},t,{encode:{size:lq(lK(e,3))}})]};ul.props={};let uc={hollow:cV,hollowDiamond:cq,hollowHexagon:cK,hollowSquare:cX,hollowTriangleDown:cQ,hollowTriangle:cJ,hollowBowtie:c0,hollowCircle:c4,point:c5,plus:c6,diamond:c9,square:c8,triangle:c7,hexagon:ue,cross:ut,bowtie:un,hyphen:ur,line:ua,tick:ui,triangleDown:uo,circle:c3},uu=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s,y1:l,size:c,dx:u,dy:p}=r,[d,f]=a.getSize(),g=cd(n,r,e),m=e=>{let t=+((null==u?void 0:u[e])||0),n=+((null==p?void 0:p[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]},h=c?Array.from(t,e=>{let[t,n]=m(e),r=+c[e],i=r/d,o=r/f;return[a.map(g([t-i,n-o],e)),a.map(g([t+i,n+o],e))]}):Array.from(t,e=>[a.map(g(m(e),e))]);return[t,h]};uu.props={defaultShape:"hollow",defaultLabelShape:"label",composite:!1,shape:uc,channels:[...co({shapes:Object.keys(uc)}),{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:[...cu(),{type:l1},{type:us}],postInference:[{type:ul},...cs()]};let up=(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},[[p,d]]=t;return rU(new iv).style("x",p).style("y",d).call(il,a).style("transform",`${c}rotate(${+l})`).style("coordCenter",n.getCenter()).call(il,u).call(il,e).node()}};up.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};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 uf=iT(e=>{let t=e.attributes,{class:n,x:r,y:a,transform:i}=t,o=ud(t,["class","x","y","transform"]),s=rD(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=rU(e).maybeAppend("marker",()=>new iy.J({})).call(e=>e.node().update(Object.assign({symbol:c},s))).node(),[p,d]=function(e){let{min:t,max:n}=e.getLocalBounds();return[(t[0]+n[0])*.5,(t[1]+n[1])*.5]}(u);rU(e).maybeAppend("text","text").style("x",p).style("y",d).call(il,o)}),ug=(e,t)=>{let n=ud(e,[]);return(e,t,r)=>{let{color:a}=r,i=ud(r,["color"]),{color:o=a,text:s=""}=t,l={text:String(s),stroke:o,fill:o},[[c,u]]=e;return rU(new uf).call(il,i).style("transform",`translate(${c},${u})`).call(il,l).call(il,n).node()}};ug.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let um=(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"},[[p,d]]=t,f=rU(new nX.xv).style("x",p).style("y",d).call(il,a).style("transformOrigin","center center").style("transform",`${c}rotate(${l}deg)`).style("coordCenter",n.getCenter()).call(il,u).call(il,e).node();return f}};um.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uh=()=>(e,t)=>{let{data:n}=t;if(!Array.isArray(n)||n.some(lJ))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,rv.Z)({},t,{encode:{x:lY(a),y:lY(i)}})]};uh.props={};var ub=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 uy=()=>(e,t)=>{let{data:n,style:r={}}=t,a=ub(t,["data","style"]),{x:i,y:o}=r,s=ub(r,["x","y"]);if(void 0==i||void 0==o)return[e,t];let l=i||0,c=o||0;return[[0],(0,rv.Z)({},a,{data:[0],cartesian:!0,encode:{x:lY([l]),y:lY([c])},scale:{x:{type:"identity",independent:!0,guide:null},y:{type:"identity",independent:!0,guide:null}},style:s})]};uy.props={};let uE={text:up,badge:ug,tag:um},uT=e=>{let{cartesian:t=!1}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};uT.props={defaultShape:"text",defaultLabelShape:"label",composite:!1,shape:uE,channels:[...co({shapes:Object.keys(uE)}),{name:"x",required:!0},{name:"y",required:!0},{name:"text",scale:"identity"},{name:"fontSize",scale:"identity"},{name:"rotate",scale:"identity"}],preInference:[...cu(),{type:uh},{type:uy}],postInference:[...cs()]};let uS=()=>(e,t)=>[e,(0,rv.Z)({scale:{x:{padding:0},y:{padding:0}}},t)];uS.props={};let uv={cell:l2,hollow:l3},uA=()=>(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]};uA.props={defaultShape:"cell",defaultLabelShape:"label",shape:uv,composite:!1,channels:[...co({shapes:Object.keys(uv)}),{name:"x",required:!0,scale:"band"},{name:"y",required:!0,scale:"band"}],preInference:[...cu(),{type:l1},{type:us},{type:uS}],postInference:[...cs()]};var uO=n(37633),u_=n(53253),uk=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 uI=iT(e=>{let{areaPath:t,connectPath:n,areaStyle:r,connectStyle:a}=e.attributes,i=e.ownerDocument;rU(e).maybeAppend("connect-path",()=>i.createElement("path",{})).style("d",n).call(il,a),rU(e).maybeAppend("area-path",()=>i.createElement("path",{})).style("d",t).call(il,r)}),uC=(e,t)=>{let{curve:n,gradient:r=!1,defined:a=e=>!Number.isNaN(e)&&null!=e,connect:i=!1}=e,o=uk(e,["curve","gradient","defined","connect"]),{coordinate:s,document:l}=t;return(e,t,c)=>{let{color:u}=c,{color:p=u,seriesColor:d,seriesX:f,seriesY:g}=t,m=r9(s),h=im(s,t),b=r&&d?iu(d,f,g,r,void 0,m):p,y=Object.assign(Object.assign(Object.assign(Object.assign({},c),{stroke:b,fill:b}),h&&{transform:h}),o),[E,T]=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),S=rD(y,"connect"),v=!!T.length,A=e=>rU(l.createElement("path",{})).style("d",e||"").call(il,y).node();if(r8(s)){let t=e=>{let t=s.getCenter(),r=e.slice(0,e.length/2),i=e.slice(e.length/2);return(0,u_.Z)().angle((e,n)=>ia(ie(r[n],t))).outerRadius((e,n)=>it(r[n],t)).innerRadius((e,n)=>it(i[n],t)).defined((e,t)=>[...r[t],...i[t]].every(a)).curve(n)(i)};return v&&(!i||Object.keys(S).length)?v&&!i?A(t(e)):rU(new uI).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},S),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}{let t=e=>{let t=e.slice(0,e.length/2),r=e.slice(e.length/2);return m?(0,uO.Z)().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):(0,uO.Z)().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 v&&(!i||Object.keys(S).length)?v&&!i?A(t(e)):rU(new uI).style("areaStyle",y).style("connectStyle",Object.assign(Object.assign({},S),o)).style("areaPath",t(e)).style("connectPath",T.map(t).join("")).node():A(t(E))}}};uC.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uN=(e,t)=>{let{coordinate:n}=t;return(...r)=>{let a=r8(n)?l4.Z:cA.Z;return uC(Object.assign({curve:a},e),t)(...r)}};uN.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"square"});var uw=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 ux=(e,t)=>{let n=uw(e,[]),{coordinate:r}=t;return(...e)=>{let a=r8(r)?cN.Z:r9(r)?cw.s:cw.Z;return uC(Object.assign({curve:a},n),t)(...e)}};ux.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"smooth"});let uR=(e,t)=>(...n)=>uC(Object.assign({curve:cL.ZP},e),t)(...n);uR.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"hvh"});let uL=(e,t)=>(...n)=>uC(Object.assign({curve:cL.RN},e),t)(...n);uL.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"vh"});let uD=(e,t)=>(...n)=>uC(Object.assign({curve:cL.cD},e),t)(...n);uD.props=Object.assign(Object.assign({},uC.props),{defaultMarker:"hv"});let uP={area:uN,smooth:ux,hvh:uR,vh:uL,hv:uD},uM=()=>(e,t,n,r)=>{var a,i;let{x:o,y:s,y1:l,series:c}=n,{x:u,y:p}=t,d=c?Array.from((0,rA.ZP)(e,e=>c[e]).values()):[e],f=d.map(e=>e[0]).filter(e=>void 0!==e),g=((null===(a=null==u?void 0:u.getBandWidth)||void 0===a?void 0:a.call(u))||0)/2,m=((null===(i=null==p?void 0:p.getBandWidth)||void 0===i?void 0:i.call(p))||0)/2,h=Array.from(d,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]=lX(n,"y");return[e,(0,rv.Z)({},t,{encode:{y1:lY([...a])}})]};uF.props={};let uB=()=>(e,t)=>{let{encode:n}=t,{x1:r}=n;if(r)return[e,t];let[a]=lX(n,"x");return[e,(0,rv.Z)({},t,{encode:{x1:lY([...a])}})]};uB.props={};var uj=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 uU=(e,t)=>{let{arrow:n=!0,arrowSize:r="40%"}=e,a=uj(e,["arrow","arrowSize"]),{document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=uj(o,["defaultColor"]),{color:c=s,transform:u}=t,[p,d]=e,f=(0,iY.Z)();if(f.moveTo(...p),f.lineTo(...d),n){let[e,t]=function(e,t,n){let{arrowSize:r}=n,a="string"==typeof r?+parseFloat(r)/100*it(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]}(p,d,{arrowSize:r});f.moveTo(...e),f.lineTo(...d),f.lineTo(...t)}return rU(i.createElement("path",{})).call(il,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(il,a).node()}};uU.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uH=(e,t)=>{let{arrow:n=!1}=e;return(...r)=>uU(Object.assign(Object.assign({},e),{arrow:n}),t)(...r)};uH.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uG=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 uz=(e,t)=>{let n=uG(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=uG(i,["color"]),{color:l=o,transform:c}=t,[u,p]=e,d=(0,iY.Z)();if(d.moveTo(u[0],u[1]),r8(r)){let e=r.getCenter();d.quadraticCurveTo(e[0],e[1],p[0],p[1])}else{let e=is(u,p),t=it(u,p)/2;ic(d,u,p,e,t)}return rU(a.createElement("path",{})).call(il,s).style("d",d.toString()).style("stroke",l).style("transform",c).call(il,n).node()}};uz.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var 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};let uW=(e,t)=>{let n=u$(e,[]),{document:r}=t;return(e,t,a)=>{let{color:i}=a,o=u$(a,["color"]),{color:s=i,transform:l}=t,[c,u]=e,p=(0,iY.Z)();return p.moveTo(c[0],c[1]),p.bezierCurveTo(c[0]/2+u[0]/2,c[1],c[0]/2+u[0]/2,u[1],u[0],u[1]),rU(r.createElement("path",{})).call(il,o).style("d",p.toString()).style("stroke",s).style("transform",l).call(il,n).node()}};uW.props={defaultMarker:"smooth",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var uZ=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 uY=(e,t)=>{let{cornerRatio:n=1/3}=e,r=uZ(e,["cornerRatio"]),{coordinate:a,document:i}=t;return(e,t,o)=>{let{defaultColor:s}=o,l=uZ(o,["defaultColor"]),{color:c=s,transform:u}=t,[p,d]=e,f=function(e,t,n,r){let a=(0,iY.Z)();if(r8(n)){let i=n.getCenter(),o=it(e,i),s=it(t,i),l=(s-o)*r+o;return a.moveTo(e[0],e[1]),ic(a,e,t,i,l),a.lineTo(t[0],t[1]),a}return r9(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)}(p,d,a,n);return rU(i.createElement("path",{})).call(il,l).style("d",f.toString()).style("stroke",c).style("transform",u).call(il,r).node()}};uY.props={defaultMarker:"vhv",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uV={link:uH,arc:uz,smooth:uW,vhv:uY},uq=e=>(t,n,r,a)=>{let{x:i,y:o,x1:s=i,y1:l=o}=r,c=cd(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]};uq.props={defaultShape:"link",defaultLabelShape:"label",composite:!1,shape:uV,channels:[...co({shapes:Object.keys(uV)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:uF},{type:uB}],postInference:[...cs()]};var uK=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 uX=(e,t)=>{let{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=uK(i,["color"]),{color:l=o,src:c="",size:u=32,transform:p=""}=a,{width:d=u,height:f=u}=e,[[g,m]]=t,[h,b]=n.getSize();d="string"==typeof d?cf(d)*h:d,f="string"==typeof f?cf(f)*b:f;let y=g-Number(d)/2,E=m-Number(f)/2;return rU(r.createElement("image",{})).call(il,s).style("x",y).style("y",E).style("src",c).style("stroke",l).style("transform",p).call(il,e).style("width",d).style("height",f).node()}};uX.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let uQ={image:uX},uJ=e=>{let{cartesian:t}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};uJ.props={defaultShape:"image",defaultLabelShape:"label",composite:!1,shape:uQ,channels:[...co({shapes:Object.keys(uQ)}),{name:"x",required:!0},{name:"y",required:!0},{name:"src",scale:"identity"},{name:"size"}],preInference:[...cu(),{type:uh},{type:uy}],postInference:[...cs()]};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{coordinate:n,document:r}=t;return(t,a,i)=>{let{color:o}=i,s=u0(i,["color"]),{color:l=o,transform:c}=a,u=function(e,t){let n=(0,iY.Z)();if(r8(t)){let r=t.getCenter(),a=[...e,e[0]],i=a.map(e=>it(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)?ic(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 rU(r.createElement("path",{})).call(il,s).style("d",u.toString()).style("stroke",l).style("fill",l).style("transform",c).call(il,e).node()}};u1.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var u2=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 u3=(e,t)=>{let n=u2(e,[]),{coordinate:r,document:a}=t;return(e,t,i)=>{let{color:o}=i,s=u2(i,["color"]),{color:l=o,transform:c}=t,u=function(e,t){let[n,r,a,i]=e,o=(0,iY.Z)();if(r8(t)){let e=t.getCenter(),s=it(e,n);return o.moveTo(n[0],n[1]),o.quadraticCurveTo(e[0],e[1],a[0],a[1]),ic(o,a,i,e,s),o.quadraticCurveTo(e[0],e[1],r[0],r[1]),ic(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 rU(a.createElement("path",{})).call(il,s).style("d",u.toString()).style("fill",l||o).style("stroke",l||o).style("transform",c).call(il,n).node()}};u3.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let u4={polygon:u1,ribbon:u3},u5=()=>(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 u9=(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,p=u6(i,["color","fill","stroke"]),d=function(e,t){let n=(0,iY.Z)();if(r8(t)){let r=t.getCenter(),[a,i]=r,o=ir(ie(e[0],r)),s=ir(ie(e[1],r)),l=it(r,e[2]),c=it(r,e[3]),u=it(r,e[8]),p=it(r,e[10]),d=it(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,p,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,d,o,s),n.arc(a,i,d,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 rU(r.createElement("path",{})).call(il,p).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(il,e).node()}};u9.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};var u8=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 u7=(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,p=u8(i,["color","fill","stroke"]),d=function(e,t,n=4){let r=(0,iY.Z)();if(!r8(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=it(a,e[3]),l=it(a,e[8]),c=it(a,e[10]),u=ir(ie(e[2],a)),p=Math.asin(n/l),d=u-p,f=u+p;r.moveTo(...e[2]),r.lineTo(...e[3]),r.moveTo(Math.cos(d)*s+i,Math.sin(d)*s+o),r.arc(i,o,s,d,f),r.lineTo(Math.cos(f)*c+i,Math.sin(f)*c+o),r.arc(i,o,c,f,d,!0),r.lineTo(Math.cos(d)*s+i,Math.sin(d)*s+o),r.closePath(),r.moveTo(...e[10]),r.lineTo(...e[11]);let g=(d+f)/2;return r.moveTo(Math.cos(g)*(l+n/2)+i,Math.sin(g)*(l+n/2)+o),r.arc(Math.cos(g)*l+i,Math.sin(g)*l+o,n/2,g,2*Math.PI+g),r.closePath(),r}(t,n,4);return rU(r.createElement("path",{})).call(il,p).style("d",d.toString()).style("stroke",u).style("fill",o||c).style("transform",s).call(il,e).node()}};u7.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pe={box:u9,violin:u7},pt=()=>(e,t,n,r)=>{let{x:a,y:i,y1:o,y2:s,y3:l,y4:c,series:u}=n,p=t.x,d=t.series,f=Array.from(e,e=>{let t=p.getBandWidth(p.invert(+a[e])),n=d?d.getBandWidth(d.invert(+(null==u?void 0:u[e]))):1,f=t*n,g=(+(null==u?void 0:u[e])||0)*t,m=+a[e]+g+f/2,[h,b,y,E,T]=[+i[e],+o[e],+s[e],+l[e],+c[e]];return[[m-f/2,T],[m+f/2,T],[m,T],[m,E],[m-f/2,E],[m+f/2,E],[m+f/2,b],[m-f/2,b],[m-f/2,y],[m+f/2,y],[m,b],[m,h],[m-f/2,h],[m+f/2,h]].map(e=>r.map(e))});return[e,f]};pt.props={defaultShape:"box",defaultLabelShape:"label",composite:!1,shape:pe,channels:[...co({shapes:Object.keys(pe)}),{name:"x",scale:"band",required:!0},{name:"y",required:!0},{name:"series",scale:"band"}],preInference:[...cu(),{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};let pn={vector:uU},pr=()=>(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),p=-(n/c)*Math.sin(t);return[r.map([+a[e]-u/2,+i[e]-p/2]),r.map([+a[e]+u/2,+i[e]+p/2])]});return[e,u]};pr.props={defaultShape:"vector",defaultLabelShape:"label",composite:!1,shape:pn,channels:[...co({shapes:Object.keys(pn)}),{name:"x",required:!0},{name:"y",required:!0},{name:"rotate",required:!0,scale:"identity"},{name:"size",required:!0}],preInference:[...cu()],postInference:[...cs()]};var pa=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 pi=(e,t)=>{let{arrow:n,arrowSize:r=4}=e,a=pa(e,["arrow","arrowSize"]),{coordinate:i,document:o}=t;return(e,t,s)=>{let{color:l,lineWidth:c}=s,u=pa(s,["color","lineWidth"]),{color:p=l,size:d=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||p,stroke:a.stroke||p},rD(a,"arrow"))):null,g=function(e,t){if(!r8(t))return(0,iE.Z)().x(e=>e[0]).y(e=>e[1])(e);let n=t.getCenter();return(0,i7.Z)()({startAngle:0,endAngle:2*Math.PI,outerRadius:it(e[0],n),innerRadius:it(e[1],n)})}(e,i),m=function(e,t){if(!r8(e))return t;let[n,r]=e.getCenter();return`translate(${n}, ${r}) ${t||""}`}(i,t.transform);return rU(o.createElement("path",{})).call(il,u).style("d",g).style("stroke",p).style("lineWidth",d).style("transform",m).style("markerEnd",f).call(il,a).node()}};pi.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let po=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(lJ)?[e,t]:[e,(0,rv.Z)({},t,{encode:{x:lY(n)}})]};po.props={};let ps={line:pi},pl=e=>(t,n,r,a)=>{let{x:i}=r,o=cd(n,r,(0,rv.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]};pl.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:ps,channels:[...cc({shapes:Object.keys(ps)}),{name:"x",required:!0}],preInference:[...cu(),{type:po}],postInference:[]};let pc=()=>(e,t)=>{let{data:n}=t;return!Array.isArray(n)||n.some(lJ)?[e,t]:[e,(0,rv.Z)({},t,{encode:{y:lY(n)}})]};pc.props={};let pu={line:pi},pp=e=>(t,n,r,a)=>{let{y:i}=r,o=cd(n,r,(0,rv.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]};pp.props={defaultShape:"line",defaultLabelShape:"label",composite:!1,shape:pu,channels:[...cc({shapes:Object.keys(pu)}),{name:"y",required:!0}],preInference:[...cu(),{type:pc}],postInference:[]};var pd=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 pf(e,t,n){return[["M",e,t],["L",e+2*n,t-n],["L",e+2*n,t+n],["Z"]]}let pg=(e,t)=>{let{offset:n=0,offset1:r=n,offset2:a=n,connectLength1:i,endMarker:o=!0}=e,s=pd(e,["offset","offset1","offset2","connectLength1","endMarker"]),{coordinate:l}=t;return(e,t,n)=>{let{color:c,connectLength1:u}=n,p=pd(n,["color","connectLength1"]),{color:d,transform:f}=t,g=function(e,t,n,r,a=0){let[[i,o],[s,l]]=t;if(r9(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),m=rD(Object.assign(Object.assign({},s),n),"endMarker");return rU(new nX.y$).call(il,p).style("d",(0,iE.Z)().x(e=>e[0]).y(e=>e[1])(g)).style("stroke",d||c).style("transform",f).style("markerEnd",o?new iy.J({className:"marker",style:Object.assign(Object.assign({},m),{symbol:pf})}):null).call(il,s).node()}};pg.props={defaultMarker:"line",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pm={connector:pg},ph=(...e)=>uq(...e);function pb(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 py(e={}){let{extendX:t=!1,extendY:n=!1}=e;return(e,r,a,i)=>{let o=pb("x",t,a,r.x),s=pb("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]}}ph.props={defaultShape:"connector",defaultLabelShape:"label",composite:!1,shape:pm,channels:[...cc({shapes:Object.keys(pm)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu()],postInference:[]};let pE={range:l2},pT=()=>py();pT.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:pE,channels:[...cc({shapes:Object.keys(pE)}),{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu()],postInference:[]};let pS=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(lJ))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,rv.Z)({},t,{encode:{x:lY(r(n,0)),x1:lY(r(n,1))}})]}return[e,t]};pS.props={};let pv={range:l2},pA=()=>py({extendY:!0});pA.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:pv,channels:[...cc({shapes:Object.keys(pv)}),{name:"x",required:!0}],preInference:[...cu(),{type:pS}],postInference:[]};let pO=()=>(e,t)=>{let{data:n}=t;if(Array.isArray(n)&&(n.every(Array.isArray)||!n.some(lJ))){let r=(e,t)=>Array.isArray(e[0])?e.map(e=>e[t]):[e[t]];return[e,(0,rv.Z)({},t,{encode:{y:lY(r(n,0)),y1:lY(r(n,1))}})]}return[e,t]};pO.props={};let p_={range:l2},pk=()=>py({extendX:!0});pk.props={defaultShape:"range",defaultLabelShape:"label",composite:!1,shape:p_,channels:[...cc({shapes:Object.keys(p_)}),{name:"y",required:!0}],preInference:[...cu(),{type:pO}],postInference:[]};var pI=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 pC=(e,t)=>{let{arrow:n,colorAttribute:r}=e,a=pI(e,["arrow","colorAttribute"]),{coordinate:i,document:o}=t;return(e,t,n)=>{let{color:s,stroke:l}=n,c=pI(n,["color","stroke"]),{d:u,color:p=s}=t,[d,f]=i.getSize();return rU(o.createElement("path",{})).call(il,c).style("d","function"==typeof u?u({width:d,height:f}):u).style(r,p).call(il,a).node()}};pC.props={defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pN=(e,t)=>pC(Object.assign({colorAttribute:"fill"},e),t);pN.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pw=(e,t)=>pC(Object.assign({fill:"none",colorAttribute:"stroke"},e),t);pw.props={defaultMarker:"hvh",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let px={path:pN,hollow:pw},pR=e=>(e,t,n,r)=>[e,e.map(()=>[[0,0]])];pR.props={defaultShape:"path",defaultLabelShape:"label",shape:px,composite:!1,channels:[...co({shapes:Object.keys(px)}),{name:"d",scale:"identity"}],preInference:[...cu()],postInference:[]};var pL=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 pD=(e,t)=>{let{render:n}=e,r=pL(e,["render"]);return e=>{let[[a,i]]=e;return n(Object.assign(Object.assign({},r),{x:a,y:i}),t)}};pD.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pP=()=>(e,t)=>{let{style:n={}}=t;return[e,(0,rv.Z)({},t,{style:Object.assign(Object.assign({},n),Object.fromEntries(Object.entries(n).filter(([,e])=>"function"==typeof e).map(([e,t])=>[e,()=>t])))})]};pP.props={};let pM=e=>{let{cartesian:t}=e;return t?cg:(t,n,r,a)=>{let{x:i,y:o}=r,s=cd(n,r,e),l=Array.from(t,e=>{let t=[+i[e],+o[e]];return[a.map(s(t,e))]});return[t,l]}};pM.props={defaultShape:"shape",defaultLabelShape:"label",composite:!1,shape:{shape:pD},channels:[{name:"x",required:!0},{name:"y",required:!0}],preInference:[...cu(),{type:uh},{type:uy},{type:pP}]};var pF=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 pB=(e,t)=>{let{document:n}=t;return(t,r,a)=>{let{transform:i}=r,{color:o}=a,s=pF(a,["color"]),{color:l=o}=r,[c,...u]=t,p=(0,iY.Z)();return p.moveTo(...c),u.forEach(([e,t])=>{p.lineTo(e,t)}),p.closePath(),rU(n.createElement("path",{})).call(il,s).style("d",p.toString()).style("stroke",l||o).style("fill",l||o).style("fillOpacity",.4).style("transform",i).call(il,e).node()}};pB.props={defaultMarker:"square",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pj={density:pB},pU=()=>(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,p=(+(null==i?void 0:i[t])||0)*n,d=+a[t]+p+n*u/2,f=[...o.map((n,r)=>[d+ +s[r][t]/e.length,+o[r][t]]),...o.map((n,r)=>[d-+s[r][t]/e.length,+o[r][t]]).reverse()];return f.map(e=>r.map(e))});return[e,u]};pU.props={defaultShape:"density",defaultLabelShape:"label",composite:!1,shape:pj,channels:[...co({shapes:Object.keys(pj)}),{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:[...cu(),{type:l0},{type:l1}],postInference:[...cl()],interaction:{shareTooltip:!0}};var pH=n(82631);function pG(e,t,n){let r=e?e():document.createElement("canvas");return r.width=t,r.height=n,r}(0,pH.Z)(3);let pz=function(e,t=(...e)=>`${e[0]}`,n=16){let r=(0,pH.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=pG(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 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 pW=(e,t)=>{let{gradient:n,opacity:r,maxOpacity:a,minOpacity:i,blur:o,useGradientOpacity:s}=e,l=p$(e,["gradient","opacity","maxOpacity","minOpacity","blur","useGradientOpacity"]),{coordinate:c,createCanvas:u,document:p}=t;return(e,t,d)=>{var f,g;let{transform:m}=t,[h,b]=c.getSize(),y=e.map(e=>({x:e[0],y:e[1],value:e[2],radius:e[3]})),E=(0,sh.Z)(e,e=>e[2]),T=(0,rQ.Z)(e,e=>e[2]),S=h&&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=pG(o,e,t),c=l.getContext("2d"),u=function(e,t){let n=pG(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],p=Math.min(c,n),d=a-u,f=l-u,g=pz(u,1-o,i),m=(p-t)/(n-t);e.globalAlpha=Math.max(m,.001),e.drawImage(g,d,f)}}(c,n,r,a,s,o);let p=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,p=u.length;for(let e=3;evoid 0===e,Object.keys(f).reduce((e,t)=>{let n=f[t];return g(n,t)||(e[t]=n),e},{})),u):{canvas:null};return rU(p.createElement("image",{})).call(il,d).style("x",0).style("y",0).style("width",h).style("height",b).style("src",S.canvas).style("transform",m).call(il,l).node()}};pW.props={defaultMarker:"point",defaultEnterAnimation:"fadeIn",defaultUpdateAnimation:"morphing",defaultExitAnimation:"fadeOut"};let pZ={heatmap:pW},pY=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]]};pY.props={defaultShape:"heatmap",defaultLabelShape:"label",composite:!1,shape:pZ,channels:[...co({shapes:Object.keys(pZ)}),{name:"x",required:!0},{name:"y",required:!0},{name:"color",scale:"identity",required:!0},{name:"size"}],preInference:[...cu(),{type:l1},{type:us}],postInference:[...cs()]};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 pq=()=>({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}}),pK=(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=pV(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,rv.Z)({},pq(),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())})};pK.props={};let pX=()=>["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"];pX.props={};let pQ=()=>["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"];pQ.props={};let pJ=e=>new as.b(e);pJ.props={};var p0=n(8064);let p1=e=>new p0.r(e);p1.props={};var p2=n(88944);let p3=e=>new p2.t(e);p3.props={};class p4 extends aP.X{getDefaultOptions(){return{domain:[0,1],range:[0,1],tickCount:5,unknown:void 0,tickMethod:aZ}}map(e){return(0,aF.J)(e)?e:this.options.unknown}invert(e){return this.map(e)}clone(){return new p4(this.options)}getTicks(){let{domain:e,tickCount:t,tickMethod:n}=this.options,[r,a]=e;return(0,aL.Z)(r)&&(0,aL.Z)(a)?n(r,a,t):[]}}let p5=e=>new p4(e);p5.props={};class p6 extends p2.t{getDefaultOptions(){return{domain:[],range:[0,1],align:.5,round:!1,padding:0,unknown:p0.z,paddingInner:1,paddingOuter:0}}constructor(e){super(e)}getPaddingInner(){return 1}clone(){return new p6(this.options)}update(e){super.update(e)}getPaddingOuter(){return this.options.padding}}let p9=e=>new p6(e);p9.props={};var p8=n(67128),p7=n(19432),de=n(63025);let dt=864e5,dn=7*dt,dr=30*dt,da=365*dt;function di(e,t,n,r){let a=(e,t)=>{let a=e=>r(e)%t==0,i=t;for(;i&&!a(e);)n(e,-1),i-=1;return e},i=(e,n)=>{n&&a(e,n),t(e)},o=(e,t)=>{let r=new Date(+e-1);return i(r,t),n(r,t),i(r),r};return{ceil:o,floor:(e,t)=>{let n=new Date(+e);return i(n,t),n},range:(e,t,r,a)=>{let s=[],l=Math.floor(r),c=a?o(e,r):o(e);for(;ce,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),dl=di(1e3,e=>{e.setMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getSeconds()),dc=di(6e4,e=>{e.setSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getMinutes()),du=di(36e5,e=>{e.setMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getHours()),dp=di(dt,e=>{e.setHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dt*t)},e=>e.getDate()-1),dd=di(dr,e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getMonth();e.setMonth(n+t)},e=>e.getMonth()),df=di(dn,e=>{e.setDate(e.getDate()-e.getDay()%7),e.setHours(0,0,0,0)},(e,t=1)=>{e.setDate(e.getDate()+7*t)},e=>{let t=dd.floor(e),n=new Date(+e);return Math.floor((+n-+t)/dn)}),dg=di(da,e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t=1)=>{let n=e.getFullYear();e.setFullYear(n+t)},e=>e.getFullYear()),dm={millisecond:ds,second:dl,minute:dc,hour:du,day:dp,week:df,month:dd,year:dg},dh=di(1,e=>e,(e,t=1)=>{e.setTime(+e+t)},e=>e.getTime()),db=di(1e3,e=>{e.setUTCMilliseconds(0)},(e,t=1)=>{e.setTime(+e+1e3*t)},e=>e.getUTCSeconds()),dy=di(6e4,e=>{e.setUTCSeconds(0,0)},(e,t=1)=>{e.setTime(+e+6e4*t)},e=>e.getUTCMinutes()),dE=di(36e5,e=>{e.setUTCMinutes(0,0,0)},(e,t=1)=>{e.setTime(+e+36e5*t)},e=>e.getUTCHours()),dT=di(dt,e=>{e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dt*t)},e=>e.getUTCDate()-1),dS=di(dr,e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCMonth();e.setUTCMonth(n+t)},e=>e.getUTCMonth()),dv=di(dn,e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7)%7),e.setUTCHours(0,0,0,0)},(e,t=1)=>{e.setTime(+e+dn*t)},e=>{let t=dS.floor(e),n=new Date(+e);return Math.floor((+n-+t)/dn)}),dA=di(da,e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t=1)=>{let n=e.getUTCFullYear();e.setUTCFullYear(n+t)},e=>e.getUTCFullYear()),dO={millisecond:dh,second:db,minute:dy,hour:dE,day:dT,week:dv,month:dS,year:dA};var d_=n(72478);function dk(e,t,n,r,a){let i;let o=+e,s=+t,{tickIntervals:l,year:c,millisecond:u}=function(e){let{year:t,month:n,week:r,day:a,hour:i,minute:o,second:s,millisecond:l}=e?dO:dm;return{tickIntervals:[[s,1],[s,5],[s,15],[s,30],[o,1],[o,5],[o,15],[o,30],[i,1],[i,3],[i,6],[i,12],[a,1],[a,2],[r,1],[n,1],[n,3],[t,1]],year:t,millisecond:l}}(a),p=([e,t])=>e.duration*t,d=r?(s-o)/r:n||5,f=r||(s-o)/d,g=l.length,m=(0,aB.b)(l,f,0,g,p);if(m===g){let e=(0,d_.l)(o/c.duration,s/c.duration,d);i=[c,e]}else if(m){let e=f/p(l[m-1]){let i=e>t,o=i?t:e,s=i?e:t,[l,c]=dk(o,s,n,r,a),u=l.range(o,new Date(+s+1),c,!0);return i?u.reverse():u},dC=(e,t,n,r,a)=>{let i=e>t,o=i?t:e,s=i?e:t,[l,c]=dk(o,s,n,r,a),u=[l.floor(o,c),l.ceil(s,c)];return i?u.reverse():u};function dN(e){let t=e.getTimezoneOffset(),n=new Date(e);return n.setMinutes(n.getMinutes()+t,n.getSeconds(),n.getMilliseconds()),n}class dw extends de.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:dI,interpolate:o$.fv,mask:void 0,utc:!1}}chooseTransforms(){return[e=>+e,e=>new Date(e)]}chooseNice(){return dC}getTickMethodOptions(){let{domain:e,tickCount:t,tickInterval:n,utc:r}=this.options,a=e[0],i=e[e.length-1];return[a,i,t,n,r]}getFormatter(){let{mask:e,utc:t}=this.options,n=t?dO:dm,r=t?dN:p8.Z;return t=>(0,p7.WU)(r(t),e||function(e,t){let{second:n,minute:r,hour:a,day:i,week:o,month:s,year:l}=t;return n.floor(e)new dw(e);dx.props={};let dR=e=>t=>-e(-t),dL=(e,t)=>{let n=Math.log(e),r=e===Math.E?Math.log:10===e?Math.log10:2===e?Math.log2:e=>Math.log(e)/n;return t?dR(r):r},dD=(e,t)=>{let n=e===Math.E?Math.exp:t=>e**t;return t?dR(n):n},dP=(e,t,n,r=10)=>{let a=e<0,i=dD(r,a),o=dL(r,a),s=t=1;t-=1){let n=e*t;if(n>c)break;n>=l&&d.push(n)}}else for(;u<=p;u+=1){let e=i(u);for(let t=1;tc)break;n>=l&&d.push(n)}}2*d.length{let a=e<0,i=dL(r,a),o=dD(r,a),s=e>t,l=[o(Math.floor(i(s?t:e))),o(Math.ceil(i(s?e:t)))];return s?l.reverse():l};class dF extends de.V{getDefaultOptions(){return{domain:[1,10],range:[0,1],base:10,interpolate:o$.wp,tickMethod:dP,tickCount:5}}chooseNice(){return dM}getTickMethodOptions(){let{domain:e,tickCount:t,base:n}=this.options,r=e[0],a=e[e.length-1];return[r,a,t,n]}chooseTransforms(){let{base:e,domain:t}=this.options,n=t[0]<0;return[dL(e,n),dD(e,n)]}clone(){return new dF(this.options)}}let dB=e=>new dF(e);dB.props={};let dj=e=>t=>t<0?-((-t)**e):t**e,dU=e=>t=>t<0?-((-t)**(1/e)):t**(1/e),dH=e=>e<0?-Math.sqrt(-e):Math.sqrt(e);class dG extends de.V{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,exponent:2,interpolate:o$.wp,tickMethod:aD.Z,tickCount:5}}constructor(e){super(e)}chooseTransforms(){let{exponent:e}=this.options;if(1===e)return[p8.Z,p8.Z];let t=.5===e?dH:dj(e),n=dU(e);return[t,n]}clone(){return new dG(this.options)}}let dz=e=>new dG(e);dz.props={};class d$ extends dG{getDefaultOptions(){return{domain:[0,1],range:[0,1],nice:!1,clamp:!1,round:!1,interpolate:o$.wp,tickMethod:aD.Z,tickCount:5,exponent:.5}}constructor(e){super(e)}update(e){super.update(e)}clone(){return new d$(this.options)}}let dW=e=>new d$(e);dW.props={};let dZ=e=>new aj(e);dZ.props={};let dY=e=>new aq(e);dY.props={};let dV=e=>new aV(e);dV.props={};var dq=n(99871),dK=n(34199);let dX=e=>t=>{let n=e(t);return(0,aL.Z)(n)?Math.round(n):n},dQ=K=class extends as.b{getDefaultOptions(){return{domain:[0,1],unknown:void 0,nice:!1,clamp:!1,round:!1,interpolator:p8.Z,tickMethod:aD.Z,tickCount:5}}constructor(e){super(e)}clone(){return new K(this.options)}};dQ=K=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}([(a=e=>{let[t,n]=e,r=(0,dq.q)((0,o$.fv)(0,1),(0,dK.I)(t,n));return r},e=>{e.prototype.rescale=function(){this.initRange(),this.nice();let[e]=this.chooseTransforms();this.composeOutput(e,this.chooseClamp(e))},e.prototype.initRange=function(){let{interpolator:e}=this.options;this.options.range=[e(0),e(1)]},e.prototype.composeOutput=function(e,t){let{domain:n,interpolator:r,round:i}=this.getOptions(),o=a(n.map(e)),s=i?dX(r):r;this.output=(0,dq.q)(s,o,t,e)},e.prototype.invert=void 0})],dQ);let dJ=e=>new dQ(e);dJ.props={};let d0=e=>new aM(e);function d1({colorDefault:e,colorBlack:t,colorWhite:n,colorStroke:r,colorBackground:a,padding1:i,padding2:o,padding3:s,alpha90:l,alpha65:c,alpha45:u,alpha25:p,alpha10:d,category10:f,category20:g,sizeDefault:m=1,padding:h="auto",margin:b=16}){return{padding:h,margin:b,size:m,color:e,category10:f,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: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:d,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"}}}}}d0.props={};let d2=d1({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}),d3=e=>(0,rv.Z)({},d2,e);d3.props={};let d4=e=>(0,rv.Z)({},d3(),{category10:"category10",category20:"category20"},e);d4.props={};let d5=d1({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}),d6=e=>(0,rv.Z)({},d5,{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),d9=e=>Object.assign({},d6(),{category10:"category10",category20:"category20"},e);d9.props={};let d8=d1({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}),d7=e=>(0,rv.Z)({},d8,{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);d7.props={};let fe=e=>(...t)=>{let n=aC(Object.assign({},{crossPadding:50},e))(...t);return aO(n,e),n};fe.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"bottom"});let ft=e=>(...t)=>{let n=aC(Object.assign({},{crossPadding:10},e))(...t);return aO(n,e),n};ft.props=Object.assign(Object.assign({},aC.props),{defaultPosition:"left"});var fn=n(36789);function fr(e){if((0,aU.Z)(e))return e[e.length-1]}var fa=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 fi=e=>{let{labelFormatter:t,layout:n,order:r,orientation:a,position:i,size:o,title:s,cols:l,itemMarker:c}=e,u=fa(e,["labelFormatter","layout","order","orientation","position","size","title","cols","itemMarker"]),{gridRow:p}=u;return t=>{let{value:r,theme:a}=t,{bbox:o}=r,{width:c,height:d}=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}=aS(e,t,n);return{width:a,height:i}}(r,e,fi),f=ab(i,n),g=Object.assign(Object.assign(Object.assign(Object.assign({orientation:["right","left","center"].includes(i)?"vertical":"horizontal",width:c,height:d,layout:void 0!==l?"grid":"flex"},void 0!==l&&{gridCol:l}),void 0!==p&&{gridRow:p}),{titleText:ah(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=aT(e,"size");return n instanceof p4?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=aT(e,"shape"),r=aT(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)||fr(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=nQ(t,["d","fill","lineWidth","path","stroke","color"]);let c=rh.get(e)||rh.get("point");return(...e)=>{let t=new nX.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]}`,p=aT(n,"shape");return p&&!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=aT(e,"opacity");if(t){let{range:e}=t.getOptions();return(t,n)=>e[n]}}(r)},l="string"==typeof n?(0,rW.WU)(n):n,c=aT(r,"color"),u=r.find(e=>e.getOptions().domain.length>0).getOptions().domain,p=c?e=>c.map(e):()=>t.theme.color;return Object.assign(Object.assign({},s),{data:u.map(e=>({id:e,label:l(e),color:p(e)}))})}(e,t)),{legendCategory:m={}}=a,h=av(Object.assign({},m,g,u)),b=new aE({style:Object.assign(Object.assign({x:o.x,y:o.y,width:o.width,height:o.height},f),{subOptions:h})});return b.appendChild(new fn.W({className:"legend-category",style:h})),b}};fi.props={defaultPosition:"top",defaultOrder:1,defaultSize:40,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fo=e=>()=>new nX.ZA;fo.props={};var fs=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 fl(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 fc=(i={render(e,t){let{width:n,title:r,subtitle:a,spacing:i=2,align:o="left",x:s,y:l}=e,c=fs(e,["width","title","subtitle","spacing","align","x","y"]);t.style.transform=`translate(${s}, ${l})`;let u=rD(c,"title"),p=rD(c,"subtitle"),d=am(t,".title","text").attr("className","title").call(il,Object.assign(Object.assign(Object.assign({},fl(0,0,n,o)),{fontSize:14,textBaseline:"top",text:r}),u)).node(),f=d.getLocalBounds();am(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({},fl(0,f.max[1]+i,n,o)),{fontSize:12,textBaseline:"top",text:a}),p))})}},class extends nX.b_{constructor(e){super(e),this.descriptor=i}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,rv.Z)({},this.attributes,e)),null===(n=(t=this.descriptor).render)||void 0===n||n.call(t,this.attributes,this)}}),fu=e=>({value:t,theme:n})=>{let{x:r,y:a,width:i,height:o}=t.bbox;return new fc({style:(0,rv.Z)({},n.title,Object.assign({x:r,y:a,width:i,height:o},e))})};fu.props={defaultPosition:"top",defaultOrder:2,defaultSize:36,defaultCrossPadding:[20,20],defaultPadding:[12,12]};var fp=n(21155),fd=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 ff=e=>{let{orientation:t,labelFormatter:n,size:r,style:a={},position:i}=e,o=fd(e,["orientation","labelFormatter","size","style","position"]);return r=>{var s;let{scales:[l],value:c,theme:u,coordinate:p}=r,{bbox:d}=c,{width:f,height:g}=d,{slider:m={}}=u,h=(null===(s=l.getFormatter)||void 0===s?void 0:s.call(l))||(e=>e+""),b="string"==typeof n?(0,rW.WU)(n):n,y="horizontal"===t,E=r9(p)&&y,{trackSize:T=m.trackSize}=a,[S,v]=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}(d,i,T);return new fp.i({className:"slider",style:Object.assign({},m,Object.assign(Object.assign({x:S,y:v,trackLength:y?f:g,orientation:t,formatter:e=>{let t=i5(l,E?1-e:e,!0);return(b||h)(t)},sparklineData:function(e,t){let{markState:n}=t;return(0,rz.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))})}};ff.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fg=e=>ff(Object.assign(Object.assign({},e),{orientation:"horizontal"}));fg.props=Object.assign(Object.assign({},ff.props),{defaultPosition:"bottom"});let fm=e=>ff(Object.assign(Object.assign({},e),{orientation:"vertical"}));fm.props=Object.assign(Object.assign({},ff.props),{defaultPosition:"left"});var fh=n(53020),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 fy=e=>{let{orientation:t,labelFormatter:n,style:r}=e,a=fb(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:p={}}=i,{ratio:d,range:f}=e.getOptions(),g="horizontal"===t?c:u,[m,h]=f;return new fh.L({className:"g2-scrollbar",style:Object.assign({},p,Object.assign(Object.assign(Object.assign(Object.assign({},r),{x:s,y:l,trackLength:g,value:h>m?0:1}),a),{orientation:t,contentLength:g/d,viewportLength:g}))})}};fy.props={defaultPosition:"bottom",defaultSize:24,defaultOrder:1,defaultCrossPadding:[12,12],defaultPadding:[12,12]};let fE=e=>fy(Object.assign(Object.assign({},e),{orientation:"horizontal"}));fE.props=Object.assign(Object.assign({},fy.props),{defaultPosition:"bottom"});let fT=e=>fy(Object.assign(Object.assign({},e),{orientation:"vertical"}));fT.props=Object.assign(Object.assign({},fy.props),{defaultPosition:"left"});let fS=(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,p]=r9(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],d=[{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${o} ${p}`.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(d,Object.assign(Object.assign({},a),e));return f}},fv=(e,t)=>{let{coordinate:n}=t;return nX.ux.registerProperty({name:"scaleInYRadius",inherits:!1,initialValue:"",interpolable:!0,syntax:nX.h0.NUMBER}),(t,r,a)=>{let[i]=t;return r8(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:p,y:d,y1:f}=r,g=id(n,p,[d,f]),{innerRadius:m,outerRadius:h}=g,b=(0,i7.Z)().cornerRadius(o).padAngle(s*Math.PI/180),y=new nX.y$({}),E=e=>{y.attr({d:b(e)});let t=(0,nX.YR)(y);return t},T=t.animate([{scaleInYRadius:m+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{scaleInYRadius:m+1e-4,fillOpacity:l,strokeOpacity:c,opacity:u,offset:.01},{scaleInYRadius:h,fillOpacity:l,strokeOpacity:c,opacity:u}],Object.assign(Object.assign({},a),e));return T.onframe=function(){t.style.d=E(Object.assign(Object.assign({},g),{outerRadius:Number(t.style.scaleInYRadius)}))},T.onfinish=function(){t.style.d=E(Object.assign(Object.assign({},g),{outerRadius:h}))},T})(i):(t=>{let{style:r}=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=r,[c,u]=r9(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{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}],d=t.animate(p,Object.assign(Object.assign({},a),e));return d})(i)}},fA=(e,t)=>{nX.ux.registerProperty({name:"waveInArcAngle",inherits:!1,initialValue:"",interpolable:!0,syntax:nX.h0.NUMBER});let{coordinate:n}=t;return(r,a,i)=>{let[o]=r;if(!r8(n))return fS(e,t)(r,a,i);let{__data__:s,style:l}=o,{radius:c=0,inset:u=0,fillOpacity:p=1,strokeOpacity:d=1,opacity:f=1}=l,{points:g,y:m,y1:h}=s,b=(0,i7.Z)().cornerRadius(c).padAngle(u*Math.PI/180),y=id(n,g,[m,h]),{startAngle:E,endAngle:T}=y,S=o.animate([{waveInArcAngle:E+1e-4,fillOpacity:0,strokeOpacity:0,opacity:0},{waveInArcAngle:E+1e-4,fillOpacity:p,strokeOpacity:d,opacity:f,offset:.01},{waveInArcAngle:T,fillOpacity:p,strokeOpacity:d,opacity:f}],Object.assign(Object.assign({},i),e));return S.onframe=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:Number(o.style.waveInArcAngle)}))},S.onfinish=function(){o.style.d=b(Object.assign(Object.assign({},y),{endAngle:T}))},S}};fA.props={};let fO=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))};fO.props={};let f_=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))};f_.props={};let fk=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))};fk.props={};let fI={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},fC={[nX.bn.CIRCLE]:["cx","cy","r"],[nX.bn.ELLIPSE]:["cx","cy","rx","ry"],[nX.bn.RECT]:["x","y","width","height"],[nX.bn.IMAGE]:["x","y","width","height"],[nX.bn.LINE]:["x1","y1","x2","y2"],[nX.bn.POLYLINE]:["points"],[nX.bn.POLYGON]:["points"]};function fN(e,t,n=!1){let r={};for(let a of t){let t=e.style[a];t?r[a]=t:n&&(r[a]=fI[a])}return r}let fw=["fill","stroke","fillOpacity","strokeOpacity","opacity","lineWidth"];function fx(e){let{min:t,max:n}=e.getLocalBounds(),[r,a]=t,[i,o]=n;return[r,a,i-r,o-a]}function fR(e,t){let[n,r,a,i]=fx(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 fF=e=>(t,n,r)=>{let a=function(e="pack"){return"function"==typeof e?e:fR}(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 fM(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 nX.y$({style:Object.assign({d:a[r]},fN(e,fw))});return fM(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 nX.y$({style:{d:a[r],fill:t.style.fill}});return fM(e,e,i,n)});return[...c,l]}(t,e,i,a)}return null};fF.props={};let fB=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],p=new nX.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(p),i.style.clipPath=p;let d=fS(e,t)([p],r,a);return d};fB.props={};let fj=(e,t)=>(n,r,a)=>{let[i]=n,{min:[o,s],halfExtents:l}=i.getLocalBounds(),c=2*l[0],u=2*l[1],p=new nX.y$({style:{d:`M${o},${s}L${o+c},${s}L${o+c},${s+u}L${o},${s+u}Z`}});i.appendChild(p),i.style.clipPath=p;let d=fv(e,t)([p],r,a);return d};fj.props={};var fU=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 fH(e){var{delay:t,createGroup:n,background:r=!1,link:a=!1}=e,i=fU(e,["delay","createGroup","background","link"]);return(e,o,s)=>{let{container:l,view:c,options:u}=e,{scale:p,coordinate:d}=c,f=op(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 p;let d;let f=t(e),g=new Set(f),m=(0,rA.ZP)(f,r),h=oS(f,n),[b,y]=ov(Object.assign({elements:f,valueof:h,link:a,coordinate:l},rD(u.active,"link"))),[E,T,S]=oO(Object.assign({document:e.ownerDocument,scale:s,coordinate:l,background:i,valueof:h},rD(u.active,"background"))),v=(0,rv.Z)(u,{active:Object.assign({},(null===(p=u.active)||void 0===p?void 0:p.offset)&&{transform:(...e)=>{let t=u.active.offset(...e),[,n]=e;return oA(f[n],t,l)}})}),{setState:A,removeState:O,hasState:_}=oy(v,h),k=e=>{let{target:t,nativeEvent:a=!0}=e;if(!g.has(t))return;d&&clearTimeout(d);let i=r(t),o=m.get(i),s=new Set(o);for(let e of f)s.has(e)?_(e,"active")||A(e,"active"):(A(e,"inactive"),y(e)),e!==t&&T(e);E(t),b(o),a&&c.emit("element:highlight",{nativeEvent:a,data:{data:n(t),group:o.map(n)}})},I=()=>{d&&clearTimeout(d),d=setTimeout(()=>{C(),d=null},o)},C=(e=!0)=>{for(let e of f)O(e,"active","inactive"),T(e),y(e);e&&c.emit("element:unhighlight",{nativeEvent:e})},N=e=>{let{target:t}=e;(!i||S(t))&&(i||g.has(t))&&(o>0?I():C())},w=()=>{C()};e.addEventListener("pointerover",k),e.addEventListener("pointerout",N),e.addEventListener("pointerleave",w);let x=e=>{let{nativeEvent:t}=e;t||C(!1)},R=e=>{let{nativeEvent:t}=e;if(t)return;let{data:r}=e.data,a=ok(f,r,n);a&&k({target:a,nativeEvent:!1})};return c.on("element:highlight",R),c.on("element:unhighlight",x),()=>{for(let t of(e.removeEventListener("pointerover",k),e.removeEventListener("pointerout",N),e.removeEventListener("pointerleave",w),c.off("element:highlight",R),c.off("element:unhighlight",x),f))T(t),y(t)}}(f,Object.assign({elements:ol,datum:ob(c),groupKey:n?n(c):void 0,coordinate:d,scale:p,state:oT(u,[["active",r?{}:{lineWidth:"1",stroke:"#000"}],"inactive"]),background:r,link:a,delay:t,emitter:s},i))}}function fG(e){return fH(Object.assign(Object.assign({},e),{createGroup:oh}))}function fz(e){return fH(Object.assign(Object.assign({},e),{createGroup:om}))}fH.props={reapplyWhenUpdate:!0},fG.props={reapplyWhenUpdate:!0},fz.props={reapplyWhenUpdate:!0};var 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 fW(e){var{createGroup:t,background:n=!1,link:r=!1}=e,a=f$(e,["createGroup","background","link"]);return(e,i,o)=>{let{container:s,view:l,options:c}=e,{coordinate:u,scale:p}=l,d=op(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 p;let d=t(e),f=new Set(d),g=(0,rA.ZP)(d,r),m=oS(d,n),[h,b]=ov(Object.assign({link:a,elements:d,valueof:m,coordinate:o},rD(u.selected,"link"))),[y,E]=oO(Object.assign({document:e.ownerDocument,background:s,coordinate:o,scale:l,valueof:m},rD(u.selected,"background"))),T=(0,rv.Z)(u,{selected:Object.assign({},(null===(p=u.selected)||void 0===p?void 0:p.offset)&&{transform:(...e)=>{let t=u.selected.offset(...e),[,n]=e;return oA(d[n],t,o)}})}),{setState:S,removeState:v,hasState:A}=oy(T,m),O=(e=!0)=>{for(let e of d)v(e,"selected","unselected"),b(e),E(e);e&&c.emit("element:unselect",{nativeEvent:!0})},_=(e,t,a=!0)=>{if(A(t,"selected"))O();else{let i=r(t),o=g.get(i),s=new Set(o);for(let e of d)s.has(e)?S(e,"selected"):(S(e,"unselected"),b(e)),e!==t&&E(e);if(h(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=g.get(o),l=new Set(s);if(A(t,"selected")){let e=d.some(e=>!l.has(e)&&A(e,"selected"));if(!e)return O();for(let e of s)S(e,"unselected"),b(e),E(e)}else{let e=s.some(e=>A(e,"selected"));for(let e of d)l.has(e)?S(e,"selected"):A(e,"selected")||S(e,"unselected");!e&&a&&h(s),y(t)}i&&c.emit("element:select",Object.assign(Object.assign({},e),{nativeEvent:i,data:{data:d.filter(e=>A(e,"selected")).map(n)}}))},I=e=>{let{target:t,nativeEvent:n=!0}=e;return f.has(t)?i?_(e,t,n):k(e,t,n):O()};e.addEventListener("click",I);let C=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=ok(d,e,n);I({target:t,nativeEvent:!1})}},N=()=>{O(!1)};return c.on("element:select",C),c.on("element:unselect",N),()=>{for(let e of d)b(e);e.removeEventListener("click",I),c.off("element:select",C),c.off("element:unselect",N)}}(d,Object.assign({elements:ol,datum:ob(l),groupKey:t?t(l):void 0,coordinate:u,scale:p,state:oT(c,[["selected",n?{}:{lineWidth:"1",stroke:"#000"}],"unselected"]),background:n,link:r,emitter:o},a))}}function fZ(e){return fW(Object.assign(Object.assign({},e),{createGroup:oh}))}function fY(e){return fW(Object.assign(Object.assign({},e),{createGroup:om}))}fW.props={reapplyWhenUpdate:!0},fZ.props={reapplyWhenUpdate:!0},fY.props={reapplyWhenUpdate:!0};var fV=function(e,t,n){var r,a,i,o,s=0;n||(n={});var l=function(){s=!1===n.leading?0:Date.now(),r=null,o=e.apply(a,i),r||(a=i=null)},c=function(){var c=Date.now();s||!1!==n.leading||(s=c);var u=t-(c-s);return a=this,i=arguments,u<=0||u>t?(r&&(clearTimeout(r),r=null),s=c,o=e.apply(a,i),r||(a=i=null)):r||!1===n.trailing||(r=setTimeout(l,u)),o};return c.cancel=function(){clearTimeout(r),s=0,r=a=i=null},c},fq=n(29173),fK=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 fX(e){var{wait:t=20,leading:n,trailing:r=!1,labelFormatter:a=e=>`${e}`}=e,i=fK(e,["wait","leading","trailing","labelFormatter"]);return e=>{let o;let{view:s,container:l,update:c,setState:u}=e,{markState:p,scale:d,coordinate:f}=s,g=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}(p,"line",["x","y","series"]);if(!g)return;let{y:m,x:h,series:b=[]}=g,y=m.map((e,t)=>t),E=(0,iF.Z)(y.map(e=>h[e])),T=op(l),S=l.getElementsByClassName(iX),v=l.getElementsByClassName(i1),A=(0,rA.ZP)(v,e=>e.__data__.key.split("-")[0]),O=new nX.x1({style:Object.assign({x1:0,y1:0,x2:0,y2:T.getAttribute("height"),stroke:"black",lineWidth:1},rD(i,"rule"))}),_=new nX.xv({style:Object.assign({x:0,y:T.getAttribute("height"),text:"",fontSize:10},rD(i,"label"))});O.append(_),T.appendChild(O);let k=(e,t,n)=>{let[r]=e.invert(n),a=t.invert(r);return E[(0,i3.ZR)(E,a)]},I=(e,t)=>{O.setAttribute("x1",e[0]),O.setAttribute("x2",e[0]),_.setAttribute("text",a(t))},C=e=>{let{scale:t,coordinate:n}=o,{x:r,y:a}=t,i=k(n,r,e);for(let t of(I(e,i),S)){let{seriesIndex:e,key:r}=t.__data__,o=e[(0,fq.Z)(e=>h[+e]).center(e,i)],s=[0,a.map(1)],l=[0,a.map(m[o]/m[e[0]])],[,c]=n.map(s),[,u]=n.map(l),p=c-u;t.setAttribute("transform",`translate(0, ${p})`);let d=A.get(r)||[];for(let e of d)e.setAttribute("dy",p)}},N=fV(e=>{let t=of(T,e);t&&C(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}=d,n=k(f,t,e);I(e,n),u("chartIndex",e=>{let t=(0,rv.Z)({},e),r=t.marks.find(e=>"line"===e.type),a=(0,rQ.Z)((0,rA.jJ)(y,e=>(0,rQ.Z)(e,e=>+m[e])/(0,sh.Z)(e,e=>+m[e]),e=>b[e]).values());(0,rv.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[(0,fq.Z)(e=>h[+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]),T.addEventListener("pointerenter",N),T.addEventListener("pointermove",N),T.addEventListener("pointerleave",N),()=>{O.remove(),T.removeEventListener("pointerenter",N),T.removeEventListener("pointermove",N),T.removeEventListener("pointerleave",N)}}}fX.props={reapplyWhenUpdate:!0};var fQ=n(18320),fJ=n(71894),f0=n(8612),f1=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 f2(e,t){if(t)return"string"==typeof t?document.querySelector(t):t;let n=e.ownerDocument.defaultView.getContextService().getDomElement();return n.parentElement}function f3({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:p,offset:d}){let f=f2(e,u),g=f2(e),m=o?g:e,h=p||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}}(g,f),{tooltipElement:y=function(e,t,n,r,a,i,o,s={},l=[10,10]){let c=new f0.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,rv.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,h,b,c,d)}=m,{items:E,title:T=""}=t;y.update(Object.assign({x:n,y:r,data:E,title:T,position:s,enterable:l},void 0!==a&&{content:a(i,{items:E,title:T})})),m.tooltipElement=y}function f4({root:e,single:t,emitter:n,nativeEvent:r=!0,event:a=null}){r&&n.emit("tooltip:hide",{nativeEvent:r});let i=f2(e),o=t?i:e,{tooltipElement:s}=o;s&&s.hide(null==a?void 0:a.clientX,null==a?void 0:a.clientY),ge(e),gt(e),gn(e)}function f5({root:e,single:t}){let n=f2(e),r=t?n:e;if(!r)return;let{tooltipElement:a}=r;a&&(a.destroy(),r.tooltipElement=void 0),ge(e),gt(e),gn(e)}function f6(e){let{value:t}=e;return Object.assign(Object.assign({},e),{value:void 0===t?"undefined":t})}function f9(e){let t=e.getAttribute("fill"),n=e.getAttribute("stroke"),{__data__:r}=e,{color:a=t&&"transparent"!==t?t:n}=r;return a}function f8(e,t=e=>e){let n=new Map(e.map(e=>[t(e),e]));return Array.from(n.values())}function f7(e,t,n,r=e.map(e=>e.__data__),a={}){let i=e=>e instanceof Date?+e:e,o=f8(r.map(e=>e.title),i).filter(rL),s=r.flatMap((r,i)=>{let o=e[i],{items:s=[],title:l}=r,c=s.filter(rL),u=void 0!==n?n:s.length<=1;return c.map(e=>{var{color:n=f9(o)||a.color,name:i}=e,s=f1(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 p2.t)&&!(r instanceof aM)){let e=r.clone();return e.invert(o)}if(o&&r instanceof p2.t&&r.invert(o)!==i&&!a)return r.invert(o);if(n&&n.invert&&!(n instanceof p2.t)&&!(n instanceof aM)){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(f6);return Object.assign(Object.assign({},o.length>0&&{title:o.join(",")}),{items:f8(s,e=>`(${i(e.name)}, ${i(e.value)}, ${i(e.color)})`)})}function ge(e){e.ruleY&&(e.ruleY.remove(),e.ruleY=void 0)}function gt(e){e.ruleX&&(e.ruleX.remove(),e.ruleX=void 0)}function gn(e){e.markers&&(e.markers.forEach(e=>e.remove()),e.markers=[])}function gr(e,t){return Array.from(e.values()).some(e=>{var n;return null===(n=e.interaction)||void 0===n?void 0:n[t]})}function ga(e,t){return void 0===e?t:e}function gi(e){let{title:t,items:n}=e;return 0===n.length&&void 0===t}function go(e,t){var{elements:n,sort:r,filter:a,scale:i,coordinate:o,crosshairs:s,crosshairsX:l,crosshairsY:c,render:u,groupName:p,emitter:d,wait:f=50,leading:g=!0,trailing:m=!1,startX:h=0,startY:b=0,body:y=!0,single:E=!0,position:T,enterable:S,mount:v,bounding:A,theme:O,offset:_,disableNative:k=!1,marker:I=!0,preserve:C=!1,style:N={},css:w={}}=t,x=f1(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=r9(o),D=r8(o),P=(0,rv.Z)(N,x),{innerWidth:M,innerHeight:F,width:B,height:j,insetLeft:U,insetTop:H}=o.getOptions(),G=[],z=[];for(let e of R){let{__data__:t}=e,{seriesX:n,title:r,items:a}=t;n?G.push(e):(r||a)&&z.push(e)}let $=z.length&&z.every(e=>"interval"===e.markType)&&!r8(o),W=e=>e.__data__.x,Z=!!i.x.getBandWidth,Y=Z&&z.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 V=e=>{let t=L?1:0,{min:n,max:r}=e.getLocalBounds();return(0,iF.Z)([n[t],r[t]])};$?R.sort((e,t)=>W(e)-W(t)):z.sort((e,t)=>{let[n,r]=V(e),[a,i]=V(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=(0,iF.Z)(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(rL),[s,l]=(0,iF.Z)([o[0],o[o.length-1]]);if(!Y&&(il)&&s!==l)return null;let c=(0,fq.Z)(e=>r[+e]).center,u=c(n,i);return n[u]},ee=$?(e,t)=>{let n=(0,fq.Z)(W).center,r=n(t,Q(e)),a=t[r],i=(0,rA.ZP)(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]=V(e);return r>=t&&r<=n});if(!Y||a.length>0)return a;let i=(0,fq.Z)(e=>{let[t,n]=V(e);return(t+n)/2}).center,o=i(t,r);return[t[o]].filter(rL)},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[rk(e.replace("series","")),r]}))},en=fV(t=>{var n;let f=of(e,t);if(!f)return;let g=od(e),m=g.min[0],k=g.min[1],C=[f[0]-h,f[1]-b];if(!C)return;let N=ee(C,z),x=[],R=[];for(let e of G){let[n,r]=q.get(e),a=J(t,C,n,r);if(null!==a){x.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 $=Array.from(new Set(R.map(e=>e[0].x))),W=$[(0,fQ.Z)($,e=>Math.abs(e-Q(C)))],Z=R.filter(e=>e[0].x===W),Y=[...Z.map(e=>e[0]),...N.map(e=>e.__data__)],V=[...x,...N],K=f7(V,i,p,Y,O);if(r&&K.items.sort((e,t)=>r(e)-r(t)),a&&(K.items=K.items.filter(a)),0===V.length||gi(K)){er(t);return}if(y&&f3({root:e,data:K,x:f[0]+m,y:f[1]+k,render:u,event:t,single:E,position:T,enterable:S,mount:v,bounding:A,css:w,offset:_}),s||l||c){let t=rD(P,"crosshairs"),n=Object.assign(Object.assign({},t),rD(P,"crosshairsX")),r=Object.assign(Object.assign({},t),rD(P,"crosshairsY")),a=Z.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:p,insetLeft:d,insetTop:f}=r,g=f1(r,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let m=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},g),h=((e,t)=>{if(1===t.length)return t[0];let n=t.map(t=>it(t,e)),r=(0,fQ.Z)(n,e=>e);return t[r]})(n,t);if(p){let[t,n,r]=(()=>{let e=l+d+o/2,t=c+f+s/2,n=it([e,t],h);return[e,t,n]})(),a=e.ruleX||((t,n,r)=>{let a=new nX.Cd({style:Object.assign({cx:t,cy:n,r},m)});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+h[0],l+h[0],c,c+i]:[l,l+a,h[1]+c,h[1]+c],s=e.ruleX||((t,n,r,a)=>{let i=new nX.x1({style:Object.assign({x1:t,x2:n,y1:r,y2:a},m)});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:h,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:p,insetTop:d}=n,f=f1(n,["plotWidth","plotHeight","mainWidth","mainHeight","startX","startY","transposed","polar","insetLeft","insetTop"]);let g=Object.assign({lineWidth:1,stroke:"#1b1e23",strokeOpacity:.5},f),m=t.map(e=>e[1]),h=t.map(e=>e[0]),b=(0,fJ.Z)(m),y=(0,fJ.Z)(h),[E,T,S,v]=(()=>{if(u){let e=Math.min(i,o)/2,t=s+p+i/2,n=l+d+o/2,r=ir(ie([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(h.length>0){let t=e.ruleY||(()=>{let t=new nX.x1({style:Object.assign({x1:E,x2:T,y1:S,y2:v},g)});return e.appendChild(t),t})();t.style.x1=E,t.style.x2=T,t.style.y1=S,t.style.y2=v,e.ruleY=t}}(e,a,Object.assign(Object.assign({},r),{plotWidth:M,plotHeight:F,mainWidth:B,mainHeight:j,insetLeft:U,insetTop:H,startX:h,startY:b,transposed:L,polar:D}))}if(I){let t=rD(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 rL(t)&&rL(n)}).map(e=>{let[{color:t,element:i},o]=e,s=t||i.style.fill||i.style.stroke||r.color,l=new nX.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:Z,style:t,theme:O})}let en=null===(n=Z[0])||void 0===n?void 0:n[0].x,ea=null!=en?en:Q(C);d.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:{x:i5(i.x,ea,!0)}}}))},f,{leading:g,trailing:m}),er=t=>{f4({root:e,single:E,emitter:d,event:t})},ea=()=>{f5({root:e,single:E})},ei=t=>{var n,{nativeEvent:r,data:a,offsetX:s,offsetY:l}=t,c=f1(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,p=i.x,d=p.map(u),[f,g]=o.map([d,.5]),m=e.getRenderBounds(),h=m.min[0],b=m.min[1];en(Object.assign(Object.assign({},c),{offsetX:void 0!==s?s:h+f,offsetY:void 0!==l?l:b+g,_x:u}))},eo=()=>{f4({root:e,single:E,emitter:d,nativeEvent:!1})},es=()=>{eu(),ea()},el=()=>{ec()},ec=()=>{k||(e.addEventListener("pointerenter",en),e.addEventListener("pointermove",en),e.addEventListener("pointerleave",t=>{of(e,t)||er(t)}))},eu=()=>{k||(e.removeEventListener("pointerenter",en),e.removeEventListener("pointermove",en),e.removeEventListener("pointerleave",er))};return ec(),d.on("tooltip:show",ei),d.on("tooltip:hide",eo),d.on("tooltip:disable",es),d.on("tooltip:enable",el),()=>{eu(),d.off("tooltip:show",ei),d.off("tooltip:hide",eo),d.off("tooltip:disable",es),d.off("tooltip:enable",el),C?f4({root:e,single:E,emitter:d,nativeEvent:!1}):ea()}}function gs(e){let{shared:t,crosshairs:n,crosshairsX:r,crosshairsY:a,series:i,name:o,item:s=()=>({}),facet:l=!1}=e,c=f1(e,["shared","crosshairs","crosshairsX","crosshairsY","series","name","item","facet"]);return(e,o,u)=>{let{container:p,view:d}=e,{scale:f,markState:g,coordinate:m,theme:h}=d,b=gr(g,"seriesTooltip"),y=gr(g,"crosshairs"),E=op(p),T=ga(i,b),S=ga(n,y);if(T&&Array.from(g.values()).some(e=>{var t;return(null===(t=e.interaction)||void 0===t?void 0:t.seriesTooltip)&&e.tooltip})&&!l)return go(E,Object.assign(Object.assign({},c),{theme:h,elements:ol,scale:f,coordinate:m,crosshairs:S,crosshairsX:ga(ga(r,n),!1),crosshairsY:ga(a,S),item:s,emitter:u}));if(T&&l){let t=o.filter(t=>t!==e&&t.options.parentKey===e.options.key),i=oc(e,o),l=t[0].view.scale,p=E.getBounds(),d=p.min[0],f=p.min[1];return Object.assign(l,{facet:!0}),go(E.parentNode.parentNode,Object.assign(Object.assign({},c),{theme:h,elements:()=>i,scale:l,coordinate:m,crosshairs:ga(n,y),crosshairsX:ga(ga(r,n),!1),crosshairsY:ga(a,S),item:s,startX:d,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:p=!1,groupKey:d=e=>e,single:f=!0,position:g,enterable:m,datum:h,view:b,mount:y,bounding:E,theme:T,offset:S,shared:v=!1,body:A=!0,disableNative:O=!1,preserve:_=!1,css:k={}}){var I,C;let N=t(e),w=(0,rA.ZP)(N,d),x=N.every(e=>"interval"===e.markType)&&!r8(n),R=r.x,L=r.series,D=null!==(C=null===(I=null==R?void 0:R.getBandWidth)||void 0===I?void 0:I.call(R))&&void 0!==C?C:0,P=L?e=>e.__data__.x+e.__data__.series*D:e=>e.__data__.x+D/2;x&&N.sort((e,t)=>P(e)-P(t));let M=e=>{let{target:t}=e;return ow(t,e=>!!e.classList&&e.classList.includes("element"))},F=x?t=>{let r=of(e,t);if(!r)return;let[a]=n.invert(r),i=(0,fq.Z)(P).center,o=i(N,a),s=N[o];if(!v){let e=N.find(e=>e!==s&&P(e)===P(s));if(e)return M(t)}return s}:M,B=fV(t=>{let n=F(t);if(!n){f4({root:e,single:f,emitter:l,event:t});return}let c=d(n),u=w.get(c);if(!u)return;let p=1!==u.length||v?f7(u,r,i,void 0,T):function(e){let{__data__:t}=e,{title:n,items:r=[]}=t,a=r.filter(rL).map(t=>{var{color:n=f9(e)}=t;return Object.assign(Object.assign({},f1(t,["color"])),{color:n})}).map(f6);return Object.assign(Object.assign({},n&&{title:n}),{items:a})}(u[0]);if(o&&p.items.sort((e,t)=>o(e)-o(t)),s&&(p.items=p.items.filter(s)),gi(p)){f4({root:e,single:f,emitter:l,event:t});return}let{offsetX:h,offsetY:O}=t;A&&f3({root:e,data:p,x:h,y:O,render:a,event:t,single:f,position:g,enterable:m,mount:y,bounding:E,css:k,offset:S}),l.emit("tooltip:show",Object.assign(Object.assign({},t),{nativeEvent:!0,data:{data:ox(n,b)}}))},c,{leading:u,trailing:p}),j=t=>{f4({root:e,single:f,emitter:l,event:t})},U=()=>{O||(e.addEventListener("pointermove",B),e.addEventListener("pointerleave",j))},H=()=>{O||(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=ok(N,i,h);if(!o)return;let s=o.getBBox(),{x:l,y:c,width:u,height:p}=s,d=e.getBBox();B({target:o,offsetX:void 0!==n?n+d.x:l+u/2,offsetY:void 0!==r?r+d.y:c+p/2})},z=({nativeEvent:t}={})=>{t||f4({root:e,single:f,emitter:l,nativeEvent:!1})};return l.on("tooltip:show",G),l.on("tooltip:hide",z),l.on("tooltip:enable",()=>{U()}),l.on("tooltip:disable",()=>{H(),f5({root:e,single:f})}),U(),()=>{H(),l.off("tooltip:show",G),l.off("tooltip:hide",z),_?f4({root:e,single:f,emitter:l,nativeEvent:!1}):f5({root:e,single:f})}}(E,Object.assign(Object.assign({},c),{datum:ob(d),elements:ol,scale:f,coordinate:m,groupKey:t?oh(d):void 0,item:s,emitter:u,view:d,theme:h,shared:t}))}}gs.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 gc="legend-category";function gu(e){return e.getElementsByClassName("legend-category-item-marker")[0]}function gp(e){return e.getElementsByClassName("legend-category-item-label")[0]}function gd(e){return e.getElementsByClassName("items-item")}function gf(e){return e.getElementsByClassName(gc)}function gg(e){return e.getElementsByClassName("legend-continuous")}function gm(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")),p=[...t];c.length&&p.splice(u+1,0,{type:"filter",[n]:{value:r,ordinal:a}});let d=Object.fromEntries(i.map(e=>[e,{domain:l.scale[e].getOptions().domain}]));return(0,rv.Z)({},e,Object.assign(Object.assign({transform:p,scale:d},!a&&{animate:!1}),{legend:!s&&Object.fromEntries(o.map(e=>[e,{preserve:!0}]))}))});return Object.assign(Object.assign({},e),{marks:c})}),yield c()})}function gb(e,t){for(let n of e)gh(n,Object.assign(Object.assign({},t),{facet:!0}))}var gy=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 gE(e,t){for(let[n,r]of Object.entries(t))e.style(n,r)}let gT=iT(e=>{let t=e.attributes,{x:n,y:r,width:a,height:i,class:o,renders:s={},handleSize:l=10,document:c}=t,u=gy(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 p=l/2,d=(e,t,n)=>{e.handle||(e.handle=n.createElement("rect"),e.append(e.handle));let{handle:r}=e;return r.attr(t),r},f=rD(rM(u,"handleNW","handleNE"),"handleN"),{render:g=d}=f,m=gy(f,["render"]),h=rD(u,"handleE"),{render:b=d}=h,y=gy(h,["render"]),E=rD(rM(u,"handleSE","handleSW"),"handleS"),{render:T=d}=E,S=gy(E,["render"]),v=rD(u,"handleW"),{render:A=d}=v,O=gy(v,["render"]),_=rD(u,"handleNW"),{render:k=d}=_,I=gy(_,["render"]),C=rD(u,"handleNE"),{render:N=d}=C,w=gy(C,["render"]),x=rD(u,"handleSE"),{render:R=d}=x,L=gy(x,["render"]),D=rD(u,"handleSW"),{render:P=d}=D,M=gy(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=iT(t=>F(t,e));return new t({})},j=rU(e).attr("className",o).style("transform",`translate(${n}, ${r})`).style("draggable",!0);j.maybeAppend("selection","rect").style("draggable",!0).style("fill","transparent").call(gE,Object.assign(Object.assign({width:a,height:i},rM(u,"handle")),{transform:void 0})),j.maybeAppend("handle-n",B(g)).style("x",p).style("y",-p).style("width",a-l).style("height",l).style("fill","transparent").call(gE,m),j.maybeAppend("handle-e",B(b)).style("x",a-p).style("y",p).style("width",l).style("height",i-l).style("fill","transparent").call(gE,y),j.maybeAppend("handle-s",B(T)).style("x",p).style("y",i-p).style("width",a-l).style("height",l).style("fill","transparent").call(gE,S),j.maybeAppend("handle-w",B(A)).style("x",-p).style("y",p).style("width",l).style("height",i-l).style("fill","transparent").call(gE,O),j.maybeAppend("handle-nw",B(k)).style("x",-p).style("y",-p).style("width",l).style("height",l).style("fill","transparent").call(gE,I),j.maybeAppend("handle-ne",B(N)).style("x",a-p).style("y",-p).style("width",l).style("height",l).style("fill","transparent").call(gE,w),j.maybeAppend("handle-se",B(R)).style("x",a-p).style("y",i-p).style("width",l).style("height",l).style("fill","transparent").call(gE,L),j.maybeAppend("handle-sw",B(P)).style("x",-p).style("y",i-p).style("width",l).style("height",l).style("fill","transparent").call(gE,M)});function gS(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:p="0.3",stroke:d="#fff",selectedHandles:f=["handle-n","handle-e","handle-s","handle-w","handle-nw","handle-ne","handle-se","handle-sw"]}=t,g=gy(t,["brushed","brushended","brushcreated","brushstarted","brushupdated","extent","brushRegion","reverse","fill","fillOpacity","stroke","selectedHandles"]);let m=null,h=null,b=null,y=null,E=null,T=!1,[S,v,A,O]=s;o_(e,"crosshair"),e.style.draggable=!0;let _=(e,t,n)=>{if(i(n),y&&y.remove(),E&&E.remove(),m=[e,t],c)return k();I()},k=()=>{E=new nX.y$({style:Object.assign(Object.assign({},g),{fill:u,fillOpacity:p,stroke:d,pointerEvents:"none"})}),y=new gT({style:{x:0,y:0,width:0,height:0,draggable:!0,document:e.ownerDocument},className:"mask"}),e.appendChild(E),e.appendChild(y)},I=()=>{y=new gT({style:Object.assign(Object.assign({document:e.ownerDocument,x:0,y:0},g),{fill:u,fillOpacity:p,stroke:d,draggable:!0}),className:"mask"}),e.appendChild(y)},C=(e=!0)=>{y&&y.remove(),E&&E.remove(),m=null,h=null,b=null,T=!1,y=null,E=null,r(e)},N=(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),[p,d,f,g]=l(a,i,o,u,s);return c?x(p,d,f,g):w(p,d,f,g),n(p,d,f,g,r),[p,d,f,g]},w=(e,t,n,r)=>{y.style.x=e,y.style.y=t,y.style.width=n-e,y.style.height=r-t},x=(e,t,n,r)=>{E.style.d=` - M${S},${v}L${A},${v}L${A},${O}L${S},${O}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,m[0],h[0],S,A),i=t(r,m[1],h[1],v,O),o=[m[0]+a,m[1]+i],s=[h[0]+a,h[1]+i];N(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]=og(e,t);if(!y||!D(n)){_(r,a,t),T=!0;return}D(n)&&(b=[r,a])},B=t=>{let{target:n}=t,r=og(e,t);if(!m)return;if(!b)return N(m,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 N([m[0]+a*e,m[1]+i*t],[h[0]+a*n,h[1]+i*r])}},j=t=>{if(b){b=null;let{x:e,y:n,width:r,height:a}=y.style;m=[e,n],h=[e+r,n+a],o(e,n,e+r,n+a,t);return}h=og(e,t);let[n,r,i,s]=N(m,h);T=!1,a(n,r,i,s,t)},U=e=>{let{target:t}=e;y&&!D(t)&&C()},H=t=>{let{target:n}=t;y&&D(n)&&!T?M(n)?o_(e,"move"):P(n)&&o_(e,L[n.id].cursor):o_(e,"crosshair")},G=()=>{o_(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||_(e,t,{}),m=[e,t],h=[n,r],N([e,t],[n,r],a)},remove(e=!0){y&&C(e)},destroy(){y&&C(!1),o_(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 gA(e,t){var{elements:n,selectedHandles:r,siblings:a=e=>[],datum:i,brushRegion:o,extent:s,reverse:l,scale:c,coordinate:u,series:p=!1,key:d=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:g={},emitter:m}=t,h=gy(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),T=oS(b,i),S=rD(h,"mask"),{setState:v,removeState:A}=oy(g,T),O=new Map,{width:_,height:k,x:I=0,y:C=0}=f(e),N=()=>{for(let e of[...b,...E])A(e,"active","inactive")},w=(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,p]=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)A(e,"inactive");for(let e of O.values())e.remove();O.clear()},R=(t,n,r,a)=>{let i=e=>{let t=e.cloneNode();return t.__data__=e.__data__,e.parentNode.appendChild(t),O.set(e,t),t},o=new nX.UL({style:{x:t+I,y:n+C,width:r-t,height:a-n}});for(let t of(e.appendChild(o),b)){let e=O.get(t)||i(t);e.style.clipPath=o,v(t,"inactive"),v(e,"active")}},L=gS(e,Object.assign(Object.assign({},S),{extent:s||[0,0,_,k],brushRegion:o,reverse:l,selectedHandles:r,brushended:e=>{let t=p?x:N;e&&m.emit("brush:remove",{nativeEvent:!0}),t()},brushed:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);a&&m.emit("brush:highlight",{nativeEvent:!0,data:{selection:i}});let o=p?R:w;o(e,t,n,r)},brushcreated:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);m.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushupdated:(e,t,n,r,a)=>{let i=i9(e,t,n,r,c,u);m.emit("brush:end",Object.assign(Object.assign({},a),{nativeEvent:!0,data:{selection:i}}))},brushstarted:e=>{m.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=i8(i,r),l=i8(o,a),c=[s[0],l[0]],u=[s[1],l[1]],[p,d]=n.map(c),[f,g]=n.map(u);return[p,d,f,g]}(n,c,u);L.move(r,a,i,o,!1)};m.on("brush:highlight",D);let P=({nativeEvent:e}={})=>{e||L.remove(!1)};m.on("brush:remove",P);let M=L.destroy.bind(L);return L.destroy=()=>{m.off("brush:highlight",D),m.off("brush:remove",P),M()},L}function gO(e){var{facet:t,brushKey:n}=e,r=gy(e,["facet","brushKey"]);return(e,a,i)=>{let{container:o,view:s,options:l}=e,c=op(o),u={maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",reverse:!1},p=["active",["inactive",{opacity:.5}]],{scale:d,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 gA(c.parentNode.parentNode,Object.assign(Object.assign({elements:()=>oc(e,a),datum:ob(ou(e,a).map(e=>e.view)),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:[n,o,s,l],state:oT(ou(e,a).map(e=>e.options),p),emitter:i,scale:d,coordinate:f,selectedHandles:void 0},u),r))}let g=gA(c,Object.assign(Object.assign({elements:ol,key:e=>e.__data__.key,siblings:()=>gv(e,a,n).map(e=>op(e.container)),datum:ob([s,...gv(e,a,n).map(e=>e.view)]),brushRegion:(e,t,n,r)=>[e,t,n,r],extent:void 0,state:oT([l,...gv(e,a,n).map(e=>e.options)],p),emitter:i,scale:d,coordinate:f,selectedHandles:void 0},u),r));return c.brush=g,()=>g.destroy()}}function g_(e,t,n,r,a){let[,i,,o]=a;return[e,i,n,o]}function gk(e,t,n,r,a){let[i,,o]=a;return[i,t,o,r]}var gI=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 gC="axis-hot-area";function gN(e){return e.getElementsByClassName("axis")}function gw(e){return e.getElementsByClassName("axis-line")[0]}function gx(e){return e.getElementsByClassName("axis-main-group")[0].getLocalBounds()}function gR(e,t){var{cross:n,offsetX:r,offsetY:a}=t,i=gI(t,["cross","offsetX","offsetY"]);let o=gx(e),s=gw(e),[l]=s.getLocalBounds().min,[c,u]=o.min,[p,d]=o.max,f=(p-c)*2;return{brushRegion:gk,hotZone:new nX.UL({className:gC,style:Object.assign({width:n?f/2:f,transform:`translate(${(n?c:l-f/2).toFixed(2)}, ${u})`,height:d-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(p-r),a]}}function gL(e,t){var{offsetY:n,offsetX:r,cross:a=!1}=t,i=gI(t,["offsetY","offsetX","cross"]);let o=gx(e),s=gw(e),[,l]=s.getLocalBounds().min,[c,u]=o.min,[p,d]=o.max,f=d-u;return{brushRegion:g_,hotZone:new nX.UL({className:gC,style:Object.assign({width:p-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(d-n)]}}var 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{hideX:t=!0,hideY:n=!0}=e,r=gD(e,["hideX","hideY"]);return(e,a,i)=>{let{container:o,view:s,options:l,update:c,setState:u}=e,p=op(o),d=!1,f=!1,g=s,{scale:m,coordinate:h}=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:p=!1}=t,d=gD(t,["filter","reset","brushRegion","extent","reverse","emitter","scale","coordinate","selection","series"]);let f=rD(d,"mask"),{width:g,height:m}=e.getBBox(),h=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)}}(p,Object.assign(Object.assign({brushRegion:(e,t,n,r)=>[e,t,n,r],selection:(e,t,n,r)=>{let{scale:a,coordinate:i}=g;return i9(e,t,n,r,a,i)},filter:(e,r)=>{var a,o,s,p;return a=this,o=void 0,s=void 0,p=function*(){if(f)return;f=!0;let[a,o]=e;u("brushFilter",e=>{let{marks:r}=e,i=r.map(e=>(0,rv.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();g=s.view,f=!1,d=!0},new(s||(s=Promise))(function(e,t){function n(e){try{i(p.next(e))}catch(e){t(e)}}function r(e){try{i(p.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((p=p.apply(a,o||[])).next())})},reset:e=>{if(f||!d)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]}})),d=!1,g=s,u("brushFilter"),c()},extent:void 0,emitter:i,scale:m,coordinate:h},{maskFill:"#777",maskFillOpacity:"0.3",maskStroke:"#fff",unhighlightedOpacity:.5,reverse:!1}),r))}}var gM=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 gF(e){return[e[0],e[e.length-1]]}function gB({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,p)=>{let{container:d,view:f,update:g,setState:m}=c,h=d.getElementsByClassName(t);if(!h.length)return()=>{};let b=!1,{scale:y,coordinate:E,layout:T}=f,{paddingLeft:S,paddingTop:v,paddingBottom:A,paddingRight:O}=T,{x:_,y:k}=y,I=r9(E),C=e=>{let t="vertical"===e?"y":"x",n="vertical"===e?"x":"y";return I?[n,t]:[t,n]},N=new Map,w=new Set,x={x:e.x||_.getOptions().domain,y:e.y||k.getOptions().domain};for(let e of h){let{orientation:t}=e.attributes,[c,u]=C(t),d=`${n}${r$(c)}:filter`,f="x"===c,{ratio:h}=_.getOptions(),{ratio:E}=k.getOptions(),T=e=>{if(e.data){let{selection:t}=e.data,[n=gF(x.x),r=gF(x.y)]=t;return f?[i6(_,n,h),i6(k,r,E)]:[i6(k,r,E),i6(_,n,h)]}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=i5(t,i(r),!0),s=i5(t,i(a),!1);return i6(t,[o,s])}(n,r,I&&"horizontal"===t),i=x[u];return[a,i]},R=fV(t=>gM(this,void 0,void 0,function*(){let{initValue:r=!1}=t;if(b&&!r)return;b=!0;let{nativeEvent:i=!0}=t,[o,s]=T(t);if(x[c]=o,x[u]=s,i){let e=f?o:s,n=f?s:o;p.emit(d,Object.assign(Object.assign({},t),{nativeEvent:i,data:{selection:[gF(e),gF(n)]}}))}m(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,rv.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:S,paddingTop:v,paddingBottom:A,paddingRight:O})),yield g(),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 nX.Aw("valuechange",{data:a,nativeEvent:!1}));let l=f?i8(o,_):i8(s,k);r(e,l)};p.on(d,L),e.addEventListener("valuechange",R),N.set(e,R),w.add([d,L]);let D=l(e);D&&e.dispatchEvent(new nX.Aw("valuechange",{detail:{value:D},nativeEvent:!1,initValue:!0}))}return()=>{for(let[e,t]of N)e.removeEventListener("valuechange",t);for(let[e,t]of w)p.off(e,t)}}}let gj="g2-scrollbar";var gU=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 gH={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 gG(e){return"text"===e.nodeName&&!!e.isOverflowing()}function gz(e){var{offsetX:t=8,offsetY:n=8}=e,r=gU(e,["offsetX","offsetY"]);return e=>{let{container:a}=e,[i,o]=a.getBounds().min,s=rD(r,"tip"),l=new Set,c=e=>{let{target:r}=e;if(!gG(r)){e.stopPropagation();return}let{offsetX:c,offsetY:u}=e,p=c+t-i,d=u+n-o;if(r.tip){r.tip.style.x=p,r.tip.style.y=d;return}let{text:f}=r.style,g=new nX.k9({className:"poptip",style:{innerHTML:`
${f}
`,x:p,y:d}});a.appendChild(g),r.tip=g,l.add(g)},u=e=>{let{target:t}=e;if(!gG(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())}}}gz.props={reapplyWhenUpdate:!0};var g$=function(e,t){var n=lR(t),r=n.length;if((0,rO.Z)(e))return!r;for(var a=0;a{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:cm(a)(e)).sort(t.sort):o.count(),(0,gQ.Z)().tile(i).size(t.size).round(t.round).paddingInner(t.paddingInner).paddingOuter(t.paddingOuter).paddingTop(t.paddingTop).paddingRight(t.paddingRight).paddingBottom(t.paddingBottom).paddingLeft(t.paddingLeft)(o);let s=o.descendants().map(e=>Object.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 g0=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 g1={breadCrumbFill:"rgba(0, 0, 0, 0.85)",breadCrumbFontSize:12,breadCrumbY:12,activeFill:"rgba(0, 0, 0, 0.5)"};var g2=n(71154),g3=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())})},g4=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 g5={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},g6="movePoint",g9=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")))},g8=e=>{let t=e.target,{markType:n}=t;"line"===n&&t.attr("lineWidth",t.attr("_lineWidth")),"interval"===n&&t.attr("opacity",t.attr("_opacity"))},g7=(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}),me=e=>{let t=(0,lm.Z)(e,["__data__","y"]),n=(0,lm.Z)(e,["__data__","y1"]),r=n-t,{__data__:{data:a,encode:i,transform:o},childNodes:s}=e.parentNode,l=gW(o,({type:e})=>"normalizeY"===e),c=(0,lm.Z)(i,["y","field"]),u=a[s.indexOf(e)][c];return(e,t=!1)=>l||t?e/(1-e)/(r/(1-r))*u:e},mt=(e,t)=>{let n=(0,lm.Z)(e,["__data__","seriesItems",t,"0","value"]),r=(0,lm.Z)(e,["__data__","seriesIndex",t]),{__data__:{data:a,encode:i,transform:o}}=e.parentNode,s=gW(o,({type:e})=>"normalizeY"===e),l=(0,lm.Z)(i,["y","field"]),c=a[r][l];return e=>s?1===n?e:e/(1-e)/(n/(1-n))*c:e},mn=(e,t,n)=>{e.forEach((e,r)=>{e.attr("stroke",t[1]===r?n.activeStroke:n.stroke)})},mr=(e,t,n,r)=>{let a=new nX.y$({style:n}),i=new nX.xv({style:r});return t.appendChild(i),e.appendChild(a),[a,i]},ma=(e,t)=>{let n=(0,lm.Z)(e,["options","range","indexOf"]);if(!n)return;let r=e.options.range.indexOf(t);return e.sortedDomain[r]},mi=(e,t,n)=>{let r=oI(e,t),a=oI(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 mo=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=()=>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({},mo(e,["data","x","y","width","height"])),{data:a9(t,o),x:null!=s?s:n,y:null!=l?l:r,width:null!=c?c:a,height:null!=u?u:i})})};ms.props={};var ml=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 mc=()=>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),p=e[s]-a*(t.length-1),d=r.map(e=>p*(e/u)),f=[],g=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 md=a5(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=(0,rA.ZP)(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"))}}}),mf=a6(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:p}=l;void 0!==c&&(t=c),void 0!==u&&(n=u),void 0!==p&&(r=p),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)?[(0,ad.Z)(o)]:[Array.from(new Set(o)),"ordinal"]})();return Object.assign({encode:{color:{type:"column",value:null!=c?c:[]}},scale:{color:(0,rv.Z)({},n,{domain:c,type:u})}},void 0===o&&{legend:{color:(0,rv.Z)({title:l},r)}})}),mg=a5(()=>({animate:{enterType:"fadeIn"}})),mm=a6(()=>({frame:!1,encode:{shape:"hollow"},style:{lineWidth:0}})),mh=a6(()=>({type:"cell"})),mb=a6(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})()}}]}}}),my=a6((e,t=mE,n=mS,r=mv,a={})=>{let{data:i,encode:o,children:s,scale:l,x:c=0,y:u=0,shareData:p=!1,key:d}=e,{value:f}=i,{x:g,y:m}=o,{color:h}=l,{domain:b}=h;return{children:(e,i,o)=>{let{x:l,y:h}=i,{paddingLeft:y,paddingTop:E,marginLeft:T,marginTop:S}=o,{domain:v}=l.getOptions(),{domain:A}=h.getOptions(),O=rY(e),_=e.map(t),k=e.map(({x:e,y:t})=>[l.invert(e),h.invert(t)]),I=k.map(([e,t])=>n=>{let{[g]:r,[m]:a}=n;return(void 0===g||r===e)&&(void 0===m||a===t)}),C=I.map(e=>f.filter(e)),N=p?(0,rQ.Z)(C,e=>e.length):void 0,w=k.map(([e,t])=>({columnField:g,columnIndex:v.indexOf(e),columnValue:e,columnValuesLength:v.length,rowField:m,rowIndex:A.indexOf(t),rowValue:t,rowValuesLength:A.length})),x=w.map(e=>Array.isArray(s)?s:[s(e)].flat(1));return O.flatMap(e=>{let[t,i,o,s]=_[e],l=w[e],p=C[e],h=x[e];return h.map(h=>{var v,A,{scale:O,key:_,facet:k=!0,axis:I={},legend:C={}}=h,w=mp(h,["scale","key","facet","axis","legend"]);let x=(null===(v=null==O?void 0:O.y)||void 0===v?void 0:v.guide)||I.y,R=(null===(A=null==O?void 0:O.x)||void 0===A?void 0:A.guide)||I.x,L=k?p:0===p.length?[]:f,D={x:mA(R,n)(l,L),y:mA(x,r)(l,L)};return Object.assign(Object.assign({key:`${_}-${e}`,data:L,margin:0,x:t+y+c+T,y:i+E+u+S,parentKey:d,width:o,height:s,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!!L.length,dataDomain:N,scale:(0,rv.Z)({x:{tickCount:g?5:void 0},y:{tickCount:m?5:void 0}},O,{color:{domain:b}}),axis:(0,rv.Z)({},I,D),legend:!1},w),a)})})}}});function mE(e){let{points:t}=e;return io(t)}function mT(e,t){return t.length?(0,rv.Z)({title:!1,tick:null,label:null},e):(0,rv.Z)({title:!1,tick:null,label:null,grid:null},e)}function mS(e){return(t,n)=>{let{rowIndex:r,rowValuesLength:a,columnIndex:i,columnValuesLength:o}=t;if(r!==a-1)return mT(e,n);let s=n.length?void 0:null;return(0,rv.Z)({title:i===o-1&&void 0,grid:s},e)}}function mv(e){return(t,n)=>{let{rowIndex:r,columnIndex:a}=t;if(0!==a)return mT(e,n);let i=n.length?void 0:null;return(0,rv.Z)({title:0===r&&void 0,grid:i},e)}}function mA(e,t){return"function"==typeof e?e:null===e||!1===e?()=>null:t(e)}let mO=()=>e=>{let t=mu.of(e).call(mh).call(mf).call(mg).call(md).call(mm).call(mb).call(my).value();return[t]};mO.props={};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 mk=a5(e=>({scale:{x:{guide:null,paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mI=a6(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:p,marginLeft:d,marginTop:f}=s,{domain:g}=l.getOptions(),{domain:m}=c.getOptions(),h=rY(e),b=e.map(({points:e})=>io(e)),y=e.map(({x:e,y:t})=>[l.invert(e),c.invert(t)]),E=y.map(([e,t])=>({columnField:e,columnIndex:g.indexOf(e),columnValue:e,columnValuesLength:g.length,rowField:t,rowIndex:m.indexOf(t),rowValue:t,rowValuesLength:m.length})),T=E.map(e=>Array.isArray(n)?n:[n(e)].flat(1));return h.flatMap(e=>{let[n,o,s,l]=b[e],[c,g]=y[e],m=E[e],h=T[e];return h.map(h=>{var b,y;let{scale:E,key:T,encode:S,axis:v,interaction:A}=h,O=m_(h,["scale","key","encode","axis","interaction"]),_=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,I={x:("function"==typeof k?k:null===k?()=>null:(e,t)=>{let{rowIndex:n,rowValuesLength:r}=e;if(n!==r-1)return mT(k,t)})(m,t),y:("function"==typeof _?_:null===_?()=>null:(e,t)=>{let{columnIndex:n}=e;if(0!==n)return mT(_,t)})(m,t)};return Object.assign({data:t,parentKey:i,key:`${T}-${e}`,x:n+u+r+d,y:o+p+a+f,width:s,height:l,margin:0,paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,frame:!0,scale:(0,rv.Z)({x:{facet:!1},y:{facet:!1}},E),axis:(0,rv.Z)({x:{tickCount:5},y:{tickCount:5}},v,I),legend:!1,encode:(0,rv.Z)({},S,{x:c,y:g}),interaction:(0,rv.Z)({},A,{legendFilter:!1})},O)})})}}}),mC=a6(e=>{let{encode:t}=e,n=m_(e,["encode"]),{position:r=[],x:a=r,y:i=[...r].reverse()}=t,o=m_(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 mN=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 mw=a5(e=>({scale:{x:{guide:{type:"axisArc"},paddingOuter:0,paddingInner:.1},y:{guide:null,range:[0,1],paddingOuter:0,paddingInner:.1}}})),mx=a5(e=>({coordinate:{type:"polar"}})),mR=e=>{let{encode:t}=e,n=mN(e,["encode"]),{position:r}=t;return Object.assign(Object.assign({},n),{encode:{x:r}})};function mL(e){return e=>null}function mD(e){let{points:t}=e,[n,r,a,i]=t,o=it(n,i),s=ie(n,i),l=ie(r,a),c=ii(s,l),u=1/Math.sin(c/2),p=o/(1+u),d=p*Math.sqrt(2),[f,g]=a,m=ia(s),h=m+c/2,b=p*u;return[f+b*Math.sin(h)-d/2,g-b*Math.cos(h)-d/2,d,d]}let mP=()=>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,rv.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=lX(r,e))||void 0===t?void 0:t[0]]}).filter(([,e])=>rL(e));return Array.from((0,rA.ZP)(t,e=>a.map(([,t])=>t[e]).join("-")).values())}function mF(e){return Array.isArray(e)?(t,n,r)=>(n,r)=>e.reduce((e,a)=>0!==e?e:(0,sb.Z)(t[n][a],t[r][a]),0):"function"==typeof e?(t,n,r)=>m$(n=>e(t[n])):"series"===e?mU:"value"===e?mH:"sum"===e?mG:"maxIndex"===e?mz:null}function mB(e,t){for(let n of e)n.sort(t)}function mj(e,t){return(null==t?void 0:t.domain)||Array.from(new Set(e))}function mU(e,t,n){return m$(e=>n[e])}function mH(e,t,n){return m$(e=>t[e])}function mG(e,t,n){let r=rY(e),a=Array.from((0,rA.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,n.reduce((e,n)=>e+ +t[n])]));return m$(e=>i.get(n[e]))}function mz(e,t,n){let r=rY(e),a=Array.from((0,rA.ZP)(r,e=>n[+e]).entries()),i=new Map(a.map(([e,n])=>[e,(0,iA.Z)(n,e=>t[e])]));return m$(e=>i.get(n[e]))}function m$(e){return(t,n)=>(0,sb.Z)(e(t),e(n))}mP.props={};let mW=(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:p={}}=s,[d,f]=lX(u,"y"),[g,m]=lX(u,"y1"),[h]=o?lQ(u,"series","color"):lX(u,"color"),b=mM(t,e,s),y=null!==(l=mF(n))&&void 0!==l?l:()=>null,E=y(c,d,h);E&&mB(b,E);let T=Array(e.length),S=Array(e.length),v=Array(e.length),A=[],O=[];for(let e of b){r&&e.reverse();let t=g?+g[e[0]]:0,n=[],a=[];for(let r of e){let e=v[r]=+d[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===d[i[s]];)s--;for(;l0?u=T[e]=(S[e]=u)+t:T[e]=S[e]=u}}let _=new Set(A),k=new Set(O),I="y"===a?T:S,C="y"===i?T:S;return[e,(0,rv.Z)({},s,{encode:{y0:lV(d,f),y:lY(I,f),y1:lY(C,m)},style:Object.assign({first:(e,t)=>_.has(t),last:(e,t)=>k.has(t)},p)})]}};mW.props={};var mZ=n(52362),mY=n(87568),mV=n(76132),mq=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 mK(e){return t=>null===t?e:`${e} of ${t}`}function mX(){let e=mK("mean");return[(e,t)=>(0,fJ.Z)(e,e=>+t[e]),e]}function mQ(){let e=mK("median");return[(e,t)=>(0,mV.Z)(e,e=>+t[e]),e]}function mJ(){let e=mK("max");return[(e,t)=>(0,rQ.Z)(e,e=>+t[e]),e]}function m0(){let e=mK("min");return[(e,t)=>(0,sh.Z)(e,e=>+t[e]),e]}function m1(){let e=mK("count");return[(e,t)=>e.length,e]}function m2(){let e=mK("sum");return[(e,t)=>(0,rX.Z)(e,e=>+t[e]),e]}function m3(){let e=mK("first");return[(e,t)=>t[e[0]],e]}function m4(){let e=mK("last");return[(e,t)=>t[e[e.length-1]],e]}let m5=(e={})=>{let{groupBy:t}=e,n=mq(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]=lX(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:mX,max:mJ,count:m1,first:m3,last:m4,sum:m2,min:m0,median:mQ}[e];if(!t)throw Error(`Unknown reducer: ${e}.`);return t()}(t),[l,c]=lX(i,e),u=s(c,t),p=o.map(e=>n(e,null!=l?l:a));return[e,Object.assign(Object.assign({},function(e,t){let n=lY(e,t);return Object.assign(Object.assign({},n),{constant:!1})}(p,(null==r?void 0:r(u))||u)),{aggregate:!0})]}),c=Object.keys(i).map(e=>{let[t,n]=lX(i,e),r=o.map(e=>t[e[0]]);return[e,lY(r,n)]}),u=o.map(e=>a[e[0]]),p=rY(o);return[p,(0,rv.Z)({},r,{data:u,encode:Object.fromEntries([...c,...l])})]}};m5.props={};var m6=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="thresholds",m8=(e={})=>{let{groupChannels:t=["color"],binChannels:n=["x","y"]}=e,r=m6(e,["groupChannels","binChannels"]),a={};return m5(Object.assign(Object.assign(Object.assign({},Object.fromEntries(Object.entries(r).filter(([e])=>!e.startsWith(m9)))),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]=lX(o,e);return t}),l=rD(r,m9),c=e.filter(e=>s.every(t=>rL(t[e]))),u=[...t.map(e=>{let[t]=lX(o,e);return t}).filter(rL).map(e=>t=>e[t]),...n.map((e,t)=>{let n=s[t],r=l[e]||function(e){let[t,n]=(0,ad.Z)(e);return Math.min(200,(0,mZ.Z)(e,t,n))}(n),i=(0,mY.Z)().thresholds(r).value(e=>+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((0,rA.ZP)(c,e=>u.map(t=>t(e)).join("-")).values())}}))};m8.props={};let m7=(e={})=>{let{thresholds:t}=e;return m8(Object.assign(Object.assign({},e),{thresholdsX:t,groupChannels:["color"],binChannels:["x"]}))};m7.props={};var he=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 ht=(e={})=>{let{groupBy:t="x",reverse:n=!1,orderBy:r,padding:a}=e;return he(e,["groupBy","reverse","orderBy","padding"]),(e,i)=>{let{data:o,encode:s,scale:l}=i,{series:c}=l,[u]=lX(s,"y"),[p]=lQ(s,"series","color"),d=mj(p,c),f=(0,rv.Z)({},i,{scale:{series:{domain:d,paddingInner:a}}}),g=mM(t,e,i),m=mF(r);if(!m)return[e,(0,rv.Z)(f,{encode:{series:lY(p)}})];let h=m(o,u,p);h&&mB(g,h);let b=Array(e.length);for(let e of g){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]=lX(i,"x"),[u]=lX(i,"y"),p=hn(c,s,n),d=hn(u,l,r),f=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...d)),g=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(a(),...p));return[e,(0,rv.Z)({scale:{x:{padding:.5},y:{padding:.5}}},t,{encode:{dy:lY(f),dx:lY(g)}})]}};hr.props={};let ha=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{x:o}=i,[s]=lX(a,"x"),l=hn(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,rv.Z)({scale:{x:{padding:.5}}},r,{encode:{dx:lY(c)}})]}};ha.props={};let hi=(e={})=>{let{padding:t=0,random:n=Math.random}=e;return(e,r)=>{let{encode:a,scale:i}=r,{y:o}=i,[s]=lX(a,"y"),l=hn(s,o,t),c=e.map(()=>(function(e,t,n){return t*(1-e)+n*e})(n(),...l));return[e,(0,rv.Z)({scale:{y:{padding:.5}}},r,{encode:{dy:lY(c)}})]}};hi.props={};var ho=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 hs=(e={})=>{let{groupBy:t="x"}=e;return(e,n)=>{let{encode:r}=n,{x:a}=r,i=ho(r,["x"]),o=Object.entries(i).filter(([e])=>e.startsWith("y")).map(([e])=>[e,lX(r,e)[0]]),s=o.map(([t])=>[t,Array(e.length)]),l=mM(t,e,n),c=Array(l.length);for(let e=0;eo.map(([,t])=>+t[e])),[r,a]=(0,ad.Z)(n);c[e]=(r+a)/2}let u=Math.max(...c);for(let e=0;e[e,lY(t,lX(r,e)[1])]))})]}};hs.props={};let hl=(e={})=>{let{groupBy:t="x",series:n=!0}=e;return(e,r)=>{let{encode:a}=r,[i]=lX(a,"y"),[o,s]=lX(a,"y1"),[l]=n?lQ(a,"series","color"):lX(a,"color"),c=mM(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,rv.Z)({},r,{encode:{y1:lY(u,s)}})]}};hl.props={};let hc=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,lX(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((0,rA.ZP)(n,t=>e[t]).values());t.push(...r)}u=t}if(r){let[e]=lX(s,r);e&&u.sort((t,r)=>n(t,e)-n(r,e)),a&&u.reverse()}let p=(i||3e3)/u.length,[d]=i?[lK(e,p)]:lQ(s,"enterDuration",lK(e,p)),[f]=lQ(s,"enterDelay",lK(e,0)),g=Array(e.length);for(let e=0,t=0;e+d[e]);for(let e of n)g[e]=+f[e]+t;t+=r}return[e,(0,rv.Z)({},o,{encode:{enterDuration:lq(d),enterDelay:lq(g)}})]}};hc.props={};var hu=n(93209),hp=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 hd=(e={})=>{let{groupBy:t="x",basis:n="max"}=e;return(e,r)=>{let{encode:a,tooltip:i}=r,{x:o}=a,s=hp(a,["x"]),l=Object.entries(s).filter(([e])=>e.startsWith("y")).map(([e])=>[e,lX(a,e)[0]]),[,c]=l.find(([e])=>"y"===e),u=l.map(([t])=>[t,Array(e.length)]),p=mM(t,e,r),d="function"==typeof n?n:({min:(e,t)=>(0,sh.Z)(e,e=>t[+e]),max:(e,t)=>(0,rQ.Z)(e,e=>t[+e]),first:(e,t)=>t[e[0]],last:(e,t)=>t[e[e.length-1]],mean:(e,t)=>(0,fJ.Z)(e,e=>t[+e]),median:(e,t)=>(0,mV.Z)(e,e=>t[+e]),sum:(e,t)=>(0,rX.Z)(e,e=>t[+e]),deviation:(e,t)=>(0,hu.Z)(e,e=>t[+e])})[n]||rQ.Z;for(let e of p){let t=d(e,c);for(let n of e)for(let e=0;e[e,lY(t,lX(a,e)[1])]))},!f&&a.y0&&{tooltip:{items:[{channel:"y0"}]}}))]}};function hf(e,t){return[e[0]]}function hg(e,t){let n=e.length-1;return[e[n]]}function hm(e,t){let n=(0,iA.Z)(e,e=>t[e]);return[e[n]]}function hh(e,t){let n=(0,fQ.Z)(e,e=>t[e]);return[e[n]]}hd.props={};let hb=(e={})=>{let{groupBy:t="series",channel:n,selector:r}=e;return(e,a)=>{let{encode:i}=a,o=mM(t,e,a),[s]=lX(i,n),l="function"==typeof r?r:({first:hf,last:hg,max:hm,min:hh})[r]||hf;return[o.flatMap(e=>l(e,s)),a]}};hb.props={};var hy=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 hE=(e={})=>{let{selector:t}=e,n=hy(e,["selector"]);return hb(Object.assign({channel:"x",selector:t},n))};hE.props={};var hT=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 hS=(e={})=>{let{selector:t}=e,n=hT(e,["selector"]);return hb(Object.assign({channel:"y",selector:t},n))};hS.props={};var hv=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 hA=(e={})=>{let{channels:t=["x","y"]}=e,n=hv(e,["channels"]);return m5(Object.assign(Object.assign({},n),{groupBy:(e,n)=>mM(t,e,n)}))};hA.props={};let hO=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["x","color","series"]}));hO.props={};let h_=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["y","color","series"]}));h_.props={};let hk=(e={})=>hA(Object.assign(Object.assign({},e),{channels:["color"]}));hk.props={};var hI=n(28085),hC=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 hN=(e={})=>{let{reverse:t=!1,slice:n,channel:r,ordinal:a=!0}=e,i=hC(e,["reverse","slice","channel","ordinal"]);return(e,o)=>a?function(e,t,n){var r;let{reverse:a,slice:i,channel:o}=n,s=hC(n,["reverse","slice","channel"]),{encode:l,scale:c={}}=t,u=null===(r=c[o])||void 0===r?void 0:r.domain,[p]=lX(l,o),d=function(e,t,n){let{by:r=e,reducer:a="max"}=t,[i]=lX(n,r);if("function"==typeof a)return e=>a(e,i);if("max"===a)return e=>(0,rQ.Z)(e,e=>+i[e]);if("min"===a)return e=>(0,sh.Z)(e,e=>+i[e]);if("sum"===a)return e=>(0,rX.Z)(e,e=>+i[e]);if("median"===a)return e=>(0,mV.Z)(e,e=>+i[e]);if("mean"===a)return e=>(0,fJ.Z)(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}`)}(o,s,l),f=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,u),g=(0,hI.Z)(f,d,e=>p[e]);a&&g.reverse();let m=i?g.slice(..."number"==typeof i?[0,i]:i):g;return[e,(0,rv.Z)(t,{scale:{[o]:{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]=lX(i,a),s=(0,iF.Z)(e,e=>o[e]);return r&&s.reverse(),[s,t]}(e,o,Object.assign({reverse:t,slice:n,channel:r},i))};hN.props={};let hw=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"x"}));hw.props={};let hx=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"y"}));hx.props={};let hR=(e={})=>hN(Object.assign(Object.assign({},e),{channel:"color"}));hR.props={};let hL=(e={})=>{let{field:t,channel:n="y",reducer:r="sum"}=e;return(e,a)=>{let{data:i,encode:o}=a,[s]=lX(o,"x"),l=t?"string"==typeof t?i.map(e=>e[t]):i.map(t):lX(o,n)[0],c=function(e,t){if("function"==typeof e)return n=>e(n,t);if("sum"===e)return e=>(0,rX.Z)(e,e=>+t[e]);throw Error(`Unknown reducer: ${e}`)}(r,l),u=(0,rA.Q3)(e,c,e=>s[e]).map(e=>e[1]);return[e,(0,rv.Z)({},a,{scale:{x:{flex:u}}})]}};hL.props={};let hD=e=>(t,n)=>[t,(0,rv.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),p=u*c;for(;p>s;)l+=1,c=o/l,p=(u=Math.ceil(r/l))*c;let d=s-u*c,f=u<=1?0:d/(u-1),[g,m]=u<=1?[(o-i*c)/(i-1),(s-c)/2]:[0,0];return e.map((e,r)=>{let[a,i,o,s]=io(e),p="col"===n?r%l:Math.floor(r/u),h="col"===n?Math.floor(r/l):r%u,b=p*c,y=(u-h-1)*c+d,E=(c-t)/o,T=(c-t)/s;return`translate(${b-a+g*p+.5*t}, ${y-i-f*h-m+.5*t}) scale(${E}, ${T})`})}}(e),axis:!1})];hD.props={};var hP=n(80091);function hM(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=[],p=(s-2)/(r-2),d=0;u.push(d);for(let e=0;ea&&(a=i,o=m);u.push(o),d=o}return u.push(s-1),u.map(t=>e[t])}let hF=(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 hM;let t={first:e=>[e[0]],last:e=>[e[e.length-1]],min:(e,t,n)=>[e[(0,fQ.Z)(e,e=>n[e])]],max:(e,t,n)=>[e[(0,iA.Z)(e,e=>n[e])]],median:(e,t,n)=>[e[(0,hP.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=mM(r,e,t),[s]=lX(i,"x"),[l]=lX(i,"y");return[o.flatMap(e=>a(e,s,l,n)),t]}};hF.props={};let hB=(e={})=>(t,n)=>{let{encode:r,data:a}=n,i=Object.entries(e).map(([e,t])=>{let[n]=lX(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(rL),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,rv.Z)({},n,{encode:Object.fromEntries(l),data:o.map(e=>a[e])})]};hB.props={};var hj=n(42132),hU=n(6586);let hH=e=>{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(0,hj.Z)(r).parse(t,a?hU.Z:rC)}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())})}};hH.props={};let hG=e=>{let{value:t}=e;return()=>t};hG.props={};let hz=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))};hz.props={};let h$=e=>{let{callback:t}=e;return e=>Array.isArray(e)?[...e].sort(t):e};function hW(e){return null!=e&&!Number.isNaN(e)}h$.props={};let hZ=e=>{let{callback:t=hW}=e;return e=>e.filter(t)};hZ.props={};let hY=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))};hY.props={};let hV=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;hV.props={};let hq=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};hq.props={};let hK=e=>{let{start:t,end:n}=e;return e=>e.slice(t,n)};hK.props={};let hX=e=>{let{callback:t=rC}=e;return e=>t(e)};hX.props={};let hQ=e=>{let{callback:t=rC}=e;return e=>Array.isArray(e)?e.map(t):e};function hJ(e){return"string"==typeof e?t=>t[e]:e}hQ.props={};let h0=e=>{let{join:t,on:n,select:r=[],as:a=r,unknown:i=NaN}=e,[o,s]=n,l=hJ(s),c=hJ(o),u=(0,rA.jJ)(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),{}))})};h0.props={};var h1=n(53843),h2=n.n(h1);let h3=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((0,rA.ZP)(e,e=>n.map(t=>e[t]).join("-")).values());return r.map(e=>{let n=h2().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})})}};h3.props={};let h4=()=>e=>(console.log("G2 data section:",e),e);h4.props={};let h5=Math.PI/180;function h6(e){return e.text}function h9(){return"serif"}function h8(){return"normal"}function h7(e){return e.value}function be(){return 90*~~(2*Math.random())}function bt(){return 1}function bn(){}function br(e){let t=e[0]/e[1];return function(e){return[t*(e*=.1)*Math.cos(e),e*Math.sin(e)]}}function ba(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 bc={fontSize:[20,60],font:"Impact",padding:2,rotate:function(){return(~~(6*Math.random())-3)*30}};function bu(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 bp=(e,t)=>n=>{var r,a,i,o;return r=void 0,a=void 0,i=void 0,o=function*(){let r=Object.assign({},bc,e,{canvas:t.createCanvas}),a=function(){let e=[256,256],t=h6,n=h9,r=h7,a=h8,i=be,o=bt,s=br,l=Math.random,c=bn,u=[],p=null,d=1/0,f=bi,g={};return g.start=function(){let[m,h]=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=g.board?g.board:ba((e[0]>>5)*e[1]),E=u.length,T=[],S=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=h8.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}),v=-1,A=g.board?[{x:0,y:0},{x:m,y:h}]:void 0;function O(){let t=Date.now();for(;Date.now()-t>1,t.y=h*(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*h5),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,p=[];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;p[e]|=r,l|=r}l?c=n:(t.y0++,i--,n--,s++)}t.y1=t.y0+c,t.sprite=p.slice(0,(t.y1-t.y0)*a)}}(b,t,S,v),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,p,d=-u,f,g;for(;(p=c(d+=u))&&!(Math.min(Math.abs(f=~~p[0]),Math.abs(g=~~p[1]))>=o);)if(n.x=a+f,n.y=i+g,!(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,p=(n.y+n.y0)*i+(o>>5);for(let e=0;e>>s:0);p+=i}return delete n.sprite,!0}return!1}(y,t,A)&&(c.call(null,"word",{cloud:g,word:t}),T.push(t),A?g.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)}(A,t):A=[{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)}g._tags=T,g._bounds=A,v>=E&&(g.stop(),c.call(null,"end",{cloud:g,words:T,bounds:A}))}return p&&clearInterval(p),p=setInterval(O,0),O(),g},g.stop=function(){return p&&(clearInterval(p),p=null),g},g.createMask=t=>{let n=document.createElement("canvas"),[r,a]=e;if(!r||!a)return;let i=r>>5,o=ba((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}g.board=o,g.hasImage=!0},g.timeInterval=function(e){d=null==e?1/0:e},g.words=function(e){u=e},g.size=function(t=[]){e=[+t[0],+t[1]]},g.text=function(e){t=bo(e)},g.font=function(e){n=bo(e)},g.fontWeight=function(e){a=bo(e)},g.rotate=function(e){i=bo(e)},g.canvas=function(e){f=bo(e)},g.spiral=function(e){s=bs[e]||e},g.fontSize=function(e){r=bo(e)},g.padding=function(e){o=bo(e)},g.random=function(e){l=bo(e)},g.on=function(e){c=bo(e)},g}();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,[(0,sh.Z)(t),(0,rQ.Z)(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",bu,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,p=c.map(e=>{var{x:t,y:n,font:r}=e;return Object.assign(Object.assign({},bl(e,["x","y","font"])),{x:t+o/2,y:n+s/2,fontFamily:r})}),[{x:d,y:f},{x:g,y:m}]=l,h={text:"",value:0,opacity:0,fontSize:0};return p.push(Object.assign(Object.assign({},h),{x:u?0:d,y:u?0:f}),Object.assign(Object.assign({},h),{x:u?o:g,y:u?s:m})),p},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 bd(e){let{min:t,max:n}=e;return[[t[0],t[1]],[n[0],n[1]]]}function bf(e,t){let[n,r]=e,[a,i]=t;return n>=a[0]&&n<=i[0]&&r>=a[1]&&r<=i[1]}function bg(){let e=new Map;return[t=>e.get(t),(t,n)=>e.set(t,n)]}function bm(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}function bh(e,t,n){return .2126*bm(e)+.7152*bm(t)+.0722*bm(n)}function bb(e,t){let{r:n,g:r,b:a}=e,{r:i,g:o,b:s}=t,l=bh(n,r,a),c=bh(i,o,s);return(Math.max(l,c)+.05)/(Math.min(l,c)+.05)}bp.props={};let by=(e,t)=>{let[[n,r],[a,i]]=t,[[o,s],[l,c]]=e,u=0,p=0;return oa&&(u=a-l),si&&(p=i-c),[u,p]};var bE=n(30348),bT=n(70603),bS=n(60261),bv=n(33487),bA=n(84699),bO=n(58271),b_=n(72051),bk=n(26477),bI=n(75053),bC=n(40552),bN=n(11261),bw=n(40916),bx=n(93437),bR=n(32427),bL=n(23007),bD=n(38839),bP=n(50435),bM=n(30378),bF=n(17421),bB=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 bj(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:[(0,bT.e)()]}}):"sphere"===n?Object.assign(Object.assign({},e),{sphere:!0,data:{value:[{type:"Sphere"}]}}):e}function bU(e){return"geoPath"===e.type}let bH=()=>e=>{let t;let{children:n,coordinate:r={}}=e;if(!Array.isArray(n))return[];let{type:a="equalEarth"}=r,i=bB(r,["type"]),o=function(e){if("function"==typeof e)return e;let t=`geo${r$(e)}`,n=J[t];if(!n)throw Error(`Unknown coordinate: ${e}`);return n}(a),s=n.map(bj);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(bU),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]]=(0,bE.Z)(e.fitWidth(r,t)).bounds(t),c=Math.ceil(l-o),u=Math.min(Math.ceil(s-i),c),p=e.scale()*(u-1)/u,[d,f]=e.translate();e.scale(p).translate([d,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=(0,bE.Z)(l);let c=new as.b({domain:[e,e+r]}),u=new as.b({domain:[n,n+a]}),p=e=>{let t=l(e);if(!t)return[null,null];let[n,r]=t;return[c.map(n),u.map(r)]},d=e=>{if(!e)return null;let[t,n]=e,r=[c.invert(t),u.invert(n)];return l.invert(r)};return{transform:e=>p(e),untransform:e=>d(e)}}]]}},children:s.flatMap(e=>bU(e)?function(e){let{style:n,tooltip:r={}}=e;return Object.assign(Object.assign({},e),{type:"path",tooltip:sS(r,{title:"id",items:[{channel:"color"}]}),style:Object.assign(Object.assign({},n),{d:e=>t(e)||[]})})}(e):e)})]};bH.props={};var bG=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{type:t,data:n,scale:r,encode:a,style:i,animate:o,key:s,state:l}=e,c=bG(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}]})]};bz.props={};var b$=n(61940),bW=n(58571),bZ=n(69299),bY=n(77715),bV=n(26464),bq=n(32878),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};let bX={joint:!0},bQ={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}},bJ={type:"point",axis:!1,legend:!1,encode:{x:"x",y:"y",size:5,color:"group",shape:"point"},style:{stroke:"#fff"}},b0={text:""},b1=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:p=e=>e.id}=n,d=bK(n,["nodeKey","linkKey"]),f=Object.assign({nodeKey:u,linkKey:p},d),g=rD(f,"node"),m=rD(f,"link"),{links:h,nodes:b}=cb(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=(0,b$.Z)(),p=(0,bW.Z)(a).id(cm(c));"function"==typeof o&&u.strength(o),"function"==typeof s&&p.strength(s);let d=(0,bZ.Z)(r).force("link",p).force("charge",u);i?d.force("center",(0,bY.Z)()):d.force("x",(0,bV.Z)()).force("y",(0,bq.Z)()),d.stop();let f=Math.ceil(Math.log(d.alphaMin())/Math.log(1-d.alphaDecay()));for(let e=0;e({name:"source",value:cm(p)(e.source)}),e=>({name:"target",value:cm(p)(e.target)})]}),S=sT(c,"node",{items:[e=>({name:"key",value:cm(u)(e)})]},!0);return[(0,rv.Z)({},bQ,{data:E,encode:m,labels:s,style:rD(a,"link"),tooltip:T,animate:sA(l,"link")}),(0,rv.Z)({},bJ,{data:y,encode:Object.assign({},g),scale:r,style:rD(a,"node"),tooltip:S,labels:[Object.assign(Object.assign({},b0),rD(a,"label")),...o],animate:sA(l,"link")})]};b1.props={};var b2=n(81594),b3=n(95608);let b4=e=>t=>n=>{let{field:r="value",nodeSize:a,separation:i,sortBy:o,as:s=["x","y"]}=t,[l,c]=s,u=(0,ly.ZP)(n,e=>e.children).sum(e=>e[r]).sort(o),p=e();p.size([1,1]),a&&p.nodeSize(a),i&&p.separation(i),p(u);let d=[];u.each(e=>{e[l]=e.x,e[c]=e.y,e.name=e.data.name,d.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:d,edges:f}},b5=e=>b4(b3.Z)(e);b5.props={};let b6=e=>b4(b2.Z)(e);b6.props={};let b9={sortBy:(e,t)=>t.value-e.value},b8={axis:!1,legend:!1,type:"point",encode:{x:"x",y:"y",size:2,shape:"point"}},b7={type:"link",encode:{x:"x",y:"y",shape:"smooth"}},ye={text:"",fontSize:10},yt=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:p,edges:d}=b6(Object.assign(Object.assign(Object.assign({},b9),i),{field:u}))(t),f=sT(c,"node",{title:"name",items:["value"]},!0),g=sT(c,"link",{title:"",items:[e=>({name:"source",value:e.source.name}),e=>({name:"target",value:e.target.name})]});return[(0,rv.Z)({},b7,{data:d,encode:rD(n,"link"),scale:rD(r,"link"),labels:s,style:Object.assign({stroke:"#999"},rD(a,"link")),tooltip:g,animate:sA(l,"link")}),(0,rv.Z)({},b8,{data:p,scale:rD(r,"node"),encode:rD(n,"node"),labels:[Object.assign(Object.assign({},ye),rD(a,"label")),...o],style:Object.assign({},rD(a,"node")),tooltip:f,animate:sA(l,"node")})]};yt.props={};var yn=n(45571),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,t)=>({size:[e,t],padding:0,sort:(e,t)=>t.value-e.value}),yi=(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"}}),yo={text:"",position:"inside",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>2*e.r},ys={title:e=>e.data.name,items:[{field:"value"}]},yl=(e,t,n)=>{let{value:r}=n,a=(0,rz.Z)(e)?(0,gZ.Z)().path(t.path)(e):(0,ly.ZP)(e);return r?a.sum(e=>cm(r)(e)).sort(t.sort):a.count(),(0,yn.Z)().size(t.size).padding(t.padding)(a),a.descendants()},yc=(e,t)=>{let{width:n,height:r}=t,{data:a,encode:i={},scale:o={},style:s={},layout:l={},labels:c=[],tooltip:u={}}=e,p=yr(e,["data","encode","scale","style","layout","labels","tooltip"]),d=yi(n,r,i),f=yl(a,(0,rv.Z)({},ya(n,r),l),(0,rv.Z)({},d.encode,i)),g=rD(s,"label");return(0,rv.Z)({},d,Object.assign(Object.assign({data:f,encode:i,scale:o,style:s,labels:[Object.assign(Object.assign({},yo),g),...c]},p),{tooltip:sS(u,ys),axis:!1}))};function yu(e){return e.target.depth}function yp(e,t){return e.sourceLinks.length?e.depth:t-1}function yd(e){return function(){return e}}function yf(e,t){return ym(e.source,t.source)||e.index-t.index}function yg(e,t){return ym(e.target,t.target)||e.index-t.index}function ym(e,t){return e.y0-t.y0}function yh(e){return e.value}function yb(e){return e.index}function yy(e){return e.nodes}function yE(e){return e.links}function yT(e,t){let n=e.get(t);if(!n)throw Error("missing: "+t);return n}function yS({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}}yc.props={};let yv={nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodes:e=>e.nodes,links:e=>e.links,nodeSort:void 0,linkSort:void 0,iterations:6},yA={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?(0,sh.Z)(e.sourceLinks,yu)-1:0},justify:yp},yO=e=>t=>{let{nodeId:n,nodeSort:r,nodeAlign:a,nodeWidth:i,nodePadding:o,nodeDepth:s,nodes:l,links:c,linkSort:u,iterations:p}=Object.assign({},yv,e),d=(function(){let e,t,n,r=0,a=0,i=1,o=1,s=24,l=8,c,u=yb,p=yp,d=yy,f=yE,g=6;function m(m){let b={nodes:d(m),links:f(m)};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=yT(r,n)),"object"!=typeof a&&(a=e.target=yT(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((0,rX.Z)(t.sourceLinks,yh),(0,rX.Z)(t.targetLinks,yh)):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((0,rQ.Z)(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((0,rQ.Z)(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(p.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)/((0,rQ.Z)(u,e=>e.length)-1)),function(e){let t=(0,sh.Z)(e,e=>(o-a-(e.length-1)*c)/(0,rX.Z)(e,yh));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(ym),a.length&&h(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(ym),i.length&&h(i,r)}}(u,n,r)}}(b),yS(b),b}function h(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(yg);for(let{target:{targetLinks:t}}of e)t.sort(yf)}}return m.update=function(e){return yS(e),e},m.nodeId=function(e){return arguments.length?(u="function"==typeof e?e:yd(e),m):u},m.nodeAlign=function(e){return arguments.length?(p="function"==typeof e?e:yd(e),m):p},m.nodeDepth=function(t){return arguments.length?(e=t,m):e},m.nodeSort=function(e){return arguments.length?(t=e,m):t},m.nodeWidth=function(e){return arguments.length?(s=+e,m):s},m.nodePadding=function(e){return arguments.length?(l=c=+e,m):l},m.nodes=function(e){return arguments.length?(d="function"==typeof e?e:yd(e),m):d},m.links=function(e){return arguments.length?(f="function"==typeof e?e:yd(e),m):f},m.linkSort=function(e){return arguments.length?(n=e,m):n},m.size=function(e){return arguments.length?(r=a=0,i=+e[0],o=+e[1],m):[i-r,o-a]},m.extent=function(e){return arguments.length?(r=+e[0][0],i=+e[1][0],a=+e[0][1],o=+e[1][1],m):[[r,a],[i,o]]},m.iterations=function(e){return arguments.length?(g=+e,m):g},m})().nodeSort(r).linkSort(u).links(c).nodes(l).nodeWidth(i).nodePadding(o).nodeDepth(s).nodeAlign(function(e){let t=typeof e;return"string"===t?yA[e]||yp:"function"===t?e:yp}(a)).iterations(p).extent([[0,0],[1,1]]);"function"==typeof n&&d.nodeId(n);let f=d(t),{nodes:g,links:m}=f,h=g.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=m.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:h,links:b}};yO.props={};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 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 yk={nodeId:e=>e.key,nodeWidth:.02,nodePadding:.02},yI={type:"polygon",axis:!1,legend:!1,encode:{shape:"polygon",x:"x",y:"y"},scale:{x:{type:"identity"},y:{type:"identity"}},style:{stroke:"#000"}},yC={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{fillOpacity:.5,stroke:void 0}},yN={textAlign:e=>e.x[0]<.5?"start":"end",position:e=>e.x[0]<.5?"right":"left",fontSize:10},yw=e=>{let{data:t,encode:n={},scale:r,style:a={},layout:i={},nodeLabels:o=[],linkLabels:s=[],animate:l={},tooltip:c={}}=e,{links:u,nodes:p}=cb(t,n),d=rD(n,"node"),f=rD(n,"link"),{key:g=e=>e.key,color:m=g}=d,{links:h,nodes:b}=yO(Object.assign(Object.assign(Object.assign({},yk),{nodeId:cm(g)}),i))({links:u,nodes:p}),y=rD(a,"label"),{text:E=g,spacing:T=5}=y,S=y_(y,["text","spacing"]),v=cm(g),A=sT(c,"node",{title:v,items:[{field:"value"}]},!0),O=sT(c,"link",{title:"",items:[e=>({name:"source",value:v(e.source)}),e=>({name:"target",value:v(e.target)})]});return[(0,rv.Z)({},yI,{data:b,encode:Object.assign(Object.assign({},d),{color:m}),scale:r,style:rD(a,"node"),labels:[Object.assign(Object.assign(Object.assign({},yN),{text:E,dx:e=>e.x[0]<.5?T:-T}),S),...o],tooltip:A,animate:sA(l,"node"),axis:!1}),(0,rv.Z)({},yC,{data:h,encode:f,labels:s,style:Object.assign({fill:f.color?void 0:"#aaa",lineWidth:0},rD(a,"link")),tooltip:O,animate:sA(l,"link")})]};function yx(e,t){return t.value-e.value}function yR(e,t){return t.frequency-e.frequency}function yL(e,t){return`${e.id}`.localeCompare(`${t.id}`)}function yD(e,t){return`${e.name}`.localeCompare(`${t.name}`)}yw.props={};let yP={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},yM=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({},yP),e);return function(e){let p=e.nodes.map(e=>Object.assign({},e)),d=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=(0,rA.ZP)(t,e=>e.source),r=(0,rA.ZP)(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=(0,rX.Z)(t,e=>e.sourceWeight)+(0,rX.Z)(a,e=>e.targetWeight)})}(p,d),function(e,t){let n="function"==typeof u?u:ee[u];n&&e.sort(n)}(p,0),function(e,i){let o=e.length;if(!o)throw rx("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)}(p,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=(0,rA.ZP)(n,e=>e.source),l=(0,rA.ZP)(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)||[],p=0;c.map(e=>{let t=e.sourceWeight/o*n;e.x[0]=r[0]+p,e.x[1]=r[0]+p+t,p+=t}),u.forEach(e=>{let t=e.targetWeight/o*n;e.x[3]=r[0]+p,e.x[2]=r[0]+p+t,p+=t})})}(p,d),{nodes:p,edges:d}}})(e)(t);yM.props={};var yF=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 yB={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},yj={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}},yU={type:"polygon",axis:!1,legend:!1,encode:{shape:"ribbon",x:"x",y:"y"},style:{opacity:.5,lineWidth:1}},yH={position:"outside",fontSize:10},yG=(e,t)=>{let{data:n,encode:r={},scale:a,style:i={},layout:o={},nodeLabels:s=[],linkLabels:l=[],animate:c={},tooltip:u={}}=e,{nodes:p,links:d}=cb(n,r),f=rD(r,"node"),g=rD(r,"link"),{key:m=e=>e.key,color:h=m}=f,{linkEncodeColor:b=e=>e.source}=g,{nodeWidthRatio:y=yB.thickness,nodePaddingRatio:E=yB.marginRatio}=o,T=yF(o,["nodeWidthRatio","nodePaddingRatio"]),{nodes:S,edges:v}=yM(Object.assign(Object.assign(Object.assign(Object.assign({},yB),{id:cm(m),thickness:y,marginRatio:E}),T),{weight:!0}))({nodes:p,edges:d}),A=rD(i,"label"),{text:O=m}=A,_=yF(A,["text"]),k=sT(u,"node",{title:"",items:[e=>({name:e.key,value:e.value})]},!0),I=sT(u,"link",{title:"",items:[e=>({name:`${e.source} -> ${e.target}`,value:e.value})]}),{height:C,width:N}=t,w=Math.min(C,N);return[(0,rv.Z)({},yU,{data:v,encode:Object.assign(Object.assign({},g),{color:b}),labels:l,style:Object.assign({fill:b?void 0:"#aaa"},rD(i,"link")),tooltip:I,animate:sA(c,"link")}),(0,rv.Z)({},yj,{data:S,encode:Object.assign(Object.assign({},f),{color:h}),scale:a,style:rD(i,"node"),coordinate:{type:"polar",outerRadius:(w-20)/w,startAngle:-(2*Math.PI),endAngle:0},labels:[Object.assign(Object.assign(Object.assign({},yH),{text:O}),_),...s],tooltip:k,animate:sA(c,"node"),axis:!1})]};yG.props={};var yz=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 y$=(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}),yW=(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}}}),yZ={fontSize:10,text:e=>fr(e.path),position:"inside",fill:"#000",textOverflow:"clip",wordWrap:!0,maxLines:1,wordWrapWidth:e=>e.x1-e.x0},yY={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"}]},yV={title:e=>fr(e.path),items:[{field:"value"}]},yq=(e,t)=>{let{width:n,height:r,options:a}=t,{data:i,encode:o={},scale:s,style:l={},layout:c={},labels:u=[],tooltip:p={}}=e,d=yz(e,["data","encode","scale","style","layout","labels","tooltip"]),f=(0,lm.Z)(a,["interaction","treemapDrillDown"]),g=(0,rv.Z)({},y$(n,r),c,{layer:f?e=>1===e.depth:c.layer}),[m,h]=gJ(i,g,o),b=rD(l,"label");return(0,rv.Z)({},yW(n,r),Object.assign(Object.assign({data:m,scale:s,style:l,labels:[Object.assign(Object.assign({},yZ),b),...u]},d),{encode:o,tooltip:sS(p,yY),axis:!1}),f?{interaction:Object.assign(Object.assign({},d.interaction),{treemapDrillDown:f?Object.assign(Object.assign({},f),{originData:h,layout:g}):void 0}),encode:Object.assign({color:e=>fr(e.path)},o),tooltip:sS(p,yV)}:{})};yq.props={};var yK=n(51758),yX=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 yQ(e,t){return(0,sh.Z)(e,e=>t[e])}function yJ(e,t){return(0,rQ.Z)(e,e=>t[e])}function y0(e,t){let n=2.5*y1(e,t)-1.5*y3(e,t);return(0,sh.Z)(e,e=>t[e]>=n?t[e]:NaN)}function y1(e,t){return(0,yK.Z)(e,.25,e=>t[e])}function y2(e,t){return(0,yK.Z)(e,.5,e=>t[e])}function y3(e,t){return(0,yK.Z)(e,.75,e=>t[e])}function y4(e,t){let n=2.5*y3(e,t)-1.5*y1(e,t);return(0,rQ.Z)(e,e=>t[e]<=n?t[e]:NaN)}function y5(){return(e,t)=>{let{encode:n}=t,{y:r,x:a}=n,{value:i}=r,{value:o}=a,s=Array.from((0,rA.ZP)(e,e=>o[+e]).values()),l=s.flatMap(e=>{let t=y0(e,i),n=y4(e,i);return e.filter(e=>i[e]n)});return[l,t]}}let y6=e=>{let{data:t,encode:n,style:r={},tooltip:a={},transform:i,animate:o}=e,s=yX(e,["data","encode","style","tooltip","transform","animate"]),{point:l=!0}=r,c=yX(r,["point"]),{y:u}=n,p={y:u,y1:u,y2:u,y3:u,y4:u},d={y1:y1,y2:y2,y3:y3},f=sT(a,"box",{items:[{channel:"y",name:"min"},{channel:"y1",name:"q1"},{channel:"y2",name:"q2"},{channel:"y3",name:"q3"},{channel:"y4",name:"max"}]},!0),g=sT(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:yQ},d),{y4:yJ})],encode:Object.assign(Object.assign({},n),p),style:c,tooltip:f},s);let m=rD(c,"box"),h=rD(c,"point");return[Object.assign({type:"box",data:t,transform:[Object.assign(Object.assign({type:"groupX",y:y0},d),{y4:y4})],encode:Object.assign(Object.assign({},n),p),style:m,tooltip:f,animate:sA(o,"box")},s),{type:"point",data:t,transform:[{type:y5}],encode:n,style:Object.assign({},h),tooltip:g,animate:sA(o,"point")}]};y6.props={};let y9=(e,t)=>Math.sqrt(Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2))/2,y8=(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=y9(n[0],n[1]),p=2*y9(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",p+2*u,p+2*u,0,0,0,...n[2]],["A",u,u,0,1,0===l?0:1,...n[3]],["A",p,p,0,0,1,...n[0]],["Z"]]},i),ap(e,["shape","last","first"])),{fill:s||i.color})});return c.appendChild(d),c}};var y7=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 Ee={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"]}}},Et={style:{shape:(e,t)=>{let{shape:n,radius:r}=e,a=y7(e,["shape","radius"]),i=rD(a,"pointer"),o=rD(a,"pin"),{shape:s}=i,l=y7(i,["shape"]),{shape:c}=o,u=y7(o,["shape"]),{coordinate:p,theme:d}=t;return(e,t)=>{let n=e.map(e=>p.invert(e)),[i,o,f]=function(e,t){let{transformations:n}=e.getOptions(),[,...r]=n.find(e=>e[0]===t);return r}(p,"polar"),g=p.clone(),{color:m}=t,h=r2({startAngle:i,endAngle:o,innerRadius:f,outerRadius:r});h.push(["cartesian"]),g.update({transformations:h});let b=n.map(e=>g.map(e)),[y,E]=ih(b),[T,S]=p.getCenter(),v=Object.assign(Object.assign({x1:y,y1:E,x2:T,y2:S,stroke:m},l),a),A=Object.assign(Object.assign({cx:T,cy:S,stroke:m},u),a),O=rU(new nX.ZA);return rj(s)||("function"==typeof s?O.append(()=>s(b,t,g,d)):O.append("line").call(il,v).node()),rj(c)||("function"==typeof c?O.append(()=>c(b,t,g,d)):O.append("circle").call(il,A).node()),O.node()}},lineWidth:4,pointerLineCap:"round",pinR:10,pinFill:"#fff",radius:.6}},En={type:"text",style:{x:"50%",y:"60%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"}},Er=e=>{var t;let{data:n={},scale:r={},style:a={},animate:i={},transform:o=[]}=e,s=y7(e,["data","scale","style","animate","transform"]),{targetData:l,totalData:c,target:u,total:p,scale:d}=function(e,t){let{name:n="score",target:r,total:a,percent:i,thresholds:o=[]}=function(e){if((0,aL.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=rD(a,"text"),g=(t=["pointer","pin"],Object.fromEntries(Object.entries(a).filter(([e])=>t.find(t=>e.startsWith(t))))),m=rD(a,"arc"),h=m.shape;return[(0,rv.Z)({},Ee,Object.assign({type:"interval",transform:[{type:"stackY"}],data:c,scale:d,style:"round"===h?Object.assign(Object.assign({},m),{shape:y8}):m,animate:"object"==typeof i?rD(i,"arc"):i},s)),(0,rv.Z)({},Ee,Et,Object.assign({type:"point",data:l,scale:d,style:g,animate:"object"==typeof i?rD(i,"indicator"):i},s)),(0,rv.Z)({},En,{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:p})},f),animate:"object"==typeof i?rD(i,"text"):i})]};Er.props={};let Ea={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,p=o+i/Math.sin(s);return` - M ${c} ${u} - A ${i} ${i} 0 1 1 ${c+2*l} ${u} - Q ${e} ${p} ${e} ${t+a/2} - Q ${e} ${p} ${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 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 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 Eo=(e="circle")=>Ea[e]||Ea.circle,Es=(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=Ei(a,["background","outline","wave"]),{border:p=2,distance:d=0}=l,f=Ei(l,["border","distance"]),{length:g=192,count:m=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:h}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,T]=n.getCenter(),S=n.getSize(),v=Math.min(...S)/2,A=(0,lx.Z)(i)?i:Eo(i),O=A(E,T,v,...S);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:p,fillOpacity:d,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 p=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 Ec={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:Es},animate:{enter:{type:"fadeIn"}}},Eu={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},Ep=e=>{let{data:t={},style:n={},animate:r}=e,a=El(e,["data","style","animate"]),i=Math.max(0,(0,aL.Z)(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},rD(n,"text")),rD(n,"content")),l=rD(n,"outline"),c=rD(n,"wave"),u=rD(n,"background");return[(0,rv.Z)({},Ec,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,rv.Z)({},Eu,{style:Object.assign({text:`${r4(100*i)} %`},s),animate:r})]};Ep.props={};var Ed=n(69916);function Ef(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,p=Em(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});p>2*a.radius&&(p=2*a.radius),(null===c||c.width>p)&&(c={circle:a,width:p,p1:t,p2:n})}null!==c&&(s.push(c),a+=Eg(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 Eg(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function Em(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function Eh(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 Eg(e,r)+Eg(t,a)}function Eb(e,t){let n=Em(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 Ey(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,Ed.bisect)(function(r){return Eh(e,t,r)-n},0,e+t)}function EE(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:ET,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,p=(0,Ed.norm2)(c.map(Ed.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/p})});let d=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&g<=p||d<0&&g>=p||(a+=2*m*m,t[2*i]+=4*m*(o-c),t[2*i+1]+=4*m*(s-u),t[2*l]+=4*m*(c-o),t[2*l+1]+=4*m*(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||EE,a=t.lossFunction||ET;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),p=Math.min(u,c),d=(t-(s.max-s.min)*p)/2,f=(n-(l.max-l.min)*p)/2,g={};for(let e=0;er[e]),o=function(e){let t={};Ef(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}})})}};ES.props={};var Ev=function(){return(Ev=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new rE.Th,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[le]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nK.Z,this._context={library:Object.assign(Object.assign({},i),rb),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,rv.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 sB(this,void 0,void 0,function*(){let{library:i}=r,[o]=oP("composition",i),[s]=oP("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(rL)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(rL)),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},p=e=>"mark"===u(e),d=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},g=e=>{if(d(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},m=[],h=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(d(e)){let t=b.get(e),[n,a]=t?s$(t,e,i):yield sH(e,r);h.set(n,e),m.push(n);let o=a.flatMap(g).map(e=>oB(e,i));if(y.push(...o),o.every(d)){let e=yield Promise.all(o.map(e=>sG(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));oV(t,"x"),oV(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",iQ).attr("id",e=>e.key).call(sU).each(function(e,t,n){sW(e,rU(n),v,r),T.set(e,n)}),e=>e.call(sU).each(function(e,t,n){sW(e,rU(n),v,r),S.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=h.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=oP("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=sX(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>sB(this,void 0,void 0,function*(){let[o,l]=yield sH(n,r);for(let e of(sW(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=oP("interaction",o),l=t.node(),c=l.nameInteraction,u=sX(n).find(([t])=>t===e),p=c.get(e);if(!p||(null===(i=p.destroy)||void 0===i||i.call(p),!u[1]))return;let d=sz(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},g=d(f,[],a.emitter);c.set(e,{destroy:g})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(rU(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>sB(this,void 0,void 0,function*(){let a=rN(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{(0,rz.Z)(r)&&n(t,r,s)})})}}),O=(e=S,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=sX(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=sz(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(T,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,sX(t))){let[t,i]=a;if(i){let a=sz(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:I}=t,C=[];for(let t of E){let a=new Promise(a=>sB(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:I},a);yield e(t,n,r)}a()}));C.push(a)}r.views=m,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=v,r.emitter.emit(rG.AFTER_PAINT);let N=v.filter(rL).map(sq).map(e=>e.finished);return Promise.all([...N,...C])})})(Object.assign(Object.assign({},l),{width:i,height:o,depth:s}),g,t)).then(()=>{if(s){let[e,t]=c.document.documentElement.getPosition();c.document.documentElement.setPosition(e,t,-s/2)}c.requestAnimationFrame(()=>{u.emit(rG.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 s7)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,ln(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===lt)t.children=e.value;else{let a=ln(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 s7)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 s7)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=s8(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,rI.Z)(o)&&(0,rI.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(rG.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(rG.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(rG.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 lu{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 lc{constructor(){super({},t)}};return n=lp([la(li(this._marks))],n),[t,n]})),Object.values(this._compositions)))la(li(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}=lr(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}=lr(this.options(),this._container);this._plugins.push(new rT.S),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nX.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))}},s=Ev(Ev({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":bH,"composition.geoPath":bz}),{"data.arc":yM,"data.cluster":b5,"mark.forceGraph":b1,"mark.tree":yt,"mark.pack":yc,"mark.sankey":yw,"mark.chord":yG,"mark.treemap":yq}),{"data.venn":ES,"mark.boxplot":y6,"mark.gauge":Er,"mark.wordCloud":pK,"mark.liquid":Ep}),{"data.fetch":hH,"data.inline":hG,"data.sortBy":hz,"data.sort":h$,"data.filter":hZ,"data.pick":hY,"data.rename":hV,"data.fold":hq,"data.slice":hK,"data.custom":hX,"data.map":hQ,"data.join":h0,"data.kde":h3,"data.log":h4,"data.wordCloud":bp,"transform.stackY":mW,"transform.binX":m7,"transform.bin":m8,"transform.dodgeX":ht,"transform.jitter":hr,"transform.jitterX":ha,"transform.jitterY":hi,"transform.symmetryY":hs,"transform.diffY":hl,"transform.stackEnter":hc,"transform.normalizeY":hd,"transform.select":hb,"transform.selectX":hE,"transform.selectY":hS,"transform.groupX":hO,"transform.groupY":h_,"transform.groupColor":hk,"transform.group":hA,"transform.sortX":hw,"transform.sortY":hx,"transform.sortColor":hR,"transform.flexX":hL,"transform.pack":hD,"transform.sample":hF,"transform.filter":hB,"coordinate.cartesian":lM,"coordinate.polar":r0,"coordinate.transpose":lF,"coordinate.theta":lj,"coordinate.parallel":lU,"coordinate.fisheye":lH,"coordinate.radial":r2,"coordinate.radar":lG,"encode.constant":lz,"encode.field":l$,"encode.transform":lW,"encode.column":lZ,"mark.interval":cT,"mark.rect":cv,"mark.line":c$,"mark.point":uu,"mark.text":uT,"mark.cell":uA,"mark.area":uM,"mark.link":uq,"mark.image":uJ,"mark.polygon":u5,"mark.box":pt,"mark.vector":pr,"mark.lineX":pl,"mark.lineY":pp,"mark.connector":ph,"mark.range":pT,"mark.rangeX":pA,"mark.rangeY":pk,"mark.path":pR,"mark.shape":pM,"mark.density":pU,"mark.heatmap":pY,"mark.wordCloud":pK,"palette.category10":pX,"palette.category20":pQ,"scale.linear":pJ,"scale.ordinal":p1,"scale.band":p3,"scale.identity":p5,"scale.point":p9,"scale.time":dx,"scale.log":dB,"scale.pow":dz,"scale.sqrt":dW,"scale.threshold":dZ,"scale.quantile":dY,"scale.quantize":dV,"scale.sequential":dJ,"scale.constant":d0,"theme.classic":d4,"theme.classicDark":d9,"theme.academy":d7,"theme.light":d3,"theme.dark":d6,"component.axisX":fe,"component.axisY":ft,"component.legendCategory":fi,"component.legendContinuous":aQ,"component.legends":fo,"component.title":fu,"component.sliderX":fg,"component.sliderY":fm,"component.scrollbarX":fE,"component.scrollbarY":fT,"animation.scaleInX":fS,"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,p]=r9(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],d=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":fv,"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,p]=r9(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],d=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${p}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(d,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":fA,"animation.fadeIn":fO,"animation.fadeOut":f_,"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}],p=a.animate(u,Object.assign(Object.assign({},r),e));return p},"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}],p=a.animate(u,Object.assign(Object.assign({},r),e));return p},"animation.pathIn":fk,"animation.morphing":fF,"animation.growInX":fB,"animation.growInY":fj,"interaction.elementHighlight":fH,"interaction.elementHighlightByX":fG,"interaction.elementHighlightByColor":fz,"interaction.elementSelect":fW,"interaction.elementSelectByX":fZ,"interaction.elementSelectByColor":fY,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=op(s),c=fV(e=>{let t=of(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=(0,rv.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":fX,"interaction.tooltip":gs,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>gm(e).scales.map(e=>e.name),s=[...gf(r),...gg(r)],l=s.flatMap(o),c=i?fV(gb,50,{trailing:!0}):fV(gh,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=gm(t).scales[0],p=o(t),d={legend:t,channel:s,channels:p,allChannels:l};return t.className===gc?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,p=new Map,{unselected:d={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:rD(d,"marker")},g={unselected:rD(d,"label")},{setState:m,removeState:h}=oy(f,void 0),{setState:b,removeState:y}=oy(g,void 0),E=Array.from(t(e)),T=E.map(a),S=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);T.includes(t)?(h(i,"unselected"),y(o,"unselected")):(m(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{o_(e,"pointer")},r=()=>{o_(e,e.cursor)},l=e=>gl(this,void 0,void 0,function*(){let n=a(t),r=T.indexOf(n);-1===r?T.push(n):T.splice(r,1),yield i(T),S();let{nativeEvent:l=!0}=e;l&&(T.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:T}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),p.set(t,r)}let v=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&&(T=a,yield i(T),S())}),A=e=>gl(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(T=E.map(a),yield i(T),S())});return o.on("legend:filter",v),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",p.get(e)),o.off("legend:filter",v),o.off("legend:reset",A)}}(r,{legends:gd,marker:gu,label:gp,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},d),{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({},d),{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=gf(r),s=ol(r),l=e=>gm(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=oT(i,["active","inactive"]),p=oS(s,ob(a)),d=[];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=gd(e),i=c(r),o=(0,rA.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:g={}}=f,{setState:m,removeState:h}=oy(u,p),b={inactive:rD(g,"marker")},y={inactive:rD(g,"label")},{setState:E,removeState:T}=oy(b),{setState:S,removeState:v}=oy(y),A=e=>{for(let t of a){let n=gu(t),r=gp(t);t===e||null===e?(T(n,"inactive"),v(r,"inactive")):(E(n,"inactive"),S(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?m(e,"active"):m(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)h(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},I=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&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",I),n.on("legend:unhighlight",C);let N=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",I),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};d.push(N)}return()=>d.forEach(e=>e())}},"interaction.brushHighlight":gO,"interaction.brushXHighlight":function(e){return gO(Object.assign(Object.assign({},e),{brushRegion:g_,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return gO(Object.assign(Object.assign({},e),{brushRegion:gk,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=op(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:p,coordinate:d}=t,f=gI(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let g=r(e),m=n(e),h=oS(g,o),{setState:b,removeState:y}=oy(u,h),E=new Map,T=rD(f,"mask"),S=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),v=m.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of g){let t=a(e);S(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&p.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!N)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=v[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},I=e=>{for(let e of g)y(e,"active","inactive");_(),e&&p.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=v[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(i6(n,a))},N=m.some(i)&&m.some(e=>!i(e)),w=[];for(let e=0;e{let{nativeEvent:t}=e;t||w.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}=d.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{w.forEach(e=>e.destroy()),p.off("brushAxis:remove",x),p.off("brushAxis:highlight",D)}}(a,Object.assign({elements:ol,axes:gN,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:ob(i),state:oT(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":gP,"interaction.brushXFilter":function(e){return gP(Object.assign(Object.assign({hideX:!0},e),{brushRegion:g_}))},"interaction.brushYFilter":function(e){return gP(Object.assign(Object.assign({hideY:!0},e),{brushRegion:gk}))},"interaction.sliderFilter":gB,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(gj);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 p=gB(Object.assign(Object.assign({},e),{initDomain:u,className:gj,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 p(t,n,r)}},"interaction.poptip":gz,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=g0(e,["originData","layout"]),a=(0,rv.Z)({},g1,r),i=rD(a,"breadCrumb"),o=rD(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=rU(s).select(`.${iJ}`).node(),u=l.marks[0],{state:p}=u,d=new nX.ZA;c.appendChild(d);let f=(e,l)=>{var u,p,g,m;return u=this,p=void 0,g=void 0,m=function*(){if(d.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 nX.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});d.appendChild(c),r+=c.getBBox().width;let u=new nX.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return d.appendChild(u),(r+=u.getBBox().width)>s&&(n=d.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===aH(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===aH(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,lm.Z)(e,["style","path"]),(0,lm.Z)(e,["style","depth"]))})})}(function(e,t){let n=[...gf(e),...gg(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,lm.Z)(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?(0,lm.Z)(e,["value"]):void 0,name:(0,lm.Z)(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||d.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=gJ(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(fr(e))}),(0,rv.Z)({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(g||(g=Promise))(function(e,t){function n(e){try{a(m.next(e))}catch(e){t(e)}}function r(e){try{a(m.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof g?a:new g(function(e){e(a)})).then(n,r)}a((m=m.apply(u,p||[])).next())})},g=e=>{let n=e.target;if("rect"!==(0,lm.Z)(n,["markType"]))return;let r=(0,lm.Z)(n,["__data__","key"]),a=gW(t,e=>e.id===r);(0,lm.Z)(a,"height")&&f((0,lm.Z)(a,"path"),(0,lm.Z)(a,"depth"))};c.addEventListener("click",g);let m=lR(Object.assign(Object.assign({},p.active),p.inactive)),h=()=>{let e=oN(c);e.forEach(e=>{let n=(0,lm.Z)(e,["style","cursor"]),r=gW(t,t=>t.id===(0,lm.Z)(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=lg(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(p.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,rv.Z)(t,p.inactive))})}})};return h(),c.addEventListener("mousemove",h),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",h)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=g4(e,["selection","precision"]),a=Object.assign(Object.assign({},g5),r||{}),i=rD(a,"path"),o=rD(a,"label"),s=rD(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:p,view:d,options:{marks:f,coordinate:g}}=e,m=op(p),h=oN(m),b=t,{transform:y=[],type:E}=g,T=!!gW(y,({type:e})=>"transpose"===e),S="polar"===E,v="theta"===E,A=!!gW(h,({markType:e})=>"area"===e);A&&(h=h.filter(({markType:e})=>"area"===e));let O=new nX.ZA({style:{zIndex:2}});m.appendChild(O);let _=()=>{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}})},I=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),N(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=(0,lm.Z)(h,[null==b?void 0:b[0]]);r&&N(r)},N=e=>{let t;let{attributes:r,markType:a,__data__:g}=e,{stroke:m}=r,{points:h,seriesTitle:y,color:E,title:I,seriesX:C,y1:w}=g;if(T&&"interval"!==a)return;let{scale:x,coordinate:R}=(null==l?void 0:l.view)||d,{color:L,y:D,x:P}=x,M=R.getCenter();O.removeChildren();let F=(e,t,n,r)=>g3(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=g7(l,i,o);return k(l,c),(0,rv.Z)({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))h.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nX.Cd({name:g6,style:Object.assign({cx:r[0],cy:r[1],fill:m},s)}),d=mt(e,a);u.addEventListener("mousedown",f=>{let g=R.output([C[a],0]),m=null==y?void 0:y.length;p.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),mn(O.childNodes,b,s);let[T,v]=mr(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(S){let o=r[0]+e.clientX-t[0],[s,l]=mi(M,g,[o,i]),[,c]=R.output([1,D.output(0)]),[,p]=R.invert([s,c-(h[a+m][1]-l)]),f=(a+1)%m,b=(a-1+m)%m,E=oC([h[b],[s,l],y[f]&&h[f]]);v.attr("text",d(D.invert(p)).toFixed(n)),T.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-(h[a+m][1]-i)]),o=oC([h[a-1],[r[0],i],y[a+1]&&h[a+1]]);v.attr("text",d(D.invert(t)).toFixed(n)),T.attr("d",o),u.attr("cy",i)}}else{let[,e]=R.invert([r[0],i]),t=oC([h[a-1],[r[0],i],h[a+1]]);v.attr("text",D.invert(e).toFixed(n)),T.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let I=()=>g3(this,void 0,void 0,function*(){if(p.attr("cursor","default"),window.removeEventListener("mousemove",k),p.removeEventListener("mouseup",I),(0,g2.Z)(v.attr("text")))return;let t=Number(v.attr("text")),n=ma(L,E);l=yield F(c,t,n,["line","area"]),v.remove(),T.remove(),N(e)});p.addEventListener("mouseup",I)}),O.appendChild(u)}),mn(O.childNodes,b,s);else if("interval"===a){let r=[(h[0][0]+h[1][0])/2,h[0][1]];T?r=[h[0][0],(h[0][1]+h[1][1])/2]:v&&(r=h[0]);let c=me(e),u=new nX.Cd({name:g6,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:m},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{p.attr("cursor","move");let d=ma(L,E),[f,g]=mr(O,u,i,o),m=e=>{if(T){let a=r[0]+e.clientX-t[0],[i]=R.output([D.output(0),D.output(0)]),[,o]=R.invert([i+(a-h[2][0]),r[1]]),s=oC([[a,h[0][1]],[a,h[1][1]],h[2],h[3]],!0);g.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(v){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=mi(M,[i,a],r),[l,p]=mi(M,[i,a],h[1]),d=R.invert([o,s])[1],m=w-d;if(m<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=oI(e,t[1]),i=oI(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,p],h[2],h[3]],m>.5?1:0);g.attr("text",c(m,!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-(h[2][1]-a)]),s=oC([[h[0][0],a],[h[1][0],a],h[2],h[3]],!0);g.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",m);let b=()=>g3(this,void 0,void 0,function*(){if(p.attr("cursor","default"),p.removeEventListener("mouseup",b),window.removeEventListener("mousemove",m),(0,g2.Z)(g.attr("text")))return;let t=Number(g.attr("text"));l=yield F(I,t,d,[a]),g.remove(),f.remove(),N(e)});p.addEventListener("mouseup",b)}),O.appendChild(u)}};h.forEach((e,t)=>{b[0]===t&&N(e),e.addEventListener("click",I),e.addEventListener("mouseenter",g9),e.addEventListener("mouseleave",g8)});let w=e=>{let t=null==e?void 0:e.target;t&&(t.name===g6||h.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",w),p.addEventListener("mousedown",w),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",w),p.removeEventListener("mousedown",w),h.forEach(e=>{e.removeEventListener("click",I),e.removeEventListener("mouseenter",g9),e.removeEventListener("mouseleave",g8)})}}},"composition.spaceLayer":ms,"composition.spaceFlex":mc,"composition.facetRect":mO,"composition.repeatMatrix":()=>e=>{let t=mu.of(e).call(mh).call(mf).call(mI).call(mC).call(mg).call(mm).call(mk).value();return[t]},"composition.facetCircle":()=>e=>{let t=mu.of(e).call(mh).call(mR).call(mf).call(mx).call(mb).call(my,mD,mL,mL,{frame:!1}).call(mg).call(mm).call(mw).value();return[t]},"composition.timingKeyframe":mP,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{oo(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]})(bd(t),bd(e.getLocalBounds())));r?oi(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]=bg(),[s,l]=bg(),[c,u]=bg(),[p,d]=bg();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),d(t,[r,i])}for(let i=0;i(0,sb.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(p(i),p(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{oo(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t){let[n,r]=e;return!(bf(n,t)&&bf(r,t))}(bd(n),t);r&&oi(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=bb(a,r);ibb(e,"object"==typeof t?t:(0,nX.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t})=>{let{width:n,height:r}=t.getConfig();return e.forEach(e=>{oo(e);let{max:t,min:a}=e.getRenderBounds(),[i,o]=t,[s,l]=a,c=by([[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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,rv.Z)({},lP,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,lL.Ys)(i).select(".".concat(lL.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===l_}),{state:p}=u,d=l.createElement("g");c.appendChild(d);let f=(e,i)=>{var s,u,p,g;return s=this,u=void 0,p=void 0,g=function*(){if(d.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});d.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=d.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})});d.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(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 d.appendChild(c),(o+=c.getBBox().width)>s&&(i=d.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,lm.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==l_&&"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[lC]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,rv.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(p||(p=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 p?a:new p(function(e){e(a)})).then(n,r)}a((g=g.apply(s,u||[])).next())})},g=e=>{let t=e.target;if((0,lm.Z)(t,["style",lk])!==l_||"rect"!==(0,lm.Z)(t,["markType"])||!(0,lm.Z)(t,["style",lv]))return;let n=(0,lm.Z)(t,["__data__","key"]),r=(0,lm.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",g);let m=lR(Object.assign(Object.assign({},p.active),p.inactive)),h=()=>{let e=lD(c);e.forEach(e=>{let t=(0,lm.Z)(e,["style",lv]),n=(0,lm.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=lg(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(p.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,rv.Z)(t,p.inactive))})}})};return c.addEventListener("mousemove",h),()=>{d.remove(),c.removeEventListener("click",g),c.removeEventListener("mousemove",h)}}},"mark.sunburst":lw}),class extends o{constructor(e){super(Object.assign(Object.assign({},e),{lib:s}))}}),EO=function(){return(EO=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},Ek=["renderer"],EI=["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"],EC="__transform__",EN=function(e,t){return(0,eP.isBoolean)(t)?{type:e,available:t}:EO({type:e},t)},Ew={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 EN("stackY",e)}},normalize:{target:"transform",value:function(e){return EN("normalizeY",e)}},percent:{target:"transform",value:function(e){return EN("normalizeY",e)}},group:{target:"transform",value:function(e){return EN("dodgeX",e)}},sort:{target:"transform",value:function(e){return EN("sortX",e)}},symmetry:{target:"transform",value:function(e){return EN("symmetryY",e)}},diff:{target:"transform",value:function(e){return EN("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,eP.isBoolean)(e)?{connect:e}:e}}},Ex=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],ER=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Ex},{key:"point",type:"point",extend_keys:Ex},{key:"area",type:"area",extend_keys:Ex}],EL=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=E_(n,["available"]);if(void 0===a||a)e[t].push(EO(((r={})[EC]=!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,eP.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(EO(((r={})[EC]=!0,r),n))}}],ED=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],EP=(l=function(e,t){return(l=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}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EM=function(){return(EM=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},EB=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=EF(t,["style"]);return e.call(this,EM({style:EM({fill:"#eee"},n)},r))||this}return EP(t,e),t}(nX.mg),Ej=(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)}),EU=function(){return(EU=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},EG=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=EH(t,["style"]);return e.call(this,EU({style:EU({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return Ej(t,e),t}(nX.xv),Ez=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,d=t.key,f=(0,eP.get)(s,l),m=g/2;if(e){var b=r+o/2,E=a;p.push({points:[[b+m,E-u+y],[b+m,E-h-y],[b,E-y],[b-m,E-h-y],[b-m,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:d})}else{var b=r,E=a+i/2;p.push({points:[[r-u+y,E-m],[r-h-y,E-m],[b-y,E],[r-h-y,E+m],[r-u+y,E+m]],center:[b-u/2-y,E],width:u,value:[c,f],key:d})}c=f}}),p},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,eP.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],p=a[0],d=a[1],f=new EB({style:Eq({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),g=new EG({style:Eq({x:p,y:d,text:(0,eP.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(g)})},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}(EY),EX=(d=function(e,t){return(d=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}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),EQ=function(){return(EQ=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},E0={ConversionTag:EK,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return EX(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,eP.uniqBy)(t,"x"):(0,eP.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,eP.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,p=t.key,d=(0,eP.get)(u,r);e?a.push({x:n+c/2,y:l,text:d,key:p}):a.push({x:s,y:i+o/2,text:d,key:p})}),(0,eP.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,eP.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return EQ(EQ({},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=EJ(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new EG({style:EQ({x:n,y:o,text:(0,eP.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}(EY)},E1=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;ED.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new E0[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&&ED.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),E2=(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)}),E3=function(){return(E3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,eP.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,eP.get)(n,"y.domain",[]);if(r&&s.length&&(0,eP.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return Tl(Tl({originData:Tl({},e)},(0,eP.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(Tl({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},Ta,Tt)(e)}var Tu=(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)});ry("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,p=void 0===u?8:u,d=n[0],f=n[1],g=n[2],m=n[3],h=(f[1]-d[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[d,[d[0]-p,d[1]+h],[g[0]-p,d[1]+h],m],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),T=b.createElement("polygon",{style:{points:[[d[0]-p,d[1]+h],f,g,[g[0]-p,d[1]+h]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),S=b.createElement("polygon",{style:{points:[d,[d[0]-p,d[1]+h],f,[d[0]+p,d[1]+h]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(T),y.appendChild(S),y}});var Tp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return Tu(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 Tc},t}(E5),Td=(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)});ry("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,p=void 0===u?8:u,d=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,g=f.createElement("g",{}),m=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[d,n[1][1]+p],[d,n[3][1]+p],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),h=f.createElement("polygon",{style:{points:[[d,n[1][1]+p],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[d,n[2][1]+p]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[d,n[1][1]-p],[n[1][0],n[1][1]],[d,n[1][1]+p]],fill:a,fillOpacity:s-.2}});return g.appendChild(h),g.appendChild(m),g.appendChild(b),g}});var Tf=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Td(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 Tc},t}(E5);function Tg(e){return(0,eP.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,eP.get)(e,"colorField")){var t=(0,eP.get)(e,"yField");(0,eP.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,eP.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,eP.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,eP.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,eP.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,eP.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,eP.get)(e,"scale.y.independent")&&(o=!0,(0,eP.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,eP.set)(e,"scale.y.key",n)}))}}),e},Ta,Tt)(e)}var Tm=(y=function(e,t){return(y=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}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Th=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return Tm(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 Tg},t}(E5);function Tb(e){return(0,eP.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,eP.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,eP.set)(t,"transform",[]):(0,eP.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,eP.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,eP.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,eP.set)(t,"type","spaceFlex"),(0,eP.set)(t,"ratio",[1,1]),(0,eP.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,eP.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},Ta,Tt)(e)}var Ty=(E=function(e,t){return(E=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}E(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),TE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Ty(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 Tb},t}(E5);function TT(e){return(0,eP.flow)(Ta,Tt)(e)}var TS=(T=function(e,t){return(T=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}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Tv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return TS(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 TT},t}(E5);function TA(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,eP.get)(t,[e])};default:return function(){return e}}}var TO=function(){return(TO=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[T6]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:T8({stroke:"#697474"},i),label:!1,tooltip:!1}),e},Ta,Tt)(e)}var St=(x=function(e,t){return(x=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}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return St(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:T9,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 Se},t}(E5);function Sr(e){return(0,eP.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,eP.get)(i,"[0].transform[0]",{});return(0,eP.isNumber)(a)?((0,eP.assign)(l,{thresholds:(0,eP.ceil)((0,eP.divide)(n.length,a)),y:s}),e):((0,eP.isNumber)(r)&&(0,eP.assign)(l,{thresholds:r,y:s}),e)},Ta,Tt)(e)}var Sa=(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)}),Si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return Sa(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 Sr},t}(E5);function So(e){return(0,eP.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},Ta,Tt)(e)}var Ss=(L=function(e,t){return(L=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}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return Ss(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 So},t}(E5);function Sc(e){return(0,eP.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},Ta,Tt)(e)}var Su=(D=function(e,t){return(D=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}D(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return Su(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 Sc},t}(E5);function Sd(e){return(0,eP.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,eP.isArray)(n))n.length>0?(0,eP.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,eP.get)(n,"type")&&(0,eP.get)(n,"value")){var a=(0,eP.get)(n,"transform");(0,eP.isArray)(a)?(0,eP.set)(n,"transform",a.concat(r)):(0,eP.set)(n,"transform",r)}return e},Ta,Tt)(e)}var Sf=(P=function(e,t){return(P=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}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Sg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return Sf(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Sd},t}(E5);function Sm(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 Sh=function(){return(Sh=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},S5=(0,es.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,p=e.chartType,d=S4(e,["chartType"]),f=d.containerStyle,g=d.containerAttributes,m=void 0===g?{}:g,h=d.className,b=d.loading,y=d.loadingTemplate,E=d.errorTemplate,T=S4(d,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),S=(n=S2[void 0===p?"Base":p],r=(0,es.useRef)(),a=(0,es.useRef)(),i=(0,es.useRef)(null),o=T.onReady,s=T.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,eP.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 B(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&&V(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),V(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),V(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(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}}},ee={tokenize:function(e,t,n){return(0,K.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var et=n(23402);class en{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=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&&er(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),er(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),er(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(e=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0},eo={tokenize:function(e){let t=this,n=e.attempt(et.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,K.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:ep()},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,X.Ch)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(i)}}},em={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,X.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(eg,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(a){return(0,X.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(et.w,r.interrupt?n:l,e.attempt(eh,u,c))}function l(e){return r.containerState.initialBlankLine=!0,i++,u(e)}function c(t){return(0,X.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(et.w,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,K.f)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,X.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,K.f)(e,e.attempt(em,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},eh={tokenize:function(e,t,n){let r=this;return(0,K.f)(e,function(e){let a=r.events[r.events.length-1];return!(0,X.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,K.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,X.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,X.xz)(t)?(0,K.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),p):null===t||32===t||41===t||(0,X.Av)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(t))};function p(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"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(s),p(t)):null===t||60===t||(0,X.Ch)(t)?n(t):(e.consume(t),92===t?f:d)}function f(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function g(a){return!u&&(null===a||41===a||(0,X.z3)(a))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(a)):u999||null===p||91===p||93===p&&!o||94===p&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):93===p?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):(0,X.Ch)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||(0,X.Ch)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,X.xz)(t)),92===t?p:u)}function p(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,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,K.f)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,X.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 ev(e,t){let n;return function r(a){return(0,X.Ch)(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):(0,X.xz)(a)?(0,K.f)(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}var eA=n(11098);let eO={tokenize:function(e,t,n){return function(t){return(0,X.z3)(t)?ev(e,r)(t):n(t)};function r(t){return eS(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return(0,X.xz)(t)?(0,K.f)(e,i,"whitespace")(t):i(t)}function i(e){return null===e||(0,X.Ch)(e)?t(e):n(e)}},partial:!0},e_={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,K.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,X.Ch)(n)?e.attempt(ek,t,i)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,X.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,X.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,K.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,X.Ch)(e)?a(e):n(e)}},partial:!0},eI={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,X.xz)(n)?(0,K.f)(e,i,"lineSuffix")(n):i(n))}(t)):n(t)};function i(r){return null===r||(0,X.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}},eC=["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"],eN=["pre","script","style","textarea"],ew={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(et.w,t,n)}},partial:!0},ex={tokenize:function(e,t,n){let r=this;return function(t){return(0,X.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,X.xz)(t)?(0,K.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,X.xz)(a)?(0,K.f)(e,c,"whitespace")(a):c(a)):n(a)}(t)):n(t)}function c(r){return null===r||(0,X.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,X.xz)(a)?(0,K.f)(e,l,"whitespace")(a):l(a))}(t)}(t)};function l(i){return null===i||(0,X.Ch)(i)?(e.exit("codeFencedFence"),a.interrupt?t(i):e.check(eR,u,g)(i)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,X.Ch)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(a)):(0,X.xz)(a)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,K.f)(e,c,"whitespace")(a)):96===a&&a===r?n(a):(e.consume(a),t)}(i))}function c(t){return null===t||(0,X.Ch)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(a){return null===a||(0,X.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,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return o>0&&(0,X.xz)(t)?(0,K.f)(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||(0,X.Ch)(t)?e.check(eR,u,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,X.Ch)(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function g(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=X.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=X.AF,c):(e.enter("characterReferenceValue"),r=7,a=X.pY,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return a!==X.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 p=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);eZ(p,-s),eZ(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},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,Z.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,Z.V)(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",a,t]]),l=(0,Z.V)(l,(0,ef.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,Z.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,Z.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,Z.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,Z.d)(e,i,a-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eg,45:[eI,eg],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,X.jv)(o)?(e.consume(o),i=String.fromCharCode(o),g):n(o)}function u(a){return 45===a?(e.consume(a),r=2,p):91===a?(e.consume(a),r=5,o=0,d):(0,X.jv)(a)?(e.consume(a),r=4,l.interrupt?t:R):n(a)}function p(r){return 45===r?(e.consume(r),l.interrupt?t:R):n(r)}function d(r){let a="CDATA[";return r===a.charCodeAt(o++)?(e.consume(r),o===a.length)?l.interrupt?t:O:d:n(r)}function f(t){return(0,X.jv)(t)?(e.consume(t),i=String.fromCharCode(t),g):n(t)}function g(o){if(null===o||47===o||62===o||(0,X.z3)(o)){let s=47===o,c=i.toLowerCase();return!s&&!a&&eN.includes(c)?(r=1,l.interrupt?t(o):O(o)):eC.includes(i.toLowerCase())?(r=6,s)?(e.consume(o),m):l.interrupt?t(o):O(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):a?function t(n){return(0,X.xz)(n)?(e.consume(n),t):v(n)}(o):h(o))}return 45===o||(0,X.H$)(o)?(e.consume(o),i+=String.fromCharCode(o),g):n(o)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:O):n(r)}function h(t){return 47===t?(e.consume(t),v):58===t||95===t||(0,X.jv)(t)?(e.consume(t),b):(0,X.xz)(t)?(e.consume(t),h):v(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),E):(0,X.xz)(t)?(e.consume(t),y):h(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,T):(0,X.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,X.z3)(n)?y(n):(e.consume(n),t)}(t)}function T(t){return t===s?(e.consume(t),s=null,S):null===t||(0,X.Ch)(t)?n(t):(e.consume(t),T)}function S(e){return 47===e||62===e||(0,X.xz)(e)?h(e):n(e)}function v(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,X.Ch)(t)?O(t):(0,X.xz)(t)?(e.consume(t),A):n(t)}function O(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),N):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),x):(0,X.Ch)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(ew,D,_)(t)):null===t||(0,X.Ch)(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),O)}function _(t){return e.check(ex,k,D)(t)}function k(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||(0,X.Ch)(t)?_(t):(e.enter("htmlFlowData"),O(t))}function C(t){return 45===t?(e.consume(t),R):O(t)}function N(t){return 47===t?(e.consume(t),i="",w):O(t)}function w(t){if(62===t){let n=i.toLowerCase();return eN.includes(n)?(e.consume(t),L):O(t)}return(0,X.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),w):O(t)}function x(t){return 93===t?(e.consume(t),R):O(t)}function R(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),R):O(t)}function L(t){return null===t||(0,X.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:eI,95:eg,96:eL,126:eL},eQ={38:eM,92:eF},eJ={[-5]:eB,[-4]:eB,[-3]:eB,33:ez,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,X.jv)(t)?(e.consume(t),i):64===t?n(t):s(t)}function i(t){return 43===t||45===t||46===t||(0,X.H$)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,X.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,X.Av)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,X.n9)(t)?(e.consume(t),s):n(t)}function l(a){return(0,X.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,X.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),T):63===t?(e.consume(t),y):(0,X.jv)(t)?(e.consume(t),v):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),a=0,f):(0,X.jv)(t)?(e.consume(t),b):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),p):(0,X.Ch)(t)?(i=u,w(t)):(e.consume(t),u)}function p(t){return 45===t?(e.consume(t),d):u(t)}function d(e){return 62===e?N(e):45===e?p(e):u(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(a++)?(e.consume(t),a===r.length?g:f):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),m):(0,X.Ch)(t)?(i=g,w(t)):(e.consume(t),g)}function m(t){return 93===t?(e.consume(t),h):g(t)}function h(t){return 62===t?N(t):93===t?(e.consume(t),h):g(t)}function b(t){return null===t||62===t?N(t):(0,X.Ch)(t)?(i=b,w(t)):(e.consume(t),b)}function y(t){return null===t?n(t):63===t?(e.consume(t),E):(0,X.Ch)(t)?(i=y,w(t)):(e.consume(t),y)}function E(e){return 62===e?N(e):y(e)}function T(t){return(0,X.jv)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,X.H$)(t)?(e.consume(t),S):function t(n){return(0,X.Ch)(n)?(i=t,w(n)):(0,X.xz)(n)?(e.consume(n),t):N(n)}(t)}function v(t){return 45===t||(0,X.H$)(t)?(e.consume(t),v):47===t||62===t||(0,X.z3)(t)?A(t):n(t)}function A(t){return 47===t?(e.consume(t),N):58===t||95===t||(0,X.jv)(t)?(e.consume(t),O):(0,X.Ch)(t)?(i=A,w(t)):(0,X.xz)(t)?(e.consume(t),A):N(t)}function O(t){return 45===t||46===t||58===t||95===t||(0,X.H$)(t)?(e.consume(t),O):function t(n){return 61===n?(e.consume(n),_):(0,X.Ch)(n)?(i=t,w(n)):(0,X.xz)(n)?(e.consume(n),t):A(n)}(t)}function _(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,X.Ch)(t)?(i=_,w(t)):(0,X.xz)(t)?(e.consume(t),_):(e.consume(t),I)}function k(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):(0,X.Ch)(t)?(i=k,w(t)):(e.consume(t),k)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,X.z3)(t)?A(t):(e.consume(t),I)}function C(e){return 47===e||62===e||(0,X.z3)(e)?A(e):n(e)}function N(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function w(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),x}function x(t){return(0,X.xz)(t)?(0,K.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:eY,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,X.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,X.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,X.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)}(n.slice(t?2:1),t?16:10)}return eP(n)||e}function e6(e){return e&&"object"==typeof e?"position"in e||"type"in e?e8(e.position):"start"in e||"end"in e?e8(e):"line"in e||"column"in e?e9(e):"":""}function e9(e){return e7(e&&e.line)+":"+e7(e&&e.column)}function e8(e){return e9(e&&e.start)+"-"+e9(e&&e.end)}function e7(e){return e&&"number"==typeof e?e:1}let te={}.hasOwnProperty;function tt(e){return{line:e.line,column:e.column,offset:e.offset}}function tn(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+e6({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+e6({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+e6({start:t.start,end:t.end})+") is still open")}function tr(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(g),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(m),hardBreakTrailing:r(m),htmlFlow:r(h,a),htmlFlowData:c,htmlText:r(h,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(g),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:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;if(r)t=function(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&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)}(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=tt(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,eA.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(p),hardBreakTrailing:o(p),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(e4,e5),n.identifier=(0,eA.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=tt(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,eA.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]||tn;t.call(o,void 0,e[0])}for(r.position={start:tt(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tt(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 d(){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 g(e,t){return function(n,a,i){let o,u,p,f;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:m(e[u])}function m(e){return function(n){return(f=function(){let e=d(),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}}(),p=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(p,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 to(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 ts(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var tl=n(21623);function tc(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 tu(e){let t=e.spread;return null==t?e.children.length>1:t}function tp(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 td={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=ti(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 tc(e,t);let a={src:ti(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:ti(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 tc(e,t);let a={href:ti(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:ti(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,A.Pk)(t.children[1]),o=(0,A.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(tp(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:tf,yaml:tf,definition:tf,footnoteDefinition:tf};function tf(){}let tg={}.hasOwnProperty,tm={};function th(e,t){e.position&&(t.position=(0,A.FK)(e))}function tb(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,ta.ZP)(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function ty(e,t){let n=t.data||{},r="value"in t&&!(tg.call(n,"hProperties")||tg.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 tE(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function tT(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tS(e,t){let n=function(e,t){let n=t||tm,r=new Map,a=new Map,i=new Map,o={...td,...n.handlers},s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),p.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(...p)}else i.push(...p);let g={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(a,g),s.push(g)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...(0,ta.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 tv(e,t){return e&&"run"in e?async function(n,r){let a=tS(n,{file:r,...t});await e.run(a,r)}:function(n,r){return tS(n,{file:r,...t||e})}}function tA(e){if(e)throw e}var tO=n(94470);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 tk={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tI(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(tI(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;tI(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 tI(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tC={cwd:function(){return"/"}};function tN(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let tw=["history","path","basename","stem","extname","dirname"];class tx{constructor(e){let t,n;t=e?tN(e)?{path:e}:"string"==typeof e||e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e?{value:e}:e:{},this.cwd="cwd"in t?"":tC.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 tF,t=-1;for(;++t0){let[r,...i]=t,o=n[a][1];t_(o)&&t_(r)&&(r=tO(!0,o,r)),n[a]=[e,r,...i]}}}}let tB=new tF().freeze();function tj(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tU(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tH(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 tG(e){if(!t_(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tz(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function t$(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new tx(e)}let tW=[],tZ={allowDangerousHtml:!0},tY=/^(https?|ircs?|mailto|xmpp)$/i,tV=[{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 tq(e){let t=e.allowedElements,n=e.allowElement,r=e.children||"",a=e.className,i=e.components,o=e.disallowedElements,s=e.rehypePlugins||tW,l=e.remarkPlugins||tW,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...tZ}:tZ,p=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||tK,g=tB().use(tr).use(l).use(tv,u).use(s),m=new tx;for(let n of("string"==typeof r?m.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"),tV))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 h=g.parse(m),y=g.runSync(h,m);return a&&(y={type:"element",tagName:"div",properties:{className:a},children:"root"===y.type?y.children:[y]}),(0,tl.Vn)(y,function(e,r,a){if("raw"===e.type&&a&&"number"==typeof r)return p?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 d&&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,A.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=P(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(y,{Fragment:$.Fragment,components:i,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0})}function tK(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||tY.test(e.slice(0,t))?e:""}var tX=n(14660),tQ=n(25160),tJ=["children","components","rehypePlugins"],t0=function(e){var t=e.children,n=e.components,r=e.rehypePlugins,c=(0,s.Z)(e,tJ),u=(0,tQ.r)();return l.createElement(tq,(0,a.Z)({components:(0,o.Z)({code:u},n),rehypePlugins:[tX.Z].concat((0,i.Z)(r||[]))},c),t)}},84502:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r,a,i=n(45987),o=n(74902),s=n(4942),l=n(67294),c=n(87462);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 p(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 d[n]||(d[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),d[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return p(p({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else h=p(p({},s),{},{className:s.className.join(" ")});var S=b(n.children);return l.createElement(f,(0,c.Z)({key:o},h),S)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function v(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),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,p=void 0===u?{}:u,d=e.codeTagProps,g=void 0===d?{className:t?"language-".concat(t):void 0,style:m(m({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:d,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,I=e.showInlineLineNumbers,C=void 0===I||I,N=e.startingLineNumber,w=void 0===N?1:N,x=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,z=void 0===G?"code":G,$=e.code,W=void 0===$?(Array.isArray(n)?n[0]:n)||"":$,Z=e.astGenerator,Y=(0,i.Z)(e,f);Z=Z||r;var V=k?l.createElement(b,{containerStyle:x,codeStyle:g.style||{},numberStyle:L,startingLineNumber:w,codeString:W}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=v(Z)?"hljs":"prismjs",X=O?Object.assign({},Y,{style:Object.assign({},q,p)}):Object.assign({},Y,{className:Y.className?"".concat(K," ").concat(Y.className):K,style:Object.assign({},p)});if(M?g.style=m(m({},g.style),{},{whiteSpace:"pre-wrap"}):g.style=m(m({},g.style),{},{whiteSpace:"pre"}),!Z)return l.createElement(H,X,V,l.createElement(z,g,W));(void 0===D&&j||M)&&(D=!0),j=j||S;var Q=[{type:"text",value:W}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(v(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:Z,language:t,code:W,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+w,et=function(e,t,n,r,a,i,s,l,c){var u,p=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 T({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(;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"}}},12187: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%)"}}},89144: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%)"}}},89435: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}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),d)n=t[i],o[i]=null==n?d[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,d,E,T,S,v,A,O,_,k,I,C,N,w,x,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,z=t.warningContext,$=t.position,W=t.indent||[],Z=e.length,Y=0,V=-1,q=$.column||1,K=$.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),R=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call(z,y[e],n,e)}:p,Y--,Z++;++Y=55296&&n<=57343||n>1114111?(O(7,D),v=u(65533)):v in a?(O(6,D),v=a[v]):(k="",((i=v)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),v>65535&&(v-=65536,k+=u(v>>>10|55296),v=56320|1023&v),v=k+u(v))):w!==f&&O(4,D)),v?(ee(),R=J(),Y=P-1,q+=P-N+1,Q.push(v),L=J(),L.offset++,j&&j.call(G,v,{start:R,end:L},e.slice(N-1,P)),R=L):(X+=T=e.slice(N-1,P),q+=T.length,Y=P-1)}else 10===S&&(K++,V++,q=0),S==S?(X+=u(S),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:Y+($.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,p=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",g="hexadecimal",m="decimal",h={};h[g]=16,h[m]=10;var b={};b[f]=s,b[m]=i,b[g]=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"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),p=n(12049),d=n(29726),f=n(36155);o();var g={}.hasOwnProperty;function m(){}m.prototype=c;var h=new m;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(g.call(h.languages,t))n=h.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,a,i,o=h.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\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=[]},68313: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=[]},21207: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=[]},89693: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=[]},24001: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=[]},18018: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=[]},36363: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"]},35281: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=[]},10433:function(e,t,n){"use strict";var r=n(11114);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=[]},84039: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=[]},71336: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=[]},4481: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=[]},2159:function(e,t,n){"use strict";var r=n(80096);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"]},60274: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=[]},18738: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=[]},78734:function(e,t,n){"use strict";var r=n(61958);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=[]},6681: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=[]},53358: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=[]},81700: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"]},37219: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=[]},6979: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=[]},94781: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=[]},62260: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"]},36153: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=[]},59258: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=[]},62890:function(e,t,n){"use strict";var r=n(65806);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=[]},15958: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"]},61321: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=[]},77856: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=[]},90741: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=[]},83410: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=[]},65806: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=[]},33039: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=[]},85082:function(e,t,n){"use strict";var r=n(80096);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=[]},79415: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=[]},29726: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=[]},62849: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=[]},55773: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=[]},32762: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=[]},43576: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"]},71794: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"]},1315: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=[]},80096:function(e,t,n){"use strict";var r=n(65806);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=[]},99176:function(e,t,n){"use strict";var r=n(56939);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=[]},61958: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),p=r(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[d,u]),g=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),m=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,m]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,p,m]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,g,m]),T={keyword:s,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,v=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[v]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,E]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:T},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:T},{pattern:n(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:T},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,d]),inside:T}],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,[d]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,g]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,u]),inside:{function:n(/^<<0>>/.source,[d]),generic:{pattern:RegExp(u),alias:"class-name",inside:T}}},"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,d,E,s.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:T},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 O=v+"|"+S,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),I=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[I,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[I]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,w=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),x=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[w,N]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,N]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,N]),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,[x]),lookbehind:!0,greedy:!0,inside:D(x,w)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,R)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);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=[]},12049: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=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315: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=[]},7902: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=[]},28651: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=[]},55579: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=[]},93685: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=[]},13934: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=[]},93336: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=[]},13294:function(e,t,n){"use strict";var r=n(93205);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"]},38223: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=[]},97266: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"]},77125: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"]},36500: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=[]},30296: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=[]},50115: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=[]},20791:function(e,t,n){"use strict";var r=n(93205);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"]},11974: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=[]},8645: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=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);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=[]},4502: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=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);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=[]},34668: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=[]},95126: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=[]},90618: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=[]},37225: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=[]},16725: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=[]},95559: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=[]},82114:function(e,t,n){"use strict";var r=n(93205);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=[]},6806: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=[]},12208: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=[]},62728: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=[]},81549: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=[]},6024: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=[]},13600: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=[]},3322:function(e,t,n){"use strict";var r=n(65806);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=[]},53877: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=[]},60794: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"]},20222: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=[]},51519: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=[]},94055: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=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&d(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=[]},29536:function(e,t,n){"use strict";var r=n(56939);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"]},58090: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"]},95121: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=[]},59904: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=[]},9436:function(e,t,n){"use strict";var r=n(65806);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=[]},60591: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=[]},76942: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=[]},60561: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=[]},49660: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=[]},30615: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=[]},93865: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=[]},51078: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=[]},91178:function(e,t,n){"use strict";var r=n(58090);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"]},40011: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=[]},12017: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"]},65175: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=[]},14970: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=[]},30764: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=[]},15909: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=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);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=[]},9858: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"]},11223: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=[]},57957: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=[]},66604: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=[]},77935: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=[]},46155: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=d.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=d[c],p="string"==typeof o?o:o.content,f=p.indexOf(l);if(-1!==f){++c;var g=p.substring(0,f),m=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=p.substring(f+l.length),b=[];if(g&&b.push(g),b.push(m),h){var y=[h];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])}}}(p),new e.Token(o,p,"language-"+o,t)}(d,m,g)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);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=[]},45950: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"]},50235:function(e,t,n){"use strict";var r=n(45950);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=[]},80963:function(e,t,n){"use strict";var r=n(45950);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=[]},79358: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=[]},96412: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=[]},39259: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=[]},51466: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=[]},35760: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=[]},19715: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"]},27614: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"]},82819: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=[]},42876: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"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);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=[]},41701: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=[]},42491:function(e,t,n){"use strict";var r=n(9997);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=[]},34927:function(e,t,n){"use strict";var r=n(93205);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=[]},3848: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+)*",p={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=p,l.defun.inside.arguments=e.util.clone(p),l.defun.inside.arguments.inside.sublist=p,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=[]},41469: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=[]},73070: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=[]},35049: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=[]},8789: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=[]},59803: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=[]},86328: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=[]},33055: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=[]},90542: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"]},93205: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],p=n.tokenStack[u],d="string"==typeof c?c:c.content,f=t(r,u),g=d.indexOf(f);if(g>-1){++a;var m=d.substring(0,g),h=new e.Token(r,e.tokenize(p,n.grammar),"language-"+r,p),b=d.substring(g+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(h),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=[]},2717: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"]},27992: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=[]},91115: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=[]},606: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=[]},68582: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=[]},23388: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=[]},90596: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=[]},95721: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=[]},64262: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"]},18190: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=[]},70896: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"]},42242: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=[]},37943: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=[]},83873: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=[]},75932: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=[]},60221: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=[]},44188: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=[]},74426: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=[]},88447: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=[]},16032:function(e,t,n){"use strict";var r=n(65806);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"]},33607: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=[]},22001:function(e,t,n){"use strict";var r=n(65806);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=[]},22950: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"]},23254: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=[]},92694: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=[]},43273: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=[]},60718: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"]},39303: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=[]},77393: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"]},19023: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"]},74212: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=[]},5137:function(e,t,n){"use strict";var r=n(88262);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=[]},88262:function(e,t,n){"use strict";var r=n(93205);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=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);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=[]},59149:function(e,t,n){"use strict";var r=n(11114);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=[]},50256: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=[]},61777: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=[]},3623: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=[]},82707: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=[]},59338: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=[]},56267: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=[]},98809: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=[]},37548: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=[]},82161: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=[]},80625: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=[]},88393: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=[]},78404: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=[]},92923:function(e,t,n){"use strict";var r=n(58090);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"]},52992: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"]},55762: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=[]},4137: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=[]},28260: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=[]},71360: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"]},29308: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=[]},32168:function(e,t,n){"use strict";var r=n(9997);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"]},5755: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=[]},54105: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=[]},35108: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"]},46678: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=[]},47496: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=[]},30527: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=[]},5261: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=[]},56939: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"]},83648: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=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,p,d,f,g,m,h,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}],p={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}},d={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"}}},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"},m={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":p["arg-value"],operator:p.operator,argument:p.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":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:y,"submit-statement":m,"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:y,"submit-statement":m,"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:p}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:y,function:u,format:d,altformat:f,"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:p},"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:p},"cas-actions":b,comment:s,function:u,format:d,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=[]},41720: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=[]},6054:function(e,t,n){"use strict";var r=n(15909);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=[]},9997: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=[]},24296: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=[]},49246:function(e,t,n){"use strict";var r=n(6979);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=[]},18890: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=[]},11037: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=[]},64020:function(e,t,n){"use strict";var r=n(93205);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=[]},49760: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"]},33351: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"]},13570: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=[]},38181:function(e,t,n){"use strict";var r=n(93205);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=[]},98774:function(e,t,n){"use strict";var r=n(24691);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"]},22855: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=[]},29611: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=[]},11114: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=[]},67386: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=[]},28067: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=[]},49168: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=[]},23651: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=[]},21483: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=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);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=[]},2329: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=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);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=[]},17290:function(e,t,n){"use strict";var r=n(65039);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=[]},67989: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=[]},31065: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=[]},85572: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=[]},27536: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=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);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=[]},61028:function(e,t,n){"use strict";var r=n(93205);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=[]},24691: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=[]},19892:function(e,t,n){"use strict";var r=n(93205);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=[]},4979: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"]},23159: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"]},34966: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"]},44623: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=[]},38521: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"]},7255: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=[]},28173: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=[]},53813:function(e,t,n){"use strict";var r=n(46241);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=[]},46891: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=[]},91824: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=[]},9447: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=[]},53062: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=[]},46215: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=[]},10784: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=[]},17684: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=[]},64851: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=[]},18191: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=[]},75242: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"]},93639: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=[]},97202: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"]},13808: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=[]},21301: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=[]},20349: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=[]},65039: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"]},96319: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=[]},31501: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=[]},59216: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));v+=S.value.length,S=S.next){var A,O=S.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(T,v,t,h))||A.index>=t.length)break;var k=A.index,I=A.index+A[0].length,C=v;for(C+=S.value.length;k>=C;)C+=(S=S.next).value.length;if(C-=S.value.length,v=C,S.value instanceof i)continue;for(var N=S;N!==n.tail&&(Cu.reach&&(u.reach=L);var D=S.prev;x&&(D=l(n,D,x),v+=x.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:p+","+f,reach:L};e(t,n,r,S.prev,v,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 p=document.readyState;"loading"===p||"interactive"===p&&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)},96774: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;l{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=[],p=a([o,n],r);for(let t of s(r))(e||!c(l(r[t])))&&n.push([i(t),i(r[t])]);return p}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:p}=r;return a([o,{name:u,message:p}],r)};return i},p=(e,{json:t,lossy:n}={})=>{let r=[];return u(!(t||n),!!t,new Map,r)(e),r};var d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?i(p(e,t)):structuredClone(e):(e,t)=>i(p(e,t))},25668: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}})},24345:function(e,t,n){"use strict";function r(){}function a(){}n.d(t,{ok:function(){return r},t1:function(){return a}})},27962: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))}}},21905: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}})},62987:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(15459);function a(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},4663:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(21905);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 p(e,t){return t in e?e[t]:t}function d(e,t){return p(e,t.toLowerCase())}let f=l({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:d,properties:{xmlns:null,xmlnsXLink:null}});var g=n(47312);let m=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:d,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:p,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}}),y=a([u,c,f,m,h],"html"),E=a([u,c,f,m,b],"svg")},26103:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(93859),a=n(75729),i=n(49255);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,d=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,p);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}}d=a.I}return new d(c,t)}function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},93859:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},75729:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(49255),a=n(47312);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?I.YP:I.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=m=m||(m={})).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,g.EOF;return this._err(m.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,g.EOF;let n=this.html.charCodeAt(t);return n===g.CARRIAGE_RETURN?g.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,g.EOF;let e=this.html.charCodeAt(this.pos);if(e===g.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED;if(e===g.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===g.LINE_FEED||e===g.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.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=h=h||(h={}))[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(60411);(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=T=T||(T={})).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=S=S||(S={}))[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([[T.A,S.A],[T.ADDRESS,S.ADDRESS],[T.ANNOTATION_XML,S.ANNOTATION_XML],[T.APPLET,S.APPLET],[T.AREA,S.AREA],[T.ARTICLE,S.ARTICLE],[T.ASIDE,S.ASIDE],[T.B,S.B],[T.BASE,S.BASE],[T.BASEFONT,S.BASEFONT],[T.BGSOUND,S.BGSOUND],[T.BIG,S.BIG],[T.BLOCKQUOTE,S.BLOCKQUOTE],[T.BODY,S.BODY],[T.BR,S.BR],[T.BUTTON,S.BUTTON],[T.CAPTION,S.CAPTION],[T.CENTER,S.CENTER],[T.CODE,S.CODE],[T.COL,S.COL],[T.COLGROUP,S.COLGROUP],[T.DD,S.DD],[T.DESC,S.DESC],[T.DETAILS,S.DETAILS],[T.DIALOG,S.DIALOG],[T.DIR,S.DIR],[T.DIV,S.DIV],[T.DL,S.DL],[T.DT,S.DT],[T.EM,S.EM],[T.EMBED,S.EMBED],[T.FIELDSET,S.FIELDSET],[T.FIGCAPTION,S.FIGCAPTION],[T.FIGURE,S.FIGURE],[T.FONT,S.FONT],[T.FOOTER,S.FOOTER],[T.FOREIGN_OBJECT,S.FOREIGN_OBJECT],[T.FORM,S.FORM],[T.FRAME,S.FRAME],[T.FRAMESET,S.FRAMESET],[T.H1,S.H1],[T.H2,S.H2],[T.H3,S.H3],[T.H4,S.H4],[T.H5,S.H5],[T.H6,S.H6],[T.HEAD,S.HEAD],[T.HEADER,S.HEADER],[T.HGROUP,S.HGROUP],[T.HR,S.HR],[T.HTML,S.HTML],[T.I,S.I],[T.IMG,S.IMG],[T.IMAGE,S.IMAGE],[T.INPUT,S.INPUT],[T.IFRAME,S.IFRAME],[T.KEYGEN,S.KEYGEN],[T.LABEL,S.LABEL],[T.LI,S.LI],[T.LINK,S.LINK],[T.LISTING,S.LISTING],[T.MAIN,S.MAIN],[T.MALIGNMARK,S.MALIGNMARK],[T.MARQUEE,S.MARQUEE],[T.MATH,S.MATH],[T.MENU,S.MENU],[T.META,S.META],[T.MGLYPH,S.MGLYPH],[T.MI,S.MI],[T.MO,S.MO],[T.MN,S.MN],[T.MS,S.MS],[T.MTEXT,S.MTEXT],[T.NAV,S.NAV],[T.NOBR,S.NOBR],[T.NOFRAMES,S.NOFRAMES],[T.NOEMBED,S.NOEMBED],[T.NOSCRIPT,S.NOSCRIPT],[T.OBJECT,S.OBJECT],[T.OL,S.OL],[T.OPTGROUP,S.OPTGROUP],[T.OPTION,S.OPTION],[T.P,S.P],[T.PARAM,S.PARAM],[T.PLAINTEXT,S.PLAINTEXT],[T.PRE,S.PRE],[T.RB,S.RB],[T.RP,S.RP],[T.RT,S.RT],[T.RTC,S.RTC],[T.RUBY,S.RUBY],[T.S,S.S],[T.SCRIPT,S.SCRIPT],[T.SECTION,S.SECTION],[T.SELECT,S.SELECT],[T.SOURCE,S.SOURCE],[T.SMALL,S.SMALL],[T.SPAN,S.SPAN],[T.STRIKE,S.STRIKE],[T.STRONG,S.STRONG],[T.STYLE,S.STYLE],[T.SUB,S.SUB],[T.SUMMARY,S.SUMMARY],[T.SUP,S.SUP],[T.TABLE,S.TABLE],[T.TBODY,S.TBODY],[T.TEMPLATE,S.TEMPLATE],[T.TEXTAREA,S.TEXTAREA],[T.TFOOT,S.TFOOT],[T.TD,S.TD],[T.TH,S.TH],[T.THEAD,S.THEAD],[T.TITLE,S.TITLE],[T.TR,S.TR],[T.TRACK,S.TRACK],[T.TT,S.TT],[T.U,S.U],[T.UL,S.UL],[T.SVG,S.SVG],[T.VAR,S.VAR],[T.WBR,S.WBR],[T.XMP,S.XMP]]);function ep(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:S.UNKNOWN}let ed=S,ef={[b.HTML]:new Set([ed.ADDRESS,ed.APPLET,ed.AREA,ed.ARTICLE,ed.ASIDE,ed.BASE,ed.BASEFONT,ed.BGSOUND,ed.BLOCKQUOTE,ed.BODY,ed.BR,ed.BUTTON,ed.CAPTION,ed.CENTER,ed.COL,ed.COLGROUP,ed.DD,ed.DETAILS,ed.DIR,ed.DIV,ed.DL,ed.DT,ed.EMBED,ed.FIELDSET,ed.FIGCAPTION,ed.FIGURE,ed.FOOTER,ed.FORM,ed.FRAME,ed.FRAMESET,ed.H1,ed.H2,ed.H3,ed.H4,ed.H5,ed.H6,ed.HEAD,ed.HEADER,ed.HGROUP,ed.HR,ed.HTML,ed.IFRAME,ed.IMG,ed.INPUT,ed.LI,ed.LINK,ed.LISTING,ed.MAIN,ed.MARQUEE,ed.MENU,ed.META,ed.NAV,ed.NOEMBED,ed.NOFRAMES,ed.NOSCRIPT,ed.OBJECT,ed.OL,ed.P,ed.PARAM,ed.PLAINTEXT,ed.PRE,ed.SCRIPT,ed.SECTION,ed.SELECT,ed.SOURCE,ed.STYLE,ed.SUMMARY,ed.TABLE,ed.TBODY,ed.TD,ed.TEMPLATE,ed.TEXTAREA,ed.TFOOT,ed.TH,ed.THEAD,ed.TITLE,ed.TR,ed.TRACK,ed.UL,ed.WBR,ed.XMP]),[b.MATHML]:new Set([ed.MI,ed.MO,ed.MN,ed.MS,ed.MTEXT,ed.ANNOTATION_XML]),[b.SVG]:new Set([ed.TITLE,ed.FOREIGN_OBJECT,ed.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eg(e){return e===ed.H1||e===ed.H2||e===ed.H3||e===ed.H4||e===ed.H5||e===ed.H6}T.STYLE,T.SCRIPT,T.XMP,T.IFRAME,T.NOEMBED,T.NOFRAMES,T.PLAINTEXT;let em=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]]);(p=v||(v={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",p[p.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",p[p.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",p[p.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",p[p.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",p[p.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eh={DATA:v.DATA,RCDATA:v.RCDATA,RAWTEXT:v.RAWTEXT,SCRIPT_DATA:v.SCRIPT_DATA,PLAINTEXT:v.PLAINTEXT,CDATA_SECTION:v.CDATA_SECTION};function eb(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function ey(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function eE(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z||ey(e)}function eT(e){return eE(e)||eb(e)}function eS(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_F}function ev(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_F}function eA(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function eO(e){return eA(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class e_{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=v.DATA,this.returnState=v.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(m.endTagWithAttributes),e.selfClosing&&this._err(m.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 h.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case h.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case h.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:h.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=eA(e)?h.WHITESPACE_CHARACTER:e===g.NULL?h.NULL_CHARACTER:h.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(h.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!==g.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===g.EQUALS_SIGN||eT(a))?(t=[g.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!==g.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===v.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case v.DATA:this._stateData(e);break;case v.RCDATA:this._stateRcdata(e);break;case v.RAWTEXT:this._stateRawtext(e);break;case v.SCRIPT_DATA:this._stateScriptData(e);break;case v.PLAINTEXT:this._statePlaintext(e);break;case v.TAG_OPEN:this._stateTagOpen(e);break;case v.END_TAG_OPEN:this._stateEndTagOpen(e);break;case v.TAG_NAME:this._stateTagName(e);break;case v.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case v.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case v.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case v.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case v.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case v.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case v.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case v.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case v.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case v.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case v.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case v.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case v.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case v.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case v.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case v.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case v.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case v.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case v.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case v.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case v.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case v.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case v.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case v.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case v.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case v.BOGUS_COMMENT:this._stateBogusComment(e);break;case v.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case v.COMMENT_START:this._stateCommentStart(e);break;case v.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case v.COMMENT:this._stateComment(e);break;case v.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case v.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case v.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case v.COMMENT_END:this._stateCommentEnd(e);break;case v.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case v.DOCTYPE:this._stateDoctype(e);break;case v.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case v.DOCTYPE_NAME:this._stateDoctypeName(e);break;case v.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case v.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case v.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case v.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case v.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case v.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case v.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case v.CDATA_SECTION:this._stateCdataSection(e);break;case v.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case v.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case v.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case v.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case v.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case v.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case v.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case v.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case v.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case v.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.TAG_OPEN;break;case g.AMPERSAND:this.returnState=v.DATA,this.state=v.CHARACTER_REFERENCE;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case g.AMPERSAND:this.returnState=v.RCDATA,this.state=v.CHARACTER_REFERENCE;break;case g.LESS_THAN_SIGN:this.state=v.RCDATA_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.RAWTEXT_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case g.LESS_THAN_SIGN:this.state=v.SCRIPT_DATA_LESS_THAN_SIGN;break;case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case g.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case g.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.EXCLAMATION_MARK:this.state=v.MARKUP_DECLARATION_OPEN;break;case g.SOLIDUS:this.state=v.END_TAG_OPEN;break;case g.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=v.BOGUS_COMMENT,this._stateBogusComment(e);break;case g.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=v.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=v.TAG_NAME,this._stateTagName(e);else switch(e){case g.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=v.DATA;break;case g.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case g.NULL:this._err(m.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===g.SOLIDUS?this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case g.NULL:this._err(m.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case g.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===g.SOLIDUS?(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===g.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([S.DD,S.DT,S.LI,S.OPTGROUP,S.OPTION,S.P,S.RB,S.RP,S.RT,S.RTC]),eI=new Set([...ek,S.CAPTION,S.COLGROUP,S.TBODY,S.TD,S.TFOOT,S.TH,S.THEAD,S.TR]),eC=new Map([[S.APPLET,b.HTML],[S.CAPTION,b.HTML],[S.HTML,b.HTML],[S.MARQUEE,b.HTML],[S.OBJECT,b.HTML],[S.TABLE,b.HTML],[S.TD,b.HTML],[S.TEMPLATE,b.HTML],[S.TH,b.HTML],[S.ANNOTATION_XML,b.MATHML],[S.MI,b.MATHML],[S.MN,b.MATHML],[S.MO,b.MATHML],[S.MS,b.MATHML],[S.MTEXT,b.MATHML],[S.DESC,b.SVG],[S.FOREIGN_OBJECT,b.SVG],[S.TITLE,b.SVG]]),eN=[S.H1,S.H2,S.H3,S.H4,S.H5,S.H6],ew=[S.TR,S.TEMPLATE,S.HTML],ex=[S.TBODY,S.TFOOT,S.THEAD,S.TEMPLATE,S.HTML],eR=[S.TABLE,S.TEMPLATE,S.HTML],eL=[S.TD,S.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=S.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===S.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(ex,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(ew,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]===S.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]===S.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(eC.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(eg(t)&&n===b.HTML)break;if(eC.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===S.UL||n===S.OL)&&r===b.HTML||eC.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===S.BUTTON&&r===b.HTML||eC.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===S.TABLE||n===S.TEMPLATE||n===S.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===S.TBODY||t===S.THEAD||t===S.TFOOT)break;if(t===S.TABLE||t===S.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!==S.OPTION&&n!==S.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eI.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eI.has(this.currentTagId);)this.pop()}}(d=A=A||(A={}))[d.Marker=0]="Marker",d[d.Element=1]="Element";let eP={type:A.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:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.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===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.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"]),ez=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e$=[...ez,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eW(e,t){return t.some(t=>e.startsWith(t))}let eZ={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eY=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])),eV=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([S.B,S.BIG,S.BLOCKQUOTE,S.BODY,S.BR,S.CENTER,S.CODE,S.DD,S.DIV,S.DL,S.DT,S.EM,S.EMBED,S.H1,S.H2,S.H3,S.H4,S.H5,S.H6,S.HEAD,S.HR,S.I,S.IMG,S.LI,S.LISTING,S.MENU,S.META,S.NOBR,S.OL,S.P,S.PRE,S.RUBY,S.S,S.SMALL,S.SPAN,S.STRONG,S.STRIKE,S.SUB,S.SUP,S.TABLE,S.TT,S.U,S.UL,S.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=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eh.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)===T.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 S.TITLE:case S.TEXTAREA:this.tokenizer.state=eh.RCDATA;break;case S.STYLE:case S.XMP:case S.IFRAME:case S.NOEMBED:case S.NOFRAMES:case S.NOSCRIPT:this.tokenizer.state=eh.RAWTEXT;break;case S.SCRIPT:this.tokenizer.state=eh.SCRIPT_DATA;break;case S.PLAINTEXT:this.tokenizer.state=eh.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(T.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,S.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===h.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!==S.SVG||this.treeAdapter.getTagName(t)!==T.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===S.MGLYPH||e.tagID===S.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case h.CHARACTER:this.onCharacter(e);break;case h.NULL_CHARACTER:this.onNullCharacter(e);break;case h.COMMENT:this.onComment(e);break;case h.DOCTYPE:this.onDoctype(e);break;case h.START_TAG:this._processStartTag(e);break;case h.END_TAG:this.onEndTag(e);break;case h.EOF:this.onEof(e);break;case h.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===S.ANNOTATION_XML){for(let e=0;ee.type===A.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=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(S.P),this.openElements.popUntilTagNamePopped(S.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case S.TR:this.insertionMode=O.IN_ROW;return;case S.TBODY:case S.THEAD:case S.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case S.CAPTION:this.insertionMode=O.IN_CAPTION;return;case S.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case S.TABLE:this.insertionMode=O.IN_TABLE;return;case S.BODY:this.insertionMode=O.IN_BODY;return;case S.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case S.SELECT:this._resetInsertionModeForSelect(e);return;case S.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case S.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case S.TD:case S.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case S.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===S.TEMPLATE)break;if(e===S.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.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 S.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case S.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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e5(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e5(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.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?ez:e$))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,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tv(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===S.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=ep(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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===S.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BASEFONT:case S.BGSOUND:case S.HEAD:case S.LINK:case S.META:case S.NOFRAMES:case S.STYLE:te(e,t);break;case S.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case S.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,S.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case S.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:td(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):td(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(S.TD)||e.openElements.hasInTableScope(S.TH))&&(e._closeTableCell(),tC(e,t)):td(e,t)}(this,e);break;case O.IN_SELECT:tw(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tw(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:case S.NOFRAMES:case S.SCRIPT:case S.STYLE:case S.TEMPLATE:case S.TITLE:te(e,t);break;case S.CAPTION:case S.COLGROUP:case S.TBODY:case S.TFOOT:case S.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case S.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case S.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case S.TD:case S.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,td(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===S.HTML?td(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.FRAMESET:e._insertElement(t,b.HTML);break;case S.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===S.HTML?td(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===S.P||t.tagID===S.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 O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===S.HTML||n===S.HEAD||n===S.BODY||n===S.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===S.HEAD||n===S.BODY||n===S.HTML||n===S.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case S.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case S.BODY:case S.BR:case S.HTML:tn(e,t);break;case S.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case S.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case S.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case S.BODY:case S.HTML:case S.BR:ta(e,t);break;case S.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:tg(this,e);break;case O.TEXT:e.tagID===S.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case S.CAPTION:case S.TABLE:e.openElements.hasInTableScope(S.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===S.TABLE&&ty(e,t));break;case S.BODY:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tg(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case S.COLGROUP:e.openElements.currentTagId===S.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case S.TEMPLATE:tt(e,t);break;case S.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tI(this,e);break;case O.IN_ROW:tN(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case S.TD:case S.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case S.TABLE:case S.TBODY:case S.TFOOT:case S.THEAD:case S.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tN(e,t));break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:break;default:tg(e,t)}}(this,e);break;case O.IN_SELECT:tx(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===S.CAPTION||n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR||n===S.TD||n===S.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tx(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===S.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==S.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===S.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===S.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tv(this,e);break;case O.IN_TEMPLATE:tR(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===g.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 O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:th(this,e);break;case O.IN_TABLE_TEXT:tT(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=ep(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===S.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 e5(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(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 e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(T.HEAD,S.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case S.HTML:td(e,t);break;case S.BASE:case S.BASEFONT:case S.BGSOUND:case S.LINK:case S.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.TITLE:e._switchToTextParsing(t,eh.RCDATA);break;case S.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eh.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case S.NOFRAMES:case S.STYLE:e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SCRIPT:e._switchToTextParsing(t,eh.SCRIPT_DATA);break;case S.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case S.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==S.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===h.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(T.BODY,S.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case h.CHARACTER:ts(e,t);break;case h.WHITESPACE_CHARACTER:to(e,t);break;case h.COMMENT:e5(e,t);break;case h.START_TAG:td(e,t);break;case h.END_TAG:tg(e,t);break;case h.EOF:tm(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,eh.RAWTEXT)}function tp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function td(e,t){switch(t.tagID){case S.I:case S.S:case S.B:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.SMALL:case S.STRIKE:case S.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(T.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 S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),eg(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case S.P:case S.DL:case S.OL:case S.UL:case S.DIV:case S.DIR:case S.NAV:case S.MAIN:case S.MENU:case S.ASIDE:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.DETAILS:case S.ADDRESS:case S.ARTICLE:case S.SECTION:case S.SUMMARY:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case S.LI:case S.DD:case S.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===S.LI&&r===S.LI||(n===S.DD||n===S.DT)&&(r===S.DD||r===S.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==S.ADDRESS&&r!==S.DIV&&r!==S.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case S.BR:case S.IMG:case S.WBR:case S.AREA:case S.EMBED:case S.KEYGEN:tl(e,t);break;case S.HR:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case S.RB:case S.RTC:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case S.RT:case S.RP:e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(S.RTC),e._insertElement(t,b.HTML);break;case S.PRE:case S.LISTING:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case S.XMP:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case S.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case S.BASE:case S.LINK:case S.META:case S.STYLE:case S.TITLE:case S.SCRIPT:case S.BGSOUND:case S.BASEFONT:case S.TEMPLATE:te(e,t);break;case S.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 S.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case S.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(S.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case S.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case S.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case S.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case S.PARAM:case S.TRACK:case S.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case S.IMAGE:t.tagName=T.IMG,t.tagID=S.IMG,tl(e,t);break;case S.BUTTON:e.openElements.hasInScope(S.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case S.APPLET:case S.OBJECT:case S.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case S.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eh.RAWTEXT);break;case S.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case S.OPTION:case S.OPTGROUP:e.openElements.currentTagId===S.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case S.NOEMBED:tu(e,t);break;case S.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=O.IN_FRAMESET)}(e,t);break;case S.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eh.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case S.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):tp(e,t);break;case S.PLAINTEXT:e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eh.PLAINTEXT;break;case S.COL:case S.TH:case S.TD:case S.TR:case S.HEAD:case S.FRAME:case S.TBODY:case S.TFOOT:case S.THEAD:case S.CAPTION:case S.COLGROUP:break;default:tp(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!==S.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 tg(e,t){switch(t.tagID){case S.A:case S.B:case S.I:case S.S:case S.U:case S.EM:case S.TT:case S.BIG:case S.CODE:case S.FONT:case S.NOBR:case S.SMALL:case S.STRIKE:case S.STRONG:e4(e,t);break;case S.P:e.openElements.hasInButtonScope(S.P)||e._insertFakeElement(T.P,S.P),e._closePElement();break;case S.DL:case S.UL:case S.OL:case S.DIR:case S.DIV:case S.NAV:case S.PRE:case S.MAIN:case S.MENU:case S.ASIDE:case S.BUTTON:case S.CENTER:case S.FIGURE:case S.FOOTER:case S.HEADER:case S.HGROUP:case S.DIALOG:case S.ADDRESS:case S.ARTICLE:case S.DETAILS:case S.SECTION:case S.SUMMARY:case S.LISTING:case S.FIELDSET:case S.BLOCKQUOTE:case S.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case S.LI:e.openElements.hasInListItemScope(S.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(S.LI),e.openElements.popUntilTagNamePopped(S.LI));break;case S.DD:case S.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case S.H1:case S.H2:case S.H3:case S.H4:case S.H5:case S.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case S.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(T.BR,S.BR),e.openElements.pop(),e.framesetOk=!1;break;case S.BODY:!function(e,t){if(e.openElements.hasInScope(S.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case S.HTML:e.openElements.hasInScope(S.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case S.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(S.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(S.FORM):n&&e.openElements.remove(n))}(e);break;case S.APPLET:case S.OBJECT:case S.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 S.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e6(e,t)}function th(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case h.CHARACTER:tS(e,t);break;case h.WHITESPACE_CHARACTER:tT(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case S.TD:case S.TH:case S.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.TBODY,S.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case S.STYLE:case S.SCRIPT:case S.TEMPLATE:te(e,t);break;case S.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(T.COLGROUP,S.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case S.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case S.TBODY:case S.TFOOT:case S.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case S.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case S.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case S.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case S.TABLE:e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode());break;case S.TEMPLATE:tt(e,t);break;case S.BODY:case S.CAPTION:case S.COL:case S.COLGROUP:case S.HTML:case S.TBODY:case S.TD:case S.TFOOT:case S.TH:case S.THEAD:case S.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tT(e,t){e.pendingCharacterTokens.push(t)}function tS(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tv(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===S.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===S.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===S.OPTGROUP&&e.openElements.pop();break;case S.OPTION:e.openElements.currentTagId===S.OPTION&&e.openElements.pop();break;case S.SELECT:e.openElements.hasInSelectScope(S.SELECT)&&(e.openElements.popUntilTagNamePopped(S.SELECT),e._resetInsertionMode());break;case S.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===S.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===S.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=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.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(43470),T.AREA,T.BASE,T.BASEFONT,T.BGSOUND,T.BR,T.COL,T.EMBED,T.FRAME,T.HR,T.IMG,T.INPUT,T.KEYGEN,T.LINK,T.META,T.PARAM,T.SOURCE,T.TRACK,T.WBR;var tF=n(3980),tB=n(21623);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:tz,element:t$,text:tW,comment:tY,doctype:tZ,raw:tV},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 z({file:n.file||void 0,location:!1,schema:"svg"===n.space?I.YP:I.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:h.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tZ(e,t){let n={type:h.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 tY(e,t){let n=e.value,r={type:h.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tV(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,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tH({type:"root",children:e.children},t.options);n.children=r.children}tY({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=eh.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}}},55186: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(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function p(e){this.config.enter.autolinkProtocol.call(this,e)}function d(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 g(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function h(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&&p.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?p.push(...i):i&&p.push(i),s=n+d[0].length,u=!0),!r.global)break;d=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 T=n(11098);function S(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function v(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function I(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,T.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function N(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 w(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()),x)),o(),i}function x(e,t,n){return 0===t?e:(n?"":" ")+e}N.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 V(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 p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),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 p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),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}Z.peek=function(){return"<"},Y.peek=function(){return"!"},V.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:z,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,$.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 p=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?l+" "+p:l,n.options.closeAtx&&(p+=" "+l),u(),c(),p},html:Z,image:Y,imageReference:V,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 ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ed(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}eA[43]=ev,eA[45]=ev,eA[46]=ev,eA[95]=ev,eA[72]=[ev,eS],eA[104]=[ev,eS],eA[87]=[ev,eT],eA[119]=[ev,eT];var ew=n(23402),ex=n(42761);let eR={tokenize:function(e,t,n){let r=this;return(0,ex.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,T.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,T.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,T.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?p:u}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,ex.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eF(e,t,n){return e.check(ew.w,t,e.attempt(eR,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var ej=n(21905),eU=n(62987),eH=n(63233);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 ez(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"),d):n(t):(0,i.xz)(t)?(0,ex.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?p:u)}function p(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,ex.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?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function g(t){return(0,i.xz)(t)?(0,ex.f)(e,m,"whitespace")(t):m(t)}function m(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,i.Ch)(t)?y(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,i.xz)(t)?(0,ex.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"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,ex.f)(e,T,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?v:S)}function v(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function e$(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,p=0,d=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({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eZ(e,t,n,r,a){let i=[],o=eY(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 eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eV={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,ex.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,eg.W)([{text:eA},{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);++ps[p])&&(s[p]=e)}n.push(i)}i[c]=n,o[c]=a}let p=-1;if("object"==typeof n&&"length"in n)for(;++ps[p]&&(s[p]=i),f[p]=i),d[p]=o}i.splice(1,0,d),o.splice(1,0,f),c=-1;let g=[];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}}},88718:function(e,t,n){"use strict";n.d(t,{BK:function(){return i},S4:function(){return o}});var r=n(96093);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 p=r&&"object"==typeof r?r:{};if("string"==typeof p.type){let e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(d,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return d;function d(){var p;let d,f,g,m=a;if((!t||l(r,s,u[u.length-1]||void 0))&&(m=Array.isArray(p=n(r,u))?p:"number"==typeof p?[!0,p]:null==p?a:[p])[0]===i)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(f=(o?r.children.length:-1)+c,g=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"}')}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/7612-bac91f172005b1c4.js b/dbgpt/app/static/web/_next/static/chunks/7612-bac91f172005b1c4.js new file mode 100644 index 000000000..a456dc9ef --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/7612-bac91f172005b1c4.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7612],{32857:function(e,t){t.Z={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"}},49495:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},41156:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},52645:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),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=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},69753:function(e,t,n){var r=n(87462),o=n(67294),a=n(49495),i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},3471:function(e,t,n){var r=n(87462),o=n(67294),a=n(29245),i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},9641:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},98165:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},8745:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(67294),o=n(21770),a=n(28459),i=n(53124);function l(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>l(l=>{let{prefixCls:c,style:s}=l,d=r.useRef(null),[u,f]=r.useState(0),[m,g]=r.useState(0),[h,v]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:p}=r.useContext(i.E_),b=p(t||"select",c);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=d.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:h,visible:h,getPopupContainer:()=>d.current});return a&&(y=a(y)),r.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065: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}})},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(67294),o=n(93967),a=n.n(o),i=n(53124),l=n(47648),c=n(14747),s=n(83559),d=n(87893);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${r}`},"&-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 ${r}`,"&::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:r,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:r,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:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};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}}),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},g=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:g,children:h,dashed:v,variant:p="solid",plain:b,style:y}=e,$=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=t("divider",l),[w,C,x]=f(O),E=!!h,z="left"===s&&null!=d,k="right"===s&&null!=d,Z=a()(O,null==o?void 0:o.className,C,x,`${O}-${c}`,{[`${O}-with-text`]:E,[`${O}-with-text-${s}`]:E,[`${O}-dashed`]:!!v,[`${O}-${p}`]:"solid"!==p,[`${O}-plain`]:!!b,[`${O}-rtl`]:"rtl"===n,[`${O}-no-default-orientation-margin-left`]:z,[`${O}-no-default-orientation-margin-right`]:k},u,g),S=r.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),H=Object.assign(Object.assign({},z&&{marginLeft:S}),k&&{marginRight:S});return w(r.createElement("div",Object.assign({className:Z,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},$,{role:"separator"}),h&&"vertical"!==c&&r.createElement("span",{className:`${O}-inner-text`,style:H},h)))}},45360:function(e,t,n){var r=n(96641),o=n(67294),a=n(38135),i=n(66968),l=n(53124),c=n(28459),s=n(66277),d=n(16474),u=n(84926);let f=null,m=e=>e(),g=[],h={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=h,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let p=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(l.E_),c=h.prefixCls||a("message"),s=(0,o.useContext)(i.J),[u,f]=(0,d.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.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}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),a=()=>{r(v)};o.useEffect(a,[]);let i=(0,c.w6)(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),d=i.getTheme(),u=o.createElement(p,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:l,iconPrefixCls:s,theme:d},i.holderRender?i.holderRender(u):u)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(g.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},h),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),g=[])}let $={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return g.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{g.push({type:"destroy",key:e}),y()},config:function(e){h=Object.assign(Object.assign({},h),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[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 g.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=$},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),i=n(50344),l=n(98065),c=n(53124),s=n(4173);let d=r.createContext({latestIndex:0}),u=d.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:i}=e,{latestIndex:l}=r.useContext(d);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:i},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 h=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:d,space:h,direction:v}=r.useContext(c.E_),{size:p=null!==(n=null==h?void 0:h.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:$,children:O,direction:w="horizontal",prefixCls:C,split:x,style:E,wrap:z=!1,classNames:k,styles:Z}=e,S=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[H,j]=Array.isArray(p)?p:[p,p],M=(0,l.n)(j),I=(0,l.n)(H),B=(0,l.T)(j),V=(0,l.T)(H),P=(0,i.Z)(O,{keepEmpty:!0}),N=void 0===b&&"horizontal"===w?"center":b,R=d("space",C),[T,W,L]=(0,m.Z)(R),F=a()(R,null==h?void 0:h.className,W,`${R}-${w}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${N}`]:N,[`${R}-gap-row-${j}`]:M,[`${R}-gap-col-${H}`]:I},y,$,L),D=a()(`${R}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(s=null==h?void 0:h.classNames)||void 0===s?void 0:s.item),A=0,_=P.map((e,t)=>{var n,o;null!=e&&(A=t);let a=(null==e?void 0:e.key)||`${D}-${t}`;return r.createElement(f,{className:D,key:a,index:t,split:x,style:null!==(n=null==Z?void 0:Z.item)&&void 0!==n?n:null===(o=null==h?void 0:h.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:A}),[A]);if(0===P.length)return null;let G={};return z&&(G.flexWrap="wrap"),!I&&V&&(G.columnGap=H),!M&&B&&(G.rowGap=j),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},G),null==h?void 0:h.style),E)},S),r.createElement(u,{value:K},_)))});h.Compact=s.ZP;var v=h},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return g}});var r=n(47648),o=n(93590);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}}),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}}),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}}),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:u,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:d}},g=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=m[t];return[(0,o.R)(r,a,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){n.d(t,{Z:function(){return H}});var r=n(67294),o=n(93967),a=n.n(o),i=n(98423),l=n(98787),c=n(69760),s=n(96159),d=n(45353),u=n(53124),f=n(47648),m=n(10274),g=n(14747),h=n(87893),v=n(83559);let p=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:a}=e,i=a(r).sub(n).equal(),l=a(t).sub(n).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}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,h.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},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,v.I$)("Tag",e=>{let t=b(e);return p(t)},y),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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:i,checked:l,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(u.E_),g=f("tag",n),[h,v,p]=$(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,i,v,p);return h(r.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var C=n(98719);let x=e=>(0,C.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},y);let z=(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 k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),Z=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 S=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:g,icon:h,color:v,onClose:p,bordered:b=!0,visible:y}=e,O=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:C,tag:x}=r.useContext(u.E_),[z,S]=r.useState(!0),H=(0,i.Z)(O,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&S(y)},[y]);let j=(0,l.o2)(v),M=(0,l.yT)(v),I=j||M,B=Object.assign(Object.assign({backgroundColor:v&&!I?v:void 0},null==x?void 0:x.style),m),V=w("tag",n),[P,N,R]=$(V),T=a()(V,null==x?void 0:x.className,{[`${V}-${v}`]:I,[`${V}-has-color`]:v&&!I,[`${V}-hidden`]:!z,[`${V}-rtl`]:"rtl"===C,[`${V}-borderless`]:!b},o,f,N,R),W=e=>{e.stopPropagation(),null==p||p(e),e.defaultPrevented||S(!1)},[,L]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${V}-close-icon`,onClick:W},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),W(t)},className:a()(null==e?void 0:e.className,`${V}-close-icon`)}))}}),F="function"==typeof O.onClick||g&&"a"===g.type,D=h||null,A=D?r.createElement(r.Fragment,null,D,g&&r.createElement("span",null,g)):g,_=r.createElement("span",Object.assign({},H,{ref:t,className:T,style:B}),A,L,j&&r.createElement(E,{key:"preset",prefixCls:V}),M&&r.createElement(k,{key:"status",prefixCls:V}));return P(F?r.createElement(d.Z,{component:"Tag"},_):_)});S.CheckableTag=w;var H=S},64894:function(e,t,n){var r=n(83963),o=n(67294),a=n(32857),i=n(30672),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8232-7d47277563776def.js b/dbgpt/app/static/web/_next/static/chunks/8232-12712978f4f1b0d6.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/8232-7d47277563776def.js rename to dbgpt/app/static/web/_next/static/chunks/8232-12712978f4f1b0d6.js diff --git a/dbgpt/app/static/web/_next/static/chunks/8237-a1c0bcfc277205e0.js b/dbgpt/app/static/web/_next/static/chunks/8237-a1c0bcfc277205e0.js deleted file mode 100644 index cb2909a18..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8237-a1c0bcfc277205e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8237],{39055:function(e,t){t.Z={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"}},91321:function(e,t,c){c.d(t,{Z:function(){return u}});var n=c(87462),r=c(45987),a=c(67294),o=c(16165),f=["type","children"],l=new Set;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=e[t];if("string"==typeof c&&c.length&&!l.has(c)){var n=document.createElement("script");n.setAttribute("src",c),n.setAttribute("data-namespace",c),e.length>t+1&&(n.onload=function(){i(e,t+1)},n.onerror=function(){i(e,t+1)}),l.add(c),document.body.appendChild(n)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,c=e.extraCommonProps,l=void 0===c?{}:c;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?i(t.reverse()):i([t]));var u=a.forwardRef(function(e,t){var c=e.type,i=e.children,u=(0,r.Z)(e,f),s=null;return e.type&&(s=a.createElement("use",{xlinkHref:"#".concat(c)})),i&&(s=i),a.createElement(o.Z,(0,n.Z)({},l,u,{ref:t}),s)});return u.displayName="Iconfont",u}},6321:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},90389:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},52645:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},13179:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},47389:function(e,t,c){var n=c(87462),r=c(67294),a=c(27363),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},58638:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},55287:function(e,t,c){var n=c(87462),r=c(67294),a=c(5717),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},31545:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},27595:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},27329:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},83266:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},68346:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},64082:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},79090:function(e,t,c){var n=c(87462),r=c(67294),a=c(15294),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},3089:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},30159:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},51042:function(e,t,c){var n=c(87462),r=c(67294),a=c(42110),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},87740:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},40110:function(e,t,c){var n=c(87462),r=c(67294),a=c(509),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},27496:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},41441:function(e,t,c){var n=c(87462),r=c(67294),a=c(39055),o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=f},18754:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},28058:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},65886:function(e,t,c){c.d(t,{Z:function(){return f}});var n=c(87462),r=c(67294),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"},o=c(13401),f=r.forwardRef(function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:a}))})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8391-507fab98abdd95c0.js b/dbgpt/app/static/web/_next/static/chunks/8391-507fab98abdd95c0.js new file mode 100644 index 000000000..2d23f0a34 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8391-507fab98abdd95c0.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8391,7612],{32857:function(e,t){t.Z={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"}},49495:function(e,t){t.Z={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"}},26554:function(e,t){t.Z={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"}},41156:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},52645:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),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=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},69753:function(e,t,n){var r=n(87462),o=n(67294),a=n(49495),i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},3471:function(e,t,n){var r=n(87462),o=n(67294),a=n(29245),i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},9641:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},40110:function(e,t,n){var r=n(87462),o=n(67294),a=n(509),i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},98165:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),a={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"},i=n(13401),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},8745:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(67294),o=n(21770),a=n(28459),i=n(53124);function l(e){return t=>r.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}t.Z=(e,t,n,a)=>l(l=>{let{prefixCls:c,style:s}=l,d=r.useRef(null),[u,f]=r.useState(0),[m,g]=r.useState(0),[h,v]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:p}=r.useContext(i.E_),b=p(t||"select",c);r.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(b)}`:`.${b}-dropdown`,a=null===(r=d.current)||void 0===r?void 0:r.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:h,visible:h,getPopupContainer:()=>d.current});return a&&(y=a(y)),r.createElement("div",{ref:d,style:{paddingBottom:u,position:"relative",minWidth:m}},r.createElement(e,Object.assign({},y)))})},98065: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}})},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(67294),o=n(93967),a=n.n(o),i=n(53124),l=n(47648),c=n(14747),s=n(83559),d=n(87893);let u=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{borderBlockStart:`${(0,l.bf)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,l.bf)(o)} solid ${r}`},"&-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 ${r}`,"&::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:r,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:r,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:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};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}}),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},g=e=>{let{getPrefixCls:t,direction:n,divider:o}=r.useContext(i.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:u,rootClassName:g,children:h,dashed:v,variant:p="solid",plain:b,style:y}=e,$=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),O=t("divider",l),[w,C,x]=f(O),E=!!h,z="left"===s&&null!=d,k="right"===s&&null!=d,Z=a()(O,null==o?void 0:o.className,C,x,`${O}-${c}`,{[`${O}-with-text`]:E,[`${O}-with-text-${s}`]:E,[`${O}-dashed`]:!!v,[`${O}-${p}`]:"solid"!==p,[`${O}-plain`]:!!b,[`${O}-rtl`]:"rtl"===n,[`${O}-no-default-orientation-margin-left`]:z,[`${O}-no-default-orientation-margin-right`]:k},u,g),S=r.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),H=Object.assign(Object.assign({},z&&{marginLeft:S}),k&&{marginRight:S});return w(r.createElement("div",Object.assign({className:Z,style:Object.assign(Object.assign({},null==o?void 0:o.style),y)},$,{role:"separator"}),h&&"vertical"!==c&&r.createElement("span",{className:`${O}-inner-text`,style:H},h)))}},45360:function(e,t,n){var r=n(96641),o=n(67294),a=n(38135),i=n(66968),l=n(53124),c=n(28459),s=n(66277),d=n(16474),u=n(84926);let f=null,m=e=>e(),g=[],h={};function v(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=h,a=(null==e?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}let p=o.forwardRef((e,t)=>{let{messageConfig:n,sync:r}=e,{getPrefixCls:a}=(0,o.useContext)(l.E_),c=h.prefixCls||a("message"),s=(0,o.useContext)(i.J),[u,f]=(0,d.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:c}),s.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}}),f}),b=o.forwardRef((e,t)=>{let[n,r]=o.useState(v),a=()=>{r(v)};o.useEffect(a,[]);let i=(0,c.w6)(),l=i.getRootPrefixCls(),s=i.getIconPrefixCls(),d=i.getTheme(),u=o.createElement(p,{ref:t,sync:a,messageConfig:n});return o.createElement(c.ZP,{prefixCls:l,iconPrefixCls:s,theme:d},i.holderRender?i.holderRender(u):u)});function y(){if(!f){let e=document.createDocumentFragment(),t={fragment:e};f=t,m(()=>{(0,a.s)(o.createElement(b,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,y())})}}),e)});return}f.instance&&(g.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":m(()=>{let t=f.instance.open(Object.assign(Object.assign({},h),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":m(()=>{null==f||f.instance.destroy(e.key)});break;default:m(()=>{var n;let o=(n=f.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),g=[])}let $={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return g.push(r),()=>{n?m(()=>{n()}):r.skipped=!0}});return y(),t},destroy:e=>{g.push({type:"destroy",key:e}),y()},config:function(e){h=Object.assign(Object.assign({},h),e),m(()=>{var e;null===(e=null==f?void 0:f.sync)||void 0===e||e.call(f)})},useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};["success","info","warning","error","loading"].forEach(e=>{$[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 g.push(o),()=>{r?m(()=>{r()}):o.skipped=!0}});return y(),n}(e,n)}}),t.ZP=$},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),o=n(93967),a=n.n(o),i=n(50344),l=n(98065),c=n(53124),s=n(4173);let d=r.createContext({latestIndex:0}),u=d.Provider;var f=e=>{let{className:t,index:n,children:o,split:a,style:i}=e,{latestIndex:l}=r.useContext(d);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:i},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 h=r.forwardRef((e,t)=>{var n,o,s;let{getPrefixCls:d,space:h,direction:v}=r.useContext(c.E_),{size:p=null!==(n=null==h?void 0:h.size)&&void 0!==n?n:"small",align:b,className:y,rootClassName:$,children:O,direction:w="horizontal",prefixCls:C,split:x,style:E,wrap:z=!1,classNames:k,styles:Z}=e,S=g(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[H,j]=Array.isArray(p)?p:[p,p],M=(0,l.n)(j),I=(0,l.n)(H),B=(0,l.T)(j),V=(0,l.T)(H),P=(0,i.Z)(O,{keepEmpty:!0}),N=void 0===b&&"horizontal"===w?"center":b,R=d("space",C),[T,W,L]=(0,m.Z)(R),F=a()(R,null==h?void 0:h.className,W,`${R}-${w}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${N}`]:N,[`${R}-gap-row-${j}`]:M,[`${R}-gap-col-${H}`]:I},y,$,L),D=a()(`${R}-item`,null!==(o=null==k?void 0:k.item)&&void 0!==o?o:null===(s=null==h?void 0:h.classNames)||void 0===s?void 0:s.item),A=0,_=P.map((e,t)=>{var n,o;null!=e&&(A=t);let a=(null==e?void 0:e.key)||`${D}-${t}`;return r.createElement(f,{className:D,key:a,index:t,split:x,style:null!==(n=null==Z?void 0:Z.item)&&void 0!==n?n:null===(o=null==h?void 0:h.styles)||void 0===o?void 0:o.item},e)}),K=r.useMemo(()=>({latestIndex:A}),[A]);if(0===P.length)return null;let G={};return z&&(G.flexWrap="wrap"),!I&&V&&(G.columnGap=H),!M&&B&&(G.rowGap=j),T(r.createElement("div",Object.assign({ref:t,className:F,style:Object.assign(Object.assign(Object.assign({},G),null==h?void 0:h.style),E)},S),r.createElement(u,{value:K},_)))});h.Compact=s.ZP;var v=h},33507: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`}}})},33297:function(e,t,n){n.d(t,{Fm:function(){return g}});var r=n(47648),o=n(93590);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}}),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}}),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}}),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:u,outKeyframes:f},"move-down":{inKeyframes:a,outKeyframes:i},"move-left":{inKeyframes:l,outKeyframes:c},"move-right":{inKeyframes:s,outKeyframes:d}},g=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=m[t];return[(0,o.R)(r,a,i,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,n){n.d(t,{Z:function(){return H}});var r=n(67294),o=n(93967),a=n.n(o),i=n(98423),l=n(98787),c=n(69760),s=n(96159),d=n(45353),u=n(53124),f=n(47648),m=n(10274),g=n(14747),h=n(87893),v=n(83559);let p=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:a}=e,i=a(r).sub(n).equal(),l=a(t).sub(n).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}}},b=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM,a=(0,h.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},y=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,v.I$)("Tag",e=>{let t=b(e);return p(t)},y),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 w=r.forwardRef((e,t)=>{let{prefixCls:n,style:o,className:i,checked:l,onChange:c,onClick:s}=e,d=O(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=r.useContext(u.E_),g=f("tag",n),[h,v,p]=$(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,i,v,p);return h(r.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==c||c(!l),null==s||s(e)}})))});var C=n(98719);let x=e=>(0,C.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return x(t)},y);let z=(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 k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),Z=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 S=r.forwardRef((e,t)=>{let{prefixCls:n,className:o,rootClassName:f,style:m,children:g,icon:h,color:v,onClose:p,bordered:b=!0,visible:y}=e,O=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:C,tag:x}=r.useContext(u.E_),[z,S]=r.useState(!0),H=(0,i.Z)(O,["closeIcon","closable"]);r.useEffect(()=>{void 0!==y&&S(y)},[y]);let j=(0,l.o2)(v),M=(0,l.yT)(v),I=j||M,B=Object.assign(Object.assign({backgroundColor:v&&!I?v:void 0},null==x?void 0:x.style),m),V=w("tag",n),[P,N,R]=$(V),T=a()(V,null==x?void 0:x.className,{[`${V}-${v}`]:I,[`${V}-has-color`]:v&&!I,[`${V}-hidden`]:!z,[`${V}-rtl`]:"rtl"===C,[`${V}-borderless`]:!b},o,f,N,R),W=e=>{e.stopPropagation(),null==p||p(e),e.defaultPrevented||S(!1)},[,L]=(0,c.Z)((0,c.w)(e),(0,c.w)(x),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${V}-close-icon`,onClick:W},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),W(t)},className:a()(null==e?void 0:e.className,`${V}-close-icon`)}))}}),F="function"==typeof O.onClick||g&&"a"===g.type,D=h||null,A=D?r.createElement(r.Fragment,null,D,g&&r.createElement("span",null,g)):g,_=r.createElement("span",Object.assign({},H,{ref:t,className:T,style:B}),A,L,j&&r.createElement(E,{key:"preset",prefixCls:V}),M&&r.createElement(k,{key:"status",prefixCls:V}));return P(F?r.createElement(d.Z,{component:"Tag"},_):_)});S.CheckableTag=w;var H=S},64894:function(e,t,n){var r=n(83963),o=n(67294),a=n(32857),i=n(30672),l=o.forwardRef(function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8401-0914586dce1fe9ac.js b/dbgpt/app/static/web/_next/static/chunks/8401-0914586dce1fe9ac.js new file mode 100644 index 000000000..c584759fa --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8401-0914586dce1fe9ac.js @@ -0,0 +1,6 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8401],{32857:function(e,t){t.Z={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"}},41156:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},50067:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},9020:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},9641:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},38545:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},92962:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(87462),o=r(67294),a={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"},c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))})},51042:function(e,t,r){var n=r(87462),o=r(67294),a=r(42110),c=r(13401),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l},85980:function(e,t,r){var n=r(97582),o=r(23279),a=r.n(o),c=r(67294),l=r(3930),i=r(45210),s=r(92770),u=r(31663);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,l.Z)(e),f=null!==(r=null==t?void 0:t.wait)&&void 0!==r?r:1e3,d=(0,c.useMemo)(function(){return a()(function(){for(var e=[],t=0;tn.createElement(a.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},n.createElement(e,Object.assign({},t)))}t.Z=(e,t,r,a)=>l(l=>{let{prefixCls:i,style:s}=l,u=n.useRef(null),[f,d]=n.useState(0),[m,g]=n.useState(0),[p,v]=(0,o.Z)(!1,{value:l.open}),{getPrefixCls:h}=n.useContext(c.E_),b=h(t||"select",i);n.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;d(t.offsetHeight+8),g(t.offsetWidth)}),t=setInterval(()=>{var n;let o=r?`.${r(b)}`:`.${b}-dropdown`,a=null===(n=u.current)||void 0===n?void 0:n.querySelector(o);a&&(clearInterval(t),e.observe(a))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let y=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},s),{margin:0}),open:p,visible:p,getPopupContainer:()=>u.current});return a&&(y=a(y)),n.createElement("div",{ref:u,style:{paddingBottom:f,position:"relative",minWidth:m}},n.createElement(e,Object.assign({},y)))})},85576:function(e,t,r){r.d(t,{default:function(){return C}});var n=r(56080),o=r(38657),a=r(56745),c=r(67294),l=r(93967),i=r.n(l),s=r(40974),u=r(8745),f=r(53124),d=r(35792),m=r(32409),g=r(4941),p=r(71194),v=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},h=(0,u.i)(e=>{let{prefixCls:t,className:r,closeIcon:n,closable:o,type:a,title:l,children:u,footer:h}=e,b=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:y}=c.useContext(f.E_),O=y(),C=t||y("modal"),$=(0,d.Z)(O),[w,Z,E]=(0,p.ZP)(C,$),z=`${C}-confirm`,k={};return k=a?{closable:null!=o&&o,title:"",footer:"",children:c.createElement(m.O,Object.assign({},e,{prefixCls:C,confirmPrefixCls:z,rootPrefixCls:O,content:u}))}:{closable:null==o||o,title:l,footer:null!==h&&c.createElement(g.$,Object.assign({},e)),children:u},w(c.createElement(s.s,Object.assign({prefixCls:C,className:i()(Z,`${C}-pure-panel`,a&&z,a&&`${z}-${a}`,r,E,$)},b,{closeIcon:(0,g.b)(C,n),closable:o},k)))}),b=r(94423);function y(e){return(0,n.ZP)((0,n.uW)(e))}let O=a.Z;O.useModal=b.Z,O.info=function(e){return(0,n.ZP)((0,n.cw)(e))},O.success=function(e){return(0,n.ZP)((0,n.vq)(e))},O.error=function(e){return(0,n.ZP)((0,n.AQ)(e))},O.warning=y,O.warn=y,O.confirm=function(e){return(0,n.ZP)((0,n.Au)(e))},O.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},O.config=n.ai,O._InternalPanelDoNotUseOrYouWillBeFired=h;var C=O},33507: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`}}})},33297:function(e,t,r){r.d(t,{Fm:function(){return g}});var n=r(47648),o=r(93590);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}}),c=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}}),i=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:c},"move-left":{inKeyframes:l,outKeyframes:i},"move-right":{inKeyframes:s,outKeyframes:u}},g=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:a,outKeyframes:c}=m[t];return[(0,o.R)(n,a,c,e.motionDurationMid),{[` + ${n}-enter, + ${n}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},66309:function(e,t,r){r.d(t,{Z:function(){return M}});var n=r(67294),o=r(93967),a=r.n(o),c=r(98423),l=r(98787),i=r(69760),s=r(96159),u=r(45353),f=r(53124),d=r(47648),m=r(10274),g=r(14747),p=r(87893),v=r(83559);let h=e=>{let{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o,calc:a}=e,c=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:c,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: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:c}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},b=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 O=(0,v.I$)("Tag",e=>{let t=b(e);return h(t)},y),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};let $=n.forwardRef((e,t)=>{let{prefixCls:r,style:o,className:c,checked:l,onChange:i,onClick:s}=e,u=C(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=n.useContext(f.E_),g=d("tag",r),[p,v,h]=O(g),b=a()(g,`${g}-checkable`,{[`${g}-checkable-checked`]:l},null==m?void 0:m.className,c,v,h);return p(n.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:b,onClick:e=>{null==i||i(!l),null==s||s(e)}})))});var w=r(98719);let Z=e=>(0,w.Z)(e,(t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:c}=r;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var E=(0,v.bk)(["Tag","preset"],e=>{let t=b(e);return Z(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 k=(0,v.bk)(["Tag","status"],e=>{let t=b(e);return[z(t,"success","Success"),z(t,"processing","Info"),z(t,"error","Error"),z(t,"warning","Warning")]},y),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 H=n.forwardRef((e,t)=>{let{prefixCls:r,className:o,rootClassName:d,style:m,children:g,icon:p,color:v,onClose:h,bordered:b=!0,visible:y}=e,C=x(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:$,direction:w,tag:Z}=n.useContext(f.E_),[z,H]=n.useState(!0),M=(0,c.Z)(C,["closeIcon","closable"]);n.useEffect(()=>{void 0!==y&&H(y)},[y]);let j=(0,l.o2)(v),I=(0,l.yT)(v),S=j||I,P=Object.assign(Object.assign({backgroundColor:v&&!S?v:void 0},null==Z?void 0:Z.style),m),V=$("tag",r),[B,R,N]=O(V),T=a()(V,null==Z?void 0:Z.className,{[`${V}-${v}`]:S,[`${V}-has-color`]:v&&!S,[`${V}-hidden`]:!z,[`${V}-rtl`]:"rtl"===w,[`${V}-borderless`]:!b},o,d,R,N),D=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||H(!1)},[,L]=(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: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,`${V}-close-icon`)}))}}),F="function"==typeof C.onClick||g&&"a"===g.type,_=p||null,A=_?n.createElement(n.Fragment,null,_,g&&n.createElement("span",null,g)):g,K=n.createElement("span",Object.assign({},M,{ref:t,className:T,style:P}),A,L,j&&n.createElement(E,{key:"preset",prefixCls:V}),I&&n.createElement(k,{key:"status",prefixCls:V}));return B(F?n.createElement(u.Z,{component:"Tag"},K):K)});H.CheckableTag=$;var M=H},64894:function(e,t,r){var n=r(83963),o=r(67294),a=r(32857),c=r(30672),l=o.forwardRef(function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a.Z}))});t.Z=l}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8538-dbf75773f80258af.js b/dbgpt/app/static/web/_next/static/chunks/8538-b1818d93452a29d4.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/8538-dbf75773f80258af.js rename to dbgpt/app/static/web/_next/static/chunks/8538-b1818d93452a29d4.js diff --git a/dbgpt/app/static/web/_next/static/chunks/8578.b31fa79cb604440b.js b/dbgpt/app/static/web/_next/static/chunks/8578.b31fa79cb604440b.js new file mode 100644 index 000000000..5336aa89f --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8578.b31fa79cb604440b.js @@ -0,0 +1,9 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8578],{39055:function(e,t){"use strict";t.Z={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"}},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),i=n(67294),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"},a=n(13401),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},41441:function(e,t,n){"use strict";var r=n(87462),i=n(67294),o=n(39055),a=n(13401),l=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))});t.Z=l},72868:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});var r=n(67294),i=n(85241),o=n(78031),a=n(51633);function l(e,t){switch(t.type){case a.Q.blur:case a.Q.escapeKeyDown:return{open:!1};case a.Q.toggle:return{open:!e.open};case a.Q.open:return{open:!0};case a.Q.close:return{open:!1};default:throw Error("Unhandled action")}}var u=n(85893);function s(e){let{children:t,open:n,defaultOpen:s,onOpenChange:c}=e,{contextValue:d}=function(e={}){let{defaultOpen:t,onOpenChange:n,open:i}=e,[u,s]=r.useState(""),[c,d]=r.useState(null),f=r.useRef(null),p=r.useCallback((e,t,r,i)=>{"open"===t&&(null==n||n(e,r)),f.current=i},[n]),h=r.useMemo(()=>void 0!==i?{open:i}:{},[i]),[m,g]=(0,o.r)({controlledProps:h,initialState:t?{open:!0}:{open:!1},onStateChange:p,reducer:l});return r.useEffect(()=>{m.open||null===f.current||f.current===a.Q.blur||null==c||c.focus()},[m.open,c]),{contextValue:{state:m,dispatch:g,popupId:u,registerPopup:s,registerTrigger:d,triggerElement:c},open:m.open}}({defaultOpen:s,onOpenChange:c,open:n});return(0,u.jsx)(i.D.Provider,{value:d,children:t})}},53406:function(e,t,n){"use strict";n.d(t,{r:function(){return eT}});var r,i,o,a,l,u=n(87462),s=n(63366),c=n(67294),d=n(22760),f=n(54895),p=n(36425);function h(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=h(e).Element;return e instanceof t||e instanceof Element}function g(e){var t=h(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function v(e){if("undefined"==typeof ShadowRoot)return!1;var t=h(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var y=Math.max,b=Math.min,x=Math.round;function k(){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 S(){return!/^((?!chrome|android).)*safari/i.test(k())}function w(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&g(e)&&(i=e.offsetWidth>0&&x(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&x(r.height)/e.offsetHeight||1);var a=(m(e)?h(e):window).visualViewport,l=!S()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/i,s=(r.top+(l&&a?a.offsetTop:0))/o,c=r.width/i,d=r.height/o;return{width:c,height:d,top:s,right:u+c,bottom:s+d,left:u,x:u,y:s}}function C(e){var t=h(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){return w(z(e)).left+C(e).scrollLeft}function E(e){return h(e).getComputedStyle(e)}function F(e){var t=E(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function D(e){var t=w(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function T(e){return"html"===Z(e)?e:e.assignedSlot||e.parentNode||(v(e)?e.host:null)||z(e)}function A(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(Z(t))>=0?t.ownerDocument.body:g(t)&&F(t)?t:e(T(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=h(r),a=i?[o].concat(o.visualViewport||[],F(r)?r:[]):r,l=t.concat(a);return i?l:l.concat(A(T(a)))}function P(e){return g(e)&&"fixed"!==E(e).position?e.offsetParent:null}function R(e){for(var t=h(e),n=P(e);n&&["table","td","th"].indexOf(Z(n))>=0&&"static"===E(n).position;)n=P(n);return n&&("html"===Z(n)||"body"===Z(n)&&"static"===E(n).position)?t:n||function(e){var t=/firefox/i.test(k());if(/Trident/i.test(k())&&g(e)&&"fixed"===E(e).position)return null;var n=T(e);for(v(n)&&(n=n.host);g(n)&&0>["html","body"].indexOf(Z(n));){var r=E(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var L="bottom",O="right",B="left",M="auto",N=["top",L,O,B],j="start",_="viewport",H="popper",$=N.reduce(function(e,t){return e.concat([t+"-"+j,t+"-end"])},[]),V=[].concat(N,[M]).reduce(function(e,t){return e.concat([t,t+"-"+j,t+"-end"])},[]),W=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],q={placement:"bottom",modifiers:[],strategy:"absolute"};function U(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function Y(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?Q(i):null,a=i?G(i):null,l=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case"top":t={x:l,y:n.y-r.height};break;case L:t={x:l,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:u};break;case B:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var s=o?X(o):null;if(null!=s){var c="y"===s?"height":"width";switch(a){case j:t[s]=t[s]-(n[c]/2-r[c]/2);break;case"end":t[s]=t[s]+(n[c]/2-r[c]/2)}}return t}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,n,r,i,o,a,l,u=e.popper,s=e.popperRect,c=e.placement,d=e.variation,f=e.offsets,p=e.position,m=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,y=e.isFixed,b=f.x,k=void 0===b?0:b,S=f.y,w=void 0===S?0:S,C="function"==typeof v?v({x:k,y:w}):{x:k,y:w};k=C.x,w=C.y;var Z=f.hasOwnProperty("x"),I=f.hasOwnProperty("y"),F=B,D="top",T=window;if(g){var A=R(u),P="clientHeight",M="clientWidth";A===h(u)&&"static"!==E(A=z(u)).position&&"absolute"===p&&(P="scrollHeight",M="scrollWidth"),("top"===c||(c===B||c===O)&&"end"===d)&&(D=L,w-=(y&&A===T&&T.visualViewport?T.visualViewport.height:A[P])-s.height,w*=m?1:-1),(c===B||("top"===c||c===L)&&"end"===d)&&(F=O,k-=(y&&A===T&&T.visualViewport?T.visualViewport.width:A[M])-s.width,k*=m?1:-1)}var N=Object.assign({position:p},g&&K),j=!0===v?(t={x:k,y:w},n=h(u),r=t.x,i=t.y,{x:x(r*(o=n.devicePixelRatio||1))/o||0,y:x(i*o)/o||0}):{x:k,y:w};return(k=j.x,w=j.y,m)?Object.assign({},N,((l={})[D]=I?"0":"",l[F]=Z?"0":"",l.transform=1>=(T.devicePixelRatio||1)?"translate("+k+"px, "+w+"px)":"translate3d("+k+"px, "+w+"px, 0)",l)):Object.assign({},N,((a={})[D]=I?w+"px":"",a[F]=Z?k+"px":"",a.transform="",a))}var et={left:"right",right:"left",bottom:"top",top:"bottom"};function en(e){return e.replace(/left|right|bottom|top/g,function(e){return et[e]})}var er={start:"end",end:"start"};function ei(e){return e.replace(/start|end/g,function(e){return er[e]})}function eo(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&v(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ea(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,n){var r,i,o,a,l,u,s,c,d,f;return t===_?ea(function(e,t){var n=h(e),r=z(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,u=0;if(i){o=i.width,a=i.height;var s=S();(s||!s&&"fixed"===t)&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:l+I(e),y:u}}(e,n)):m(t)?((r=w(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):ea((i=z(e),a=z(i),l=C(i),u=null==(o=i.ownerDocument)?void 0:o.body,s=y(a.scrollWidth,a.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),c=y(a.scrollHeight,a.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),d=-l.scrollLeft+I(i),f=-l.scrollTop,"rtl"===E(u||a).direction&&(d+=y(a.clientWidth,u?u.clientWidth:0)-s),{width:s,height:c,x:d,y:f}))}function eu(){return{top:0,right:0,bottom:0,left:0}}function es(e){return Object.assign({},eu(),e)}function ec(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ed(e,t){void 0===t&&(t={});var n,r,i,o,a,l,u,s=t,c=s.placement,d=void 0===c?e.placement:c,f=s.strategy,p=void 0===f?e.strategy:f,h=s.boundary,v=s.rootBoundary,x=s.elementContext,k=void 0===x?H:x,S=s.altBoundary,C=s.padding,I=void 0===C?0:C,F=es("number"!=typeof I?I:ec(I,N)),D=e.rects.popper,P=e.elements[void 0!==S&&S?k===H?"reference":H:k],B=(n=m(P)?P:P.contextElement||z(e.elements.popper),l=(a=[].concat("clippingParents"===(r=void 0===h?"clippingParents":h)?(i=A(T(n)),m(o=["absolute","fixed"].indexOf(E(n).position)>=0&&g(n)?R(n):n)?i.filter(function(e){return m(e)&&eo(e,o)&&"body"!==Z(e)}):[]):[].concat(r),[void 0===v?_:v]))[0],(u=a.reduce(function(e,t){var r=el(n,t,p);return e.top=y(r.top,e.top),e.right=b(r.right,e.right),e.bottom=b(r.bottom,e.bottom),e.left=y(r.left,e.left),e},el(n,l,p))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),M=w(e.elements.reference),j=Y({reference:M,element:D,strategy:"absolute",placement:d}),$=ea(Object.assign({},D,j)),V=k===H?$:M,W={top:B.top-V.top+F.top,bottom:V.bottom-B.bottom+F.bottom,left:B.left-V.left+F.left,right:V.right-B.right+F.right},q=e.modifiersData.offset;if(k===H&&q){var U=q[d];Object.keys(W).forEach(function(e){var t=[O,L].indexOf(e)>=0?1:-1,n=["top",L].indexOf(e)>=0?"y":"x";W[e]+=U[n]*t})}return W}function ef(e,t,n){return y(e,b(t,n))}function ep(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function eh(e){return["top",O,L,B].some(function(t){return e[t]>=0})}var em=(o=void 0===(i=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,l=void 0===a||a,u=h(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&s.forEach(function(e){e.addEventListener("scroll",n.update,J)}),l&&u.addEventListener("resize",n.update,J),function(){o&&s.forEach(function(e){e.removeEventListener("scroll",n.update,J)}),l&&u.removeEventListener("resize",n.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=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,n=e.options,r=n.gpuAcceleration,i=n.adaptive,o=n.roundOffsets,a=void 0===o||o,l={placement:Q(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,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===i||i,roundOffsets:a})))),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:a})))),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 n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];g(i)&&Z(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});g(r)&&Z(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=V.reduce(function(e,n){var r,i,a,l,u,s;return e[n]=(r=t.rects,a=[B,"top"].indexOf(i=Q(n))>=0?-1:1,u=(l="function"==typeof o?o(Object.assign({},r,{placement:n})):o)[0],s=l[1],u=u||0,s=(s||0)*a,[B,O].indexOf(i)>=0?{x:s,y:u}:{x:u,y:s}),e},{}),l=a[t.placement],u=l.x,s=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,l=void 0===a||a,u=n.fallbackPlacements,s=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=Q(g)===g,y=u||(v||!h?[en(g)]:function(e){if(Q(e)===M)return[];var t=en(e);return[ei(e),t,ei(t)]}(g)),b=[g].concat(y).reduce(function(e,n){var r,i,o,a,l,u,f,p,g,v,y,b;return e.concat(Q(n)===M?(i=(r={placement:n,boundary:c,rootBoundary:d,padding:s,flipVariations:h,allowedAutoPlacements:m}).placement,o=r.boundary,a=r.rootBoundary,l=r.padding,u=r.flipVariations,p=void 0===(f=r.allowedAutoPlacements)?V:f,0===(y=(v=(g=G(i))?u?$:$.filter(function(e){return G(e)===g}):N).filter(function(e){return p.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,n){return e[n]=ed(t,{placement:n,boundary:o,rootBoundary:a,padding:l})[Q(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),x=t.rects.reference,k=t.rects.popper,S=new Map,w=!0,C=b[0],Z=0;Z=0,D=F?"width":"height",T=ed(t,{placement:z,boundary:c,rootBoundary:d,altBoundary:f,padding:s}),A=F?E?O:B:E?L:"top";x[D]>k[D]&&(A=en(A));var P=en(A),R=[];if(o&&R.push(T[I]<=0),l&&R.push(T[A]<=0,T[P]<=0),R.every(function(e){return e})){C=z,w=!1;break}S.set(z,R)}if(w)for(var _=h?3:1,H=function(e){var t=b.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},W=_;W>0&&"break"!==H(W);W--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=n.altAxis,a=n.boundary,l=n.rootBoundary,u=n.altBoundary,s=n.padding,c=n.tether,d=void 0===c||c,f=n.tetherOffset,p=void 0===f?0:f,h=ed(t,{boundary:a,rootBoundary:l,padding:s,altBoundary:u}),m=Q(t.placement),g=G(t.placement),v=!g,x=X(m),k="x"===x?"y":"x",S=t.modifiersData.popperOffsets,w=t.rects.reference,C=t.rects.popper,Z="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,z="number"==typeof Z?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(S){if(void 0===i||i){var F,T="y"===x?"top":B,A="y"===x?L:O,P="y"===x?"height":"width",M=S[x],N=M+h[T],_=M-h[A],H=d?-C[P]/2:0,$=g===j?w[P]:C[P],V=g===j?-C[P]:-w[P],W=t.elements.arrow,q=d&&W?D(W):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eu(),J=U[T],Y=U[A],K=ef(0,w[P],q[P]),ee=v?w[P]/2-H-K-J-z.mainAxis:$-K-J-z.mainAxis,et=v?-w[P]/2+H+K+Y+z.mainAxis:V+K+Y+z.mainAxis,en=t.elements.arrow&&R(t.elements.arrow),er=en?"y"===x?en.clientTop||0:en.clientLeft||0:0,ei=null!=(F=null==I?void 0:I[x])?F:0,eo=M+ee-ei-er,ea=M+et-ei,el=ef(d?b(N,eo):N,M,d?y(_,ea):_);S[x]=el,E[x]=el-M}if(void 0!==o&&o){var es,ec,ep="x"===x?"top":B,eh="x"===x?L:O,em=S[k],eg="y"===k?"height":"width",ev=em+h[ep],ey=em-h[eh],eb=-1!==["top",B].indexOf(m),ex=null!=(ec=null==I?void 0:I[k])?ec:0,ek=eb?ev:em-w[eg]-C[eg]-ex+z.altAxis,eS=eb?em+w[eg]+C[eg]-ex-z.altAxis:ey,ew=d&&eb?(es=ef(ek,em,eS))>eS?eS:es:ef(d?ek:ev,em,d?eS:ey);S[k]=ew,E[k]=ew-em}t.modifiersData[r]=E}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,i=e.name,o=e.options,a=r.elements.arrow,l=r.modifiersData.popperOffsets,u=Q(r.placement),s=X(u),c=[B,O].indexOf(u)>=0?"height":"width";if(a&&l){var d=es("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:ec(t,N)),f=D(a),p="y"===s?"top":B,h="y"===s?L:O,m=r.rects.reference[c]+r.rects.reference[s]-l[s]-r.rects.popper[c],g=l[s]-r.rects.reference[s],v=R(a),y=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,b=d[p],x=y-f[c]-d[h],k=y/2-f[c]/2+(m/2-g/2),S=ef(b,k,x);r.modifiersData[i]=((n={})[s]=S,n.centerOffset=S-k,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&eo(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ed(t,{elementContext:"reference"}),l=ed(t,{altBoundary:!0}),u=ep(a,r),s=ep(l,i,o),c=eh(u),d=eh(s);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:i,l=void 0===(a=r.defaultOptions)?q:a,function(e,t,n){void 0===n&&(n=l);var r,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,l),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],u=!1,s={state:i,setOptions:function(n){var r,u,d,f,p,h="function"==typeof n?n(i.options):n;c(),i.options=Object.assign({},l,i.options,h),i.scrollParents={reference:m(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var g=(u=Object.keys(r=[].concat(o,i.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),d=new Map,f=new Set,p=[],u.forEach(function(e){d.set(e.name,e)}),u.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 n=d.get(t);n&&e(n)}}),p.push(t)}(e)}),W.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return i.orderedModifiers=g.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:i,name:t,instance:s,options:void 0===n?{}:n});a.push(o||function(){})}}),s.update()},forceUpdate:function(){if(!u){var e,t,n,r,o,a,l,c,d,f,p,m,v=i.elements,y=v.reference,b=v.popper;if(U(y,b)){i.rects={reference:(t=R(b),n="fixed"===i.options.strategy,r=g(t),c=g(t)&&(a=x((o=t.getBoundingClientRect()).width)/t.offsetWidth||1,l=x(o.height)/t.offsetHeight||1,1!==a||1!==l),d=z(t),f=w(y,c,n),p={scrollLeft:0,scrollTop:0},m={x:0,y:0},(r||!r&&!n)&&(("body"!==Z(t)||F(d))&&(p=(e=t)!==h(e)&&g(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:C(e)),g(t)?(m=w(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:D(b)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var k=0;k{!i&&a(("function"==typeof r?r():r)||document.body)},[r,i]),(0,f.Z)(()=>{if(o&&!i)return(0,ey.Z)(t,o),()=>{(0,ey.Z)(t,null)}},[t,o,i]),i)?c.isValidElement(n)?c.cloneElement(n,{ref:l}):(0,eb.jsx)(c.Fragment,{children:n}):(0,eb.jsx)(c.Fragment,{children:o?ev.createPortal(n,o):o})});var ek=n(8027);function eS(e){return(0,ek.ZP)("MuiPopper",e)}(0,n(1977).Z)("MuiPopper",["root"]);var ew=n(7293);let eC=c.createContext({disableDefaultClasses:!1}),eZ=["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 eE=()=>(0,eg.Z)({root:["root"]},function(e){let{disableDefaultClasses:t}=c.useContext(eC);return n=>t?"":e(n)}(eS)),eF={},eD=c.forwardRef(function(e,t){var n;let{anchorEl:r,children:i,direction:o,disablePortal:a,modifiers:l,open:p,placement:h,popperOptions:m,popperRef:g,slotProps:v={},slots:y={},TransitionProps:b}=e,x=(0,s.Z)(e,eZ),k=c.useRef(null),S=(0,d.Z)(k,t),w=c.useRef(null),C=(0,d.Z)(w,g),Z=c.useRef(C);(0,f.Z)(()=>{Z.current=C},[C]),c.useImperativeHandle(g,()=>w.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}}(h,o),[I,E]=c.useState(z),[F,D]=c.useState(eI(r));c.useEffect(()=>{w.current&&w.current.forceUpdate()}),c.useEffect(()=>{r&&D(eI(r))},[r]),(0,f.Z)(()=>{if(!F||!p)return;let e=e=>{E(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{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 n=em(F,k.current,(0,u.Z)({placement:z},m,{modifiers:t}));return Z.current(n),()=>{n.destroy(),Z.current(null)}},[F,a,l,p,m,z]);let T={placement:I};null!==b&&(T.TransitionProps=b);let A=eE(),P=null!=(n=y.root)?n:"div",R=(0,ew.y)({elementType:P,externalSlotProps:v.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:S},ownerState:e,className:A.root});return(0,eb.jsx)(P,(0,u.Z)({},R,{children:"function"==typeof i?i(T):i}))}),eT=c.forwardRef(function(e,t){let n;let{anchorEl:r,children:i,container:o,direction:a="ltr",disablePortal:l=!1,keepMounted:d=!1,modifiers:f,open:h,placement:m="bottom",popperOptions:g=eF,popperRef:v,style:y,transition:b=!1,slotProps:x={},slots:k={}}=e,S=(0,s.Z)(e,ez),[w,C]=c.useState(!0);if(!d&&!h&&(!b||w))return null;if(o)n=o;else if(r){let e=eI(r);n=e&&void 0!==e.nodeType?(0,p.Z)(e).body:(0,p.Z)(null).body}let Z=!h&&d&&(!b||w)?"none":void 0;return(0,eb.jsx)(ex,{disablePortal:l,container:n,children:(0,eb.jsx)(eD,(0,u.Z)({anchorEl:r,direction:a,disablePortal:l,modifiers:f,ref:t,open:b?!w:h,placement:m,popperOptions:g,popperRef:v,slotProps:x,slots:k},S,{style:(0,u.Z)({position:"fixed",top:0,left:0,display:Z},y),TransitionProps:b?{in:h,onEnter:()=>{C(!1)},onExited:()=>{C(!0)}}:void 0,children:i}))})})},70758:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(87462),i=n(67294),o=n(11136),a=n(22760),l=n(30437);function u(e={}){let{disabled:t=!1,focusableWhenDisabled:n,href:u,rootRef:s,tabIndex:c,to:d,type:f}=e,p=i.useRef(),[h,m]=i.useState(!1),{isFocusVisibleRef:g,onFocus:v,onBlur:y,ref:b}=(0,o.Z)(),[x,k]=i.useState(!1);t&&!n&&x&&k(!1),i.useEffect(()=>{g.current=x},[x,g]);let[S,w]=i.useState(""),C=e=>t=>{var n;x&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},Z=e=>t=>{var n;y(t),!1===g.current&&k(!1),null==(n=e.onBlur)||n.call(e,t)},z=e=>t=>{var n,r;p.current||(p.current=t.currentTarget),v(t),!0===g.current&&(k(!0),null==(r=e.onFocusVisible)||r.call(e,t)),null==(n=e.onFocus)||n.call(e,t)},I=()=>{let e=p.current;return"BUTTON"===S||"INPUT"===S&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===S&&(null==e?void 0:e.href)},E=e=>n=>{if(!t){var r;null==(r=e.onClick)||r.call(e,n)}},F=e=>n=>{var r;t||(m(!0),document.addEventListener("mouseup",()=>{m(!1)},{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},D=e=>n=>{var r,i;null==(r=e.onKeyDown)||r.call(e,n),!n.defaultMuiPrevented&&(n.target!==n.currentTarget||I()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||m(!0),n.target!==n.currentTarget||I()||"Enter"!==n.key||t||(null==(i=e.onClick)||i.call(e,n),n.preventDefault()))},T=e=>n=>{var r,i;n.target===n.currentTarget&&m(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||I()||t||" "!==n.key||n.defaultMuiPrevented||null==(i=e.onClick)||i.call(e,n)},A=i.useCallback(e=>{var t;w(null!=(t=null==e?void 0:e.tagName)?t:"")},[]),P=(0,a.Z)(A,s,b,p),R={};return void 0!==c&&(R.tabIndex=c),"BUTTON"===S?(R.type=null!=f?f:"button",n?R["aria-disabled"]=t:R.disabled=t):""!==S&&(u||d||(R.role="button",R.tabIndex=null!=c?c:0),t&&(R["aria-disabled"]=t,R.tabIndex=n?null!=c?c:0:-1)),{getRootProps:(t={})=>{let n=(0,r.Z)({},(0,l._)(e),(0,l._)(t)),i=(0,r.Z)({type:f},n,R,t,{onBlur:Z(n),onClick:E(n),onFocus:z(n),onKeyDown:D(n),onKeyUp:T(n),onMouseDown:F(n),onMouseLeave:C(n),ref:P});return delete i.onFocusVisible,i},focusVisible:x,setFocusVisible:k,active:h,rootRef:P}}},85241:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(67294);let i=r.createContext(null)},51633:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});let r={blur:"dropdown:blur",escapeKeyDown:"dropdown:escapeKeyDown",toggle:"dropdown:toggle",open:"dropdown:open",close:"dropdown:close"}},26558:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294);let i=r.createContext(null)},22644:function(e,t,n){"use strict";n.d(t,{F:function(){return r}});let r={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",textNavigation:"list:textNavigation"}},7333:function(e,t,n){"use strict";n.d(t,{R$:function(){return l},Rl:function(){return o}});var r=n(87462),i=n(22644);function o(e,t,n){var r;let i,o;let{items:a,isItemDisabled:l,disableListWrap:u,disabledItemsFocusable:s,itemComparer:c,focusManagement:d}=n,f=a.length-1,p=null==e?-1:a.findIndex(t=>c(t,e)),h=!u;switch(t){case"reset":if(-1==("DOM"===d?0:-1))return null;i=0,o="next",h=!1;break;case"start":i=0,o="next",h=!1;break;case"end":i=f,o="previous",h=!1;break;default:{let e=p+t;e<0?!h&&-1!==p||Math.abs(t)>1?(i=0,o="next"):(i=f,o="previous"):e>f?!h||Math.abs(t)>1?(i=f,o="previous"):(i=0,o="next"):(i=e,o=t>=0?"next":"previous")}}let m=function(e,t,n,r,i,o){if(0===n.length||!r&&n.every((e,t)=>i(e,t)))return -1;let a=e;for(;;){if(!o&&"next"===t&&a===n.length||!o&&"previous"===t&&-1===a)return -1;let e=!r&&i(n[a],a);if(!e)return a;a+="next"===t?1:-1,o&&(a=(a+n.length)%n.length)}}(i,o,a,s,l,h);return -1!==m||null===e||l(e,p)?null!=(r=a[m])?r:null:e}function a(e,t,n){let{itemComparer:i,isItemDisabled:o,selectionMode:a,items:l}=n,{selectedValues:u}=t,s=l.findIndex(t=>i(e,t));if(o(e,s))return t;let c="none"===a?[]:"single"===a?i(u[0],e)?u:[e]:u.some(t=>i(t,e))?u.filter(t=>!i(t,e)):[...u,e];return(0,r.Z)({},t,{selectedValues:c,highlightedValue:e})}function l(e,t){let{type:n,context:l}=t;switch(n){case i.F.keyDown:return function(e,t,n){let i=t.highlightedValue,{orientation:l,pageSize:u}=n;switch(e){case"Home":return(0,r.Z)({},t,{highlightedValue:o(i,"start",n)});case"End":return(0,r.Z)({},t,{highlightedValue:o(i,"end",n)});case"PageUp":return(0,r.Z)({},t,{highlightedValue:o(i,-u,n)});case"PageDown":return(0,r.Z)({},t,{highlightedValue:o(i,u,n)});case"ArrowUp":if("vertical"!==l)break;return(0,r.Z)({},t,{highlightedValue:o(i,-1,n)});case"ArrowDown":if("vertical"!==l)break;return(0,r.Z)({},t,{highlightedValue:o(i,1,n)});case"ArrowLeft":if("vertical"===l)break;return(0,r.Z)({},t,{highlightedValue:o(i,"horizontal-ltr"===l?-1:1,n)});case"ArrowRight":if("vertical"===l)break;return(0,r.Z)({},t,{highlightedValue:o(i,"horizontal-ltr"===l?1:-1,n)});case"Enter":case" ":if(null===t.highlightedValue)break;return a(t.highlightedValue,t,n)}return t}(t.key,e,l);case i.F.itemClick:return a(t.item,e,l);case i.F.blur:return"DOM"===l.focusManagement?e:(0,r.Z)({},e,{highlightedValue:null});case i.F.textNavigation:return function(e,t,n){let{items:i,isItemDisabled:a,disabledItemsFocusable:l,getItemAsString:u}=n,s=t.length>1,c=s?e.highlightedValue:o(e.highlightedValue,1,n);for(let d=0;du(e,n.highlightedValue)))?l:null:"DOM"===s&&0===t.length&&(c=o(null,"reset",i));let d=null!=(a=n.selectedValues)?a:[],f=d.filter(t=>e.some(e=>u(e,t)));return(0,r.Z)({},n,{highlightedValue:c,selectedValues:f})}(t.items,t.previousItems,e,l);case i.F.resetHighlight:return(0,r.Z)({},e,{highlightedValue:o(null,"reset",l)});default:return e}}},96592:function(e,t,n){"use strict";n.d(t,{s:function(){return b}});var r=n(87462),i=n(67294),o=n(22760),a=n(22644),l=n(7333);let u="select:change-selection",s="select:change-highlight";var c=n(78031),d=n(6414);function f(e,t){let n=i.useRef(e);return i.useEffect(()=>{n.current=e},null!=t?t:[e]),n}let p={},h=()=>{},m=(e,t)=>e===t,g=()=>!1,v=e=>"string"==typeof e?e:String(e),y=()=>({highlightedValue:null,selectedValues:[]});function b(e){let{controlledProps:t=p,disabledItemsFocusable:n=!1,disableListWrap:b=!1,focusManagement:x="activeDescendant",getInitialState:k=y,getItemDomElement:S,getItemId:w,isItemDisabled:C=g,rootRef:Z,onStateChange:z=h,items:I,itemComparer:E=m,getItemAsString:F=v,onChange:D,onHighlightChange:T,onItemsChange:A,orientation:P="vertical",pageSize:R=5,reducerActionContext:L=p,selectionMode:O="single",stateReducer:B}=e,M=i.useRef(null),N=(0,o.Z)(Z,M),j=i.useCallback((e,t,n)=>{if(null==T||T(e,t,n),"DOM"===x&&null!=t&&(n===a.F.itemClick||n===a.F.keyDown||n===a.F.textNavigation)){var r;null==S||null==(r=S(t))||r.focus()}},[S,T,x]),_=i.useMemo(()=>({highlightedValue:E,selectedValues:(e,t)=>(0,d.H)(e,t,E)}),[E]),H=i.useCallback((e,t,n,r,i)=>{switch(null==z||z(e,t,n,r,i),t){case"highlightedValue":j(e,n,r);break;case"selectedValues":null==D||D(e,n,r)}},[j,D,z]),$=i.useMemo(()=>({disabledItemsFocusable:n,disableListWrap:b,focusManagement:x,isItemDisabled:C,itemComparer:E,items:I,getItemAsString:F,onHighlightChange:j,orientation:P,pageSize:R,selectionMode:O,stateComparers:_}),[n,b,x,C,E,I,F,j,P,R,O,_]),V=k(),W=null!=B?B:l.R$,q=i.useMemo(()=>(0,r.Z)({},L,$),[L,$]),[U,J]=(0,c.r)({reducer:W,actionContext:q,initialState:V,controlledProps:t,stateComparers:_,onStateChange:H}),{highlightedValue:Q,selectedValues:G}=U,X=function(e){let t=i.useRef({searchString:"",lastTime:null});return i.useCallback(n=>{if(1===n.key.length&&" "!==n.key){let r=t.current,i=n.key.toLowerCase(),o=performance.now();r.searchString.length>0&&r.lastTime&&o-r.lastTime>500?r.searchString=i:(1!==r.searchString.length||i!==r.searchString)&&(r.searchString+=i),r.lastTime=o,e(r.searchString,n)}},[e])}((e,t)=>J({type:a.F.textNavigation,event:t,searchString:e})),Y=f(G),K=f(Q),ee=i.useRef([]);i.useEffect(()=>{(0,d.H)(ee.current,I,E)||(J({type:a.F.itemsChange,event:null,items:I,previousItems:ee.current}),ee.current=I,null==A||A(I))},[I,E,J,A]);let{notifySelectionChanged:et,notifyHighlightChanged:en,registerHighlightChangeHandler:er,registerSelectionChangeHandler:ei}=function(){let e=function(){let e=i.useRef();return e.current||(e.current=function(){let e=new Map;return{subscribe:function(t,n){let r=e.get(t);return r?r.add(n):(r=new Set([n]),e.set(t,r)),()=>{r.delete(n),0===r.size&&e.delete(t)}},publish:function(t,...n){let r=e.get(t);r&&r.forEach(e=>e(...n))}}}()),e.current}(),t=i.useCallback(t=>{e.publish(u,t)},[e]),n=i.useCallback(t=>{e.publish(s,t)},[e]),r=i.useCallback(t=>e.subscribe(u,t),[e]),o=i.useCallback(t=>e.subscribe(s,t),[e]);return{notifySelectionChanged:t,notifyHighlightChanged:n,registerSelectionChangeHandler:r,registerHighlightChangeHandler:o}}();i.useEffect(()=>{et(G)},[G,et]),i.useEffect(()=>{en(Q)},[Q,en]);let eo=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;let r=["Home","End","PageUp","PageDown"];"vertical"===P?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===x&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),J({type:a.F.keyDown,key:t.key,event:t}),X(t)},ea=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||null!=(r=M.current)&&r.contains(t.relatedTarget)||J({type:a.F.blur,event:t})},el=i.useCallback(e=>{var t;let n=I.findIndex(t=>E(t,e)),r=(null!=(t=Y.current)?t:[]).some(t=>null!=t&&E(e,t)),i=C(e,n),o=null!=K.current&&E(e,K.current),a="DOM"===x;return{disabled:i,focusable:a,highlighted:o,index:n,selected:r}},[I,C,E,Y,K,x]),eu=i.useMemo(()=>({dispatch:J,getItemState:el,registerHighlightChangeHandler:er,registerSelectionChangeHandler:ei}),[J,el,er,ei]);return i.useDebugValue({state:U}),{contextValue:eu,dispatch:J,getRootProps:(e={})=>(0,r.Z)({},e,{"aria-activedescendant":"activeDescendant"===x&&null!=Q?w(Q):void 0,onBlur:ea(e),onKeyDown:eo(e),tabIndex:"DOM"===x?-1:0,ref:N}),rootRef:N,state:U}}},43069:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var r=n(87462),i=n(67294),o=n(22760),a=n(54895),l=n(22644),u=n(26558);function s(e){let t;let{handlePointerOverEvents:n=!1,item:s,rootRef:c}=e,d=i.useRef(null),f=(0,o.Z)(d,c),p=i.useContext(u.Z);if(!p)throw Error("useListItem must be used within a ListProvider");let{dispatch:h,getItemState:m,registerHighlightChangeHandler:g,registerSelectionChangeHandler:v}=p,{highlighted:y,selected:b,focusable:x}=m(s),k=function(){let[,e]=i.useState({});return i.useCallback(()=>{e({})},[])}();(0,a.Z)(()=>g(function(e){e!==s||y?e!==s&&y&&k():k()})),(0,a.Z)(()=>v(function(e){b?e.includes(s)||k():e.includes(s)&&k()}),[v,k,b,s]);let S=i.useCallback(e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.defaultPrevented||h({type:l.F.itemClick,item:s,event:t})},[h,s]),w=i.useCallback(e=>t=>{var n;null==(n=e.onMouseOver)||n.call(e,t),t.defaultPrevented||h({type:l.F.itemHover,item:s,event:t})},[h,s]);return x&&(t=y?0:-1),{getRootProps:(e={})=>(0,r.Z)({},e,{onClick:S(e),onPointerOver:n?w(e):void 0,ref:f,tabIndex:t}),highlighted:y,rootRef:f,selected:b}}},6414:function(e,t,n){"use strict";function r(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}n.d(t,{H:function(){return r}})},2900:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r=n(87462);function i(e,t){return function(n={}){let i=(0,r.Z)({},n,e(n)),o=(0,r.Z)({},i,t(i));return o}}},12247:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},s:function(){return i}});var r=n(67294);let i=r.createContext(null);function o(){let[e,t]=r.useState(new Map),n=r.useRef(new Set),i=r.useCallback(function(e){n.current.delete(e),t(t=>{let n=new Map(t);return n.delete(e),n})},[]),o=r.useCallback(function(e,r){let o;return o="function"==typeof e?e(n.current):e,n.current.add(o),t(e=>{let t=new Map(e);return t.set(o,r),t}),{id:o,deregister:()=>i(o)}},[i]),a=r.useMemo(()=>(function(e){let t=Array.from(e.keys()).map(t=>{let n=e.get(t);return{key:t,subitem:n}});return t.sort((e,t)=>{let n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}),new Map(t.map(e=>[e.key,e.subitem]))})(e),[e]),l=r.useCallback(function(e){return Array.from(a.keys()).indexOf(e)},[a]),u=r.useMemo(()=>({getItemIndex:l,registerItem:o,totalSubitemCount:e.size}),[l,o,e.size]);return{contextValue:u,subitems:a}}i.displayName="CompoundComponentContext"},14072:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});var r=n(67294),i=n(54895),o=n(12247);function a(e,t){let n=r.useContext(o.s);if(null===n)throw Error("useCompoundItem must be used within a useCompoundParent");let{registerItem:a}=n,[l,u]=r.useState("function"==typeof e?void 0:e);return(0,i.Z)(()=>{let{id:n,deregister:r}=a(e,t);return u(n),r},[a,t,e]),{id:l,index:void 0!==l?n.getItemIndex(l):-1,totalItemCount:n.totalSubitemCount}}},78031:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(87462),i=n(67294);function o(e,t){return e===t}let a={},l=()=>{};function u(e,t){let n=(0,r.Z)({},e);return Object.keys(t).forEach(e=>{void 0!==t[e]&&(n[e]=t[e])}),n}function s(e){let t=i.useRef(null),{reducer:n,initialState:s,controlledProps:c=a,stateComparers:d=a,onStateChange:f=l,actionContext:p}=e,h=i.useCallback((e,r)=>{t.current=r;let i=u(e,c),o=n(i,r);return o},[c,n]),[m,g]=i.useReducer(h,s),v=i.useCallback(e=>{g((0,r.Z)({},e,{context:p}))},[p]);return!function(e){let{nextState:t,initialState:n,stateComparers:r,onStateChange:a,controlledProps:l,lastActionRef:s}=e,c=i.useRef(n);i.useEffect(()=>{if(null===s.current)return;let e=u(c.current,l);Object.keys(t).forEach(n=>{var i,l,u;let c=null!=(i=r[n])?i:o,d=t[n],f=e[n];(null!=f||null==d)&&(null==f||null!=d)&&(null==f||null==d||c(d,f))||null==a||a(null!=(l=s.current.event)?l:null,n,d,null!=(u=s.current.type)?u:"",t)}),c.current=t,s.current=null},[c,t,s,a,r,l])}({nextState:m,initialState:s,stateComparers:null!=d?d:a,onStateChange:null!=f?f:l,controlledProps:c,lastActionRef:t}),[u(m,c),v]}},7293:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(87462),i=n(63366),o=n(22760),a=n(10238),l=n(24407),u=n(71276);let s=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function c(e){var t;let{elementType:n,externalSlotProps:c,ownerState:d,skipResolvingSlotProps:f=!1}=e,p=(0,i.Z)(e,s),h=f?{}:(0,u.x)(c,d),{props:m,internalRef:g}=(0,l.L)((0,r.Z)({},p,{externalSlotProps:h})),v=(0,o.Z)(g,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref),y=(0,a.$)(n,(0,r.Z)({},m,{ref:v}),d);return y}},41132:function(e,t,n){"use strict";var r=n(28549),i=n(85893);t.Z=(0,r.Z)((0,i.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")},59301:function(e,t,n){"use strict";var r=n(28549),i=n(85893);t.Z=(0,r.Z)((0,i.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")},48665:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(87462),i=n(63366),o=n(67294),a=n(90512),l=n(23534),u=n(86523),s=n(39707),c=n(79718),d=n(85893);let f=["className","component"];var p=n(31983),h=n(67299),m=n(2548);let g=function(e={}){let{themeId:t,defaultTheme:n,defaultClassName:p="MuiBox-root",generateClassName:h}=e,m=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(u.Z),g=o.forwardRef(function(e,o){let l=(0,c.Z)(n),u=(0,s.Z)(e),{className:g,component:v="div"}=u,y=(0,i.Z)(u,f);return(0,d.jsx)(m,(0,r.Z)({as:v,ref:o,className:(0,a.Z)(g,h?h(p):p),theme:t&&l[t]||l},y))});return g}({themeId:m.Z,defaultTheme:h.Z,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var v=g},66478:function(e,t,n){"use strict";n.d(t,{Z:function(){return E},f:function(){return Z}});var r=n(63366),i=n(87462),o=n(67294),a=n(70758),l=n(58510),u=n(62908),s=n(22760),c=n(74312),d=n(20407),f=n(2226),p=n(30220),h=n(48699),m=n(26821);function g(e){return(0,m.d6)("MuiButton",e)}let v=(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 y=n(89996),b=n(85893);let x=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],k=e=>{let{color:t,disabled:n,focusVisible:r,focusVisibleClassName:i,fullWidth:o,size:a,variant:s,loading:c}=e,d={root:["root",n&&"disabled",r&&"focusVisible",o&&"fullWidth",s&&`variant${(0,u.Z)(s)}`,t&&`color${(0,u.Z)(t)}`,a&&`size${(0,u.Z)(a)}`,c&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},f=(0,l.Z)(d,g,{});return r&&i&&(f.root+=` ${i}`),f},S=(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)"}),w=(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)"}),C=(0,c.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var n,r;return(0,i.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})}),Z=({theme:e,ownerState:t})=>{var n,r,o,a;return[(0,i.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,i.Z)({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]},'&:active, &[aria-pressed="true"]':null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],"&:disabled":null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]},"center"===t.loadingPosition&&{[`&.${v.loading}`]:{color:"transparent"}})]},z=(0,c.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(Z),I=o.forwardRef(function(e,t){var n;let l=(0,d.Z)({props:e,name:"JoyButton"}),{children:u,action:c,color:m="primary",variant:g="solid",size:v="md",fullWidth:Z=!1,startDecorator:I,endDecorator:E,loading:F=!1,loadingPosition:D="center",loadingIndicator:T,disabled:A,component:P,slots:R={},slotProps:L={}}=l,O=(0,r.Z)(l,x),B=o.useContext(y.Z),M=e.variant||B.variant||g,N=e.size||B.size||v,{getColor:j}=(0,f.VT)(M),_=j(e.color,B.color||m),H=null!=(n=e.disabled||e.loading)?n:B.disabled||A||F,$=o.useRef(null),V=(0,s.Z)($,t),{focusVisible:W,setFocusVisible:q,getRootProps:U}=(0,a.U)((0,i.Z)({},l,{disabled:H,rootRef:V})),J=null!=T?T:(0,b.jsx)(h.Z,(0,i.Z)({},"context"!==_&&{color:_},{thickness:{sm:2,md:3,lg:4}[N]||3}));o.useImperativeHandle(c,()=>({focusVisible:()=>{var e;q(!0),null==(e=$.current)||e.focus()}}),[q]);let Q=(0,i.Z)({},l,{color:_,fullWidth:Z,variant:M,size:N,focusVisible:W,loading:F,loadingPosition:D,disabled:H}),G=k(Q),X=(0,i.Z)({},O,{component:P,slots:R,slotProps:L}),[Y,K]=(0,p.Z)("root",{ref:t,className:G.root,elementType:z,externalForwardedProps:X,getSlotProps:U,ownerState:Q}),[ee,et]=(0,p.Z)("startDecorator",{className:G.startDecorator,elementType:S,externalForwardedProps:X,ownerState:Q}),[en,er]=(0,p.Z)("endDecorator",{className:G.endDecorator,elementType:w,externalForwardedProps:X,ownerState:Q}),[ei,eo]=(0,p.Z)("loadingIndicatorCenter",{className:G.loadingIndicatorCenter,elementType:C,externalForwardedProps:X,ownerState:Q});return(0,b.jsxs)(Y,(0,i.Z)({},K,{children:[(I||F&&"start"===D)&&(0,b.jsx)(ee,(0,i.Z)({},et,{children:F&&"start"===D?J:I})),u,F&&"center"===D&&(0,b.jsx)(ei,(0,i.Z)({},eo,{children:J})),(E||F&&"end"===D)&&(0,b.jsx)(en,(0,i.Z)({},er,{children:F&&"end"===D?J:E}))]}))});I.muiName="Button";var E=I},89996:function(e,t,n){"use strict";var r=n(67294);let i=r.createContext({});t.Z=i},48699:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(87462),i=n(63366),o=n(67294),a=n(90512),l=n(62908),u=n(58510),s=n(70917),c=n(74312),d=n(20407),f=n(2226),p=n(30220),h=n(26821);function m(e){return(0,h.d6)("MuiCircularProgress",e)}(0,h.sI)("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);var g=n(85893);let v=e=>e,y,b=["color","backgroundColor"],x=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],k=(0,s.F4)({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}}),S=e=>{let{determinate:t,color:n,variant:r,size:i}=e,o={root:["root",t&&"determinate",n&&`color${(0,l.Z)(n)}`,r&&`variant${(0,l.Z)(r)}`,i&&`size${(0,l.Z)(i)}`],svg:["svg"],track:["track"],progress:["progress"]};return(0,u.Z)(o,m,{})};function w(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}let C=(0,c.Z)("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>{var n;let o=(null==(n=t.variants[e.variant])?void 0:n[e.color])||{},{color:a,backgroundColor:l}=o,u=(0,i.Z)(o,b);return(0,r.Z)({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":l,"--CircularProgress-progressColor":a,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":w("track","3px"),"--_progress-thickness":w("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":w("track","6px"),"--_progress-thickness":w("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":w("track","8px"),"--_progress-thickness":w("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:a},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},u,"outlined"===e.variant&&{"&:before":(0,r.Z)({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},u)})}),Z=(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,s.iv)(y||(y=v` + animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running) + ${0}; + `),k)),E=o.forwardRef(function(e,t){let n=(0,d.Z)({props:e,name:"JoyCircularProgress"}),{children:o,className:l,color:u="primary",size:s="md",variant:c="soft",thickness:h,determinate:m=!1,value:v=m?0:25,component:y,slots:b={},slotProps:k={}}=n,w=(0,i.Z)(n,x),{getColor:E}=(0,f.VT)(c),F=E(e.color,u),D=(0,r.Z)({},n,{color:F,size:s,variant:c,thickness:h,value:v,determinate:m,instanceSize:e.size}),T=S(D),A=(0,r.Z)({},w,{component:y,slots:b,slotProps:k}),[P,R]=(0,p.Z)("root",{ref:t,className:(0,a.Z)(T.root,l),elementType:C,externalForwardedProps:A,ownerState:D,additionalProps:(0,r.Z)({role:"progressbar",style:{"--CircularProgress-percent":v}},v&&m&&{"aria-valuenow":"number"==typeof v?Math.round(v):Math.round(Number(v||0))})}),[L,O]=(0,p.Z)("svg",{className:T.svg,elementType:Z,externalForwardedProps:A,ownerState:D}),[B,M]=(0,p.Z)("track",{className:T.track,elementType:z,externalForwardedProps:A,ownerState:D}),[N,j]=(0,p.Z)("progress",{className:T.progress,elementType:I,externalForwardedProps:A,ownerState:D});return(0,g.jsxs)(P,(0,r.Z)({},R,{children:[(0,g.jsxs)(L,(0,r.Z)({},O,{children:[(0,g.jsx)(B,(0,r.Z)({},M)),(0,g.jsx)(N,(0,r.Z)({},j))]})),o]}))});var F=E},76043:function(e,t,n){"use strict";var r=n(67294);let i=r.createContext(void 0);t.Z=i},26047:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(87462),i=n(63366),o=n(67294),a=n(90512),l=n(16485),u=n(8027),s=n(58510),c=n(86154);let d=(0,c.ZP)();var f=n(44065),p=n(79718),h=n(39707),m=n(88647);let g=(e,t)=>e.filter(e=>t.includes(e)),v=(e,t,n)=>{let r=e.keys[0];if(Array.isArray(t))t.forEach((t,r)=>{n((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)},t)});else if(t&&"object"==typeof t){let i=Object.keys(t).length>e.keys.length?e.keys:g(e.keys,Object.keys(t));i.forEach(i=>{if(-1!==e.keys.indexOf(i)){let o=t[i];void 0!==o&&n((t,n)=>{r===i?Object.assign(t,n):t[e.up(i)]=n},o)}})}else("number"==typeof t||"string"==typeof t)&&n((e,t)=>{Object.assign(e,t)},t)};function y(e){return e?`Level${e}`:""}function b(e){return e.unstable_level>0&&e.container}function x(e){return function(t){return`var(--Grid-${t}Spacing${y(e.unstable_level)})`}}function k(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${y(e.unstable_level-1)})`}}function S(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${y(e.unstable_level-1)})`}let w=({theme:e,ownerState:t})=>{let n=x(t),r={};return v(e.breakpoints,t.gridSize,(e,i)=>{let o={};!0===i&&(o={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===i&&(o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof i&&(o={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${S(t)}${b(t)?` + ${n("column")}`:""})`}),e(r,o)}),r},C=({theme:e,ownerState:t})=>{let n={};return v(e.breakpoints,t.gridOffset,(e,r)=>{let i={};"auto"===r&&(i={marginLeft:"auto"}),"number"==typeof r&&(i={marginLeft:0===r?"0px":`calc(100% * ${r} / ${S(t)})`}),e(n,i)}),n},Z=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=b(t)?{[`--Grid-columns${y(t.unstable_level)}`]:S(t)}:{"--Grid-columns":12};return v(e.breakpoints,t.columns,(e,r)=>{e(n,{[`--Grid-columns${y(t.unstable_level)}`]:r})}),n},z=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=k(t),r=b(t)?{[`--Grid-rowSpacing${y(t.unstable_level)}`]:n("row")}:{};return v(e.breakpoints,t.rowSpacing,(n,i)=>{var o;n(r,{[`--Grid-rowSpacing${y(t.unstable_level)}`]:"string"==typeof i?i:null==(o=e.spacing)?void 0:o.call(e,i)})}),r},I=({theme:e,ownerState:t})=>{if(!t.container)return{};let n=k(t),r=b(t)?{[`--Grid-columnSpacing${y(t.unstable_level)}`]:n("column")}:{};return v(e.breakpoints,t.columnSpacing,(n,i)=>{var o;n(r,{[`--Grid-columnSpacing${y(t.unstable_level)}`]:"string"==typeof i?i:null==(o=e.spacing)?void 0:o.call(e,i)})}),r},E=({theme:e,ownerState:t})=>{if(!t.container)return{};let n={};return v(e.breakpoints,t.direction,(e,t)=>{e(n,{flexDirection:t})}),n},F=({ownerState:e})=>{let t=x(e),n=k(e);return(0,r.Z)({minWidth:0,boxSizing:"border-box"},e.container&&(0,r.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||b(e))&&(0,r.Z)({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},D=e=>{let t=[];return Object.entries(e).forEach(([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)}),t},T=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){let t=[];return Object.entries(e).forEach(([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)}),t}return[]},A=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map(([e,t])=>`direction-${e}-${t}`):[`direction-xs-${String(e)}`];var P=n(85893);let R=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],L=(0,m.Z)(),O=d("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function B(e){return(0,f.Z)({props:e,name:"MuiGrid",defaultTheme:L})}var M=n(74312),N=n(20407);let j=function(e={}){let{createStyledComponent:t=O,useThemeProps:n=B,componentName:c="MuiGrid"}=e,d=o.createContext(void 0),f=(e,t)=>{let{container:n,direction:r,spacing:i,wrap:o,gridSize:a}=e,l={root:["root",n&&"container","wrap"!==o&&`wrap-xs-${String(o)}`,...A(r),...D(a),...n?T(i,t.breakpoints.keys[0]):[]]};return(0,s.Z)(l,e=>(0,u.ZP)(c,e),{})},m=t(Z,I,z,w,E,F,C),g=o.forwardRef(function(e,t){var u,s,c,g,v,y,b,x;let k=(0,p.Z)(),S=n(e),w=(0,h.Z)(S),C=o.useContext(d),{className:Z,children:z,columns:I=12,container:E=!1,component:F="div",direction:D="row",wrap:T="wrap",spacing:A=0,rowSpacing:L=A,columnSpacing:O=A,disableEqualOverflow:B,unstable_level:M=0}=w,N=(0,i.Z)(w,R),j=B;M&&void 0!==B&&(j=e.disableEqualOverflow);let _={},H={},$={};Object.entries(N).forEach(([e,t])=>{void 0!==k.breakpoints.values[e]?_[e]=t:void 0!==k.breakpoints.values[e.replace("Offset","")]?H[e.replace("Offset","")]=t:$[e]=t});let V=null!=(u=e.columns)?u:M?void 0:I,W=null!=(s=e.spacing)?s:M?void 0:A,q=null!=(c=null!=(g=e.rowSpacing)?g:e.spacing)?c:M?void 0:L,U=null!=(v=null!=(y=e.columnSpacing)?y:e.spacing)?v:M?void 0:O,J=(0,r.Z)({},w,{level:M,columns:V,container:E,direction:D,wrap:T,spacing:W,rowSpacing:q,columnSpacing:U,gridSize:_,gridOffset:H,disableEqualOverflow:null!=(b=null!=(x=j)?x:C)&&b,parentDisableEqualOverflow:C}),Q=f(J,k),G=(0,P.jsx)(m,(0,r.Z)({ref:t,as:F,ownerState:J,className:(0,a.Z)(Q.root,Z)},$,{children:o.Children.map(z,e=>{if(o.isValidElement(e)&&(0,l.Z)(e,["Grid"])){var t;return o.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:M+1})}return e})}));return void 0!==j&&j!==(null!=C&&C)&&(G=(0,P.jsx)(d.Provider,{value:j,children:G})),G});return g.muiName="Grid",g}({createStyledComponent:(0,M.Z)("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,N.Z)({props:e,name:"JoyGrid"})});var _=j},14553:function(e,t,n){"use strict";n.d(t,{ZP:function(){return w}});var r=n(63366),i=n(87462),o=n(67294),a=n(62908),l=n(22760),u=n(70758),s=n(58510),c=n(74312),d=n(20407),f=n(2226),p=n(30220),h=n(26821);function m(e){return(0,h.d6)("MuiIconButton",e)}(0,h.sI)("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg"]);var g=n(89996),v=n(85893);let y=["children","action","component","color","disabled","variant","size","slots","slotProps"],b=e=>{let{color:t,disabled:n,focusVisible:r,focusVisibleClassName:i,size:o,variant:l}=e,u={root:["root",n&&"disabled",r&&"focusVisible",l&&`variant${(0,a.Z)(l)}`,t&&`color${(0,a.Z)(t)}`,o&&`size${(0,a.Z)(o)}`]},c=(0,s.Z)(u,m,{});return r&&i&&(c.root+=` ${i}`),c},x=(0,c.Z)("button")(({theme:e,ownerState:t})=>{var n,r,o,a;return[(0,i.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,i.Z)({"--Icon-color":"currentColor"},e.focus.default)}),(0,i.Z)({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":(0,i.Z)({"--Icon-color":"currentColor"},null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color])},'&:active, &[aria-pressed="true"]':(0,i.Z)({"--Icon-color":"currentColor"},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]),"&:disabled":null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]}),k=(0,c.Z)(x,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=o.forwardRef(function(e,t){var n;let a=(0,d.Z)({props:e,name:"JoyIconButton"}),{children:s,action:c,component:h="button",color:m="neutral",disabled:x,variant:S="plain",size:w="md",slots:C={},slotProps:Z={}}=a,z=(0,r.Z)(a,y),I=o.useContext(g.Z),E=e.variant||I.variant||S,F=e.size||I.size||w,{getColor:D}=(0,f.VT)(E),T=D(e.color,I.color||m),A=null!=(n=e.disabled)?n:I.disabled||x,P=o.useRef(null),R=(0,l.Z)(P,t),{focusVisible:L,setFocusVisible:O,getRootProps:B}=(0,u.U)((0,i.Z)({},a,{disabled:A,rootRef:R}));o.useImperativeHandle(c,()=>({focusVisible:()=>{var e;O(!0),null==(e=P.current)||e.focus()}}),[O]);let M=(0,i.Z)({},a,{component:h,color:T,disabled:A,variant:E,size:F,focusVisible:L,instanceSize:e.size}),N=b(M),j=(0,i.Z)({},z,{component:h,slots:C,slotProps:Z}),[_,H]=(0,p.Z)("root",{ref:t,className:N.root,elementType:k,getSlotProps:B,externalForwardedProps:j,ownerState:M});return(0,v.jsx)(_,(0,i.Z)({},H,{children:s}))});S.muiName="IconButton";var w=S},43614:function(e,t,n){"use strict";var r=n(67294);let i=r.createContext(void 0);t.Z=i},50984:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var r=n(87462);n(67294);var i=n(74312),o=n(58859);n(85893);let a=(0,i.Z)("ul")(({theme:e,ownerState:t})=>{var n;let{p:i,padding:a,borderRadius:l}=(0,o.V)({theme:e,ownerState:t},["p","padding","borderRadius"]);function u(n){return"sm"===n?{"--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"===n?{"--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"===n?{"--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,r.Z)({},u(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,r.Z)({},u(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,r.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,r.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==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==l&&{"--List-radius":l},void 0!==i&&{"--List-padding":i},void 0!==a&&{"--List-padding":a})]});(0,i.Z)(a,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({})},3419:function(e,t,n){"use strict";n.d(t,{Z:function(){return c},M:function(){return s}});var r=n(87462),i=n(67294),o=n(40780);let a=i.createContext(!1),l=i.createContext(!1);var u=n(85893);let s={"--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:n,row:s=!1,wrap:c=!1}=e,d=(0,u.jsx)(o.Z.Provider,{value:s,children:(0,u.jsx)(a.Provider,{value:c,children:i.Children.map(t,(e,n)=>i.isValidElement(e)?i.cloneElement(e,(0,r.Z)({},0===n&&{"data-first-child":""},n===i.Children.count(t)-1&&{"data-last-child":""})):e)})});return void 0===n?d:(0,u.jsx)(l.Provider,{value:n,children:d})}},40780:function(e,t,n){"use strict";var r=n(67294);let i=r.createContext(!1);t.Z=i},39984:function(e,t,n){"use strict";n.d(t,{r:function(){return u}});var r=n(87462);n(67294);var i=n(74312),o=n(26821);let a=(0,o.sI)("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),l=(0,o.sI)("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]);n(85893);let u=(0,i.Z)("div")(({theme:e,ownerState:t})=>{var n,i,o,u,s;return(0,r.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,r.Z)({},e.focus.default,{zIndex:1})},null==(n=e.variants[t.variant])?void 0:n[t.color],{[`.${a.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${l.selected}`]:(0,r.Z)({},null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${l.selected}, [aria-selected="true"])`]:{"&:hover":null==(o=e.variants[`${t.variant}Hover`])?void 0:o[t.color],"&:active":null==(u=e.variants[`${t.variant}Active`])?void 0:u[t.color]},[`&.${l.disabled}`]:(0,r.Z)({},null==(s=e.variants[`${t.variant}Disabled`])?void 0:s[t.color])})});(0,i.Z)(u,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e,theme:t})=>(0,r.Z)({},!e.row&&{[`&.${l.selected}`]:{fontWeight:t.vars.fontWeight.md}}))},25359:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(63366),i=n(87462),o=n(67294),a=n(62908),l=n(58510),u=n(22760),s=n(89326),c=n(54895),d=n(22644),f=n(7333);function p(e,t){if(t.type===d.F.itemHover)return e;let n=(0,f.R$)(e,t);if(null===n.highlightedValue&&t.context.items.length>0)return(0,i.Z)({},n,{highlightedValue:t.context.items[0]});if(t.type===d.F.keyDown&&"Escape"===t.event.key)return(0,i.Z)({},n,{open:!1});if(t.type===d.F.blur){var r,o,a;if(!(null!=(r=t.context.listboxRef.current)&&r.contains(t.event.relatedTarget))){let e=null==(o=t.context.listboxRef.current)?void 0:o.getAttribute("id"),r=null==(a=t.event.relatedTarget)?void 0:a.getAttribute("aria-controls");return e&&r&&e===r?n:(0,i.Z)({},n,{open:!1,highlightedValue:t.context.items[0]})}}return n}var h=n(85241),m=n(96592),g=n(51633),v=n(12247),y=n(2900);let b={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var x=n(26558),k=n(85893);function S(e){let{value:t,children:n}=e,{dispatch:r,getItemIndex:i,getItemState:a,registerHighlightChangeHandler:l,registerSelectionChangeHandler:u,registerItem:s,totalSubitemCount:c}=t,d=o.useMemo(()=>({dispatch:r,getItemState:a,getItemIndex:i,registerHighlightChangeHandler:l,registerSelectionChangeHandler:u}),[r,i,a,l,u]),f=o.useMemo(()=>({getItemIndex:i,registerItem:s,totalSubitemCount:c}),[s,i,c]);return(0,k.jsx)(v.s.Provider,{value:f,children:(0,k.jsx)(x.Z.Provider,{value:d,children:n})})}var w=n(53406),C=n(7293),Z=n(50984),z=n(3419),I=n(43614),E=n(74312),F=n(20407),D=n(55907),T=n(2226),A=n(26821);function P(e){return(0,A.d6)("MuiMenu",e)}(0,A.sI)("MuiMenu",["root","listbox","expanded","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);let R=["actions","children","color","component","disablePortal","keepMounted","id","invertedColors","onItemsChange","modifiers","variant","size","slots","slotProps"],L=e=>{let{open:t,variant:n,color:r,size:i}=e,o={root:["root",t&&"expanded",n&&`variant${(0,a.Z)(n)}`,r&&`color${(0,a.Z)(r)}`,i&&`size${(0,a.Z)(i)}`],listbox:["listbox"]};return(0,l.Z)(o,P,{})},O=(0,E.Z)(Z.C,{name:"JoyMenu",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r;let o=null==(n=e.variants[t.variant])?void 0:n[t.color];return[(0,i.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==o?void 0:o.backgroundColor)||(null==o?void 0:o.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!=o&&o.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup}),"context"!==t.color&&t.invertedColors&&(null==(r=e.colorInversion[t.variant])?void 0:r[t.color])]}),B=o.forwardRef(function(e,t){var n;let a=(0,F.Z)({props:e,name:"JoyMenu"}),{actions:l,children:f,color:x="neutral",component:Z,disablePortal:E=!1,keepMounted:A=!1,id:P,invertedColors:B=!1,onItemsChange:M,modifiers:N,variant:j="outlined",size:_="md",slots:H={},slotProps:$={}}=a,V=(0,r.Z)(a,R),{getColor:W}=(0,T.VT)(j),q=E?W(e.color,x):x,{contextValue:U,getListboxProps:J,dispatch:Q,open:G,triggerElement:X}=function(e={}){var t,n;let{listboxRef:r,onItemsChange:a,id:l}=e,d=o.useRef(null),f=(0,u.Z)(d,r),x=null!=(t=(0,s.Z)(l))?t:"",{state:{open:k},dispatch:S,triggerElement:w,registerPopup:C}=null!=(n=o.useContext(h.D))?n:b,Z=o.useRef(k),{subitems:z,contextValue:I}=(0,v.Y)(),E=o.useMemo(()=>Array.from(z.keys()),[z]),F=o.useCallback(e=>{var t,n;return null==e?null:null!=(t=null==(n=z.get(e))?void 0:n.ref.current)?t:null},[z]),{dispatch:D,getRootProps:T,contextValue:A,state:{highlightedValue:P},rootRef:R}=(0,m.s)({disabledItemsFocusable:!0,focusManagement:"DOM",getItemDomElement:F,getInitialState:()=>({selectedValues:[],highlightedValue:null}),isItemDisabled:e=>{var t;return(null==z||null==(t=z.get(e))?void 0:t.disabled)||!1},items:E,getItemAsString:e=>{var t,n;return(null==(t=z.get(e))?void 0:t.label)||(null==(n=z.get(e))||null==(n=n.ref.current)?void 0:n.innerText)},rootRef:f,onItemsChange:a,reducerActionContext:{listboxRef:d},selectionMode:"none",stateReducer:p});(0,c.Z)(()=>{C(x)},[x,C]),o.useEffect(()=>{if(k&&P===E[0]&&!Z.current){var e;null==(e=z.get(E[0]))||null==(e=e.ref)||null==(e=e.current)||e.focus()}},[k,P,z,E]),o.useEffect(()=>{var e,t;null!=(e=d.current)&&e.contains(document.activeElement)&&null!==P&&(null==z||null==(t=z.get(P))||null==(t=t.ref.current)||t.focus())},[P,z]);let L=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||null!=(r=d.current)&&r.contains(t.relatedTarget)||t.relatedTarget===w||S({type:g.Q.blur,event:t})},O=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"Escape"!==t.key||S({type:g.Q.escapeKeyDown,event:t})},B=(e={})=>({onBlur:L(e),onKeyDown:O(e)});return o.useDebugValue({subitems:z,highlightedValue:P}),{contextValue:(0,i.Z)({},I,A),dispatch:D,getListboxProps:(e={})=>{let t=(0,y.f)(B,T);return(0,i.Z)({},t(e),{id:x,role:"menu"})},highlightedValue:P,listboxRef:R,menuItems:z,open:k,triggerElement:w}}({onItemsChange:M,id:P,listboxRef:t});o.useImperativeHandle(l,()=>({dispatch:Q,resetHighlight:()=>Q({type:d.F.resetHighlight,event:null})}),[Q]);let Y=(0,i.Z)({},a,{disablePortal:E,invertedColors:B,color:q,variant:j,size:_,open:G,nesting:!1,row:!1}),K=L(Y),ee=(0,i.Z)({},V,{component:Z,slots:H,slotProps:$}),et=o.useMemo(()=>[{name:"offset",options:{offset:[0,4]}},...N||[]],[N]),en=(0,C.y)({elementType:O,getSlotProps:J,externalForwardedProps:ee,externalSlotProps:{},ownerState:Y,additionalProps:{anchorEl:X,open:G&&null!==X,disablePortal:E,keepMounted:A,modifiers:et},className:K.root}),er=(0,k.jsx)(S,{value:U,children:(0,k.jsx)(D.Yb,{variant:B?void 0:j,color:x,children:(0,k.jsx)(I.Z.Provider,{value:"menu",children:(0,k.jsx)(z.Z,{nested:!0,children:f})})})});return B&&(er=(0,k.jsx)(T.do,{variant:j,children:er})),er=(0,k.jsx)(O,(0,i.Z)({},en,!(null!=(n=a.slots)&&n.root)&&{as:w.r,slots:{root:Z||"ul"}},{children:er})),E?er:(0,k.jsx)(T.ZP.Provider,{value:void 0,children:er})});var M=B},59562:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(63366),i=n(87462),o=n(67294),a=n(22760),l=n(85241),u=n(51633),s=n(70758),c=n(2900),d=n(58510),f=n(62908),p=n(26821);function h(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=n(20407),g=n(30220),v=n(48699),y=n(66478),b=n(74312),x=n(2226),k=n(89996),S=n(85893);let w=["children","color","component","disabled","endDecorator","loading","loadingPosition","loadingIndicator","size","slotProps","slots","startDecorator","variant"],C=e=>{let{color:t,disabled:n,fullWidth:r,size:i,variant:o,loading:a}=e,l={root:["root",n&&"disabled",r&&"fullWidth",o&&`variant${(0,f.Z)(o)}`,t&&`color${(0,f.Z)(t)}`,i&&`size${(0,f.Z)(i)}`,a&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]};return(0,d.Z)(l,h,{})},Z=(0,b.Z)("button",{name:"JoyMenuButton",slot:"Root",overridesResolver:(e,t)=>t.root})(y.f),z=(0,b.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,b.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)"}),E=(0,b.Z)("span",{name:"JoyMenuButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var n,r;return(0,i.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})}),F=o.forwardRef(function(e,t){var n;let d=(0,m.Z)({props:e,name:"JoyMenuButton"}),{children:f,color:p="neutral",component:h,disabled:y=!1,endDecorator:b,loading:F=!1,loadingPosition:D="center",loadingIndicator:T,size:A="md",slotProps:P={},slots:R={},startDecorator:L,variant:O="outlined"}=d,B=(0,r.Z)(d,w),M=o.useContext(k.Z),N=e.variant||M.variant||O,j=e.size||M.size||A,{getColor:_}=(0,x.VT)(N),H=_(e.color,M.color||p),$=null!=(n=e.disabled)?n:M.disabled||y||F,{getRootProps:V,open:W,active:q}=function(e={}){let{disabled:t=!1,focusableWhenDisabled:n,rootRef:r}=e,d=o.useContext(l.D);if(null===d)throw Error("useMenuButton: no menu context available.");let{state:f,dispatch:p,registerTrigger:h,popupId:m}=d,{getRootProps:g,rootRef:v,active:y}=(0,s.U)({disabled:t,focusableWhenDisabled:n,rootRef:r}),b=(0,a.Z)(v,h),x=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.defaultMuiPrevented||p({type:u.Q.toggle,event:t})},k=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),p({type:u.Q.open,event:t}))},S=(e={})=>({onClick:x(e),onKeyDown:k(e)});return{active:y,getRootProps:(e={})=>{let t=(0,c.f)(g,S);return(0,i.Z)({},t(e),{"aria-haspopup":"menu","aria-expanded":f.open,"aria-controls":m,ref:b})},open:f.open,rootRef:b}}({rootRef:t,disabled:$}),U=null!=T?T:(0,S.jsx)(v.Z,(0,i.Z)({},"context"!==H&&{color:H},{thickness:{sm:2,md:3,lg:4}[j]||3})),J=(0,i.Z)({},d,{active:q,color:H,disabled:$,open:W,size:j,variant:N}),Q=C(J),G=(0,i.Z)({},B,{component:h,slots:R,slotProps:P}),[X,Y]=(0,g.Z)("root",{elementType:Z,getSlotProps:V,externalForwardedProps:G,ref:t,ownerState:J,className:Q.root}),[K,ee]=(0,g.Z)("startDecorator",{className:Q.startDecorator,elementType:z,externalForwardedProps:G,ownerState:J}),[et,en]=(0,g.Z)("endDecorator",{className:Q.endDecorator,elementType:I,externalForwardedProps:G,ownerState:J}),[er,ei]=(0,g.Z)("loadingIndicatorCenter",{className:Q.loadingIndicatorCenter,elementType:E,externalForwardedProps:G,ownerState:J});return(0,S.jsxs)(X,(0,i.Z)({},Y,{children:[(L||F&&"start"===D)&&(0,S.jsx)(K,(0,i.Z)({},ee,{children:F&&"start"===D?U:L})),f,F&&"center"===D&&(0,S.jsx)(er,(0,i.Z)({},ei,{children:U})),(b||F&&"end"===D)&&(0,S.jsx)(et,(0,i.Z)({},en,{children:F&&"end"===D?U:b}))]}))});var D=F},7203:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(87462),i=n(63366),o=n(67294),a=n(62908),l=n(58510),u=n(89326),s=n(22760),c=n(70758),d=n(43069),f=n(51633),p=n(85241),h=n(2900),m=n(14072);function g(e){return`menu-item-${e.size}`}let v={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0},triggerElement:null};var y=n(39984),b=n(74312),x=n(20407),k=n(2226),S=n(55907),w=n(26821);function C(e){return(0,w.d6)("MuiMenuItem",e)}(0,w.sI)("MuiMenuItem",["root","focusVisible","disabled","selected","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);var Z=n(40780);let z=o.createContext("horizontal");var I=n(30220),E=n(85893);let F=["children","disabled","component","selected","color","orientation","variant","slots","slotProps"],D=e=>{let{focusVisible:t,disabled:n,selected:r,color:i,variant:o}=e,u={root:["root",t&&"focusVisible",n&&"disabled",r&&"selected",i&&`color${(0,a.Z)(i)}`,o&&`variant${(0,a.Z)(o)}`]},s=(0,l.Z)(u,C,{});return s},T=(0,b.Z)(y.r,{name:"JoyMenuItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),A=o.forwardRef(function(e,t){let n=(0,x.Z)({props:e,name:"JoyMenuItem"}),a=o.useContext(Z.Z),{children:l,disabled:y=!1,component:b="li",selected:w=!1,color:C="neutral",orientation:A="horizontal",variant:P="plain",slots:R={},slotProps:L={}}=n,O=(0,i.Z)(n,F),{variant:B=P,color:M=C}=(0,S.yP)(e.variant,e.color),{getColor:N}=(0,k.VT)(B),j=N(e.color,M),{getRootProps:_,disabled:H,focusVisible:$}=function(e){var t;let{disabled:n=!1,id:i,rootRef:a,label:l}=e,y=(0,u.Z)(i),b=o.useRef(null),x=o.useMemo(()=>({disabled:n,id:null!=y?y:"",label:l,ref:b}),[n,y,l]),{dispatch:k}=null!=(t=o.useContext(p.D))?t:v,{getRootProps:S,highlighted:w,rootRef:C}=(0,d.J)({item:y}),{index:Z,totalItemCount:z}=(0,m.B)(null!=y?y:g,x),{getRootProps:I,focusVisible:E,rootRef:F}=(0,c.U)({disabled:n,focusableWhenDisabled:!0}),D=(0,s.Z)(C,F,a,b);o.useDebugValue({id:y,highlighted:w,disabled:n,label:l});let T=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.defaultMuiPrevented||k({type:f.Q.close,event:t})},A=(e={})=>(0,r.Z)({},e,{onClick:T(e)});function P(e={}){let t=(0,h.f)(A,(0,h.f)(I,S));return(0,r.Z)({},t(e),{ref:D,role:"menuitem"})}return void 0===y?{getRootProps:P,disabled:!1,focusVisible:E,highlighted:!1,index:-1,totalItemCount:0,rootRef:D}:{getRootProps:P,disabled:n,focusVisible:E,highlighted:w,index:Z,totalItemCount:z,rootRef:D}}({disabled:y,rootRef:t}),V=(0,r.Z)({},n,{component:b,color:j,disabled:H,focusVisible:$,orientation:A,selected:w,row:a,variant:B}),W=D(V),q=(0,r.Z)({},O,{component:b,slots:R,slotProps:L}),[U,J]=(0,I.Z)("root",{ref:t,elementType:T,getSlotProps:_,externalForwardedProps:q,className:W.root,ownerState:V});return(0,E.jsx)(z.Provider,{value:A,children:(0,E.jsx)(U,(0,r.Z)({},J,{children:l}))})});var P=A},57814:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(87462),i=n(63366),o=n(67294),a=n(58510),l=n(89326),u=n(22760),s=n(43069),c=n(14072),d=n(30220),f=n(39984),p=n(74312),h=n(20407),m=n(2226),g=n(55907),v=n(26821);function y(e){return(0,v.d6)("MuiOption",e)}let b=(0,v.sI)("MuiOption",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","highlighted","variantPlain","variantSoft","variantOutlined","variantSolid"]);var x=n(40780),k=n(85893);let S=["component","children","disabled","value","label","variant","color","slots","slotProps"],w=e=>{let{disabled:t,highlighted:n,selected:r}=e;return(0,a.Z)({root:["root",t&&"disabled",n&&"highlighted",r&&"selected"]},y,{})},C=(0,p.Z)(f.r,{name:"JoyOption",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;let r=null==(n=e.variants[`${t.variant}Hover`])?void 0:n[t.color];return{[`&.${b.highlighted}:not([aria-selected="true"])`]:{backgroundColor:null==r?void 0:r.backgroundColor}}}),Z=o.forwardRef(function(e,t){var n;let a=(0,h.Z)({props:e,name:"JoyOption"}),{component:f="li",children:p,disabled:v=!1,value:y,label:b,variant:Z="plain",color:z="neutral",slots:I={},slotProps:E={}}=a,F=(0,i.Z)(a,S),D=o.useContext(x.Z),{variant:T=Z,color:A=z}=(0,g.yP)(e.variant,e.color),P=o.useRef(null),R=(0,u.Z)(P,t),L=null!=b?b:"string"==typeof p?p:null==(n=P.current)?void 0:n.innerText,{getRootProps:O,selected:B,highlighted:M,index:N}=function(e){let{value:t,label:n,disabled:i,rootRef:a,id:d}=e,{getRootProps:f,rootRef:p,highlighted:h,selected:m}=(0,s.J)({item:t}),g=(0,l.Z)(d),v=o.useRef(null),y=o.useMemo(()=>({disabled:i,label:n,value:t,ref:v,id:g}),[i,n,t,g]),{index:b}=(0,c.B)(t,y),x=(0,u.Z)(a,v,p);return{getRootProps:(e={})=>(0,r.Z)({},e,f(e),{id:g,ref:x,role:"option","aria-selected":m}),highlighted:h,index:b,selected:m,rootRef:x}}({disabled:v,label:L,value:y,rootRef:R}),{getColor:j}=(0,m.VT)(T),_=j(e.color,A),H=(0,r.Z)({},a,{disabled:v,selected:B,highlighted:M,index:N,component:f,variant:T,color:_,row:D}),$=w(H),V=(0,r.Z)({},F,{component:f,slots:I,slotProps:E}),[W,q]=(0,d.Z)("root",{ref:t,getSlotProps:O,elementType:C,externalForwardedProps:V,className:$.root,ownerState:H});return(0,k.jsx)(W,(0,r.Z)({},q,{children:p}))});var z=Z},99056:function(e,t,n){"use strict";n.d(t,{Z:function(){return el}});var r,i=n(63366),o=n(87462),a=n(67294),l=n(90512),u=n(62908),s=n(22760),c=n(53406),d=n(89326),f=n(54895),p=n(70758);let h={buttonClick:"buttonClick"};var m=n(96592);let g=e=>{let{label:t,value:n}=e;return"string"==typeof t?t:"string"==typeof n?n:String(e)};var v=n(12247),y=n(7333),b=n(22644);function x(e,t){var n,r,i;let{open:a}=e,{context:{selectionMode:l}}=t;if(t.type===h.buttonClick){let r=null!=(n=e.selectedValues[0])?n:(0,y.Rl)(null,"start",t.context);return(0,o.Z)({},e,{open:!a,highlightedValue:a?null:r})}let u=(0,y.R$)(e,t);switch(t.type){case b.F.keyDown:if(e.open){if("Escape"===t.event.key||"single"===l&&("Enter"===t.event.key||" "===t.event.key))return(0,o.Z)({},u,{open:!1})}else{if("Enter"===t.event.key||" "===t.event.key||"ArrowDown"===t.event.key)return(0,o.Z)({},e,{open:!0,highlightedValue:null!=(r=e.selectedValues[0])?r:(0,y.Rl)(null,"start",t.context)});if("ArrowUp"===t.event.key)return(0,o.Z)({},e,{open:!0,highlightedValue:null!=(i=e.selectedValues[0])?i:(0,y.Rl)(null,"end",t.context)})}break;case b.F.itemClick:if("single"===l)return(0,o.Z)({},u,{open:!1});break;case b.F.blur:return(0,o.Z)({},u,{open:!1})}return u}var k=n(2900);let S={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},w=()=>{};function C(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 Z(e){e.preventDefault()}var z=n(26558),I=n(85893);function E(e){let{value:t,children:n}=e,{dispatch:r,getItemIndex:i,getItemState:o,registerHighlightChangeHandler:l,registerSelectionChangeHandler:u,registerItem:s,totalSubitemCount:c}=t,d=a.useMemo(()=>({dispatch:r,getItemState:o,getItemIndex:i,registerHighlightChangeHandler:l,registerSelectionChangeHandler:u}),[r,i,o,l,u]),f=a.useMemo(()=>({getItemIndex:i,registerItem:s,totalSubitemCount:c}),[s,i,c]);return(0,I.jsx)(v.s.Provider,{value:f,children:(0,I.jsx)(z.Z.Provider,{value:d,children:n})})}var F=n(58510),D=n(50984),T=n(3419),A=n(43614),P=n(74312),R=n(20407),L=n(30220),O=n(26821);function B(e){return(0,O.d6)("MuiSvgIcon",e)}(0,O.sI)("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);let M=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],N=e=>{let{color:t,size:n,fontSize:r}=e,i={root:["root",t&&"inherit"!==t&&`color${(0,u.Z)(t)}`,n&&`size${(0,u.Z)(n)}`,r&&`fontSize${(0,u.Z)(r)}`]};return(0,F.Z)(i,B,{})},j={sm:"xl",md:"xl2",lg:"xl3"},_=(0,P.Z)("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n;return(0,o.Z)({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[j[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[j[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&(0,o.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==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`}))}),H=a.forwardRef(function(e,t){let n=(0,R.Z)({props:e,name:"JoySvgIcon"}),{children:r,className:u,color:s,component:c="svg",fontSize:d,htmlColor:f,inheritViewBox:p=!1,titleAccess:h,viewBox:m="0 0 24 24",size:g="md",slots:v={},slotProps:y={}}=n,b=(0,i.Z)(n,M),x=a.isValidElement(r)&&"svg"===r.type,k=(0,o.Z)({},n,{color:s,component:c,size:g,instanceSize:e.size,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:x}),S=N(k),w=(0,o.Z)({},b,{component:c,slots:v,slotProps:y}),[C,Z]=(0,L.Z)("root",{ref:t,className:(0,l.Z)(S.root,u),elementType:_,externalForwardedProps:w,ownerState:k,additionalProps:(0,o.Z)({color:f,focusable:!1},h&&{role:"img"},!h&&{"aria-hidden":!0},!p&&{viewBox:m},x&&r.props)});return(0,I.jsxs)(C,(0,o.Z)({},Z,{children:[x?r.props.children:r,h?(0,I.jsx)("title",{children:h}):null]}))});var $=function(e,t){function n(n,r){return(0,I.jsx)(H,(0,o.Z)({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=H.muiName,a.memo(a.forwardRef(n))}((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"),V=n(2226),W=n(58859);function q(e){return(0,O.d6)("MuiSelect",e)}let U=(0,O.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 J=n(76043),Q=n(55907);let G=["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 X(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`}}],K=e=>{let{color:t,disabled:n,focusVisible:r,size:i,variant:o,open:a}=e,l={root:["root",n&&"disabled",r&&"focusVisible",a&&"expanded",o&&`variant${(0,u.Z)(o)}`,t&&`color${(0,u.Z)(t)}`,i&&`size${(0,u.Z)(i)}`],button:["button"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],indicator:["indicator",a&&"expanded"],listbox:["listbox",a&&"expanded",n&&"disabled"]};return(0,F.Z)(l,q,{})},ee=(0,P.Z)("div",{name:"JoySelect",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r,i,a;let l=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color],{borderRadius:u}=(0,W.V)({theme:e,ownerState:t},["borderRadius"]);return[(0,o.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==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[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)"},[`&.${U.focusVisible}`]:{"--Select-indicatorColor":null==l?void 0:l.color,"&::before":{boxShadow:"inset 0 0 0 var(--Select-focusedThickness) var(--Select-focusedHighlight)"}},[`&.${U.disabled}`]:{"--Select-indicatorColor":"inherit"}}),{"&:hover":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],[`&.${U.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]},void 0!==u&&{"--Select-radius":u}]}),et=(0,P.Z)("button",{name:"JoySelect",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>(0,o.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)"}})),en=(0,P.Z)(D.C,{name:"JoySelect",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e,ownerState:t})=>{var n;let r="context"===t.color?void 0:null==(n=e.variants[t.variant])?void 0:n[t.color];return(0,o.Z)({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==r?void 0:r.backgroundColor)||(null==r?void 0:r.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!=r&&r.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup})}),er=(0,P.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)"}),ei=(0,P.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)"}),eo=(0,P.Z)("span",{name:"JoySelect",slot:"Indicator"})(({ownerState:e,theme:t})=>(0,o.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)",[`.${U.endDecorator} + &`]:{marginInlineStart:"calc(var(--Select-gap) / 2)"},[`&.${U.expanded}, .${U.disabled} > &`]:{"--Icon-color":"currentColor"}})),ea=a.forwardRef(function(e,t){var n,u,y,b,z,F,D;let P=(0,R.Z)({props:e,name:"JoySelect"}),{action:O,autoFocus:B,children:M,defaultValue:N,defaultListboxOpen:j=!1,disabled:_,getSerializedValue:H,placeholder:W,listboxId:q,listboxOpen:ea,onChange:el,onListboxOpenChange:eu,onClose:es,renderValue:ec,required:ed=!1,value:ef,size:ep="md",variant:eh="outlined",color:em="neutral",startDecorator:eg,endDecorator:ev,indicator:ey=r||(r=(0,I.jsx)($,{})),"aria-describedby":eb,"aria-label":ex,"aria-labelledby":ek,id:eS,name:ew,slots:eC={},slotProps:eZ={}}=P,ez=(0,i.Z)(P,G),eI=a.useContext(J.Z),eE=null!=(n=null!=(u=e.disabled)?u:null==eI?void 0:eI.disabled)?n:_,eF=null!=(y=null!=(b=e.size)?b:null==eI?void 0:eI.size)?y:ep,{getColor:eD}=(0,V.VT)(eh),eT=eD(e.color,null!=eI&&eI.error?"danger":null!=(z=null==eI?void 0:eI.color)?z:em),eA=null!=ec?ec:X,[eP,eR]=a.useState(null),eL=a.useRef(null),eO=a.useRef(null),eB=a.useRef(null),eM=(0,s.Z)(t,eL);a.useImperativeHandle(O,()=>({focusVisible:()=>{var e;null==(e=eO.current)||e.focus()}}),[]),a.useEffect(()=>{eR(eL.current)},[]),a.useEffect(()=>{B&&eO.current.focus()},[B]);let eN=a.useCallback(e=>{null==eu||eu(e),e||null==es||es()},[es,eu]),{buttonActive:ej,buttonFocusVisible:e_,contextValue:eH,disabled:e$,getButtonProps:eV,getListboxProps:eW,getHiddenInputProps:eq,getOptionMetadata:eU,open:eJ,value:eQ}=function(e){let t,n,r;let{areOptionsEqual:i,buttonRef:l,defaultOpen:u=!1,defaultValue:c,disabled:y=!1,listboxId:b,listboxRef:z,multiple:I=!1,name:E,required:F,onChange:D,onHighlightChange:T,onOpenChange:A,open:P,options:R,getOptionAsString:L=g,getSerializedValue:O=C,value:B}=e,M=a.useRef(null),N=(0,s.Z)(l,M),j=a.useRef(null),_=(0,d.Z)(b);void 0===B&&void 0===c?t=[]:void 0!==c&&(t=I?c:null==c?[]:[c]);let H=a.useMemo(()=>{if(void 0!==B)return I?B:null==B?[]:[B]},[B,I]),{subitems:$,contextValue:V}=(0,v.Y)(),W=a.useMemo(()=>null!=R?new Map(R.map((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:a.createRef(),id:`${_}_${t}`}])):$,[R,$,_]),q=(0,s.Z)(z,j),{getRootProps:U,active:J,focusVisible:Q,rootRef:G}=(0,p.U)({disabled:y,rootRef:N}),X=a.useMemo(()=>Array.from(W.keys()),[W]),Y=a.useCallback(e=>{if(void 0!==i){let t=X.find(t=>i(t,e));return W.get(t)}return W.get(e)},[W,i,X]),K=a.useCallback(e=>{var t;let n=Y(e);return null!=(t=null==n?void 0:n.disabled)&&t},[Y]),ee=a.useCallback(e=>{let t=Y(e);return t?L(t):""},[Y,L]),et=a.useMemo(()=>({selectedValues:H,open:P}),[H,P]),en=a.useCallback(e=>{var t;return null==(t=W.get(e))?void 0:t.id},[W]),er=a.useCallback((e,t)=>{if(I)null==D||D(e,t);else{var n;null==D||D(e,null!=(n=t[0])?n:null)}},[I,D]),ei=a.useCallback((e,t)=>{null==T||T(e,null!=t?t:null)},[T]),eo=a.useCallback((e,t,n)=>{if("open"===t&&(null==A||A(n),!1===n&&(null==e?void 0:e.type)!=="blur")){var r;null==(r=M.current)||r.focus()}},[A]),ea={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=t)?e:[],open:u}},getItemId:en,controlledProps:et,itemComparer:i,isItemDisabled:K,rootRef:G,onChange:er,onHighlightChange:ei,onStateChange:eo,reducerActionContext:a.useMemo(()=>({multiple:I}),[I]),items:X,getItemAsString:ee,selectionMode:I?"multiple":"single",stateReducer:x},{dispatch:el,getRootProps:eu,contextValue:es,state:{open:ec,highlightedValue:ed,selectedValues:ef},rootRef:ep}=(0,m.s)(ea),eh=e=>t=>{var n;if(null==e||null==(n=e.onMouseDown)||n.call(e,t),!t.defaultMuiPrevented){let e={type:h.buttonClick,event:t};el(e)}};(0,f.Z)(()=>{if(null!=ed){var e;let t=null==(e=Y(ed))?void 0:e.ref;if(!j.current||!(null!=t&&t.current))return;let n=j.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.topn.bottom&&(j.current.scrollTop+=r.bottom-n.bottom)}},[ed,Y]);let em=a.useCallback(e=>Y(e),[Y]),eg=(e={})=>(0,o.Z)({},e,{onMouseDown:eh(e),ref:ep,role:"combobox","aria-expanded":ec,"aria-controls":_});a.useDebugValue({selectedOptions:ef,highlightedOption:ed,open:ec});let ev=a.useMemo(()=>(0,o.Z)({},es,V),[es,V]);if(n=e.multiple?ef:ef.length>0?ef[0]:null,I)r=n.map(e=>em(e)).filter(e=>void 0!==e);else{var ey;r=null!=(ey=em(n))?ey:null}return{buttonActive:J,buttonFocusVisible:Q,buttonRef:G,contextValue:ev,disabled:y,dispatch:el,getButtonProps:(e={})=>{let t=(0,k.f)(U,eu),n=(0,k.f)(t,eg);return n(e)},getHiddenInputProps:(e={})=>(0,o.Z)({name:E,tabIndex:-1,"aria-hidden":!0,required:!!F||void 0,value:O(r),onChange:w,style:S},e),getListboxProps:(e={})=>(0,o.Z)({},e,{id:_,role:"listbox","aria-multiselectable":I?"true":void 0,ref:q,onMouseDown:Z}),getOptionMetadata:em,listboxRef:ep,open:ec,options:X,value:n,highlightedOption:ed}}({buttonRef:eO,defaultOpen:j,defaultValue:N,disabled:eE,getSerializedValue:H,listboxId:q,multiple:!1,name:ew,required:ed,onChange:el,onOpenChange:eN,open:ea,value:ef}),eG=(0,o.Z)({},P,{active:ej,defaultListboxOpen:j,disabled:e$,focusVisible:e_,open:eJ,renderValue:eA,value:eQ,size:eF,variant:eh,color:eT}),eX=K(eG),eY=(0,o.Z)({},ez,{slots:eC,slotProps:eZ}),eK=a.useMemo(()=>{var e;return null!=(e=eU(eQ))?e:null},[eU,eQ]),[e0,e1]=(0,L.Z)("root",{ref:eM,className:eX.root,elementType:ee,externalForwardedProps:eY,ownerState:eG}),[e2,e4]=(0,L.Z)("button",{additionalProps:{"aria-describedby":null!=eb?eb:null==eI?void 0:eI["aria-describedby"],"aria-label":ex,"aria-labelledby":null!=ek?ek:null==eI?void 0:eI.labelId,"aria-required":ed?"true":void 0,id:null!=eS?eS:null==eI?void 0:eI.htmlFor,name:ew},className:eX.button,elementType:et,externalForwardedProps:eY,getSlotProps:eV,ownerState:eG}),[e6,e3]=(0,L.Z)("listbox",{additionalProps:{ref:eB,anchorEl:eP,open:eJ,placement:"bottom",keepMounted:!0},className:eX.listbox,elementType:en,externalForwardedProps:eY,getSlotProps:eW,ownerState:(0,o.Z)({},eG,{nesting:!1,row:!1,wrap:!1}),getSlotOwnerState:e=>({size:e.size||eF,variant:e.variant||eh,color:e.color||(e.disablePortal?eT:em),disableColorInversion:!e.disablePortal})}),[e5,e9]=(0,L.Z)("startDecorator",{className:eX.startDecorator,elementType:er,externalForwardedProps:eY,ownerState:eG}),[e7,e8]=(0,L.Z)("endDecorator",{className:eX.endDecorator,elementType:ei,externalForwardedProps:eY,ownerState:eG}),[te,tt]=(0,L.Z)("indicator",{className:eX.indicator,elementType:eo,externalForwardedProps:eY,ownerState:eG}),tn=a.useMemo(()=>[...Y,...e3.modifiers||[]],[e3.modifiers]),tr=null;return eP&&(tr=(0,I.jsx)(e6,(0,o.Z)({},e3,{className:(0,l.Z)(e3.className,(null==(F=e3.ownerState)?void 0:F.color)==="context"&&U.colorContext),modifiers:tn},!(null!=(D=P.slots)&&D.listbox)&&{as:c.r,slots:{root:e3.as||"ul"}},{children:(0,I.jsx)(E,{value:eH,children:(0,I.jsx)(Q.Yb,{variant:eh,color:em,children:(0,I.jsx)(A.Z.Provider,{value:"select",children:(0,I.jsx)(T.Z,{nested:!0,children:M})})})})})),e3.disablePortal||(tr=(0,I.jsx)(V.ZP.Provider,{value:void 0,children:tr}))),(0,I.jsxs)(a.Fragment,{children:[(0,I.jsxs)(e0,(0,o.Z)({},e1,{children:[eg&&(0,I.jsx)(e5,(0,o.Z)({},e9,{children:eg})),(0,I.jsx)(e2,(0,o.Z)({},e4,{children:eK?eA(eK):W})),ev&&(0,I.jsx)(e7,(0,o.Z)({},e8,{children:ev})),ey&&(0,I.jsx)(te,(0,o.Z)({},tt,{children:ey})),(0,I.jsx)("input",(0,o.Z)({},eq()))]})),tr]})});var el=ea},3414:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(63366),i=n(87462),o=n(67294),a=n(90512),l=n(58510),u=n(62908),s=n(54844),c=n(20407),d=n(74312),f=n(58859),p=n(26821);function h(e){return(0,p.d6)("MuiSheet",e)}(0,p.sI)("MuiSheet",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var m=n(2226),g=n(30220),v=n(85893);let y=["className","color","component","variant","invertedColors","slots","slotProps"],b=e=>{let{variant:t,color:n}=e,r={root:["root",t&&`variant${(0,u.Z)(t)}`,n&&`color${(0,u.Z)(n)}`]};return(0,l.Z)(r,h,{})},x=(0,d.Z)("div",{name:"JoySheet",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r;let o=null==(n=e.variants[t.variant])?void 0:n[t.color],{borderRadius:a,bgcolor:l,backgroundColor:u,background:c}=(0,f.V)({theme:e,ownerState:t},["borderRadius","bgcolor","backgroundColor","background"]),d=(0,s.DW)(e,`palette.${l}`)||l||(0,s.DW)(e,`palette.${u}`)||u||c||(null==o?void 0:o.backgroundColor)||(null==o?void 0:o.background)||e.vars.palette.background.surface;return[(0,i.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!==a&&{"--List-radius":`calc(${a} - var(--variant-borderWidth, 0px))`,"--unstable_actionRadius":`calc(${a} - var(--variant-borderWidth, 0px))`},{backgroundColor:e.vars.palette.background.surface,position:"relative"}),(0,i.Z)({},e.typography["body-md"],o),"context"!==t.color&&t.invertedColors&&(null==(r=e.colorInversion[t.variant])?void 0:r[t.color])]}),k=o.forwardRef(function(e,t){let n=(0,c.Z)({props:e,name:"JoySheet"}),{className:o,color:l="neutral",component:u="div",variant:s="plain",invertedColors:d=!1,slots:f={},slotProps:p={}}=n,h=(0,r.Z)(n,y),{getColor:k}=(0,m.VT)(s),S=k(e.color,l),w=(0,i.Z)({},n,{color:S,component:u,invertedColors:d,variant:s}),C=b(w),Z=(0,i.Z)({},h,{component:u,slots:f,slotProps:p}),[z,I]=(0,g.Z)("root",{ref:t,className:(0,a.Z)(C.root,o),elementType:x,externalForwardedProps:Z,ownerState:w}),E=(0,v.jsx)(z,(0,i.Z)({},I));return d?(0,v.jsx)(m.do,{variant:s,children:E}):E});var S=k},64415:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return Q}});var i=n(63366),o=n(87462),a=n(67294),l=n(90512),u=n(62908),s=n(58510),c=n(36425),d=n(11136),f=n(22760),p=n(54895),h=function(e){let t=a.useRef(e);return(0,p.Z)(()=>{t.current=e}),a.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=n(6414);function v(e,t){return e-t}function y(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function b(e,t){var n;let{index:r}=null!=(n=e.reduce((e,n,r)=>{let i=Math.abs(t-n);return null===e||i({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}%`})}},Z=e=>e;function z(){return void 0===r&&(r="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),r}var I=n(28442),E=n(74312),F=n(20407),D=n(2226),T=n(30220),A=n(26821);function P(e){return(0,A.d6)("MuiSlider",e)}let R=(0,A.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 L=n(85893);let O=["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 B(e){return e}let M=e=>{let{disabled:t,dragging:n,marked:r,orientation:i,track:o,variant:a,color:l,size:c}=e,d={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===i&&"vertical","inverted"===o&&"trackInverted",!1===o&&"trackFalse",a&&`variant${(0,u.Z)(a)}`,l&&`color${(0,u.Z)(l)}`,c&&`size${(0,u.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,s.Z)(d,P,{})},N=({theme:e,ownerState:t})=>(n={})=>{var r,i;let a=(null==(r=e.variants[`${t.variant}${n.state||""}`])?void 0:r[t.color])||{};return(0,o.Z)({},!n.state&&{"--variant-borderWidth":null!=(i=a["--variant-borderWidth"])?i:"0px"},{"--Slider-trackColor":a.color,"--Slider-thumbBackground":a.color,"--Slider-thumbColor":a.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBackground":a.backgroundColor||e.vars.palette.background.surface,"--Slider-trackBorderColor":a.borderColor,"--Slider-railBackground":e.vars.palette.background.level2})},j=(0,E.Z)("span",{name:"JoySlider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{let n=N({theme:e,ownerState:t});return[(0,o.Z)({"--Slider-size":"max(42px, max(var(--Slider-thumbSize), var(--Slider-trackSize)))","--Slider-trackRadius":"var(--Slider-size)","--Slider-markBackground":e.vars.palette.text.tertiary,[`& .${R.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)"},n(),{"&:hover":(0,o.Z)({},n({state:"Hover"})),"&:active":(0,o.Z)({},n({state:"Active"})),[`&.${R.disabled}`]:(0,o.Z)({pointerEvents:"none",color:e.vars.palette.text.tertiary},n({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"}})]}),_=(0,E.Z)("span",{name:"JoySlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>[(0,o.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})]),H=(0,E.Z)("span",{name:"JoySlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({ownerState:e})=>[(0,o.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,E.Z)("span",{name:"JoySlider",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({ownerState:e,theme:t})=>{var n;return(0,o.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,o.Z)({},t.focus.default,{outlineOffset:0,outlineWidth:"max(4px, var(--Slider-thumbSize) / 3.6)"},"context"!==e.color&&{outlineColor:`rgba(${null==(n=t.vars.palette)||null==(n=n[e.color])?void 0:n.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"}})}),V=(0,E.Z)("span",{name:"JoySlider",slot:"Mark",overridesResolver:(e,t)=>t.mark})(({ownerState:e})=>(0,o.Z)({position:"absolute",width:"var(--Slider-markSize)",height:"var(--Slider-markSize)",borderRadius:"var(--Slider-markSize)",backgroundColor:"var(--Slider-markBackground)"},"horizontal"===e.orientation&&(0,o.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,o.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)))"}))),W=(0,E.Z)("span",{name:"JoySlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>(0,o.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"},[`&.${R.valueLabelOpen}`]:{transform:"translateY(calc((var(--Slider-thumbSize) + var(--Slider-valueLabelArrowSize)) * -1)) scale(1)"}})),q=(0,E.Z)("span",{name:"JoySlider",slot:"MarkLabel",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t})=>(0,o.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,E.Z)("input",{name:"JoySlider",slot:"Input",overridesResolver:(e,t)=>t.input})({}),J=a.forwardRef(function(e,t){let n=(0,F.Z)({props:e,name:"JoySlider"}),{"aria-label":r,"aria-valuetext":u,className:s,classes:g,disableSwap:E=!1,disabled:A=!1,defaultValue:P,getAriaLabel:R,getAriaValueText:N,marks:J=!1,max:Q=100,min:G=0,orientation:X="horizontal",scale:Y=B,step:K=1,track:ee="normal",valueLabelDisplay:et="off",valueLabelFormat:en=B,isRtl:er=!1,color:ei="primary",size:eo="md",variant:ea="solid",component:el,slots:eu={},slotProps:es={}}=n,ec=(0,i.Z)(n,O),{getColor:ed}=(0,D.VT)("solid"),ef=ed(e.color,ei),ep=(0,o.Z)({},n,{marks:J,classes:g,disabled:A,defaultValue:P,disableSwap:E,isRtl:er,max:Q,min:G,orientation:X,scale:Y,step:K,track:ee,valueLabelDisplay:et,valueLabelFormat:en,color:ef,size:eo,variant:ea}),{axisProps:eh,getRootProps:em,getHiddenInputProps:eg,getThumbProps:ev,open:ey,active:eb,axis:ex,focusedThumbIndex:ek,range:eS,dragging:ew,marks:eC,values:eZ,trackOffset:ez,trackLeap:eI,getThumbStyle:eE}=function(e){let{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:l=!1,marks:u=!1,max:s=100,min:g=0,name:I,onChange:E,onChangeCommitted:F,orientation:D="horizontal",rootRef:T,scale:A=Z,step:P=1,tabIndex:R,value:L}=e,O=a.useRef(),[B,M]=a.useState(-1),[N,j]=a.useState(-1),[_,H]=a.useState(!1),$=a.useRef(0),[V,W]=function({controlled:e,default:t,name:n,state:r="value"}){let{current:i}=a.useRef(void 0!==e),[o,l]=a.useState(t),u=i?e:o,s=a.useCallback(e=>{i||l(e)},[]);return[u,s]}({controlled:L,default:null!=n?n:g,name:"Slider"}),q=E&&((e,t,n)=>{let r=e.nativeEvent||e,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:t,name:I}}),E(i,t,n)}),U=Array.isArray(V),J=U?V.slice().sort(v):[V];J=J.map(e=>y(e,g,s));let Q=!0===u&&null!==P?[...Array(Math.floor((s-g)/P)+1)].map((e,t)=>({value:g+P*t})):u||[],G=Q.map(e=>e.value),{isFocusVisibleRef:X,onBlur:Y,onFocus:K,ref:ee}=(0,d.Z)(),[et,en]=a.useState(-1),er=a.useRef(),ei=(0,f.Z)(ee,er),eo=(0,f.Z)(T,ei),ea=e=>t=>{var n;let r=Number(t.currentTarget.getAttribute("data-index"));K(t),!0===X.current&&en(r),j(r),null==e||null==(n=e.onFocus)||n.call(e,t)},el=e=>t=>{var n;Y(t),!1===X.current&&en(-1),j(-1),null==e||null==(n=e.onBlur)||n.call(e,t)};(0,p.Z)(()=>{if(r&&er.current.contains(document.activeElement)){var e;null==(e=document.activeElement)||e.blur()}},[r]),r&&-1!==B&&M(-1),r&&-1!==et&&en(-1);let eu=e=>t=>{var n;null==(n=e.onChange)||n.call(e,t);let r=Number(t.currentTarget.getAttribute("data-index")),o=J[r],a=G.indexOf(o),l=t.target.valueAsNumber;if(Q&&null==P){let e=G[G.length-1];l=l>e?e:l{let n,r;let{current:o}=er,{width:a,height:l,bottom:u,left:c}=o.getBoundingClientRect();if(n=0===ec.indexOf("vertical")?(u-e.y)/l:(e.x-c)/a,-1!==ec.indexOf("-reverse")&&(n=1-n),r=(s-g)*n+g,P)r=function(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(1>Math.abs(e)){let t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}(t)))}(r,P,g);else{let e=b(G,r);r=G[e]}r=y(r,g,s);let d=0;if(U){d=t?es.current:b(J,r),i&&(r=y(r,J[d-1]||-1/0,J[d+1]||1/0));let e=r;r=k({values:J,newValue:r,index:d}),i&&t||(d=r.indexOf(e),es.current=d)}return{newValue:r,activeIndex:d}},ef=h(e=>{let t=x(e,O);if(!t)return;if($.current+=1,"mousemove"===e.type&&0===e.buttons){ep(e);return}let{newValue:n,activeIndex:r}=ed({finger:t,move:!0});S({sliderRef:er,activeIndex:r,setActive:M}),W(n),!_&&$.current>2&&H(!0),q&&!w(n,V)&&q(e,n,r)}),ep=h(e=>{let t=x(e,O);if(H(!1),!t)return;let{newValue:n}=ed({finger:t,move:!0});M(-1),"touchend"===e.type&&j(-1),F&&F(e,n),O.current=void 0,em()}),eh=h(e=>{if(r)return;z()||e.preventDefault();let t=e.changedTouches[0];null!=t&&(O.current=t.identifier);let n=x(e,O);if(!1!==n){let{newValue:t,activeIndex:r}=ed({finger:n});S({sliderRef:er,activeIndex:r,setActive:M}),W(t),q&&!w(t,V)&&q(e,t,r)}$.current=0;let i=(0,c.Z)(er.current);i.addEventListener("touchmove",ef),i.addEventListener("touchend",ep)}),em=a.useCallback(()=>{let e=(0,c.Z)(er.current);e.removeEventListener("mousemove",ef),e.removeEventListener("mouseup",ep),e.removeEventListener("touchmove",ef),e.removeEventListener("touchend",ep)},[ep,ef]);a.useEffect(()=>{let{current:e}=er;return e.addEventListener("touchstart",eh,{passive:z()}),()=>{e.removeEventListener("touchstart",eh,{passive:z()}),em()}},[em,eh]),a.useEffect(()=>{r&&em()},[r,em]);let eg=e=>t=>{var n;if(null==(n=e.onMouseDown)||n.call(e,t),r||t.defaultPrevented||0!==t.button)return;t.preventDefault();let i=x(t,O);if(!1!==i){let{newValue:e,activeIndex:n}=ed({finger:i});S({sliderRef:er,activeIndex:n,setActive:M}),W(e),q&&!w(e,V)&&q(t,e,n)}$.current=0;let o=(0,c.Z)(er.current);o.addEventListener("mousemove",ef),o.addEventListener("mouseup",ep)},ev=((U?J[0]:g)-g)*100/(s-g),ey=(J[J.length-1]-g)*100/(s-g)-ev,eb=e=>t=>{var n;null==(n=e.onMouseOver)||n.call(e,t);let r=Number(t.currentTarget.getAttribute("data-index"));j(r)},ex=e=>t=>{var n;null==(n=e.onMouseLeave)||n.call(e,t),j(-1)};return{active:B,axis:ec,axisProps:C,dragging:_,focusedThumbIndex:et,getHiddenInputProps:(n={})=>{var i;let a={onChange:eu(n||{}),onFocus:ea(n||{}),onBlur:el(n||{})},u=(0,o.Z)({},n,a);return(0,o.Z)({tabIndex:R,"aria-labelledby":t,"aria-orientation":D,"aria-valuemax":A(s),"aria-valuemin":A(g),name:I,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(i=e.step)?i:void 0,disabled:r},u,{style:(0,o.Z)({},m,{direction:l?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{let t={onMouseDown:eg(e||{})},n=(0,o.Z)({},e,t);return(0,o.Z)({ref:eo},n)},getThumbProps:(e={})=>{let t={onMouseOver:eb(e||{}),onMouseLeave:ex(e||{})};return(0,o.Z)({},e,t)},marks:Q,open:N,range:U,rootRef:eo,trackLeap:ey,trackOffset:ev,values:J,getThumbStyle:e=>({pointerEvents:-1!==B&&B!==e?"none":void 0})}}((0,o.Z)({},ep,{rootRef:t}));ep.marked=eC.length>0&&eC.some(e=>e.label),ep.dragging=ew;let eF=(0,o.Z)({},eh[ex].offset(ez),eh[ex].leap(eI)),eD=M(ep),eT=(0,o.Z)({},ec,{component:el,slots:eu,slotProps:es}),[eA,eP]=(0,T.Z)("root",{ref:t,className:(0,l.Z)(eD.root,s),elementType:j,externalForwardedProps:eT,getSlotProps:em,ownerState:ep}),[eR,eL]=(0,T.Z)("rail",{className:eD.rail,elementType:_,externalForwardedProps:eT,ownerState:ep}),[eO,eB]=(0,T.Z)("track",{additionalProps:{style:eF},className:eD.track,elementType:H,externalForwardedProps:eT,ownerState:ep}),[eM,eN]=(0,T.Z)("mark",{className:eD.mark,elementType:V,externalForwardedProps:eT,ownerState:ep}),[ej,e_]=(0,T.Z)("markLabel",{className:eD.markLabel,elementType:q,externalForwardedProps:eT,ownerState:ep,additionalProps:{"aria-hidden":!0}}),[eH,e$]=(0,T.Z)("thumb",{className:eD.thumb,elementType:$,externalForwardedProps:eT,getSlotProps:ev,ownerState:ep}),[eV,eW]=(0,T.Z)("input",{className:eD.input,elementType:U,externalForwardedProps:eT,getSlotProps:eg,ownerState:ep}),[eq,eU]=(0,T.Z)("valueLabel",{className:eD.valueLabel,elementType:W,externalForwardedProps:eT,ownerState:ep});return(0,L.jsxs)(eA,(0,o.Z)({},eP,{children:[(0,L.jsx)(eR,(0,o.Z)({},eL)),(0,L.jsx)(eO,(0,o.Z)({},eB)),eC.filter(e=>e.value>=G&&e.value<=Q).map((e,t)=>{let n;let r=(e.value-G)*100/(Q-G),i=eh[ex].offset(r);return n=!1===ee?-1!==eZ.indexOf(e.value):"normal"===ee&&(eS?e.value>=eZ[0]&&e.value<=eZ[eZ.length-1]:e.value<=eZ[0])||"inverted"===ee&&(eS?e.value<=eZ[0]||e.value>=eZ[eZ.length-1]:e.value>=eZ[0]),(0,L.jsxs)(a.Fragment,{children:[(0,L.jsx)(eM,(0,o.Z)({"data-index":t},eN,!(0,I.X)(eM)&&{ownerState:(0,o.Z)({},eN.ownerState,{percent:r})},{style:(0,o.Z)({},i,eN.style),className:(0,l.Z)(eN.className,n&&eD.markActive)})),null!=e.label?(0,L.jsx)(ej,(0,o.Z)({"data-index":t},e_,{style:(0,o.Z)({},i,e_.style),className:(0,l.Z)(eD.markLabel,e_.className,n&&eD.markLabelActive),children:e.label})):null]},e.value)}),eZ.map((e,t)=>{let n=(e-G)*100/(Q-G),i=eh[ex].offset(n);return(0,L.jsxs)(eH,(0,o.Z)({"data-index":t},e$,{className:(0,l.Z)(e$.className,eb===t&&eD.active,ek===t&&eD.focusVisible),style:(0,o.Z)({},i,eE(t),e$.style),children:[(0,L.jsx)(eV,(0,o.Z)({"data-index":t,"aria-label":R?R(t):r,"aria-valuenow":Y(e),"aria-valuetext":N?N(Y(e),t):u,value:eZ[t]},eW)),"off"!==et?(0,L.jsx)(eq,(0,o.Z)({},eU,{className:(0,l.Z)(eU.className,(ey===t||eb===t||"on"===et)&&eD.valueLabelOpen),children:"function"==typeof en?en(Y(e),t):en})):null]}),t)})]}))});var Q=J},21694:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(63366),i=n(87462),o=n(67294),a=n(62908),l=n(58510),u=n(73935),s=n(22760),c=n(36425);function d(e){let t=(0,c.Z)(e);return t.defaultView||window}var f=n(54895),p=n(85893);let h=["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 v(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}let y=o.forwardRef(function(e,t){let{onChange:n,maxRows:a,minRows:l=1,style:c,value:y}=e,b=(0,r.Z)(e,h),{current:x}=o.useRef(null!=y),k=o.useRef(null),S=(0,s.Z)(t,k),w=o.useRef(null),C=o.useRef(0),[Z,z]=o.useState({outerHeightStyle:0}),I=o.useCallback(()=>{let t=k.current,n=d(t),r=n.getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0};let i=w.current;i.style.width=r.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");let o=r.boxSizing,u=m(r.paddingBottom)+m(r.paddingTop),s=m(r.borderBottomWidth)+m(r.borderTopWidth),c=i.scrollHeight;i.value="x";let f=i.scrollHeight,p=c;l&&(p=Math.max(Number(l)*f,p)),a&&(p=Math.min(Number(a)*f,p)),p=Math.max(p,f);let h=p+("border-box"===o?u+s:0),g=1>=Math.abs(p-c);return{outerHeightStyle:h,overflow:g}},[a,l,e.placeholder]),E=(e,t)=>{let{outerHeightStyle:n,overflow:r}=t;return C.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:n}):e},F=o.useCallback(()=>{let e=I();v(e)||z(t=>E(t,e))},[I]),D=()=>{let e=I();v(e)||u.flushSync(()=>{z(t=>E(t,e))})};return o.useEffect(()=>{let e;let t=function(e,t=166){let n;function r(...i){clearTimeout(n),n=setTimeout(()=>{e.apply(this,i)},t)}return r.clear=()=>{clearTimeout(n)},r}(()=>{C.current=0,k.current&&D()}),n=k.current,r=d(n);return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{C.current=0,k.current&&D()})).observe(n),()=>{t.clear(),r.removeEventListener("resize",t),e&&e.disconnect()}}),(0,f.Z)(()=>{F()}),o.useEffect(()=>{C.current=0},[y]),(0,p.jsxs)(o.Fragment,{children:[(0,p.jsx)("textarea",(0,i.Z)({value:y,onChange:e=>{C.current=0,x||F(),n&&n(e)},ref:S,rows:l,style:(0,i.Z)({height:Z.outerHeightStyle,overflow:Z.overflow?"hidden":void 0},c)},b)),(0,p.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:w,tabIndex:-1,style:(0,i.Z)({},g.shadow,c,{paddingTop:0,paddingBottom:0})})]})});var b=n(74312),x=n(20407),k=n(2226),S=n(30220),w=n(26821);function C(e){return(0,w.d6)("MuiTextarea",e)}let Z=(0,w.sI)("MuiTextarea",["root","textarea","startDecorator","endDecorator","formControl","disabled","error","focused","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft"]);var z=n(78758);let I=o.createContext(void 0);var E=n(30437),F=n(76043);let D=["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"],A=e=>{let{disabled:t,variant:n,color:r,size:i}=e,o={root:["root",t&&"disabled",n&&`variant${(0,a.Z)(n)}`,r&&`color${(0,a.Z)(r)}`,i&&`size${(0,a.Z)(i)}`],textarea:["textarea"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,l.Z)(o,C,{})},P=(0,b.Z)("div",{name:"JoyTextarea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r,o,a,l;let u=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color];return[(0,i.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==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[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}`],u,{backgroundColor:null!=(o=null==u?void 0:u.backgroundColor)?o: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,i.Z)({},null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],{backgroundColor:null,cursor:"text"}),[`&.${Z.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Textarea-focused":"1"}}]}),R=(0,b.Z)(y,{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)"}}),L=(0,b.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"}),O=(0,b.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"}),B=o.forwardRef(function(e,t){var n,a,l,u,c,d,f;let h=(0,x.Z)({props:e,name:"JoyTextarea"}),m=function(e,t){let n=o.useContext(F.Z),{"aria-describedby":a,"aria-label":l,"aria-labelledby":u,autoComplete:c,autoFocus:d,className:f,defaultValue:p,disabled:h,error:m,id:g,name:v,onClick:y,onChange:b,onKeyDown:x,onKeyUp:k,onFocus:S,onBlur:w,placeholder:C,readOnly:Z,required:T,type:A,value:P}=e,R=(0,r.Z)(e,D),{getRootProps:L,getInputProps:O,focused:B,error:M,disabled:N}=function(e){let t,n,r,a,l;let{defaultValue:u,disabled:c=!1,error:d=!1,onBlur:f,onChange:p,onFocus:h,required:m=!1,value:g,inputRef:v}=e,y=o.useContext(I);if(y){var b,x,k;t=void 0,n=null!=(b=y.disabled)&&b,r=null!=(x=y.error)&&x,a=null!=(k=y.required)&&k,l=y.value}else t=u,n=c,r=d,a=m,l=g;let{current:S}=o.useRef(null!=l),w=o.useCallback(e=>{},[]),C=o.useRef(null),Z=(0,s.Z)(C,v,w),[F,D]=o.useState(!1);o.useEffect(()=>{!y&&n&&F&&(D(!1),null==f||f())},[y,n,F,f]);let T=e=>t=>{var n,r;if(null!=y&&y.disabled){t.stopPropagation();return}null==(n=e.onFocus)||n.call(e,t),y&&y.onFocus?null==y||null==(r=y.onFocus)||r.call(y):D(!0)},A=e=>t=>{var n;null==(n=e.onBlur)||n.call(e,t),y&&y.onBlur?y.onBlur():D(!1)},P=e=>(t,...n)=>{var r,i;if(!S){let e=t.target||C.current;if(null==e)throw Error((0,z.Z)(17))}null==y||null==(r=y.onChange)||r.call(y,t),null==(i=e.onChange)||i.call(e,t,...n)},R=e=>t=>{var n;C.current&&t.currentTarget===t.target&&C.current.focus(),null==(n=e.onClick)||n.call(e,t)};return{disabled:n,error:r,focused:F,formControlContext:y,getInputProps:(e={})=>{let o=(0,i.Z)({},{onBlur:f,onChange:p,onFocus:h},(0,E._)(e)),u=(0,i.Z)({},e,o,{onBlur:A(o),onChange:P(o),onFocus:T(o)});return(0,i.Z)({},u,{"aria-invalid":r||void 0,defaultValue:t,ref:Z,value:l,required:a,disabled:n})},getRootProps:(t={})=>{let n=(0,E._)(e,["onBlur","onChange","onFocus"]),r=(0,i.Z)({},n,(0,E._)(t));return(0,i.Z)({},t,r,{onClick:R(r)})},inputRef:Z,required:a,value:l}}({disabled:null!=h?h:null==n?void 0:n.disabled,defaultValue:p,error:m,onBlur:w,onClick:y,onChange:b,onFocus:S,required:null!=T?T:null==n?void 0:n.required,value:P}),j={[t.disabled]:N,[t.error]:M,[t.focused]:B,[t.formControl]:!!n,[f]:f},_={[t.disabled]:N};return(0,i.Z)({formControl:n,propsToForward:{"aria-describedby":a,"aria-label":l,"aria-labelledby":u,autoComplete:c,autoFocus:d,disabled:N,id:g,onKeyDown:x,onKeyUp:k,name:v,placeholder:C,readOnly:Z,type:A},rootStateClasses:j,inputStateClasses:_,getRootProps:L,getInputProps:O,focused:B,error:M,disabled:N},R)}(h,Z),{propsToForward:g,rootStateClasses:v,inputStateClasses:y,getRootProps:b,getInputProps:w,formControl:C,focused:B,error:M=!1,disabled:N=!1,size:j="md",color:_="neutral",variant:H="outlined",startDecorator:$,endDecorator:V,minRows:W,maxRows:q,component:U,slots:J={},slotProps:Q={}}=m,G=(0,r.Z)(m,T),X=null!=(n=null!=(a=e.disabled)?a:null==C?void 0:C.disabled)?n:N,Y=null!=(l=null!=(u=e.error)?u:null==C?void 0:C.error)?l:M,K=null!=(c=null!=(d=e.size)?d:null==C?void 0:C.size)?c:j,{getColor:ee}=(0,k.VT)(H),et=ee(e.color,Y?"danger":null!=(f=null==C?void 0:C.color)?f:_),en=(0,i.Z)({},h,{color:et,disabled:X,error:Y,focused:B,size:K,variant:H}),er=A(en),ei=(0,i.Z)({},G,{component:U,slots:J,slotProps:Q}),[eo,ea]=(0,S.Z)("root",{ref:t,className:[er.root,v],elementType:P,externalForwardedProps:ei,getSlotProps:b,ownerState:en}),[el,eu]=(0,S.Z)("textarea",{additionalProps:{id:null==C?void 0:C.htmlFor,"aria-describedby":null==C?void 0:C["aria-describedby"]},className:[er.textarea,y],elementType:R,internalForwardedProps:(0,i.Z)({},g,{minRows:W,maxRows:q}),externalForwardedProps:ei,getSlotProps:w,ownerState:en}),[es,ec]=(0,S.Z)("startDecorator",{className:er.startDecorator,elementType:L,externalForwardedProps:ei,ownerState:en}),[ed,ef]=(0,S.Z)("endDecorator",{className:er.endDecorator,elementType:O,externalForwardedProps:ei,ownerState:en});return(0,p.jsxs)(eo,(0,i.Z)({},ea,{children:[$&&(0,p.jsx)(es,(0,i.Z)({},ec,{children:$})),(0,p.jsx)(el,(0,i.Z)({},eu)),V&&(0,p.jsx)(ed,(0,i.Z)({},ef,{children:V}))]}))});var M=B},55907:function(e,t,n){"use strict";n.d(t,{Yb:function(){return l},yP:function(){return a}});var r=n(67294),i=n(85893);let o=r.createContext(void 0);function a(e,t){var n;let i,a;let l=r.useContext(o),[u,s]="string"==typeof l?l.split(":"):[],c=(n=u||void 0,i=s||void 0,a=n,"outlined"===n&&(i="neutral",a="plain"),"plain"===n&&(i="neutral"),{variant:a,color:i});return c.variant=e||c.variant,c.color=t||c.color,c}function l({children:e,color:t,variant:n}){return(0,i.jsx)(o.Provider,{value:`${n||""}:${t||""}`,children:e})}},36425:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},54895:function(e,t,n){"use strict";var r=n(67294);let i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;t.Z=i},89326:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r,i=n(67294);let o=0,a=(r||(r=n.t(i,2)))["useId".toString()];function l(e){if(void 0!==a){let t=a();return null!=e?e:t}return function(e){let[t,n]=i.useState(e),r=e||t;return i.useEffect(()=>{null==t&&n(`mui-${o+=1}`)},[t]),r}(e)}},11136:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(67294);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 o=!0,a=!1,l=new i,u={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 s(e){e.metaKey||e.altKey||e.ctrlKey||(o=!0)}function c(){o=!1}function d(){"hidden"===this.visibilityState&&a&&(o=!0)}function f(){let e=r.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",d,!0)}},[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return o||function(e){let{type:t,tagName:n}=e;return"INPUT"===n&&!!u[t]&&!e.readOnly||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,()=>{a=!1}),t.current=!1,!0)},ref:e}}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,d=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new h(e),v(r),t}}function h(e){this.start=e,this.end={line:c,column:d},this.source=u.source}h.prototype.content=e;var m=[];function g(t){var n=Error(u.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=d,n.source=e,u.silent)m.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return v(r),function(){var e,n=[];for(y(n);e=function(){var e=p(),n=v(i);if(n){if(b(),!v(o))return g("property missing ':'");var r=v(a),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return v(l),u}}();)!1!==e&&(n.push(e),y(n));return n}()}},92703:function(e,t,n){"use strict";var r=n(50414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},44829: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)}},57848:function(e,t,n){var r=n(18139);function i(e,t){var n,i,o,a=null;if(!e||"string"!=typeof e)return a;for(var l=r(e),u="function"==typeof t,s=0,c=l.length;se.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(i=o):(l=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(f(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;f(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let l=e.charCodeAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=u,l=0;continue}}else if(i.length>0){i="",o=0,a=u,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,l=0}else 46===n&&l>-1?l++:l=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let m=["history","path","basename","stem","extname","dirname"];class g{constructor(e){let t,n;t=e?"string"==typeof e||o(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r{if(!e&&t&&n){let r=l.stringify(t,n);null==r||("string"==typeof r||o(r)?n.value=r:n.result=r),a(e,n)}else a(e)})}n(null,t)},l.processSync=function(e){let t;l.freeze(),I("processSync",l.Parser),E("processSync",l.Compiler);let n=A(e);return l.process(n,function(e){t=!0,(0,x.N)(e)}),T("processSync","process",t),n},l;function l(){let t=e(),n=-1;for(;++no?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a0?(O(e,e.length,0,t),e):t}let M={}.hasOwnProperty,N=X(/[A-Za-z]/),j=X(/[\dA-Za-z]/),_=X(/[#-'*+\--9=?A-Z^-~]/);function H(e){return null!==e&&(e<32||127===e)}let $=X(/\d/),V=X(/[\dA-Fa-f]/),W=X(/[!-/:-@[-`{-~]/);function q(e){return null!==e&&e<-2}function U(e){return null!==e&&(e<0||32===e)}function J(e){return -2===e||-1===e||32===e}let Q=X(/[!-\/:-@\[-`\{-~\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]/),G=X(/\s/);function X(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function Y(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return J(r)?(e.enter(n),function r(a){return J(a)&&o++r))return;let l=i.events.length,u=l;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(g(a),o=l;ot;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},et={tokenize:function(e,t,n){return Y(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},en={tokenize:function(e,t,n){return function(t){return J(t)?Y(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||q(e)?t(e):n(e)}},partial:!0};function er(e,t,n,r){let i;let o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},el={tokenize:function(e){let t=this,n=e.attempt(en,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,Y(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eo,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}}},eu={resolveAll:ef()},es=ed("string"),ec=ed("text");function ed(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function u(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i=3&&(null===a||q(a))?(e.exit("thematicBreak"),t(a)):n(a)}(o)}}},eg={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:$(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(em,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return $(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(en,r.interrupt?n:u,e.attempt(ev,c,s))}function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function s(t){return J(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+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(en,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Y(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!J(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ey,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Y(e,e.attempt(eg,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},ev={tokenize:function(e,t,n){let r=this;return Y(e,function(e){let i=r.events[r.events.length-1];return!J(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ey={tokenize:function(e,t,n){let r=this;return Y(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},eb={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"),i}return n(t)};function i(n){return J(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 J(t)?Y(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eb,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function ex(e,t,n,r,i,o,a,l,u){let s=u||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||H(t)?n(t):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),d(t)):null===t||60===t||q(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function h(i){return!c&&(null===i||41===i||U(i))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(i)):c999||null===d||91===d||93===d&&!a||94===d&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):q(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||q(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),a||(a=!J(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function eS(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,l):n(t)};function l(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===a?(e.exit(o),l(a)):null===t?n(t):q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Y(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===a||null===t||q(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:s)}function c(t){return t===a||92===t?(e.consume(t),s):s(t)}}function ew(e,t){let n;return function r(i){return q(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):J(i)?Y(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function eC(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let eZ={tokenize:function(e,t,n){return function(t){return U(t)?ew(e,r)(t):n(t)};function r(t){return eS(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return J(t)?Y(e,o,"whitespace")(t):o(t)}function o(e){return null===e||q(e)?t(e):n(e)}},partial:!0},ez={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),Y(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):q(n)?e.attempt(eI,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||q(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},eI={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):Y(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):q(e)?i(e):n(e)}},partial:!0},eE={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),J(n)?Y(e,o,"lineSuffix")(n):o(n))}(t)):n(t)};function o(r){return null===r||q(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},eF=["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"],eD=["pre","script","style","textarea"],eT={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(en,t,n)}},partial:!0},eA={tokenize:function(e,t,n){let r=this;return function(t){return q(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eP={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"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},eR={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),J(t)?Y(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=l?(e.exit("codeFencedFenceSequence"),J(i)?Y(e,s,"whitespace")(i):s(i)):n(i)}(t)):n(t)}function s(r){return null===r||q(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a=0,l=0;return function(t){return function(t){let o=i.events[i.events.length-1];return a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),J(i)?Y(e,u,"whitespace")(i):u(i))}(t)}(t)};function u(o){return null===o||q(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(eP,c,h)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||q(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):J(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Y(e,s,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function s(t){return null===t||q(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||q(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&J(t)?Y(e,p,"linePrefix",a+1)(t):p(t)}function p(t){return null===t||q(t)?e.check(eP,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||q(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var eL=n(44301);let eO={name:"characterReference",tokenize:function(e,t,n){let r,i;let o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,i=j,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=V,s):(e.enter("characterReferenceValue"),r=7,i=$,s(t))}function s(l){if(59===l&&a){let r=e.exit("characterReferenceValue");return i!==j||(0,eL.T)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&a++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);eq(d,-l),eq(f,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=B(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=B(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=B(u,eh(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=B(u,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,u=B(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):s=0,O(e,n-1,c-n+3,u),c=n+u.length-s-2;break}}for(c=-1;++co&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},O(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:em,45:[eE,em],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,o,a,l;let u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),s};function s(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,p):63===a?(e.consume(a),r=3,u.interrupt?t:A):N(a)?(e.consume(a),o=String.fromCharCode(a),h):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,f):N(i)?(e.consume(i),r=4,u.interrupt?t:A):n(i)}function d(r){return 45===r?(e.consume(r),u.interrupt?t:A):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?u.interrupt?t:C:f:n(r)}function p(t){return N(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(a){if(null===a||47===a||62===a||U(a)){let l=47===a,s=o.toLowerCase();return!l&&!i&&eD.includes(s)?(r=1,u.interrupt?t(a):C(a)):eF.includes(o.toLowerCase())?(r=6,l)?(e.consume(a),m):u.interrupt?t(a):C(a):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(a):i?function t(n){return J(n)?(e.consume(n),t):S(n)}(a):g(a))}return 45===a||j(a)?(e.consume(a),o+=String.fromCharCode(a),h):n(a)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),S):58===t||95===t||N(t)?(e.consume(t),v):J(t)?(e.consume(t),g):S(t)}function v(t){return 45===t||46===t||58===t||95===t||j(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):J(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,x):J(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||U(n)?y(n):(e.consume(n),t)}(t)}function x(t){return t===l?(e.consume(t),l=null,k):null===t||q(t)?n(t):(e.consume(t),x)}function k(e){return 47===e||62===e||J(e)?g(e):n(e)}function S(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||q(t)?C(t):J(t)?(e.consume(t),w):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),E):60===t&&1===r?(e.consume(t),F):62===t&&4===r?(e.consume(t),P):63===t&&3===r?(e.consume(t),A):93===t&&5===r?(e.consume(t),T):q(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(eT,R,Z)(t)):null===t||q(t)?(e.exit("htmlFlowData"),Z(t)):(e.consume(t),C)}function Z(t){return e.check(eA,z,R)(t)}function z(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||q(t)?Z(t):(e.enter("htmlFlowData"),C(t))}function E(t){return 45===t?(e.consume(t),A):C(t)}function F(t){return 47===t?(e.consume(t),o="",D):C(t)}function D(t){if(62===t){let n=o.toLowerCase();return eD.includes(n)?(e.consume(t),P):C(t)}return N(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),D):C(t)}function T(t){return 93===t?(e.consume(t),A):C(t)}function A(t){return 62===t?(e.consume(t),P):45===t&&2===r?(e.consume(t),A):C(t)}function P(t){return null===t||q(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),P)}function R(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:eE,95:em,96:eR,126:eR},eY={38:eO,92:eB},eK={[-5]:eM,[-4]:eM,[-3]:eM,33:e$,38:eO,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"),i};function i(t){return N(t)?(e.consume(t),o):l(t)}function o(t){return 43===t||45===t||46===t||j(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||j(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function a(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||H(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),u):_(t)?(e.consume(t),l):n(t)}function u(i){return j(i)?function i(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||j(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o;let a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),x):63===t?(e.consume(t),y):N(t)?(e.consume(t),S):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),i=0,p):N(t)?(e.consume(t),v):n(t)}function s(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):q(t)?(o=c,D(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?F(e):45===e?d(e):c(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:p):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):q(t)?(o=h,D(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?F(t):93===t?(e.consume(t),g):h(t)}function v(t){return null===t||62===t?F(t):q(t)?(o=v,D(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):q(t)?(o=y,D(t)):(e.consume(t),y)}function b(e){return 62===e?F(e):y(e)}function x(t){return N(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||j(t)?(e.consume(t),k):function t(n){return q(n)?(o=t,D(n)):J(n)?(e.consume(n),t):F(n)}(t)}function S(t){return 45===t||j(t)?(e.consume(t),S):47===t||62===t||U(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),F):58===t||95===t||N(t)?(e.consume(t),C):q(t)?(o=w,D(t)):J(t)?(e.consume(t),w):F(t)}function C(t){return 45===t||46===t||58===t||95===t||j(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),Z):q(n)?(o=t,D(n)):J(n)?(e.consume(n),t):w(n)}(t)}function Z(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,z):q(t)?(o=Z,D(t)):J(t)?(e.consume(t),Z):(e.consume(t),I)}function z(t){return t===r?(e.consume(t),r=void 0,E):null===t?n(t):q(t)?(o=z,D(t)):(e.consume(t),z)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||U(t)?w(t):(e.consume(t),I)}function E(e){return 47===e||62===e||U(e)?w(e):n(e)}function F(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),T}function T(t){return J(t)?Y(e,A,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):A(t)}function A(t){return e.enter("htmlTextData"),o(t)}}}],91:eU,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return q(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},eB],93:eN,95:eW,96:{name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),a):96===u?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",l(a))}(u)):q(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(u))}function l(t){return null===t||32===t||96===t||q(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t13&&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)}let e3=/\\([!-/:-@[-`{-~])|&(#(?:\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 e6(n.slice(t?2:1),t?16:10)}return(0,eL.T)(n)||e}let e9={}.hasOwnProperty,e7=function(e,t,n){let i,o,l,u;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(x),autolinkProtocol:f,autolinkEmail:f,atxHeading:o(v),blockQuote:o(function(){return{type:"blockquote",children:[]}}),characterEscape:f,characterReference:f,codeFenced:o(g),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(g,l),codeText:o(function(){return{type:"inlineCode",value:""}},l),codeTextData:f,data:f,codeFlowValue:f,definition:o(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:o(y),hardBreakTrailing:o(y),htmlFlow:o(b,l),htmlFlowData:f,htmlText:o(b,l),htmlTextData:f,image:o(function(){return{type:"image",title:null,url:"",alt:null}}),label:l,link:o(x),listItem:o(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(n.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0}},listOrdered:o(k,function(){n.expectingFirstListItemValue=!0}),listUnordered:o(k),paragraph:o(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(v),strong:o(function(){return{type:"strong",children:[]}}),thematicBreak:o(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){p.call(this,e);let t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let t;let r=this.sliceSerialize(e),i=n.characterReferenceType;if(i)t=e6(r,"characterReferenceMarkerNumeric"===i?10:16),n.characterReferenceType=void 0;else{let e=(0,eL.T)(r);t=e}let o=this.stack.pop();o.value+=t,o.position.end=e8(e.end)},codeFenced:s(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.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:p,codeIndented:s(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),codeTextData:p,data:p,definition:s(),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=eC(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e},emphasis:s(),hardBreakEscape:s(h),hardBreakTrailing:s(h),htmlFlow:s(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlFlowData:p,htmlText:s(function(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}),htmlTextData:p,image:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(n.inReference=!0,"link"===r.type){let t=e.children;r.children=t}else r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(e3,e5),n.identifier=eC(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(n.atHardBreak){let t=r.children[r.children.length-1];t.position.end=e8(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(f.call(this,e),p.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(n.inReference){let t=n.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;n.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=eC(this.sliceSerialize(e)).toLowerCase(),n.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(){n.inReference=void 0},setextHeading:s(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let t=this.stack[this.stack.length-1];t.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r0){let e=o.tokenStack[o.tokenStack.length-1],t=e[1]||te;t.call(o,void 0,e[0])}for(n.position={start:e8(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e8(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function p(e,t){t.restore()}function h(e,t){return function(n,i,o){let a,c,d,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null,i=[...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]];return h(i)(e)};function h(e){return(a=e,c=0,0===e.length)?o:m(e[c])}function m(e){return function(n){return(p=function(){let e=f(),t=s.previous,n=s.currentConstruct,i=s.events.length,o=Array.from(l);return{restore:function(){r=e,s.previous=t,s.currentConstruct=n,s.events.length=i,l=o,g()},from:i}}(),d=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(s),t):s,u,v,y)(n)}}function v(t){return e(d,p),i}function y(e){return(p.restore(),++c{let n=this.data("settings");return e7(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}tr(/[A-Za-z]/);let tn=tr(/[\dA-Za-z]/);function tr(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function ti(e){let t=[],n=-1,r=0,i=0;for(;++n55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}tr(/[#-'*+\--9=?A-Z^-~]/),tr(/\d/),tr(/[\dA-Fa-f]/),tr(/[!-/:-@[-`{-~]/),tr(/[!-\/:-@\[-`\{-~\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]/),tr(/\s/);let to=function(e){if(null==e)return tl;if("string"==typeof e)return ta(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return c;function c(){var s;let c,d,f,p=[];if((!t||i(a,l,u[u.length-1]||null))&&!1===(p=Array.isArray(s=n(a,u))?s:"number"==typeof s?[!0,s]:[s])[0])return p;if(a.children&&"skip"!==p[0])for(d=(r?a.children.length:-1)+o,f=u.concat(a);d>-1&&d-1?n.offset:null}}}let tp=function(e){if(null==e)return tm;if("string"==typeof e)return th(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return c;function c(){var s;let c,d,f,p=[];if((!t||i(a,l,u[u.length-1]||null))&&!1===(p=Array.isArray(s=n(a,u))?s:"number"==typeof s?[!0,s]:[s])[0])return p;if(a.children&&"skip"!==p[0])for(d=(r?a.children.length:-1)+o,f=u.concat(a);d>-1&&d1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function tk(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 i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function tS(e){let t=e.spread;return null==t?e.children.length>1:t}var tw=n(81436);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?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},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:tx,footnote:function(e,t){let n=e.footnoteById,r=1;for(;(r in n);)r++;let i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},tx(e,{type:"footnoteReference",identifier:i,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 tk(e,t);let r={src:ti(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){let n={src:ti(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 tk(e,t);let r={href:ti(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){let n={href:ti(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),i=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:[]}),o.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=tc(t.children[1]),a=td(t.children[t.children.length-1]);o.line&&a.line&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},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,i=r?r.indexOf(t):1,o=0===i?"th":"td",a=n&&"table"===n.type?n.align:void 0,l=a?a.length:t.children.length,u=-1,s=[];for(;++u0&&n.push({type:"text",value:"\n"}),n}function tA(e,t){let n=function(e,t){let n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...tC,...n.handlers},a.definition=function(e){let t=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return tv(e,"definition",e=>{let n=tb(e.identifier);n&&!ty.call(t,n)&&(t[n]=e)}),function(e){let n=tb(e);return n&&ty.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=tI,a.applyData=tE,a.one=function(e,t){return tF(a,e,t)},a.all=function(e){return tD(a,e)},a.wrap=tT,a.augment=o,ts(e,"footnoteDefinition",e=>{let t=String(e.identifier).toUpperCase();tz.call(i,t)||(i[t]=e)}),a;function o(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:tc(n),end:td(n)})}return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){let t=[],n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(t)}let s=i[i.length-1];if(s&&"element"===s.type&&"p"===s.tagName){let e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...u)}else i.push(...u);let c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}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 i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var tP=function(e,t){var n;return e&&"run"in e?(n,r,i)=>{e.run(tA(n,t),r,e=>{i(e)})}:(n=e||t,e=>tA(e,n))},tR=n(45697),tL=n(91634);let tO=function(e){if(null==e)return tM;if("string"==typeof e)return tB(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return c;function c(){var s;let c,d,f,p=[];if((!t||i(a,l,u[u.length-1]||null))&&!1===(p=Array.isArray(s=n(a,u))?s:"number"==typeof s?[!0,s]:[s])[0])return p;if(a.children&&"skip"!==p[0])for(d=(r?a.children.length:-1)+o,f=u.concat(a);d>-1&&d{tj(t,"element",(t,n,r)=>{let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,r)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?r.children.splice(n,1,...t.children):r.children.splice(n,1),n})}}var tH=n(59864),t$=n(26103),tV=n(33880),tW=n(50342),tq=n(25668),tU=n(57848);let tJ=["http","https","mailto","tel"];function tQ(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;let r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++ii||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}let tG={}.hasOwnProperty,tX=new Set(["table","thead","tbody","tfoot","tr"]);function tY(e,t){let n=-1,r=0;for(;++n for more info)`),delete t1[t]}let t=C().use(tt).use(e.remarkPlugins||[]).use(tP,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(t_,e),n=new g;"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 o=i.createElement(i.Fragment,{},function e(t,n){let r;let o=[],a=-1;for(;++a0?i.createElement(m,d,p):i.createElement(m,d)}(t,r,a,n)):"text"===r.type?"element"===n.type&&tX.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)||o.push(r.value):"raw"!==r.type||t.options.skipHtml||o.push(r.value);return o}({options:e,schema:tL.dy,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}t2.propTypes={children:tR.string,className:tR.string,allowElement:tR.func,allowedElements:tR.arrayOf(tR.string),disallowedElements:tR.arrayOf(tR.string),unwrapDisallowed:tR.bool,remarkPlugins:tR.arrayOf(tR.oneOfType([tR.object,tR.func,tR.arrayOf(tR.oneOfType([tR.bool,tR.string,tR.object,tR.func,tR.arrayOf(tR.any)]))])),rehypePlugins:tR.arrayOf(tR.oneOfType([tR.object,tR.func,tR.arrayOf(tR.oneOfType([tR.bool,tR.string,tR.object,tR.func,tR.arrayOf(tR.any)]))])),sourcePos:tR.bool,rawSourcePos:tR.bool,skipHtml:tR.bool,includeElementIndex:tR.bool,transformLinkUri:tR.oneOfType([tR.func,tR.bool]),linkTarget:tR.oneOfType([tR.func,tR.string]),transformImageUri:tR.func,components:tR.object}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/8709-0fd030e811cfd483.js b/dbgpt/app/static/web/_next/static/chunks/8709-0fd030e811cfd483.js deleted file mode 100644 index 167b2e557..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/8709-0fd030e811cfd483.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8709],{21332:function(e,t,l){l.d(t,{_:function(){return I},a:function(){return D}});var a=l(85893),n=l(34041),r=l(71230),s=l(15746),i=l(42075),c=l(83062),d=l(14726),o=l(32983),u=l(99802),m=l(64371),h=l(64352),x=l(8625),p=l(96486);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(67294);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(41468);let E=e=>{if(!e)return;let t=e.getContainer(),l=t.getElementsByTagName("canvas")[0];return l};var T=l(69753);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:"暂无合适的可视化视图"})}},39156:function(e,t,l){l.d(t,{_z:function(){return p._},ZP:function(){return v},aG:function(){return p.a}});var a=l(85893),n=l(41118),r=l(30208),s=l(40911),i=l(41468),c=l(99802),d=l(67294);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(61685),h=l(96486);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(21332),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)))})}},30853:function(e,t,l){l.d(t,{Z:function(){return eN}});var a=l(85893),n=l(29158),r=l(98165),s=l(14079),i=l(25160),c=l(95988),d=l(72906),o=l(66309),u=l(42611),m=l(11941),h=l(39156),x=l(14660),p=l(55186),v=l(39718),g=l(35790),j=l(18102),f=l(91776),y=l(96074),b=l(85265),N=l(11163),_=l(67294);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(14313),S=l(88284),O=l(30071),P=l(47221),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(14726),D=l(45360),M=l(85175),I=l(94969),R=l(12187),q=l(84502),z=l(20640),Q=l.n(z),J=l(41468);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(21332),K=l(62418),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(93967),V=l.n(G),U=l(28508),W=l(67421),H=l(89144),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(79090);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(48218),er=l(18429),es=l(8751),ei=l(74330),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(69256),eo=l(73913),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(12576),eh=l(63086),ex=l(54143),ep=l(13109),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},18102:function(e,t,l){l.r(t);var a=l(85893),n=l(30853);l(67294);var r=l(95988),s=l(14660),i=l(55186);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/8709-c8ebd65cc988bf10.js b/dbgpt/app/static/web/_next/static/chunks/8709-c8ebd65cc988bf10.js new file mode 100644 index 000000000..37add3d65 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/8709-c8ebd65cc988bf10.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8709],{21332:function(e,t,a){a.d(t,{_:function(){return I},a:function(){return D}});var l=a(85893),r=a(41468),n=a(64371),s=a(69753),i=a(99802),c=a(34041),d=a(71230),o=a(15746),u=a(42075),m=a(83062),h=a(14726),x=a(32983),p=a(96486),v=a(67294);let g=e=>{if(!e)return;let t=e.getContainer(),a=t.getElementsByTagName("canvas")[0];return a};var f=a(64352),j=a(8625);let y=e=>{let{charts:t,scopeOfCharts:a,ruleConfig:l}=e,r={};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});r[e.chartType]=e.chartKnowledge}),(null==a?void 0:a.exclude)&&a.exclude.forEach(e=>{Object.keys(r).includes(e)&&delete r[e]}),null==a?void 0:a.include){let e=a.include;Object.keys(r).forEach(t=>{e.includes(t)||delete r[t]})}let n={...a,custom:r},s={...l},i=new f.w({ckbCfg:n,ruleCfg:s});return i},b=e=>{var t;let{data:a,dataMetaMap:l,myChartAdvisor:r}=e,n=l?Object.keys(l).map(e=>({name:e,...l[e]})):null,s=new j.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==r?void 0:r.adviseWithLog({data:a,dataProps:n,fields:null==i?void 0:i.map(e=>e.name)});return null!==(t=null==c?void 0:c.advices)&&void 0!==t?t:[]};function N(e,t){return t.every(t=>e.includes(t))}function _(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 k(e){return e.find(e=>{var t;return e.levelOfMeasurements&&(t=e.levelOfMeasurements,["Time","Ordinal"].some(e=>t.includes(e)))})}function Z(e){return e.find(e=>e.levelOfMeasurements&&N(e.levelOfMeasurements,["Nominal"]))}let w=e=>{let{data:t,xField:a}=e,l=(0,p.uniq)(t.map(e=>e[a]));return l.length<=1},C=(e,t,a)=>{let{field4Split:l,field4X:r}=a;if((null==l?void 0:l.name)&&(null==r?void 0:r.name)){let a=e[l.name],n=t.filter(e=>l.name&&e[l.name]===a);return w({data:n,xField:r.name})?5:void 0}return(null==r?void 0:r.name)&&w({data:t,xField:r.name})?5:void 0},S=e=>{let{data:t,chartType:a,xField:l}=e,r=(0,p.cloneDeep)(t);try{if(a.includes("line")&&(null==l?void 0:l.name)&&"date"===l.recommendation)return r.sort((e,t)=>new Date(e[l.name]).getTime()-new Date(t[l.name]).getTime()),r;a.includes("line")&&(null==l?void 0:l.name)&&["float","integer"].includes(l.recommendation)&&r.sort((e,t)=>e[l.name]-t[l.name])}catch(e){console.error(e)}return r},O=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})},P="multi_line_chart",E="multi_measure_line_chart",T=[{chartType:"multi_line_chart",chartKnowledge:{id:P,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 r=k(t),n=Z(t),s=null!==(a=null!=r?r:n)&&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&&N(e.levelOfMeasurements,["Interval"])))&&void 0!==l?l:[i[0]],d=i.filter(e=>!c.find(t=>t.name===e.name)).find(e=>e.levelOfMeasurements&&N(e.levelOfMeasurements,["Nominal"]));if(!s||!c)return null;let o={type:"view",autoFit:!0,data:S({data:e,chartType:P,xField:s}),children:[]};return c.forEach(a=>{let l={type:"line",encode:{x:_(s.name,t),y:a.name,size:t=>C(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=>N(e.levelOfMeasurements,["Interval"])),l=Z(t),r=k(t),n=null!=l?l:r;if(!n||!a)return null;let s={type:"view",data:e,children:[]};return null==a||a.forEach(e=>{let t={type:"interval",encode:{x:n.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:E,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 r=null!==(l=null!==(a=Z(t))&&void 0!==a?a:k(t))&&void 0!==l?l:t[0],n=null==t?void 0:t.filter(e=>e.name!==(null==r?void 0:r.name)&&N(e.levelOfMeasurements,["Interval"]));if(!r||!n)return null;let s={type:"view",data:S({data:e,chartType:E,xField:r}),children:[]};return null==n||n.forEach(a=>{let l={type:"line",encode:{x:_(r.name,t),y:a.name,color:()=>a.name,series:()=>a.name,size:t=>C(t,e,{field4X:r})},legend:{size:!1}};s.children.push(l)}),s}catch(e){return console.log(e),null}}},chineseName:"折线图"}],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}=c.default,I=e=>{let{data:t,chartType:a,scopeOfCharts:f,ruleConfig:j}=e,N=O(t),{mode:_}=(0,v.useContext)(r.p),[k,Z]=(0,v.useState)(),[w,C]=(0,v.useState)([]),[P,E]=(0,v.useState)(),D=(0,v.useRef)();(0,v.useEffect)(()=>{Z(y({charts:T,scopeOfCharts:{exclude:["area_chart","stacked_area_chart","percent_stacked_area_chart"]},ruleConfig:j}))},[j,f]);let I=e=>{if(!k)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)))),r=l.map(e=>{let a=t.find(t=>t.type===e);if(a)return a;let l=k.dataAnalyzer.execute({data:N});if("data"in l){var r;let t=k.specGenerator.execute({data:l.data,dataProps:l.dataProps,chartTypeRecommendations:[{chartType:e,score:1}]});if("advices"in t)return null===(r=t.advices)||void 0===r?void 0:r[0]}}).filter(e=>null==e?void 0:e.spec);return r};(0,v.useEffect)(()=>{if(N&&k){var e;let t=b({data:N,myChartAdvisor:k}),a=I(t);C(a),E(null===(e=a[0])||void 0===e?void 0:e.type)}},[JSON.stringify(N),k,a]);let R=(0,v.useMemo)(()=>{if((null==w?void 0:w.length)>0){var e,t,a,r;let n=null!=P?P:w[0].type,s=null!==(t=null===(e=null==w?void 0:w.find(e=>e.type===n))||void 0===e?void 0:e.spec)&&void 0!==t?t:void 0;if(s){if(s.data&&["line_chart","step_line_chart"].includes(n)){let e=null==k?void 0:k.dataAnalyzer.execute({data:N});e&&"dataProps"in e&&(s.data=S({data:s.data,xField:null===(r=e.dataProps)||void 0===r?void 0:r.find(e=>"date"===e.recommendation),chartType:n}))}return"pie_chart"===n&&(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)(i.k,{options:{...s,autoFit:!0,theme:_,height:300},ref:D},n)}}},[w,_,P]);return P?(0,l.jsxs)("div",{children:[(0,l.jsxs)(d.Z,{justify:"space-between",className:"mb-2",children:[(0,l.jsx)(o.Z,{children:(0,l.jsxs)(u.Z,{children:[(0,l.jsx)("span",{children:n.Z.t("Advices")}),(0,l.jsx)(c.default,{className:"w-52",value:P,placeholder:"Chart Switcher",onChange:e=>E(e),size:"small",children:null==w?void 0:w.map(e=>{let t=n.Z.t(e.type);return(0,l.jsx)(M,{value:e.type,children:(0,l.jsx)(m.Z,{title:t,placement:"right",children:(0,l.jsx)("div",{children:t})})},e.type)})})]})}),(0,l.jsx)(o.Z,{children:(0,l.jsx)(m.Z,{title:n.Z.t("Download"),children:(0,l.jsx)(h.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=g(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)})(D.current,n.Z.t(P)),icon:(0,l.jsx)(s.Z,{}),type:"text"})})})]}),(0,l.jsx)("div",{className:"flex",children:R})]}):(0,l.jsx)(x.Z,{image:x.Z.PRESENTED_IMAGE_SIMPLE,description:"暂无合适的可视化视图"})}},39156:function(e,t,a){a.d(t,{_z:function(){return p._},ZP:function(){return v},aG:function(){return p.a}});var l=a(85893),r=a(41118),n=a(30208),s=a(40911),i=a(67294),c=a(41468),d=a(99802);function o(e){let{chart:t}=e,{mode:a}=(0,i.useContext)(c.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)(d.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,i.useContext)(c.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)(d.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(61685),h=a(96486);function x(e){var t,a;let{chart:r}=e,n=(0,h.groupBy)(r.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:r.chart_name}),(0,l.jsx)("div",{className:"opacity-80 text-sm mb-2",children:r.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(n).map(e=>(0,l.jsx)("th",{children:e},e))})}),(0,l.jsx)("tbody",{children:null===(t=Object.values(n))||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(n))||void 0===a?void 0:a.map(e=>{var a;return(0,l.jsx)("td",{children:(null==n?void 0:null===(a=n[e])||void 0===a?void 0:a[t].value)||""},e)})},t)})})]})})]})})}var p=a(21332),v=function(e){let{chartsData:t}=e,a=(0,i.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),r=l.length,n=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][r].forEach(t=>{if(t>0){let a=l.slice(n,n+t);n+=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)(r.Z,{sx:{background:"transparent"},children:(0,l.jsxs)(n.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)))})}},30853:function(e,t,a){a.d(t,{Z:function(){return ek}});var l=a(85893),r=a(39156),n=a(62418),s=a(29158),i=a(98165),c=a(14079),d=a(25160),o=a(38292),u=a(72906),m=a(66309),h=a(42611),x=a(11941),p=a(14660),v=a(55186),g=a(18102),f=a(91776),j=a(96074),y=a(85265),b=a(11163),N=a(67294);let _=e=>{let{references:t}=e,a=(0,b.useRouter)(),[r,n]=(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)(f.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)(g.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:()=>n(!0),children:[(0,l.jsx)(s.Z,{}),(0,l.jsx)("span",{className:"text-sm",children:"查看回复引用"})]}),(0,l.jsx)(y.Z,{open:r,title:"回复引用",placement:i?"bottom":"right",onClose:()=>n(!1),destroyOnClose:!0,className:"p-0",...!i&&{width:"30%"},children:(0,l.jsx)(x.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}},Z=a(48218),w=a(30071),C=a(18429),S=a(8751),O=a(79090),P=a(74330),E=e=>{let{data:t}=e,a=(0,N.useMemo)(()=>{switch(t.status){case"todo":return(0,l.jsx)(w.Z,{});case"failed":return(0,l.jsx)(C.Z,{className:"text-[rgb(255,77,79)]"});case"complete":return(0,l.jsx)(S.Z,{className:"text-[rgb(82,196,26)]"});case"running":return(0,l.jsx)(P.Z,{indicator:(0,l.jsx)(O.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)(Z.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)(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,l.jsx)("div",{className:"text-2xl ml-1",children:a})]}),"failed"===t.status&&t.msg&&(0,l.jsx)(f.Z.Text,{type:"danger",className:"pl-12 text-xs mt-2",children:t.msg})]}):null},T=a(69256),D=a(73913),M=a(14726),I=e=>{let{children:t,msg:a}=e,{handleChat:r}=(0,N.useContext)(T.ChatContentContext),{handleChat:n}=(0,N.useContext)(D.MobileChatContext);return(0,l.jsx)(M.ZP,{className:"ml-1 inline text-xs",onClick:()=>{null==n||n(a),null==r||r(a)},type:"dashed",size:"small",children:t||"点击分析当前异常"})},R=a(41468),q=a(12576),z=a(63086),Q=a(54143),J=a(13109),L=a(93967),A=a.n(L),K=e=>{let{data:t}=e,{mode:a}=(0,N.useContext)(R.p),r=(0,N.useMemo)(()=>{switch(t.status){case"complete":return"success";case"failed":return"error";case"running":return"warning";default:return}},[t]);if(!t)return null;let n="dark"===a?z.R:Q.K;return(0,l.jsxs)("div",{className:"flex flex-1 flex-col",children:[(0,l.jsx)(J.Z,{className:A()("mb-4",{"bg-[#fafafa] border-[transparent]":!r}),message:t.name,type:r,...r&&{showIcon:!0},..."warning"===r&&{icon:(0,l.jsx)(P.Z,{indicator:(0,l.jsx)(O.Z,{spin:!0})})}}),t.result&&(0,l.jsx)(q.ZP,{style:{...n,width:"100%",padding:10},className:A()({"bg-[#fafafa]":"light"===a}),value:JSON.parse(t.result||"{}"),enableClipboard:!1,displayDataTypes:!1,objectSortKeys:!1}),t.err_msg&&(0,l.jsx)(o.Z,{components:ek,remarkPlugins:[v.Z],rehypePlugins:[p.Z],children:t.err_msg})]})},F=a(39718),B=a(35790),G=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)(F.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)(B.Z,{className:"mx-2 text-base"}),e.receiver]})]}),(0,l.jsx)("div",{className:"whitespace-normal text-sm mb-3",children:(0,l.jsx)(o.Z,{components:ek,remarkPlugins:[v.Z],rehypePlugins:[p.Z],children:e.markdown})}),e.resource&&"null"!==e.resource&&(0,l.jsx)(k,{references:e.resource})]},t))}):null},V=a(14313),U=a(88284),W=a(47221),H=function(e){let{data:t}=e;return t&&t.length?(0,l.jsx)(W.Z,{bordered:!0,className:"my-3",expandIcon:e=>{let{isActive:t}=e;return(0,l.jsx)(V.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)(U.Z,{className:"!text-green-500 ml-2"}):(0,l.jsx)(w.Z,{className:"!text-gray-500 ml-2"})]}),children:(0,l.jsx)(o.Z,{components:ek,rehypePlugins:[p.Z],remarkPlugins:[v.Z],children:e.markdown})}))}):null},X=a(85175),$=a(45360),Y=a(20640),ee=a.n(Y),et=a(84502),ea=a(94969),el=a(12187);function er(e){let{code:t,light:a,dark:r,language:n,customStyle:s}=e,{mode:i}=(0,N.useContext)(R.p);return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(M.ZP,{className:"absolute right-3 top-2 text-gray-300 hover:!text-gray-200 bg-gray-700",type:"text",icon:(0,l.jsx)(X.Z,{}),onClick:()=>{let e=ee()(t);$.ZP[e?"success":"error"](e?"复制成功":"复制失败")}}),(0,l.jsx)(et.Z,{customStyle:s,language:n,style:"dark"===i?null!=r?r:ea.Z:null!=a?a:el.Z,children:t})]})}var en=a(21332),es=function(e){var t;let{data:a,type:r,sql:s}=e,i=(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})):[],c={key:"chart",label:"Chart",children:(0,l.jsx)(en._,{data:a,chartType:(0,en.a)(r)})},d={key:"sql",label:"SQL",children:(0,l.jsx)(er,{language:"sql",code:(0,n._m)(null!=s?s:"","mysql")})},o={key:"data",label:"Data",children:(0,l.jsx)(h.Z,{dataSource:a,columns:i,scroll:{x:"auto"}})},u="response_table"===r?[o,d]:[c,d,o];return(0,l.jsx)(x.Z,{defaultActiveKey:"response_table"===r?"data":"chart",items:u,size:"small"})},ei=function(e){let{data:t}=e;return t?(0,l.jsx)(es,{data:null==t?void 0:t.data,type:null==t?void 0:t.type,sql:null==t?void 0:t.sql}):null},ec=a(47727),ed=a(15273),eo=a(67421),eu=a(89144),em=function(e){let{data:t}=e,{t:a}=(0,eo.$G)(),[r,n]=(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:A()("px-4 py-2 text-[#121417] dark:text-white cursor-pointer",{"bg-white dark:bg-theme-dark-container":t===r}),onClick:()=>{n(t)},children:["CODE ",t+1,": ",e[0]]},t))}),t.code.length&&(0,l.jsx)(er,{language:t.code[r][0],code:t.code[r][1],customStyle:{maxHeight:300,margin:0},light:eu.Z,dark:el.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)(ec.Z,{className:"text-green-600"}):(0,l.jsx)(ed.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)(o.Z,{components:ek,remarkPlugins:[v.Z],children:t.log})})]})]})},eh=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)(er,{code:(0,n._m)(t.sql),language:"sql"})]})]})};let ex=[[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]];var ep=function(e){let{data:t}=e,a=(0,N.useMemo)(()=>{if(t.chart_count>1){let e=ex[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)(r._z,{data:e.data,chartType:(0,r.aG)(e.type)})]},"chart-".concat(t)))},"row-".concat(t)))})},ev=a(28508);let eg={todo:{bgClass:"bg-gray-500",icon:(0,l.jsx)(w.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,l.jsx)(O.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,l.jsx)(ev.Z,{className:"ml-2"})},complete:{bgClass:"bg-green-500",icon:(0,l.jsx)(U.Z,{className:"ml-2"})}};var ef=function(e){var t,a;let{data:r}=e,{bgClass:n,icon:s}=null!==(t=eg[r.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:A()("flex px-4 md:px-6 py-2 items-center text-white text-sm",n),children:[r.name,s]}),r.result?(0,l.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm whitespace-normal",children:(0,l.jsx)(o.Z,{components:ek,rehypePlugins:[p.Z],remarkPlugins:[v.Z],children:null!==(a=r.result)&&void 0!==a?a:""})}):(0,l.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:r.err_msg})]})};let ej=["custom-view","chart-view","references","summary"],ey={code:(0,d.r)({languageRenderers:{"agent-plans":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(H,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"agent-messages":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(G,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-convert-error":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(eh,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-dashboard":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(ep,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-chart":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(ei,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-plugin":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(ef,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-code":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(em,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-app-link":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(E,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}},"vis-api-response":e=>{let{className:t,children:a}=e,r=String(a),n=(null==t?void 0:t.replace("language-",""))||"javascript";try{let e=JSON.parse(r);return(0,l.jsx)(K,{data:e})}catch(e){return(0,l.jsx)(er,{language:n,code:r})}}},defaultRenderer(e){let{node:t,className:a,children:r,style:n,...s}=e,i=String(r),c=(null==a?void 0:a.replace("language-",""))||"",{context:d,matchValues:u}=function(e){let t=ej.reduce((t,a)=>{let l=RegExp("<".concat(a,"[^>]*/?>"),"gi");return e=e.replace(l,e=>(t.push(e),"")),t},[]);return{context:e,matchValues:t}}(i);return(0,l.jsxs)(l.Fragment,{children:[c?(0,l.jsx)(er,{code:d,language:c||"javascript"}):(0,l.jsx)("code",{...s,style:n,className:"p-1 mx-1 rounded bg-theme-light dark:bg-theme-dark text-sm",children:r}),(0,l.jsx)(o.Z,{components:e_,rehypePlugins:[p.Z],remarkPlugins:[v.Z],children:u.join("\n")})]})}})},eb={...ey,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)(s.Z,{className:"mr-1"}),(0,l.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",children:t})]})},img(e){let{src:t,alt:a}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(u.Z,{className:"min-h-[1rem] max-w-full max-h-full border rounded",src:t,alt:a,placeholder:(0,l.jsx)(m.Z,{icon:(0,l.jsx)(i.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,...r}=e;if("chat-link"===a){let e=null==r?void 0:r["data-msg"];return(0,l.jsx)(I,{msg:e,children:t})}return(0,l.jsx)("button",{className:a,...r,children:t})}},eN=e=>{let t={",":",","。":".","?":"?","!":"!",":":":",";":";","“":'"',"”":'"',"‘":"'","’":"'","(":"(",")":")","【":"[","】":"]","《":"<","》":">","—":"-","、":",","…":"..."},a=RegExp(Object.keys(t).join("|"),"g");return e.replace(a,e=>t[e])},e_={...eb,"chart-view":function(e){var t,a,s;let i,{content:c,children:d}=e;try{i=JSON.parse(c)}catch(e){console.log(e,c),i={type:"response_table",sql:"",data:[]}}let o=(null==i?void 0:null===(t=i.data)||void 0===t?void 0:t[0])?null===(a=Object.keys(null==i?void 0:null===(s=i.data)||void 0===s?void 0:s[0]))||void 0===a?void 0:a.map(e=>({title:e,dataIndex:e,key:e})):[],u={key:"chart",label:"Chart",children:(0,l.jsx)(r._z,{data:null==i?void 0:i.data,chartType:(0,r.aG)(null==i?void 0:i.type)})},m={key:"sql",label:"SQL",children:(0,l.jsx)(er,{code:(0,n._m)(eN(null==i?void 0:i.sql),"mysql"),language:"sql"})},p={key:"data",label:"Data",children:(0,l.jsx)(h.Z,{dataSource:null==i?void 0:i.data,columns:o,scroll:{x:!0},virtual:!0})},v=(null==i?void 0:i.type)==="response_table"?[p,m]:[u,m,p];return(0,l.jsxs)("div",{children:[(0,l.jsx)(x.Z,{defaultActiveKey:(null==i?void 0:i.type)==="response_table"?"data":"chart",items:v,size:"small"}),d]})},references:function(e){let{children:t}=e;if(t)try{let e=JSON.parse(t),a=e.references;return(0,l.jsx)(k,{references:a})}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)(c.Z,{className:"mr-2"}),(0,l.jsx)("span",{className:"font-semibold",children:"Document Summary"})]}),(0,l.jsx)("div",{children:t})]})}};var ek=e_},18102:function(e,t,a){a.r(t);var l=a(85893),r=a(30853),n=a(38292);a(67294);var s=a(14660),i=a(55186);t.default=e=>{let{children:t}=e;return(0,l.jsx)(n.Z,{components:{...r.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/905-0f83596e5a15f70c.js b/dbgpt/app/static/web/_next/static/chunks/905-0c5c5c53252325cf.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/905-0f83596e5a15f70c.js rename to dbgpt/app/static/web/_next/static/chunks/905-0c5c5c53252325cf.js diff --git a/dbgpt/app/static/web/_next/static/chunks/9200-0e937cd7ae6417f1.js b/dbgpt/app/static/web/_next/static/chunks/9200-0e937cd7ae6417f1.js new file mode 100644 index 000000000..cf5ae432e --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9200-0e937cd7ae6417f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9200,3913],{39055:function(e,l){l.Z={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"}},52645:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},11475:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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"},o=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},58638:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},83266:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},79090:function(e,l,t){var n=t(87462),r=t(67294),a=t(15294),o=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a.Z}))});l.Z=i},30159:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},87740:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},27496:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},41441:function(e,l,t){var n=t(87462),r=t(67294),a=t(39055),o=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a.Z}))});l.Z=i},2093:function(e,l,t){var n=t(97582),r=t(67294),a=t(92770);l.Z=function(e,l){(0,r.useEffect)(function(){var l=e(),t=!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)(l[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,l.next()];case 2:if(e.sent().done||t)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,l];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){t=!0}},l)}},86250:function(e,l,t){t.d(l,{Z:function(){return Z}});var n=t(67294),r=t(93967),a=t.n(r),o=t(98423),i=t(98065),s=t(53124),c=t(83559),u=t(87893);let d=["wrap","nowrap","wrap-reverse"],f=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],m=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],v=(e,l)=>{let t=!0===l.wrap?"wrap":l.wrap;return{[`${e}-wrap-${t}`]:t&&d.includes(t)}},p=(e,l)=>{let t={};return m.forEach(n=>{t[`${e}-align-${n}`]=l.align===n}),t[`${e}-align-stretch`]=!l.align&&!!l.vertical,t},h=(e,l)=>{let t={};return f.forEach(n=>{t[`${e}-justify-${n}`]=l.justify===n}),t},x=e=>{let{componentCls:l}=e;return{[l]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},g=e=>{let{componentCls:l}=e;return{[l]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},b=e=>{let{componentCls:l}=e,t={};return d.forEach(e=>{t[`${l}-wrap-${e}`]={flexWrap:e}}),t},y=e=>{let{componentCls:l}=e,t={};return m.forEach(e=>{t[`${l}-align-${e}`]={alignItems:e}}),t},j=e=>{let{componentCls:l}=e,t={};return f.forEach(e=>{t[`${l}-justify-${e}`]={justifyContent:e}}),t};var w=(0,c.I$)("Flex",e=>{let{paddingXS:l,padding:t,paddingLG:n}=e,r=(0,u.IX)(e,{flexGapSM:l,flexGap:t,flexGapLG:n});return[x(r),g(r),b(r),y(r),j(r)]},()=>({}),{resetStyle:!1}),_=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let C=n.forwardRef((e,l)=>{let{prefixCls:t,rootClassName:r,className:c,style:u,flex:d,gap:f,children:m,vertical:x=!1,component:g="div"}=e,b=_(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:j,getPrefixCls:C}=n.useContext(s.E_),Z=C("flex",t),[k,N,S]=w(Z),E=null!=x?x:null==y?void 0:y.vertical,$=a()(c,r,null==y?void 0:y.className,Z,N,S,a()(Object.assign(Object.assign(Object.assign({},v(Z,e)),p(Z,e)),h(Z,e))),{[`${Z}-rtl`]:"rtl"===j,[`${Z}-gap-${f}`]:(0,i.n)(f),[`${Z}-vertical`]:E}),O=Object.assign(Object.assign({},null==y?void 0:y.style),u);return d&&(O.flex=d),f&&!(0,i.n)(f)&&(O.gap=f),k(n.createElement(g,Object.assign({ref:l,className:$,style:O},(0,o.Z)(b,["justify","wrap","align"])),m))});var Z=C},66309:function(e,l,t){t.d(l,{Z:function(){return $}});var n=t(67294),r=t(93967),a=t.n(r),o=t(98423),i=t(98787),s=t(69760),c=t(96159),u=t(45353),d=t(53124),f=t(47648),m=t(10274),v=t(14747),p=t(87893),h=t(83559);let x=e=>{let{paddingXXS:l,lineWidth:t,tagPaddingHorizontal:n,componentCls:r,calc:a}=e,o=a(n).sub(t).equal(),i=a(l).sub(t).equal();return{[r]:Object.assign(Object.assign({},(0,v.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,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",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-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(${r}-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:o}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},g=e=>{let{lineWidth:l,fontSizeIcon:t,calc:n}=e,r=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:r,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(t).sub(n(l).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},b=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,h.I$)("Tag",e=>{let l=g(e);return x(l)},b),j=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let w=n.forwardRef((e,l)=>{let{prefixCls:t,style:r,className:o,checked:i,onChange:s,onClick:c}=e,u=j(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=n.useContext(d.E_),v=f("tag",t),[p,h,x]=y(v),g=a()(v,`${v}-checkable`,{[`${v}-checkable-checked`]:i},null==m?void 0:m.className,o,h,x);return p(n.createElement("span",Object.assign({},u,{ref:l,style:Object.assign(Object.assign({},r),null==m?void 0:m.style),className:g,onClick:e=>{null==s||s(!i),null==c||c(e)}})))});var _=t(98719);let C=e=>(0,_.Z)(e,(l,t)=>{let{textColor:n,lightBorderColor:r,lightColor:a,darkColor:o}=t;return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:n,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,h.bk)(["Tag","preset"],e=>{let l=g(e);return C(l)},b);let k=(e,l,t)=>{let n=function(e){if("string"!=typeof e)return e;let l=e.charAt(0).toUpperCase()+e.slice(1);return l}(t);return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var N=(0,h.bk)(["Tag","status"],e=>{let l=g(e);return[k(l,"success","Success"),k(l,"processing","Info"),k(l,"error","Error"),k(l,"warning","Warning")]},b),S=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let E=n.forwardRef((e,l)=>{let{prefixCls:t,className:r,rootClassName:f,style:m,children:v,icon:p,color:h,onClose:x,bordered:g=!0,visible:b}=e,j=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:_,tag:C}=n.useContext(d.E_),[k,E]=n.useState(!0),$=(0,o.Z)(j,["closeIcon","closable"]);n.useEffect(()=>{void 0!==b&&E(b)},[b]);let O=(0,i.o2)(h),M=(0,i.yT)(h),R=O||M,z=Object.assign(Object.assign({backgroundColor:h&&!R?h:void 0},null==C?void 0:C.style),m),I=w("tag",t),[V,P,H]=y(I),L=a()(I,null==C?void 0:C.className,{[`${I}-${h}`]:R,[`${I}-has-color`]:h&&!R,[`${I}-hidden`]:!k,[`${I}-rtl`]:"rtl"===_,[`${I}-borderless`]:!g},r,f,P,H),T=e=>{e.stopPropagation(),null==x||x(e),e.defaultPrevented||E(!1)},[,B]=(0,s.Z)((0,s.w)(e),(0,s.w)(C),{closable:!1,closeIconRender:e=>{let l=n.createElement("span",{className:`${I}-close-icon`,onClick:T},e);return(0,c.wm)(e,l,e=>({onClick:l=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,l),T(l)},className:a()(null==e?void 0:e.className,`${I}-close-icon`)}))}}),A="function"==typeof j.onClick||v&&"a"===v.type,D=p||null,F=D?n.createElement(n.Fragment,null,D,v&&n.createElement("span",null,v)):v,W=n.createElement("span",Object.assign({},$,{ref:l,className:L,style:z}),F,B,O&&n.createElement(Z,{key:"preset",prefixCls:I}),M&&n.createElement(N,{key:"status",prefixCls:I}));return V(A?n.createElement(u.Z,{component:"Tag"},W):W)});E.CheckableTag=w;var $=E},2440:function(e,l,t){var n=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,l,t){var n=t(85893),r=t(19284),a=t(25675),o=t.n(a),i=t(67294);l.Z=(0,i.memo)(e=>{let{width:l,height:t,model:a}=e,s=(0,i.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],l=Object.keys(r.Me);for(let t=0;t{let{width:l,height:t,scene:i}=e,s=(0,o.useCallback)(()=>{switch(i){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}},[i]);return(0,n.jsx)(a.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:s()})}},70065:function(e,l,t){var n=t(91321);let r=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=r},77451:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(18102),o=t(11475),i=t(65654),s=t(34041),c=t(85576),u=t(8232),d=t(93967),f=t.n(d),m=t(67294),v=t(67421),p=t(25934),h=t(49264);let x=e=>{let{value:l,onChange:t,promptList:r}=e,[i,u]=(0,m.useState)(!1),[d,f]=(0,m.useState)(),{t:p}=(0,v.$G)();return(0,m.useEffect)(()=>{if(l){let e=null==r?void 0:r.filter(e=>e.prompt_code===l)[0];f(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: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];f(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)(o.Z,{className:"mr-1"}),p("View_details")]}),(0,n.jsx)(c.default,{title:"Prompt ".concat(p("details")),open:i,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:o,modelStrategyOptions:c,resourceTypeOptions:d,updateData:g,classNames:b,promptList:y}=e,{t:j}=(0,v.$G)(),[w]=u.default.useForm(),_=u.default.useWatch("prompt_template",w),C=u.default.useWatch("llm_strategy",w),Z=u.default.useWatch("llm_strategy_value",w),k=(0,m.useMemo)(()=>(null==o?void 0:o.find(e=>e.agent_name===a))||[],[o,a]),N=(0,m.useRef)([]),{run:S,loading:E,data:$}=(0,i.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"===C&&S()},[S,C]),(0,m.useEffect)(()=>{var e;let l=w.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:N.current})},[w,E,a,_,C,Z,g]),(0,n.jsx)("div",{className:f()(b),children:(0,n.jsxs)(u.default,{style:{width:"100%"},labelCol:{span:4},form:w,initialValues:{llm_strategy:"default",...k,llm_strategy_value:null==k?void 0:null===(l=k.llm_strategy_value)||void 0===l?void 0:l.split(",")},children:[(0,n.jsx)(u.default.Item,{label:j("Prompt"),name:"prompt_template",children:(0,n.jsx)(x,{promptList:y})}),(0,n.jsx)(u.default.Item,{label:j("LLM_strategy"),required:!0,name:"llm_strategy",children:(0,n.jsx)(s.default,{className:"w-1/5",placeholder:j("please_select_LLM_strategy"),options:c,allowClear:!0})}),"priority"===C&&(0,n.jsx)(u.default.Item,{label:j("LLM_strategy_value"),required:!0,name:"llm_strategy_value",children:(0,n.jsx)(s.default,{mode:"multiple",className:"w-2/5",placeholder:j("please_select_LLM_strategy_value"),options:$,allowClear:!0})}),(0,n.jsx)(u.default.Item,{label:j("available_resources"),name:"resources",children:(0,n.jsx)(h.default,{resourceTypeOptions:d,initValue:null==k?void 0:null===(t=k.resources)||void 0===t?void 0:t.map(e=>({...e,uid:(0,p.Z)()})),updateData:e=>{N.current=null==e?void 0:e[1],g({agent_name:a,resources:N.current})},name:a})})]})})}},2856:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(65654),o=t(8232),i=t(34041),s=t(72269),c=t(93967),u=t.n(c),d=t(67294),f=t(67421);l.default=e=>{let{uid:l,initValue:t,updateData:c,classNames:m,resourceTypeOptions:v,setCurIcon:p}=e,[h]=o.default.useForm(),x=o.default.useWatch("type",h),g=o.default.useWatch("is_dynamic",h),b=o.default.useWatch("value",h),{t:y}=(0,f.$G)(),j=(0,d.useMemo)(()=>(null==v?void 0:v.filter(e=>"all"!==e.value))||[],[v]),{run:w,data:_,loading:C}=(0,a.Z)(async e=>{var l;let[,n]=await (0,r.Vx)((0,r.RX)({type:e}));return h.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&&w(x)},[w,x]);let Z=(0,d.useMemo)(()=>(null==_?void 0:_.map(e=>({...e,label:e.label,value:e.key+""})))||[],[_]);return(0,d.useEffect)(()=>{let e=h.getFieldsValue(),t=(null==e?void 0:e.is_dynamic)?"":null==e?void 0:e.value;c({uid:l,...e,value:t})},[l,g,h,c,b,x]),(0,n.jsx)("div",{className:u()("flex flex-1",m),children:(0,n.jsxs)(o.default,{style:{width:"100%"},form:h,labelCol:{span:4},initialValues:{...t},children:[(0,n.jsx)(o.default.Item,{label:y("resource_type"),name:"type",children:(0,n.jsx)(i.default,{className:"w-2/5",options:j,onChange:e=>{p({uid:l,icon:e})}})}),(0,n.jsx)(o.default.Item,{label:y("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)(o.default.Item,{label:y("resource_value"),name:"value",required:!0,children:(0,n.jsx)(i.default,{placeholder:y("please_select_param"),options:Z,loading:C,className:"w-3/5",allowClear:!0})})]})]})})}},49264:function(e,l,t){t.r(l),t.d(l,{default:function(){return y}});var n=t(85893),r=t(32983),a=t(93967),o=t.n(a),i=e=>{let{className:l,imgUrl:t="/pictures/empty.png"}=e;return(0,n.jsx)("div",{className:o()("m-auto",{className:l}),children:(0,n.jsx)(r.Z,{image:t,imageStyle:{margin:"0 auto",width:"100%",height:"100%"}})})},s=t(82061),c=t(51042),u=t(34041),d=t(91776),f=t(86738),m=t(14726),v=t(96486),p=t(67294),h=t(67421),x=t(25934),g=t(83072),b=t(2856),y=e=>{var l;let{name:t,updateData:r,resourceTypeOptions:a,initValue:y}=e,{t:j}=(0,h.$G)(),w=(0,p.useRef)(y||[]),[_,C]=(0,p.useState)({uid:"",icon:""}),[Z,k]=(0,p.useState)((null==y?void 0:y.map(e=>({...e,icon:e.type,initVal:e})))||[]),[N,S]=(0,p.useState)([...Z]),[E,$]=(0,p.useState)((null==Z?void 0:null===(l=Z[0])||void 0===l?void 0:l.uid)||""),[O,M]=(0,p.useState)(""),R=(e,l)=>{var n,a;null==e||e.stopPropagation();let o=null===(n=w.current)||void 0===n?void 0:n.findIndex(e=>e.uid===E),i=null==Z?void 0:Z.filter(e=>e.uid!==l.uid);w.current=w.current.filter(e=>e.uid!==l.uid)||[],r([t,w.current]),k(i),o===(null==Z?void 0:Z.length)-1&&0!==o&&setTimeout(()=>{var e;$((null==i?void 0:null===(e=i[i.length-1])||void 0===e?void 0:e.uid)||"")},0),$((null==i?void 0:null===(a=i[o])||void 0===a?void 0:a.uid)||"")};return(0,p.useEffect)(()=>{S([...Z])},[Z]),(0,p.useEffect)(()=>{k(Z.map(e=>(null==_?void 0:_.uid)===e.uid?{...e,icon:_.icon}:e))},[_]),(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:a,className:"w-full h-8",variant:"borderless",defaultValue:"all",onChange:e=>{var l,t;if("all"===e)S(Z),$((null==Z?void 0:null===(l=Z[0])||void 0===l?void 0:l.uid)||"");else{let l=null==Z?void 0:Z.filter(l=>(null==l?void 0:l.icon)===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==N?void 0:N.map(e=>(0,n.jsxs)("div",{className:o()("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:()=>{$(e.uid||"")},onMouseEnter:()=>{M(e.uid||"")},onMouseLeave:()=>{M("")},children:[g.resourceTypeIcon[e.icon||""],(0,n.jsx)(d.Z.Text,{className:o()("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=>{k(Z.map(t=>t.uid===e.uid?{...t,name:l}:t)),w.current=w.current.map(t=>t.uid===e.uid?{...t,name:l}:t),r([t,w.current])}},ellipsis:{tooltip:!0},children:e.name}),(0,n.jsx)(f.Z,{title:j("want_delete"),onConfirm:l=>{R(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(O===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,x.Z)();w.current=(0,v.concat)(w.current,[{is_dynamic:!1,type:null===(e=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===e?void 0:e[0].value,value:"",uid:n,name:j("resource")+" ".concat(w.current.length+1)}].filter(Boolean)),r([t,w.current]),k(e=>{var l,t,r;return[...e,{icon:(null===(l=null==a?void 0:a.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===(r=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===r?void 0:r[0].value,value:"",uid:n,name:j("resource")+" ".concat(e.length+1)},name:j("resource")+" ".concat(e.length+1)}]}),$(n),C({uid:n,icon:null===(l=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===l?void 0:l[0].value})},children:j("add_resource")})]}),(0,n.jsx)("div",{className:"flex flex-1 ml-6 ",children:N&&(null==N?void 0:N.length)>0?(0,n.jsx)("div",{className:"flex flex-1",children:null==N?void 0:N.map(e=>(0,n.jsx)(b.default,{classNames:e.uid===E?"block":"hidden",resourceTypeOptions:a,initValue:e.initVal,setCurIcon:C,updateData:e=>{var l;w.current=null===(l=w.current)||void 0===l?void 0:l.map(l=>(null==l?void 0:l.uid)===(null==e?void 0:e.uid)?{...l,...e}:l),r([t,w.current])},uid:e.uid||""},e.uid))}):(0,n.jsx)(i,{className:"w-40 h-40"})})]})}},83072:function(e,l,t){t.r(l),t.d(l,{agentIcon:function(){return y},resourceTypeIcon:function(){return j}});var n=t(85893),r=t(70065),a=t(89035),o=t(48869),i=t(61086),s=t(85175),c=t(97879),u=t(55725),d=t(79383),f=t(13520),m=t(14079),v=t(10524),p=t(56466),h=t(97245),x=t(97175),g=t(16801),b=t(13179);t(67294);let y={CodeEngineer:(0,n.jsx)(a.Z,{}),Reporter:(0,n.jsx)(o.Z,{}),DataScientist:(0,n.jsx)(i.Z,{}),Summarizer:(0,n.jsx)(s.Z,{}),ToolExpert:(0,n.jsx)(r.Z,{type:"icon-plugin",style:{fontSize:17.25,marginTop:2}}),Indicator:(0,n.jsx)(c.Z,{}),Dbass:(0,n.jsx)(u.Z,{})},j={all:(0,n.jsx)(d.Z,{}),database:(0,n.jsx)(f.Z,{}),knowledge:(0,n.jsx)(m.Z,{}),internet:(0,n.jsx)(v.Z,{}),plugin:(0,n.jsx)(p.Z,{}),text_file:(0,n.jsx)(h.Z,{}),excel_file:(0,n.jsx)(x.Z,{}),image_file:(0,n.jsx)(g.Z,{}),awel_flow:(0,n.jsx)(b.Z,{})};l.default=()=>(0,n.jsx)(n.Fragment,{})},56397:function(e,l,t){t.r(l);var n=t(85893),r=t(48218),a=t(58638),o=t(31418),i=t(91776),s=t(20640),c=t.n(s),u=t(67294),d=t(73913);l.default=(0,u.memo)(()=>{var e;let{appInfo:l}=(0,u.useContext)(d.MobileChatContext),{message:t}=o.Z.useApp(),[s,f]=(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,()=>{f(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:()=>f(s+1),children:[(0,n.jsx)(r.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)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,n.jsx)(i.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)(a.Z,{className:"text-lg"})})]})})},74638:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(62418),o=t(25519),i=t(30159),s=t(87740),c=t(79090),u=t(52645),d=t(27496),f=t(1375),m=t(65654),v=t(66309),p=t(55241),h=t(74330),x=t(55102),g=t(14726),b=t(93967),y=t.n(b),j=t(39332),w=t(67294),_=t(73913),C=t(7001),Z=t(73749),k=t(97109),N=t(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,j.useSearchParams)(),b=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:E,model:$,scene:O,temperature:M,resource:R,conv_uid:z,appInfo:I,scrollViewRef:V,order:P,userInput:H,ctrl:L,canAbort:T,canNewChat:B,setHistory:A,setCanNewChat:D,setCarAbort:F,setUserInput:W}=(0,w.useContext)(_.MobileChatContext),[q,G]=(0,w.useState)(!1),[J,U]=(0,w.useState)(!1),X=async e=>{var l,t,n;W(""),L.current=new AbortController;let r={chat_mode:O,model_name:$,user_input:e||H,conv_uid:z,temperature:M,app_code:null==I?void 0:I.app_code,...R&&{select_param:JSON.stringify(R)}};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 i=[{role:"human",context:e||H,model_name:$,order:P.current,time_stamp:0},{role:"view",context:"",model_name:$,order:P.current,time_stamp:0,thinking:!0}],s=i.length-1;A([...E,...i]),D(!1);try{await (0,f.L)("".concat(null!==(l=N.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(t=(0,a.n5)())&&void 0!==t?t:""},signal:L.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===f.a)return},onclose(){var e;null===(e=L.current)||void 0===e||e.abort(),D(!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?(D(!0),F(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(i[s].context=null==l?void 0:l.replace("[ERROR]",""),i[s].thinking=!1,A([...E,...i]),D(!0),F(!1)):(F(!0),i[s].context=l,i[s].thinking=!1,A([...E,...i]))}})}catch(e){null===(n=L.current)||void 0===n||n.abort(),i[s].context="Sorry, we meet some error, please try again later.",i[s].thinking=!1,A([...i]),D(!0),F(!1)}},K=async()=>{H.trim()&&B&&await X()};(0,w.useEffect)(()=>{var e,l;null===(e=V.current)||void 0===e||e.scrollTo({top:null===(l=V.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[E,V]);let Q=(0,w.useMemo)(()=>{if(!I)return[];let{param_need:e=[]}=I;return null==e?void 0:e.map(e=>e.type)},[I]),Y=(0,w.useMemo)(()=>{var e;return 0===E.length&&I&&!!(null==I?void 0:null===(e=I.recommend_questions)||void 0===e?void 0:e.length)},[E,I]),{run:ee,loading:el}=(0,m.Z)(async()=>await (0,r.Vx)((0,r.zR)(z)),{manual:!0,onSuccess:()=>{A([])}});return(0,w.useEffect)(()=>{b&&$&&z&&I&&X(b)},[I,z,$,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==I?void 0:null===(e=I.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(v.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{X(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==Q?void 0:Q.includes("model"))&&(0,n.jsx)(C.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(Z.default,{}),(null==Q?void 0:Q.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)(p.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:y()("p-2 cursor-pointer",{"text-[#0c75fc]":T,"text-gray-400":!T}),onClick:()=>{var e;T&&(null===(e=L.current)||void 0===e||e.abort(),setTimeout(()=>{F(!1),D(!0)},100))}})}),(0,n.jsx)(p.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:y()("p-2 cursor-pointer",{"text-gray-400":!E.length||!B}),onClick:()=>{var e,l;if(!B||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];X((null==t?void 0:t.context)||"")}})}),el?(0,n.jsx)(h.Z,{spinning:el,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)(u.Z,{className:y()("p-2 cursor-pointer",{"text-gray-400":!E.length||!B}),onClick:()=>{B&&ee()}})})]})]}),(0,n.jsxs)("div",{className:y()("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)]":q}),children:[(0,n.jsx)(x.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:H,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(J){e.preventDefault();return}H.trim()&&(e.preventDefault(),K())}},onChange:e=>{W(e.target.value)},onFocus:()=>{G(!0)},onBlur:()=>G(!1),onCompositionStartCapture:()=>{U(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{U(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:y()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!H.trim()||!B}),onClick:K,children:B?(0,n.jsx)(d.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,l,t){t.r(l);var n=t(85893),r=t(41468),a=t(39718),o=t(41441),i=t(85418),s=t(55241),c=t(67294),u=t(73913);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)(i.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)(o.Z,{rotate:90})]})})})}},46568:function(e,l,t){t.r(l);var n=t(85893),r=t(25675),a=t.n(r),o=t(67294);l.default=(0,o.memo)(e=>{let{width:l,height:t,src:r,label:o}=e;return(0,n.jsx)(a(),{width:l||14,height:t||14,src:r,alt:o||"db-icon",priority:!0})})},73749:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(62418),o=t(79090),i=t(41441),s=t(83266),c=t(65654),u=t(74330),d=t(2913),f=t(85418),m=t(67294),v=t(73913),p=t(46568);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:h,conv_uid:x,getChatHistoryRun:g,setResource:b,resource:y}=(0,m.useContext)(v.MobileChatContext),[j,w]=(0,m.useState)(null),_=(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]),C=(0,m.useMemo)(()=>l&&l.length>0?l.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})):[],[l,b]),{run:Z,loading:k}=(0,c.Z)(async e=>{let[,l]=await (0,r.Vx)((0,r.qn)({convUid:x,chatMode:t,data:e,model:h,config:{timeout:36e5}}));return b(l),l},{manual:!0,onSuccess:async()=>{await g()}}),N=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await Z(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)(o.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):y?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:y.file_name}),(0,n.jsx)(i.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,y]);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)(d.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:N,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,r,o,s;if(!(null==l?void 0:l.length))return null;return(0,n.jsx)(f.Z,{menu:{items:C},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==j?void 0:j.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===(r=a.S$[(null==j?void 0:j.type)||(null==l?void 0:null===(o=l[0])||void 0===o?void 0:o.type)])||void 0===r?void 0:r.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==j?void 0:j.param)||(null==l?void 0:null===(s=l[0])||void 0===s?void 0:s.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,l,t){t.r(l);var n=t(85893),r=t(70065),a=t(85418),o=t(30568),i=t(67294),s=t(73913);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)(o.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)(r.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return y}});var n=t(85893),r=t(41468),a=t(76212),o=t(2440),i=t(62418),s=t(25519),c=t(1375),u=t(65654),d=t(74330),f=t(5152),m=t.n(f),v=t(39332),p=t(67294),h=t(56397),x=t(74638),g=t(83454);let b=m()(()=>Promise.all([t.e(3662),t.e(7034),t.e(4041),t.e(1941),t.e(5872),t.e(4567),t.e(2783),t.e(1531),t.e(2611),t.e(3320),t.e(5265),t.e(7332),t.e(6540),t.e(9397),t.e(542),t.e(8709),t.e(9256),t.e(9870)]).then(t.bind(t,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),y=(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,v.useSearchParams)(),f=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:j}=(0,p.useContext)(r.p),[w,_]=(0,p.useState)([]),[C,Z]=(0,p.useState)(""),[k,N]=(0,p.useState)(.5),[S,E]=(0,p.useState)(null),$=(0,p.useRef)(null),[O,M]=(0,p.useState)(""),[R,z]=(0,p.useState)(!1),[I,V]=(0,p.useState)(!0),P=(0,p.useRef)(),H=(0,p.useRef)(1),L=(0,o.Z)(),T=(0,p.useMemo)(()=>"".concat(null==L?void 0:L.user_no,"_").concat(m),[m,L]),{run:B,loading:A}=(0,u.Z)(async()=>await (0,a.Vx)((0,a.$i)("".concat(null==L?void 0:L.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&&(H.current=t[t.length-1].order+1),_(l||[])}}),{data:D,run:F,loading:W}=(0,u.Z)(async e=>{let[,l]=await (0,a.Vx)((0,a.BN)(e));return null!=l?l:{}},{manual:!0}),{run:q,data:G,loading:J}=(0,u.Z)(async()=>{var e,l;let[,t]=await (0,a.Vx)((0,a.vD)(f));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:U,loading:X}=(0,u.Z)(async()=>{let[,e]=await (0,a.Vx)((0,a.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===T))||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,p.useEffect)(()=>{f&&m&&j.length&&F({chat_scene:f,app_code:m})},[m,f,F,j]),(0,p.useEffect)(()=>{m&&B()},[m]),(0,p.useEffect)(()=>{if(j.length>0){var e,l,t;let n=null===(e=null==D?void 0:null===(l=D.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;Z(n||j[0])}},[j,D]),(0,p.useEffect)(()=>{var e,l,t;let n=null===(e=null==D?void 0:null===(l=D.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;N(n||.5)},[D]),(0,p.useEffect)(()=>{if(f&&(null==D?void 0:D.app_code)){var e,l,t,n,r,a;let o=null===(e=null==D?void 0:null===(l=D.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===(n=null==D?void 0:null===(r=D.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;i&&E(i),["database","knowledge","plugin","awel_flow"].includes(o)&&!i&&q()}},[D,f,q]);let K=async e=>{var l,t,n;M(""),P.current=new AbortController;let r={chat_mode:f,model_name:C,user_input:e||O,conv_uid:T,temperature:k,app_code:null==D?void 0:D.app_code,...S&&{select_param:S}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);H.current=e[e.length-1].order+1}let a=[{role:"human",context:e||O,model_name:C,order:H.current,time_stamp:0},{role:"view",context:"",model_name:C,order:H.current,time_stamp:0,thinking:!0}],o=a.length-1;_([...w,...a]),V(!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,i.n5)())&&void 0!==t?t:""},signal:P.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=P.current)||void 0===e||e.abort(),V(!0),z(!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?(V(!0),z(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(a[o].context=null==l?void 0:l.replace("[ERROR]",""),a[o].thinking=!1,_([...w,...a]),V(!0),z(!1)):(z(!0),a[o].context=l,a[o].thinking=!1,_([...w,...a]))}})}catch(e){null===(n=P.current)||void 0===n||n.abort(),a[o].context="Sorry, we meet some error, please try again later.",a[o].thinking=!1,_([...a]),V(!0),z(!1)}};return(0,p.useEffect)(()=>{f&&"chat_agent"!==f&&U()},[f,U]),(0,n.jsx)(y.Provider,{value:{model:C,resource:S,setModel:Z,setTemperature:N,setResource:E,temperature:k,appInfo:D,conv_uid:T,scene:f,history:w,scrollViewRef:$,setHistory:_,resourceList:G,order:H,handleChat:K,setCanNewChat:V,ctrl:P,canAbort:R,setCarAbort:z,canNewChat:I,userInput:O,setUserInput:M,getChatHistoryRun:B},children:(0,n.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:A||W||J||X,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:$,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==D?void 0:D.app_code)&&(0,n.jsx)(x.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9200-7d8e5b566dae262d.js b/dbgpt/app/static/web/_next/static/chunks/9200-7d8e5b566dae262d.js deleted file mode 100644 index 9da057570..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9200-7d8e5b566dae262d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9200,3913],{39055:function(e,l){l.Z={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"}},52645:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},11475:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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"},o=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},58638:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},83266:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},79090:function(e,l,t){var n=t(87462),r=t(67294),a=t(15294),o=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a.Z}))});l.Z=i},30159:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},87740:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},27496:function(e,l,t){t.d(l,{Z:function(){return i}});var n=t(87462),r=t(67294),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=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a}))})},41441:function(e,l,t){var n=t(87462),r=t(67294),a=t(39055),o=t(13401),i=r.forwardRef(function(e,l){return r.createElement(o.Z,(0,n.Z)({},e,{ref:l,icon:a.Z}))});l.Z=i},2093:function(e,l,t){var n=t(97582),r=t(67294),a=t(92770);l.Z=function(e,l){(0,r.useEffect)(function(){var l=e(),t=!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)(l[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,l.next()];case 2:if(e.sent().done||t)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,l];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){t=!0}},l)}},86250:function(e,l,t){t.d(l,{Z:function(){return Z}});var n=t(67294),r=t(93967),a=t.n(r),o=t(98423),i=t(98065),s=t(53124),c=t(83559),u=t(87893);let d=["wrap","nowrap","wrap-reverse"],f=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],m=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],v=(e,l)=>{let t=!0===l.wrap?"wrap":l.wrap;return{[`${e}-wrap-${t}`]:t&&d.includes(t)}},p=(e,l)=>{let t={};return m.forEach(n=>{t[`${e}-align-${n}`]=l.align===n}),t[`${e}-align-stretch`]=!l.align&&!!l.vertical,t},h=(e,l)=>{let t={};return f.forEach(n=>{t[`${e}-justify-${n}`]=l.justify===n}),t},x=e=>{let{componentCls:l}=e;return{[l]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},g=e=>{let{componentCls:l}=e;return{[l]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},b=e=>{let{componentCls:l}=e,t={};return d.forEach(e=>{t[`${l}-wrap-${e}`]={flexWrap:e}}),t},y=e=>{let{componentCls:l}=e,t={};return m.forEach(e=>{t[`${l}-align-${e}`]={alignItems:e}}),t},j=e=>{let{componentCls:l}=e,t={};return f.forEach(e=>{t[`${l}-justify-${e}`]={justifyContent:e}}),t};var w=(0,c.I$)("Flex",e=>{let{paddingXS:l,padding:t,paddingLG:n}=e,r=(0,u.IX)(e,{flexGapSM:l,flexGap:t,flexGapLG:n});return[x(r),g(r),b(r),y(r),j(r)]},()=>({}),{resetStyle:!1}),_=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let C=n.forwardRef((e,l)=>{let{prefixCls:t,rootClassName:r,className:c,style:u,flex:d,gap:f,children:m,vertical:x=!1,component:g="div"}=e,b=_(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:j,getPrefixCls:C}=n.useContext(s.E_),Z=C("flex",t),[k,N,S]=w(Z),E=null!=x?x:null==y?void 0:y.vertical,$=a()(c,r,null==y?void 0:y.className,Z,N,S,a()(Object.assign(Object.assign(Object.assign({},v(Z,e)),p(Z,e)),h(Z,e))),{[`${Z}-rtl`]:"rtl"===j,[`${Z}-gap-${f}`]:(0,i.n)(f),[`${Z}-vertical`]:E}),O=Object.assign(Object.assign({},null==y?void 0:y.style),u);return d&&(O.flex=d),f&&!(0,i.n)(f)&&(O.gap=f),k(n.createElement(g,Object.assign({ref:l,className:$,style:O},(0,o.Z)(b,["justify","wrap","align"])),m))});var Z=C},66309:function(e,l,t){t.d(l,{Z:function(){return $}});var n=t(67294),r=t(93967),a=t.n(r),o=t(98423),i=t(98787),s=t(69760),c=t(96159),u=t(45353),d=t(53124),f=t(47648),m=t(10274),v=t(14747),p=t(87893),h=t(83559);let x=e=>{let{paddingXXS:l,lineWidth:t,tagPaddingHorizontal:n,componentCls:r,calc:a}=e,o=a(n).sub(t).equal(),i=a(l).sub(t).equal();return{[r]:Object.assign(Object.assign({},(0,v.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,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",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:i,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-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(${r}-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:o}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},g=e=>{let{lineWidth:l,fontSizeIcon:t,calc:n}=e,r=e.fontSizeSM,a=(0,p.IX)(e,{tagFontSize:r,tagLineHeight:(0,f.bf)(n(e.lineHeightSM).mul(r).equal()),tagIconSize:n(t).sub(n(l).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return a},b=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var y=(0,h.I$)("Tag",e=>{let l=g(e);return x(l)},b),j=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let w=n.forwardRef((e,l)=>{let{prefixCls:t,style:r,className:o,checked:i,onChange:s,onClick:c}=e,u=j(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:m}=n.useContext(d.E_),v=f("tag",t),[p,h,x]=y(v),g=a()(v,`${v}-checkable`,{[`${v}-checkable-checked`]:i},null==m?void 0:m.className,o,h,x);return p(n.createElement("span",Object.assign({},u,{ref:l,style:Object.assign(Object.assign({},r),null==m?void 0:m.style),className:g,onClick:e=>{null==s||s(!i),null==c||c(e)}})))});var _=t(98719);let C=e=>(0,_.Z)(e,(l,t)=>{let{textColor:n,lightBorderColor:r,lightColor:a,darkColor:o}=t;return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:n,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,h.bk)(["Tag","preset"],e=>{let l=g(e);return C(l)},b);let k=(e,l,t)=>{let n=function(e){if("string"!=typeof e)return e;let l=e.charAt(0).toUpperCase()+e.slice(1);return l}(t);return{[`${e.componentCls}${e.componentCls}-${l}`]:{color:e[`color${t}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var N=(0,h.bk)(["Tag","status"],e=>{let l=g(e);return[k(l,"success","Success"),k(l,"processing","Info"),k(l,"error","Error"),k(l,"warning","Warning")]},b),S=function(e,l){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>l.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rl.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(t[n[r]]=e[n[r]]);return t};let E=n.forwardRef((e,l)=>{let{prefixCls:t,className:r,rootClassName:f,style:m,children:v,icon:p,color:h,onClose:x,bordered:g=!0,visible:b}=e,j=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:_,tag:C}=n.useContext(d.E_),[k,E]=n.useState(!0),$=(0,o.Z)(j,["closeIcon","closable"]);n.useEffect(()=>{void 0!==b&&E(b)},[b]);let O=(0,i.o2)(h),M=(0,i.yT)(h),R=O||M,z=Object.assign(Object.assign({backgroundColor:h&&!R?h:void 0},null==C?void 0:C.style),m),I=w("tag",t),[V,P,H]=y(I),L=a()(I,null==C?void 0:C.className,{[`${I}-${h}`]:R,[`${I}-has-color`]:h&&!R,[`${I}-hidden`]:!k,[`${I}-rtl`]:"rtl"===_,[`${I}-borderless`]:!g},r,f,P,H),T=e=>{e.stopPropagation(),null==x||x(e),e.defaultPrevented||E(!1)},[,B]=(0,s.Z)((0,s.w)(e),(0,s.w)(C),{closable:!1,closeIconRender:e=>{let l=n.createElement("span",{className:`${I}-close-icon`,onClick:T},e);return(0,c.wm)(e,l,e=>({onClick:l=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,l),T(l)},className:a()(null==e?void 0:e.className,`${I}-close-icon`)}))}}),A="function"==typeof j.onClick||v&&"a"===v.type,D=p||null,F=D?n.createElement(n.Fragment,null,D,v&&n.createElement("span",null,v)):v,W=n.createElement("span",Object.assign({},$,{ref:l,className:L,style:z}),F,B,O&&n.createElement(Z,{key:"preset",prefixCls:I}),M&&n.createElement(N,{key:"status",prefixCls:I}));return V(A?n.createElement(u.Z,{component:"Tag"},W):W)});E.CheckableTag=w;var $=E},2440:function(e,l,t){var n=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,l,t){var n=t(85893),r=t(19284),a=t(25675),o=t.n(a),i=t(67294);l.Z=(0,i.memo)(e=>{let{width:l,height:t,model:a}=e,s=(0,i.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],l=Object.keys(r.Me);for(let t=0;t{let{width:l,height:t,scene:i}=e,s=(0,o.useCallback)(()=>{switch(i){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}},[i]);return(0,n.jsx)(a.Z,{className:"w-".concat(l||7," h-").concat(t||7),component:s()})}},70065:function(e,l,t){var n=t(91321);let r=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});l.Z=r},77451:function(e,l,t){t.r(l);var n=t(85893),r=t(18102),a=t(76212),o=t(11475),i=t(65654),s=t(34041),c=t(85576),u=t(8232),d=t(93967),f=t.n(d),m=t(67294),v=t(25934),p=t(49264),h=t(67421);let x=e=>{let{value:l,onChange:t,promptList:a}=e,[i,u]=(0,m.useState)(!1),[d,f]=(0,m.useState)(),{t:v}=(0,h.$G)();return(0,m.useEffect)(()=>{if(l){let e=null==a?void 0:a.filter(e=>e.prompt_code===l)[0];f(e)}},[a,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:v("please_select_prompt"),options:a,fieldNames:{label:"prompt_name",value:"prompt_code"},onChange:e=>{let l=null==a?void 0:a.filter(l=>l.prompt_code===e)[0];f(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)(o.Z,{className:"mr-1"}),v("View_details")]}),(0,n.jsx)(c.default,{title:"Prompt ".concat(v("details")),open:i,footer:!1,width:"60%",onCancel:()=>u(!1),children:(0,n.jsx)(r.default,{children:null==d?void 0:d.content})})]})};l.default=e=>{var l,t;let{name:r,initValue:o,modelStrategyOptions:c,resourceTypeOptions:d,updateData:g,classNames:b,promptList:y}=e,{t:j}=(0,h.$G)(),[w]=u.default.useForm(),_=u.default.useWatch("prompt_template",w),C=u.default.useWatch("llm_strategy",w),Z=u.default.useWatch("llm_strategy_value",w),[k,N]=(0,m.useState)(),[S,E]=(0,m.useState)(!1),$=(0,m.useMemo)(()=>(null==o?void 0:o.find(e=>e.agent_name===r))||[],[o,r]),O=(0,m.useRef)([]),{run:M,loading:R,data:z}=(0,i.Z)(async()=>{var e;let[,l]=await (0,a.Vx)((0,a.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"===C&&M()},[M,C]),(0,m.useEffect)(()=>{var e;let l=w.getFieldsValue();g({agent_name:r,...l,llm_strategy_value:null==l?void 0:null===(e=l.llm_strategy_value)||void 0===e?void 0:e.join(","),resources:O.current})},[w,R,r,_,C,Z,g]),(0,n.jsx)("div",{className:f()(b),children:(0,n.jsxs)(u.default,{style:{width:"100%"},labelCol:{span:4},form:w,initialValues:{llm_strategy:"default",...$,llm_strategy_value:null==$?void 0:null===(l=$.llm_strategy_value)||void 0===l?void 0:l.split(",")},children:[(0,n.jsx)(u.default.Item,{label:j("Prompt"),name:"prompt_template",children:(0,n.jsx)(x,{promptList:y})}),(0,n.jsx)(u.default.Item,{label:j("LLM_strategy"),required:!0,name:"llm_strategy",children:(0,n.jsx)(s.default,{className:"w-1/5",placeholder:j("please_select_LLM_strategy"),options:c,allowClear:!0})}),"priority"===C&&(0,n.jsx)(u.default.Item,{label:j("LLM_strategy_value"),required:!0,name:"llm_strategy_value",children:(0,n.jsx)(s.default,{mode:"multiple",className:"w-2/5",placeholder:j("please_select_LLM_strategy_value"),options:z,allowClear:!0})}),(0,n.jsx)(u.default.Item,{label:j("available_resources"),name:"resources",children:(0,n.jsx)(p.default,{resourceTypeOptions:d,initValue:null==$?void 0:null===(t=$.resources)||void 0===t?void 0:t.map(e=>({...e,uid:(0,v.Z)()})),updateData:e=>{O.current=null==e?void 0:e[1],g({agent_name:r,resources:O.current})},name:r})})]})})}},2856:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(65654),o=t(8232),i=t(34041),s=t(72269),c=t(93967),u=t.n(c),d=t(67294),f=t(67421);l.default=e=>{let{uid:l,initValue:t,updateData:c,classNames:m,resourceTypeOptions:v,setCurIcon:p}=e,[h]=o.default.useForm(),x=o.default.useWatch("type",h),g=o.default.useWatch("is_dynamic",h),b=o.default.useWatch("value",h),{t:y}=(0,f.$G)(),j=(0,d.useMemo)(()=>(null==v?void 0:v.filter(e=>"all"!==e.value))||[],[v]),{run:w,data:_,loading:C}=(0,a.Z)(async e=>{var l;let[,n]=await (0,r.Vx)((0,r.RX)({type:e}));return h.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&&w(x)},[w,x]);let Z=(0,d.useMemo)(()=>(null==_?void 0:_.map(e=>({...e,label:e.label,value:e.key+""})))||[],[_]);return(0,d.useEffect)(()=>{let e=h.getFieldsValue(),t=(null==e?void 0:e.is_dynamic)?"":null==e?void 0:e.value;c({uid:l,...e,value:t})},[l,g,h,c,b,x]),(0,n.jsx)("div",{className:u()("flex flex-1",m),children:(0,n.jsxs)(o.default,{style:{width:"100%"},form:h,labelCol:{span:4},initialValues:{...t},children:[(0,n.jsx)(o.default.Item,{label:y("resource_type"),name:"type",children:(0,n.jsx)(i.default,{className:"w-2/5",options:j,onChange:e=>{p({uid:l,icon:e})}})}),(0,n.jsx)(o.default.Item,{label:y("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)(o.default.Item,{label:y("resource_value"),name:"value",required:!0,children:(0,n.jsx)(i.default,{placeholder:y("please_select_param"),options:Z,loading:C,className:"w-3/5",allowClear:!0})})]})]})})}},49264:function(e,l,t){t.r(l),t.d(l,{default:function(){return y}});var n=t(85893),r=t(32983),a=t(93967),o=t.n(a),i=e=>{let{className:l,imgUrl:t="/pictures/empty.png"}=e;return(0,n.jsx)("div",{className:o()("m-auto",{className:l}),children:(0,n.jsx)(r.Z,{image:t,imageStyle:{margin:"0 auto",width:"100%",height:"100%"}})})},s=t(82061),c=t(51042),u=t(34041),d=t(91776),f=t(86738),m=t(14726),v=t(96486),p=t(67294),h=t(25934),x=t(83072),g=t(2856),b=t(67421),y=e=>{var l;let{name:t,updateData:r,resourceTypeOptions:a,initValue:y}=e,{t:j}=(0,b.$G)(),w=(0,p.useRef)(y||[]),[_,C]=(0,p.useState)({uid:"",icon:""}),[Z,k]=(0,p.useState)((null==y?void 0:y.map((e,l)=>({...e,icon:e.type,initVal:e})))||[]),[N,S]=(0,p.useState)([...Z]),[E,$]=(0,p.useState)((null==Z?void 0:null===(l=Z[0])||void 0===l?void 0:l.uid)||""),[O,M]=(0,p.useState)(""),R=(e,l)=>{var n,a;null==e||e.stopPropagation();let o=null===(n=w.current)||void 0===n?void 0:n.findIndex(e=>e.uid===E),i=null==Z?void 0:Z.filter(e=>e.uid!==l.uid);w.current=w.current.filter(e=>e.uid!==l.uid)||[],r([t,w.current]),k(i),o===(null==Z?void 0:Z.length)-1&&0!==o&&setTimeout(()=>{var e;$((null==i?void 0:null===(e=i[i.length-1])||void 0===e?void 0:e.uid)||"")},0),$((null==i?void 0:null===(a=i[o])||void 0===a?void 0:a.uid)||"")};return(0,p.useEffect)(()=>{S([...Z])},[Z]),(0,p.useEffect)(()=>{k(Z.map(e=>(null==_?void 0:_.uid)===e.uid?{...e,icon:_.icon}:e))},[_]),(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:a,className:"w-full h-8",variant:"borderless",defaultValue:"all",onChange:e=>{var l,t;if("all"===e)S(Z),$((null==Z?void 0:null===(l=Z[0])||void 0===l?void 0:l.uid)||"");else{let l=null==Z?void 0:Z.filter(l=>(null==l?void 0:l.icon)===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==N?void 0:N.map(e=>(0,n.jsxs)("div",{className:o()("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:()=>{$(e.uid||"")},onMouseEnter:()=>{M(e.uid||"")},onMouseLeave:()=>{M("")},children:[x.resourceTypeIcon[e.icon||""],(0,n.jsx)(d.Z.Text,{className:o()("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=>{k(Z.map(t=>t.uid===e.uid?{...t,name:l}:t)),w.current=w.current.map(t=>t.uid===e.uid?{...t,name:l}:t),r([t,w.current])}},ellipsis:{tooltip:!0},children:e.name}),(0,n.jsx)(f.Z,{title:j("want_delete"),onConfirm:l=>{R(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(O===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,h.Z)();w.current=(0,v.concat)(w.current,[{is_dynamic:!1,type:null===(e=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===e?void 0:e[0].value,value:"",uid:n,name:j("resource")+" ".concat(w.current.length+1)}].filter(Boolean)),r([t,w.current]),k(e=>{var l,t,r;return[...e,{icon:(null===(l=null==a?void 0:a.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===(r=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===r?void 0:r[0].value,value:"",uid:n,name:j("resource")+" ".concat(e.length+1)},name:j("resource")+" ".concat(e.length+1)}]}),$(n),C({uid:n,icon:null===(l=null==a?void 0:a.filter(e=>"all"!==e.value))||void 0===l?void 0:l[0].value})},children:j("add_resource")})]}),(0,n.jsx)("div",{className:"flex flex-1 ml-6 ",children:N&&(null==N?void 0:N.length)>0?(0,n.jsx)("div",{className:"flex flex-1",children:null==N?void 0:N.map(e=>(0,n.jsx)(g.default,{classNames:e.uid===E?"block":"hidden",resourceTypeOptions:a,initValue:e.initVal,setCurIcon:C,updateData:e=>{var l;w.current=null===(l=w.current)||void 0===l?void 0:l.map(l=>(null==l?void 0:l.uid)===(null==e?void 0:e.uid)?{...l,...e}:l),r([t,w.current])},uid:e.uid||""},e.uid))}):(0,n.jsx)(i,{className:"w-40 h-40"})})]})}},83072:function(e,l,t){t.r(l),t.d(l,{agentIcon:function(){return y},resourceTypeIcon:function(){return j}});var n=t(85893),r=t(70065),a=t(89035),o=t(48869),i=t(61086),s=t(85175),c=t(97879),u=t(55725),d=t(79383),f=t(13520),m=t(14079),v=t(10524),p=t(56466),h=t(97245),x=t(97175),g=t(16801),b=t(13179);t(67294);let y={CodeEngineer:(0,n.jsx)(a.Z,{}),Reporter:(0,n.jsx)(o.Z,{}),DataScientist:(0,n.jsx)(i.Z,{}),Summarizer:(0,n.jsx)(s.Z,{}),ToolExpert:(0,n.jsx)(r.Z,{type:"icon-plugin",style:{fontSize:17.25,marginTop:2}}),Indicator:(0,n.jsx)(c.Z,{}),Dbass:(0,n.jsx)(u.Z,{})},j={all:(0,n.jsx)(d.Z,{}),database:(0,n.jsx)(f.Z,{}),knowledge:(0,n.jsx)(m.Z,{}),internet:(0,n.jsx)(v.Z,{}),plugin:(0,n.jsx)(p.Z,{}),text_file:(0,n.jsx)(h.Z,{}),excel_file:(0,n.jsx)(x.Z,{}),image_file:(0,n.jsx)(g.Z,{}),awel_flow:(0,n.jsx)(b.Z,{})};l.default=()=>(0,n.jsx)(n.Fragment,{})},56397:function(e,l,t){t.r(l);var n=t(85893),r=t(48218),a=t(58638),o=t(31418),i=t(91776),s=t(20640),c=t.n(s),u=t(67294),d=t(73913);l.default=(0,u.memo)(()=>{var e;let{appInfo:l}=(0,u.useContext)(d.MobileChatContext),{message:t}=o.Z.useApp(),[s,f]=(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,()=>{f(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:()=>f(s+1),children:[(0,n.jsx)(r.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)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==l?void 0:l.app_name}),(0,n.jsx)(i.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)(a.Z,{className:"text-lg"})})]})})},74638:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(62418),o=t(25519),i=t(30159),s=t(87740),c=t(79090),u=t(52645),d=t(27496),f=t(1375),m=t(65654),v=t(66309),p=t(55241),h=t(74330),x=t(55102),g=t(14726),b=t(93967),y=t.n(b),j=t(39332),w=t(67294),_=t(73913),C=t(7001),Z=t(73749),k=t(97109),N=t(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];l.default=()=>{var e,l;let t=(0,j.useSearchParams)(),b=null!==(l=null==t?void 0:t.get("ques"))&&void 0!==l?l:"",{history:E,model:$,scene:O,temperature:M,resource:R,conv_uid:z,appInfo:I,scrollViewRef:V,order:P,userInput:H,ctrl:L,canAbort:T,canNewChat:B,setHistory:A,setCanNewChat:D,setCarAbort:F,setUserInput:W}=(0,w.useContext)(_.MobileChatContext),[q,G]=(0,w.useState)(!1),[J,U]=(0,w.useState)(!1),X=async e=>{var l,t,n;W(""),L.current=new AbortController;let r={chat_mode:O,model_name:$,user_input:e||H,conv_uid:z,temperature:M,app_code:null==I?void 0:I.app_code,...R&&{select_param:JSON.stringify(R)}};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 i=[{role:"human",context:e||H,model_name:$,order:P.current,time_stamp:0},{role:"view",context:"",model_name:$,order:P.current,time_stamp:0,thinking:!0}],s=i.length-1;A([...E,...i]),D(!1);try{await (0,f.L)("".concat(null!==(l=N.env.API_BASE_URL)&&void 0!==l?l:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(t=(0,a.n5)())&&void 0!==t?t:""},signal:L.current.signal,body:JSON.stringify(r),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===f.a)return},onclose(){var e;null===(e=L.current)||void 0===e||e.abort(),D(!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?(D(!0),F(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(i[s].context=null==l?void 0:l.replace("[ERROR]",""),i[s].thinking=!1,A([...E,...i]),D(!0),F(!1)):(F(!0),i[s].context=l,i[s].thinking=!1,A([...E,...i]))}})}catch(e){null===(n=L.current)||void 0===n||n.abort(),i[s].context="Sorry, we meet some error, please try again later.",i[s].thinking=!1,A([...i]),D(!0),F(!1)}},K=async()=>{H.trim()&&B&&await X()};(0,w.useEffect)(()=>{var e,l;null===(e=V.current)||void 0===e||e.scrollTo({top:null===(l=V.current)||void 0===l?void 0:l.scrollHeight,behavior:"auto"})},[E,V]);let Q=(0,w.useMemo)(()=>{if(!I)return[];let{param_need:e=[]}=I;return null==e?void 0:e.map(e=>e.type)},[I]),Y=(0,w.useMemo)(()=>{var e;return 0===E.length&&I&&!!(null==I?void 0:null===(e=I.recommend_questions)||void 0===e?void 0:e.length)},[E,I]),{run:ee,loading:el}=(0,m.Z)(async()=>await (0,r.Vx)((0,r.zR)(z)),{manual:!0,onSuccess:()=>{A([])}});return(0,w.useEffect)(()=>{b&&$&&z&&I&&X(b)},[I,z,$,b]),(0,n.jsxs)("div",{className:"flex flex-col",children:[Y&&(0,n.jsx)("ul",{children:null==I?void 0:null===(e=I.recommend_questions)||void 0===e?void 0:e.map((e,l)=>(0,n.jsx)("li",{className:"mb-3",children:(0,n.jsx)(v.Z,{color:S[l],className:"p-2 rounded-xl",onClick:async()=>{X(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==Q?void 0:Q.includes("model"))&&(0,n.jsx)(C.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(Z.default,{}),(null==Q?void 0:Q.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)(p.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:y()("p-2 cursor-pointer",{"text-[#0c75fc]":T,"text-gray-400":!T}),onClick:()=>{var e;T&&(null===(e=L.current)||void 0===e||e.abort(),setTimeout(()=>{F(!1),D(!0)},100))}})}),(0,n.jsx)(p.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(s.Z,{className:y()("p-2 cursor-pointer",{"text-gray-400":!E.length||!B}),onClick:()=>{var e,l;if(!B||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];X((null==t?void 0:t.context)||"")}})}),el?(0,n.jsx)(h.Z,{spinning:el,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)(u.Z,{className:y()("p-2 cursor-pointer",{"text-gray-400":!E.length||!B}),onClick:()=>{B&&ee()}})})]})]}),(0,n.jsxs)("div",{className:y()("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)]":q}),children:[(0,n.jsx)(x.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:H,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(J){e.preventDefault();return}H.trim()&&(e.preventDefault(),K())}},onChange:e=>{W(e.target.value)},onFocus:()=>{G(!0)},onBlur:()=>G(!1),onCompositionStartCapture:()=>{U(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{U(!1)},0)}}),(0,n.jsx)(g.ZP,{type:"primary",className:y()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!H.trim()||!B}),onClick:K,children:B?(0,n.jsx)(d.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,l,t){t.r(l);var n=t(85893),r=t(39718),a=t(41468),o=t(41441),i=t(85418),s=t(55241),c=t(67294),u=t(73913);l.default=()=>{let{modelList:e}=(0,c.useContext)(a.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)(r.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,t]);return(0,n.jsx)(i.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)(r.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)(o.Z,{rotate:90})]})})})}},46568:function(e,l,t){t.r(l);var n=t(85893),r=t(25675),a=t.n(r),o=t(67294);l.default=(0,o.memo)(e=>{let{width:l,height:t,src:r,label:o}=e;return(0,n.jsx)(a(),{width:l||14,height:t||14,src:r,alt:o||"db-icon",priority:!0})})},73749:function(e,l,t){t.r(l);var n=t(85893),r=t(76212),a=t(62418),o=t(79090),i=t(41441),s=t(83266),c=t(65654),u=t(74330),d=t(2913),f=t(85418),m=t(67294),v=t(73913),p=t(46568);l.default=()=>{let{appInfo:e,resourceList:l,scene:t,model:h,conv_uid:x,getChatHistoryRun:g,setResource:b,resource:y}=(0,m.useContext)(v.MobileChatContext),[j,w]=(0,m.useState)(null),_=(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]),C=(0,m.useMemo)(()=>l&&l.length>0?l.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})):[],[l,b]),{run:Z,loading:k}=(0,c.Z)(async e=>{let[,l]=await (0,r.Vx)((0,r.qn)({convUid:x,chatMode:t,data:e,model:h,config:{timeout:36e5}}));return b(l),l},{manual:!0,onSuccess:async()=>{await g()}}),N=async e=>{let l=new FormData;l.append("doc_file",null==e?void 0:e.file),await Z(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)(o.Z,{spin:!0})}),(0,n.jsx)("span",{className:"text-xs",children:"上传中"})]}):y?(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("span",{className:"text-xs",children:y.file_name}),(0,n.jsx)(i.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,y]);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)(d.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:N,className:"flex h-full w-full items-center justify-center",children:S})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,t,r,o,s;if(!(null==l?void 0:l.length))return null;return(0,n.jsx)(f.Z,{menu:{items:C},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==j?void 0:j.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===(r=a.S$[(null==j?void 0:j.type)||(null==l?void 0:null===(o=l[0])||void 0===o?void 0:o.type)])||void 0===r?void 0:r.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==j?void 0:j.param)||(null==l?void 0:null===(s=l[0])||void 0===s?void 0:s.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,l,t){t.r(l);var n=t(85893),r=t(85418),a=t(30568),o=t(67294),i=t(73913),s=t(70065);l.default=()=>{let{temperature:e,setTemperature:l}=(0,o.useContext)(i.MobileChatContext),t=e=>{isNaN(e)||l(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: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})]})})}},73913:function(e,l,t){t.r(l),t.d(l,{MobileChatContext:function(){return y}});var n=t(85893),r=t(41468),a=t(76212),o=t(2440),i=t(62418),s=t(25519),c=t(1375),u=t(65654),d=t(74330),f=t(5152),m=t.n(f),v=t(39332),p=t(67294),h=t(56397),x=t(74638),g=t(83454);let b=m()(()=>Promise.all([t.e(3662),t.e(7034),t.e(4041),t.e(1941),t.e(5872),t.e(4567),t.e(2783),t.e(1531),t.e(2611),t.e(3320),t.e(5265),t.e(7332),t.e(7530),t.e(9397),t.e(6212),t.e(8709),t.e(9256),t.e(9870)]).then(t.bind(t,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),y=(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,v.useSearchParams)(),f=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:j}=(0,p.useContext)(r.p),[w,_]=(0,p.useState)([]),[C,Z]=(0,p.useState)(""),[k,N]=(0,p.useState)(.5),[S,E]=(0,p.useState)(null),$=(0,p.useRef)(null),[O,M]=(0,p.useState)(""),[R,z]=(0,p.useState)(!1),[I,V]=(0,p.useState)(!0),P=(0,p.useRef)(),H=(0,p.useRef)(1),L=(0,o.Z)(),T=(0,p.useMemo)(()=>"".concat(null==L?void 0:L.user_no,"_").concat(m),[m,L]),{run:B,loading:A}=(0,u.Z)(async()=>await (0,a.Vx)((0,a.$i)("".concat(null==L?void 0:L.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&&(H.current=t[t.length-1].order+1),_(l||[])}}),{data:D,run:F,loading:W}=(0,u.Z)(async e=>{let[,l]=await (0,a.Vx)((0,a.BN)(e));return null!=l?l:{}},{manual:!0}),{run:q,data:G,loading:J}=(0,u.Z)(async()=>{var e,l;let[,t]=await (0,a.Vx)((0,a.vD)(f));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:U,loading:X}=(0,u.Z)(async()=>{let[,e]=await (0,a.Vx)((0,a.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===T))||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,p.useEffect)(()=>{f&&m&&j.length&&F({chat_scene:f,app_code:m})},[m,f,F,j]),(0,p.useEffect)(()=>{m&&B()},[m]),(0,p.useEffect)(()=>{if(j.length>0){var e,l,t;let n=null===(e=null==D?void 0:null===(l=D.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;Z(n||j[0])}},[j,D]),(0,p.useEffect)(()=>{var e,l,t;let n=null===(e=null==D?void 0:null===(l=D.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;N(n||.5)},[D]),(0,p.useEffect)(()=>{if(f&&(null==D?void 0:D.app_code)){var e,l,t,n,r,a;let o=null===(e=null==D?void 0:null===(l=D.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===(n=null==D?void 0:null===(r=D.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;i&&E(i),["database","knowledge","plugin","awel_flow"].includes(o)&&!i&&q()}},[D,f,q]);let K=async e=>{var l,t,n;M(""),P.current=new AbortController;let r={chat_mode:f,model_name:C,user_input:e||O,conv_uid:T,temperature:k,app_code:null==D?void 0:D.app_code,...S&&{select_param:S}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);H.current=e[e.length-1].order+1}let a=[{role:"human",context:e||O,model_name:C,order:H.current,time_stamp:0},{role:"view",context:"",model_name:C,order:H.current,time_stamp:0,thinking:!0}],o=a.length-1;_([...w,...a]),V(!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,i.n5)())&&void 0!==t?t:""},signal:P.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=P.current)||void 0===e||e.abort(),V(!0),z(!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?(V(!0),z(!1)):(null==l?void 0:l.startsWith("[ERROR]"))?(a[o].context=null==l?void 0:l.replace("[ERROR]",""),a[o].thinking=!1,_([...w,...a]),V(!0),z(!1)):(z(!0),a[o].context=l,a[o].thinking=!1,_([...w,...a]))}})}catch(e){null===(n=P.current)||void 0===n||n.abort(),a[o].context="Sorry, we meet some error, please try again later.",a[o].thinking=!1,_([...a]),V(!0),z(!1)}};return(0,p.useEffect)(()=>{f&&"chat_agent"!==f&&U()},[f,U]),(0,n.jsx)(y.Provider,{value:{model:C,resource:S,setModel:Z,setTemperature:N,setResource:E,temperature:k,appInfo:D,conv_uid:T,scene:f,history:w,scrollViewRef:$,setHistory:_,resourceList:G,order:H,handleChat:K,setCanNewChat:V,ctrl:P,canAbort:R,setCarAbort:z,canNewChat:I,userInput:O,setUserInput:M,getChatHistoryRun:B},children:(0,n.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:A||W||J||X,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:$,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,n.jsx)(h.default,{}),(0,n.jsx)(b,{})]}),(null==D?void 0:D.app_code)&&(0,n.jsx)(x.default,{})]})})})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9256-c28ad822e1703c70.js b/dbgpt/app/static/web/_next/static/chunks/9256-c28ad822e1703c70.js deleted file mode 100644 index 3e27ecf70..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9256-c28ad822e1703c70.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9256],{23430:function(e,t,a){"use strict";var l=a(85893),s=a(25675),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"})}},43446:function(e,t,a){"use strict";var l=a(64371),s=a(62418),n=a(25519),r=a(1375),i=a(45360),o=a(67294),c=a(41468),d=a(83454);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}}},91467:function(e,t,a){"use strict";a.d(t,{TH:function(){return x},ZS:function(){return f}});var l=a(85893),s=a(3471),n=a(83062),r=a(96074),i=a(91776),o=a(85418),c=a(93967),d=a.n(c),u=a(36609),m=a(25675),p=a.n(m);a(67294);var h=a(48218);a(11873);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:_})]})]})})}},69256:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContentContext:function(){return eC},default:function(){return eP}});var l=a(85893),s=a(76212),n=a(79090),r=a(90598),i=a(75750),o=a(58638),c=a(45360),d=a(66309),u=a(91776),m=a(74330),p=a(20640),h=a.n(p),x=a(67294),f=a(67421),v=a(65654),g=a(48218);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(5152),y=a.n(j);let w=y()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(1941),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(5265),a.e(7332),a.e(7530),a.e(9397),a.e(3764),a.e(422),a.e(2299),a.e(8709),a.e(3913),a.e(4434),a.e(9958)]).then(a.bind(a,88331)),{loadableGenerated:{webpack:()=>[88331]},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(7134),Z=a(32983),S=a(11163),C=a(91467),P=a(41468),R=a(25675),M=a.n(R),O=a(70065),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(62418),T=a(55102),z=a(14726),E=a(93967),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(89546),W=a(28459),G=a(92783),I=a(36609),$=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(39332),F=a(30159),B=a(87740),H=a(52645),U=a(83062),K=a(42952),X=a(34041),Y=a(39718),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(23430),et=a(90725),ea=a(83266),el=a(2093),es=a(2913),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(11186),ei=a(55241),eo=a(30568),ec=a(73320),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(20046),eh=a(82061),ex=a(14313),ef=a(94155),ev=a(21612),eg=a(85576),e_=a(86250);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(43446);let ek=y()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(7332),a.e(3764),a.e(422),a.e(4434),a.e(4451)]).then(a.bind(a,96307)),{loadableGenerated:{webpack:()=>[96307]},ssr:!1}),eZ=y()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(8232),a.e(1941),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(5265),a.e(7332),a.e(7530),a.e(9397),a.e(3764),a.e(422),a.e(905),a.e(3266),a.e(8709),a.e(3913),a.e(4434),a.e(4769)]).then(a.bind(a,36517)),{loadableGenerated:{webpack:()=>[36517]},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})]})})})]})})})}},11873:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9256-f626ccdf8dd069fb.js b/dbgpt/app/static/web/_next/static/chunks/9256-f626ccdf8dd069fb.js new file mode 100644 index 000000000..277f41941 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9256-f626ccdf8dd069fb.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9256],{23430:function(e,t,a){"use strict";var l=a(85893),s=a(25675),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"})}},43446:function(e,t,a){"use strict";var l=a(41468),s=a(64371),n=a(62418),r=a(25519),i=a(1375),o=a(45360),c=a(67294),d=a(83454);t.Z=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:a}=e,[u,m]=(0,c.useState)({}),{scene:p}=(0,c.useContext)(l.p),h=(0,c.useCallback)(async e=>{let{data:l,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:v}=e;if(v&&m(v),!(null==l?void 0:l.user_input)&&!(null==l?void 0:l.doc_id)){o.ZP.warning(s.Z.t("no_context_tip"));return}let g={...l,conv_uid:c,app_code:a};try{var _,b;await (0,i.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[r.gp]:null!==(b=(0,n.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")===i.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}}},91467:function(e,t,a){"use strict";a.d(t,{TH:function(){return x},ZS:function(){return f}});var l=a(85893),s=a(3471),n=a(83062),r=a(96074),i=a(91776),o=a(85418),c=a(93967),d=a.n(c),u=a(36609),m=a(25675),p=a.n(m);a(67294);var h=a(48218);a(11873);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:_})]})]})})}},69256:function(e,t,a){"use strict";a.r(t),a.d(t,{ChatContentContext:function(){return eC},default:function(){return eP}});var l=a(85893),s=a(41468),n=a(76212),r=a(43446),i=a(79090),o=a(90598),c=a(75750),d=a(58638),u=a(45360),m=a(66309),p=a(91776),h=a(74330),x=a(20640),f=a.n(x),v=a(67294),g=a(67421),_=a(65654),b=a(48218);let j=["magenta","orange","geekblue","purple","cyan","green"];var y=e=>{var t,a,s,r,x,y;let{isScrollToTop:w}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,v.useContext)(eC),{t:M}=(0,g.$G)(),O=(0,v.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,v.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:L,loading:T}=(0,_.Z)(async()=>{let[e]=await (0,n.Vx)(V?(0,n.gD)({app_code:N.app_code}):(0,n.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),z=(0,v.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=f()(location.href);u.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)(b.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)(m.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)(m.Z,{color:"cyan",children:null==N?void 0:null===(s=N.team_context)||void 0===s?void 0:s.chat_scene})]})]})]}),(0,l.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await L()},children:[T?(0,l.jsx)(h.Z,{spinning:T,indicator:(0,l.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(o.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(c.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,l.jsx)(d.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)(b.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)(m.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(r=N.team_context)||void 0===r?void 0:r.chat_scene)&&(0,l.jsx)(m.Z,{color:"cyan",children:null==N?void 0:null===(x=N.team_context)||void 0===x?void 0:x.chat_scene})]})]}),(0,l.jsx)(p.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)(h.Z,{spinning:T,indicator:(0,l.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,l.jsx)(l.Fragment,{children:V?(0,l.jsx)(o.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,l.jsx)(c.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)(d.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)(m.Z,{color:j[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))]})]})})},w=a(5152),N=a.n(w);let k=N()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(1941),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(5265),a.e(7332),a.e(6540),a.e(9397),a.e(3764),a.e(422),a.e(2299),a.e(8709),a.e(3913),a.e(4434),a.e(9958)]).then(a.bind(a,88331)),{loadableGenerated:{webpack:()=>[88331]},ssr:!1});var Z=(0,v.forwardRef)((e,t)=>{let{}=e,a=(0,v.useRef)(null),[s,n]=(0,v.useState)(!1);return(0,v.useImperativeHandle)(t,()=>a.current),(0,v.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)(y,{isScrollToTop:s}),(0,l.jsx)(k,{})]})})}),S=a(89546),C=a(91467),P=a(7134),R=a(32983),M=a(25675),O=a.n(M),V=a(11163),L=a(70065),T=e=>{let{apps:t,refresh:a,loading:r,type:i}=e,d=async e=>{let[t]=await (0,n.Vx)("true"===e.is_collected?(0,n.gD)({app_code:e.app_code}):(0,n.mo)({app_code:e.app_code}));t||a()},{setAgent:u,model:m,setCurrentDialogInfo:p}=(0,v.useContext)(s.p),x=(0,V.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,a]=await (0,n.Vx)((0,n.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})),x.push("/chat?scene=".concat(t,"&id=").concat(a.conv_uid).concat(m?"&model=".concat(m):"")))}else{let[,t]=await (0,n.Vx)((0,n.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==u||u(e.app_code),x.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(m?"&model=".concat(m):"")))}};return r?(0,l.jsx)(h.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:r}):(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)(o.Z,{onClick:t=>{t.stopPropagation(),d(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,l.jsx)(c.Z,{onClick:t=>{t.stopPropagation(),d(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)(P.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)(L.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)(R.Z,{image:(0,l.jsx)(O(),{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]"})})},z=a(62418),E=a(55102),A=a(14726),D=a(93967),J=a.n(D),W=function(){let{setCurrentDialogInfo:e}=(0,v.useContext)(s.p),{t}=(0,g.$G)(),a=(0,V.useRouter)(),[r,i]=(0,v.useState)(""),[o,c]=(0,v.useState)(!1),[d,u]=(0,v.useState)(!1),m=async()=>{let[,t]=await (0,n.Vx)((0,n.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(z.rU,JSON.stringify({id:t.conv_uid,message:r})),a.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),i("")};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)(E.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:r,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!d&&(e.preventDefault(),r.trim()&&m())},onChange:e=>{i(e.target.value)},onFocus:()=>{c(!0)},onBlur:()=>c(!1),onCompositionStart:()=>u(!0),onCompositionEnd:()=>u(!1)}),(0,l.jsx)(A.ZP,{type:"primary",className:J()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!r.trim()}),onClick:()=>{r.trim()&&m()},children:t("sent")})]})},G=a(28459),I=a(92783),$=a(36609),q=function(){let{setCurrentDialogInfo:e,model:t}=(0,v.useContext)(s.p),a=(0,V.useRouter)(),[r,i]=(0,v.useState)({app_list:[],total_count:0}),[o,c]=(0,v.useState)("recommend"),d=e=>(0,n.Vx)((0,n.yk)({...e,page_no:"1",page_size:"6"})),u=e=>(0,n.Vx)((0,n.mW)({page_no:"1",page_size:"6",...e})),{run:m,loading:p,refresh:h}=(0,_.Z)(async e=>{switch(o){case"recommend":return await u({});case"used":return await d({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 i({app_list:a,total_count:(null==a?void 0:a.length)||0});i(a||{})},debounceWait:500});(0,v.useEffect)(()=>{m()},[o,m]);let x=[{value:"recommend",label:(0,$.t)("recommend_apps")},{value:"used",label:(0,$.t)("used_apps")}],{data:f}=(0,_.Z)(async()=>{let[,e]=await (0,n.Vx)((0,S.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,l.jsx)(G.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)(I.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:x,value:o,onChange:e=>{c(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,$.t)("app_in_mind")}),(0,l.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{a.push("/")},children:[(0,l.jsx)(O(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,l.jsx)("span",{className:"text-default",children:(0,$.t)("explore")})]}),(0,l.jsx)("span",{children:(0,$.t)("Discover_more")})]})]}),(0,l.jsx)(T,{apps:(null==r?void 0:r.app_list)||[],loading:p,refresh:h,type:o}),f&&f.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,$.t)("help")}),(0,l.jsx)("div",{className:"flex justify-start gap-4",children:f.map(s=>(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,n.Vx)((0,n.sW)({chat_mode:"chat_knowledge",model:t}));l&&(null==e||e({chat_scene:l.chat_mode,app_code:s.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:s.app_code})),localStorage.setItem(z.rU,JSON.stringify({id:l.conv_uid,message:s.question})),a.push("/chat/?scene=".concat(l.chat_mode,"&id=").concat(null==l?void 0:l.conv_uid)))},children:[(0,l.jsx)("span",{children:s.question}),(0,l.jsx)(O(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},s.id))})]})]}),(0,l.jsx)("div",{children:(0,l.jsx)(W,{})})]})})},F=a(39332),B=a(30159),H=a(87740),U=a(52645),K=a(83062),X=a(42952),Y=a(34041),Q=a(39718),ee=(0,v.memo)(()=>{let{modelList:e}=(0,v.useContext)(s.p),{appInfo:t,modelValue:a,setModelValue:n}=(0,v.useContext)(eC),{t:r}=(0,g.$G)(),i=(0,v.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return i.includes("model")?(0,l.jsx)(Y.default,{value:a,placeholder:r("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{n(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,l.jsx)(Y.default.Option,{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(Q.Z,{model:e}),(0,l.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,l.jsx)(K.Z,{title:r("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)(X.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),et=a(23430),ea=a(90725),el=a(83266),es=a(2093),en=a(2913),er=(0,v.memo)(e=>{var t,a,s,r,i;let{fileList:o,setFileList:c,setLoading:d,fileName:u}=e,{setResourceValue:m,appInfo:p,refreshHistory:h,refreshDialogList:x,modelValue:f,resourceValue:b}=(0,v.useContext)(eC),j=(0,F.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,g.$G)(),[k,Z]=(0,v.useState)([]),S=(0,v.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),C=(0,v.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,v.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,v.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,_.Z)(async()=>await (0,n.Vx)((0,n.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;Z(null!=t?t:[])}});(0,es.Z)(async()=>{(C||P)&&!(null==R?void 0:R.bind_value)&&await M()},[C,P,R]);let V=(0,v.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)(et.Z,{width:24,height:24,src:z.S$[e.type].icon,label:z.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[k]),L=(0,v.useCallback)(async()=>{let e=new FormData;e.append("doc_file",null==o?void 0:o[0]),d(!0);let[t,a]=await (0,n.Vx)((0,n.qn)({convUid:w,chatMode:y,data:e,model:f,config:{timeout:36e5}})).finally(()=>{d(!1)});a&&(m(a),await h(),await x())},[w,o,f,x,h,y,d,m]);if(!S.includes("resource"))return(0,l.jsx)(K.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)(ea.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)(en.default,{name:"file",accept:".csv,.xlsx,.xls",fileList:o,showUploadList:!1,beforeUpload:(e,t)=>{null==c||c(t)},customRequest:L,disabled:!!u||!!(null===(s=o[0])||void 0===s?void 0:s.name),children:(0,l.jsx)(K.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)(el.Z,{className:J()("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)(Y.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})}}),ei=a(11186),eo=a(55241),ec=a(30568),ed=a(73320),eu=(0,v.memo)(e=>{let{temperatureValue:t,setTemperatureValue:a}=e,{appInfo:s}=(0,v.useContext)(eC),{t:n}=(0,g.$G)(),r=(0,v.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)(K.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)(ei.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)(eo.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(ec.Z,{className:"w-20",min:0,max:1,step:.1,onChange:i,value:"number"==typeof t?t:0}),(0,l.jsx)(ed.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:i,value:t})]}),children:(0,l.jsx)(K.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)(ei.Z,{})})})}),(0,l.jsx)("span",{className:"text-sm ml-2",children:t})]})}),em=e=>{var t,a;let{ctrl:s}=e,{t:r}=(0,g.$G)(),{history:o,scrollRef:c,canAbort:d,replyLoading:u,currentDialogue:m,appInfo:p,temperatureValue:x,resourceValue:f,setTemperatureValue:_,refreshHistory:b,setCanAbort:j,setReplyLoading:y,handleChat:w}=(0,v.useContext)(eC),[N,k]=(0,v.useState)([]),[Z,S]=(0,v.useState)(!1),[C,P]=(0,v.useState)(!1),R=(0,v.useMemo)(()=>{var e;return(null===(e=p.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[p.param_need]),M=(0,v.useMemo)(()=>[{tip:r("stop_replying"),icon:(0,l.jsx)(B.Z,{className:J()({"text-[#0c75fc]":d})}),can_use:d,key:"abort",onClick:()=>{d&&(s.abort(),setTimeout(()=>{j(!1),y(!1)},100))}},{tip:r("answer_again"),icon:(0,l.jsx)(H.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:p.app_code,...R.includes("temperature")&&{temperature:x},...R.includes("resource")&&{select_param:"string"==typeof f?f:JSON.stringify(f)||m.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:r("erase_memory"),icon:C?(0,l.jsx)(h.Z,{spinning:C,indicator:(0,l.jsx)(i.Z,{style:{fontSize:20}})}):(0,l.jsx)(U.Z,{}),can_use:o.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,n.Vx)((0,n.zR)(m.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[r,d,u,o,C,s,j,y,w,p.app_code,R,x,f,m.select_param,m.conv_uid,c,b]),V=(0,v.useMemo)(()=>{try{return JSON.parse(m.select_param).file_name}catch(e){return""}},[m.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)(ee,{}),(0,l.jsx)(er,{fileList:N,setFileList:k,setLoading:S,fileName:V}),(0,l.jsx)(eu,{temperatureValue:x,setTemperatureValue:_})]}),(0,l.jsx)("div",{className:"flex gap-1",children:(0,l.jsx)(l.Fragment,{children:M.map(e=>(0,l.jsx)(K.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)(O(),{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)(h.Z,{spinning:Z,indicator:(0,l.jsx)(i.Z,{style:{fontSize:24},spin:!0})})]})})]})},ep=e=>{var t;let{ctrl:a}=e,{t:s}=(0,g.$G)(),{scrollRef:n,replyLoading:r,handleChat:o,appInfo:c,currentDialogue:d,temperatureValue:u,resourceValue:m,refreshDialogList:p}=(0,v.useContext)(eC),x=(0,F.useSearchParams)(),f=null!==(t=null==x?void 0:x.get("select_param"))&&void 0!==t?t:"",[_,b]=(0,v.useState)(""),[j,y]=(0,v.useState)(!1),[w,N]=(0,v.useState)(!1),k=(0,v.useRef)(0),Z=(0,v.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=n.current)||void 0===e||e.scrollTo({top:null===(t=n.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:f,...Z.includes("resource")&&{select_param:"string"==typeof m?m:JSON.stringify(m)||d.select_param}}),1===k.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(j?"border-[#0c75fc]":""),id:"input-panel",children:[(0,l.jsx)(em,{ctrl:a}),(0,l.jsx)(E.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()&&!r&&S())},onChange:e=>{b(e.target.value)},onFocus:()=>{y(!0)},onBlur:()=>y(!1),onCompositionStart:()=>N(!0),onCompositionEnd:()=>N(!1)}),(0,l.jsx)(A.ZP,{type:"primary",className:J()("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:()=>{!r&&_.trim()&&S()},children:r?(0,l.jsx)(h.Z,{spinning:r,indicator:(0,l.jsx)(i.Z,{className:"text-white"})}):s("sent")})]})})},eh=a(20046),ex=a(82061),ef=a(14313),ev=a(94155),eg=a(21612),e_=a(85576),eb=a(86250);let{Sider:ej}=eg.default,ey={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},ew=e=>{var t,a;let{item:r,refresh:i,historyLoading:o}=e,{t:c}=(0,g.$G)(),d=(0,F.useRouter)(),m=(0,F.useSearchParams)(),h=null!==(t=null==m?void 0:m.get("id"))&&void 0!==t?t:"",x=null!==(a=null==m?void 0:m.get("scene"))&&void 0!==a?a:"",{setCurrentDialogInfo:_}=(0,v.useContext)(s.p),b=(0,v.useMemo)(()=>r.default?r.default&&!h&&!x:r.conv_uid===h&&r.chat_mode===x,[h,x,r]),j=()=>{e_.default.confirm({title:c("delete_chat"),content:c("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,n.Vx)((0,n.MX)(r.conv_uid));e||(await (null==i?void 0:i()),r.conv_uid===h&&d.push("/chat"))}})};return(0,l.jsxs)(eb.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||(r.default||null==_||_({chat_scene:r.chat_mode,app_code:r.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:r.chat_mode,app_code:r.app_code})),d.push(r.default?"/chat":"?scene=".concat(r.chat_mode,"&id=").concat(r.conv_uid)))},children:[(0,l.jsx)(K.Z,{title:r.chat_mode,children:(0,l.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:r.icon})}),(0,l.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,l.jsx)(p.Z.Text,{ellipsis:{tooltip:!0},children:r.label})}),!r.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)(eh.Z,{style:{fontSize:16},onClick:()=>{let e=f()("".concat(location.origin,"/chat?scene=").concat(r.chat_mode,"&id=").concat(r.conv_uid));u.ZP[e?"success":"error"](e?c("copy_success"):c("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)(ex.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 eN=e=>{var t;let{dialogueList:a=[],refresh:n,historyLoading:r,listLoading:i,order:o}=e,c=(0,F.useSearchParams)(),d=null!==(t=null==c?void 0:c.get("scene"))&&void 0!==t?t:"",{t:u}=(0,g.$G)(),{mode:m}=(0,v.useContext)(s.p),[p,x]=(0,v.useState)("chat_dashboard"===d),f=(0,v.useMemo)(()=>p?{...ey,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...ey,borderLeft:"1px solid #d6d8da"},[p]),_=(0,v.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)(b.Z,{scene:e.chat_mode}),default:!1})):[]},[a]);return(0,l.jsx)(ej,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:m,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,l.jsx)(ef.Z,{className:"text-base"}):(0,l.jsx)(ev.Z,{className:"text-base"}),zeroWidthTriggerStyle:f,onCollapse:e=>x(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:u("dialog_list")}),(0,l.jsxs)(eb.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,l.jsx)(ew,{item:{label:u("assistant"),key:"default",icon:(0,l.jsx)(O(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:o}),(0,l.jsx)(h.Z,{spinning:i,className:"mt-2",children:!!(null==_?void 0:_.length)&&_.map(e=>(0,l.jsx)(ew,{item:e,refresh:n,historyLoading:r,order:o},null==e?void 0:e.key))})]})]})})};let ek=N()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(7332),a.e(3764),a.e(422),a.e(4434),a.e(4451)]).then(a.bind(a,96307)),{loadableGenerated:{webpack:()=>[96307]},ssr:!1}),eZ=N()(()=>Promise.all([a.e(3662),a.e(7034),a.e(1599),a.e(1941),a.e(8232),a.e(5872),a.e(4567),a.e(1531),a.e(2611),a.e(5265),a.e(7332),a.e(6540),a.e(9397),a.e(3764),a.e(422),a.e(905),a.e(8578),a.e(8709),a.e(3913),a.e(4434),a.e(4769)]).then(a.bind(a,36517)),{loadableGenerated:{webpack:()=>[36517]},ssr:!1}),{Content:eS}=eg.default,eC=(0,v.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,i;let{model:o,currentDialogInfo:c}=(0,v.useContext)(s.p),{isContract:d,setIsContract:u,setIsMenuExpand:m}=(0,v.useContext)(s.p),{chat:p,ctrl:x}=(0,r.Z)({app_code:c.app_code||""}),f=(0,F.useSearchParams)(),g=null!==(e=null==f?void 0:f.get("id"))&&void 0!==e?e:"",b=null!==(t=null==f?void 0:f.get("scene"))&&void 0!==t?t:"",j=null!==(a=null==f?void 0:f.get("knowledge_id"))&&void 0!==a?a:"",y=null!==(i=null==f?void 0:f.get("db_name"))&&void 0!==i?i:"",w=(0,v.useRef)(null),N=(0,v.useRef)(1),[k,S]=(0,v.useState)([]),[C]=(0,v.useState)(),[P,R]=(0,v.useState)(!1),[M,O]=(0,v.useState)(!1),[V,L]=(0,v.useState)(""),[T,E]=(0,v.useState)({}),[A,D]=(0,v.useState)(),[J,W]=(0,v.useState)(),[G,I]=(0,v.useState)("");(0,v.useEffect)(()=>{var e,t,a,l,s,n;D((null===(e=null==T?void 0:null===(t=T.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==T?void 0:null===(l=T.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===a?void 0:a.value)||o),W(j||y||(null===(s=null==T?void 0:null===(n=T.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[T,y,j,o]),(0,v.useEffect)(()=>{m("chat_dashboard"!==b),g&&b&&u(!1)},[g,b]);let $=(0,v.useMemo)(()=>!g&&!b,[g,b]),{data:B=[],refresh:H,loading:U}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.iP)())),{run:K,refresh:X}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.BN)({...c})),{manual:!0,onSuccess:e=>{let[,t]=e;E(t||{})}}),Y=(0,v.useMemo)(()=>{let[,e]=B;return(null==e?void 0:e.find(e=>e.conv_uid===g))||{}},[g,B]);(0,v.useEffect)(()=>{let e=(0,z.a_)();c.chat_scene!==b||$||e&&e.message||K()},[g,c,$,K,b]);let{run:Q,loading:ee,refresh:et}=(0,_.Z)(async()=>await (0,n.Vx)((0,n.$i)(g)),{manual:!0,onSuccess:e=>{let[,t]=e,a=null==t?void 0:t.filter(e=>"view"===e.role);a&&a.length>0&&(N.current=a[a.length-1].order+1),S(t||[])}}),ea=(0,v.useCallback)((e,t)=>new Promise(a=>{let l=(0,z.a_)(),s=new AbortController;if(R(!0),k&&k.length>0){var n,r;let e=null==k?void 0:k.filter(e=>"view"===e.role),t=null==k?void 0:k.filter(e=>"human"===e.role);N.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===g?[]:k,{role:"human",context:e,model_name:(null==t?void 0:t.model_name)||G,order:N.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||G,order:N.current,time_stamp:0,thinking:!0}],o=i.length-1;S([...i]),p({data:{chat_mode:b,model_name:G,user_input:e,...t},ctrl:s,chatId:g,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),S([...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,S([...i]),a()}})}),[g,k,G,p,b]);return(0,es.Z)(async()=>{if($)return;let e=(0,z.a_)();e&&e.id===g||await Q()},[g,b,Q]),(0,v.useEffect)(()=>{$&&(N.current=1,S([]))},[$]),(0,l.jsx)(eC.Provider,{value:{history:k,replyLoading:P,scrollRef:w,canAbort:M,chartsData:C||[],agent:V,currentDialogue:Y,appInfo:T,temperatureValue:A,resourceValue:J,modelValue:G,setModelValue:I,setResourceValue:W,setTemperatureValue:D,setAppInfo:E,setAgent:L,setCanAbort:O,setReplyLoading:R,handleChat:ea,refreshDialogList:H,refreshHistory:et,refreshAppInfo:X,setHistory:S},children:(0,l.jsx)(eb.Z,{flex:1,children:(0,l.jsxs)(eg.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,l.jsx)(eN,{refresh:H,dialogueList:B,listLoading:U,historyLoading:ee,order:N}),(0,l.jsx)(eg.default,{className:"bg-transparent",children:"chat_dashboard"===b?d?(0,l.jsx)(ek,{}):(0,l.jsx)(eZ,{}):$?(0,l.jsx)(eS,{children:(0,l.jsx)(q,{})}):(0,l.jsx)(h.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)(Z,{ref:w}),(0,l.jsx)(ep,{ctrl:x})]})})})]})})})}},11873:function(){}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9397-fe28251b41db0e09.js b/dbgpt/app/static/web/_next/static/chunks/9397-b2daec73b1febdd8.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/9397-fe28251b41db0e09.js rename to dbgpt/app/static/web/_next/static/chunks/9397-b2daec73b1febdd8.js diff --git a/dbgpt/app/static/web/_next/static/chunks/971df74e-5c8a2b2e1932b68d.js b/dbgpt/app/static/web/_next/static/chunks/971df74e-65e71fad3b06f301.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/971df74e-5c8a2b2e1932b68d.js rename to dbgpt/app/static/web/_next/static/chunks/971df74e-65e71fad3b06f301.js diff --git a/dbgpt/app/static/web/_next/static/chunks/9958.691b667cdf0cfe81.js b/dbgpt/app/static/web/_next/static/chunks/9958.691b667cdf0cfe81.js new file mode 100644 index 000000000..230b58ae8 --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/9958.691b667cdf0cfe81.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9958],{2440:function(e,l,t){var s=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(s.C9))&&void 0!==e?e:"")}},88331:function(e,l,t){t.r(l),t.d(l,{default:function(){return Y}});var s=t(85893),a=t(41468),n=t(76212),r=t(74434),i=t(30853),c=t(25519),o=t(30071),d=t(79090),u=t(28508),m=t(88284),x=t(89035),p=t(38292),v=t(93967),f=t.n(v),g=t(25675),h=t.n(g),j=t(39332),y=t(67294),w=t(67421),b=t(14660),N=t(55186),k=t(65429),_=t(15381),Z=t(85175),C=t(65654),S=t(66309),P=t(55102),O=t(14726),J=t(45360),$=t(55241),I=t(96074),M=t(20640),A=t.n(M);let E=e=>{let{list:l,loading:t,feedback:a,setFeedbackOpen:n}=e,{t:r}=(0,w.$G)(),[i,c]=(0,y.useState)([]),[o,d]=(0,y.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)(S.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)(P.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)(O.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,s.jsx)(O.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 F=e=>{var l,t;let{content:a}=e,{t:r}=(0,w.$G)(),i=(0,j.useSearchParams)(),c=null!==(t=null==i?void 0:i.get("id"))&&void 0!==t?t:"",[o,d]=J.ZP.useMessage(),[u,m]=(0,y.useState)(!1),[x,p]=(0,y.useState)(null==a?void 0:null===(l=a.feedback)||void 0===l?void 0:l.feedback_type),[v,g]=(0,y.useState)(),h=async e=>{let l=null==e?void 0:e.replace(/\trelations:.*/g,""),t=A()(l);t?l?o.open({type:"success",content:r("copy_success")}):o.open({type:"warning",content:r("copy_nothing")}):o.open({type:"error",content:r("copy_failed")})},{run:b,loading:N}=(0,C.Z)(async e=>await (0,n.Vx)((0,n.zx)({conv_uid:c,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),J.ZP.success("反馈成功"),m(!1)}}),{run:S}=(0,C.Z)(async()=>await (0,n.Vx)((0,n.Jr)()),{manual:!0,onSuccess:e=>{let[,l]=e;g(l||[]),l&&m(!0)}}),{run:P}=(0,C.Z)(async()=>await (0,n.Vx)((0,n.Ir)({conv_uid:c,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,l]=e;l&&(p("none"),J.ZP.success("操作成功"))}});return(0,s.jsxs)(s.Fragment,{children:[d,(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)(k.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await P();return}await b({feedback_type:"like"})}}),(0,s.jsx)($.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,s.jsx)(E,{setFeedbackOpen:m,feedback:b,list:v||[],loading:N}),trigger:"click",open:u,children:(0,s.jsx)(_.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await P();return}await S()}})})]}),(0,s.jsx)(I.Z,{type:"vertical"}),(0,s.jsx)(Z.Z,{className:"cursor-pointer",onClick:()=>h(a.context)})]})]})},T=t(50228),V=t(48218),G=t(39718),z=(0,y.memo)(e=>{var l;let{model:t}=e,a=(0,j.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)(V.Z,{scene:n})}):t?(0,s.jsx)(G.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)(T.Z,{})})});let B=()=>{var e;let l=JSON.parse(null!==(e=localStorage.getItem(c.C9))&&void 0!==e?e:"");return l.avatar_url?(0,s.jsx)(h(),{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})},D={todo:{bgClass:"bg-gray-500",icon:(0,s.jsx)(o.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,s.jsx)(d.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,s.jsx)(u.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,s.jsx)(m.Z,{className:"ml-2"})}},H=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,""),L=e=>null==e?void 0:e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"");var R=(0,y.memo)(e=>{var l;let{content:t,onLinkClick:a}=e,{t:n}=(0,w.$G)(),r=(0,j.useSearchParams)(),c=null!==(l=null==r?void 0:r.get("scene"))&&void 0!==l?l:"",{context:o,model_name:d,role:u,thinking:m}=t,v=(0,y.useMemo)(()=>"view"===u,[u]),{value:g,cachePluginContext:h}=(0,y.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:H(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]),k=(0,y.useMemo)(()=>({"custom-view"(e){var l;let{children:t}=e,a=+t.toString();if(!h[a])return t;let{name:n,status:r,err_msg:c,result:o}=h[a],{bgClass:d,icon:u}=null!==(l=D[r])&&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:f()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[n,u]}),o?(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,s.jsx)(p.Z,{components:i.Z,rehypePlugins:[b.Z],remarkPlugins:[N.Z],children:null!=o?o:""})}):(0,s.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:c})]})}}),[h]);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:v?(0,s.jsx)(z,{model:d}):(0,s.jsx)(B,{})}),(0,s.jsxs)("div",{className:"flex ".concat("chat_agent"!==c||m?"":"flex-1"," overflow-hidden"),children:[!v&&(0,s.jsx)("div",{className:"flex flex-1 items-center text-sm text-[#1c2533] dark:text-white",children:"string"==typeof o&&o}),v&&(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:a,children:[(0,s.jsx)(x.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===c&&(0,s.jsx)(p.Z,{components:{...i.Z},rehypePlugins:[b.Z],remarkPlugins:[N.Z],children:L(g)}),"string"==typeof o&&"chat_agent"!==c&&(0,s.jsx)("div",{children:(0,s.jsx)(p.Z,{components:{...i.Z,...k},rehypePlugins:[b.Z],remarkPlugins:[N.Z],children:H(g)})}),m&&!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:n("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)(F,{content:t})]})]})]})}),U=t(69256),q=t(62418),K=t(2093),Q=t(85576),W=t(96486),X=t(25934),Y=()=>{var e;let l=(0,y.useRef)(null),t=(0,j.useSearchParams)(),i=null!==(e=null==t?void 0:t.get("id"))&&void 0!==e?e:"",{currentDialogInfo:c,model:o}=(0,y.useContext)(a.p),{history:d,handleChat:u,refreshDialogList:m,setAppInfo:x,setModelValue:p,setTemperatureValue:v,setResourceValue:f}=(0,y.useContext)(U.ChatContentContext),[g,h]=(0,y.useState)(!1),[w,b]=(0,y.useState)(""),N=(0,y.useMemo)(()=>{let e=(0,W.cloneDeep)(d);return e.filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,X.Z)()}))},[d]);return(0,K.Z)(async()=>{let e=(0,q.a_)();if(e&&e.id===i){let[,i]=await (0,n.Vx)((0,n.BN)({...c}));if(i){var l,t,s,a,r,d,g;let n=(null==i?void 0:null===(l=i.param_need)||void 0===l?void 0:l.map(e=>e.type))||[],c=(null===(t=null==i?void 0:null===(s=i.param_need)||void 0===s?void 0:s.filter(e=>"model"===e.type)[0])||void 0===t?void 0:t.value)||o,h=(null===(a=null==i?void 0:null===(r=i.param_need)||void 0===r?void 0:r.filter(e=>"temperature"===e.type)[0])||void 0===a?void 0:a.value)||.5,j=null===(d=null==i?void 0:null===(g=i.param_need)||void 0===g?void 0:g.filter(e=>"resource"===e.type)[0])||void 0===d?void 0:d.bind_value;x(i||{}),v(h||.5),p(c),f(j),await u(e.message,{app_code:null==i?void 0:i.app_code,model_name:c,...(null==n?void 0:n.includes("temperature"))&&{temperature:h},...n.includes("resource")&&{select_param:"string"==typeof j?j:JSON.stringify(j)}}),await m(),localStorage.removeItem(q.rU)}}},[i,c]),(0,y.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)},[d,d[d.length-1].context]),(0,s.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",ref:l,children:[!!N.length&&N.map((e,l)=>(0,s.jsx)(R,{content:e,onLinkClick:()=>{h(!0),b(JSON.stringify(null==e?void 0:e.context,null,2))}},l)),(0,s.jsx)(Q.default,{title:"JSON Editor",open:g,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{h(!1)},onCancel:()=>{h(!1)},children:(0,s.jsx)(r.Z,{className:"w-full h-[500px]",language:"json",value:w})})]})}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/9958.c0fec60f64355702.js b/dbgpt/app/static/web/_next/static/chunks/9958.c0fec60f64355702.js deleted file mode 100644 index f0a1c8ec3..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/9958.c0fec60f64355702.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9958],{2440:function(e,l,t){var s=t(25519);l.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(s.C9))&&void 0!==e?e:"")}},88331:function(e,l,t){t.r(l),t.d(l,{default:function(){return Y}});var s=t(85893),a=t(30853),n=t(25519),r=t(30071),i=t(79090),c=t(28508),o=t(88284),d=t(89035),u=t(93967),m=t.n(u),x=t(25675),p=t.n(x),v=t(39332),f=t(67294),g=t(67421),h=t(95988),j=t(14660),y=t(55186),w=t(76212),b=t(65429),k=t(15381),N=t(85175),_=t(65654),Z=t(66309),C=t(55102),S=t(14726),P=t(45360),O=t(55241),J=t(96074),$=t(20640),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(50228),F=t(48218),T=t(39718),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(41468),R=t(74434),U=t(69256),q=t(62418),K=t(2093),Q=t(85576),W=t(96486),X=t(25934),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/framework-bf941633d42c5f92.js b/dbgpt/app/static/web/_next/static/chunks/framework-8b06d32cbb857e0e.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/framework-bf941633d42c5f92.js rename to dbgpt/app/static/web/_next/static/chunks/framework-8b06d32cbb857e0e.js diff --git a/dbgpt/app/static/web/_next/static/chunks/main-28c79a921c889131.js b/dbgpt/app/static/web/_next/static/chunks/main-6c4c7f5b8c9b1320.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/main-28c79a921c889131.js rename to dbgpt/app/static/web/_next/static/chunks/main-6c4c7f5b8c9b1320.js diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/_app-690c49bd776698cb.js b/dbgpt/app/static/web/_next/static/chunks/pages/_app-690c49bd776698cb.js deleted file mode 100644 index 1117e74b4..000000000 --- a/dbgpt/app/static/web/_next/static/chunks/pages/_app-690c49bd776698cb.js +++ /dev/null @@ -1,92 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{16397:function(e,t,n){"use strict";n.d(t,{iN:function(){return R},R_:function(){return u}});var r=n(86500),o=n(1350),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 c(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 E(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:c(T,u,!0),v:E(T,u,!0)}));n.push(d)}n.push(s(r));for(var f=1;f<=4;f+=1){var R=a(r),A=s((0,o.uA)({h:l(R,f),s:c(R,f),v:E(R,f)}));n.push(A)}return"dark"===t.theme?i.map(function(e){var r,i,a,l=e.index,c=e.opacity;return s((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[l]),a=100*c/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={},f={};Object.keys(T).forEach(function(e){d[e]=u(T[e]),d[e].primary=d[e][5],f[e]=u(T[e],{theme:"dark",backgroundColor:"#141414"}),f[e].primary=f[e][5]}),d.red,d.volcano,d.gold,d.orange,d.yellow,d.lime,d.green,d.cyan;var R=d.blue;d.geekblue,d.purple,d.magenta,d.grey,d.grey},87893:function(e,t,n){"use strict";n.d(t,{rb:function(){return eB},IX:function(){return eD}});var r,o=n(71002),i=n(97685),a=n(4942),s=n(1413),l=n(67294),c=n.t(l,2),E=n(44958);n(56982),n(91881);var u=n(15671),T=n(43144);function d(e){return e.join("%")}var f=function(){function e(t){(0,u.Z)(this,e),(0,a.Z)(this,"instanceId",void 0),(0,a.Z)(this,"cache",new Map),this.instanceId=t}return(0,T.Z)(e,[{key:"get",value:function(e){return this.opGet(d(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(d(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}(),R="data-token-hash",A="data-css-hash",S="__cssinjs_instance__",O=l.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(A,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[S]=t[S]||e,t[S]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(A,"]"))).forEach(function(t){var n,o=t.getAttribute(A);r[o]?t[S]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new f(e)}(),defaultCache:!0}),p=n(98924),h=function(){function e(){(0,u.Z)(this,e),(0,a.Z)(this,"cache",void 0),(0,a.Z)(this,"keys",void 0),(0,a.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,T.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]3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return e;var i=(0,s.Z)((0,s.Z)({},r),{},(0,a.Z)((0,a.Z)({},R,t),A,n)),l=Object.keys(i).map(function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null}).filter(function(e){return e}).join(" ");return"")}var _=n(74902),C=n(8410),g=(0,s.Z)({},c).useInsertionEffect,L=g?function(e,t,n){return g(function(){return e(),t()},n)}:function(e,t,n){l.useMemo(e,n),(0,C.Z)(function(){return t(!0)},n)},v=void 0!==(0,s.Z)({},c).useInsertionEffect?function(e){var t=[],n=!1;return l.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 y(e,t,n,r,o){var a=l.useContext(O).cache,s=d([e].concat((0,_.Z)(t))),c=v([s]),E=function(e){a.opUpdate(s,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})};l.useMemo(function(){E()},[s]);var u=a.opGet(s)[1];return L(function(){null==o||o(u)},function(e){return E(function(t){var n=(0,i.Z)(t,2),r=n[0],a=n[1];return e&&0===r&&(null==o||o(u)),[r+1,a]}),function(){a.opUpdate(s,function(t){var n=(0,i.Z)(t||[],2),o=n[0],l=void 0===o?0:o,E=n[1];return 0==l-1?(c(function(){(e||!a.opGet(s))&&(null==r||r(E,!1))}),null):[l-1,E]})}},[s]),u}var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},b=function(e,t,n){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!==(c=n.ignore)&&void 0!==c&&c[r])){var l,c,E,u=P(r,null==n?void 0:n.prefix);o[u]="number"!=typeof s||null!=n&&null!==(E=n.unitless)&&void 0!==E&&E[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(""),"}"):"")]},M=n(87462),D=n(62506),U=n(40351),x="comm",w="rule",G="decl",F=Math.abs,H=String.fromCharCode;function B(e,t,n){return e.replace(t,n)}function Y(e,t){return 0|e.charCodeAt(t)}function k(e,t,n){return e.slice(t,n)}function V(e){return e.length}function $(e,t){return t.push(e),e}function W(e,t){for(var n="",r=0;r0?d[O]+" "+p:B(p,/&\f/g,d[O])).trim())&&(l[S++]=h);return Q(e,t,n,0===o?w:s,l,c,E,u)}function ei(e,t,n,r,o){return Q(e,t,n,G,k(e,0,r),k(e,r+1,-1),r,o)}var ea="data-ant-cssinjs-cache-path",es="_FILE_STYLE__",el=!0,ec="_multi_value_";function eE(e){var t,n,r;return W((r=function e(t,n,r,o,i,a,s,l,c){for(var E,u,T,d=0,f=0,R=s,A=0,S=0,O=0,p=1,h=1,N=1,I=0,m="",_=i,C=a,g=o,L=m;h;)switch(O=I,I=ee()){case 40:if(108!=O&&58==Y(L,R-1)){-1!=(u=L+=B(er(I),"&","&\f"),T=F(d?l[d-1]:0),u.indexOf("&\f",T))&&(N=-1);break}case 34:case 39:case 91:L+=er(I);break;case 9:case 10:case 13:case 32:L+=function(e){for(;q=et();)if(q<33)ee();else break;return en(e)>2||en(q)>3?"":" "}(O);break;case 92:L+=function(e,t){for(var n;--t&&ee()&&!(q<48)&&!(q>102)&&(!(q>57)||!(q<65))&&(!(q>70)||!(q<97)););return n=z+(t<6&&32==et()&&32==ee()),k(J,e,n)}(z-1,7);continue;case 47:switch(et()){case 42:case 47:$(Q(E=function(e,t){for(;ee();)if(e+q===57)break;else if(e+q===84&&47===et())break;return"/*"+k(J,t,z-1)+"*"+H(47===e?e:ee())}(ee(),z),n,r,x,H(q),k(E,2,-2),0,c),c);break;default:L+="/"}break;case 123*p:l[d++]=V(L)*N;case 125*p:case 59:case 0:switch(I){case 0:case 125:h=0;case 59+f:-1==N&&(L=B(L,/\f/g,"")),S>0&&V(L)-R&&$(S>32?ei(L+";",o,r,R-1,c):ei(B(L," ","")+";",o,r,R-2,c),c);break;case 59:L+=";";default:if($(g=eo(L,n,r,d,f,i,l,m,_=[],C=[],R,a),a),123===I){if(0===f)e(L,n,g,g,_,a,R,l,C);else switch(99===A&&110===Y(L,3)?100:A){case 100:case 108:case 109:case 115:e(t,g,g,o&&$(eo(t,g,g,0,0,i,l,m,i,_=[],R,C),C),i,C,R,l,o?_:C);break;default:e(L,g,g,g,[""],C,0,l,C)}}}d=f=S=0,p=N=1,m=L="",R=s;break;case 58:R=1+V(L),S=O;default:if(p<1){if(123==I)--p;else if(125==I&&0==p++&&125==(q=z>0?Y(J,--z):0,X--,10===q&&(X=1,j--),q))continue}switch(L+=H(I),I*p){case 38:N=f>0?1:(L+="\f",-1);break;case 44:l[d++]=(V(L)-1)*N,N=1;break;case 64:45===et()&&(L+=er(ee())),A=et(),f=R=V(m=L+=function(e){for(;!en(et());)ee();return k(J,e,z)}(z)),I++;break;case 45:45===O&&2==V(L)&&(p=0)}}return a}("",null,null,null,[""],(n=t=e,j=X=1,K=V(J=n),z=0,t=[]),0,[0],t),J="",r),Z).replace(/\{%%%\:[^;];}/g,";")}var eu=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:[]},a=r.root,l=r.injectHash,c=r.parentSelectors,E=n.hashId,u=n.layer,T=(n.path,n.hashPriority),d=n.transformers,f=void 0===d?[]:d;n.linters;var R="",A={};function S(t){var r=t.getName(E);if(!A[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,i.Z)(o,1)[0];A[r]="@keyframes ".concat(t.getName(E)).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||a?t:{};if("string"==typeof r)R+="".concat(r,"\n");else if(r._keyframe)S(r);else{var u=f.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,o.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,o.Z)(r)&&r&&("_skip_check_"in r||ec in r)){function d(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;U.Z[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(S(t),r=t.getName(E)),R+="".concat(n,":").concat(r,";")}var f,O=null!==(f=null==r?void 0:r.value)&&void 0!==f?f:r;"object"===(0,o.Z)(r)&&null!=r&&r[ec]&&Array.isArray(O)?O.forEach(function(e){d(t,e)}):d(t,O)}else{var p=!1,h=t.trim(),N=!1;(a||l)&&E?h.startsWith("@")?p=!0:h=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,_.Z)(n.slice(1))).join(" ")}).join(",")}(t,E,T):a&&!E&&("&"===h||""===h)&&(h="",N=!0);var I=e(r,n,{root:N,injectHash:p,parentSelectors:[].concat((0,_.Z)(c),[h])}),m=(0,i.Z)(I,2),C=m[0],g=m[1];A=(0,s.Z)((0,s.Z)({},A),g),R+="".concat(h).concat(C)}})}}),a?u&&(R="@layer ".concat(u.name," {").concat(R,"}"),u.dependencies&&(A["@layer ".concat(u.name)]=u.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(u.name,";")}).join("\n"))):R="{".concat(R,"}"),[R,A]};function eT(e,t){return(0,D.Z)("".concat(e.join("%")).concat(t))}function ed(){return null}var ef="style";function eR(e,t){var n=e.token,o=e.path,c=e.hashId,u=e.layer,T=e.nonce,d=e.clientOnly,f=e.order,h=void 0===f?0:f,I=l.useContext(O),m=I.autoClear,C=(I.mock,I.defaultCache),g=I.hashPriority,L=I.container,v=I.ssrInline,P=I.transformers,b=I.linters,D=I.cache,U=I.layer,x=n._tokenKey,w=[x];U&&w.push("layer"),w.push.apply(w,(0,_.Z)(o));var G=y(ef,w,function(){var e=w.join("|");if(!function(){if(!r&&(r={},(0,p.Z)())){var e,t=document.createElement("div");t.className=ea,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(ea,"]"));o&&(el=!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,p.Z)()){if(el)n=es;else{var o=document.querySelector("style[".concat(A,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}(e),a=(0,i.Z)(n,2),s=a[0],l=a[1];if(s)return[s,x,l,{},d,h]}var E=eu(t(),{hashId:c,hashPriority:g,layer:U?u:void 0,path:o.join("-"),transformers:P,linters:b}),T=(0,i.Z)(E,2),f=T[0],R=T[1],S=eE(f),O=eT(w,S);return[S,x,O,R,d,h]},function(e,t){var n=(0,i.Z)(e,3)[2];(t||m)&&N&&(0,E.jL)(n,{mark:A})},function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(N&&n!==es){var a={mark:A,prepend:!U&&"queue",attachTo:L,priority:h},l="function"==typeof T?T():T;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)(eE(o[e]),"_layer-".concat(e),(0,s.Z)((0,s.Z)({},a),{},{prepend:!0}))});var d=(0,E.hq)(n,r,a);d[S]=D.instanceId,d.setAttribute(R,x),u.forEach(function(e){(0,E.hq)(eE(o[e]),"_effect-".concat(e),a)})}}),F=(0,i.Z)(G,3),H=F[0],B=F[1],Y=F[2];return function(e){var t;return t=v&&!N&&C?l.createElement("style",(0,M.Z)({},(0,a.Z)((0,a.Z)({},R,B),A,Y),{dangerouslySetInnerHTML:{__html:H}})):l.createElement(ed,null),l.createElement(l.Fragment,null,t,e)}}var eA="cssVar",eS=function(e,t){var n=e.key,r=e.prefix,o=e.unitless,a=e.ignore,s=e.token,c=e.scope,u=void 0===c?"":c,T=(0,l.useContext)(O),d=T.cache.instanceId,f=T.container,p=s._tokenKey,h=[].concat((0,_.Z)(e.path),[n,u,p]);return y(eA,h,function(){var e=b(t(),n,{prefix:r,unitless:o,ignore:a,scope:u}),s=(0,i.Z)(e,2),l=s[0],c=s[1],E=eT(h,c);return[l,c,E,n]},function(e){var t=(0,i.Z)(e,3)[2];N&&(0,E.jL)(t,{mark:A})},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:A,prepend:"queue",attachTo:f,priority:-999});a[S]=d,a.setAttribute(R,n)}})};function eO(e){return e.notSplit=!0,e}(0,a.Z)((0,a.Z)((0,a.Z)({},ef,function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],s=r[2],l=r[3],c=r[4],E=r[5],u=(n||{}).plain;if(c)return null;var T=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(E)};return T=m(o,a,s,d,u),l&&Object.keys(l).forEach(function(e){if(!t[e]){t[e]=!0;var n=m(eE(l[e]),a,"_effect-".concat(e),d,u);e.startsWith("@layer")?T=n+T:T+=n}}),[E,s,T]}),"token",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 c=o._tokenKey,E=m(a,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,c,E]}),eA,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 c=m(o,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l);return[-999,a,c]}),eO(["borderTop","borderBottom"]),eO(["borderTop"]),eO(["borderBottom"]),eO(["borderLeft","borderRight"]),eO(["borderLeft"]),eO(["borderRight"]);var ep=n(97326),eh=n(60136),eN=n(18486),eI=(0,T.Z)(function e(){(0,u.Z)(this,e)}),em="CALC_UNIT",e_=RegExp(em,"g");function eC(e){return"number"==typeof e?"".concat(e).concat(em):e}var eg=function(e){(0,eh.Z)(n,e);var t=(0,eN.Z)(n);function n(e,r){(0,u.Z)(this,n),i=t.call(this),(0,a.Z)((0,ep.Z)(i),"result",""),(0,a.Z)((0,ep.Z)(i),"unitlessCssVar",void 0),(0,a.Z)((0,ep.Z)(i),"lowPriority",void 0);var i,s=(0,o.Z)(e);return i.unitlessCssVar=r,e instanceof n?i.result="(".concat(e.result,")"):"number"===s?i.result=eC(e):"string"===s&&(i.result=e),i}return(0,T.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(eC(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(eC(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(e_,r?"px":""),void 0!==this.lowPriority)?"calc(".concat(this.result,")"):this.result}}]),n}(eI),eL=function(e){(0,eh.Z)(n,e);var t=(0,eN.Z)(n);function n(e){var r;return(0,u.Z)(this,n),r=t.call(this),(0,a.Z)((0,ep.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,T.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}(eI),ev=function(e,t){var n="css"===e?eg:eL;return function(e){return new n(e,t)}},ey=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 eP(e,t,n,r){var o=(0,s.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach(function(e){var t,n=(0,i.Z)(e,2),r=n[0],a=n[1];(null!=o&&o[r]||null!=o&&o[a])&&(null!==(t=o[a])&&void 0!==t||(o[a]=null==o?void 0:o[r]))});var a=(0,s.Z)((0,s.Z)({},n),o);return Object.keys(a).forEach(function(e){a[e]===t[e]&&delete a[e]}),a}n(56790);var eb="undefined"!=typeof CSSINJS_STATISTIC,eM=!0;function eD(){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}()),eH=function(){return{}};function eB(e){var t=e.useCSP,n=void 0===t?eH:t,r=e.useToken,c=e.usePrefix,E=e.getResetStyles,u=e.getCommonStyle,T=e.getCompUnitless;function d(e,t,a){var T=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=Array.isArray(e)?e:[e,e],f=(0,i.Z)(d,1)[0],R=d.join("-");return function(e){var i,d,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,S=r(),O=S.theme,p=S.realToken,h=S.hashId,N=S.token,m=S.cssVar,_=c(),C=_.rootPrefixCls,g=_.iconPrefixCls,L=n(),v=m?"css":"js",y=(i=function(){var e=new Set;return m&&Object.keys(T.unitless||{}).forEach(function(t){e.add(P(t,m.prefix)),e.add(P(t,ey(f,m.prefix)))}),ev(v,e)},d=[v,f,null==m?void 0:m.prefix],l.useMemo(function(){var e=eF.get(d);if(e)return e;var t=i();return eF.set(d,t),t},d)),b="js"===v?{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=m(e,t),r=(0,i.Z)(n,2)[1],o=_(t),a=(0,i.Z)(o,2);return[a[0],r,a[1]]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=d(e,t,n,(0,s.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:d}}},72961:function(e,t){"use strict";t.Z={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"}},1085:function(e,t){"use strict";t.Z={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"}},89503:function(e,t){"use strict";t.Z={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"}},24753:function(e,t){"use strict";t.Z={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"}},83707:function(e,t){"use strict";t.Z={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"}},70593:function(e,t){"use strict";t.Z={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"}},12489:function(e,t){"use strict";t.Z={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"}},15294:function(e,t){"use strict";t.Z={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"}},44039:function(e,t){"use strict";t.Z={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"}},13401:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(4942),a=n(45987),s=n(67294),l=n(93967),c=n.n(l),E=n(16397),u=n(63017),T=n(58784),d=n(59068),f=n(41755),R=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,d.U)(E.iN.primary);var A=s.forwardRef(function(e,t){var n=e.className,l=e.icon,E=e.spin,d=e.rotate,A=e.tabIndex,S=e.onClick,O=e.twoToneColor,p=(0,a.Z)(e,R),h=s.useContext(u.Z),N=h.prefixCls,I=void 0===N?"anticon":N,m=h.rootClassName,_=c()(m,I,(0,i.Z)((0,i.Z)({},"".concat(I,"-").concat(l.name),!!l.name),"".concat(I,"-spin"),!!E||"loading"===l.name),n),C=A;void 0===C&&S&&(C=-1);var g=(0,f.H9)(O),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:S,className:_}),s.createElement(T.Z,{icon:l,primaryColor:v,secondaryColor:y,style:d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0}))});A.displayName="AntdIcon",A.getTwoToneColor=d.m,A.setTwoToneColor=d.U,t.Z=A},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},16165:function(e,t,n){"use strict";var r=n(87462),o=n(1413),i=n(4942),a=n(45987),s=n(67294),l=n(93967),c=n.n(l),E=n(42550),u=n(63017),T=n(41755),d=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],f=s.forwardRef(function(e,t){var n=e.className,l=e.component,f=e.viewBox,R=e.spin,A=e.rotate,S=e.tabIndex,O=e.onClick,p=e.children,h=(0,a.Z)(e,d),N=s.useRef(),I=(0,E.x1)(N,t);(0,T.Kp)(!!(l||p),"Should have `component` prop or `children`."),(0,T.C3)(N);var m=s.useContext(u.Z),_=m.prefixCls,C=void 0===_?"anticon":_,g=m.rootClassName,L=c()(g,C,n),v=c()((0,i.Z)({},"".concat(C,"-spin"),!!R)),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:f});f||delete y.viewBox;var P=S;return void 0===P&&O&&(P=-1),s.createElement("span",(0,r.Z)({role:"img"},h,{ref:I,tabIndex:P,onClick:O,className:L}),l?s.createElement(l,y,p):p?((0,T.Kp)(!!f||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:f}),p)):null)});f.displayName="AntdIcon",t.Z=f},58784:function(e,t,n){"use strict";var r=n(45987),o=n(1413),i=n(67294),a=n(41755),s=["icon","className","onClick","style","primaryColor","secondaryColor"],l={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},c=function(e){var t=e.icon,n=e.className,c=e.onClick,E=e.style,u=e.primaryColor,T=e.secondaryColor,d=(0,r.Z)(e,s),f=i.useRef(),R=l;if(u&&(R={primaryColor:u,secondaryColor:T||(0,a.pw)(u)}),(0,a.C3)(f),(0,a.Kp)((0,a.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.r)(t))return null;var A=t;return A&&"function"==typeof A.icon&&(A=(0,o.Z)((0,o.Z)({},A),{},{icon:A.icon(R.primaryColor,R.secondaryColor)})),(0,a.R_)(A.icon,"svg-".concat(A.name),(0,o.Z)((0,o.Z)({className:n,onClick:c,style:E,"data-icon":A.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:f}))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,o.Z)({},l)},c.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;l.primaryColor=t,l.secondaryColor=n||(0,a.pw)(t),l.calculated=!!n},t.Z=c},59068:function(e,t,n){"use strict";n.d(t,{U:function(){return a},m:function(){return s}});var r=n(97685),o=n(58784),i=n(41755);function a(e){var t=(0,i.H9)(e),n=(0,r.Z)(t,2),a=n[0],s=n[1];return o.Z.setTwoToneColors({primaryColor:a,secondaryColor:s})}function s(){var e=o.Z.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}},41156:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},50067:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},9020:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},9641:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},10524:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},84477:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},19944:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},38545:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},92962:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},14079:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),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(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},93045:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),o=n(67294),i={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"},a=n(13401),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},41755:function(e,t,n){"use strict";n.d(t,{C3:function(){return S},H9:function(){return R},Kp:function(){return u},R_:function(){return function e(t,n,o){return o?c.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))})):c.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 f},r:function(){return T},vD:function(){return A}});var r=n(1413),o=n(71002),i=n(16397),a=n(44958),s=n(27571),l=n(80334),c=n(67294),E=n(63017);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 f(e){return(0,i.R_)(e)[0]}function R(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,c.useContext)(E.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,c.useEffect)(function(){var t=e.current,r=(0,s.A)(t);(0,a.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])}},86500:function(e,t,n){"use strict";n.d(t,{T6:function(){return T},VD:function(){return d},WE:function(){return c},Yt:function(){return f},lC:function(){return i},py:function(){return l},rW:function(){return o},s:function(){return u},ve:function(){return s},vq:function(){return E}});var r=n(90279);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 c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(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,c=2*n-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,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}}},48701: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"}},1350:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,a=null,s=null,l=null,c=!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=E.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=E.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=E.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=E.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=E.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=E.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=E.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=E.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=E.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=E.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),c=!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),c=!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),c=!0,T="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,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*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),E={CSS_UNIT:new RegExp(s),rgb:RegExp("rgb"+l),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+l),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+l),hsva:RegExp("hsva"+c),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!!E.CSS_UNIT.exec(String(e))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),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}})},62506:function(e,t){"use strict";t.Z=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)}},40351:function(e,t){"use strict";t.Z={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}},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924);n(80334);var s=n(42550),l=o.createContext(null),c=n(74902),E=n(8410),u=[],T=n(44958),d=n(74204),f="rc-util-locker-".concat(Date.now()),R=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,h,N=e.open,I=e.autoLock,m=e.getContainer,_=(e.debug,e.autoDestroy),C=void 0===_||_,g=e.children,L=o.useState(N),v=(0,r.Z)(L,2),y=v[0],P=v[1],b=y||N;o.useEffect(function(){(C||N)&&P(N)},[N,C]);var M=o.useState(function(){return S(m)}),D=(0,r.Z)(M,2),U=D[0],x=D[1];o.useEffect(function(){var e=S(m);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),f=(0,r.Z)(d,2),R=f[0],A=f[1],S=T||(s.current?void 0:function(e){A(function(t){return[e].concat((0,c.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,E.Z)(function(){return e?T?T(O):O():p(),p},[e]),(0,E.Z)(function(){R.length&&(R.forEach(function(e){return e()}),A(u))},[R]),[i,S]}(b&&!U,0),G=(0,r.Z)(w,2),F=G[0],H=G[1],B=null!=U?U:F;n=!!(I&&N&&(0,a.Z)()&&(B===F||B===document.body)),O=o.useState(function(){return R+=1,"".concat(f,"_").concat(R)}),p=(0,r.Z)(O,1)[0],(0,E.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(!b||!(0,a.Z)()||void 0===U)return null;var V=!1===B||("boolean"==typeof h&&(A=h),A),$=g;return t&&($=o.cloneElement(g,{ref:k})),o.createElement(l.Provider,{value:H},V?$:(0,i.createPortal)($,B))})},40228:function(e,t,n){"use strict";n.d(t,{Z:function(){return Y}});var r=n(1413),o=n(97685),i=n(45987),a=n(2788),s=n(93967),l=n.n(s),c=n(9220),E=n(34203),u=n(27571),T=n(66680),d=n(7028),f=n(8410),R=n(31131),A=n(67294),S=n(87462),O=n(29372),p=n(42550);function h(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,s=i.content,c=o.x,E=o.y,u=A.useRef();if(!n||!n.points)return null;var T={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],f=n.points[1],R=d[0],S=d[1],O=f[0],p=f[1];R!==O&&["t","b"].includes(R)?"t"===R?T.top=0:T.bottom=0:T.top=void 0===E?0:E,S!==p&&["l","r"].includes(S)?"l"===S?T.left=0:T.right=0:T.left=void 0===c?0:c}return A.createElement("div",{ref:u,className:l()("".concat(t,"-arrow"),a),style:T},s)}function N(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 I=A.memo(function(e){return e.children},function(e,t){return t.cache}),m=A.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,E=e.target,u=e.onVisibleChanged,T=e.open,d=e.keepDom,R=e.fresh,m=e.onClick,_=e.mask,C=e.arrow,g=e.arrowPos,L=e.align,v=e.motion,y=e.maskMotion,P=e.forceRender,b=e.getPopupContainer,M=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==b?void 0:b.length)>0,z=A.useState(!b||!K),q=(0,o.Z)(z,2),J=q[0],Q=q[1];if((0,f.Z)(function(){!J&&K&&E&&Q(!0)},[J,K,E]),!J)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:b&&function(){return b(E)},autoDestroy:M},A.createElement(N,{prefixCls:a,open:T,zIndex:U,mask:_,motion:y}),A.createElement(c.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 c=n.className,E=n.style,u=l()(a,c,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),E),{},{boxSizing:"border-box",zIndex:U},s),onMouseEnter:x,onMouseLeave:w,onPointerEnter:G,onClick:m},C&&A.createElement(h,{prefixCls:a,arrow:C,arrowPos:g,align:L}),A.createElement(I,{cache:!T&&!R},X))})}))}),_=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(5110);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 b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function M(e){return b(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,c=e.getBoundingClientRect(),E=e.offsetHeight,u=e.clientHeight,T=e.offsetWidth,d=e.clientWidth,f=M(i),R=M(a),A=M(s),S=M(l),O=b(Math.round(c.width/T*1e3)/1e3),p=b(Math.round(c.height/E*1e3)/1e3),h=f*p,N=A*O,I=0,m=0;if("clip"===r){var _=M(o);I=_*O,m=_*p}var C=c.x+N-I,g=c.y+h-m,L=C+c.width+2*I-N-S*O-(T-d-A-S)*O,v=g+c.height+2*m-h-R*p-(E-u-f-R)*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(74902);n(80334);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,h,N,I,M,U,Y,k,V,$,W,Z,j=t.prefixCls,X=void 0===j?"rc-trigger-popup":j,K=t.children,z=t.action,q=t.showAction,J=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,ec=t.maskClosable,eE=t.getPopupContainer,eu=t.forceRender,eT=t.autoDestroy,ed=t.destroyPopupOnHide,ef=t.popup,eR=t.popupClassName,eA=t.popupStyle,eS=t.popupPlacement,eO=t.builtinPlacements,ep=void 0===eO?{}:eO,eh=t.popupAlign,eN=t.zIndex,eI=t.stretch,em=t.getPopupClassNameFromAlign,e_=t.fresh,eC=t.alignPoint,eg=t.onPopupClick,eL=t.onPopupAlign,ev=t.arrow,ey=t.popupMotion,eP=t.maskMotion,eb=t.popupTransitionName,eM=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,f.Z)(function(){eY((0,R.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),eq=(0,T.Z)(function(e){ez.current=e,(0,E.Sh)(e)&&eX!==e&&eK(e),null==eV||eV.registerSubPopup(eW,e)}),eJ=A.useState(null),eQ=(0,o.Z)(eJ,2),e0=eQ[0],e1=eQ[1],e2=A.useRef(null),e4=(0,T.Z)(function(e){(0,E.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,eM,eb),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,f.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))}),tc=A.useRef(),tE=function(){clearTimeout(tc.current)},tu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tE(),0===t?tl(e):tc.current=setTimeout(function(){tl(e)},1e3*t)};A.useEffect(function(){return tE},[]);var tT=A.useState(!1),td=(0,o.Z)(tT,2),tf=td[0],tR=td[1];(0,f.Z)(function(e){(!e||to)&&tR(!0)},[to]);var tA=A.useState(null),tS=(0,o.Z)(tA,2),tO=tS[0],tp=tS[1],th=A.useState([0,0]),tN=(0,o.Z)(th,2),tI=tN[0],tm=tN[1],t_=function(e){tm([e.clientX,e.clientY])},tC=(a=eC?tI: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],h=A.useRef(0),N=A.useMemo(function(){return eX?P(eX):[]},[eX]),I=A.useRef({}),to||(I.current={}),M=(0,T.Z)(function(){if(eX&&a&&to){var e,t,n,i,s,l,c,u=eX.ownerDocument,T=y(eX).getComputedStyle(eX),d=T.width,f=T.height,R=T.position,A=eX.style.left,S=eX.style.top,O=eX.style.right,h=eX.style.bottom,m=eX.style.overflow,_=(0,r.Z)((0,r.Z)({},ep[eS]),eh),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=R,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,M=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=_.htmlRegion,X="visible",K="visibleFirst";"scroll"!==j&&j!==K&&(j=X);var z=j===K,q=D({left:-k,top:-Y,right:H-k,bottom:B-Y},N),J=D({left:0,top:0,right:M,bottom:U},N),Q=j===X?J:q,ee=z?J: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=h,eX.style.overflow=m,null===(t=eX.parentElement)||void 0===t||t.removeChild(C);var en=b(Math.round($/parseFloat(d)*1e3)/1e3),er=b(Math.round(V/parseFloat(f)*1e3)/1e3);if(!(0===en||0===er||(0,E.Sh)(a)&&!(0,L.Z)(a))){var eo=_.offset,ei=_.targetOffset,ea=x(v,eo),es=(0,o.Z)(ea,2),el=es[0],ec=es[1],eE=x(n,ei),eu=(0,o.Z)(eE,2),eT=eu[0],ed=eu[1];n.x-=eT,n.y-=ed;var ef=_.points||[],eR=(0,o.Z)(ef,2),eA=eR[0],eO=w(eR[1]),eN=w(eA),eI=G(n,eO),em=G(v,eN),e_=(0,r.Z)({},_),eC=eI.x-em.x+el,eg=eI.y-em.y+ec,ev=tt(eC,eg),ey=tt(eC,eg,J),eP=G(n,["t","l"]),eb=G(v,["t","l"]),eM=G(n,["b","r"]),eD=G(v,["b","r"]),eU=_.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=eN[0]===eO[0];if(eB&&"t"===eN[0]&&(s>ee.bottom||I.current.bt)){var ek=eg;eY?ek-=V-W:ek=eP.y-eD.y-ec;var eV=tt(eC,ek),e$=tt(eC,ek,J);eV>ev||eV===ev&&(!z||e$>=ey)?(I.current.bt=!0,eg=ek,ec=-ec,e_.points=[F(eN,0),F(eO,0)]):I.current.bt=!1}if(eB&&"b"===eN[0]&&(iev||eZ===ev&&(!z||ej>=ey)?(I.current.tb=!0,eg=eW,ec=-ec,e_.points=[F(eN,0),F(eO,0)]):I.current.tb=!1}var eK=eH(ex),ez=eN[1]===eO[1];if(eK&&"l"===eN[1]&&(c>ee.right||I.current.rl)){var eq=eC;ez?eq-=$-Z:eq=eP.x-eD.x-el;var eJ=tt(eq,eg),eQ=tt(eq,eg,J);eJ>ev||eJ===ev&&(!z||eQ>=ey)?(I.current.rl=!0,eC=eq,el=-el,e_.points=[F(eN,1),F(eO,1)]):I.current.rl=!1}if(eK&&"r"===eN[1]&&(lev||e1===ev&&(!z||e2>=ey)?(I.current.lr=!0,eC=e0,el=-el,e_.points=[F(eN,1),F(eO,1)]):I.current.lr=!1}tn();var e4=!0===eG?0:eG;"number"==typeof e4&&(lJ.right&&(eC-=c-J.right-el,n.x>J.right-e4&&(eC+=n.x-J.right+e4)));var e6=!0===eF?0:eF;"number"==typeof e6&&(iJ.bottom&&(eg-=s-J.bottom-ec,n.y>J.bottom-e6&&(eg+=n.y-J.bottom+e6)));var e3=v.x+eC,e8=v.y+eg,e5=n.x,e7=n.y;null==eL||eL(eX,e_);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:e_})}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,c=(l=v.x+eC)+$}}}),U=function(){p(function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})})},(0,f.Z)(U,[eS]),(0,f.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(){h.current+=1;var e=h.current;Promise.resolve().then(function(){h.current===e&&M()})}]),tg=(0,o.Z)(tC,11),tL=tg[0],tv=tg[1],ty=tg[2],tP=tg[3],tb=tg[4],tM=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!=q?q:Y),t=g(null!=J?J: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,q,J])),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(){tf||tG()});k=function(){ta.current&&eC&&tV&&tu(!1)},(0,f.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,f.Z)(function(){t$()},[tI,eS]),(0,f.Z)(function(){to&&!(null!=ep&&ep[eS])&&t$()},[JSON.stringify(eh)]);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==em?void 0:em(tw))},[tw,em,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),tq=(0,o.Z)(tz,2),tJ=tq[0],tQ=tq[1],t0=function(){if(eI&&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(){E.delete(e)},t)),E.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)})},f={},R=function(e,t){f[e]&&f[e].forEach(function(e){return e(t)})},A=function(e,t){return f[e]||(f[e]=[]),f[e].push(t),function(){var n=f[e].indexOf(t);f[e].splice(n,1)}},S=function(e,t){var n=t.cacheKey,r=t.cacheTime,a=void 0===r?3e5:r,s=t.staleTime,f=void 0===s?0:s,S=t.setCache,O=t.getCache,p=(0,i.useRef)(),h=(0,i.useRef)(),N=function(e,t){S?S(t):u(e,a,t),R(e,t.data)},I=function(e,t){return(void 0===t&&(t=[]),O)?O(t):E.get(e)};return(l(function(){if(n){var t=I(n);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===f||new Date().getTime()-t.time<=f)&&(e.state.loading=!1)),p.current=A(n,function(t){e.setState({data:t})})}},[]),(0,c.Z)(function(){var e;null===(e=p.current)||void 0===e||e.call(p)}),n)?{onBefore:function(e){var t=I(n,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===f||new Date().getTime()-t.time<=f?{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!==h.current||(r=e.apply(void 0,(0,o.ev)([],(0,o.CR)(t),!1)),h.current=r,d(n,r)),{servicePromise:r}},onSuccess:function(t,r){var o;n&&(null===(o=p.current)||void 0===o||o.call(p),N(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),N(n,{data:t,params:e.state.params,time:new Date().getTime()}),p.current=A(n,function(t){e.setState({data:t})}))}}:{}},O=n(23279),p=n.n(O),h=function(e,t){var n=t.debounceWait,r=t.debounceLeading,a=t.debounceTrailing,s=t.debounceMaxWait,l=(0,i.useRef)(),c=(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,c),e.runAsync=function(){for(var e=[],n=0;n-1&&g.splice(e,1)})}return function(){l()}},[n,a]),(0,c.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(23493),b=n.n(P),M=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=b()(function(e){e()},n,l),e.runAsync=function(){for(var e=[],n=0;n{let{type:t,children:n,prefixCls:l,buttonProps:c,close:E,autoFocus:u,emitEvent:T,isSilent:d,quitOnNullishReturnValue:f,actionFn:R}=e,A=r.useRef(!1),S=r.useRef(null),[O,p]=(0,o.Z)(!1),h=function(){null==E||E.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 N=e=>{s(e)&&(p(!0),e.then(function(){p(!1,!0),h.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,!R){h();return}if(T){if(t=R(e),f&&!s(t)){A.current=!1,h(e);return}}else if(R.length)t=R(E),A.current=!1;else if(!s(t=R())){h();return}N(t)}},loading:O,prefixCls:l},c,{ref:S}),n)}},89942:function(e,t,n){"use strict";var r=n(67294),o=n(65223),i=n(4173);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}},8745:function(e,t,n){"use strict";n.d(t,{i:function(){return s}});var r=n(67294),o=n(21770),i=n(28459),a=n(53124);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:c}=s,E=r.useRef(null),[u,T]=r.useState(0),[d,f]=r.useState(0),[R,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),f(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(O)}`:`.${O}-dropdown`,i=null===(r=E.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({},c),{margin:0}),open:R,visible:R,getPopupContainer:()=>E.current});return i&&(p=i(p)),r.createElement("div",{ref:E,style:{paddingBottom:u,position:"relative",minWidth:d}},r.createElement(e,Object.assign({},p)))})},98787:function(e,t,n){"use strict";n.d(t,{o2:function(){return s},yT:function(){return l}});var r=n(96641),o=n(8796);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)}},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=e=>e?"function"==typeof e?e():e:null},66367: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}},69760:function(e,t,n){"use strict";n.d(t,{Z:function(){return E},w:function(){return a}});var r=n(67294),o=n(62208),i=n(64217);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 c={};function E(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,a=s(e),E=s(t),u=r.useMemo(()=>Object.assign({closeIcon:r.createElement(o.Z,null)},n),[n]),T=r.useMemo(()=>!1!==a&&(a?l(u,E,a):!1!==E&&(E?l(u,E):!!u.closable&&u)),[a,E,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])}},57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){let[,e]=r.useReducer(e=>e+1,0);return e}},87263:function(e,t,n){"use strict";n.d(t,{Cn:function(){return c},u6:function(){return a}});var r=n(67294),o=n(25976),i=n(43945);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 c(e,t){let n;let[,a]=(0,o.ZP)(),c=r.useContext(i.Z);if(void 0!==t)n=[t,t];else{let r=null!=c?c:0;e in s?r+=(c?0:a.zIndexPopupBase)+s[e]:r+=l[e],n=[void 0===c?t:r,r]}return n}},33603:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var r=n(53124);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}}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(97414);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:c,visibleFirst:E}=e,u=t/2,T={};return Object.keys(o).forEach(e=>{let d=s&&i[e]||o[e],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(T[e]=f,a.has(e)&&(f.autoArrow=!1),e){case"top":case"topLeft":case"topRight":f.offset[1]=-u-l;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=u+l;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-u-l;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=u+l}let R=(0,r.wZ)({contentRadius:c,limitVerticalRadius:!0});if(s)switch(e){case"topLeft":case"bottomLeft":f.offset[0]=-R.arrowOffsetHorizontal-u;break;case"topRight":case"bottomRight":f.offset[0]=R.arrowOffsetHorizontal+u;break;case"leftTop":case"rightTop":f.offset[1]=-(2*R.arrowOffsetHorizontal)+u;break;case"leftBottom":case"rightBottom":f.offset[1]=2*R.arrowOffsetHorizontal-u}f.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,R,t,n),E&&(f.htmlRegion="visibleFirst")}),T}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return o},Tm:function(){return a},wm:function(){return i}});var r=n(67294);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)}},74443:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l},c4:function(){return i}});var r=n(67294),o=n(25976);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])}},58375:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(75164),o=n(66367);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),c=Date.now(),E=()=>{let t=Date.now(),n=t-c,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}},45353:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),o=n(93967),i=n.n(o),a=n(5110),s=n(42550),l=n(53124),c=n(96159),E=n(83559);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,E.A1)("Wave",e=>[u(e)]),d=n(56790),f=n(75164),R=n(25976),A=n(17415),S=n(29372),O=n(38135);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 h(e){return Number.isNaN(e)?0:e}let N=e=>{let{className:t,target:n,component:o}=e,a=r.useRef(null),[l,c]=r.useState(null),[E,u]=r.useState([]),[T,d]=r.useState(0),[R,N]=r.useState(0),[I,m]=r.useState(0),[_,C]=r.useState(0),[g,L]=r.useState(!1),v={left:T,top:R,width:I,height:_,borderRadius:E.map(e=>`${e}px`).join(" ")};function y(){let e=getComputedStyle(n);c(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:h(-parseFloat(r))),N(t?n.offsetTop:h(-parseFloat(o))),m(n.offsetWidth),C(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;u([i,a,l,s].map(e=>h(parseFloat(e))))}if(l&&(v["--wave-color"]=l),r.useEffect(()=>{if(n){let e;let t=(0,f.Z)(()=>{y(),L(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(y)).observe(n),()=>{f.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 I=(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(N,Object.assign({},t,{target:e})),i)},m=(e,t,n)=>{let{wave:o}=r.useContext(l.E_),[,i,a]=(0,R.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:c}=o||{};(c||I)(l,{className:t,token:i,component:n,event:r,hashId:a})}),c=r.useRef();return e=>{f.Z.cancel(c.current),c.current=(0,f.Z)(()=>{s(e)})}},_=e=>{let{children:t,disabled:n,component:o}=e,{getPrefixCls:E}=(0,r.useContext)(l.E_),u=(0,r.useRef)(null),d=E("wave"),[,f]=T(d),R=m(u,i()(d,f),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")||R(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,c.Tm)(t,{ref:A})}},17415:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(53124);let o=`${r.Rf}-wave-target`},43945:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(void 0);t.Z=o},66968:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(67294);let o=r.createContext({}),i=r.createContext({message:{},notification:{},modal:{}});t.Z=i},31418:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(67294),o=n(93967),i=n.n(o),a=n(27288),s=n(53124),l=n(16474),c=n(94423),E=n(48311),u=n(66968),T=(0,n(83559).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:f,notification:R,style:A,component:S="div"}=e,{getPrefixCls:O}=(0,r.useContext)(s.E_),p=O("app",t),[h,N,I]=T(p),m=i()(N,p,o,d,I),_=(0,r.useContext)(u.J),C=r.useMemo(()=>({message:Object.assign(Object.assign({},_.message),f),notification:Object.assign(Object.assign({},_.notification),R)}),[f,R,_.message,_.notification]),[g,L]=(0,l.Z)(C.message),[v,y]=(0,E.Z)(C.notification),[P,b]=(0,c.Z)(),M=r.useMemo(()=>({message:g,notification:v,modal:P}),[g,v,P]);(0,a.ln)("App")(!(I&&!1===S),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");let D=!1===S?r.Fragment:S;return h(r.createElement(u.Z.Provider,{value:M},r.createElement(u.J.Provider,{value:C},r.createElement(D,Object.assign({},!1===S?void 0:{className:m,style:A}),b,L,y,n))))};d.useApp=()=>r.useContext(u.Z);var f=d},7134:function(e,t,n){"use strict";n.d(t,{C:function(){return L}});var r=n(67294),o=n(93967),i=n.n(o),a=n(9220),s=n(42550),l=n(74443),c=n(53124),E=n(35792),u=n(98675),T=n(25378);let d=r.createContext({});var f=n(47648),R=n(14747),A=n(83559),S=n(87893);let O=e=>{let{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:i,containerSize:a,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:E,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,R.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,f.bf)(S)} ${O} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),p(a,c,T)),{"&-lg":Object.assign({},p(s,E,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 h=(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:c,colorBorderBg:E}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((i+a)/2),textFontSizeLG:s,textFontSizeSM:o,groupSpace:c,groupOverlapping:-l,groupBorderColor:E}}),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 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 I=r.forwardRef((e,t)=>{let n;let[o,f]=r.useState(1),[R,A]=r.useState(!1),[S,O]=r.useState(!0),p=r.useRef(null),I=r.useRef(null),m=(0,s.sQ)(t,p),{getPrefixCls:_,avatar:C}=r.useContext(c.E_),g=r.useContext(d),L=()=>{if(!I.current||!p.current)return;let t=I.current.offsetWidth,n=p.current.offsetWidth;if(0!==t&&0!==n){let{gap:r=4}=e;2*r{A(!0)},[]),r.useEffect(()=>{O(!0),f(1)},[e.src]),r.useEffect(L,[e.gap]);let{prefixCls:v,shape:y,size:P,src:b,srcSet:M,icon:D,className:U,rootClassName:x,alt:w,draggable:G,children:F,crossOrigin:H}=e,B=N(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=_("avatar",v),Z=(0,E.Z)(W),[j,X,K]=h(W,Z),z=i()({[`${W}-lg`]:"large"===Y,[`${W}-sm`]:"small"===Y}),q=r.isValidElement(b),J=y||(null==g?void 0:g.shape)||"circle",Q=i()(W,z,null==C?void 0:C.className,`${W}-${J}`,{[`${W}-image`]:q||b&&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 b&&S)n=r.createElement("img",{src:b,draggable:G,srcSet:M,onError:()=>{let{onError:t}=e,n=null==t?void 0:t();!1!==n&&O(!1)},alt:w,crossOrigin:H});else if(q)n=b;else if(D)n=D;else if(R||1!==o){let e=`scale(${o})`;n=r.createElement(a.Z,{onResize:L},r.createElement("span",{className:`${W}-string`,ref:I,style:Object.assign({},{msTransform:e,WebkitTransform:e,transform:e})},F))}else n=r.createElement("span",{className:`${W}-string`,style:{opacity:0},ref:I},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:m}),n))});var m=n(50344),_=n(96159),C=n(55241);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)};I.Group=e=>{var t,n,o;let{getPrefixCls:a,direction:s}=r.useContext(c.E_),{prefixCls:l,className:u,rootClassName:T,style:d,maxCount:f,maxStyle:R,size:A,shape:S,maxPopoverPlacement:O,maxPopoverTrigger:p,children:N,max:L}=e,v=a("avatar",l),y=`${v}-group`,P=(0,E.Z)(v),[b,M,D]=h(v,P),U=i()(y,{[`${y}-rtl`]:"rtl"===s},D,P,u,T,M),x=(0,m.Z)(N).map((e,t)=>(0,_.Tm)(e,{key:`avatar-key-${t}`})),w=(null==L?void 0:L.count)||f,G=x.length;if(w&&w{let{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:i,textFontSize:a,textFontSizeSM:s,statusSize:l,dotSize:c,textFontWeight:d,indicatorHeight:f,indicatorHeightSM:N,marginXS:I,calc:m}=e,_=`${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:f,height:f,color:e.badgeTextColor,fontWeight:d,fontSize:a,lineHeight:(0,E.bf)(f),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:m(f).div(2).equal(),boxShadow:`0 0 0 ${(0,E.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:N,height:N,fontSize:s,lineHeight:(0,E.bf)(N),borderRadius:m(N).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${(0,E.bf)(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,E.bf)(o)} ${e.badgeShadowColor}`},[`${t}-dot${_}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${_}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:h,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:R,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:I,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"},[`${_}-custom-component, ${t}-count`]:{transform:"none"},[`${_}-custom-component, ${_}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[_]:{overflow:"hidden",[`${_}-only`]:{position:"relative",display:"inline-block",height:f,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${_}-only-unit`]:{height:f,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${_}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${_}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},I=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},m=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 _=(0,f.I$)("Badge",e=>{let t=I(e);return N(t)},m);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,E.bf)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,E.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,E.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,f.I$)(["Badge","Ribbon"],e=>{let t=I(e);return C(t)},m);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),[c,E]=r.useState(s),[u,T]=r.useState(l),d=()=>{E(s),T(l)};if(r.useEffect(()=>{let e=setTimeout(d,1e3);return()=>clearTimeout(e)},[s]),c===s||Number.isNaN(s)||Number.isNaN(c))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===c);t=i.map((t,n)=>r.createElement(L,Object.assign({},e,{key:t,value:t%10,offset:n-a,current:n===a})));let E=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:E,title:u,show:T,component:d="sup",children:f}=e,R=y(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:A}=r.useContext(c.E_),S=A("scroll-number",n),O=Object.assign(Object.assign({},R),{"data-show":T,style:E,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==E?void 0:E.borderColor)&&(O.style=Object.assign(Object.assign({},E),{boxShadow:`0 0 0 1px ${E.borderColor} inset`})),f)?(0,l.Tm)(f,e=>({className:i()(`${S}-custom-component`,null==e?void 0:e.className,s)})):r.createElement(d,Object.assign({},O,{ref:t}),p)});var b=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,E,u,T;let{prefixCls:d,scrollNumberPrefixCls:f,children:R,status:A,text:S,color:O,count:p=null,overflowCount:h=99,dot:N=!1,size:I="default",title:m,offset:C,style:g,className:L,rootClassName:v,classNames:y,styles:M,showZero:D=!1}=e,U=b(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(c.E_),F=x("badge",d),[H,B,Y]=_(F),k=p>h?`${h}+`:p,V="0"===k||0===k,$=null===p||V&&!D,W=(null!=A||null!=O)&&$,Z=N&&!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,q=(0,r.useRef)(j);X||(q.current=j);let J=q.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!=m?m:"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`]:!R,[`${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(!R&&W){let e=ee.color;return H(r.createElement("span",Object.assign({},U,{className:es,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null===(E=null==G?void 0:G.styles)||void 0===E?void 0:E.root),ee)}),r.createElement("span",{className:ei,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.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==M?void 0:M.root)}),R,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",f),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"===I,[`${F}-multiple-words`]:!s&&J&&J.toString().length>1,[`${F}-status-${A}`]:!!A,[`${F}-color-${O}`]:eo}),c=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(n=null==G?void 0:G.styles)||void 0===n?void 0:n.indicator),ee);return O&&!eo&&((c=c||{}).background=O),r.createElement(P,{prefixCls:a,show:!X,motionClassName:o,className:l,count:J,title:et,style:c,key:"scrollNumber"},er)}),en))});M.Ribbon=e=>{let{className:t,prefixCls:n,style:o,color:a,children:l,text:E,placement:u="end",rootClassName:T}=e,{getPrefixCls:d,direction:f}=r.useContext(c.E_),R=d("ribbon",n),A=`${R}-wrapper`,[S,O,p]=g(R,A),h=(0,s.o2)(a,!1),N=i()(R,`${R}-placement-${u}`,{[`${R}-rtl`]:"rtl"===f,[`${R}-color-${a}`]:h},t),I={},m={};return a&&!h&&(I.background=a,m.color=a),S(r.createElement("div",{className:i()(A,T,O,p)},l,r.createElement("div",{className:i()(N,O),style:Object.assign(Object.assign({},I),o)},r.createElement("span",{className:`${R}-text`},E),r.createElement("div",{className:`${R}-corner`,style:m}))))};var D=M},33671:function(e,t,n){"use strict";n.d(t,{Te:function(){return c},aG:function(){return a},hU:function(){return E},nx:function(){return s}});var r=n(67294),o=n(96159);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 c(e){return"text"===e||"link"===e}function E(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))}},14726:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ei}});var r=n(67294),o=n(93967),i=n.n(o),a=n(98423),s=n(42550),l=n(45353),c=n(53124),E=n(98866),u=n(98675),T=n(4173),d=n(25976),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 R=r.createContext(void 0);var A=n(33671);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(19267),p=n(29372);let h=(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}))}),N=()=>({width:0,opacity:0,transform:"scale(0)"}),I=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var m=e=>{let{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,s=!!n;return o?r.createElement(h,{prefixCls:t,className:i,style:a}):r.createElement(p.ZP,{visible:s,motionName:`${t}-loading-icon-motion`,motionLeave:s,removeOnLeave:!0,onAppearStart:N,onAppearActive:I,onEnterStart:N,onEnterActive:I,onLeaveStart:I,onLeaveActive:N},(e,n)=>{let{className:o,style:s}=e;return r.createElement(h,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:n,iconClassName:o})})},_=n(47648),C=n(14747),g=n(87893),L=n(83559);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(51734);let b=e=>{let{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e,o=(0,g.IX)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n});return o},M=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,c=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,E=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)(c);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:c,contentLineHeight:E,contentLineHeightSM:u,contentLineHeightLG:T,paddingBlock:Math.max((e.controlHeight-s*E)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*u)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*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,_.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:c}=e,E=`${n}-icon-only`;return[{[t]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,_.bf)(c)} ${(0,_.bf)(s)}`,borderRadius:a,[`&${E}`]:{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`)},q=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`)},J=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}};var Q=(0,L.I$)("Button",e=>{let t=b(e);return[D(t),K(t),z(t),q(t),J(t),j(t),y(t)]},M,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),ee=n(80110);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,_.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,_.bf)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}};var en=(0,L.bk)(["Button","compact"],e=>{let t=b(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)]},M),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:f=!1,prefixCls:O,type:p,danger:h=!1,shape:N="default",size:I,styles:_,disabled:C,className:g,rootClassName:L,children:v,icon:y,iconPosition:P="start",ghost:b=!1,block:M=!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)(c.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)(E.Z),X=null!=C?C:j,K=(0,r.useContext)(R),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}})(f),[f]),[q,J]=(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,J(!0)},z.delay):J(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(q||X){t.preventDefault();return}null==n||n(t)},{compactSize:el,compactItemClassnames:ec}=(0,T.ri)(V,B),eE=(0,u.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=I?I:el)&&void 0!==t?t:K)&&void 0!==n?n:e}),eu=eE&&({large:"lg",small:"sm",middle:void 0})[eE]||"",eT=q?"loading":y,ed=(0,a.Z)(G,["navigate"]),ef=i()(V,W,Z,{[`${V}-${N}`]:"default"!==N&&N,[`${V}-${F}`]:F,[`${V}-${eu}`]:eu,[`${V}-icon-only`]:!v&&0!==v&&!!eT,[`${V}-background-ghost`]:b&&!(0,A.Te)(F),[`${V}-loading`]:q,[`${V}-two-chinese-chars`]:ee&&k&&!q,[`${V}-block`]:M,[`${V}-dangerous`]:h,[`${V}-rtl`]:"rtl"===B,[`${V}-icon-end`]:"end"===P},ec,g,L,null==Y?void 0:Y.className),eR=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==_?void 0:_.icon)||{}),(null===(d=null==Y?void 0:Y.styles)||void 0===d?void 0:d.icon)||{}),eO=y&&!q?r.createElement(S,{prefixCls:V,className:eA,style:eS},y):r.createElement(m,{existIcon:!!y,prefixCls:V,loading:q}),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()(ef,{[`${V}-disabled`]:X}),href:X?void 0:ed.href,style:eR,onClick:es,ref:ei,tabIndex:X?-1:0}),eO,ep));let eh=r.createElement("button",Object.assign({},G,{type:D,className:ef,style:eR,onClick:es,disabled:X,ref:ei}),eO,ep,!!ec&&r.createElement(en,{key:"compact",prefixCls:V}));return(0,A.Te)(F)||(eh=r.createElement(l.Z,{component:"Button",disabled:q},eh)),$(eh)});eo.Group=e=>{let{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,size:a,className:s}=e,l=f(e,["prefixCls","size","className"]),E=t("btn-group",o),[,,u]=(0,d.ZP)(),T="";switch(a){case"large":T="lg";break;case"small":T="sm"}let A=i()(E,{[`${E}-${T}`]:T,[`${E}-rtl`]:"rtl"===n},s,u);return r.createElement(R.Provider,{value:a},r.createElement("div",Object.assign({},l,{className:A})))},eo.__ANT_BUTTON=!0;var ei=eo},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294);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},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294);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},53124: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(67294);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},35792:function(e,t,n){"use strict";var r=n(25976);t.Z=e=>{let[,,,,t]=(0,r.ZP)();return t?`${e}-css-var`:""}},98675:function(e,t,n){"use strict";var r=n(67294),o=n(97647);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}},28459: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(67294),l=n.t(s,2),c=n(47648),E=n(54775),u=n(56982),T=n(8880),d=n(27288),f=n(37920),R=n(83008),A=n(76745),S=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;s.useEffect(()=>{let e=(0,R.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(24457),p=n(33083),h=n(2790),N=n(53124),I=n(65409),m=n(10274),_=n(98924),C=n(44958);let g=`-ant-${Date.now()}-${Math.random()}`;var L=n(98866),v=n(97647),y=n(91881);let P=Object.assign({},l),{useId:b}=P;var M=void 0===b?()=>"":b,D=n(29372),U=n(25976);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(53269),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||N.Rf}function Y(){return o||N.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:R,direction:A,space:I,virtual:m,dropdownMatchSelectWidth:_,popupMatchSelectWidth:C,popupOverflow:g,legacyLocale:P,parentContext:b,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:q,drawer:J,skeleton:Q,steps:ee,image:et,layout:en,list:er,mentions:eo,modal:ei,progress:ea,result:es,slider:el,breadcrumb:ec,menu:eE,pagination:eu,input:eT,textArea:ed,empty:ef,badge:eR,radio:eA,rate:eS,switch:eO,transfer:ep,avatar:eh,message:eN,tag:eI,table:em,card:e_,tabs:eC,timeline:eg,timePicker:eL,upload:ev,notification:ey,tree:eP,colorPicker:eb,datePicker:eM,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||b.getPrefixCls("");return t?`${o}-${t}`:o},[b.getPrefixCls,e.prefixCls]),e$=D||b.iconPrefixCls||N.oR,eW=n||b.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=M();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 c=`css-var-${a.replace(/:/g,"")}`,E=(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)||c});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:E})},[o,i],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,y.Z)(e,r,!0)}))}(U,b.theme,{prefixCls:eV("")}),ej={csp:eW,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:l||P,direction:A,space:I,virtual:m,popupMatchSelectWidth:null!=C?C:_,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:q,drawer:J,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:ec,menu:eE,pagination:eu,empty:ef,badge:eR,radio:eA,rate:eS,switch:eO,transfer:ep,avatar:eh,message:eN,tag:eI,table:em,card:e_,tabs:eC,timeline:eg,timePicker:eL,upload:ev,notification:ey,tree:eP,colorPicker:eb,datePicker:eM,rangePicker:eD,flex:eU,wave:ex,dropdown:ew,warning:eG,tour:eF,floatButtonGroup:eH,variant:eB,inputNumber:eY,treeSelect:ek},eX=Object.assign({},b);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]),eq=s.createElement(s.Fragment,null,s.createElement(w,{dropdownMatchSelectWidth:_}),t),eJ=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(eJ).length>0&&(eq=s.createElement(f.Z.Provider,{value:eJ},eq)),l&&(eq=s.createElement(S,{locale:l,_ANT_MARK__:"internalMark"},eq)),(e$||eW)&&(eq=s.createElement(E.Z.Provider,{value:ez},eq)),R&&(eq=s.createElement(v.q,{size:R},eq)),eq=s.createElement(x,null,eq);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,c.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,c.jG)(r.algorithm)),delete r.algorithm),s[t]=r});let l=Object.assign(Object.assign({},h.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&&(eq=s.createElement(p.Mj.Provider,{value:eQ},eq)),eK.warning&&(eq=s.createElement(d.G8.Provider,{value:eK.warning},eq)),void 0!==B&&(eq=s.createElement(L.n,{disabled:B},eq)),s.createElement(N.E_.Provider,{value:eK},eq)},$=e=>{let t=s.useContext(N.E_),n=s.useContext(A.Z);return s.createElement(V,Object.assign({parentContext:t,legacyLocale:n},e))};$.ConfigContext=N.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 m.C(e),i=(0,I.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 m.C(t.primaryColor),i=(0,I.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 m.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,_.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=$},71191:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(63333),o=(0,r.Z)((0,r.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"}),i=n(42115);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),timePickerLocale:Object.assign({},i.Z)};var s=a},37364:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(67294),o=n(83963),i=n(44039),a=n(30672),s=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:i.Z}))}),l=n(93967),c=n.n(l),E=n(29372),u=n(42550),T=n(66367),d=n(58375),f=n(96641),R=n(75164),A=function(e){let t;let n=n=>()=>{t=null,e.apply(void 0,(0,f.Z)(n))},r=function(){if(null==t){for(var e=arguments.length,r=Array(e),o=0;o{R.Z.cancel(t),t=null},r},S=n(53124);let O=r.createContext(void 0),{Provider:p}=O;var h=n(98423),N=n(40411),I=n(35792),m=n(83062),_=n(70593),C=r.forwardRef(function(e,t){return r.createElement(a.Z,(0,o.Z)({},e,{ref:t,icon:_.Z}))}),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:c()(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(47648),v=n(14747),y=n(16932),P=n(93590),b=n(83559),M=n(87893),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:c}=e,E=`${n}-group`;return{[E]: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,[`${E}-wrap`]:{zIndex:-1,display:"block",position:"relative",marginBottom:o},[`&${E}-rtl`]:{direction:"rtl"},[n]:{position:"static"}}),[`${E}-circle`]:{[`${n}-circle:not(:last-child)`]:{marginBottom:e.margin,[`${n}-body`]:{width:r,height:r,borderRadius:"50%"}}},[`${E}-square`]:{[`${n}-square`]:{padding:0,borderRadius:0,[`&${E}-trigger`]:{borderRadius:i},"&: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:c(c(l).add(s)).mul(-1).equal(),insetInlineEnd:c(c(l).add(s)).mul(-1).equal()}}},[`${E}-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}}}},[`${E}-circle-shadow`]:{boxShadow:"none"},[`${E}-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:c,calc:E}=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:E(s).mul(-1).equal(),insetInlineEnd:E(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)(E(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:c,insetInlineEnd:c}},[`${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,b.I$)("FloatButton",e=>{let{colorTextLightSolid:t,colorBgElevated:n,controlHeightLG:r,marginXXL:o,marginLG:i,fontSize:a,fontSizeIcon:s,controlItemBgHover:l,paddingXXS:c,calc:E}=e,u=(0,M.IX)(e,{floatButtonBackgroundColor:n,floatButtonColor:t,floatButtonHoverBackgroundColor:l,floatButtonFontSize:a,floatButtonIconSize:E(s).mul(1.5).equal(),floatButtonSize:r,floatButtonInsetBlockEnd:o,floatButtonInsetInlineEnd:i,floatButtonBodySize:E(r).sub(E(c).mul(2)).equal(),floatButtonBodyPadding:c,badgeOffset:E(c).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:E,tooltip:u,badge:T={}}=e,d=F(e,["prefixCls","className","rootClassName","type","shape","icon","description","tooltip","badge"]),{getPrefixCls:f,direction:R}=(0,r.useContext)(S.E_),A=(0,r.useContext)(O),p=f(H,n),_=(0,I.Z)(p),[C,L,v]=G(p,_),y=c()(L,v,_,p,o,i,`${p}-${a}`,`${p}-${A||s}`,{[`${p}-rtl`]:"rtl"===R}),P=(0,r.useMemo)(()=>(0,h.Z)(T,["title","children","status","text"]),[T]),b=(0,r.useMemo)(()=>({prefixCls:p,description:E,icon:l,type:a}),[p,E,l,a]),M=r.createElement("div",{className:`${p}-body`},r.createElement(g,Object.assign({},b)));return"badge"in e&&(M=r.createElement(N.Z,Object.assign({},P),M)),"tooltip"in e&&(M=r.createElement(m.Z,{title:u,placement:"rtl"===R?"right":"left"},M)),C(e.href?r.createElement("a",Object.assign({ref:t},d,{className:y}),M):r.createElement("button",Object.assign({ref:t},d,{className:y,type:"button"}),M))});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:f=r.createElement(s,null),target:R,onClick:p,duration:h=450}=e,N=Y(e,["prefixCls","className","type","shape","visibilityHeight","icon","target","onClick","duration"]),[I,m]=(0,r.useState)(0===l),_=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:_.current}));let C=()=>{var e;return(null===(e=_.current)||void 0===e?void 0:e.ownerDocument)||window},g=A(e=>{let t=(0,T.Z)(e.target);m(t>=l)});(0,r.useEffect)(()=>{let e=R||C,t=e();return g({target:t}),null==t||t.addEventListener("scroll",g),()=>{g.cancel(),null==t||t.removeEventListener("scroll",g)}},[R]);let L=e=>{(0,d.Z)(0,{getContainer:R||C,duration:h}),null==p||p(e)},{getPrefixCls:v}=(0,r.useContext)(S.E_),y=v(H,n),P=v(),b=(0,r.useContext)(O),M=Object.assign({prefixCls:y,icon:f,type:i,shape:b||a},N);return r.createElement(E.ZP,{visible:I,motionName:`${P}-fade`},(e,t)=>{let{className:n}=e;return r.createElement(B,Object.assign({ref:(0,u.sQ)(_,t)},M,{onClick:L,className:c()(o,n)}))})});var V=n(62208),$=n(21770),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:f,onOpenChange:R,open:A}=e,O=W(e,["prefixCls","className","style","shape","type","icon","closeIcon","description","trigger","children","onOpenChange","open"]),{direction:h,getPrefixCls:N,floatButtonGroup:m}=(0,r.useContext)(S.E_),_=null!==(t=null!=u?u:null==m?void 0:m.closeIcon)&&void 0!==t?t:r.createElement(V.Z,null),g=N(H,n),L=(0,I.Z)(g),[v,y,P]=G(g,L),b=`${g}-group`,M=c()(b,y,P,L,o,{[`${b}-rtl`]:"rtl"===h,[`${b}-${a}`]:a,[`${b}-${a}-shadow`]:!d}),D=c()(y,`${b}-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==R||R(!0)},onMouseLeave(){x(!1),null==R||R(!1)}}:{},[d]),k=()=>{x(e=>(null==R||R(!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==R||R(!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:M,style:i},Y),d&&["click","hover"].includes(d)?r.createElement(r.Fragment,null,r.createElement(E.ZP,{visible:U,motionName:`${b}-wrap`},e=>{let{className:t}=e;return r.createElement("div",{className:c()(t,D)},f)}),r.createElement(B,Object.assign({ref:F,type:s,icon:U?_:l,description:T,"aria-label":e["aria-label"],className:`${b}-trigger`},O))):f)))}),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:c()(t,l)},o),n.map((e,t)=>r.createElement(X,Object.assign({key:t},e)))):r.createElement(X,Object.assign({className:c()(t,l)},o))};var K=B},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return l},Rk:function(){return c},Ux:function(){return u},aM:function(){return E},pg:function(){return T},q3:function(){return a},qI:function(){return s}});var r=n(67294),o=n(88692),i=n(98423);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))},c=r.createContext({prefixCls:""}),E=r.createContext({}),u=e=>{let{children:t,status:n,override:o}=e,i=(0,r.useContext)(E),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(E.Provider,{value:a},t)},T=(0,r.createContext)(void 0)},37920:function(e,t,n){"use strict";var r=n(67294);t.Z=(0,r.createContext)(void 0)},25378:function(e,t,n){"use strict";var r=n(67294),o=n(8410),i=n(57838),a=n(74443);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}},76745:function(e,t,n){"use strict";var r=n(67294);let o=(0,r.createContext)(void 0);t.Z=o},24457:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(62906),o=n(71191),i=o.Z,a=n(42115);let s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:o.Z,TimePicker:a.Z,Calendar:i,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:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},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=l},10110:function(e,t,n){"use strict";var r=n(67294),o=n(76745),i=n(24457);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]}},66277:function(e,t,n){"use strict";n.d(t,{CW:function(){return S}});var r=n(67294),o=n(19735),i=n(17012),a=n(29950),s=n(97735),l=n(19267),c=n(93967),E=n.n(c),u=n(42999),T=n(53124),d=n(35792),f=n(34792),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 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:E()(`${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=R(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:l}=r.useContext(T.E_),c=t||l("message"),A=(0,d.Z)(c),[O,p,h]=(0,f.Z)(c,A);return O(r.createElement(u.qX,Object.assign({},s,{prefixCls:c,className:E()(n,p,`${c}-notice-pure-panel`,h,A),eventKey:"pure",duration:null,content:r.createElement(S,{prefixCls:c,type:o,icon:i},a)})))}},45360:function(e,t,n){"use strict";var r=n(96641),o=n(67294),i=n(38135),a=n(66968),s=n(53124),l=n(28459),c=n(66277),E=n(16474),u=n(84926);let T=null,d=e=>e(),f=[],R={};function A(){let{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=R,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=R.prefixCls||i("message"),c=(0,o.useContext)(a.J),[u,T]=(0,E.K)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),c.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(),c=a.getIconPrefixCls(),E=a.getTheme(),u=o.createElement(S,{ref:t,sync:i,messageConfig:n});return o.createElement(l.ZP,{prefixCls:s,iconPrefixCls:c,theme:E},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&&(f.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":d(()=>{let t=T.instance.open(Object.assign(Object.assign({},R),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)})}}),f=[])}let h={open:function(e){let t=(0,u.J)(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return f.push(r),()=>{n?d(()=>{n()}):r.skipped=!0}});return p(),t},destroy:e=>{f.push({type:"destroy",key:e}),p()},config:function(e){R=Object.assign(Object.assign({},R),e),d(()=>{var e;null===(e=null==T?void 0:T.sync)||void 0===e||e.call(T)})},useMessage:E.Z,_InternalPanelDoNotUseOrYouWillBeFired:c.ZP};["success","info","warning","error","loading"].forEach(e=>{h[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 f.push(o),()=>{r?d(()=>{r()}):o.skipped=!0}});return p(),n}(e,n)}}),t.ZP=h},34792:function(e,t,n){"use strict";var r=n(47648),o=n(87263),i=n(14747),a=n(83559),s=n(87893);let l=e=>{let{componentCls:t,iconCls:n,boxShadow:o,colorText:a,colorSuccess:s,colorError:l,colorWarning:c,colorInfo:E,fontSizeLG:u,motionEaseInOutCirc:T,motionDurationSlow:d,marginXS:f,paddingXS:R,borderRadiusLG:A,zIndexPopup:S,contentPadding:O,contentBg:p}=e,h=`${t}-notice`,N=new r.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:R,transform:"translateY(0)",opacity:1}}),I=new r.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:R,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),m={padding:R,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:u},[`${h}-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:c},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:E}};return[{[t]:Object.assign(Object.assign({},(0,i.Wf)(e)),{color:a,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:S,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:N,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:I,animationDuration:d,animationPlayState:"paused",animationTimingFunction:T},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${h}-wrapper`]:Object.assign({},m)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},m),{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`}))},16474:function(e,t,n){"use strict";n.d(t,{K:function(){return p},Z:function(){return h}});var r=n(67294),o=n(62208),i=n(93967),a=n.n(i),s=n(42999),l=n(27288),c=n(53124),E=n(35792),u=n(66277),T=n(34792),d=n(84926),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 R=e=>{let{children:t,prefixCls:n}=e,o=(0,E.Z)(n),[i,l,c]=(0,T.Z)(n,o);return i(r.createElement(s.JB,{classNames:{list:a()(l,c,o)}},t))},A=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(R,{prefixCls:n,key:o},e)},S=r.forwardRef((e,t)=>{let{top:n,prefixCls:i,getContainer:l,maxCount:E,duration:u=3,rtl:T,transitionName:f,onAllRemoved:R}=e,{getPrefixCls:S,getPopupContainer:O,message:p,direction:h}=r.useContext(c.E_),N=i||S("message"),I=r.createElement("span",{className:`${N}-close-x`},r.createElement(o.Z,{className:`${N}-close-icon`})),[m,_]=(0,s.lm)({prefixCls:N,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>a()({[`${N}-rtl`]:null!=T?T:"rtl"===h}),motion:()=>(0,d.g)(N,f),closable:!1,closeIcon:I,duration:u,getContainer:()=>(null==l?void 0:l())||(null==O?void 0:O())||document.body,maxCount:E,onAllRemoved:R,renderNotifications:A});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},m),{prefixCls:N,message:p})),_}),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:c,icon:E,type:T,key:R,className:A,style:S,onClose:p}=n,h=f(n,["content","icon","type","key","className","style","onClose"]),N=R;return null==N&&(O+=1,N=`antd-message-${O}`),(0,d.J)(t=>(o(Object.assign(Object.assign({},h),{key:N,content:r.createElement(u.CW,{prefixCls:i,type:T,icon:E},c),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(N)}))},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 h(e){return p(e)}},84926: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}})},32409:function(e,t,n){"use strict";n.d(t,{O:function(){return v},Z:function(){return P}});var r=n(96641),o=n(67294),i=n(19735),a=n(17012),s=n(29950),l=n(97735),c=n(93967),E=n.n(c),u=n(87263),T=n(33603),d=n(28459),f=n(10110),R=n(25976),A=n(86743),S=n(23745),O=()=>{let{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:s,onCancel:l,onConfirm:c}=(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==c||c(!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:c}=(0,o.useContext)(S.t);return o.createElement(A.Z,{isSilent:n,type:s||"primary",actionFn:c,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)},h=n(56745),N=n(47648),I=n(71194),m=n(14747),_=n(83559);let C=e=>{let{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,E=`${t}-confirm`;return{[E]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${E}-body-wrapper`]:Object.assign({},(0,m.dF)()),[`&${t} ${t}-body`]:{padding:c},[`${E}-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()}},[`${E}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${E}-paragraph`]:{maxWidth:`calc(100% - ${(0,N.bf)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${E}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${E}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${E}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${E}-error ${E}-body > ${e.iconCls}`]:{color:e.colorError},[`${E}-warning ${E}-body > ${e.iconCls}, - ${E}-confirm ${E}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${E}-info ${E}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${E}-success ${E}-body > ${e.iconCls}`]:{color:e.colorSuccess}}};var g=(0,_.bk)(["Modal","confirm"],e=>{let t=(0,I.B4)(e);return[C(t)]},I.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:c,cancelText:u,confirmPrefixCls:T,type:d,okCancel:R,footer:A,locale:h}=e,N=L(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]),I=n;if(!n&&null!==n)switch(d){case"info":I=o.createElement(l.Z,null);break;case"success":I=o.createElement(i.Z,null);break;case"error":I=o.createElement(a.Z,null);break;default:I=o.createElement(s.Z,null)}let m=null!=R?R:"confirm"===d,_=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[C]=(0,f.Z)("Modal"),v=h||C,y=c||(m?null==v?void 0:v.okText:null==v?void 0:v.justOkText),P=u||(null==v?void 0:v.cancelText),b=Object.assign({autoFocusButton:_,cancelTextLocale:P,okTextLocale:y,mergedOkCancel:m},N),M=o.useMemo(()=>b,(0,r.Z)(Object.values(b))),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:E()(x,{[`${x}-has-title`]:U})},I,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:M},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:c,direction:d,prefixCls:f,wrapClassName:A,rootPrefixCls:S,bodyStyle:O,closable:p=!1,closeIcon:N,modalRender:I,focusTriggerAfterClose:m,onConfirm:_,styles:C}=e,g=`${f}-confirm`,L=e.width||416,y=e.style||{},P=void 0===e.mask||e.mask,b=void 0!==e.maskClosable&&e.maskClosable,M=E()(g,`${g}-${e.type}`,{[`${g}-rtl`]:"rtl"===d},e.className),[,D]=(0,R.ZP)(),U=o.useMemo(()=>void 0!==n?n:D.zIndexPopupBase+u.u6,[n,D]);return o.createElement(h.Z,{prefixCls:f,className:M,wrapClassName:E()({[`${g}-centered`]:!!e.centered},A),onCancel:()=>{null==t||t({triggerCancel:!0}),null==_||_(!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:b,style:y,styles:Object.assign({body:O,mask:c},C),width:L,zIndex:U,afterClose:r,keyboard:a,centered:s,getContainer:l,closable:p,closeIcon:N,modalRender:I,focusTriggerAfterClose:m},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)))}},56745:function(e,t,n){"use strict";let r;n.d(t,{Z:function(){return I}});var o=n(67294),i=n(62208),a=n(93967),s=n.n(a),l=n(40974),c=n(89942),E=n(69760),u=n(87263),T=n(33603),d=n(98924),f=n(43945),R=n(53124),A=n(35792),S=n(87564),O=n(16569),p=n(4941),h=n(71194),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 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 I=e=>{var t;let{getPopupContainer:n,getPrefixCls:a,direction:d,modal:I}=o.useContext(R.E_),m=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:_,className:C,rootClassName:g,open:L,wrapClassName:v,centered:y,getContainer:P,focusTriggerAfterClose:b=!0,style:M,visible:D,width:U=520,footer:x,classNames:w,styles:G,children:F,loading:H}=e,B=N(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),Y=a("modal",_),k=a(),V=(0,A.Z)(Y),[$,W,Z]=(0,h.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:m})),[K,z]=(0,E.Z)((0,E.w)(e),(0,E.w)(I),{closable:!0,closeIcon:o.createElement(i.Z,{className:`${Y}-close-icon`}),closeIconRender:e=>(0,p.b)(Y,e)}),q=(0,O.H)(`.${Y}-content`),[J,Q]=(0,u.Cn)("Modal",B.zIndex);return $(o.createElement(c.Z,{form:!0,space:!0},o.createElement(f.Z.Provider,{value:Q},o.createElement(l.Z,Object.assign({width:U},B,{zIndex:J,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:m,closable:K,closeIcon:z,focusTriggerAfterClose:b,transitionName:(0,T.m)(k,"zoom",e.transitionName),maskTransitionName:(0,T.m)(k,"fade",e.maskTransitionName),className:s()(W,C,null==I?void 0:I.className),style:Object.assign(Object.assign({},null==I?void 0:I.style),M),classNames:Object.assign(Object.assign(Object.assign({},null==I?void 0:I.classNames),w),{wrapper:s()(j,null==w?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},null==I?void 0:I.styles),G),panelRef:q}),H?o.createElement(S.Z,{active:!0,title:!1,paragraph:{rows:4},className:`${Y}-body-skeleton`}):F))))}},56080: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 R},uW:function(){return f},vq:function(){return A}});var r=n(96641),o=n(67294),i=n(38135),a=n(53124),s=n(28459),l=n(32409),c=n(38657),E=n(83008);let u="",T=e=>{var t,n;let{prefixCls:r,getContainer:i,direction:s}=e,c=(0,E.A)(),T=(0,o.useContext)(a.E_),d=u||T.getPrefixCls(),f=r||`${d}-modal`,R=i;return!1===R&&(R=void 0),o.createElement(l.Z,Object.assign({},e,{rootPrefixCls:d,prefixCls:f,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:c,getContainer:R}))};function d(e){let t;let n=(0,s.w6)(),a=document.createDocumentFragment(),l=Object.assign(Object.assign({},e),{close:f,open:!0});function E(){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(),c=o.createElement(T,Object.assign({},e));(0,i.s)(o.createElement(s.ZP,{prefixCls:t,iconPrefixCls:r,theme:l},n.holderRender?n.holderRender(c):c),a)})}function f(){for(var t=arguments.length,n=Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),E.apply(this,n)}})).visible&&delete l.visible,d(l)}return d(l),c.Z.push(f),{destroy:f,update:function(e){d(l="function"==typeof e?e(l):Object.assign(Object.assign({},l),e))}}}function f(e){return Object.assign(Object.assign({},e),{type:"warning"})}function R(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}},23745:function(e,t,n){"use strict";n.d(t,{n:function(){return i},t:function(){return o}});var r=n(67294);let o=r.createContext({}),{Provider:i}=o},38657:function(e,t){"use strict";t.Z=[]},85576:function(e,t,n){"use strict";n.d(t,{default:function(){return N}});var r=n(56080),o=n(38657),i=n(56745),a=n(67294),s=n(93967),l=n.n(s),c=n(40974),E=n(8745),u=n(53124),T=n(35792),d=n(32409),f=n(4941),R=n(71194),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,E.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:s,children:E,footer:S}=e,O=A(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:p}=a.useContext(u.E_),h=p(),N=t||p("modal"),I=(0,T.Z)(h),[m,_,C]=(0,R.ZP)(N,I),g=`${N}-confirm`,L={};return L=i?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(d.O,Object.assign({},e,{prefixCls:N,confirmPrefixCls:g,rootPrefixCls:h,content:E}))}:{closable:null==o||o,title:s,footer:null!==S&&a.createElement(f.$,Object.assign({},e)),children:E},m(a.createElement(c.s,Object.assign({prefixCls:N,className:l()(_,`${N}-pure-panel`,i&&g,i&&`${g}-${i}`,n,C,I)},O,{closeIcon:(0,f.b)(N,r),closable:o},L)))}),O=n(94423);function p(e){return(0,r.ZP)((0,r.uW)(e))}let h=i.Z;h.useModal=O.Z,h.info=function(e){return(0,r.ZP)((0,r.cw)(e))},h.success=function(e){return(0,r.ZP)((0,r.vq)(e))},h.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},h.warning=p,h.warn=p,h.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},h.destroyAll=function(){for(;o.Z.length;){let e=o.Z.pop();e&&e()}},h.config=r.ai,h._InternalPanelDoNotUseOrYouWillBeFired=S;var N=h},83008:function(e,t,n){"use strict";n.d(t,{A:function(){return l},f:function(){return s}});var r=n(24457);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}},4941:function(e,t,n){"use strict";n.d(t,{$:function(){return R},b:function(){return f}});var r=n(96641),o=n(67294),i=n(62208),a=n(98866),s=n(10110),l=n(14726),c=n(23745),E=()=>{let{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,o.useContext)(c.t);return o.createElement(l.ZP,Object.assign({onClick:n},e),t)},u=n(33671),T=()=>{let{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,o.useContext)(c.t);return o.createElement(l.ZP,Object.assign({},(0,u.nx)(n),{loading:e,onClick:i},t),r)},d=n(83008);function f(e,t){return o.createElement("span",{className:`${e}-close-x`},t||o.createElement(i.Z,{className:`${e}-close-icon`}))}let R=e=>{let t;let{okText:n,okType:i="primary",cancelText:l,confirmLoading:u,onOk:f,onCancel:R,okButtonProps:A,cancelButtonProps:S,footer:O}=e,[p]=(0,s.Z)("Modal",(0,d.A)()),h=n||(null==p?void 0:p.okText),N=l||(null==p?void 0:p.cancelText),I={confirmLoading:u,okButtonProps:A,cancelButtonProps:S,okTextLocale:h,cancelTextLocale:N,okType:i,onOk:f,onCancel:R},m=o.useMemo(()=>I,(0,r.Z)(Object.values(I)));return"function"==typeof O||void 0===O?(t=o.createElement(o.Fragment,null,o.createElement(E,null),o.createElement(T,null)),"function"==typeof O&&(t=O(t,{OkBtn:T,CancelBtn:E})),t=o.createElement(c.n,{value:m},t)):t=O,o.createElement(a.n,{disabled:!1},t)}},71194:function(e,t,n){"use strict";n.d(t,{B4:function(){return d},QA:function(){return E},eh:function(){return f}});var r=n(47648),o=n(14747),i=n(16932),a=n(50438),s=n(87893),l=n(83559);function c(e){return{position:e,inset:0}}let E=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({},c("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},c("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},f=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),E(t),(0,a._y)(t,"zoom")]},f,{unitless:{titleLineHeight:!0}})},94423:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(96641),o=n(67294),i=n(56080),a=n(38657),s=n(53124),l=n(24457),c=n(10110),E=n(32409),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,f]=o.useState(!0),[R,A]=o.useState(a),{direction:S,getPrefixCls:O}=o.useContext(s.E_),p=O("modal"),h=O(),N=function(){f(!1);for(var e,t=arguments.length,n=Array(t),o=0;onull==e?void 0:e.triggerCancel);i&&(null===(e=R.onCancel)||void 0===e||e.call.apply(e,[R,()=>{}].concat((0,r.Z)(n.slice(1)))))};o.useImperativeHandle(t,()=>({destroy:N,update:e=>{A(t=>Object.assign(Object.assign({},t),e))}}));let I=null!==(n=R.okCancel)&&void 0!==n?n:"confirm"===R.type,[m]=(0,c.Z)("Modal",l.Z.Modal);return o.createElement(E.Z,Object.assign({prefixCls:p,rootPrefixCls:h},R,{close:N,open:d,afterClose:()=>{var e;i(),null===(e=R.afterClose)||void 0===e||e.call(R)},okText:R.okText||(I?null==m?void 0:m.okText:null==m?void 0:m.justOkText),direction:R.direction||S,cancelText:R.cancelText||(null==m?void 0:m.cancelText)},T))});let d=0,f=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 R=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,c;d+=1;let E=o.createRef(),u=new Promise(e=>{l=e}),f=!1,R=o.createElement(T,{key:`modal-${d}`,config:t(i),ref:E,afterClose:()=>{null==c||c()},isSilent:()=>f,onConfirm:e=>{l(e)}});return(c=null===(s=e.current)||void 0===s?void 0:s.patchElement(R))&&a.Z.push(c),{destroy:()=>{function e(){var e;null===(e=E.current)||void 0===e||e.destroy()}E.current?e():n(t=>[].concat((0,r.Z)(t),[e]))},update:e=>{function t(){var t;null===(t=E.current)||void 0===t||t.update(e)}E.current?t():n(e=>[].concat((0,r.Z)(e),[t]))},then:e=>(f=!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(f,{key:"modal-holder",ref:e})]}},66494:function(e,t,n){"use strict";n.d(t,{CW:function(){return N},ZP:function(){return I},z5:function(){return p}});var r=n(67294),o=n(19735),i=n(17012),a=n(62208),s=n(29950),l=n(97735),c=n(19267),E=n(93967),u=n.n(E),T=n(42999),d=n(53124),f=n(35792),R=n(59135),A=n(47648),S=(0,n(83559).bk)(["Notification","PurePanel"],e=>{let t=`${e.componentCls}-notice`,n=(0,R.Rp)(e);return{[`${t}-pure-panel`]:Object.assign(Object.assign({},(0,R.$e)(n)),{width:n.width,maxWidth:`calc(100vw - ${(0,A.bf)(e.calc(n.notificationMarginEdge).mul(2).equal())})`,margin:0})}},R.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,c.Z;let h={success:o.Z,info:l.Z,error:i.Z,warning:s.Z},N=e=>{let{prefixCls:t,icon:n,type:o,message:i,description:a,btn:s,role:l="alert"}=e,c=null;return n?c=r.createElement("span",{className:`${t}-icon`},n):o&&(c=r.createElement(h[o]||null,{className:u()(`${t}-icon`,`${t}-icon-${o}`)})),r.createElement("div",{className:u()({[`${t}-with-icon`]:c}),role:l},c,r.createElement("div",{className:`${t}-message`},i),r.createElement("div",{className:`${t}-description`},a),s&&r.createElement("div",{className:`${t}-btn`},s))};var I=e=>{let{prefixCls:t,className:n,icon:o,type:i,message:a,description:s,btn:l,closable:c=!0,closeIcon:E,className:A}=e,h=O(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon","className"]),{getPrefixCls:I}=r.useContext(d.E_),m=t||I("notification"),_=`${m}-notice`,C=(0,f.Z)(m),[g,L,v]=(0,R.ZP)(m,C);return g(r.createElement("div",{className:u()(`${_}-pure-panel`,L,n,v,C)},r.createElement(S,{prefixCls:m}),r.createElement(T.qX,Object.assign({},h,{prefixCls:m,eventKey:"pure",duration:null,closable:c,className:u()({notificationClassName:A}),closeIcon:p(m,E),content:r.createElement(N,{prefixCls:_,icon:o,type:i,message:a,description:s,btn:l})}))))}},26855:function(e,t,n){"use strict";var r=n(67294),o=n(38135),i=n(66968),a=n(53124),s=n(28459),l=n(66494),c=n(48311);let E=null,u=e=>e(),T=[],d={};function f(){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 R=r.forwardRef((e,t)=>{let{notificationConfig:n,sync:o}=e,{getPrefixCls:s}=(0,r.useContext)(a.E_),l=d.prefixCls||s("notification"),E=(0,r.useContext)(i.J),[u,T]=(0,c.k)(Object.assign(Object.assign(Object.assign({},n),{prefixCls:l}),E.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(f),i=()=>{o(f)};r.useEffect(i,[]);let a=(0,s.w6)(),l=a.getRootPrefixCls(),c=a.getIconPrefixCls(),E=a.getTheme(),u=r.createElement(R,{ref:t,sync:i,notificationConfig:n});return r.createElement(s.ZP,{prefixCls:l,iconPrefixCls:c,theme:E},a.holderRender?a.holderRender(u):u)});function S(){if(!E){let e=document.createDocumentFragment(),t={fragment:e};E=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}E.instance&&(T.forEach(e=>{switch(e.type){case"open":u(()=>{E.instance.open(Object.assign(Object.assign({},d),e.config))});break;case"destroy":u(()=>{null==E||E.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==E?void 0:E.sync)||void 0===e||e.call(E)})},useNotification:c.Z,_InternalPanelDoNotUseOrYouWillBeFired:l.ZP};["success","info","warning","error"].forEach(e=>{p[e]=t=>O(Object.assign(Object.assign({},t),{type:e}))}),t.ZP=p},59135:function(e,t,n){"use strict";n.d(t,{ZP:function(){return p},$e:function(){return R},eh:function(){return S},Rp:function(){return O}});var r=n(47648),o=n(87263),i=n(14747),a=n(87893),s=n(83559),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}}),c=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:c}}}}};let c=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],E={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,[E[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"}}}},c.map(t=>u(e,t)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{}))};let R=e=>{let{iconCls:t,componentCls:n,boxShadow:o,fontSizeLG:a,notificationMarginBottom:s,borderRadiusLG:l,colorSuccess:c,colorInfo:E,colorWarning:u,colorError:T,colorTextHeading:d,notificationBg:f,notificationPadding:R,notificationMarginEdge:A,notificationProgressBg:S,notificationProgressHeight:O,fontSize:p,lineHeight:h,width:N,notificationIconSize:I,colorText:m}=e,_=`${n}-notice`;return{position:"relative",marginBottom:s,marginInlineStart:"auto",background:f,borderRadius:l,boxShadow:o,[_]:{padding:R,width:N,maxWidth:`calc(100vw - ${(0,r.bf)(e.calc(A).mul(2).equal())})`,overflow:"hidden",lineHeight:h,wordWrap:"break-word"},[`${_}-message`]:{marginBottom:e.marginXS,color:d,fontSize:a,lineHeight:e.lineHeightLG},[`${_}-description`]:{fontSize:p,color:m},[`${_}-closable ${_}-message`]:{paddingInlineEnd:e.paddingLG},[`${_}-with-icon ${_}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(I).equal(),fontSize:a},[`${_}-with-icon ${_}-description`]:{marginInlineStart:e.calc(e.marginSM).add(I).equal(),fontSize:p},[`${_}-icon`]:{position:"absolute",fontSize:I,lineHeight:1,[`&-success${t}`]:{color:c},[`&-info${t}`]:{color:E},[`&-warning${t}`]:{color:u},[`&-error${t}`]:{color:T}},[`${_}-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)),[`${_}-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}},[`${_}-btn`]:{float:"right",marginTop:e.marginSM}}},A=e=>{let{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:o,motionDurationMid:a,motionEaseInOut:s}=e,l=`${t}-notice`,c=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:c,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${l}-btn`]:{float:"left"}}})},{[t]:{[`${l}-wrapper`]:Object.assign({},R(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),f(t)]},S)},48311:function(e,t,n){"use strict";n.d(t,{Z:function(){return O},k:function(){return S}});var r=n(67294),o=n(93967),i=n.n(o),a=n(42999),s=n(27288),l=n(53124),c=n(35792),E=n(25976),u=n(66494),T=n(59135),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 f=e=>{let{children:t,prefixCls:n}=e,o=(0,c.Z)(n),[s,l,E]=(0,T.ZP)(n,o);return s(r.createElement(a.JB,{classNames:{list:i()(l,E,o)}},t))},R=(e,t)=>{let{prefixCls:n,key:o}=t;return r.createElement(f,{prefixCls:n,key:o},e)},A=r.forwardRef((e,t)=>{let{top:n,bottom:o,prefixCls:s,getContainer:c,maxCount:T,rtl:d,onAllRemoved:f,stack:A,duration:S,pauseOnHover:O=!0,showProgress:p}=e,{getPrefixCls:h,getPopupContainer:N,notification:I,direction:m}=(0,r.useContext)(l.E_),[,_]=(0,E.ZP)(),C=s||h("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"===m}),motion:()=>({motionName:`${C}-fade`}),closable:!0,closeIcon:(0,u.z5)(C),duration:null!=S?S:4.5,getContainer:()=>(null==c?void 0:c())||(null==N?void 0:N())||document.body,maxCount:T,pauseOnHover:O,showProgress:p,onAllRemoved:f,renderNotifications:R,stack:!1!==A&&{threshold:"object"==typeof A?null==A?void 0:A.threshold:void 0,offset:8,gap:_.margin}});return r.useImperativeHandle(t,()=>Object.assign(Object.assign({},g),{prefixCls:C,notification:I})),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,c=`${s}-notice`,{message:E,description:T,icon:f,type:R,btn:A,className:S,style:O,role:p="alert",closeIcon:h,closable:N}=n,I=d(n,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),m=(0,u.z5)(c,void 0!==h?h: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"},I),{content:r.createElement(u.CW,{prefixCls:c,icon:f,type:R,message:E,description:T,btn:A,role:p}),className:i()(R&&`${c}-${R}`,S,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),O),closeIcon:m,closable:null!=N?N:!!m}))},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)}},66330:function(e,t,n){"use strict";n.d(t,{aV:function(){return u}});var r=n(67294),o=n(93967),i=n.n(o),a=n(92419),s=n(81643),l=n(53124),c=n(20136),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 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:c="top",title:E,content:T,children:d}=e,f=(0,s.Z)(E),R=(0,s.Z)(T),A=i()(t,n,`${n}-pure`,`${n}-placement-${c}`,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:f,content:R})))};t.ZP=e=>{let{prefixCls:t,className:n}=e,o=E(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(l.E_),s=a("popover",t),[u,d,f]=(0,c.Z)(s);return u(r.createElement(T,Object.assign({},o,{prefixCls:s,hashId:d,className:i()(n,f)})))}},55241:function(e,t,n){"use strict";var r=n(67294),o=n(93967),i=n.n(o),a=n(21770),s=n(15105),l=n(81643),c=n(33603),E=n(96159),u=n(53124),T=n(83062),d=n(66330),f=n(20136),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 A=r.forwardRef((e,t)=>{var n,o;let{prefixCls:A,title:S,content:O,overlayClassName:p,placement:h="top",trigger:N="hover",children:I,mouseEnterDelay:m=.1,mouseLeaveDelay:_=.1,onOpenChange:C,overlayStyle:g={}}=e,L=R(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=r.useContext(u.E_),y=v("popover",A),[P,b,M]=(0,f.Z)(y),D=v(),U=i()(p,b,M),[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:h,trigger:N,mouseEnterDelay:m,mouseLeaveDelay:_,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,c.m)(D,"zoom-big",L.transitionName),"data-popover-inject":!0}),(0,E.Tm)(I,{onKeyDown:e=>{var t,n;r.isValidElement(I)&&(null===(n=null==I?void 0:(t=I.props).onKeyDown)||void 0===n||n.call(t,e)),F(e)}})))});A._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,t.Z=A},20136:function(e,t,n){"use strict";var r=n(14747),o=n(50438),i=n(97414),a=n(79511),s=n(8796),l=n(83559),c=n(87893);let E=e=>{let{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:s,boxShadowSecondary:l,colorTextHeading:c,borderRadiusLG:E,zIndexPopup:u,titleMarginBottom:T,colorBgElevated:d,popoverBg:f,titleBorderBottom:R,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:f,backgroundClip:"padding-box",borderRadius:E,boxShadow:l,padding:s},[`${t}-title`]:{minWidth:o,marginBottom:T,color:c,fontWeight:a,borderBottom:R,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,c.IX)(e,{popoverBg:t,popoverColor:n});return[E(r),u(r),(0,o._y)(r,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:E,lineType:u,colorSplit:T,paddingSM:d}=e,f=n-r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},(0,a.w)(e)),(0,i.wZ)({contentRadius:c,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:E,titlePadding:s?`${f/2}px ${o}px ${f/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"]]})},87564:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(67294),o=n(93967),i=n.n(o),a=n(53124),s=n(98423),l=e=>{let{prefixCls:t,className:n,style:o,size:a,shape:s}=e,l=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),c=i()({[`${t}-circle`]:"circle"===s,[`${t}-square`]:"square"===s,[`${t}-round`]:"round"===s}),E=r.useMemo(()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return r.createElement("span",{className:i()(t,l,c,n),style:Object.assign(Object.assign({},E),o)})},c=n(47648),E=n(83559),u=n(87893);let T=new c.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),d=e=>({height:e,lineHeight:(0,c.bf)(e)}),f=e=>Object.assign({width:e},d(e)),R=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},f(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},f(o)),[`${t}${t}-sm`]:Object.assign({},f(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)),h=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%"}}},N=(e,t,n)=>{let{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},I=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},d(e)),m=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()},I(r,s))},N(e,r,n)),{[`${n}-lg`]:Object.assign({},I(o,s))}),N(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},I(i,s))}),N(e,i,`${n}-sm`))},_=e=>{let{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:E,gradientFromColor:u,padding:T,marginSM:d,borderRadius:A,titleHeight:p,blockRadius:N,paragraphLiHeight:I,controlHeightXS:_,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},f(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},f(c)),[`${n}-sm`]:Object.assign({},f(E))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:p,background:u,borderRadius:N,[`+ ${o}`]:{marginBlockStart:E}},[o]:{padding:0,"> li":{width:"100%",height:I,listStyle:"none",background:u,borderRadius:N,"+ li":{marginBlockStart:_}}},[`${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"},m(e)),S(e)),O(e)),h(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${o} > li, - ${n}, - ${i}, - ${a}, - ${s} - `]:Object.assign({},R(e))}}};var C=(0,E.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[_(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(83963),L=n(24753),v=n(30672),y=r.forwardRef(function(e,t){return r.createElement(v.Z,(0,g.Z)({},e,{ref:t,icon:L.Z}))}),P=n(96641);let b=(e,t)=>{let{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0};var M=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:b(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:c,children:E,avatar:u=!1,title:T=!0,paragraph:d=!0,active:f,round:R}=e,{getPrefixCls:A,direction:S,skeleton:O}=r.useContext(a.E_),p=A("skeleton",t),[h,N,I]=C(p);if(n||!("loading"in e)){let e,t;let n=!!u,a=!!T,E=!!d;if(n){let t=Object.assign(Object.assign({prefixCls:`${p}-avatar`},a&&!E?{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||E){let e,o;if(a){let t=Object.assign(Object.assign({prefixCls:`${p}-title`},!n&&E?{width:"38%"}:n&&E?{width:"50%"}:{}),U(T));e=r.createElement(D,Object.assign({},t))}if(E){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(M,Object.assign({},e))}t=r.createElement("div",{className:`${p}-content`},e,o)}let A=i()(p,{[`${p}-with-avatar`]:n,[`${p}-active`]:f,[`${p}-rtl`]:"rtl"===S,[`${p}-round`]:R},null==O?void 0:O.className,o,s,N,I);return h(r.createElement("div",{className:A,style:Object.assign(Object.assign({},null==O?void 0:O.style),c)},e,t))}return null!=E?E:null};x.Button=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,block:E=!1,size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[f,R,A]=C(d),S=(0,s.Z)(e,["prefixCls"]),O=i()(d,`${d}-element`,{[`${d}-active`]:c,[`${d}-block`]:E},n,o,R,A);return f(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:c,shape:E="circle",size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[f,R,A]=C(d),S=(0,s.Z)(e,["prefixCls","className"]),O=i()(d,`${d}-element`,{[`${d}-active`]:c},n,o,R,A);return f(r.createElement("div",{className:O},r.createElement(l,Object.assign({prefixCls:`${d}-avatar`,shape:E,size:u},S))))},x.Input=e=>{let{prefixCls:t,className:n,rootClassName:o,active:c,block:E,size:u="default"}=e,{getPrefixCls:T}=r.useContext(a.E_),d=T("skeleton",t),[f,R,A]=C(d),S=(0,s.Z)(e,["prefixCls"]),O=i()(d,`${d}-element`,{[`${d}-active`]:c,[`${d}-block`]:E},n,o,R,A);return f(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:c}=r.useContext(a.E_),E=c("skeleton",t),[u,T,d]=C(E),f=i()(E,`${E}-element`,{[`${E}-active`]:l},n,o,T,d);return u(r.createElement("div",{className:f},r.createElement("div",{className:i()(`${E}-image`,n),style:s},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${E}-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:`${E}-image-path`})))))},x.Node=e=>{let{prefixCls:t,className:n,rootClassName:o,style:s,active:l,children:c}=e,{getPrefixCls:E}=r.useContext(a.E_),u=E("skeleton",t),[T,d,f]=C(u),R=i()(u,`${u}-element`,{[`${u}-active`]:l},d,n,o,f),A=null!=c?c:r.createElement(y,null);return T(r.createElement("div",{className:R},r.createElement("div",{className:i()(`${u}-image`,n),style:s},A)))};var w=x},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return d},ri:function(){return T}});var r=n(67294),o=n(93967),i=n.n(o),a=n(50344),s=n(53124),l=n(98675),c=n(51916),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 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)},f=e=>{var{children:t}=e,n=E(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:R,className:A,rootClassName:S,children:O}=e,p=E(e,["size","direction","block","prefixCls","className","rootClassName","children"]),h=(0,l.Z)(e=>null!=o?o:e),N=t("space-compact",R),[I,m]=(0,c.Z)(N),_=i()(N,m,{[`${N}-rtl`]:"rtl"===n,[`${N}-block`]:d,[`${N}-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)||`${N}-item-${t}`;return r.createElement(f,{key:n,compactSize:h,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:I(r.createElement("div",Object.assign({className:_},p),L))}},51916:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(83559),o=n(87893),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})},80110: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}})},14747: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 c},oN:function(){return E},vS:function(){return o}});var r=n(47648);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"}}}),c=(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})}},E=e=>({outline:`${(0,r.bf)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=e=>({"&:focus-visible":Object.assign({},E(e))})},16932:function(e,t,n){"use strict";n.d(t,{J$:function(){return s}});var r=n(47648),o=n(93590);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"}}]}},93590: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"}}}},50438:function(e,t,n){"use strict";n.d(t,{_y:function(){return O},kr:function(){return i}});var r=n(47648),o=n(93590);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}}),c=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),E=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%"}}),f=new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),R=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:f},"zoom-up":{inKeyframes:c,outKeyframes:E},"zoom-down":{inKeyframes:R,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}}]}},97414:function(e,t,n){"use strict";n.d(t,{ZP:function(){return s},qN:function(){return i},wZ:function(){return a}});var r=n(47648),o=n(79511);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,c,E,u,T;let{componentCls:d,boxShadowPopoverArrow:f,arrowOffsetVertical:R,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,f)),{"&: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:{})),(c=!!O.left,E={[`&-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:R},[`&-placement-leftBottom > ${d}-arrow`]:{bottom:R}},c?E:{})),(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:R},[`&-placement-rightBottom > ${d}-arrow`]:{bottom:R}},u?T:{}))}}},79511:function(e,t,n){"use strict";n.d(t,{W:function(){return i},w:function(){return o}});var r=n(47648);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)),c=r*(Math.sqrt(2)-1),E=`polygon(${c}px 100%, 50% ${c}px, ${2*o-c}px 100%, ${c}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:E}}let i=(e,t,n)=>{let{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(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"}}}},33083:function(e,t,n){"use strict";n.d(t,{Mj:function(){return c},uH:function(){return s},u_:function(){return l}});var r=n(67294),o=n(47648),i=n(67164),a=n(2790);let s=(0,o.jG)(i.Z),l={token:a.Z,override:{override:a.Z},hashed:!0},c=r.createContext(l)},8796: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"]},67164:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(65409),o=n(2790),i=n(57),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(372),l=n(69594),c=n(10274);let E=(e,t)=>new c.C(e).setAlpha(t).toRgbString(),u=(e,t)=>{let n=new c.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:E(r,.88),colorTextSecondary:E(r,.65),colorTextTertiary:E(r,.45),colorTextQuaternary:E(r,.25),colorFill:E(r,.15),colorFillSecondary:E(r,.06),colorFillTertiary:E(r,.04),colorFillQuaternary:E(r,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:E(r,.85),colorBgBlur:"transparent",colorBorder:u(n,15),colorBorderSecondary:u(n,6)}};function f(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))}},2790: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},57:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(10274);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:s,colorInfo:l,colorPrimary:c,colorBgBase:E,colorTextBase:u}=e,T=n(c),d=n(i),f=n(a),R=n(s),A=n(l),S=o(E,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:R[1],colorErrorBgHover:R[2],colorErrorBgActive:R[3],colorErrorBorder:R[3],colorErrorBorderHover:R[4],colorErrorHover:R[5],colorError:R[6],colorErrorActive:R[7],colorErrorTextHover:R[8],colorErrorText:R[9],colorErrorTextActive:R[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[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"})}},372:function(e,t){"use strict";t.Z=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},69594:function(e,t,n){"use strict";var r=n(51734);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],c=o[0],E=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:E,lineHeightSM:c,fontHeight:Math.round(l*i),fontHeightLG:Math.round(E*s),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},51734: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}})},25976:function(e,t,n){"use strict";n.d(t,{ZP:function(){return d},NJ:function(){return c}});var r=n(67294),o=n(47648),i=n(33083),a=n(2790),s=n(1393),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 c={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},E={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),f=`5.20.2-${t||""}`,R=n||i.uH,[A,S,O]=(0,o.fp)(R,[a.Z,e],{salt:f,override:l,getComputedToken:T,formatToken:s.Z,cssVar:d&&{prefix:d.prefix,key:d.key,unitless:c,ignore:E,preserve:u}});return[R,O,t?S:"",A,d]}},1393:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(10274),o=n(2790);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:c,b:E}=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-c*(1-e))/e),u=Math.round((a-E*(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 c=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 c}},98719:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8796);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}))},{})}},83559:function(e,t,n){"use strict";n.d(t,{A1:function(){return E},I$:function(){return c},bk:function(){return u}});var r=n(67294),o=n(87893),i=n(53124),a=n(14747),s=n(25976),l=n(53269);let{genStyleHooks:c,genComponentStyleHook:E,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})},53269:function(e,t,n){"use strict";var r=n(47648),o=n(14747),i=n(25976);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"}})}])}},42115:function(e,t){"use strict";t.Z={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},83062:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(67294),o=n(93967),i=n.n(o),a=n(92419),s=n(21770),l=n(89942),c=n(87263),E=n(33603),u=n(80636),T=n(96159),d=n(27288),f=n(43945),R=n(53124),A=n(25976),S=n(47648),O=n(14747),p=n(50438),h=n(97414),N=n(79511),I=n(98719),m=n(87893),_=n(83559);let C=e=>{let{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:E}=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(c).div(2).equal())} ${(0,S.bf)(E)}`,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,h.qN)}},[`${t}-content`]:{position:"relative"}}),(0,I.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,h.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,h.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,N.w)((0,m.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,_.I$)("Tooltip",e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=(0,m.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(98787);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 b=r.forwardRef((e,t)=>{var n,o;let{prefixCls:S,openClassName:O,getTooltipContainer:p,overlayClassName:h,color:N,overlayInnerStyle:I,children:m,afterOpenChange:_,afterVisibleChange:C,destroyTooltipOnHide:g,arrow:v=!0,title:b,overlay:M,builtinPlacements:D,arrowPointAtCenter:U=!1,autoAdjustOverflow:x=!0}=e,w=!!v,[,G]=(0,A.ZP)(),{getPopupContainer:F,getPrefixCls:H,direction:B}=r.useContext(R.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=!b&&!M&&0!==b,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===b?b:M||b||"",[M,b]),K=r.createElement(l.Z,{space:!0},"function"==typeof X?X():X),{getPopupContainer:z,placement:q="top",mouseEnterDelay:J=.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(m)&&!(0,T.M2)(m)?m:r.createElement("span",null,m),el=es.props,ec=el.className&&"string"!=typeof el.className?el.className:i()(el.className,O||`${er}-open`),[eE,eu,eT]=L(er,!ei),ed=y(er,N),ef=ed.arrowStyle,eR=Object.assign(Object.assign({},I),ed.overlayStyle),eA=i()(h,{[`${er}-rtl`]:"rtl"===B},ed.className,et,eu,eT),[eS,eO]=(0,c.Cn)("Tooltip",en.zIndex),ep=r.createElement(a.Z,Object.assign({},en,{zIndex:eS,showArrow:w,placement:q,mouseEnterDelay:J,mouseLeaveDelay:Q,prefixCls:er,overlayClassName:eA,overlayStyle:Object.assign(Object.assign({},ef),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!=_?_:C,overlayInnerStyle:eR,arrowContent:r.createElement("span",{className:`${er}-arrow-content`}),motion:{motionName:(0,E.m)(eo,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ea?(0,T.Tm)(es,{className:ec}):es);return eE(r.createElement(f.Z.Provider,{value:eO},ep))});b._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,placement:o="top",title:s,color:l,overlayInnerStyle:c}=e,{getPrefixCls:E}=r.useContext(R.E_),u=E("tooltip",t),[T,d,f]=L(u),A=y(u,l),S=A.arrowStyle,O=Object.assign(Object.assign({},c),A.overlayStyle),p=i()(d,f,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 M=b},16569:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(67294),o=n(56790);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}},1028:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25633));t.default=o.default},80037:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5584));t.default=o.default},25633:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(61434)),i=r(n(52040));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},5584:function(e,t,n){"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(53457)),i=r(n(15704));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},18253:function(e,t,n){"use strict";var r=n(85269).default;t.Z=void 0;var o=r(n(62273)),i=r(n(1028)),a=r(n(25633)),s=r(n(52040));let l="${label} is not a valid ${type}",c={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=c},82925:function(e,t,n){"use strict";var r=n(85269).default;t.Z=void 0;var o=r(n(74219)),i=r(n(80037)),a=r(n(5584)),s=r(n(15704));let l="${label}不是一个有效的${type}",c={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=c},52040: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"]}},15704:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},65409:function(e,t,n){"use strict";n.d(t,{iN:function(){return N},R_:function(){return u},EV:function(){return A},Ti:function(){return g},ez:function(){return T}});var r=n(86500),o=n(1350),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 c(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 E(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:c(T,u,!0),v:E(T,u,!0)}));n.push(d)}n.push(s(r));for(var f=1;f<=4;f+=1){var R=a(r),A=s((0,o.uA)({h:l(R,f),s:c(R,f),v:E(R,f)}));n.push(A)}return"dark"===t.theme?i.map(function(e){var r,i,a,l=e.index,c=e.opacity;return s((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[l]),a=100*c/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 f=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];f.primary=f[5];var R=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];R.primary=R[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 h=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];h.primary=h[5];var N=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];N.primary=N[5];var I=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];I.primary=I[5];var m=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];m.primary=m[5];var _=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];_.primary=_[5];var C=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];C.primary=C[5];var g={red:d,volcano:f,orange:R,gold:A,yellow:S,lime:O,green:p,cyan:h,blue:N,geekblue:I,purple:m,magenta:_,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 b=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];b.primary=b[5];var M=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];M.primary=M[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]},47648:function(e,t,n){"use strict";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 o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&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=l(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),y+=1}return p(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),b=new L;function M(e){var t=Array.isArray(e)?e:[e];return b.has(t)||b.set(t,new P(t)),b.get(t)}var D=new WeakMap,U={},x=new WeakMap;function w(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=x.get(e)||"";return n||(Object.keys(e).forEach(function(o){var i=e[o];n+=o,i instanceof P?n+=i.id:i&&"object"===r(i)?n+=w(i,t):n+=i}),t&&(n=(0,d.Z)(n)),x.set(e,n)),n}function G(e,t){return(0,d.Z)("".concat(t,"_").concat(w(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var F=(0,g.Z)();function H(e){return"number"==typeof e?"".concat(e,"px"):e}function B(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(o)return e;var a=u(u({},r),{},i(i({},I,t),m,n)),s=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 Y=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()},k=function(e,t,n){var r,o={},i={};return Object.entries(e).forEach(function(e){var t=l(e,2),r=t[0],a=t[1];if(null!=n&&null!==(s=n.preserve)&&void 0!==s&&s[r])i[r]=a;else if(("string"==typeof a||"number"==typeof a)&&!(null!=n&&null!==(c=n.ignore)&&void 0!==c&&c[r])){var s,c,E,u=Y(r,null==n?void 0:n.prefix);o[u]="number"!=typeof a||null!=n&&null!==(E=n.unitless)&&void 0!==E&&E[r]?String(a):"".concat(a,"px"),i[r]="var(".concat(u,")")}}),[i,(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=l(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")}).join(""),"}"):"")]},V=n(8410),$=u({},A).useInsertionEffect,W=$?function(e,t,n){return $(function(){return e(),t()},n)}:function(e,t,n){R.useMemo(e,n),(0,V.Z)(function(){return t(!0)},n)},Z=void 0!==u({},A).useInsertionEffect?function(e){var t=[],n=!1;return R.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 j(e,t,n,r,o){var i=R.useContext(C).cache,a=h([e].concat(c(t))),s=Z([a]),E=function(e){i.opUpdate(a,function(t){var r=l(t||[void 0,void 0],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i})};R.useMemo(function(){E()},[a]);var u=i.opGet(a)[1];return W(function(){null==o||o(u)},function(e){return E(function(t){var n=l(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(u)),[r+1,i]}),function(){i.opUpdate(a,function(t){var n=l(t||[],2),o=n[0],c=void 0===o?0:o,E=n[1];return 0==c-1?(s(function(){(e||!i.opGet(a))&&(null==r||r(E,!1))}),null):[c-1,E]})}},[a]),u}var X={},K=new Map,z=function(e,t,n,r){var o=u(u({},n.getDerivativeToken(e)),t);return r&&(o=r(o)),o},q="token";function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,R.useContext)(C),o=r.cache.instanceId,i=r.container,a=n.salt,s=void 0===a?"":a,E=n.override,T=void 0===E?X:E,A=n.formatToken,S=n.getComputedToken,O=n.cssVar,p=function(e,t){for(var n=D,r=0;r=(K.get(e)||0)}),n.length-r.length>0&&r.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(I,'="').concat(e,'"]')).forEach(function(e){if(e[_]===o){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),K.delete(e)})},function(e){var t=l(e,4),n=t[0],r=t[3];if(O&&r){var a=(0,f.hq)(r,(0,d.Z)("css-variables-".concat(n._themeKey)),{mark:m,prepend:"queue",attachTo:i,priority:-999});a[_]=o,a.setAttribute(I,n._themeKey)}})}function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?d[O]+" "+p:ea(p,/&\f/g,d[O])).trim())&&(l[S++]=h);return ep(e,t,n,0===o?en:s,l,c,E,u)}function eC(e,t,n,r,o){return ep(e,t,n,er,el(e,0,r),el(e,r+1,-1),r,o)}var eg="data-ant-cssinjs-cache-path",eL="_FILE_STYLE__",ev=!0,ey="_multi_value_";function eP(e){var t,n,r;return eu((r=function e(t,n,r,o,i,a,s,l,c){for(var E,u,T,d=0,f=0,R=s,A=0,S=0,O=0,p=1,h=1,N=1,I=0,m="",_=i,C=a,g=o,L=m;h;)switch(O=I,I=eh()){case 40:if(108!=O&&58==es(L,R-1)){-1!=(u=L+=ea(em(I),"&","&\f"),T=eo(d?l[d-1]:0),u.indexOf("&\f",T))&&(N=-1);break}case 34:case 39:case 91:L+=em(I);break;case 9:case 10:case 13:case 32:L+=function(e){for(;eS=eN();)if(eS<33)eh();else break;return eI(e)>2||eI(eS)>3?"":" "}(O);break;case 92:L+=function(e,t){for(var n;--t&&eh()&&!(eS<48)&&!(eS>102)&&(!(eS>57)||!(eS<65))&&(!(eS>70)||!(eS<97)););return n=eA+(t<6&&32==eN()&&32==eh()),el(eO,e,n)}(eA-1,7);continue;case 47:switch(eN()){case 42:case 47:eE(ep(E=function(e,t){for(;eh();)if(e+eS===57)break;else if(e+eS===84&&47===eN())break;return"/*"+el(eO,t,eA-1)+"*"+ei(47===e?e:eh())}(eh(),eA),n,r,et,ei(eS),el(E,2,-2),0,c),c);break;default:L+="/"}break;case 123*p:l[d++]=ec(L)*N;case 125*p:case 59:case 0:switch(I){case 0:case 125:h=0;case 59+f:-1==N&&(L=ea(L,/\f/g,"")),S>0&&ec(L)-R&&eE(S>32?eC(L+";",o,r,R-1,c):eC(ea(L," ","")+";",o,r,R-2,c),c);break;case 59:L+=";";default:if(eE(g=e_(L,n,r,d,f,i,l,m,_=[],C=[],R,a),a),123===I){if(0===f)e(L,n,g,g,_,a,R,l,C);else switch(99===A&&110===es(L,3)?100:A){case 100:case 108:case 109:case 115:e(t,g,g,o&&eE(e_(t,g,g,0,0,i,l,m,i,_=[],R,C),C),i,C,R,l,o?_:C);break;default:e(L,g,g,g,[""],C,0,l,C)}}}d=f=S=0,p=N=1,m=L="",R=s;break;case 58:R=1+ec(L),S=O;default:if(p<1){if(123==I)--p;else if(125==I&&0==p++&&125==(eS=eA>0?es(eO,--eA):0,ef--,10===eS&&(ef=1,ed--),eS))continue}switch(L+=ei(I),I*p){case 38:N=f>0?1:(L+="\f",-1);break;case 44:l[d++]=(ec(L)-1)*N,N=1;break;case 64:45===eN()&&(L+=em(eh())),A=eN(),f=R=ec(m=L+=function(e){for(;!eI(eN());)eh();return el(eO,e,eA)}(eA)),I++;break;case 45:45===O&&2==ec(L)&&(p=0)}}return a}("",null,null,null,[""],(n=t=e,ed=ef=1,eR=ec(eO=n),eA=0,t=[]),0,[0],t),eO="",r),eT).replace(/\{%%%\:[^;];}/g,";")}var eb=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},i=o.root,a=o.injectHash,s=o.parentSelectors,E=n.hashId,T=n.layer,d=(n.path,n.hashPriority),f=n.transformers,R=void 0===f?[]:f;n.linters;var A="",S={};function O(t){var r=t.getName(E);if(!S[r]){var o=e(t.style,n,{root:!1,parentSelectors:s}),i=l(o,1)[0];S[r]="@keyframes ".concat(t.getName(E)).concat(i)}}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 o="string"!=typeof t||i?t:{};if("string"==typeof o)A+="".concat(o,"\n");else if(o._keyframe)O(o);else{var T=R.reduce(function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},o);Object.keys(T).forEach(function(t){var o=T[t];if("object"!==r(o)||!o||"animationName"===t&&o._keyframe||"object"===r(o)&&o&&("_skip_check_"in o||ey in o)){function f(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;ee.Z[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(O(t),r=t.getName(E)),A+="".concat(n,":").concat(r,";")}var R,p=null!==(R=null==o?void 0:o.value)&&void 0!==R?R:o;"object"===r(o)&&null!=o&&o[ey]&&Array.isArray(p)?p.forEach(function(e){f(t,e)}):f(t,p)}else{var h=!1,N=t.trim(),I=!1;(i||a)&&E?N.startsWith("@")?h=!0:N=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(c(n.slice(1))).join(" ")}).join(",")}(t,E,d):i&&!E&&("&"===N||""===N)&&(N="",I=!0);var m=e(o,n,{root:I,injectHash:h,parentSelectors:[].concat(c(s),[N])}),_=l(m,2),C=_[0],g=_[1];S=u(u({},S),g),A+="".concat(N).concat(C)}})}}),i?T&&(A="@layer ".concat(T.name," {").concat(A,"}"),T.dependencies&&(S["@layer ".concat(T.name)]=T.dependencies.map(function(e){return"@layer ".concat(e,", ").concat(T.name,";")}).join("\n"))):A="{".concat(A,"}"),[A,S]};function eM(){return null}var eD="style";function eU(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,s=e.nonce,E=e.clientOnly,A=e.order,S=void 0===A?0:A,O=R.useContext(C),p=O.autoClear,h=(O.mock,O.defaultCache),N=O.hashPriority,L=O.container,v=O.ssrInline,y=O.transformers,P=O.linters,b=O.cache,M=O.layer,D=n._tokenKey,U=[D];M&&U.push("layer"),U.push.apply(U,c(r));var x=j(eD,U,function(){var e=U.join("|");if(!function(){if(!T&&(T={},(0,g.Z)())){var e,t=document.createElement("div");t.className=eg,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=l(e.split(":"),2),n=t[0],r=t[1];T[n]=r});var r=document.querySelector("style[".concat(eg,"]"));r&&(ev=!1,null===(e=r.parentNode)||void 0===e||e.removeChild(r)),document.body.removeChild(t)}}(),T[e]){var n=l(function(e){var t=T[e],n=null;if(t&&(0,g.Z)()){if(ev)n=eL;else{var r=document.querySelector("style[".concat(m,'="').concat(T[e],'"]'));r?n=r.innerHTML:delete T[e]}}return[n,t]}(e),2),i=n[0],s=n[1];if(i)return[i,D,s,{},E,S]}var c=eb(t(),{hashId:o,hashPriority:N,layer:M?a:void 0,path:r.join("-"),transformers:y,linters:P}),u=l(c,2),f=u[0],R=u[1],A=eP(f),O=(0,d.Z)("".concat(U.join("%")).concat(A));return[A,D,O,R,E,S]},function(e,t){var n=l(e,3)[2];(t||p)&&F&&(0,f.jL)(n,{mark:m})},function(e){var t=l(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(F&&n!==eL){var i={mark:m,prepend:!M&&"queue",attachTo:L,priority:S},a="function"==typeof s?s():s;a&&(i.csp={nonce:a});var c=[],E=[];Object.keys(o).forEach(function(e){e.startsWith("@layer")?c.push(e):E.push(e)}),c.forEach(function(e){(0,f.hq)(eP(o[e]),"_layer-".concat(e),u(u({},i),{},{prepend:!0}))});var T=(0,f.hq)(n,r,i);T[_]=b.instanceId,T.setAttribute(I,D),E.forEach(function(e){(0,f.hq)(eP(o[e]),"_effect-".concat(e),i)})}}),w=l(x,3),G=w[0],H=w[1],B=w[2];return function(e){var t;return t=v&&!F&&h?R.createElement("style",Q({},i(i({},I,H),m,B),{dangerouslySetInnerHTML:{__html:G}})):R.createElement(eM,null),R.createElement(R.Fragment,null,t,e)}}i(i(i({},eD,function(e,t,n){var r=l(e,6),o=r[0],i=r[1],a=r[2],s=r[3],c=r[4],E=r[5],u=(n||{}).plain;if(c)return null;var T=o,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(E)};return T=B(o,i,a,d,u),s&&Object.keys(s).forEach(function(e){if(!t[e]){t[e]=!0;var n=B(eP(s[e]),i,"_effect-".concat(e),d,u);e.startsWith("@layer")?T=n+T:T+=n}}),[E,a,T]}),q,function(e,t,n){var r=l(e,5),o=r[2],i=r[3],a=r[4],s=(n||{}).plain;if(!i)return null;var c=o._tokenKey,E=B(i,a,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s);return[-999,c,E]}),"cssVar",function(e,t,n){var r=l(e,4),o=r[1],i=r[2],a=r[3],s=(n||{}).plain;if(!o)return null;var c=B(o,a,i,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},s);return[-999,i,c]});var ex=function(){function e(t,n){S(this,e),i(this,"name",void 0),i(this,"style",void 0),i(this,"_keyframe",!0),this.name=t,this.style=n}return p(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 ew(e){return e.notSplit=!0,e}ew(["borderTop","borderBottom"]),ew(["borderTop"]),ew(["borderBottom"]),ew(["borderLeft","borderRight"]),ew(["borderLeft"]),ew(["borderRight"])},30672:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(83963),o=n(94394);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=n(43655);function s(e,t,n){return(t=(0,a.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=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 O(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 p(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function h(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,d.uA)(e),o=5;o>0;o-=1){var i=R(r),a=A((0,d.uA)({h:S(i,o,!0),s:O(i,o,!0),v:p(i,o,!0)}));n.push(a)}n.push(A(r));for(var s=1;s<=4;s+=1){var l=R(r),c=A((0,d.uA)({h:S(l,s),s:O(l,s),v:p(l,s)}));n.push(c)}return"dark"===t.theme?f.map(function(e){var r,o,i,a=e.index,s=e.opacity;return A((r=(0,d.uA)(t.backgroundColor||"#141414"),o=(0,d.uA)(n[a]),i=100*s/100,{r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b}))}):n}var N={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"},I={},m={};Object.keys(N).forEach(function(e){I[e]=h(N[e]),I[e].primary=I[e][5],m[e]=h(N[e],{theme:"dark",backgroundColor:"#141414"}),m[e].primary=m[e][5]}),I.red,I.volcano,I.gold,I.orange,I.yellow,I.lime,I.green,I.cyan;var _=I.blue;I.geekblue,I.purple,I.magenta,I.grey,I.grey;var C=n(54775);function g(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 L(e){for(var t=1;t0&&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 U(e){return e?Array.isArray(e)?e:[e]:[]}var x=function(e){var t=(0,c.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,c.useEffect)(function(){var t=e.current,r=(0,P.A)(t);(0,y.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],G={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},F=function(e){var t,n,r=e.icon,o=e.className,i=e.onClick,a=e.style,s=e.primaryColor,E=e.secondaryColor,u=l(e,w),T=c.useRef(),d=G;if(s&&(d={primaryColor:s,secondaryColor:E||h(s)[0]}),x(T),t=M(r),n="icon should be icon definiton, but got ".concat(r),(0,b.ZP)(t,"[@ant-design/icons] ".concat(n)),!M(r))return null;var f=r;return f&&"function"==typeof f.icon&&(f=L(L({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),function e(t,n,r){return r?c.createElement(t.tag,L(L({key:n},D(t.attrs)),r),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):c.createElement(t.tag,L({key:n},D(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}(f.icon,"svg-".concat(f.name),L(L({className:o,onClick:i,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:T}))};function H(e){var t=i(U(e),2),n=t[0],r=t[1];return F.setTwoToneColors({primaryColor:n,secondaryColor:r})}F.displayName="IconReact",F.getTwoToneColors=function(){return L({},G)},F.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;G.primaryColor=t,G.secondaryColor=n||h(t)[0],G.calculated=!!n};var B=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];H(_.primary);var Y=c.forwardRef(function(e,t){var n=e.className,o=e.icon,a=e.spin,E=e.rotate,T=e.tabIndex,d=e.onClick,f=e.twoToneColor,R=l(e,B),A=c.useContext(C.Z),S=A.prefixCls,O=void 0===S?"anticon":S,p=A.rootClassName,h=u()(p,O,s(s({},"".concat(O,"-").concat(o.name),!!o.name),"".concat(O,"-spin"),!!a||"loading"===o.name),n),N=T;void 0===N&&d&&(N=-1);var I=i(U(f),2),m=I[0],_=I[1];return c.createElement("span",(0,r.Z)({role:"img","aria-label":o.name},R,{ref:t,tabIndex:N,onClick:d,className:h}),c.createElement(F,{icon:o,primaryColor:m,secondaryColor:_,style:E?{msTransform:"rotate(".concat(E,"deg)"),transform:"rotate(".concat(E,"deg)")}:void 0}))});Y.displayName="AntdIcon",Y.getTwoToneColor=function(){var e=F.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Y.setTwoToneColor=H;var k=Y},54775:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},19735:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(72961),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},17012:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(1085),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},62208:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(89503),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},29950:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(83707),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},97735:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(12489),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},19267:function(e,t,n){"use strict";var r=n(83963),o=n(67294),i=n(15294),a=n(30672),s=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i.Z}))});t.Z=s},61401:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonLocale=void 0,t.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},61434:function(e,t,n){"use strict";var r=n(70508).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(21968)),i=n(61401),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{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"});t.default=a},53457:function(e,t,n){"use strict";var r=n(70508).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(21968)),i=n(61401),a=(0,o.default)((0,o.default)({},i.commonLocale),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});t.default=a},79742: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],c=new o((a+s)*3/4-s),E=0,u=s>0?a-4:a;for(n=0;n>16&255,c[E++]=t>>8&255,c[E++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[E++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[E++]=t>>8&255,c[E++]=255&t),c},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},48764:function(e,t,n){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */let r=n(79742),o=n(80645),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 E(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|f(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 c(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 E(e){return c(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 f(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 R(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 c(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 N(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 I(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 m(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 _(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||_(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||_(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(c(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 E(e)},s.allocUnsafeSlow=function(e){return E(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=f,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),c=this.slice(r,o),E=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-E),this,E,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||h(e,t,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,t>>>=0,n||h(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||h(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||h(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||h(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||h(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||h(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=H(function(e){b(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&M(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)&&M(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||h(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||h(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||h(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||h(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||h(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||h(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||h(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=H(function(e){b(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&M(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)&&M(e,this.length-8);let r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,t||h(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||h(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||h(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||h(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;N(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;N(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||N(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||N(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||N(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||N(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||N(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 I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=H(function(e,t=0){return m(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);N(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);N(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||N(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||N(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||N(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||N(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||N(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 I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=H(function(e,t=0){return m(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)}b(o,"offset"),(void 0===r[o]||void 0===r[o+i])&&M(o,r.length-(i+1))}function b(e,t){if("number"!=typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function M(e,t,n){if(Math.floor(e)!==e)throw b(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")}},20640:function(e,t,n){"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,E,u,T=!1;t||(t={}),a=t.debug||!1;try{if(l=r(),c=document.createRange(),E=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),c.selectNodeContents(u),E.addRange(c),!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{E&&("function"==typeof E.removeRange?E.removeRange(c):E.removeAllRanges()),u&&document.body.removeChild(u),l()}return T}},80645: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,E=-7,u=n?o-1:0,T=n?-1:1,d=e[t+u];for(u+=T,i=d&(1<<-E)-1,d>>=-E,E+=s;E>0;i=256*i+e[t+u],u+=T,E-=8);for(a=i&(1<<-E)-1,i>>=-E,E+=r;E>0;a=256*a+e[t+u],u+=T,E-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:(d?-1:1)*(1/0);a+=Math.pow(2,r),i-=c}return(d?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,E=(1<>1,T=23===o?5960464477539062e-23:0,d=r?0:i-1,f=r?1:-1,R=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=E):(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>=E?(s=0,a=E):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+=f,s/=256,o-=8);for(a=a<0;e[n+d]=255&a,d+=f,a/=256,c-=8);e[n+d-f]|=128*R}},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},44239:function(e,t,n){var r=n(62705),o=n(89607),i=n(2333),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)}},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},31957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},89607:function(e,t,n){var r=n(62705),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}},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,E,u,T,d,f=0,R=!1,A=!1,S=!0;if("function"!=typeof e)throw TypeError("Expected a function");function O(t){var n=l,r=c;return l=c=void 0,f=t,u=e.apply(r,n)}function p(e){var n=e-d,r=e-f;return void 0===d||n>=t||n<0||A&&r>=E}function h(){var e,n,r,i=o();if(p(i))return N(i);T=setTimeout(h,(e=i-d,n=i-f,r=t-e,A?s(r,E-n):r))}function N(e){return(T=void 0,S&&l)?O(e):(l=c=void 0,u)}function I(){var e,n=o(),r=p(n);if(l=arguments,c=this,d=n,r){if(void 0===T)return f=e=d,T=setTimeout(h,t),R?O(e):u;if(A)return clearTimeout(T),T=setTimeout(h,t),O(d)}return void 0===T&&(T=setTimeout(h,t)),u}return t=i(t)||0,r(n)&&(R=!!n.leading,E=(A="maxWait"in n)?a(i(n.maxWait)||0,t):E,S="trailing"in n?!!n.trailing:S),I.cancel=function(){void 0!==T&&clearTimeout(T),f=0,l=d=c=T=void 0},I.flush=function(){return void 0===T?u:N(o())},I}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},23493:function(e,t,n){var r=n(23279),o=n(13218);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})}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,E=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||c.test(e)?E(e.slice(2),n?2:8):s.test(e)?a:+e}},83839: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(30381))},30381: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 c(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,b=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,M={},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()?(M[t=w(t,e.localeData())]=M[t]||function(e){var t,n,r,o=e.match(P);for(n=0,r=o.length;n=0&&b.test(e);)e=e.replace(b,r),b.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?/,q=/\d\d\d\d?/,J=/\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 ec(e,t,n){V[e]=g(t)?t:function(e,r){return e&&n?n:t}}function eE(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 ef(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?(eN(this,e,r),t.updateOffset(this,n),this):eh(this,e)}}function eh(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 eN(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 eI(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 eb(e,t,n){var r=7+t-n;return-((7+eP(e,0,r).getUTCDay()-t)%7)+r-1}function eM(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+eb(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=eb(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=eb(e,t,n),o=eb(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"),ec("w",z,es),ec("ww",z,Z),ec("W",z,es),ec("WW",z,Z),eR(["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"),ec("d",z),ec("e",z),ec("E",z),ec("dd",function(e,t){return t.weekdaysMinRegex(e)}),ec("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ec("dddd",function(e,t){return t.weekdaysRegex(e)}),eR(["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}),eR(["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=[],c=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),r=eE(this.weekdaysMin(n,"")),o=eE(this.weekdaysShort(n,"")),i=eE(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=RegExp("^("+c.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),ec("a",eY),ec("A",eY),ec("H",z,el),ec("h",z,es),ec("k",z,es),ec("HH",z,Z),ec("hh",z,Z),ec("kk",z,Z),ec("hmm",q),ec("hmmss",J),ec("Hmm",q),ec("Hmmss",J),ef(["H","HH"],3),ef(["k","kk"],function(e,t,n){var r=eT(e);t[3]=24===r?0:r}),ef(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ef(["h","hh"],function(e,t,n){t[3]=eT(e),T(n).bigHour=!0}),ef("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}),ef("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}),ef("Hmm",function(e,t,n){var r=e.length-2;t[3]=eT(e.substr(0,r)),t[4]=eT(e.substr(r))}),ef("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:em,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)?eJ(e):eq(e,t))?eV=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),eV._abbr}function eq(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){eq(e.name,e.config)}),ez(e),eZ[e]}function eJ(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]>eI(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),c=e4.length,E=e6.length;if(l){for(t=0,T(e).iso=!0,n=c;t7)&&(c=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,E=eD(ti(),a,s),r=te(n.gg,e._a[0],E.year),o=te(n.w,E.week),null!=n.d?((i=n.d)<0||i>6)&&(c=!0):null!=n.e?(i=n.e+a,(n.e<0||n.e>6)&&(c=!0)):i=a),o<1||o>eU(r,a,s)?T(e)._overflowWeeks=!0:null!=c?T(e)._overflowWeekday=!0:(l=eM(r,o,i,a,s),e._a[0]=l.year,e._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(S=te(e._a[0],R[0]),(e._dayOfYear>eS(S)||0===e._dayOfYear)&&(T(e)._overflowDayOfYear=!0),f=eP(S,0,e._dayOfYear),e._a[1]=f.getUTCMonth(),e._a[2]=f.getUTCDate()),d=0;d<3&&null==e._a[d];++d)e._a[d]=O[d]=R[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,c,E,u,d,f,R=""+e._i,A=R.length,S=0;for(s=0,f=(c=w(e._f,e._locale).match(P)||[]).length;s0&&T(e).unusedInput.push(u),R=R.slice(R.indexOf(l)+l.length),S+=l.length),D[E])?(l?T(e).empty=!1:T(e).unusedTokens.push(E),null!=l&&o(ed,E)&&ed[E](l,e._a,e,E)):e._strict&&!l&&T(e).unusedTokens.push(E);T(e).charsLeftOver=A-S,R.length>0&&T(e).unusedInput.push(R),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||eJ(e._l),null===i||void 0===u&&""===i)?f({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),N(i))?new h(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:f()});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=[],c=this.eras();for(e=0,t=c.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=eM(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"),ec("N",tx),ec("NN",tx),ec("NNN",tx),ec("NNNN",function(e,t){return t.erasNameRegex(e)}),ec("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ef(["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}),ec("y",en),ec("yy",en),ec("yyy",en),ec("yyyy",en),ec("yo",function(e,t){return t._eraYearOrdinalRegex||en}),ef(["y","yy","yyy","yyyy"],0),ef(["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"),ec("G",er),ec("g",er),ec("GG",z,Z),ec("gg",z,Z),ec("GGGG",ee,X),ec("gggg",ee,X),ec("GGGGG",et,K),ec("ggggg",et,K),eR(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=eT(e)}),eR(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),U("Q",0,"Qo","quarter"),ec("Q",W),ef("Q",function(e,t){t[1]=(eT(e)-1)*3}),U("D",["DD",2],"Do","date"),ec("D",z,es),ec("DD",z,Z),ec("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ef(["D","DD"],2),ef("Do",function(e,t){t[2]=eT(e.match(z)[0])});var tB=ep("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),ec("DDD",Q),ec("DDDD",j),ef(["DDD","DDDD"],function(e,t,n){n._dayOfYear=eT(e)}),U("m",["mm",2],0,"minute"),ec("m",z,el),ec("mm",z,Z),ef(["m","mm"],4);var tY=ep("Minutes",!1);U("s",["ss",2],0,"second"),ec("s",z,el),ec("ss",z,Z),ef(["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()}),ec("S",Q,W),ec("SS",Q,Z),ec("SSS",Q,j),R="SSSS";R.length<=9;R+="S")ec(R,en);function tV(e,t){t[6]=eT(("0."+e)*1e3)}for(R="S";R.length<=9;R+="S")ef(R,tV);A=ep("Milliseconds",!1),U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var t$=h.prototype;function tW(e){return e}t$.add=tg,t$.calendar=function(e,a){if(1==arguments.length){if(arguments[0]){var c,E,u;(c=arguments[0],N(c)||l(c)||tv(c)||s(c)||(E=n(c),u=!1,E&&(u=0===c.filter(function(e){return!s(e)&&tv(c)}).length),E&&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"],c=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,tN(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=tR(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=m("dates accessor is deprecated. Use date instead.",tB),t$.months=m("months accessor is deprecated. Use month instead",eL),t$.years=m("years accessor is deprecated. Use year instead",eO),t$.zone=m("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=m("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=eJ(),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=eJ(),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||eJ("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||e_).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[e_.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=m("moment.lang is deprecated. Use moment.locale instead.",ez),t.langData=m("moment.langData is deprecated. Use moment.localeData instead.",eJ);var tz=Math.abs;function tq(e,t,n,r){var o=tN(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function tJ(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"),nc=Math.round,nE={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 nf(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=nT(this._milliseconds)/1e3,c=nT(this._days),E=nT(this._months),u=this.asSeconds();return u?(e=eu(l/60),t=eu(e/60),l%=60,e%=60,n=eu(E/12),E%=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":"")+(E?i+E+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var nR=tE.prototype;return nR.isValid=function(){return this._isValid},nR.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},nR.add=function(e,t){return tq(this,e,t,1)},nR.subtract=function(e,t){return tq(this,e,t,-1)},nR.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)}},nR.asMilliseconds=t2,nR.asSeconds=t4,nR.asMinutes=t6,nR.asHours=t3,nR.asDays=t8,nR.asWeeks=t5,nR.asMonths=t7,nR.asQuarters=t9,nR.asYears=ne,nR.valueOf=t2,nR._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*tJ(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-=tJ(t0(o)),r=eu(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},nR.clone=function(){return tN(this)},nR.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},nR.milliseconds=nn,nR.seconds=nr,nR.minutes=no,nR.hours=ni,nR.days=na,nR.weeks=function(){return eu(this.days()/7)},nR.months=ns,nR.years=nl,nR.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o,i,a,s,l,c,E,u,T,d,f,R=!1,A=nE;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(R=e),"object"==typeof t&&(A=Object.assign({},nE,t),null!=t.s&&null==t.ss&&(A.ss=t.s-1)),d=this.localeData(),n=!R,r=A,i=nc((o=tN(this).abs()).as("s")),a=nc(o.as("m")),s=nc(o.as("h")),l=nc(o.as("d")),c=nc(o.as("M")),E=nc(o.as("w")),u=nc(o.as("y")),T=i<=r.ss&&["s",i]||i0,T[4]=d,f=nu.apply(null,T),R&&(f=d.pastFuture(+this,f)),d.postformat(f)},nR.toISOString=nf,nR.toString=nf,nR.toJSON=nf,nR.locale=tP,nR.localeData=tM,nR.toIsoString=m("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nf),nR.lang=tb,U("X",0,0,"unix"),U("x",0,0,"valueOf"),ec("x",er),ec("X",/[+-]?\d+(\.\d{1,3})?/),ef("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ef("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=f,t.duration=tN,t.isMoment=N,t.weekdays=function(e,t,n){return tK(e,t,n,"weekdays")},t.parseZone=function(){return ti.apply(null,arguments).parseZone()},t.localeData=eJ,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=eq,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?nc:"function"==typeof e&&(nc=e,!0)},t.relativeTimeThreshold=function(e,t){return void 0!==nE[e]&&(void 0===t?nE[e]:(nE[e]=t,"s"===e&&(nE.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}()},69654: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()},83454: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(77663)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(26466)}])},41468:function(e,t,n){"use strict";n.d(t,{R:function(){return u},p:function(){return E}});var r=n(85893),o=n(76212),i=n(62418),a=n(25519),s=n(65654),l=n(39332),c=n(67294);let E=(0,c.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)(),f=null!==(t=null==d?void 0:d.get("id"))&&void 0!==t?t:"",R=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,c.useState)(!1),[p,h]=(0,c.useState)(""),[N,I]=(0,c.useState)("chat_dashboard"!==R),[m,_]=(0,c.useState)(A),[C,g]=(0,c.useState)(""),[L,v]=(0,c.useState)([]),[y,P]=(0,c.useState)(),[b,M]=(0,c.useState)("light"),[D,U]=(0,c.useState)([]),[x,w]=(0,c.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,c.useEffect)(()=>{(0,i.n5)()&&F()},[F,(0,i.n5)()]),(0,c.useEffect)(()=>{M(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,c.useEffect)(()=>{h(G[0])},[G,null==G?void 0:G.length]),(0,r.jsx)(E.Provider,{value:{isContract:S,isMenuExpand:N,scene:R,chatId:f,model:p,modelList:G,dbParam:m||A,agent:C,setAgent:g,mode:b,setMode:M,setModel:h,setIsContract:O,setIsMenuExpand:I,setDbParam:_,history:L,setHistory:v,docId:y,setDocId:P,currentDialogInfo:x,setCurrentDialogInfo:w,adminList:D},children:T})}},64371:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(36609),o=n(67421);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_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",Upload_Data_Successfully:"file uploaded successfully",Upload_Data_Failed:"file upload failed",Upload_Data:"Upload Data",Code_Editor:"Code Editor",Open_Code_Editor:"Open Code Editor",Export_Flow_Success:"Export flow success",Import_Flow_Success:"Import flow success",Import:"Import",Export:"Export",Import_Flow:"Import Flow",Export_Flow:"Export Flow",Select_File:"Select File",Save_After_Import:"Save after import",Export_File_Type:"File_Type",Export_File_Format:"File_Format",Yes:"Yes",No:"No",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",Domain:"Domain",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",Copy_Btn:"Copy",Delete_Btn:"Delete",dbgpts_community:"DBGPTS Community",community_dbgpts:"Community DBGPTS",my_dbgpts:"My DBGPTS",Refresh_dbgpts:"Refresh from the community Git repository",workflow:"Workflow",resources:"Resources",app:"App"}},zh:{translation:{dialog_list:"对话列表",delete_chat:"删除会话",delete_chat_confirm:"您确认要删除会话吗?",input_tips:"可以问我任何问题,shift + Enter 换行",sent:"发送",answer_again:"重新回答",feedback_tip:"描述一下具体问题或更优的答案",thinking:"正在思考中",stop_replying:"停止回复",erase_memory:"清除记忆",copy_success:"复制成功",copy_failed:"复制失败",copy_nothing:"内容复制为空",file_tip:"文件上传后无法更改",chat_online:"在线对话",assistant:"平台小助手",model_tip:"当前应用暂不支持模型选择",temperature_tip:"当前应用暂不支持温度配置",extend_tip:"当前应用暂不支持拓展配置",Upload_Data_Successfully:"文件上传成功",Upload_Data_Failed:"文件上传失败",Upload_Data:"上传数据",Code_Editor:"代码编辑器",Open_Code_Editor:"打开代码编辑器",Export_Flow_Success:"导出工作流成功",Import_Flow_Success:"导入工作流成功",Import:"导入",Export:"导出",Import_Flow:"导入工作流",Export_Flow:"导出工作流",Select_File:"选择文件",Save_After_Import:"导入后保存",Export_File_Type:"文件类型",Export_File_Format:"文件格式",Yes:"是",No:"否",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:"存储类型",Domain:"领域类型",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名称",Copy_Btn:"复制",Delete_Btn:"删除",dbgpts_community:"DBGPTS社区",community_dbgpts:"社区DBGPTS",my_dbgpts:"我的DBGPTS",Refresh_dbgpts:"从社区Git仓库刷新",workflow:"工作流",resources:"资源",app:"应用"}}},lng:"en",interpolation:{escapeValue:!1}});var i=r.ZP},89546: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(76212);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)},76212:function(e,t,n){"use strict";n.d(t,{yY:function(){return tN},HT:function(){return tO},a4:function(){return tp},uO:function(){return th},L5:function(){return eH},H_:function(){return V},zd:function(){return eA},Jm:function(){return ey},Hy:function(){return e3},be:function(){return $},TT:function(){return ez},Vx:function(){return _},Ir:function(){return eG.Ir},fU:function(){return e1},zR:function(){return G},mo:function(){return e_},kg:function(){return td},Nl:function(){return ex},$E:function(){return ti},MX:function(){return F},n3:function(){return z},Wd:function(){return tl},XK:function(){return q},Jq:function(){return eh},$j:function(){return e5},Ug:function(){return ta},XI:function(){return ts},k7:function(){return eq},zx:function(){return eG.zx},j8:function(){return ek},GQ:function(){return ej},BN:function(){return eP},yk:function(){return eY},Vd:function(){return eV},m9:function(){return eZ},Tu:function(){return H},Eb:function(){return ef},Lu:function(){return ed},$i:function(){return x},gV:function(){return K},iZ:function(){return W},a$:function(){return tt},Bw:function(){return g},t$:function(){return L},H4:function(){return eT},iP:function(){return M},_Q:function(){return k},Wm:function(){return tc},Jr:function(){return eG.Jr},_d:function(){return eO},As:function(){return eN},Wf:function(){return eS},Kt:function(){return tE},fZ:function(){return J},tM:function(){return eW},xA:function(){return e7},RX:function(){return e$},Q5:function(){return eg},mB:function(){return ew},Vm:function(){return Y},B3:function(){return tT},bf:function(){return eb},xv:function(){return et},lz:function(){return eF},Vw:function(){return D},_Y:function(){return em},Gn:function(){return e9},U2:function(){return eD},sW:function(){return C},DM:function(){return eo},v6:function(){return el},N6:function(){return ea},bC:function(){return en},YU:function(){return eE},VC:function(){return eR},qn:function(){return w},vD:function(){return U},b_:function(){return P},J5:function(){return v},mR:function(){return y},KS:function(){return b},zE:function(){return ei},Al:function(){return ec},YP:function(){return es},uf:function(){return er},l_:function(){return eu},GU:function(){return e6},pm:function(){return e4},b1:function(){return eL},WA:function(){return e2},UO:function(){return eQ},Y2:function(){return e0},Pg:function(){return eJ},mW:function(){return eM},ks:function(){return eI},iH:function(){return B},ey:function(){return eK},YK:function(){return tu},vA:function(){return ee},kU:function(){return Q},Ty:function(){return eG.Ty},KL:function(){return j},Hx:function(){return Z},gD:function(){return eC},Fq:function(){return ev},KT:function(){return eB},p$:function(){return eX},w_:function(){return tf},ao:function(){return ep},Yp:function(){return eU},Fu:function(){return e8},Xx:function(){return tn},h:function(){return tr},L$:function(){return to},iG:function(){return X}});var r,o=n(62418),i=n(25519),a=n(87066);let{Axios:s,AxiosError:l,CanceledError:c,isCancel:E,CancelToken:u,VERSION:T,all:d,Cancel:f,isAxiosError:R,spread:A,toFormData:S,AxiosHeaders:O,HttpStatusCode:p,formToJSON:h,getAdapter:N,mergeConfig:I}=a.default;var m=n(26855);let _=(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;m.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 m.ZP.error({message:"Request error",description:t}),[e,null,null,null]}),C=e=>tp("/api/v1/chat/dialogue/new?chat_mode=".concat(e.chat_mode,"&model_name=").concat(e.model),e),g=()=>tO("/api/v1/chat/db/list"),L=()=>tO("/api/v1/chat/db/support/type"),v=e=>tp("/api/v1/chat/db/delete?db_name=".concat(e)),y=e=>tp("/api/v1/chat/db/edit",e),P=e=>tp("/api/v1/chat/db/add",e),b=e=>tp("/api/v1/chat/db/test/connect",e),M=()=>tO("/api/v1/chat/dialogue/list"),D=()=>tO("/api/v1/model/types"),U=e=>tp("/api/v1/chat/mode/params/list?chat_mode=".concat(e)),x=e=>tO("/api/v1/chat/dialogue/messages/history?con_uid=".concat(e)),w=e=>{let{convUid:t,chatMode:n,data:r,config:o,model:i,userName:a,sysCode:s}=e;return tp("/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})},G=e=>tp("/api/v1/chat/dialogue/clear?con_uid=".concat(e)),F=e=>tp("/api/v1/chat/dialogue/delete?con_uid=".concat(e)),H=e=>tp("/knowledge/".concat(e,"/arguments"),{}),B=(e,t)=>tp("/knowledge/".concat(e,"/argument/save"),t),Y=e=>tp("/knowledge/space/list",e),k=(e,t)=>tp("/knowledge/".concat(e,"/document/list"),t),V=(e,t)=>tp("/knowledge/".concat(e,"/document/add"),t),$=e=>tp("/knowledge/space/add",e),W=()=>tO("/knowledge/document/chunkstrategies"),Z=(e,t)=>tp("/knowledge/".concat(e,"/document/sync"),t),j=(e,t)=>tp("/knowledge/".concat(e,"/document/sync_batch"),t),X=(e,t)=>tp("/knowledge/".concat(e,"/document/upload"),t),K=(e,t)=>tp("/knowledge/".concat(e,"/chunk/list"),t),z=(e,t)=>tp("/knowledge/".concat(e,"/document/delete"),t),q=e=>tp("/knowledge/space/delete",e),J=()=>tO("/api/v1/worker/model/list"),Q=e=>tp("/api/v1/worker/model/stop",e),ee=e=>tp("/api/v1/worker/model/start",e),et=()=>tO("/api/v1/worker/model/params"),en=e=>tp("/api/v1/agent/query",e),er=e=>tp("/api/v1/serve/dbgpts/hub/query_page?page=".concat(null==e?void 0:e.page_index,"&page_size=").concat(null==e?void 0:e.page_size),e),eo=e=>tp("/api/v1/agent/hub/update",null!=e?e:{channel:"",url:"",branch:"",authorization:""}),ei=e=>tp("/api/v1/serve/dbgpts/hub/source/refresh",null!=e?e:{channel:"",url:"",branch:"",authorization:""}),ea=e=>tp("/api/v1/agent/my",void 0,{params:{user:e}}),es=e=>tp("/api/v1/serve/dbgpts/my/query_page?page=".concat(null==e?void 0:e.page_index,"&page_size=").concat(null==e?void 0:e.page_size),e),el=(e,t)=>tp("/api/v1/agent/install",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),ec=(e,t)=>tp("/api/v1/serve/dbgpts/hub/install",e,{params:{user:t},timeout:6e4}),eE=(e,t)=>tp("/api/v1/agent/uninstall",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),eu=(e,t)=>tp("/api/v1/serve/dbgpts/my/uninstall",void 0,{params:{...e,user:t},timeout:6e4}),eT=()=>tO("/api/v1/dbgpts/list"),ed=()=>tO("/api/v1/feedback/select",void 0),ef=(e,t)=>tO("/api/v1/feedback/find?conv_uid=".concat(e,"&conv_index=").concat(t),void 0),eR=e=>{let{data:t,config:n}=e;return tp("/api/v1/feedback/commit",t,{headers:{"Content-Type":"application/json"},...n})},eA=e=>tp("/api/v2/serve/awel/flows",e),eS=e=>{let{page:t,page_size:n}=e;return tO("/api/v2/serve/awel/flows?page=".concat(t||1,"&page_size=").concat(n||12))},eO=e=>tO("/api/v2/serve/awel/flows/".concat(e)),ep=(e,t)=>th("/api/v2/serve/awel/flows/".concat(e),t),eh=e=>tN("/api/v2/serve/awel/flows/".concat(e)),eN=()=>tO("/api/v2/serve/awel/nodes"),eI=e=>tp("/api/v2/serve/awel/nodes/refresh",e),em=e=>tp("/api/v2/serve/awel/flow/import",e),e_=e=>tp("/api/v1/app/collect",e),eC=e=>tp("/api/v1/app/uncollect",e),eg=()=>tO("/api/v1/resource-type/list"),eL=e=>tp("/api/v1/app/publish",{app_code:e}),ev=e=>tp("/api/v1/app/unpublish",{app_code:e}),ey=e=>tp("/api/v1/chat/db/add",e),eP=e=>tO("/api/v1/app/info",e),eb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return tO("/api/v1/permission/db/list?db_name=".concat(e))},eM=e=>tp("/api/v1/app/hot/list",e),eD=e=>tp("/api/controller/models",e),eU=e=>tp("/knowledge/users/update",e),ex=e=>tp("/api/v1/app/remove",e),ew=()=>tO("/knowledge/space/config");var eG=n(89546);let eF=()=>tO("/api/v1/team-mode/list"),eH=e=>tp("/api/v1/app/create",e),eB=e=>tp("/api/v1/app/edit",e),eY=e=>tp("/api/v1/app/list?page=".concat(e.page||1,"&page_size=").concat(e.page_size||12),e),ek=()=>tO("/api/v1/agents/list",{}),eV=()=>tO("/api/v1/llm-strategy/list"),e$=e=>tO("/api/v1/app/resources/list?type=".concat(e.type)),eW=()=>tO("/api/v1/native_scenes"),eZ=e=>tO("/api/v1/llm-strategy/value/list?type=".concat(e)),ej=e=>tO("/api/v1/app/".concat(e,"/admins")),eX=e=>tp("/api/v1/app/admins/update",e),eK=(e,t)=>tp("/knowledge/".concat(e,"/document/list"),t),ez=e=>tp("/knowledge/".concat(e.space_name,"/document/yuque/add"),e),eq=(e,t)=>tp("/knowledge/".concat(e,"/document/edit"),t),eJ=e=>tO("/knowledge/".concat(e,"/recommend_questions")),eQ=e=>tO("/knowledge/".concat(e,"/recall_retrievers")),e0=(e,t)=>tp("/knowledge/".concat(t,"/recall_test"),e),e1=e=>tp("/knowledge/questions/chunk/edit",e),e2=e=>[],e4=e=>tO("/prompt/type/targets?prompt_type=".concat(e)),e6=e=>tp("/prompt/template/load?prompt_type=".concat(e.prompt_type,"&target=").concat(e.target),e),e3=e=>tp("/prompt/add",e),e8=e=>tp("/prompt/update",e),e5=e=>tp("/prompt/delete",e),e7=e=>tp("/prompt/query_page?page=".concat(e.page,"&page_size=").concat(e.page_size),e),e9=e=>tp("/prompt/response/verify",e),te=(0,o.n5)(),tt=e=>tO("/api/v1/evaluate/datasets",e,{headers:{"user-id":te}}),tn=e=>tp("/api/v1/evaluate/dataset/upload",e,{headers:{"user-id":te,"Content-Type":"multipart/form-data"}}),tr=e=>tp("/api/v1/evaluate/dataset/upload/content",e,{headers:{"user-id":te}}),to=e=>tp("/api/v1/evaluate/dataset/upload/file",e,{headers:{"user-id":te,"Content-Type":"multipart/form-data"}}),ti=e=>tN("/api/v1/evaluate/dataset",e,{headers:{"user-id":te}}),ta=e=>tO("/api/v1/evaluate/dataset/download",e,{headers:{"user-id":te,"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"blob"}),ts=e=>tO("/api/v1/evaluate/evaluation/result/download",e,{headers:{"user-id":te,"Content-Type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},responseType:"blob"}),tl=e=>tN("/api/v1/evaluate/evaluation",e,{headers:{"user-id":te}}),tc=e=>tO("/api/v1/evaluate/evaluations",e,{headers:{"user-id":te}}),tE=e=>tO("/api/v1/evaluate/metrics",e,{headers:{"user-id":te}}),tu=e=>tO("/api/v1/evaluate/evaluation/detail/show",e,{headers:{"user-id":te}}),tT=()=>tO("/api/v1/evaluate/storage/types",void 0,{headers:{"user-id":te}}),td=e=>tp("/api/v1/evaluate/start",e,{headers:{"user-id":te}}),tf=e=>tp("/api/v1/evaluate/dataset/members/update",e,{headers:{"user-id":te}});var tR=n(83454);let tA=a.default.create({baseURL:null!==(r=tR.env.API_BASE_URL)&&void 0!==r?r:""}),tS=["/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"];tA.interceptors.request.use(e=>{let t=tS.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 tO=(e,t,n)=>tA.get(e,{params:t,...n}),tp=(e,t,n)=>tA.post(e,t,n),th=(e,t,n)=>tA.put(e,t,n),tN=(e,t,n)=>tA.delete(e,{params:t,...n})},1051:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);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(67294)},82353:function(e,t,n){"use strict";n.d(t,{O7:function(){return E},RD:function(){return a},In:function(){return o},zM:function(){return i},je:function(){return s},DL:function(){return l},si:function(){return c},FD:function(){return u},qw:function(){return p},s2:function(){return R},FE:function(){return h.Z},Rp:function(){return A},IN:function(){return T},tu:function(){return S},ig:function(){return d},ol:function(){return f},bn:function(){return O}});var r=n(85893),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"})]})},c=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"})})},E=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"})})},f=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 R(){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(67294);var h=n(1051)},32665: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(38754),n(67294),("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)},41219: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 f},usePathname:function(){return R},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 c.redirect},notFound:function(){return E.notFound}});let r=n(67294),o=n(27473),i=n(35802),a=n(32665),s=n(43512),l=n(98751),c=n(96885),E=n(86323),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 f(){(0,a.clientHookInServerComponentError)("useSearchParams");let e=(0,r.useContext)(i.SearchParamsContext),t=(0,r.useMemo)(()=>e?new d(e):null,[e]);return t}function R(){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],c=(0,s.getSegmentValue)(l);return!c||c.startsWith("__PAGE__")?o:(o.push(c),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)},86323: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)},96885: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 c},getURLFromRedirectError:function(){return E},getRedirectTypeFromError:function(){return u}});let i=n(68214),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 c(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 E(e){return c(e)?e.digest.split(";",3)[2]:null}function u(e){if(!c(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)},43512: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)},29382: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 c},ACTION_SERVER_ACTION:function(){return E}});let o="refresh",i="navigate",a="restore",s="server-patch",l="prefetch",c="fast-refresh",E="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)},75476: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)},69873: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(38754),o=n(61757),i=o._(n(67294)),a=r._(n(68965)),s=n(38083),l=n(2478),c=n(76226);n(59941);let E=r._(n(31720)),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 f(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 R(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:c,isLazy:E,fetchPriority:u,fill:T,placeholder:d,loading:A,srcString:S,config:O,unoptimized:p,loader:h,onLoadRef:N,onLoadingCompleteRef:I,setBlurComplete:m,setShowAltText:_,onLoad:C,onError:g,...L}=e;return A=E?"lazy":A,i.default.createElement("img",{...L,...R(u),loading:A,width:o,height:r,decoding:"async","data-nimg":T?"fill":"1",className:s,style:{...l,...c},...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&&f(e,S,d,N,I,m,p))},[S,d,N,I,m,g,p,t]),onLoad:e=>{let t=e.currentTarget;f(t,S,d,N,I,m,p)},onError:e=>{_(!0),"blur"===d&&m(!0),g&&g(e)}})}),S=(0,i.forwardRef)((e,t)=>{var n;let r,o,{src:f,sizes:S,unoptimized:O=!1,priority:p=!1,loading:h,className:N,quality:I,width:m,height:_,fill:C,style:g,onLoad:L,onLoadingComplete:v,placeholder:y="empty",blurDataURL:P,fetchPriority:b,layout:M,objectFit:D,objectPosition:U,lazyBoundary:x,lazyRoot:w,...G}=e,F=(0,i.useContext)(c.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||E.default;delete G.loader;let Y="__next_img_default"in B;if(Y){if("custom"===H.loader)throw Error('Image with src "'+f+'" 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(M){"fill"===M&&(C=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[M];e&&(g={...g,...e});let t={responsive:"100vw",fill:"100vw"}[M];t&&!S&&(S=t)}let k="",V=d(m),$=d(_);if("object"==typeof(n=f)&&(T(n)||void 0!==n.src)){let e=T(f)?f.default:f;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"===h||void 0===h);(!(f="string"==typeof f?f:k)||f.startsWith("data:")||f.startsWith("blob:"))&&(O=!0,W=!1),H.unoptimized&&(O=!0),Y&&f.endsWith(".svg")&&!H.dangerouslyAllowSVG&&(O=!0),p&&(b="high");let[Z,j]=(0,i.useState)(!1),[X,K]=(0,i.useState)(!1),z=d(I),q=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),J="blur"===y&&P&&!Z?{backgroundSize:q.objectFit||"cover",backgroundPosition:q.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:q.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:c}=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),E=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:i,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:t,src:n,quality:i,width:l[E]})}}({config:H,src:f,unoptimized:O,width:V,quality:z,sizes:S,loader:B}),ee=f,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:N,imgStyle:q,blurStyle:J,loading:h,config:H,fetchPriority:b,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,...R(b)})):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)},9940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let r=n(38754),o=r._(n(67294)),i=n(65722),a=n(65723),s=n(28904),l=n(95514),c=n(27521),E=n(44293),u=n(27473),T=n(81307),d=n(75476),f=n(66318),R=n(29382),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:h=null,passHref:N,replace:I,shallow:m,scroll:_,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 b=!1!==h,M=null===h?R.PrefetchKind.AUTO:R.PrefetchKind.FULL,D=o.default.useContext(E.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&&b&&S(x,G,F,{locale:C},{kind:M},w)},[F,G,V,C,b,null==D?void 0:D.locale,x,w,M]);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,c,E,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)||!E&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let f=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:s,locale:c,scroll:l}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!u})};E?o.default.startTransition(f):f()}(e,x,G,F,I,m,_,C,w,b)},onMouseEnter(e){y||"function"!=typeof L||L(e),y&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),x&&(b||!w)&&S(x,G,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:M},w)},onTouchStart(e){y||"function"!=typeof v||v(e),y&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),x&&(b||!w)&&S(x,G,F,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:M},w)}};if((0,l.isAbsoluteUrl)(F))Z.href=F;else if(!y||N||"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,f.addBasePath)((0,c.addLocale)(F,e,null==D?void 0:D.defaultLocale))}return y?o.default.cloneElement(r,Z):o.default.createElement("a",{...P,...Z},n)}),h=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)},81307: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(67294),o=n(82997),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,c=l||!i,[E,u]=(0,r.useState)(!1),T=(0,r.useRef)(null),d=(0,r.useCallback)(e=>{T.current=e},[]);(0,r.useEffect)(()=>{if(i){if(c||E)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(!E){let e=(0,o.requestIdleCallback)(()=>u(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,n,t,E,T.current]);let f=(0,r.useCallback)(()=>{u(!1)},[]);return[d,E,f]}("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)},38083: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,c=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"+c+"%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}})},31720: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},98751: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(61757),o=r._(n(67294)),i=o.default.createContext(null);function a(e){let t=(0,o.useContext)(i);t&&t(e)}},26466:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ef}});var r=n(85893),o=n(41468),i=n(25519),a=n(7134),s=n(67294),l=n(67421),c=n(93967),E=n.n(c);n(83454);var u=function(e){let{onlyAvatar:t=!1}=e,{t:n}=(0,l.$G)(),[o,c]=(0,s.useState)();return(0,s.useEffect)(()=>{try{var e;let t=JSON.parse(null!==(e=localStorage.getItem(i.C9))&&void 0!==e?e:"");c(t)}catch(e){return}},[]),(0,r.jsx)("div",{className:"flex flex-1 items-center justify-center",children:(0,r.jsx)("div",{className:E()("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:E()("text-sm",{hidden:t}),children:null==o?void 0:o.nick_name})]})})})},T=n(76212),d=n(82353),f=n(41156),R=n(9641),A=n(16165),S=n(9020),O=n(92962),p=n(50067),h=n(38545),N=n(10524),I=n(84477),m=n(19944),_=n(85576),C=n(45360),g=n(83062),L=n(55241),v=n(20640),y=n.n(v),P=n(30381),b=n.n(P);n(83839);var M=n(25675),D=n.n(M),U=n(41664),x=n.n(U),w=n(11163),G=function(){let{chatId:e,scene:t,isMenuExpand:n,refreshDialogList:a,setIsMenuExpand:c,setAgent:v,mode:P,setMode:M,adminList:U}=(0,s.useContext)(o.p),{pathname:G,replace:F}=(0,w.useRouter)(),{t:H,i18n:B}=(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 U.some(t=>t.user_id===e)},[U]),$=(0,s.useMemo)(()=>{let e=[{key:"app",name:H("App"),path:"/app",icon:(0,r.jsx)(f.Z,{})},{key:"flow",name:H("awel_flow"),icon:(0,r.jsx)(R.Z,{}),path:"/flow"},{key:"models",name:H("model_manage"),path:"/models",icon:(0,r.jsx)(A.Z,{component:d.IN})},{key:"database",name:H("Database"),icon:(0,r.jsx)(S.Z,{}),path:"/database"},{key:"knowledge",name:H("Knowledge_Space"),icon:(0,r.jsx)(O.Z,{}),path:"/knowledge"},{key:"agent",name:H("Plugins"),path:"/agent",icon:(0,r.jsx)(p.Z,{})},{key:"prompt",name:H("Prompt"),icon:(0,r.jsx)(h.Z,{}),path:"/prompt"}];return e},[H]),W=(0,s.useCallback)(()=>{c(!n)},[n,c]),Z=(0,s.useCallback)(()=>{let e="light"===P?"dark":"light";M(e),localStorage.setItem(i.he,e)},[P,M]),j=(0,s.useCallback)(()=>{let e="en"===B.language?"zh":"en";B.changeLanguage(e),"zh"===e&&b().locale("zh-cn"),"en"===e&&b().locale("en"),localStorage.setItem(i.Yl,e)},[B]),X=(0,s.useMemo)(()=>{let e=[{key:"theme",name:H("Theme"),icon:"dark"===P?(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)(D(),{src:"/pictures/theme_light.png",alt:"english",width:38,height:32}),(0,r.jsx)("span",{children:"Light"})]}),(0,r.jsx)("span",{className:E()({block:"light"===P,hidden:"light"!==P}),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)(D(),{src:"/pictures/theme_dark.png",alt:"english",width:38,height:32}),(0,r.jsx)("span",{children:"Dark"})]}),(0,r.jsx)("span",{className:E()({block:"dark"===P,hidden:"dark"!==P}),children:"✓"})]})}],onClick:Z,onSelect:e=>{let{key:t}=e;P!==t&&(M(t),localStorage.setItem(i.he,t))},defaultSelectedKeys:[P],placement:"topLeft"},{key:"language",name:H("language"),icon:(0,r.jsx)(N.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)(D(),{src:"/icons/english.png",alt:"english",width:21,height:21}),(0,r.jsx)("span",{children:"English"})]}),(0,r.jsx)("span",{className:E()({block:"en"===B.language,hidden:"en"!==B.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)(D(),{src:"/icons/zh.png",alt:"english",width:21,height:21}),(0,r.jsx)("span",{children:"简体中文"})]}),(0,r.jsx)("span",{className:E()({block:"zh"===B.language,hidden:"zh"!==B.language}),children:"✓"})]})}],onSelect:e=>{let{key:t}=e;B.language!==t&&(B.changeLanguage(t),"zh"===t&&b().locale("zh-cn"),"en"===t&&b().locale("en"),localStorage.setItem(i.Yl,t))},onClick:j,defaultSelectedKeys:[B.language]},{key:"fold",name:H(n?"Close_Sidebar":"Show_Sidebar"),icon:n?(0,r.jsx)(I.Z,{}):(0,r.jsx)(m.Z,{}),onClick:W,noDropdownItem:!0}];return e},[H,P,Z,B,j,n,W,M]),K=(0,s.useMemo)(()=>{let e=[{key:"chat",name:H("chat_online"),icon:(0,r.jsx)(D(),{src:"/chat"===G?"/pictures/chat_active.png":"/pictures/chat.png",alt:"chat_image",width:40,height:40},"image_chat"),path:"/chat",isActive:G.startsWith("/chat")},{key:"explore",name:H("explore"),isActive:"/"===G,icon:(0,r.jsx)(D(),{src:"/"===G?"/pictures/explore_active.png":"/pictures/explore.png",alt:"construct_image",width:40,height:40},"image_explore"),path:"/"},{key:"construct",name:H("construct"),isActive:G.startsWith("/construct"),icon:(0,r.jsx)(D(),{src:G.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)(D(),{src:G.startsWith("/evaluation")?"/pictures/app_active.png":"/pictures/app.png",alt:"construct_image",width:40,height:40},"image_construct"),path:"/evaluation",isActive:"/evaluation"===G}),e},[H,G,V]);return((0,s.useMemo)(()=>$.map(e=>({key:e.key,label:(0,r.jsxs)(x(),{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)(x(),{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=>{_.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}C.ZP.success("success"),a(),n.chat_mode===t&&n.conv_uid===e&&F("/"),r()}catch(e){o()}})})},[e,a,F,t]),(0,s.useCallback)(e=>{let t=y()("".concat(location.origin,"/chat?scene=").concat(e.chat_mode,"&id=").concat(e.conv_uid));C.ZP[t?"success":"error"](t?"Copy success":"Copy failed")},[]),(0,s.useEffect)(()=>{let e=B.language;"zh"===e&&b().locale("zh-cn"),"en"===e&&b().locale("en")},[]),(0,s.useEffect)(()=>{k("dark"===P?"/logo_s_latest.png":"/logo_zh_latest.png")},[P]),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)(x(),{href:"/",className:"flex items-center justify-center p-2 pb-4",children:(0,r.jsx)(D(),{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)(x(),{href:e.path,className:E()("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:H(e.name)})]},e.key))})]}),(0,r.jsxs)("div",{className:"pt-4",children:[(0,r.jsx)("span",{className:E()("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)(L.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)(x(),{href:"/",className:"flex justify-center items-center pb-4",children:(0,r.jsx)(D(),{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)(x(),{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)(g.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))]})]})},F=n(47648),H=n(67164),B=n(2790),Y=n(1393),k=n(25976),V=n(33083),$=n(372),W=n(69594),Z=n(65409),j=n(57),X=n(10274);let K=(e,t)=>new X.C(e).setAlpha(t).toRgbString(),z=(e,t)=>{let n=new X.C(e);return n.lighten(t).toHexString()},q=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]}},J=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:K(r,.85),colorTextSecondary:K(r,.65),colorTextTertiary:K(r,.45),colorTextQuaternary:K(r,.25),colorFill:K(r,.18),colorFillSecondary:K(r,.12),colorFillTertiary:K(r,.08),colorFillQuaternary:K(r,.04),colorBgElevated:z(n,12),colorBgContainer:z(n,8),colorBgLayout:z(n,0),colorBgSpotlight:z(n,26),colorBgBlur:K(r,.04),colorBorder:z(n,26),colorBorderSecondary:z(n,19)}};var Q={defaultConfig:V.u_,defaultSeed:V.u_.token,useToken:function(){let[e,t,n]=(0,k.ZP)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:H.Z,darkAlgorithm:(e,t)=>{let n=Object.keys(B.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,H.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,j.Z)(e,{generateColorPalettes:q,generateNeutralColorPalettes:J}))},compactAlgorithm:(e,t)=>{let n=null!=t?t:(0,H.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,W.Z)(r)),{controlHeight:o}),(0,$.Z)(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{let t=(null==e?void 0:e.algorithm)?(0,F.jG)(e.algorithm):(0,F.jG)(H.Z),n=Object.assign(Object.assign({},B.Z),null==e?void 0:e.token);return(0,F.t2)(n,{override:null==e?void 0:e.token},t,Y.Z)}},ee=n(28459),et=n(31418),en=n(18253),er=n(82925),eo=n(93045),ei=n(14079),ea=n(37364),es=()=>(0,r.jsx)(ea.Z.Group,{trigger:"hover",icon:(0,r.jsx)(eo.Z,{}),children:(0,r.jsx)(ea.Z,{icon:(0,r.jsx)(ei.Z,{}),href:"http://docs.dbgpt.cn",target:"_blank",tooltip:"Doucuments"})});n(64371),n(90833),n(80864);var el=n(9008),ec=n.n(el),eE=n(83454);let eu=(e,t)=>({...Q.darkAlgorithm(e,t),colorBgBase:"#232734",colorBorder:"#828282",colorBgContainer:"#232734"});function eT(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)(()=>{var e;null===(e=a.changeLanguage)||void 0===e||e.call(a,window.localStorage.getItem(i.Yl)||"zh")},[a]),(0,r.jsx)("div",{children:t})}function ed(e){let{children:t}=e,{isMenuExpand:n,mode:a}=(0,s.useContext)(o.p),{i18n:c}=(0,l.$G)(),[u,T]=(0,s.useState)(!1),d=(0,w.useRouter)(),f=async()=>{T(!1),eE.env.GET_USER_URL,eE.env.LOGIN_URL;var e={user_channel:"dbgpt",user_no:"001",nick_name:"dbgpt"};e&&(localStorage.setItem(i.C9,JSON.stringify(e)),localStorage.setItem(i.Sc,Date.now().toString()),T(!0))};return((0,s.useEffect)(()=>{f()},[]),u)?(0,r.jsx)(ee.ZP,{locale:"en"===c.language?en.Z:er.Z,theme:{token:{colorPrimary:"#0C75FC",borderRadius:4},algorithm:"dark"===a?eu:void 0},children:(0,r.jsx)(et.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)(ec(),{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:E()("transition-[width]",n?"w-60":"w-20","hidden","md:block"),children:(0,r.jsx)(G,{})}),(0,r.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t}),(0,r.jsx)(es,{})]})})}):null}var ef=function(e){let{Component:t,pageProps:n}=e;return(0,r.jsx)(o.R,{children:(0,r.jsx)(eT,{children:(0,r.jsx)(ed,{children:(0,r.jsx)(t,{...n})})})})}},19284: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."}}},25519:function(e,t,n){"use strict";var r,o;n.d(t,{gp:function(){return E},rU:function(){return s},Yl:function(){return a},he:function(){return i},C9:function(){return l},Sc:function(){return c}});let i="__db_gpt_theme_key",a="__db_gpt_lng_key",s="__db_gpt_im_key",l="__db_gpt_uinfo_key",c="__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 E="user-id"},62418:function(e,t,n){"use strict";let r,o,i;n.d(t,{zN:function(){return rr},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,c={};n.r(c),n.d(c,{bigquery:function(){return F},db2:function(){return X},hive:function(){return er},mariadb:function(){return eT},mysql:function(){return eN},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 th},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 E=e=>({type:r.EOF,raw:"\xabEOF\xbb",text:"\xabEOF\xbb",start:e}),u=E(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})},f=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,R=e=>e===r.AND||e===r.OR||e===r.XOR,A=e=>e.flatMap(S),S=e=>I(N(e)).map(e=>e.trim()),O=/[^[\]{}]+/y,p=/\{.*?\}/y,h=/\[.*?\]/y,N=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},I=([e,...t])=>void 0===e?[""]:I(t).flatMap(t=>e.map(e=>e.trim()+" "+t.trim())),m=e=>[...new Set(e)],_=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=>m(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"]}),b=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"]}),M=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:M,reservedClauses:[...D,...U],reservedSetOperations:x,reservedJoins:w,reservedPhrases:G,reservedKeywords:P,reservedFunctionNames:b,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"]}),q=A(["SELECT [ALL | DISTINCT]"]),J=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:q,reservedClauses:[...J,...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"]),ec=A(["UNION [ALL | DISTINCT]","EXCEPT [ALL | DISTINCT]","INTERSECT [ALL | DISTINCT]","MINUS [ALL | DISTINCT]"]),eE=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:ec,reservedJoins:eE,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"]}),ef=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"]}),eR=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"]),eh=A(["ON {UPDATE | DELETE} [SET NULL]","CHARACTER SET","{ROWS | RANGE} BETWEEN"]),eN={tokenizerOptions:{reservedSelect:eR,reservedClauses:[...eA,...eS],reservedSetOperations:eO,reservedJoins:ep,reservedPhrases:eh,supportsXor:!0,reservedKeywords:ed,reservedFunctionNames:ef,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}},eI=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"]}),em=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"]}),e_=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:e_,reservedClauses:[...eC,...eg],reservedSetOperations:eL,reservedJoins:ev,reservedPhrases:ey,supportsXor:!0,reservedKeywords:em,reservedFunctionNames:eI,stringTypes:['""-bs',"''-bs"],identTypes:["``"],extraParens:["[]","{}"],paramTypes:{positional:!0,numbered:["$"],named:["$"]},lineCommentTypes:["#","--"],operators:["%","==",":","||"]},formatOptions:{onelineClauses:eg}},eb=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"]}),eM=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:eb,reservedFunctionNames:eM,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}:(f(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"]}),eq=A(["SELECT [ALL | DISTINCT]"]),eJ=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:eq,reservedClauses:[...eJ,...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"]),tc=A(["JOIN","{LEFT | RIGHT | FULL} [OUTER] JOIN","{INNER | CROSS} JOIN","NATURAL [INNER] JOIN","NATURAL {LEFT | RIGHT | FULL} [OUTER] JOIN"]),tE=A(["ON {UPDATE | DELETE} [SET NULL | SET DEFAULT]","{ROWS | RANGE | GROUPS} BETWEEN"]),tu={tokenizerOptions:{reservedSelect:ti,reservedClauses:[...ta,...ts],reservedSetOperations:tl,reservedJoins:tc,reservedPhrases:tE,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"]}),tf=A(["SELECT [ALL | DISTINCT]"]),tR=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"]),th={tokenizerOptions:{reservedSelect:tf,reservedClauses:[...tR,...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}},tN=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"]}),tI=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"]}),tm=A(["SELECT [ALL | DISTINCT]"]),t_=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:tm,reservedClauses:[...t_,...tC],reservedSetOperations:tg,reservedJoins:tL,reservedPhrases:tv,reservedKeywords:tI,reservedFunctionNames:tN,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"]}),tb=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"]}),tM=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:tM,reservedClauses:[...tD,...tU],reservedSetOperations:tx,reservedJoins:tw,reservedPhrases:tG,reservedKeywords:tb,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]"]),tq=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"]),tJ=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:[...tq,...tJ],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:tJ}},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("|"),nc=e=>t3(nl(e)),nE=(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(nf,e))n+=t,r++;else if(t=this.matchSection(nA,e))n+=t,r--;else{if(!(t=this.matchSection(nR,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:nc(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:nc(e.stringTypes)},{type:r.IDENTIFIER,regex:nE(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()),nh=new Map,nN=e=>{let t=nh.get(e);return t||(t=nI(e),nh.set(e,t)),t},nI=e=>({tokenizer:new nO(e.tokenizerOptions),formatOptions:nm(e.formatOptions)}),nm=e=>({alwaysDenseOperators:e.alwaysDenseOperators||[],onelineClauses:Object.fromEntries(e.onelineClauses.map(e=>[e,!0]))});function n_(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(69654);let nv=(e,t,n)=>{if(f(e.type)){let o=nM(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},nb=(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},nM=(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(_(this.items));)this.items.pop()}trimWhitespace(){for(;nK(_(this.items));)this.items.pop()}addNewline(e){if(this.items.length>0)switch(_(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 nq{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&&_(this.indentTypes)===nz&&this.indentTypes.pop()}decreaseBlockLevel(){for(;this.indentTypes.length>0;){let e=this.indentTypes.pop();if(e!==nz)break}}}class nJ extends nj{length=0;trailingSpace=!1;constructor(e){super(new nq("")),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(_(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 nJ(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 R(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(nb),E(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 nq(n_(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=n_(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:c[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(nN(t),r).format(e)};var n7=n(25519);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(19284);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}}},90833:function(){},80864:function(){},77663: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=[],c=!1,E=-1;function u(){c&&r&&(c=!1,r.length?l=r.concat(l):E=-1,l.length&&T())}function T(){if(!c){var e=s(u);c=!0;for(var t=l.length;t;){for(r=l,l=[];++E1)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,c=null,E="number"==typeof t,u="string"==typeof t,T=Array.isArray(t);if(E?c="number":u?c="string":T&&(c="array"),!c)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[c].len,e.fullField,e.len)):a&&!s&&le.max?r.push(x(o.messages[c].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(x(o.messages[c].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,c.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,c.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,E.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,c=0,u=[],T=new Promise(function(t,i){var T=function(e){if(u.push.apply(u,e),++c===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,E.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,c.Z)((0,c.Z)({},t),{},{fullField:"".concat(l.fullField,".").concat(e),fullFields:l.fullFields?[].concat((0,E.Z)(l.fullFields),[e]):[e]})}function f(){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 f={};l.defaultField&&Object.keys(t.value).map(function(e){f[e]=l.defaultField});var R={};Object.keys(f=(0,c.Z)((0,c.Z)({},f),t.rule.fields)).forEach(function(e){var t=f[e],n=Array.isArray(t)?t:[t];R[e]=n.map(d.bind(null,e))});var A=new e(R);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,E.Z)(s)),e&&e.length&&t.push.apply(t,(0,E.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,f,t.source,a);else if(l.validator){try{r=l.validator(l,t.value,f,t.source,a)}catch(e){null===(o=(s=console).error)||void 0===o||o.call(s,e),a.suppressValidatorError||setTimeout(function(){throw e},0),f(e.message)}!0===r?f():!1===r?f("function"==typeof l.message?l.message(l.fullField||l.field):l.message||"".concat(l.fullField||l.field," fails")):r instanceof Array?f(r):r instanceof Error&&f(r.message)}r&&r.then&&r.then(function(){return f()},function(e){return f(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 ec(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 eE(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,E.Z)(e.slice(0,n)),[o],(0,E.Z)(e.slice(n,t)),(0,E.Z)(e.slice(t+1,r))):i<0?[].concat((0,E.Z)(e.slice(0,t)),(0,E.Z)(e.slice(t+1,n+1)),[o],(0,E.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 ef=function(e){(0,f.Z)(n,e);var t=(0,R.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,E.Z)(o),(0,E.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,c.Z)((0,c.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,c=n.store,E=r.getNamePath(),u=r.getValue(e),T=r.getValue(c),d=t&&es(t,E);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,c,u,T,n)){r.reRender();return}break;case"setField":var f=n.data;if(d){"touched"in f&&(r.touched=f.touched),"validating"in f&&!("originRCField"in f)&&(r.validatePromise=f.validating?Promise.resolve([]):null),"errors"in f&&(r.errors=f.errors||eT),"warnings"in f&&(r.warnings=f.warnings||eT),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in f&&es(t,E,!0)||i&&!E.length&&ed(i,e,c,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||E.length||i)&&ed(i,e,c,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,f,R,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,f=a.messageVariables,R=a.validateDebounce,A=r.getRules(),i&&(A=A.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||_(t).includes(i)})),!(R&&i)){o.next=10;break}return o.next=8,new Promise(function(e){setTimeout(e,R)});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,E,u=e.join("."),T=n.map(function(e,t){var n=e.validator,r=(0,c.Z)((0,c.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,E.Z)(i)):n.push.apply(n,(0,E.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(h).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,c.Z)((0,c.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,E=t.getValueProps,u=t.fieldContext,T=void 0!==i?i:u.validateTrigger,d=r.getNamePath(),f=u.getInternalHooks,R=u.getFieldsValue,S=f(h).dispatch,O=r.getValue(),p=E||function(e){return(0,A.Z)({},l,e)},N=e[o],I=void 0!==n?p(O):{},m=(0,c.Z)((0,c.Z)({},e),I);return m[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,E.Z)(T.keys.slice(0,t)),[T.id],(0,E.Z)(T.keys.slice(t))),o([].concat((0,E.Z)(n.slice(0,t)),[e],(0,E.Z)(n.slice(t))))):(T.keys=[].concat((0,E.Z)(T.keys),[T.id]),o([].concat((0,E.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=eE(T.keys,e,t),o(eE(n,e,t)))}}},t)})))},eS=n(97685),eO="__@field_split__";function ep(e){return e.map(function(e){return"".concat((0,C.Z)(e),":").concat(e)}).join(eO)}var eh=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,E.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}(),eN=["name"],eI=(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===h?(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,J.T)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=(0,J.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 eh;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,J.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 eh;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 eh,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,E.Z)((0,E.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,J.Z)(n.store,o,(0,E.Z)(i)[0].value))}}}})}(e)}),(0,A.Z)(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,J.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,J.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,eN),s=ei(o);r.push(s),"value"in i&&n.updateStore((0,J.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,c.Z)((0,c.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,J.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,J.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,c.Z)((0,c.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,E.Z)(r))}),r}),(0,A.Z)(this,"updateValue",function(e,t){var r=ei(e),o=n.store;n.updateStore((0,J.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,E.Z)(i)))}),(0,A.Z)(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,J.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 eh;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 eh;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()),f=new Set,R=s||{},A=R.recursive,S=R.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(f.add(t.join(d)),!l||es(u,t,A)){var r=e.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},q),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,E.Z)(n)):r.push.apply(r,(0,E.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 h=u.filter(function(e){return f.has(e.join(d))});return n.triggerOnFieldsChange(h),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}),em=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 eI(function(){r({})});t.current=i.getForm()}}return[t.current]},e_=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(e_),s=o.useRef({});return o.createElement(e_.Provider,{value:(0,c.Z)((0,c.Z)({},a),{},{validateMessages:(0,c.Z)((0,c.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,c.Z)((0,c.Z)({},s.current),{},(0,A.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.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,J.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,E.Z)(r,2),i=o[0],a=o[1],s=Q(),l=(0,E.Z)(s,2),c=l[0],u=l[1],T=t?et:ee;return q(function(){if(i!==D&&"end"!==i){var e=T.indexOf(i),t=T[e+1],r=n(i);!1===r?a(t,!0):t&&c(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,h=A.useContext(p).motion,N=!!(e.motionName&&a&&!1!==h),I=(0,A.useRef)(),m=(0,A.useRef)(),_=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,f=r.motionLeave,R=void 0===f||f,S=r.motionDeadline,O=r.motionLeaveImmediately,p=r.onAppearPrepare,h=r.onEnterPrepare,N=r.onLeavePrepare,I=r.onAppearStart,m=r.onEnterStart,_=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,E.Z)(V,2),W=$[0],Z=$[1],j=(o=A.useReducer(function(e){return e+1},0),i=(0,E.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,E.Z)(j,2),K=X[0],J=X[1],Q=(0,L.Z)(null),ee=(0,E.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 ec(){J(y),eo(null,!0)}var eE=(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===b&&i?t=null==B?void 0:B(o,e):r===M&&i&&(t=null==Y?void 0:Y(o,e)),i&&!1!==t&&ec()}}}),eu=z(eE),eT=(0,E.Z)(eu,1)[0],ed=function(e){switch(e){case P:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,p),x,I),w,C);case b:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,h),x,m),w,D);case M:return(0,l.Z)((0,l.Z)((0,l.Z)({},U,N),x,_),w,F);default:return{}}},ef=A.useMemo(function(){return ed(ei)},[ei]),eR=er(ei,!e,function(e){if(e===U){var t,r=ef[U];return!!r&&r(n())}return eO in ef&&eo((null===(t=ef[eO])||void 0===t?void 0:t.call(ef,n(),null))||null),eO===w&&ei!==y&&(eT(n()),S>0&&(clearTimeout(es.current),es.current=setTimeout(function(){eE({deadline:!0})},S))),eO===G&&ec(),!0}),eA=(0,E.Z)(eR,2),eS=eA[0],eO=eA[1],ep=en(eO);el.current=ep,q(function(){Z(t);var n,r=ea.current;ea.current=!0,!r&&t&&d&&(n=P),r&&t&&u&&(n=b),(r&&!t&&R||!r&&O&&!t&&R)&&(n=M);var o=ed(n);n&&(e||o[U])?(J(n),eS()):J(y)},[t]),(0,A.useEffect)(function(){(ei!==P||d)&&(ei!==b||u)&&(ei!==M||R)||J(y)},[d,u,R]),(0,A.useEffect)(function(){return function(){ea.current=!1,clearTimeout(es.current)}},[]);var eh=A.useRef(!1);(0,A.useEffect)(function(){W&&(eh.current=!0),void 0!==W&&ei===y&&((eh.current||W)&&(null==k||k(W)),eh.current=!0)},[W,ei]);var eN=et;return ef[U]&&eO===x&&(eN=(0,c.Z)({transition:"none"},eN)),[ei,eO,eN,null!=W?W:t]}(N,r,function(){try{return I.current instanceof HTMLElement?I.current:(0,f.ZP)(m.current)}catch(e){return null}},e),D=(0,E.Z)(_,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){I.current=e,(0,R.mH)(t,e)},[t]),$=(0,c.Z)((0,c.Z)({},O),{},{visible:r});if(u){if(F===y)W=Y?u((0,c.Z)({},$),V):!i&&k.current&&S?u((0,c.Z)((0,c.Z)({},$),{},{className:S}),V):!s&&(i||S)?null:u((0,c.Z)((0,c.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,c.Z)((0,c.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,R.Yr)(W)&&!W.ref&&(W=A.cloneElement(W,{ref:V})),A.createElement(C,{ref:m},W)})).displayName="CSSMotion",s),ei=n(87462),ea=n(97326),es="keep",el="remove",ec="removed";function eE(e){var t;return t=e&&"object"===(0,u.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function eu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(eE)}var eT=["component","children","onVisibleChanged","onAllRemoved"],ed=["status"],ef=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],eR=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo,n=function(e){(0,m.Z)(r,e);var n=(0,_.Z)(r);function r(){var e;(0,N.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!==ec||e.status!==el})}}}]),r}(A.Component);return(0,l.Z)(n,"defaultProps",{component:"div"}),n}(Z),eA=eo},42999:function(e,t,n){"use strict";n.d(t,{qX:function(){return S},JB:function(){return p},lm:function(){return L}});var r=n(74902),o=n(97685),i=n(45987),a=n(67294),s=n(1413),l=n(73935),c=n(87462),E=n(4942),u=n(93967),T=n.n(u),d=n(29372),f=n(71002),R=n(15105),A=n(64217),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,h=e.closable,N=e.closeIcon,I=void 0===N?"x":N,m=e.props,_=e.onClick,C=e.onNoticeClose,g=e.times,L=e.hovering,v=a.useState(!1),y=(0,o.Z)(v,2),P=y[0],b=y[1],M=a.useState(0),D=(0,o.Z)(M,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,f.Z)(h)&&null!==h?h:h?{closeIcon:I}:{}},[h,I]),$=(0,A.Z)(V,!0),W=100-(!U||U<0?0:U>100?100:U),Z="".concat(n,"-notice");return a.createElement("div",(0,c.Z)({},m,{ref:t,className:T()(Z,i,(0,E.Z)({},"".concat(Z,"-closable"),h)),style:r,onMouseEnter:function(e){var t;b(!0),null==m||null===(t=m.onMouseEnter)||void 0===t||t.call(m,e)},onMouseLeave:function(e){var t;b(!1),null==m||null===(t=m.onMouseLeave)||void 0===t||t.call(m,e)},onClick:_}),a.createElement("div",{className:"".concat(Z,"-content")},p),h&&a.createElement("a",(0,c.Z)({tabIndex:0,className:"".concat(Z,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===R.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)},h=function(e){var t,n,r,o={offset:8,threshold:3,gap:16};return e&&"object"===(0,f.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]},N=["className","style","classNames","styles"],I=function(e){var t=e.configList,n=e.placement,l=e.prefixCls,u=e.className,f=e.style,R=e.motion,A=e.onAllNoticeRemoved,p=e.onNoticeClose,I=e.stack,m=(0,a.useContext)(O).classNames,_=(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),b=P[0],M=P[1],D=t.map(function(e){return{config:e,key:String(e.key)}}),U=h(I),x=(0,o.Z)(U,2),w=x[0],G=x[1],F=G.offset,H=G.threshold,B=G.gap,Y=w&&(b.length>0||D.length<=H),k="function"==typeof R?R(n):R;return(0,a.useEffect)(function(){w&&b.length>1&&M(function(e){return e.filter(function(e){return D.some(function(t){return e===t.key})})})},[b,D,w]),(0,a.useEffect)(function(){var e,t;w&&_.current[null===(e=D[D.length-1])||void 0===e?void 0:e.key]&&v(_.current[null===(t=D[D.length-1])||void 0===t?void 0:t.key])},[D,w]),a.createElement(d.V4,(0,c.Z)({key:n,className:T()(l,"".concat(l,"-").concat(n),null==m?void 0:m.list,u,(0,E.Z)((0,E.Z)({},"".concat(l,"-stack"),!!w),"".concat(l,"-stack-expanded"),Y)),style:f,keys:D,motionAppear:!0},k,{onAllRemoved:function(){A(n)}}),function(e,t){var o=e.config,E=e.className,u=e.style,d=e.index,f=o.key,R=o.times,A=String(f),O=o.className,h=o.style,I=o.classNames,C=o.styles,g=(0,i.Z)(o,N),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=_.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?_.current[A]=e:delete _.current[A]},prefixCls:l,classNames:I,styles:C,className:T()(O,null==m?void 0:m.notice),style:h,times:R,key:f,eventKey:f,onNoticeClose:p,hovering:w&&b.length>0})))})},m=a.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,c=e.container,E=e.motion,u=e.maxCount,T=e.className,d=e.style,f=e.onAllRemoved,R=e.stack,A=e.renderNotifications,S=a.useState([]),O=(0,o.Z)(S,2),p=O[0],h=O[1],N=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),h(function(t){return t.filter(function(t){return t.key!==e})})};a.useImperativeHandle(t,function(){return{open:function(e){h(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){N(e)},destroy:function(){h([])}}});var m=a.useState({}),_=(0,o.Z)(m,2),C=_[0],g=_[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==f||f(),v.current=!1)},[C]),!c)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(I,{key:e,configList:t,placement:e,prefixCls:i,className:null==T?void 0:T(e),style:null==d?void 0:d(e),motion:E,onNoticeClose:N,onAllNoticeRemoved:L,stack:R});return A?A(n,{prefixCls:i,key:e}):n})),c)}),_=["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,c=e.maxCount,E=e.className,u=e.style,T=e.onAllRemoved,d=e.stack,f=e.renderNotifications,R=(0,i.Z)(e,_),A=a.useState(),S=(0,o.Z)(A,2),O=S[0],p=S[1],h=a.useRef(),N=a.createElement(m,{container:O,ref:h,prefixCls:l,motion:s,maxCount:c,className:E,style:u,onAllRemoved:T,stack:d,renderNotifications:f}),I=a.useState([]),L=(0,o.Z)(I,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;R.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,b=new Map,M=new P(function(e){e.forEach(function(e){var t,n=e.target;null===(t=b.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),D=n(15671),U=n(43144),x=n(60136),w=n(18486),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(E),d="function"==typeof n,f=d?n(i):n,R=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),A=!d&&o.isValidElement(f)&&(0,c.Yr)(f),S=A?f.ref:null,O=(0,c.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 h=o.useRef(e);h.current=e;var N=o.useCallback(function(e){var t=h.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,s=o.height,l=e.offsetWidth,c=e.offsetHeight,E=Math.floor(i),u=Math.floor(s);if(R.current.width!==E||R.current.height!==u||R.current.offsetWidth!==l||R.current.offsetHeight!==c){var d={width:E,height:u,offsetWidth:l,offsetHeight:c};R.current=d;var f=l===Math.round(i)?i:l,A=c===Math.round(s)?s:c,S=(0,a.Z)((0,a.Z)({},d),{},{offsetWidth:f,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&&(b.has(e)||(b.set(e,new Set),M.observe(e)),b.get(e).add(N)),function(){b.has(e)&&(b.get(e).delete(N),b.get(e).size||(M.unobserve(e),b.delete(e)))}},[i.current,r]),o.createElement(G,{ref:u},A?o.cloneElement(f,{ref:O}):f)}),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(E),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(E.Provider,{value:s},t)};var B=H},92419:function(e,t,n){"use strict";n.d(t,{G:function(){return a},Z:function(){return A}});var r=n(93967),o=n.n(r),i=n(67294);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(87462),l=n(1413),c=n(45987),E=n(40228),u={shiftX:64,adjustY:1},T={adjustX:1,shiftY:!0},d=[0,0],f={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}},R=["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,h=e.transitionName,N=e.animation,I=e.motion,m=e.placement,_=e.align,C=e.destroyTooltipOnHide,g=e.defaultVisible,L=e.getTooltipContainer,v=e.overlayInnerStyle,y=(e.arrowContent,e.overlay),P=e.id,b=e.showArrow,M=(0,c.Z)(e,R),D=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,function(){return D.current});var U=(0,l.Z)({},M);return"visible"in e&&(U.popupVisible=e.visible),i.createElement(E.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:f,popupPlacement:void 0===m?"right":m,ref:D,popupAlign:void 0===_?{}:_,getPopupContainer:L,onPopupVisibleChange:O,afterPopupVisibleChange:p,popupTransitionName:h,popupAnimation:N,popupMotion:I,defaultPopupVisible:g,autoDestroy:void 0!==C&&C,mouseLeaveDelay:void 0===u?.1:u,popupStyle:T,mouseEnterDelay:void 0===o?0:o,arrow:void 0===b||b},U),S)})},50344: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(67294),o=n(59864)},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},94999: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}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return R},jL:function(){return f}});var r=n(1413),o=n(98924),i=n(94999),a="data-rc-order",s="data-rc-priority",l=new Map;function c(){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 E(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,c="queue"===r?"prependQueue":r?"prepend":"append",T="prependQueue"===c,d=document.createElement("style");d.setAttribute(a,c),T&&l&&d.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(d.nonce=null==n?void 0:n.nonce),d.innerHTML=e;var f=E(t),R=f.firstChild;if(r){if(T){var A=(t.styles||u(f)).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(a))&&l>=Number(e.getAttribute(s)||0)});if(A.length)return f.insertBefore(d,A[A.length-1].nextSibling),d}f.insertBefore(d,R)}else f.appendChild(d);return d}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(t);return(t.styles||u(n)).find(function(n){return n.getAttribute(c(t))===e})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(e,t);n&&E(t).removeChild(n)}function R(e,t){var n,o,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=E(s),R=u(f),A=(0,r.Z)((0,r.Z)({},s),{},{styles:R});!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)}}(f,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(c(A),t),O}},34203:function(e,t,n){"use strict";n.d(t,{Sh:function(){return a},ZP:function(){return l},bn:function(){return s}});var r=n(71002),o=n(67294),i=n(73935);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)}},5110: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}},27571: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}})},15105: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},38135:function(e,t,n){"use strict";n.d(t,{s:function(){return A},v:function(){return O}});var r,o,i=n(74165),a=n(15861),s=n(71002),l=n(1413),c=n(73935),E=(0,l.Z)({},r||(r=n.t(c,2))),u=E.version,T=E.render,d=E.unmountComponentAtNode;try{Number((u||"").split(".")[0])>=18&&(o=E.createRoot)}catch(e){}function f(e){var t=E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.Z)(t)&&(t.usingClientEntryPoint=e)}var R="__rc_react_root__";function A(e,t){if(o){var n;f(!0),n=t[R]||o(t),f(!1),n.render(e),t[R]=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[R])||void 0===e||e.unmount(),delete t[R]}));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)}},74204:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},o:function(){return s}});var r,o=n(44958);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"),c=parseInt(l.width,10),E=parseInt(l.height,10);try{var u=c?"width: ".concat(l.width,";"):"",T=E?"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=c,n=E}}document.body.appendChild(i);var d=e&&t&&!isNaN(t)?t:i.offsetWidth-i.clientWidth,f=e&&n&&!isNaN(n)?n:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),(0,o.jL)(r),{width:d,height:f}}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}}},66680:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);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 c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var E=0;E
").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.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 x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:b(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(55102),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(85175),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:b,history:j,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:b,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:b,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:b,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),j.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=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,()=>{x(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:()=>x(o+1),children:[(0,n.jsx)(a.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)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.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"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(55102),g=l(14726),b=l(93967),j=l.n(b),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.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:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,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);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!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?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.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,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{b&&E&&P&&T&&X(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)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(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==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.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)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:j()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||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];X((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)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&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)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!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":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(41468),s=l(41441),i=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(r.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)(a.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(i.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)(a.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)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(79090),i=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:b,resource:j}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.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,m.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),b(e.space_id||e.param)},children:[(0,n.jsx)(v.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})):[],[t,b]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.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,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.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)(i.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,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.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)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.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===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85418),r=l(30568),s=l(67294),i=l(73913),o=l(70065);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(i.MobileChatContext),l=e=>{isNaN(e)||t(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: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})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let b=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(7530),l.e(9397),l.e(6212),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),j=(0,v.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,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));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:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.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,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.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,i=null===(n=null==U?void 0:null===(a=U.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;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!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,i.n5)())&&void 0!==l?l:""},signal:V.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=V.current)||void 0===e||e.abort(),I(!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?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(j.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,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==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,2648,3791,4296,5102,3293,4330,1776,5418,4041,1941,2913,2378,5872,4567,6231,2783,1531,2611,3320,5265,7332,7530,9397,6212,4257,8709,9256,9774,2888,179],function(){return e(e.s=32682)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8258,3913],{32682:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ChatDialog",function(){return l(7332)}])},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,l){"use strict";var n=l(85893),a=l(19284),r=l(25675),s=l.n(r),i=l(67294);t.Z=(0,i.memo)(e=>{let{width:t,height:l,model:r}=e,o=(0,i.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],t=Object.keys(a.Me);for(let l=0;l{let{width:t,height:l,scene:i}=e,o=(0,s.useCallback)(()=>{switch(i){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}},[i]);return(0,n.jsx)(r.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:o()})}},70065:function(e,t,l){"use strict";var n=l(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a},7332:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(18102),s=l(96074),i=l(93967),o=l.n(i),c=l(67294),d=l(73913),u=l(32966);t.default=(0,c.memo)(e=>{let{message:t,index:l}=e,{scene:i}=(0,c.useContext)(d.MobileChatContext),{context:x,model_name:m,role:p,thinking:v}=t,h=(0,c.useMemo)(()=>"view"===p,[p]),f=(0,c.useRef)(null),{value:g}=(0,c.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=x.split(" relations:"),l=t?t.split(","):[],n=[],a=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(l),s="".concat(a,"");return n.push({...r,result:b(null!==(t=r.result)&&void 0!==t?t:"")}),a++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:r}},[x]),b=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.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 x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:b(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(55102),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(85175),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:b,history:j,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:b,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:b,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:b,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),j.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=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,()=>{x(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:()=>x(o+1),children:[(0,n.jsx)(a.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)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.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"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(55102),g=l(14726),b=l(93967),j=l.n(b),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.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:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,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);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!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?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.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,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{b&&E&&P&&T&&X(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)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(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==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.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)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:j()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||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];X((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)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:j()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&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)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!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":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(41468),r=l(39718),s=l(41441),i=l(85418),o=l(55241),c=l(67294),d=l(73913);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)(i.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)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(79090),i=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:b,resource:j}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.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,m.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,n.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{y(e),b(e.space_id||e.param)},children:[(0,n.jsx)(v.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})):[],[t,b]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.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,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.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)(i.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,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.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)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.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===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(70065),r=l(85418),s=l(30568),i=l(67294),o=l(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,i.useContext)(o.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)(s.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)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return j}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let b=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(6540),l.e(9397),l.e(542),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),j=(0,v.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,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));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:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.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,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.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,i=null===(n=null==U?void 0:null===(a=U.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;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!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,i.n5)())&&void 0!==l?l:""},signal:V.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=V.current)||void 0===e||e.abort(),I(!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?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(j.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,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==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,2648,3791,4296,5102,3293,4330,1776,5418,4041,1941,2913,3780,5872,4567,6231,2783,1531,2611,3320,5265,7332,6540,9397,542,4257,8709,9256,9774,2888,179],function(){return e(e.s=32682)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-2bb9e93786282803.js similarity index 76% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-2bb9e93786282803.js index 32e5c8126..d09ff8c6e 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8bc84af01457ddb4.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-2bb9e93786282803.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980,3913],{79373:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Content",function(){return l(36818)}])},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,l){"use strict";var n=l(85893),a=l(19284),r=l(25675),s=l.n(r),i=l(67294);t.Z=(0,i.memo)(e=>{let{width:t,height:l,model:r}=e,o=(0,i.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],t=Object.keys(a.Me);for(let l=0;l{let{width:t,height:l,scene:i}=e,o=(0,s.useCallback)(()=>{switch(i){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}},[i]);return(0,n.jsx)(r.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:o()})}},70065:function(e,t,l){"use strict";var n=l(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a},7332:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(18102),s=l(96074),i=l(93967),o=l.n(i),c=l(67294),d=l(73913),u=l(32966);t.default=(0,c.memo)(e=>{let{message:t,index:l}=e,{scene:i}=(0,c.useContext)(d.MobileChatContext),{context:x,model_name:m,role:p,thinking:v}=t,h=(0,c.useMemo)(()=>"view"===p,[p]),f=(0,c.useRef)(null),{value:g}=(0,c.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=x.split(" relations:"),l=t?t.split(","):[],n=[],a=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(l),s="".concat(a,"");return n.push({...r,result:j(null!==(t=r.result)&&void 0!==t?t:"")}),a++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:r}},[x]),j=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.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 x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:j(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},36818:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(67294),r=l(73913),s=l(7332);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(r.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,n.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,n.jsx)(s.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(55102),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(85175),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:j,history:b,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:j,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:j,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:j,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),b.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=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,()=>{x(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:()=>x(o+1),children:[(0,n.jsx)(a.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)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.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"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(55102),g=l(14726),j=l(93967),b=l.n(j),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.useSearchParams)(),j=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:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,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);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!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?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.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,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{j&&E&&P&&T&&X(j)},[T,P,E,j]),(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)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(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==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.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)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:b()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||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];X((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)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&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)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!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":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(41468),s=l(41441),i=l(85418),o=l(55241),c=l(67294),d=l(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(r.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)(a.Z,{width:14,height:14,model:e}),(0,n.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,l]);return(0,n.jsx)(i.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)(a.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)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(79090),i=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:j,resource:b}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.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,m.useMemo)(()=>t&&t.length>0?t.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)(v.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})):[],[t,j]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return j(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,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.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)(i.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,b]);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,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.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)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.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===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85418),r=l(30568),s=l(67294),i=l(73913),o=l(70065);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(i.MobileChatContext),l=e=>{isNaN(e)||t(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: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})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return b}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let j=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(7530),l.e(9397),l.e(6212),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),b=(0,v.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,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));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:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.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,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.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,i=null===(n=null==U?void 0:null===(a=U.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;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!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,i.n5)())&&void 0!==l?l:""},signal:V.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=V.current)||void 0===e||e.abort(),I(!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?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(b.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,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)(j,{})]}),(null==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,2648,3791,4296,5102,3293,4330,1776,5418,4041,1941,2913,2378,5872,4567,6231,2783,1531,2611,3320,5265,7332,7530,9397,6212,242,8709,9256,9774,2888,179],function(){return e(e.s=79373)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980,3913],{79373:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Content",function(){return l(36818)}])},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,l){"use strict";var n=l(85893),a=l(19284),r=l(25675),s=l.n(r),i=l(67294);t.Z=(0,i.memo)(e=>{let{width:t,height:l,model:r}=e,o=(0,i.useMemo)(()=>{let e=null==r?void 0:r.replaceAll("-","_").split("_")[0],t=Object.keys(a.Me);for(let l=0;l{let{width:t,height:l,scene:i}=e,o=(0,s.useCallback)(()=>{switch(i){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}},[i]);return(0,n.jsx)(r.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:o()})}},70065:function(e,t,l){"use strict";var n=l(91321);let a=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=a},7332:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(39718),r=l(18102),s=l(96074),i=l(93967),o=l.n(i),c=l(67294),d=l(73913),u=l(32966);t.default=(0,c.memo)(e=>{let{message:t,index:l}=e,{scene:i}=(0,c.useContext)(d.MobileChatContext),{context:x,model_name:m,role:p,thinking:v}=t,h=(0,c.useMemo)(()=>"view"===p,[p]),f=(0,c.useRef)(null),{value:g}=(0,c.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=x.split(" relations:"),l=t?t.split(","):[],n=[],a=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(l),s="".concat(a,"");return n.push({...r,result:j(null!==(t=r.result)&&void 0!==t?t:"")}),a++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:r}},[x]),j=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,n.jsxs)("div",{className:o()("flex w-full",{"justify-end":!h}),ref:f,children:[!h&&(0,n.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,n.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 x&&"chat_agent"===i&&(0,n.jsx)(r.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==i&&(0,n.jsx)(r.default,{children:j(g)}),v&&!x&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!v&&(0,n.jsx)(s.Z,{className:"my-2"}),(0,n.jsxs)("div",{className:o()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!v}),children:[(0,n.jsx)(u.default,{content:t,index:l,chatDialogRef:f}),"chat_agent"!==i&&(0,n.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,n.jsx)(a.Z,{width:14,height:14,model:m}),(0,n.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},36818:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(67294),r=l(73913),s=l(7332);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(r.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,n.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,n.jsx)(s.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(85265),r=l(66309),s=l(55102),i=l(14726),o=l(67294);t.default=e=>{let{open:t,setFeedbackOpen:l,list:c,feedback:d,loading:u}=e,[x,m]=(0,o.useState)([]),[p,v]=(0,o.useState)("");return(0,n.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>l(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(r.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(t=>{let l=t.findIndex(t=>t.reason_type===e.reason_type);return l>-1?[...t.slice(0,l),...t.slice(l+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(s.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:p,onChange:e=>v(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(i.ZP,{className:"w-16 h-8",onClick:()=>{l(!1)},children:"取消"}),(0,n.jsx)(i.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==d?void 0:d({feedback_type:"unlike",reason_types:e,remark:p}))},loading:u,children:"确认"})]})]})})}},32966:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(65429),s=l(15381),i=l(85175),o=l(65654),c=l(31418),d=l(96074),u=l(14726),x=l(93967),m=l.n(x),p=l(20640),v=l.n(p),h=l(67294),f=l(73913),g=l(5583);t.default=e=>{var t;let{content:l,index:x,chatDialogRef:p}=e,{conv_uid:j,history:b,scene:w}=(0,h.useContext)(f.MobileChatContext),{message:y}=c.Z.useApp(),[_,N]=(0,h.useState)(!1),[k,C]=(0,h.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,h.useState)([]),R=async e=>{var t;let l=null==e?void 0:e.replace(/\trelations:.*/g,""),n=v()((null===(t=p.current)||void 0===t?void 0:t.textContent)||l);n?l?y.success("复制成功"):y.warning("内容复制为空"):y.error("复制失败")},{run:E,loading:M}=(0,o.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:j,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;C(null==t?void 0:t.feedback_type),y.success("反馈成功"),N(!1)}}),{run:O}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:j,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(C("none"),y.success("操作成功"))}}),{run:A}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&N(!0)}}),{run:P,loading:T}=(0,o.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:j,round_index:0})),{manual:!0,onSuccess:()=>{y.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(r.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===k}),onClick:async()=>{if("like"===k){await O();return}await E({feedback_type:"like"})}}),(0,n.jsx)(s.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===k}),onClick:async()=>{if("unlike"===k){await O();return}await A()}}),(0,n.jsx)(g.default,{open:_,setFeedbackOpen:N,list:Z,feedback:E,loading:M})]}),(0,n.jsx)(d.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(i.Z,{className:"cursor-pointer",onClick:()=>R(l.context)}),b.length-1===x&&"chat_agent"===w&&(0,n.jsx)(u.ZP,{loading:T,size:"small",onClick:async()=>{await P()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(48218),r=l(58638),s=l(31418),i=l(91776),o=l(20640),c=l.n(o),d=l(67294),u=l(73913);t.default=(0,d.memo)(()=>{var e;let{appInfo:t}=(0,d.useContext)(u.MobileChatContext),{message:l}=s.Z.useApp(),[o,x]=(0,d.useState)(0);if(!(null==t?void 0:t.app_code))return null;let m=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,()=>{x(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:()=>x(o+1),children:[(0,n.jsx)(a.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)(i.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,n.jsx)(i.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.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"})})]})})},74638:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(25519),i=l(30159),o=l(87740),c=l(79090),d=l(52645),u=l(27496),x=l(1375),m=l(65654),p=l(66309),v=l(55241),h=l(74330),f=l(55102),g=l(14726),j=l(93967),b=l.n(j),w=l(39332),y=l(67294),_=l(73913),N=l(7001),k=l(73749),C=l(97109),Z=l(83454);let S=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let l=(0,w.useSearchParams)(),j=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:I,order:V,userInput:z,ctrl:D,canAbort:J,canNewChat:$,setHistory:L,setCanNewChat:U,setCarAbort:q,setUserInput:F}=(0,y.useContext)(_.MobileChatContext),[H,W]=(0,y.useState)(!1),[B,K]=(0,y.useState)(!1),X=async e=>{var t,l,n;F(""),D.current=new AbortController;let a={chat_mode:M,model_name:E,user_input:e||z,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);V.current=e[e.length-1].order+1}let i=[{role:"human",context:e||z,model_name:E,order:V.current,time_stamp:0},{role:"view",context:"",model_name:E,order:V.current,time_stamp:0,thinking:!0}],o=i.length-1;L([...R,...i]),U(!1);try{await (0,x.L)("".concat(null!==(t=Z.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(l=(0,r.n5)())&&void 0!==l?l:""},signal:D.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===x.a)return},onclose(){var e;null===(e=D.current)||void 0===e||e.abort(),U(!0),q(!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?(U(!0),q(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,L([...R,...i]),U(!0),q(!1)):(q(!0),i[o].context=t,i[o].thinking=!1,L([...R,...i]))}})}catch(e){null===(n=D.current)||void 0===n||n.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,L([...i]),U(!0),q(!1)}},G=async()=>{z.trim()&&$&&await X()};(0,y.useEffect)(()=>{var e,t;null===(e=I.current)||void 0===e||e.scrollTo({top:null===(t=I.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[R,I]);let Q=(0,y.useMemo)(()=>{if(!T)return[];let{param_need:e=[]}=T;return null==e?void 0:e.map(e=>e.type)},[T]),Y=(0,y.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,m.Z)(async()=>await (0,a.Vx)((0,a.zR)(P)),{manual:!0,onSuccess:()=>{L([])}});return(0,y.useEffect)(()=>{j&&E&&P&&T&&X(j)},[T,P,E,j]),(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)(p.Z,{color:S[t],className:"p-2 rounded-xl",onClick:async()=>{X(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==Q?void 0:Q.includes("model"))&&(0,n.jsx)(N.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,n.jsx)(k.default,{}),(null==Q?void 0:Q.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)(v.Z,{content:"暂停回复",trigger:["hover"],children:(0,n.jsx)(i.Z,{className:b()("p-2 cursor-pointer",{"text-[#0c75fc]":J,"text-gray-400":!J}),onClick:()=>{var e;J&&(null===(e=D.current)||void 0===e||e.abort(),setTimeout(()=>{q(!1),U(!0)},100))}})}),(0,n.jsx)(v.Z,{content:"再来一次",trigger:["hover"],children:(0,n.jsx)(o.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{var e,t;if(!$||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];X((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)(v.Z,{content:"清除历史",trigger:["hover"],children:(0,n.jsx)(d.Z,{className:b()("p-2 cursor-pointer",{"text-gray-400":!R.length||!$}),onClick:()=>{$&&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)]":H}),children:[(0,n.jsx)(f.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:z,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(B){e.preventDefault();return}z.trim()&&(e.preventDefault(),G())}},onChange:e=>{F(e.target.value)},onFocus:()=>{W(!0)},onBlur:()=>W(!1),onCompositionStartCapture:()=>{K(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{K(!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":!z.trim()||!$}),onClick:G,children:$?(0,n.jsx)(u.Z,{}):(0,n.jsx)(h.Z,{indicator:(0,n.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(41468),r=l(39718),s=l(41441),i=l(85418),o=l(55241),c=l(67294),d=l(73913);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)(i.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)(s.Z,{rotate:90})]})})})}},46568:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(25675),r=l.n(a),s=l(67294);t.default=(0,s.memo)(e=>{let{width:t,height:l,src:a,label:s}=e;return(0,n.jsx)(r(),{width:t||14,height:l||14,src:a,alt:s||"db-icon",priority:!0})})},73749:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(76212),r=l(62418),s=l(79090),i=l(41441),o=l(83266),c=l(65654),d=l(74330),u=l(2913),x=l(85418),m=l(67294),p=l(73913),v=l(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:l,model:h,conv_uid:f,getChatHistoryRun:g,setResource:j,resource:b}=(0,m.useContext)(p.MobileChatContext),[w,y]=(0,m.useState)(null),_=(0,m.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,m.useMemo)(()=>t&&t.length>0?t.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)(v.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})):[],[t,j]),{run:k,loading:C}=(0,c.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:f,chatMode:l,data:e,model:h,config:{timeout:36e5}}));return j(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,m.useMemo)(()=>C?(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(d.Z,{size:"small",indicator:(0,n.jsx)(s.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)(i.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,b]);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,a,s,o;if(!(null==t?void 0:t.length))return null;return(0,n.jsx)(x.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)(v.default,{width:14,height:14,src:null===(e=r.S$[(null==w?void 0:w.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===(a=r.S$[(null==w?void 0:w.type)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.type)])||void 0===a?void 0:a.label}),(0,n.jsx)("span",{className:"text-xs font-medium",children:(null==w?void 0:w.param)||(null==t?void 0:null===(o=t[0])||void 0===o?void 0:o.param)}),(0,n.jsx)(i.Z,{rotate:90})]})})}})()})}},97109:function(e,t,l){"use strict";l.r(t);var n=l(85893),a=l(70065),r=l(85418),s=l(30568),i=l(67294),o=l(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,i.useContext)(o.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)(s.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)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,n.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,l){"use strict";l.r(t),l.d(t,{MobileChatContext:function(){return b}});var n=l(85893),a=l(41468),r=l(76212),s=l(2440),i=l(62418),o=l(25519),c=l(1375),d=l(65654),u=l(74330),x=l(5152),m=l.n(x),p=l(39332),v=l(67294),h=l(56397),f=l(74638),g=l(83454);let j=m()(()=>Promise.all([l.e(3662),l.e(7034),l.e(4041),l.e(1941),l.e(5872),l.e(4567),l.e(2783),l.e(1531),l.e(2611),l.e(3320),l.e(5265),l.e(7332),l.e(6540),l.e(9397),l.e(542),l.e(8709),l.e(9256),l.e(9870)]).then(l.bind(l,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),b=(0,v.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,p.useSearchParams)(),x=null!==(e=null==l?void 0:l.get("chat_scene"))&&void 0!==e?e:"",m=null!==(t=null==l?void 0:l.get("app_code"))&&void 0!==t?t:"",{modelList:w}=(0,v.useContext)(a.p),[y,_]=(0,v.useState)([]),[N,k]=(0,v.useState)(""),[C,Z]=(0,v.useState)(.5),[S,R]=(0,v.useState)(null),E=(0,v.useRef)(null),[M,O]=(0,v.useState)(""),[A,P]=(0,v.useState)(!1),[T,I]=(0,v.useState)(!0),V=(0,v.useRef)(),z=(0,v.useRef)(1),D=(0,s.Z)(),J=(0,v.useMemo)(()=>"".concat(null==D?void 0:D.user_no,"_").concat(m),[m,D]),{run:$,loading:L}=(0,d.Z)(async()=>await (0,r.Vx)((0,r.$i)("".concat(null==D?void 0:D.user_no,"_").concat(m))),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(z.current=l[l.length-1].order+1),_(t||[])}}),{data:U,run:q,loading:F}=(0,d.Z)(async e=>{let[,t]=await (0,r.Vx)((0,r.BN)(e));return null!=t?t:{}},{manual:!0}),{run:H,data:W,loading:B}=(0,d.Z)(async()=>{var e,t;let[,l]=await (0,r.Vx)((0,r.vD)(x));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:X}=(0,d.Z)(async()=>{let[,e]=await (0,r.Vx)((0,r.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,v.useEffect)(()=>{x&&m&&w.length&&q({chat_scene:x,app_code:m})},[m,x,q,w]),(0,v.useEffect)(()=>{m&&$()},[m]),(0,v.useEffect)(()=>{if(w.length>0){var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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||w[0])}},[w,U]),(0,v.useEffect)(()=>{var e,t,l;let n=null===(e=null==U?void 0:null===(t=U.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)},[U]),(0,v.useEffect)(()=>{if(x&&(null==U?void 0:U.app_code)){var e,t,l,n,a,r;let s=null===(e=null==U?void 0:null===(t=U.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,i=null===(n=null==U?void 0:null===(a=U.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;i&&R(i),["database","knowledge","plugin","awel_flow"].includes(s)&&!i&&H()}},[U,x,H]);let G=async e=>{var t,l,n;O(""),V.current=new AbortController;let a={chat_mode:x,model_name:N,user_input:e||M,conv_uid:J,temperature:C,app_code:null==U?void 0:U.app_code,...S&&{select_param:S}};if(y&&y.length>0){let e=null==y?void 0:y.filter(e=>"view"===e.role);z.current=e[e.length-1].order+1}let r=[{role:"human",context:e||M,model_name:N,order:z.current,time_stamp:0},{role:"view",context:"",model_name:N,order:z.current,time_stamp:0,thinking:!0}],s=r.length-1;_([...y,...r]),I(!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,i.n5)())&&void 0!==l?l:""},signal:V.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=V.current)||void 0===e||e.abort(),I(!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?(I(!0),P(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(r[s].context=null==t?void 0:t.replace("[ERROR]",""),r[s].thinking=!1,_([...y,...r]),I(!0),P(!1)):(P(!0),r[s].context=t,r[s].thinking=!1,_([...y,...r]))}})}catch(e){null===(n=V.current)||void 0===n||n.abort(),r[s].context="Sorry, we meet some error, please try again later.",r[s].thinking=!1,_([...r]),I(!0),P(!1)}};return(0,v.useEffect)(()=>{x&&"chat_agent"!==x&&K()},[x,K]),(0,n.jsx)(b.Provider,{value:{model:N,resource:S,setModel:k,setTemperature:Z,setResource:R,temperature:C,appInfo:U,conv_uid:J,scene:x,history:y,scrollViewRef:E,setHistory:_,resourceList:W,order:z,handleChat:G,setCanNewChat:I,ctrl:V,canAbort:A,setCarAbort:P,canNewChat:T,userInput:M,setUserInput:O,getChatHistoryRun:$},children:(0,n.jsx)(u.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:L||F||B||X,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)(j,{})]}),(null==U?void 0:U.app_code)&&(0,n.jsx)(f.default,{})]})})})}}},function(e){e.O(0,[3662,7034,2648,3791,4296,5102,3293,4330,1776,5418,4041,1941,2913,3780,5872,4567,6231,2783,1531,2611,3320,5265,7332,6540,9397,542,242,8709,9256,9774,2888,179],function(){return e(e.s=79373)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-9288f41a6c2b216d.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-f7c4edaf728f4d3b.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/DislikeDrawer-9288f41a6c2b216d.js diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-2cc20ea6c06bb756.js similarity index 98% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-2cc20ea6c06bb756.js index adbc98793..0e8cb0333 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-28b1a5147472d8c3.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Feedback-2cc20ea6c06bb756.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3602],{84588:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Feedback",function(){return a(32966)}])},2440:function(e,t,a){"use strict";var n=a(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,a){"use strict";var n=a(85893),s=a(19284),c=a(25675),l=a.n(c),r=a(67294);t.Z=(0,r.memo)(e=>{let{width:t,height:a,model:c}=e,i=(0,r.useMemo)(()=>{let e=null==c?void 0:c.replaceAll("-","_").split("_")[0],t=Object.keys(s.Me);for(let a=0;a{let{width:t,height:a,scene:r}=e,i=(0,l.useCallback)(()=>{switch(r){case"chat_knowledge":return s.je;case"chat_with_db_execute":return s.zM;case"chat_excel":return s.DL;case"chat_with_db_qa":case"chat_dba":return s.RD;case"chat_dashboard":return s.In;case"chat_agent":return s.si;case"chat_normal":return s.O7;default:return}},[r]);return(0,n.jsx)(c.Z,{className:"w-".concat(t||7," h-").concat(a||7),component:i()})}},70065:function(e,t,a){"use strict";var n=a(91321);let s=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=s},5583:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(85265),c=a(66309),l=a(55102),r=a(14726),i=a(67294);t.default=e=>{let{open:t,setFeedbackOpen:a,list:o,feedback:u,loading:d}=e,[x,p]=(0,i.useState)([]),[m,_]=(0,i.useState)("");return(0,n.jsx)(s.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>a(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(c.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let a=t.findIndex(t=>t.reason_type===e.reason_type);return a>-1?[...t.slice(0,a),...t.slice(a+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(l.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:m,onChange:e=>_(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(r.ZP,{className:"w-16 h-8",onClick:()=>{a(!1)},children:"取消"}),(0,n.jsx)(r.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:m}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(76212),c=a(65429),l=a(15381),r=a(85175),i=a(65654),o=a(31418),u=a(96074),d=a(14726),x=a(93967),p=a.n(x),m=a(20640),_=a.n(m),f=a(67294),h=a(73913),v=a(5583);t.default=e=>{var t;let{content:a,index:x,chatDialogRef:m}=e,{conv_uid:k,history:y,scene:g}=(0,f.useContext)(h.MobileChatContext),{message:w}=o.Z.useApp(),[b,j]=(0,f.useState)(!1),[C,N]=(0,f.useState)(null==a?void 0:null===(t=a.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,f.useState)([]),O=async e=>{var t;let a=null==e?void 0:e.replace(/\trelations:.*/g,""),n=_()((null===(t=m.current)||void 0===t?void 0:t.textContent)||a);n?a?w.success("复制成功"):w.warning("内容复制为空"):w.error("复制失败")},{run:E,loading:I}=(0,i.Z)(async e=>await (0,s.Vx)((0,s.zx)({conv_uid:k,message_id:a.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),w.success("反馈成功"),j(!1)}}),{run:M}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ir)({conv_uid:k,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),w.success("操作成功"))}}),{run:P}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&j(!0)}}),{run:z,loading:F}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ty)({conv_id:k,round_index:0})),{manual:!0,onSuccess:()=>{w.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(c.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===C}),onClick:async()=>{if("like"===C){await M();return}await E({feedback_type:"like"})}}),(0,n.jsx)(l.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===C}),onClick:async()=>{if("unlike"===C){await M();return}await P()}}),(0,n.jsx)(v.default,{open:b,setFeedbackOpen:j,list:Z,feedback:E,loading:I})]}),(0,n.jsx)(u.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(r.Z,{className:"cursor-pointer",onClick:()=>O(a.context)}),y.length-1===x&&"chat_agent"===g&&(0,n.jsx)(d.ZP,{loading:F,size:"small",onClick:async()=>{await z()},className:"text-xs",children:"终止话题"})]})]})}}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,5265,5737,3913,9774,2888,179],function(){return e(e.s=84588)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3602],{84588:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Feedback",function(){return a(32966)}])},2440:function(e,t,a){"use strict";var n=a(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},39718:function(e,t,a){"use strict";var n=a(85893),s=a(19284),c=a(25675),l=a.n(c),r=a(67294);t.Z=(0,r.memo)(e=>{let{width:t,height:a,model:c}=e,i=(0,r.useMemo)(()=>{let e=null==c?void 0:c.replaceAll("-","_").split("_")[0],t=Object.keys(s.Me);for(let a=0;a{let{width:t,height:a,scene:r}=e,i=(0,l.useCallback)(()=>{switch(r){case"chat_knowledge":return s.je;case"chat_with_db_execute":return s.zM;case"chat_excel":return s.DL;case"chat_with_db_qa":case"chat_dba":return s.RD;case"chat_dashboard":return s.In;case"chat_agent":return s.si;case"chat_normal":return s.O7;default:return}},[r]);return(0,n.jsx)(c.Z,{className:"w-".concat(t||7," h-").concat(a||7),component:i()})}},70065:function(e,t,a){"use strict";var n=a(91321);let s=(0,n.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=s},5583:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(85265),c=a(66309),l=a(55102),r=a(14726),i=a(67294);t.default=e=>{let{open:t,setFeedbackOpen:a,list:o,feedback:u,loading:d}=e,[x,p]=(0,i.useState)([]),[m,_]=(0,i.useState)("");return(0,n.jsx)(s.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>a(!1),destroyOnClose:!0,height:"auto",children:(0,n.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,n.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let t=x.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(c.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{p(t=>{let a=t.findIndex(t=>t.reason_type===e.reason_type);return a>-1?[...t.slice(0,a),...t.slice(a+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(l.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:m,onChange:e=>_(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(r.ZP,{className:"w-16 h-8",onClick:()=>{a(!1)},children:"取消"}),(0,n.jsx)(r.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:m}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(76212),c=a(65429),l=a(15381),r=a(85175),i=a(65654),o=a(31418),u=a(96074),d=a(14726),x=a(93967),p=a.n(x),m=a(20640),_=a.n(m),f=a(67294),h=a(73913),v=a(5583);t.default=e=>{var t;let{content:a,index:x,chatDialogRef:m}=e,{conv_uid:k,history:y,scene:g}=(0,f.useContext)(h.MobileChatContext),{message:w}=o.Z.useApp(),[b,j]=(0,f.useState)(!1),[C,N]=(0,f.useState)(null==a?void 0:null===(t=a.feedback)||void 0===t?void 0:t.feedback_type),[Z,S]=(0,f.useState)([]),O=async e=>{var t;let a=null==e?void 0:e.replace(/\trelations:.*/g,""),n=_()((null===(t=m.current)||void 0===t?void 0:t.textContent)||a);n?a?w.success("复制成功"):w.warning("内容复制为空"):w.error("复制失败")},{run:E,loading:I}=(0,i.Z)(async e=>await (0,s.Vx)((0,s.zx)({conv_uid:k,message_id:a.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),w.success("反馈成功"),j(!1)}}),{run:M}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ir)({conv_uid:k,message_id:(null==a?void 0:a.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(N("none"),w.success("操作成功"))}}),{run:P}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;S(t||[]),t&&j(!0)}}),{run:z,loading:F}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ty)({conv_id:k,round_index:0})),{manual:!0,onSuccess:()=>{w.success("操作成功")}});return(0,n.jsxs)("div",{className:"flex items-center text-sm",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(c.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"like"===C}),onClick:async()=>{if("like"===C){await M();return}await E({feedback_type:"like"})}}),(0,n.jsx)(l.Z,{className:p()("cursor-pointer",{"text-[#0C75FC]":"unlike"===C}),onClick:async()=>{if("unlike"===C){await M();return}await P()}}),(0,n.jsx)(v.default,{open:b,setFeedbackOpen:j,list:Z,feedback:E,loading:I})]}),(0,n.jsx)(u.Z,{type:"vertical"}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(r.Z,{className:"cursor-pointer",onClick:()=>O(a.context)}),y.length-1===x&&"chat_agent"===g&&(0,n.jsx)(d.ZP,{loading:F,size:"small",onClick:async()=>{await z()},className:"text-xs",children:"终止话题"})]})]})}}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,3780,6231,5265,5737,3913,9774,2888,179],function(){return e(e.s=84588)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-b946939cde98acef.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-b946939cde98acef.js index aab16ebc3..31df64045 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-4ce247cbc875627e.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Header-b946939cde98acef.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1244],{85335:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Header",function(){return n(56397)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,2293,3913,9774,2888,179],function(){return e(e.s=85335)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1244],{85335:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Header",function(){return n(56397)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,3780,6231,2500,3913,9774,2888,179],function(){return e(e.s=85335)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-0fd249ffc195c3eb.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-0fd249ffc195c3eb.js index 9fc18f147..599bbe1d3 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-ee3d5523871247ec.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/InputContainer-0fd249ffc195c3eb.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3882],{69487:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/InputContainer",function(){return n(74638)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,2500,3913,9774,2888,179],function(){return e(e.s=69487)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3882],{69487:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/InputContainer",function(){return n(74638)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,3780,6231,8538,3913,9774,2888,179],function(){return e(e.s=69487)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-275c638acc09930b.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-275c638acc09930b.js index e590251da..2c01c996b 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-b1f62ecdf1d11777.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/ModelSelector-275c638acc09930b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2767],{96052:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ModelSelector",function(){return n(7001)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,8538,3913,9774,2888,179],function(){return e(e.s=96052)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2767],{96052:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ModelSelector",function(){return n(7001)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,3780,6231,7399,3913,9774,2888,179],function(){return e(e.s=96052)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-c8d001dd2e3fe951.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-9b7b2b198d5ee1f1.js similarity index 100% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-c8d001dd2e3fe951.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/OptionIcon-9b7b2b198d5ee1f1.js diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-34980a6b3cc452ed.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-34980a6b3cc452ed.js index 13732b5fc..b0212568d 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-e534c888b8ca365d.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Resource-34980a6b3cc452ed.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247],{44813:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Resource",function(){return n(73749)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,7209,3913,9774,2888,179],function(){return e(e.s=44813)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247],{44813:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Resource",function(){return n(73749)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,3780,6231,2524,3913,9774,2888,179],function(){return e(e.s=44813)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-77cb0ef3c006005b.js similarity index 96% rename from dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js rename to dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-77cb0ef3c006005b.js index ae0d4949c..76d9d582c 100644 --- a/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-e7a31ad3e9bc5531.js +++ b/dbgpt/app/static/web/_next/static/chunks/pages/mobile/chat/components/Thermometer-77cb0ef3c006005b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9622],{59843:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Thermometer",function(){return n(97109)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,2378,6231,7399,3913,9774,2888,179],function(){return e(e.s=59843)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9622],{59843:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Thermometer",function(){return n(97109)}])},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),l=n.n(a),u=n(67294);t.Z=(0,u.memo)(e=>{let{width:t,height:n,model:a}=e,s=(0,u.useMemo)(()=>{let e=null==a?void 0:a.replaceAll("-","_").split("_")[0],t=Object.keys(c.Me);for(let n=0;n{let{width:t,height:n,scene:u}=e,s=(0,l.useCallback)(()=>{switch(u){case"chat_knowledge":return c.je;case"chat_with_db_execute":return c.zM;case"chat_excel":return c.DL;case"chat_with_db_qa":case"chat_dba":return c.RD;case"chat_dashboard":return c.In;case"chat_agent":return c.si;case"chat_normal":return c.O7;default:return}},[u]);return(0,r.jsx)(a.Z,{className:"w-".concat(t||7," h-").concat(n||7),component:s()})}},70065:function(e,t,n){"use strict";var r=n(91321);let c=(0,r.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=c}},function(e){e.O(0,[2648,3791,4296,5102,3293,4330,1776,5418,2913,3780,6231,2293,3913,9774,2888,179],function(){return e(e.s=59843)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/dbgpt/app/static/web/_next/static/chunks/webpack-ba67c5a7cdfaac97.js b/dbgpt/app/static/web/_next/static/chunks/webpack-ba67c5a7cdfaac97.js new file mode 100644 index 000000000..5824110fc --- /dev/null +++ b/dbgpt/app/static/web/_next/static/chunks/webpack-ba67c5a7cdfaac97.js @@ -0,0 +1 @@ +!function(){"use strict";var e,c,t,a,f,d,n,b,r,u,o,i,s={},l={};function h(e){var c=l[e];if(void 0!==c)return c.exports;var t=l[e]={id:e,loaded:!1,exports:{}},a=!0;try{s[e].call(t.exports,t,t.exports,h),a=!1}finally{a&&delete l[e]}return t.loaded=!0,t.exports}h.m=s,h.amdO={},e=[],h.O=function(c,t,a,f){if(t){f=f||0;for(var d=e.length;d>0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[t,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](t[r])})?t.splice(r--,1):(b=!1,f0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[t,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](t[r])})?t.splice(r--,1):(b=!1,f
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/agent/index.html b/dbgpt/app/static/web/construct/agent/index.html index 5bc4adeb2..71259f68a 100644 --- a/dbgpt/app/static/web/construct/agent/index.html +++ b/dbgpt/app/static/web/construct/agent/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html b/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html index 1aa6e863d..0f90747ce 100644 --- a/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html +++ b/dbgpt/app/static/web/construct/app/components/create-app-modal/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html b/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html index 5eb9e894c..75b2725b1 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/AwelLayout/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html b/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html index bc7a20b21..978aa14b1 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/NativeApp/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html b/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html index f20dd3d5e..131ec8e1e 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/RecommendQuestions/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html index d7e73363d..5eb7a21aa 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html index 215f06cb8..943699770 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html index 8b99309de..824ccd9c6 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html index 8235c18d6..1f22d85d6 100644 --- a/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html +++ b/dbgpt/app/static/web/construct/app/extra/components/auto-plan/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/config/index.html b/dbgpt/app/static/web/construct/app/extra/config/index.html index 0ac8fdbce..026bc616a 100644 --- a/dbgpt/app/static/web/construct/app/extra/config/index.html +++ b/dbgpt/app/static/web/construct/app/extra/config/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/extra/index.html b/dbgpt/app/static/web/construct/app/extra/index.html index a1ec2674b..5b88fe6b7 100644 --- a/dbgpt/app/static/web/construct/app/extra/index.html +++ b/dbgpt/app/static/web/construct/app/extra/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/app/index.html b/dbgpt/app/static/web/construct/app/index.html index e74c96064..5decb9908 100644 --- a/dbgpt/app/static/web/construct/app/index.html +++ b/dbgpt/app/static/web/construct/app/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/database/index.html b/dbgpt/app/static/web/construct/database/index.html index f5da5ff4a..b772f383e 100644 --- a/dbgpt/app/static/web/construct/database/index.html +++ b/dbgpt/app/static/web/construct/database/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/dbgpts/index.html b/dbgpt/app/static/web/construct/dbgpts/index.html index 51c125a54..5f6421c90 100644 --- a/dbgpt/app/static/web/construct/dbgpts/index.html +++ b/dbgpt/app/static/web/construct/dbgpts/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/flow/canvas/index.html b/dbgpt/app/static/web/construct/flow/canvas/index.html index d953af60e..76c718571 100644 --- a/dbgpt/app/static/web/construct/flow/canvas/index.html +++ b/dbgpt/app/static/web/construct/flow/canvas/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/flow/index.html b/dbgpt/app/static/web/construct/flow/index.html index befd57df5..0530431dc 100644 --- a/dbgpt/app/static/web/construct/flow/index.html +++ b/dbgpt/app/static/web/construct/flow/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/index.html b/dbgpt/app/static/web/construct/index.html index de1d5e638..42d552386 100644 --- a/dbgpt/app/static/web/construct/index.html +++ b/dbgpt/app/static/web/construct/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/knowledge/chunk/index.html b/dbgpt/app/static/web/construct/knowledge/chunk/index.html index d273e9faf..27f147ca6 100644 --- a/dbgpt/app/static/web/construct/knowledge/chunk/index.html +++ b/dbgpt/app/static/web/construct/knowledge/chunk/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/knowledge/index.html b/dbgpt/app/static/web/construct/knowledge/index.html index d2e29a97e..395e9dec7 100644 --- a/dbgpt/app/static/web/construct/knowledge/index.html +++ b/dbgpt/app/static/web/construct/knowledge/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/models/index.html b/dbgpt/app/static/web/construct/models/index.html index a32bd17ce..a06fc3a50 100644 --- a/dbgpt/app/static/web/construct/models/index.html +++ b/dbgpt/app/static/web/construct/models/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/prompt/add/index.html b/dbgpt/app/static/web/construct/prompt/add/index.html index 2a0eb547b..ef6b0154c 100644 --- a/dbgpt/app/static/web/construct/prompt/add/index.html +++ b/dbgpt/app/static/web/construct/prompt/add/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/prompt/edit/index.html b/dbgpt/app/static/web/construct/prompt/edit/index.html index 781158df3..f29d31692 100644 --- a/dbgpt/app/static/web/construct/prompt/edit/index.html +++ b/dbgpt/app/static/web/construct/prompt/edit/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/construct/prompt/index.html b/dbgpt/app/static/web/construct/prompt/index.html index 466582893..d4b6b095b 100644 --- a/dbgpt/app/static/web/construct/prompt/index.html +++ b/dbgpt/app/static/web/construct/prompt/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/evaluation/index.html b/dbgpt/app/static/web/evaluation/index.html index 0d32f9671..6aac92dd3 100644 --- a/dbgpt/app/static/web/evaluation/index.html +++ b/dbgpt/app/static/web/evaluation/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/index.html b/dbgpt/app/static/web/index.html index 6c8a76306..260e630a5 100644 --- a/dbgpt/app/static/web/index.html +++ b/dbgpt/app/static/web/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html b/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html index 0ad25a535..cc51d43d3 100644 --- a/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/ChatDialog/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Content/index.html b/dbgpt/app/static/web/mobile/chat/components/Content/index.html index bcb13512a..6e88442b6 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Content/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Content/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html b/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html index e0e87e77d..c22be1d68 100644 --- a/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/DislikeDrawer/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html b/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html index 686aae0cc..19d570727 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Feedback/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Header/index.html b/dbgpt/app/static/web/mobile/chat/components/Header/index.html index 07ff166ac..238f8dc78 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Header/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Header/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html b/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html index e7ec98314..5c752da8f 100644 --- a/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/InputContainer/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html b/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html index 04747b008..328dc37eb 100644 --- a/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/ModelSelector/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html b/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html index 8deccc447..9c1d026e2 100644 --- a/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/OptionIcon/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Resource/index.html b/dbgpt/app/static/web/mobile/chat/components/Resource/index.html index 85ef9860c..6adedc46a 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Resource/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Resource/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html b/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html index b72294d90..13345fdbc 100644 --- a/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html +++ b/dbgpt/app/static/web/mobile/chat/components/Thermometer/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/dbgpt/app/static/web/mobile/chat/index.html b/dbgpt/app/static/web/mobile/chat/index.html index f1df26204..9651bca62 100644 --- a/dbgpt/app/static/web/mobile/chat/index.html +++ b/dbgpt/app/static/web/mobile/chat/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/web/new-components/chat/content/ChatCompletion.tsx b/web/new-components/chat/content/ChatCompletion.tsx index f5200fb71..c71d661e2 100644 --- a/web/new-components/chat/content/ChatCompletion.tsx +++ b/web/new-components/chat/content/ChatCompletion.tsx @@ -72,15 +72,15 @@ const ChatCompletion: React.FC = () => { setTimeout(() => { scrollableRef.current?.scrollTo(0, scrollableRef.current?.scrollHeight); }, 50); - }, [history]); + }, [history, history[history.length - 1].context]); return (
{!!showMessages.length && - showMessages.map(content => { + showMessages.map((content, index) => { return ( { setJsonModalOpen(true);