!(function(){var yy=Object.defineProperty;var M1=Object.getOwnPropertySymbols;var by=Object.prototype.hasOwnProperty,wy=Object.prototype.propertyIsEnumerable;var Z0=Math.pow,d1=(lr,Yn,be)=>Yn in lr?yy(lr,Yn,{enumerable:!0,configurable:!0,writable:!0,value:be}):lr[Yn]=be,f1=(lr,Yn)=>{for(var be in Yn||(Yn={}))by.call(Yn,be)&&d1(lr,be,Yn[be]);if(M1)for(var be of M1(Yn))wy.call(Yn,be)&&d1(lr,be,Yn[be]);return lr};var xl=(lr,Yn,be)=>d1(lr,typeof Yn!="symbol"?Yn+"":Yn,be);var Pg=(lr,Yn,be)=>new Promise((ge,Lt)=>{var ut=lt=>{try{We(be.next(lt))}catch(vt){Lt(vt)}},zt=lt=>{try{We(be.throw(lt))}catch(vt){Lt(vt)}},We=lt=>lt.done?ge(lt.value):Promise.resolve(lt.value).then(ut,zt);We((be=be.apply(lr,Yn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[67],{40001:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={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"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},84105:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},18785:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},73331:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},15277:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},33853:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={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"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},62772:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={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"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},61485:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},38819:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},47472:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},87395:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},zt=ut,We=be(7657),lt=function(xe,Xe){return Lt.createElement(We.Z,(0,ge.Z)({},xe,{ref:Xe,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt},14618:function(){"use strict"},66552:function(){"use strict"},18760:function(lr,Yn){"use strict";Yn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},78441:function(lr,Yn){"use strict";Yn.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},3352:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var lr={},Yn="5.0",be={},ge=null,Lt=!1,ut=!1,zt=null,We=!1,lt=null,vt=null,ke=0;ke4?parseFloat(Mt):5};lr.setHTML5Codebase=function(Mt,_t){vt=Mt,ft(Mt,_t)},lr.setJavaCodebase=lr.setJavaCodebaseVersion=lr.isCompiledInstalled=lr.setPreCompiledScriptPath=lr.setPreCompiledResourcePath=function(){},lr.setHTML5CodebaseVersion=function(Mt,_t){var hn=parseFloat(Mt);if(hn!==NaN&&hn<5){console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead.");return}lt=Mt,Fe(Mt,_t)},lr.getHTML5CodebaseVersion=function(){return ot},lr.getParameters=function(){return be},lr.setFontsCSSURL=function(Mt){pt=Mt},lr.setGiacJSURL=function(Mt){},lr.setJNLPFile=function(Mt){xe=Mt},lr.setJNLPBaseDir=function(Mt){},lr.inject=function(){function Mt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var _t="auto",hn=be.id,Jn,Kn=!1,Ar=0;Ar=5)return!0;var Mt=lr.getAppletObject();return Mt&&typeof Mt.recalculateEnvironments=="function"?(Mt.recalculateEnvironments(),!0):!1},lr.startAnimation=function(){var Mt=lr.getAppletObject();return Mt&&typeof Mt.startAnimation=="function"?(Mt.startAnimation(),!0):!1},lr.stopAnimation=function(){var Mt=lr.getAppletObject();return Mt&&typeof Mt.stopAnimation=="function"?(Mt.stopAnimation(),!0):!1},lr.getAppletObject=function(){var Mt=be.id!==void 0?be.id:"ggbApplet";return window[Mt]},lr.resize=function(){};var Yt=function(Mt,_t,hn){var Jn=document.createElement("param");Jn.setAttribute("name",_t),Jn.setAttribute("value",hn),Mt.appendChild(Jn)},Tt=function(Mt){return Mt&&Mt!=="false"},Xt=function(Mt,_t,hn){rt(ot)<=4.2&&(hn=!0);var Jn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ot||ggbHTML5LoadedCodebaseIsWebSimple&&!it)&&(Jn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Kn=document.createElement("div");Kn.classList.add("appletParameters","notranslate");var Ar=_t.width,ln=_t.height;if(_t.disableAutoScale=_t.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():_t.disableAutoScale,_t.width!==void 0)if(rt(ot)<=4.4)Tt(_t.showToolBar)&&(_t.height-=7),Tt(_t.showAlgebraInput)&&(_t.height-=37),_t.width<605&&Tt(_t.showToolBar)&&(_t.width=605,Ar=605);else{var on=100;(Tt(_t.showToolBar)||Tt(_t.showMenuBar))&&(_t.hasOwnProperty("customToolBar")&&(_t.customToolbar=_t.customToolBar),on=Tt(_t.showMenuBar)?245:155),Ar=5?(_t.appletOnLoad=function(Pn){var Zn=Mt.querySelector(".ggb_preview");Zn&&Zn.parentNode.removeChild(Zn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(we),window.GGBT_wsf_view&&$(window).trigger("resize"),Ue(Pn)},pe||we.appendChild(Ee)):Kn.appendChild(Ee),we.appendChild(Kn),pe||Mt.appendChild(we),setTimeout(function(){lr.resize()},1)}else{var Me=document.createElement("div");Me.className="applet_scaler",Me.style.position="relative",Me.style.display="block",Me.appendChild(Kn),Mt.appendChild(Me),_t.appletOnLoad=function(Pn){lr.resize(),Ue(Pn)}}function me(Pn,Zn){Zn&&typeof Zn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Pn,Zn.appletOnLoad):renderGGBElement(Pn),sn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Zn)}function $e(Pn,Zn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Pn,params:Zn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Cr){me(Cr.article,Cr.params)}),html5AppletsToProcess=null)},rt(ot)<5&&(Pn.className+=" geogebraweb")):me(Pn,Zn)}if(Jn){scriptLoadStarted=!0;for(var Pt=0;Pt0?(vn.remove(),we.attr("id","fullscreencontent").show(),jQuery(Ue).append(we),window.dispatchEvent(new Event("resize"))):Xt(vn,_t,!1),window.GGBT_wsf_view.launchFullScreen(Ue)}else Qe=Jn,Xt(Mt,_t,!1);if(!window.GGBT_wsf_view)for(ln=0;lnMt/4*3&&(vn=Mt/4*3),Ue=vn/5.8,on.setAttribute("src",At),on.setAttribute("width",vn),on.setAttribute("height",Ue);var we=(Mt-vn)/2,pe=(_t-Ue)/2;on.style.left=we+"px",on.style.top=pe+"px",Kn.appendChild(on)}}return Kn.appendChild(ln),Kn},Kt=function(Mt){return Mt=Mt.toLowerCase(),Mt==="html5"||Mt==="screenshot"?Mt:"html5"},Ge=["web","webSimple","web3d","tablet","tablet3d","phone"],Fe=function(Mt,_t){if(ot=Mt,_t){ft(ot,!0);return}var hn=!Lt;if(hn){var Jn=rt(ot);!isNaN(Jn)&&Jn<4.4&&(hn=!1)}var Kn,Ar;window.location.protocol.substr(0,4)==="http"?Kn=window.location.protocol:Kn="http:";var ln=ot.indexOf("//");ln>0?Ar=ot:ln===0?Ar=Kn+ot:Ar="https://www.geogebra.org/apps/5.2.814.0/";for(var on in Ge)if(ot.slice(Ge[on].length*-1)===Ge[on]||ot.slice((Ge[on].length+1)*-1)===Ge[on]+"/"){ft(Ar,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&hn&&!ge.is3D&&!ge.AV&&!ge.SV&&!ge.CV&&!ge.EV2&&!ge.CP&&!ge.PC&&!ge.DA&&!ge.FI&&!ge.PV&&!Tt(be.showToolBar)&&!Tt(be.showMenuBar)&&!Tt(be.showAlgebraInput)&&!Tt(be.enableRightClick)&&(!be.appName||be.appName=="classic")?Ar+="webSimple/":Ar+="web3d/",ft(Ar,!1)},ft=function(Mt,_t){if(Mt.requirejs){Xe=Mt;return}Mt.slice(-1)!=="/"&&(Mt+="/"),Xe=Mt,_t===null&&(_t=Mt.indexOf("http")===-1),De=_t,qe="web.nocache.js",it=!1;var hn=Xe.split("/");hn.length>1&&(!_t&&hn[hn.length-2]==="webSimple"?(qe="webSimple.nocache.js",it=!0):Ge.indexOf(hn[hn.length-2])>=0&&(qe=hn[hn.length-2]+".nocache.js")),hn=Mt.split("/"),ot=hn[hn.length-3],ot.substr(0,4)==="test"?ot=ot.substr(4,1)+"."+ot.substr(5,1):(ot.substr(0,3)==="war"||ot.substr(0,4)==="beta")&&(ot="5.0");var Jn=parseFloat(ot);Jn!==NaN&&Jn<5&&Mt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Jn+" is deprecated. Using version latest instead."),Fe("5.0",_t))},sn=function(Mt,_t){window.console&&window.console.log&&(!_t||typeof _t.showLogging=="undefined"||_t.showLogging&&_t.showLogging!=="false")&&console.log(Mt)};be.material_id!==void 0?Et($t):$t();function $t(){var Mt=Yn;lt!==null?Mt=lt:parseFloat(Mt)<5&&(Mt="5.0"),Fe(Mt,!1),vt!==null&&ft(vt,De),We=!0}return lr},GGBAppletUtils=function(){"use strict";function lr(){return window.GGBT_wsf_edit!==void 0}function Yn(We,lt){lt!=1?(We.style.transformOrigin="0% 0% 0px",We.style.webkitTransformOrigin="0% 0% 0px",We.style.transform="scale("+lt+","+lt+")",We.style.webkitTransform="scale("+lt+","+lt+")",We.style.maxWidth="initial",We.querySelector(".ggb_preview")!==null&&(We.querySelector(".ggb_preview").style.maxWidth="initial"),We.querySelectorAll(".ggb_preview img")[0]!==void 0&&(We.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),We.querySelectorAll(".ggb_preview img")[1]!==void 0&&(We.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(We.style.transform="none",We.style.webkitTransform="none")}function be(We,lt,vt,ke,_e,xe){var Xe=null;if(xe!=null&&xe!="")for(var De=We.parentNode;De!=null;)if((" "+De.className+" ").indexOf(" "+xe+" ")>-1){Xe=De;break}else De=De.parentNode;var Qe=0,ot=0,qe=0,it=0,st=0,At=0,Qt=0;if(Xe)Qe=Xe.offsetWidth,ot=Math.max(ke?Xe.offsetWidth:0,Xe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Qe=Math.min(window.innerWidth,document.documentElement.clientWidth),ot=Math.min(window.innerHeight,document.documentElement.clientHeight),qe=Qe):(Qe=window.innerWidth,ot=window.innerHeight,qe=window.innerWidth),We){var pt=We.getBoundingClientRect();pt.left>0&&pt.left<=Qe&&(_e===void 0||!_e)&&(document.dir==="rtl"?(st=Qe-pt.width-pt.left,At=qe<=480?10:30):(At=pt.left,st=qe<=480?10:30),it=At+st)}if(We&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var St=We.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(it=40,Qt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(it=0,Qt=40)}}return We&&((vt===void 0||!vt)&<>0&<+it1&&(xe=!0)),lt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe=!0),!(We.hasOwnProperty("disableAutoScale")&&We.disableAutoScale))_e=ge(We,lt,xe,vt,We.scaleContainerClass);else return ke;return xe&&(!We.hasOwnProperty("scale")||ke===1)?_e:Math.min(ke,_e)}function ut(We){var lt=Math.min(window.innerWidth,document.documentElement.clientWidth),vt=Math.min(window.innerHeight,document.documentElement.clientHeight),ke=We.getBoundingClientRect(),_e=(lt-ke.width)/2,xe=(vt-ke.height)/2;xe<0&&(xe=0),We.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(_e<40?We.style.left="40px":We.style.left=_e+"px",We.style.top=xe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xe<40?We.style.top="40px":We.style.top=xe+"px",We.style.left=_e+"px")}function zt(We,lt){var vt=We.querySelector(".appletParameters");if(vt){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(lt.id!==vt.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(We)}if(vt.parentElement&&/fullscreen/.test(vt.parentElement.className))return;var ke=Lt(lt,We);lr()&&vt.setAttribute("data-param-scale",ke);for(var _e=null,xe=0;xe=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(lr){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(lr){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(lr){var Yn=c[lr];return Yn==null?null:Yn},r=d,webModule.__errFn=e}function B(){function lr(We){var lt=We.lastIndexOf(rb);lt==-1&&(lt=We.length);var vt=We.indexOf(sb);vt==-1&&(vt=We.length);var ke=We.lastIndexOf(tb,Math.min(vt,lt));return ke>=O?We.substring(O,ke+P):W}function Yn(We){if(!We.match(/^\w+:\/\//)){var lt=o.createElement(ub);lt.src=We+vb,We=lr(lt.src)}return We}function be(){var We=__gwt_getMetaProperty(wb);return We!=null?We:W}function ge(){for(var We=o.getElementsByTagName(_),lt=O;ltO?We[We.length-P].href:W}function ut(){var We=o.location;return We.href==We.protocol+zb+We.host+We.pathname+We.search+We.hash}var zt=be();return zt==W&&(zt=ge()),zt==W&&(zt=Lt()),zt==W&&ut()&&(zt=lr(o.location.href)),zt=Yn(zt),zt}function C(lr){return lr.match(/^\//)||lr.match(/^[a-zA-Z]+:\/\//)?lr:webModule.__moduleBase+lr}function D(){var lr=[],Yn=O,be=[],ge=[];function Lt(We){var lt=ge[We](),vt=be[We];if(lt in vt)return lt;var ke=[];for(var _e in vt)ke[vt[_e]]=_e;throw r&&r(We,ke,lt),null}if(__gwt_isKnownPropertyValue=function(We,lt){return lt in be[We]},webModule.__getPropMap=function(){var We={};for(var lt in be)be.hasOwnProperty(lt)&&(We[lt]=Lt(lt));return We},webModule.__computePropValue=Lt,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ut;try{ut=Cb;var zt=ut.indexOf(Db);zt!=-1&&(Yn=parseInt(ut.substring(zt+P),$),ut=ut.substring(O,zt))}catch(We){}return webModule.__softPermutationId=Yn,C(ut+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},79090:function(lr,Yn,be){"use strict";be.d(Yn,{Ax:function(){return zt},Ds:function(){return We},KI:function(){return vt},SI:function(){return ut},f1:function(){return Lt}});var ge=be(6521);function Lt(ke){let _e=!0;if(ke.length>0){for(let xe=0;xenew Promise((qe,it)=>{var st=pt=>{try{Qt(ot.next(pt))}catch(St){it(St)}},At=pt=>{try{Qt(ot.throw(pt))}catch(St){it(St)}},Qt=pt=>pt.done?qe(pt.value):Promise.resolve(pt.value).then(st,At);Qt((ot=ot.apply(De,Qe)).next())}),Xe=({data:De,className:Qe,fullWidth:ot,style:qe={},onClose:it,onOk:st,showFullTools:At,noAssociationId:Qt})=>{const pt=(0,ge.useRef)(null),St=(0,ge.useRef)(null),rt=(0,ge.useRef)(null),ze=(0,ge.useRef)(null),[gt,Et]=(0,ge.useState)(!1),[jt,mt]=(0,ge.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ge.useEffect)(()=>{rt.current||(rt.current=document.createElement("style"),document.head.appendChild(rt.current)),De!=null&&De.visible?(document.body.setAttribute("data-custom","y-hidden"),rt.current.innerHTML=" html { overflow-y: hidden; }",De!=null&&De.src&&Yt()):(document.body.removeAttribute("data-custom"),rt.current&&(document.head.removeChild(rt.current),rt.current=null))},[De==null?void 0:De.visible]);const Yt=()=>_e(void 0,null,function*(){Et(!0),mt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ln=yield(0,ke.ZJ)(De==null?void 0:De.src);pt.current.src="",pt.current.src=Ln,pt.current.onload=function(){un()},Et(!1),mt("")}),Tt=()=>{document.body.removeAttribute("data-custom"),rt.current.innerHTML=" ",it()},Xt=Ln=>_e(void 0,null,function*(){Et(!0),mt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Vt=yield(0,vt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:De.title,file:Ln.dataUrl}});Vt!=null&&Vt.id&&!Qt?(yield(0,vt.ZP)(`/api/attachments/${De.id}/add_subitem.json`,{method:"post",body:{subitem_id:Vt==null?void 0:Vt.id,settings:JSON.stringify(Ln.state)}})).status===0&&st():Vt!=null&&Vt.id&&st(Vt),document.body.removeAttribute("data-custom"),rt.current.innerHTML=" ",Et(!1),mt("")}),bt=()=>{const Ln=document.querySelector('a[href="https://markerjs.com/"]');Ln&&Ln.parentNode&&(Ln.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(nn=>{const Kt=document.querySelector(nn.name);Kt&&Kt.setAttribute("title",nn.title)})},un=()=>{St.current=new lt.hP(pt.current),St.current.targetRoot=ze.current,St.current.addEventListener("render",Xt),St.current.addEventListener("beforeclose",Tt),At&&(St.current.availableMarkerTypes=St.current.ALL_MARKER_TYPES,St.current.uiStyleSettings.redoButtonVisible=!0,St.current.uiStyleSettings.notesButtonVisible=!0,St.current.uiStyleSettings.zoomButtonVisible=!0,St.current.uiStyleSettings.zoomOutButtonVisible=!0,St.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=St.current.uiStyleSettings,St.current.show(),De!=null&&De.snapshotData&&St.current.restoreState(De.snapshotData),setTimeout(()=>{window.scrollTo(0,0),bt()},300)};return ge.createElement(ge.Fragment,null,(De==null?void 0:De.visible)&&ge.createElement(We.Z,{spinning:gt,tip:jt,style:{position:"absolute"}},ge.createElement("div",{ref:ze,className:zt()(Lt.imageDimensions,Qe,ot?Lt.fullWidth:""),style:qe},ge.createElement("img",{className:Lt.img,ref:pt}))))}},3315:function(lr,Yn,be){"use strict";var ge=be(59301),Lt=be(95237),ut=be(43604),zt=be(99313),We=be(3113),lt=be(39655),vt=be(18760),ke=be(48136),_e=be(59301);const xe=(0,ge.forwardRef)(({callback:Xe,showSaveButton:De,value:Qe=""},ot)=>{const qe=(0,ge.useRef)(),it=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],st=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],At=St=>{qe.current.setValue(qe.current.getValue()+" "+St.value+" ")},Qt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:_e.createElement(Lt.Z,{className:vt.Z.lists,gutter:[10,10]},it.map((St,rt)=>_e.createElement(ut.Z,{flex:"110px",className:vt.Z.item},_e.createElement("div",null,_e.createElement(lt.Z,{value:`$$${St.value}$$`}),St.name),_e.createElement("div",{className:vt.Z.children},St.children.map((ze,gt)=>_e.createElement("div",{key:gt},_e.createElement("h1",null,ze.name),_e.createElement(Lt.Z,{gutter:[10,10]},ze.data.map((Et,jt)=>_e.createElement(ut.Z,{key:jt,onClick:()=>At(Et),className:vt.Z.diamond},_e.createElement(lt.Z,{value:"`$$"+Et.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:_e.createElement(Lt.Z,{className:vt.Z.lists,gutter:[10,10]},st.map((St,rt)=>_e.createElement(ut.Z,{flex:"110px",className:vt.Z.item},_e.createElement("div",null,_e.createElement(lt.Z,{value:"`$$"+St.value+"$$`"}),St.name),_e.createElement("div",{className:vt.Z.children},St.children.map((ze,gt)=>_e.createElement("div",{key:gt},ze.name&&_e.createElement("h1",null,ze.name),_e.createElement(Lt.Z,{gutter:[10,10]},ze.data.map((Et,jt)=>_e.createElement(ut.Z,{key:jt,onClick:()=>At(Et),className:vt.Z.diamond},_e.createElement(lt.Z,{value:"`$$"+Et.value+"$$`"}))))))))))}],pt=()=>{var St=document.createElement("div");St.innerHTML=qe.current.getValue();var rt=St.innerText;return Xe&&Xe(rt),rt};return(0,ge.useImperativeHandle)(ot,()=>({getData:pt})),_e.createElement("div",{className:vt.Z.mathWrap},_e.createElement(zt.default,{defaultActiveKey:"1",items:Qt}),_e.createElement("math-field",{locale:"zh_cn",className:vt.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:qe,style:{width:800,marginTop:30,fontSize:18}},Qe||""),De&&_e.createElement("div",{className:vt.Z.button},_e.createElement(We.ZP,{size:"large",onClick:pt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Yn.Z=xe},67831:function(lr,Yn,be){"use strict";be.d(Yn,{h:function(){return St}});var ge=be(59301),Lt=be(57809),ut=be(78241),zt=be(3113),We=be(89780),lt=be.n(We),vt=be(14618),ke=be(66552),_e=Object.defineProperty,xe=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,qe=(rt,ze,gt)=>ze in rt?_e(rt,ze,{enumerable:!0,configurable:!0,writable:!0,value:gt}):rt[ze]=gt,it=(rt,ze)=>{for(var gt in ze||(ze={}))Qe.call(ze,gt)&&qe(rt,gt,ze[gt]);if(De)for(var gt of De(ze))ot.call(ze,gt)&&qe(rt,gt,ze[gt]);return rt},st=(rt,ze)=>xe(rt,Xe(ze));const At=Lt.default.Option,Qt={labelCol:{span:4},wrapperCol:{span:20}},pt={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Yn.Z=({callback:rt,onCancel:ze})=>{const[gt,Et]=(0,ge.useState)("python");function jt(Yt){Et(pt[Yt][1])}function mt(Yt){rt(Yt)}return ge.createElement(ut.default,st(it({},Qt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:mt,style:{width:500}}),ge.createElement(ut.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ge.createElement(Lt.default,{getPopupContainer:Yt=>Yt.parentNode,onChange:jt},Object.keys(pt).map(Yt=>ge.createElement(At,{key:Yt,value:Yt},pt[Yt][0])))),ge.createElement(ut.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ge.createElement(St,{mode:gt})),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(zt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(zt.ZP,{type:"ghost",onClick:ze},"\u53D6\u6D88")))};function St({value:rt,onChange:ze,mode:gt,options:Et={}}){const jt=(0,ge.useRef)(),[mt,Yt]=(0,ge.useState)();return(0,ge.useEffect)(()=>{if(mt){let Tt=function(Xt){const bt=Xt.getValue();ze&&ze(bt)};return mt.on("change",Tt),()=>{mt.off("change",Tt)}}},[mt,ze]),(0,ge.useEffect)(()=>{mt&&mt.setOption("mode",gt)},[mt,gt]),(0,ge.useEffect)(()=>{mt&&(rt!==mt.getValue()||rt==="")&&setTimeout(()=>{mt.setValue(rt||"")},300)},[mt,rt]),(0,ge.useEffect)(()=>{if(jt.current&&!mt){const Tt=lt().fromTextArea(jt.current,it({mode:gt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Et));Yt(Tt)}},[jt.current,mt]),ge.createElement("div",{className:"my-codemirror-container"},ge.createElement("textarea",{ref:jt}))}},40973:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Qi}});var ge=be(59301),Lt=be(89780),ut=be.n(Lt),zt=be(76374),We=be(14618),lt=be(6313),vt=be(25717),ke=be(99498),_e=be(25419),xe=be(67549),Xe=be(39655),De=({value:Bi="",className:Hi,showTextOnly:ci,showLines:Vr,style:ia={}})=>{const cn=(0,ge.useMemo)(()=>"",[Bi]);return ge.createElement(ge.Fragment,null,ge.createElement("div",{dangerouslySetInnerHTML:{__html:cn}}))},Qe=be(59301),ot=Object.defineProperty,qe=Object.defineProperties,it=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,pt=(Bi,Hi,ci)=>Hi in Bi?ot(Bi,Hi,{enumerable:!0,configurable:!0,writable:!0,value:ci}):Bi[Hi]=ci,St=(Bi,Hi)=>{for(var ci in Hi||(Hi={}))At.call(Hi,ci)&&pt(Bi,ci,Hi[ci]);if(st)for(var ci of st(Hi))Qt.call(Hi,ci)&&pt(Bi,ci,Hi[ci]);return Bi},rt=(Bi,Hi)=>qe(Bi,it(Hi));let ze=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function gt({onActionCallback:Bi,title:Hi,icon:ci,actionName:Vr,className:ia="",children:cn}){function tt(){Bi(Vr)}return Qe.createElement("a",{title:Hi,className:ia,onClick:tt},Qe.createElement("i",{className:`${ci}`}),cn)}var Et=({watch:Bi,showNullButton:Hi,showNullProgramButton:ci,onActionCallback:Vr,fullScreen:ia,insertTemp:cn,hidetoolBar:tt,extraUse:yt})=>{const ht=[...ze,{title:`${Bi?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Bi?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Qe.createElement("ul",{className:"markdown-toolbar-container"},!tt&&ht.map((dt,xt)=>Qe.createElement("li",{key:xt},dt.actionName?Qe.createElement(gt,rt(St({},dt),{onActionCallback:Vr})):Qe.createElement("span",{className:"v-line"}))),Hi?Qe.createElement("li",null,Qe.createElement(gt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Vr},Qe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,ci?Qe.createElement(Qe.Fragment,null,Qe.createElement("li",null,Qe.createElement(gt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Vr},Qe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Qe.createElement("li",null,Qe.createElement(gt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Vr},Qe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,cn&&Qe.createElement("li",null,Qe.createElement(gt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${cn}`,onActionCallback:Vr},Qe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),yt&&Qe.createElement("li",null,yt),Qe.createElement("li",{className:"btn-full-screen"},Qe.createElement(gt,{icon:`${ia?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ia?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Vr})))},jt=be(53531),mt=be(78241),Yt=be(92832),Tt=be(3113),Xt=Object.defineProperty,bt=Object.defineProperties,un=Object.getOwnPropertyDescriptors,Ln=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Kt=(Bi,Hi,ci)=>Hi in Bi?Xt(Bi,Hi,{enumerable:!0,configurable:!0,writable:!0,value:ci}):Bi[Hi]=ci,Ge=(Bi,Hi)=>{for(var ci in Hi||(Hi={}))Vt.call(Hi,ci)&&Kt(Bi,ci,Hi[ci]);if(Ln)for(var ci of Ln(Hi))nn.call(Hi,ci)&&Kt(Bi,ci,Hi[ci]);return Bi},Fe=(Bi,Hi)=>bt(Bi,un(Hi));const ft={labelCol:{span:4},wrapperCol:{span:20}};var sn=({callback:Bi,onCancel:Hi})=>{function ci(Vr){Bi(Vr)}return ge.createElement(mt.default,Fe(Ge({},ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ci,style:{width:500}}),ge.createElement(mt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ge.createElement(Yt.default,null)),ge.createElement(mt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ge.createElement(Yt.default,null)),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Tt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Tt.ZP,{type:"ghost",onClick:Hi},"\u53D6\u6D88")))},$t=be(67831),Mt=be(58448),_t=be(43418),hn=be(95237),Jn=be(15868),Kn=be(59301),Ar=({callback:Bi,onCancel:Hi})=>{const ci=document.createElement("canvas"),Vr=ci.getContext("2d");ci.width=1e3,ci.height=800,Vr.fillStyle="#ffffff",Vr.fillRect(0,0,ci.width,ci.height);const ia=ci.toDataURL("image/png");return Kn.createElement(_t.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Kn.createElement(hn.Z,{style:{height:"100vh"}},Kn.createElement(Jn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ia,visible:!0,title:String(Date.now())},onOk:cn=>{Bi({src:cn.url})},onClose:Hi})))},ln=be(8591),on=be(43428),vn=be(43604),Ue={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},we=be(59301),Ee=(0,ge.forwardRef)(({onCancel:Bi,editImgId:Hi,callback:ci},Vr)=>{let ia=(0,ge.useRef)(),cn=(0,ge.useRef)(),tt=(0,ge.useRef)(),yt=(0,ge.useRef)(!1);const ht=(0,ge.useRef)(!1);console.log("ref:",Vr);const[dt,xt]=(0,ge.useState)(0),[Gt,Fn]=(0,ge.useState)("100vh");(0,ge.useEffect)(()=>{xt(1);try{indexedDB.databases().then(or=>{or.forEach(Sr=>indexedDB.deleteDatabase(Sr.name))})}catch(or){}},[]),(0,ge.useEffect)(()=>(window.addEventListener("message",jn),()=>{window.removeEventListener("message",jn)}),[]),(0,ge.useImperativeHandle)(Vr,()=>({setHeight:Fn}));const Mn=or=>{window.saveDrawData(Sr=>{if(Sr===null&&!or){ln.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}ln.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),ci({src:`/api/attachments/${Sr}`,id:Sr,disabledClose:!0})})},jn=or=>{var Sr;((Sr=or==null?void 0:or.data)==null?void 0:Sr.type)==="closePop"&&Mn(!0)};return we.createElement("div",{ref:ht,className:"body-overflow-initial"},we.createElement(on.Z,{width:"100vw",height:Gt,footer:null,closable:!0,placement:"bottom",open:!!dt,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${Ue.drawerWrap}`,onClose:()=>{window.saveDrawData(or=>{ci({src:`/api/attachments/${or}`,id:or})})},title:we.createElement(hn.Z,{align:"middle"},we.createElement(vn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),we.createElement(vn.Z,{onClick:()=>{Fn(Gt==="60px"?"100vh":"60px")}},we.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),we.createElement(vn.Z,{onClick:Mn},we.createElement(Tt.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},we.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Hi||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:cn})))}),Me=be(6521),me=be(5112),$e=be(5871);const Pt=me.ZP.Group,an={margin:"0 8px"};var An=({callback:Bi,onCancel:Hi})=>{function ci(Vr){Bi(Vr)}return ge.createElement(mt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ci},ge.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ge.createElement("span",{style:an},"\u5355\u5143\u683C\u6570\uFF1A"),ge.createElement("span",{style:an},"\u884C\u6570"),ge.createElement(mt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ge.createElement($e.Z,null)),ge.createElement("span",{style:an},"\u5217\u6570"),ge.createElement(mt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ge.createElement($e.Z,null))),ge.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ge.createElement("span",{style:an},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ge.createElement(mt.default.Item,{name:"align"},ge.createElement(Pt,null,ge.createElement(me.ZP,{value:"default"},ge.createElement("i",{className:"fa fa-align-justify"})),ge.createElement(me.ZP,{value:"left"},ge.createElement("i",{className:"fa fa-align-left"})),ge.createElement(me.ZP,{value:"center"},ge.createElement("i",{className:"fa fa-align-center"})),ge.createElement(me.ZP,{value:"right"},ge.createElement("i",{className:"fa fa-align-right"}))))),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Tt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Tt.ZP,{type:"ghost",onClick:Hi},"\u53D6\u6D88")))},In=be(78673),En=be(3352),Pn=be.n(En),Cr=(0,ge.forwardRef)(({use3d:Bi,width:Hi,height:ci,callback:Vr,showSaveButton:ia},cn)=>{const tt=(0,ge.useRef)(),yt=(0,ge.useRef)(),[ht,dt]=(0,ge.useState)(!1),xt=(0,ge.useRef)({id:tt,appName:"graphing",width:Hi||1e3,height:ci||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ge.useEffect)(()=>{yt.current=new(Pn())(xt.current,!0),window.onload=function(){yt.current.inject("applet_container")}},[]);const Gt=()=>{var Fn=window.ggbApplet.getPNGBase64(1,!0,72);return Vr&&Vr(Fn),Fn};return(0,ge.useEffect)(()=>{xt.current.appName=ht?"3D":"graphing",yt.current.inject("applet_container")},[ht]),(0,ge.useEffect)(()=>{dt(Bi)},[Bi]),(0,ge.useImperativeHandle)(cn,()=>({getImgData:Gt})),ge.createElement(ge.Fragment,null,ge.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:tt}),ge.createElement(hn.Z,{align:"middle"},ge.createElement(vn.Z,{flex:1},ge.createElement(In.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ht,onChange:Fn=>dt(Fn)})),ge.createElement(vn.Z,null,ge.createElement(Tt.ZP,{size:"large",onClick:Gt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Bt=be(3315),dn=be(1012);const _n="link",Ot="upload-image",nt="add-flowchart",Ft="draw-image",Tn="add-flowchart",Vn="code-block",tr="add-table",jr="------------",Nr={default:jr,left:`:${jr}`,center:`:${jr}:`,right:`${jr}:`};var Kr=be(57649),kr=(Bi,Hi,ci)=>new Promise((Vr,ia)=>{var cn=ht=>{try{yt(ci.next(ht))}catch(dt){ia(dt)}},tt=ht=>{try{yt(ci.throw(ht))}catch(dt){ia(dt)}},yt=ht=>ht.done?Vr(ht.value):Promise.resolve(ht.value).then(cn,tt);yt((ci=ci.apply(Bi,Hi)).next())});function dr(){}let pr=0;const zr=1e4,mi="\u2581",si="@\u2581\u2581@",xa="@\u2581@",Ti=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Wi=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Wr(Bi){return/^\d+$/.test(Bi)?`${Bi}px`:Bi}const Oi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Yi={[Oi+"-B"]:"bold",[Oi+"-I"]:"italic"},Da={[_n]:"\u6DFB\u52A0\u94FE\u63A5",[Vn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ot]:"\u6DFB\u52A0\u56FE\u7247",[Ft]:"\u6DFB\u52A0\u753B\u56FE",[nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[tr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Qi=({defaultValue:Bi="",onChange:Hi,width:ci="100%",height:Vr=400,miniToolbar:ia=!1,isFocus:cn=!1,watch:tt,insertTemp:yt,mode:ht="markdown",id:dt="markdown-editor-id",showResizeBar:xt=!1,noStorage:Gt=!1,showNullButton:Fn=!1,showNullProgramButton:Mn=!1,hidetoolBar:jn=!1,fullScreen:or=!1,onBlur:Sr,onCMBeforeChange:Pr,onFullScreen:Qn,className:mr="",disablePaste:vi=!1,disabled:qr=!1,disabledFill:Mi=!1,placeholder:pi="",values:Xi="",extraUse:Dr,onAddBlank:Ri})=>{const[tn,Xn]=(0,ge.useState)(null),[Gn,yr]=(0,ge.useState)(Bi),[$n,cr]=(0,ge.useState)(tt),[rr,Qr]=(0,ge.useState)(or),[Yr,ui]=(0,ge.useState)(""),[$i,oa]=(0,ge.useState)(0),[Ba,ca]=(0,ge.useState)(Vr),[Ji,Ma]=(0,ge.useState)(!1),Ca=(0,ge.useRef)((0,dn.Z)()),ga=(0,ge.useRef)(!1),Pi=(0,ge.useRef)(),[aa,ma]=(0,ge.useState)(0),[Vi,Oa]=(0,ge.useState)(0),so=(0,ge.useRef)(),ua=(0,ge.useRef)(),Ai=(0,ge.useRef)(),Xr=(0,ge.useRef)(),na=(0,ge.useRef)(),qi=(0,ge.useRef)(),fa=()=>kr(void 0,null,function*(){var Ni;const Fi=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ca.current}});(Ni=Fi==null?void 0:Fi.attachments)!=null&&Ni.length&&(console.log("cm:",tn,so),Fi.attachments.map(ki=>{ki.content_type.indexOf("image")>-1?tn.replaceSelection(`![,](/api/attachments/${ki.id}?type=${ki.content_type})`):ki.content_type.indexOf("video")>-1?tn.replaceSelection(``):ki.content_type.indexOf("pdf")>-1?tn.replaceSelection(`${ki.name}`):tn.replaceSelection(`[${ki.name}](${Me.Z.API_SERVER}/api/attachments/${ki.id}?type=${ki.content_type})`)}))});(0,ge.useEffect)(()=>{const Ni=window.scrollY||window.pageYOffset;yr(Xi),tn==null||tn.setValue(Xi),window.scrollTo(0,Ni)},[Xi]),(0,ge.useEffect)(()=>{Qn==null||Qn(rr)},[rr]),(0,ge.useEffect)(()=>{if(so.current){let Ni=function(ki,zi){var ao;if(vi){zi.preventDefault();return}const ns=zi.clipboardData;if(ns){const No=ns.types.toString(),So=ns.items;if(No==="Files"||ns.types.indexOf("Files")>-1){if(zi.preventDefault(),ht=="stex")return;try{let mo=So[1];((ao=So[0])==null?void 0:ao.kind)==="file"&&(mo=So[0]);const Go=mo.getAsFile(),Us=Go.name.split(".").pop();(0,Mt.I)(Go,bs=>{var Cl,ol,Is;bs.id?((Cl=Go==null?void 0:Go.type)==null?void 0:Cl.indexOf("image"))>-1?Fi.replaceSelection(``):((ol=Go==null?void 0:Go.type)==null?void 0:ol.indexOf("video"))>-1?Fi.replaceSelection(``):((Is=Go==null?void 0:Go.type)==null?void 0:Is.indexOf("pdf"))>-1?Fi.replaceSelection(`${Go.name}`):Wi.includes(Us)?Fi.replaceSelection(`${Go.name}`):Fi.replaceSelection(`[${Go.name}](/api/attachments/${bs.id}?type=${bs.content_type})`):(bs==null?void 0:bs.status)===401&&(ln.ZP.warning((bs==null?void 0:bs.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(mo){ln.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Fi=ut().fromTextArea(so.current,{mode:ht,lineNumbers:!ia,lineWrapping:!0,value:Bi,autoCloseTags:!Mn,autoCloseBrackets:!0});return Fi.on("keyup",function(ki,zi){zi.keyCode===8&&(ki.getValue()==""?Fi.setOption("placeholder",pi):Fi.setOption("placeholder",null))}),Fi.on("keydown",function(ki,zi){if(zi.keyCode===8){var ao=_a(ki);ao&&zi.preventDefault()}}),cn&&Fi.focus(),Fi.on("paste",Ni),Fi.on("dragleave",function(ki,zi){ua.current.classList.remove("mouse-hover-md")}),qr&&Fi.on("beforeChange",function(ki,zi){(zi.origin==="paste"||zi.origin==="+input")&&zi.cancel()}),Xn(Fi),()=>{Fi.off("paste",Ni)}}},[]);const Qa=(0,ge.useCallback)(()=>{if(ua.current)try{}catch(Ni){console.log(Ni,"---- to set md editor body height")}},[Ba,ua,rr]);(0,ge.useEffect)(()=>{function Ni(){let Fi=new zt.Z(ki=>{for(let zi of ki)(zi.target.offsetHeight>0||zi.target.offsetWidth>0)&&(Qa(),tn.setSize("100%","100%"),tn.refresh())});return Fi.observe(so.current.parentElement),Fi}if(tn){const Fi=Ni();return()=>{var ki,zi;(ki=so.current)!=null&&ki.parentElement&&Fi.unobserve((zi=so.current)==null?void 0:zi.parentElement)}}},[tn,Qa]),(0,ge.useEffect)(()=>{if(tn){let Ni=[];for(const[Fi,ki]of Object.entries(Yi)){let zi={[Fi]:()=>{co(ki)}};Ni.push(zi),tn.addKeyMap(zi)}return Pi.current=setInterval(()=>{ga.current&&fa()},4e3),()=>{clearInterval(Pi.current);for(let Fi of Ni)tn.removeKeyMap(Fi)}}},[tn]),(0,ge.useEffect)(()=>{or!==rr&&Qr(or)},[or]),(0,Kr.Z)(()=>{if(!Gt&&$i>0){let Ni=new Date().getTime(),Fi=window.sessionStorage.getItem(dt);Ni>=$i+zr&&(!Fi||Fi!==Gn)&&(window.sessionStorage.setItem(dt,Gn),Ma(!0))}},zr),(0,ge.useEffect)(()=>{cr(tt)},[tn,tt]),(0,ge.useEffect)(()=>{tn&&cn&&tn.focus()},[tn,cn]),(0,ge.useEffect)(()=>{if($n&&tn){let Ni=function(ki){let zi=ki.target;if(Xr.current){let ao=zi.scrollTop/zi.scrollHeight;Xr.current.scrollTop=Xr.current.scrollHeight*ao}};const Fi=tn.getScrollerElement();return Fi.addEventListener("scroll",Ni),()=>{Fi.removeEventListener("scroll",Ni)}}},[tn,$n]),(0,ge.useEffect)(()=>{if(tn&&Pr){let Ni=function(Fi,ki){Pr(Fi,ki)};return tn.on("beforeChange",Ni),()=>{tn.off("beforeChange",Ni)}}},[tn,Pr]),(0,ge.useEffect)(()=>{if(tn&&Sr){let Ni=function(){Sr(tn.getValue())};return tn.on("blur",Ni),()=>{tn.off("blur",Ni)}}},[tn,Sr]);function _a(Ni,Fi){var ki=Ni.getDoc(),zi=ki.getCursor(),ao=ki.getLine(zi.line),ns=ao.charAt(zi.ch-1),No=ao.lastIndexOf("@\u2581@",zi.ch),So=ao.lastIndexOf("@\u2581\u2581@",zi.ch),mo=No>So?No:So,Go=No>So?3:4;if(si.indexOf(ns)===-1)return null;if(console.log("change1:",Fi,Ni,ao,zi,mo,No,So,ns),mo>=0&&zi.ch-mo<5){var Us=mo+Go;return ki.replaceRange("",{line:zi.line,ch:mo},{line:zi.line,ch:Us}),{line:zi.line,ch:Us}}return null}(0,ge.useEffect)(()=>{if(tn){let Ni=function(Fi,ki){const zi=Fi.getValue();yr(zi),oa(new Date().getTime()),Fi.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Hi&&(Mn?Hi(zi,$s(zi)):Hi(zi))};return tn.on("change",Ni),()=>{tn.off("change",Ni)}}},[tn,Hi]),(0,ge.useEffect)(()=>{if(tn)if(Bi==null)tn.setValue(""),yr("");else{const Ni=window.scrollY||window.pageYOffset;Bi!==tn.getValue()&&(tn.setValue(Bi),yr(Bi),tn.setCursor(qr?1:tn.lineCount(),0),window.scrollTo(0,Ni))}},[tn,Bi]);const co=(0,ge.useCallback)(Ni=>{const Fi=tn.getCursor(),ki=tn.getSelection();let zi=ki.split(` `);switch(Ni){case"bold":return tn.replaceSelection("**"+ki+"**"),ki===""&&tn.setCursor(Fi.line,Fi.ch+2),tn.focus();case"italic":return tn.replaceSelection("*"+ki+"*"),ki===""&&tn.setCursor(Fi.line,Fi.ch+1),tn.focus();case"code":return tn.replaceSelection("`"+ki+"`"),ki===""&&tn.setCursor(Fi.line,Fi.ch+1),tn.focus();case"inline-latex":return ui("inline-latex"),tn.focus();case"latex":return tn.replaceSelection("```latex\n"+ki+"\n```"),tn.setCursor(Fi.line+1,ki.length+1),tn.focus();case"line-break":return tn.replaceSelection(`
`),tn.focus();case"list-ul":return ki===""?tn.replaceSelection("- "+ki):tn.replaceSelection(zi.map(ao=>ao===""?"":`- ${ao}`).join(` `)),tn.focus();case"list-ol":return ki===""?tn.replaceSelection("1. "+ki):tn.replaceSelection(zi.map((ao,ns)=>ao===""?"":`${ns+1}. ${ao}`).join(` `)),tn.focus();case"add-null-ch":Ri==null||Ri();return;case"add-signal":return ki===""&&tn.setCursor(Fi.line,Fi.ch),tn.replaceSelection(xa),tn.focus();case"add-multiple":return ki===""&&tn.setCursor(Fi.line,Fi.ch),tn.replaceSelection(si),tn.focus();case"inster-template-1":return ki===""&&tn.setCursor(Fi.line,Fi.ch),tn.replaceSelection(Ti),tn.focus();case"eraser":return tn.setValue(""),tn.focus();case"trigger-watch":return cr(!$n),tn.focus();case"trigger-full-screen":return Qr(!rr),tn.focus();case _n:ui(_n);return;case Vn:ui(Vn);return;case Ot:ui(Ot);return;case Ft:ui(Ft);return;case"maths-latex":ui("maths-latex");return;case nt:na.current="",sessionStorage.removeItem("file_id"),ui(nt);return;case tr:ui(tr);return;default:throw new Error}},[tn,$n,rr]),za=(0,ge.useCallback)((Ni,Fi)=>{var ki,zi,ao,ns,No,So;ui("");const{src:mo,alt:Go,id:Us}=Ni||{};switch(Yr){case _n:const{title:bc,link:Ul}=Ni;return tn.replaceSelection(`[${bc}](${Ul})`),tn.focus();case Vn:const{language:Ml,content:hr}=Ni;return tn.replaceSelection(["```"+Ml,hr,"```"].join(` `)),tn.focus();case"maths-latex":for(var bs=atob(Ni),Cl=new Uint8Array(bs.length),ol=0;ol{Si.id?tn.replaceSelection(`![,](/api/attachments/${Si.id}?type=${Si.content_type})`):(Si==null?void 0:Si.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":tn.replaceSelection("`$$"+Ni+"$$`");break;case Tn:if(!Us)return;tn.focus(),tn.getValue().indexOf(mo)===-1?tn.replaceSelection(`
${Go||
`):document.getElementById(Us).src=Me.Z.API_SERVER+mo+"?t="+Date.now();try{setTimeout(()=>{Sr(tn.getValue())},100)}catch(Si){}break;case Ot:case Ft:const zn=Fi,Hn=(ao=(zi=(ki=zn==null?void 0:zn.name)==null?void 0:ki.split("."))==null?void 0:zi.pop)==null?void 0:ao.call(zi);return((ns=zn==null?void 0:zn.type)==null?void 0:ns.indexOf("image"))>-1||!(zn!=null&&zn.type)?zn!=null&&zn.align||zn!=null&&zn.width?tn.replaceSelection(`

${Go||

`):tn.replaceSelection(`${Go||`):((No=zn==null?void 0:zn.type)==null?void 0:No.indexOf("video"))>-1?tn.replaceSelection(``):((So=zn==null?void 0:zn.type)==null?void 0:So.indexOf("pdf"))>-1?tn.replaceSelection(`${zn.name}`):Wi.includes(Hn)?tn.replaceSelection(`${zn.name}`):tn.replaceSelection(`[${zn.name}](${mo})`),tn.focus();case tr:const{row:Tr,col:ei,align:ai}=Ni;let Er=` `;for(let Si=0;Si{switch(Yr){case _n:return ge.createElement(sn,{callback:za,onCancel:ji});case Vn:return ge.createElement($t.Z,{callback:za,onCancel:ji});case Ot:return ge.createElement(Mt.Z,{callback:za,onCancel:ji});case nt:return ge.createElement(Ee,{editImgId:na.current,callback:za,onCancel:ji});case tr:return ge.createElement(An,{callback:za,onCancel:ji});case"maths-latex":return ge.createElement(Cr,{showSaveButton:!0,callback:za});case"inline-latex":return ge.createElement(Bt.Z,{showSaveButton:!0,callback:za});default:return null}},[Yr]);function ji(){ui("")}(0,ge.useEffect)(()=>{if(Ai.current){let Ni=function(No){ao=!0,ns=No.pageY},Fi=function(){ao=!1},ki=function(No){if(ao){let So=No.pageY-ns;So<0&&(So=0),So>300&&(So=300);let mo=Vr+So+"px";ca(mo)}},zi=Ai.current,ao=!1,ns=0;return zi.addEventListener("mousedown",Ni),document.addEventListener("mousemove",ki),document.addEventListener("mouseup",Fi),()=>{zi.removeEventListener("mousedown",Ni),document.removeEventListener("mousemove",ki),document.removeEventListener("mouseup",Fi)}}},[tn,Ai]),(0,ge.useEffect)(()=>{ca(Vr)},[Vr]);const Ui=Wr(ci),Na=Wr(Ba),Ua={width:Ui,height:Na},Fo=(0,ge.useMemo)(()=>{if($i){let Ni=new Date($i),Fi=Ni.getHours(),ki=Ni.getMinutes(),zi=Ni.getSeconds();return Fi=Fi<10?"0"+Fi:Fi,ki=ki<10?"0"+ki:ki,zi=zi<10?"0"+zi:zi,`${Fi}:${ki}:${zi}`}return 0},[$i]),$s=Ni=>{const Fi=[];if(Mn){let ki=-1;Ni=Ni.replace(/(@▁▁@|@▁@)/g,function(zi,ao,ns){Fi.push({multiLine:zi!==xa})})}return Fi};function Oo(){window.sessionStorage.removeItem(dt),Ma(!1),oa(0)}function Ao(){Ma(!1),oa(0),tn.setValue(window.sessionStorage.getItem(dt))}(0,ge.useEffect)(()=>{Da[Yr]&&Yr!==Ft&&Yr!==nt&&setTimeout(()=>{const Ni=document.getElementsByClassName("markdown-popup-form")[0],Fi=window.innerWidth/2-Ni.offsetWidth/2,ki=window.innerHeight/2-Ni.offsetHeight/2;ma(Fi),Oa(ki)},0)},[Yr]);const zo=Ni=>{Ni.preventDefault();const Fi=Ni.clientX-aa,ki=Ni.clientY-Vi;document.body.onmousemove=zi=>{let ao=zi.clientX-Fi,ns=zi.clientY-ki;const No=document.getElementsByClassName("markdown-popup-form")[0],So=window.innerWidth-No.offsetWidth,mo=window.innerHeight-No.offsetHeight;ao=Math.max(0,Math.min(ao,So)),ns=Math.max(0,Math.min(ns,mo)),ts(zi.clientX,zi.clientY,Fi,ki)&&(ma(ao),Oa(ns))},document.body.onmouseup=function(){document.body.onmousemove=null}},ts=(Ni,Fi,ki,zi)=>{const ao=document.body.clientHeight,ns=document.body.clientWidth;return Ni<20&&ki>Ni||Ni>ns-20&&kiFi||Fi>ao-20&&zi{var Fi;na.current=Ni,(Fi=qi.current)==null||Fi.setHeight("100vh"),setTimeout(()=>{ui("add-flowchart")},150)}})):null))),xt?ge.createElement("a",{ref:Ai,className:"editor-resize"}):null,Yr===Ft&&ge.createElement(Ar,{callback:za,onCancel:ji}),Yr===nt&&ge.createElement(Ee,{ref:qi,editImgId:na.current,callback:za,onCancel:ji}),ge.createElement(jt.Z,null,Da[Yr]&&Yr!==Ft&&Yr!==nt?ge.createElement(_t.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:aa,top:Vi},title:ge.createElement("div",{style:{cursor:"move"},onMouseDown:zo},Da[Yr]),open:!0,onCancel:ji,footer:null,destroyOnClose:!0,width:Yr===nt?"1200px":null,height:Yr===nt?"80vh":null,className:"markdown-popup-form"},Ko):null))}},58448:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return gt},I:function(){return jt}});var ge=be(78241),Lt=be(8591),ut=be(92832),zt=be(81327),We=be(5871),lt=be(5112),vt=be(3113),ke=be(79090),_e=be(59301),xe=be(7544),Xe=be(59301),De=Object.defineProperty,Qe=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,At=(mt,Yt,Tt)=>Yt in mt?De(mt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):mt[Yt]=Tt,Qt=(mt,Yt)=>{for(var Tt in Yt||(Yt={}))it.call(Yt,Tt)&&At(mt,Tt,Yt[Tt]);if(qe)for(var Tt of qe(Yt))st.call(Yt,Tt)&&At(mt,Tt,Yt[Tt]);return mt},pt=(mt,Yt)=>Qe(mt,ot(Yt));const{useForm:St}=ge.default,rt={width:280,marginRight:10},ze={labelCol:{span:5},wrapperCol:{span:19}};var gt=({callback:mt,onCancel:Yt})=>{const[Tt]=St();let Xt=(0,_e.useRef)();function bt(Vt){Xt.current.width=Tt.getFieldValue("width"),Xt.current.align=Tt.getFieldValue("align"),mt(Vt,Xt.current)}function un(Vt,nn){if(Vt.status===-1){Lt.ZP.error(Vt.message);return}Tt.setFieldsValue({src:`/api/attachments/${Vt.id}`,type:nn.type})}function Ln(Vt){let nn=Vt.target.files[0];Xt.current=nn,jt(nn,un)}return Xe.createElement(ge.default,pt(Qt({form:Tt},ze),{className:"upload-image-panel",onFinish:bt,style:{width:470,overflow:"hidden"}}),Xe.createElement(ge.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Xe.createElement("div",{className:"flex-container"},Xe.createElement(ge.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Xe.createElement(ut.default,{style:rt})),Xe.createElement(Et,{onFileChange:Ln}))),Xe.createElement(ge.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Xe.createElement(ut.default,{style:{width:264}})),Xe.createElement(ge.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Xe.createElement(zt.Z,null,Xe.createElement(ge.default.Item,{name:"width",style:{margin:0}},Xe.createElement(We.Z,{style:{width:264}})),Xe.createElement("span",{className:"ml8"},"%"))),Xe.createElement(ge.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Xe.createElement(lt.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Xe.createElement("aside",null,Xe.createElement(ge.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Xe.createElement(vt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Xe.createElement(vt.ZP,{type:"default",onClick:Yt},"\u53D6\u6D88"))))};function Et({onFileChange:mt}){return Xe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Xe.createElement("input",{type:"file",onChange:mt}))}function jt(mt,Yt){if(!mt)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,xe.bg)())throw Lt.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Tt=new FormData;Tt.append("editormd-image-file",mt),Tt.append("file_param_name","editormd-image-file"),Tt.append("byxhr","true");var Xt=new window.XMLHttpRequest;Xt.withCredentials=!0,Xt.addEventListener("load",function(bt){Yt(JSON.parse(bt.target.responseText),mt)},!1),Xt.addEventListener("error",function(bt){console.error(bt)},!1),Xt.open("POST",`${ke.KI}/api/attachments.json`),Xt.send(Tt)}},53531:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ut}});var ge=be(59301),Lt=be(4676);class ut extends ge.Component{constructor(We){super(We);const lt=window.document;this.node=lt.createElement("div"),lt.body.appendChild(this.node)}render(){const{children:We}=this.props;return(0,Lt.createPortal)(We,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},26073:function(lr,Yn,be){"use strict";be.d(Yn,{i:function(){return ze},Z:function(){return Et}});var ge={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},Lt=be(71418),ut=be(6848),zt=be(93948),We=be(92310),lt=be.n(We),vt=be(25544),ke=be(18540),_e=be(7544),xe=be(79005),Xe=be(20345),De=be(77882),Qe=be(31081),ot=be(75309),qe=be(71979),it=be(47558),st=be(42922),At=be(66832),Qt=be(96593),pt=be(19664),St=be(91833),rt=be(59301);const ze=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:xe,swimg:Xe},{name:"101\u8BA1\u5212",ptimg:De,swimg:Qe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ot,swimg:qe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:it,swimg:st},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:At,swimg:Qt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:St}];var Et=({className:jt,dataSource:mt=[],col:Yt=4,right:Tt,bottom:Xt=23,precision:bt=0,wrapWidth:un=1200,trackEventItems:Ln,loading:Vt,onRemove:nn=()=>{},isCurrent:Kt=!0,showAlias:Ge=!1,showProgress:Fe=!1})=>{const ft=Math.floor((un-(Yt-1)*Tt)/Yt),sn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map($t=>(window.ENV==="build"&&($t.ptimg=`/react/build${$t.ptimg}`,$t.swimg=`/react/build${$t.swimg}`),$t));return rt.createElement(Lt.Z,{spinning:Vt},rt.createElement("div",{className:lt()(ge.list,jt)},!!(mt!=null&&mt.length)&&(mt==null?void 0:mt.map(($t,Mt)=>{var _t,hn,Jn,Kn,Ar,ln;const{name:on,id:vn,identifier:Ue,featured:we,school_name:pe,image_url:Ee,excellent:Me,is_plan:me}=$t;return rt.createElement("div",{key:vn,className:Kt&&Fe?ge.wrapisCurrent:ge.wrap,style:{width:ft,marginRight:(1+Mt)%Yt===0?0:Tt+bt,marginBottom:Xt}},rt.createElement("a",{className:ge.li,onClick:$e=>{$e.preventDefault(),$e.stopPropagation(),Ln&&(0,vt.L9)([Ln]),(0,vt.xg)(`/paths/${Ue}`)}},rt.createElement("div",{className:ge.img},rt.createElement("img",{className:ge.cover,src:`${Ee}`}),Kt&&(0,_e.bg)()&&($t==null?void 0:$t.studying)&&rt.createElement("div",{className:`${ge.movebq} user-path-items`,onClick:$e=>{$e.stopPropagation(),nn($t)}},rt.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),rt.createElement("span",{className:"c-red"},"\u79FB\u9664")),(_t=$t==null?void 0:$t.subject_tags)==null?void 0:_t.map(($e,Pt)=>{var an,An;if(Pt===0){const En=(an=sn.find(Pn=>Pn.name==$e))==null?void 0:an.swimg;return rt.createElement("img",{className:ge.sign,src:En,style:{left:"-4px"}})}const In=(An=sn.find(En=>En.name==$e))==null?void 0:An.ptimg;return rt.createElement("img",{className:ge.sign,src:In,style:{left:`${48+52*(Pt-1)+2*Pt}px`}})}),rt.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},($t==null?void 0:$t.excellent)&&rt.createElement("div",{className:ge.bq},"\u5F00\u653E\u8BFE\u7A0B"))),rt.createElement("div",{className:ge.name},rt.createElement(ut.Z,{title:Ge&&($t!=null&&$t.excellent_alias_name)?rt.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${on}`,rt.createElement("br",null),rt.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${$t==null?void 0:$t.excellent_alias_name}`)):on},rt.createElement("span",{className:ge.e},Ge&&($t==null?void 0:$t.excellent_alias_name)||on))),Kt&&Fe&&((hn=$t==null?void 0:$t.progress)==null?void 0:hn.all_score)!=0&&rt.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},rt.createElement(zt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Jn=$t==null?void 0:$t.progress)==null?void 0:Jn.my_score)/((Kn=$t==null?void 0:$t.progress)==null?void 0:Kn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ar=$t==null?void 0:$t.progress)==null?void 0:Ar.my_score,"/",(ln=$t==null?void 0:$t.progress)==null?void 0:ln.all_score),(!Kt||!Fe)&&rt.createElement("div",{className:ge.tags},rt.createElement("div",null,rt.createElement(ut.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},rt.createElement("span",null,rt.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),rt.createElement("span",null,$t.stages_count))),rt.createElement(ut.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},rt.createElement("span",null,rt.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),rt.createElement("span",null,$t.members_count)))))))})),!mt.length&&rt.createElement(ke.Z,null)))}},23579:function(lr,Yn,be){"use strict";be.d(Yn,{jL:function(){return We},w9:function(){return Da},vv:function(){return tt},dN:function(){return ci},QD:function(){return ma},cQ:function(){return Pt.Z},vg:function(){return Wi},Oz:function(){return pr},op:function(){return Ji},O5:function(){return $s},_b:function(){return Xr},t7:function(){return Xt},tT:function(){return Ln},Gi:function(){return Qn},YG:function(){return xt},Ed:function(){return Sr},kT:function(){return Mn},qp:function(){return st},Um:function(){return ze},K3:function(){return pt},vr:function(){return so},qE:function(){return ga},Je:function(){return Kt},wb:function(){return ln},rC:function(){return $e},lB:function(){return Ue},cq:function(){return Xi},kO:function(){return Xn},tp:function(){return jt},Si:function(){return zo},k8:function(){return Ml},Du:function(){return No}});var ge=be(59301),Lt={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qs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akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",We=({dataSource:hr=[],img:zn,imgWidth:Hn=346,title:Tr,sunTitle:ei,bannerExtraContent:ai})=>ge.createElement("div",{className:Lt.banner},ge.createElement("div",{className:Lt.content},ge.createElement("aside",null,ge.createElement("p",null,ge.createElement("b",null,Tr),ge.createElement("span",null,ei)),hr.length>0&&ge.createElement("div",{className:Lt.btns},hr.map((Er,Si)=>ge.createElement("div",{key:Si,onClick:Er.click},Er.name,Er.sign?ge.createElement("img",{src:ut,width:39}):null))),ai),zn&&ge.createElement("img",{style:{marginTop:33,marginRight:38},src:zn,width:Hn}))),lt={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},vt=be(92310),ke=be.n(vt),_e=be(78267),xe=Object.defineProperty,Xe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,ot=(hr,zn,Hn)=>zn in hr?xe(hr,zn,{enumerable:!0,configurable:!0,writable:!0,value:Hn}):hr[zn]=Hn,qe=(hr,zn)=>{for(var Hn in zn||(zn={}))De.call(zn,Hn)&&ot(hr,Hn,zn[Hn]);if(Xe)for(var Hn of Xe(zn))Qe.call(zn,Hn)&&ot(hr,Hn,zn[Hn]);return hr},st=({dataSource:hr=[],value:zn,onChange:Hn,onTitleChange:Tr,className:ei,title:ai,titleWidth:Er=41,style:Si={},fontColor:ha="#6A7283",showCount:Ha,classNameActive:va,styleItem:xi={}})=>{const[pa,ka]=(0,ge.useState)(0),[fo,Ta]=(0,ge.useState)(!1),Sa=(0,ge.useRef)(null),to=(0,ge.useRef)(null);return(0,ge.useEffect)(()=>{var Ya;hr.length!==0&&(((Ya=Sa==null?void 0:Sa.current)==null?void 0:Ya.clientHeight)>97?ka(1):ka(0)),hr.length===0&&ka(0),Ta(!1)},[hr]),ge.createElement("div",{className:ke()(lt.row,ei),style:Si},ge.createElement("div",{onClick:(0,_e.throttle)(()=>Tr==null?void 0:Tr(),2e3),style:{width:Er,marginTop:fo?12:4},className:`${lt.title} ${Tr?"current":""}`},ai),ge.createElement("div",{className:fo?`${lt.tagsWrap} ${lt.tagsBorderWrap}`:lt.tagsWrap},ge.createElement("div",{className:lt.bar,ref:to,style:pa>0?{height:pa===1?97:"auto",overflow:pa===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ge.createElement("div",{className:lt.tag,ref:Sa},hr==null?void 0:hr.map(Ya=>ge.createElement("span",{onClick:()=>Hn(Ya.id),key:Ya.id,style:qe(qe({color:ha},xi),(Ya==null?void 0:Ya.style)||{}),className:zn===Ya.id?ke()(va||lt.active,Ya.classNameActive):""},ge.createElement("span",{title:Ya.name,className:lt.name},Ya.name),!!Ha&&ge.createElement("span",{className:lt.num},Ya.count))))),!!pa&&ge.createElement(ge.Fragment,null,pa===1?ge.createElement("div",{onClick:()=>{var Ya;ka(2),((Ya=Sa==null?void 0:Sa.current)==null?void 0:Ya.clientHeight)>245?Ta(!0):Ta(!1)},className:lt.action},"\u5C55\u5F00",ge.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ge.createElement("div",{onClick:()=>{to.current.scrollTop=0,ka(1),Ta(!1)},className:lt.action},"\u6536\u8D77",ge.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},At={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},pt=({dataSource:hr=[],value:zn,onChange:Hn,onTitleChange:Tr,className:ei,title:ai,titleWidth:Er=41,style:Si={},fontColor:ha="#6A7283",showCount:Ha,expand:va=!0})=>{const[xi,pa]=(0,ge.useState)(0),[ka,fo]=(0,ge.useState)(!1),Ta=(0,ge.useRef)(null),Sa=(0,ge.useRef)(null),[to,Ya]=(0,ge.useState)(va);return ge.createElement("div",{className:ke()(At.row,ei),style:Si},ge.createElement("div",{className:"flex item-center justify-between"},ge.createElement("div",{onClick:(0,_e.throttle)(()=>Tr==null?void 0:Tr(),2e3),style:{width:Er,marginTop:ka?12:4},className:`${At.title} ${Tr?"current":""}`},ai),ge.createElement("i",{className:`iconfont ${to?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:to?8:10},onClick:()=>Ya(!to)})),to&&ge.createElement("div",{className:ka?`${At.tagsWrap} ${At.tagsBorderWrap}`:At.tagsWrap},ge.createElement("div",{className:At.fenge}),ge.createElement("div",{className:At.bar,ref:Sa},ge.createElement("div",{className:At.tag,ref:Ta},hr==null?void 0:hr.map(cs=>ge.createElement("span",{onClick:()=>Hn(cs.id),key:cs.id,style:{color:ha},className:zn===cs.id?At.active:""},ge.createElement("span",{title:cs.name,className:At.name},cs.name),!!Ha&&ge.createElement("span",{className:At.num},cs.count)))))))},St={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ze=({dataSource:hr=[],value:zn,onChange:Hn,onTitleChange:Tr,className:ei,title:ai,titleWidth:Er=41,style:Si={},fontColor:ha="#fff",showCount:Ha,expand:va=!0})=>{const[xi,pa]=(0,ge.useState)(0),[ka,fo]=(0,ge.useState)(!1),Ta=(0,ge.useRef)(null),Sa=(0,ge.useRef)(null),[to,Ya]=(0,ge.useState)(va);return ge.createElement("div",{className:ke()(St.row,ei),style:Si},ge.createElement("div",{className:"flex item-center justify-between"},ge.createElement("div",{onClick:(0,_e.throttle)(()=>Tr==null?void 0:Tr(),2e3),style:{width:Er},className:`${St.title} ${Tr?"current":""}`},ai),ge.createElement("i",{className:`iconfont ${to?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:to?"#00DDC7":"#037F74",fontSize:to?10:12},onClick:()=>Ya(!to)})),to&&ge.createElement("div",{className:ka?`${St.tagsWrap} ${St.tagsBorderWrap}`:St.tagsWrap},ge.createElement("div",{className:St.bar,ref:Sa},ge.createElement("div",{className:St.tag,ref:Ta},hr==null?void 0:hr.map(cs=>ge.createElement("span",{onClick:()=>Hn(cs.id),key:cs.id,style:{color:ha},className:zn===cs.id?St.active:""},ge.createElement("span",{title:cs.name,className:St.name},cs.name),!!Ha&&ge.createElement("span",{className:St.num},cs.count)))))))},gt={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},jt=({dataSource:hr=[],value:zn,onChange:Hn,className:Tr,style:ei={}})=>ge.createElement("div",{style:ei,className:ke()(gt.tabs,Tr)},hr.map(ai=>ge.createElement("span",{onClick:()=>Hn(ai.id),className:zn===ai.id?gt.active:"",key:ai.id},ai.name))),mt={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Yt=be(92832),Xt=({dataSource:hr=[],value:zn="",onChange:Hn,onInputChange:Tr=()=>{},className:ei,style:ai={},placeholder:Er,allowClear:Si=!1})=>{var ha;const[Ha,va]=(0,ge.useState)(""),[xi,pa]=(0,ge.useState)("");(0,ge.useEffect)(()=>{var Ta;let Sa=zn;(Ta=JSON.stringify(zn))!=null&&Ta.includes("{")&&(va(zn.id),Sa=zn.value||"");try{pa(decodeURIComponent(Sa||""))}catch(to){pa(decodeURIComponent(Sa||""))}},[zn]);const ka=()=>{Hn(encodeURIComponent(xi),Ha||null)},fo=Ta=>{Ta!==Ha&&(va(Ta),Hn(encodeURIComponent(xi),Ta))};return ge.createElement("div",{className:ke()(mt.input,ei),style:ai},!!hr.length&&ge.createElement("div",{className:mt.dropdown},ge.createElement("div",{className:mt.text},(ha=hr.find(Ta=>Ta.id===Ha))==null?void 0:ha.name,ge.createElement("i",{className:"iconfont icon-zhankai4"}),ge.createElement("b",{className:mt.b1}),ge.createElement("b",{className:mt.b2})),ge.createElement("div",{className:mt.menu},hr.map((Ta,Sa)=>ge.createElement("div",{key:Sa,onClick:()=>fo(Ta.id)},Ta.name)))),ge.createElement(Yt.default,{onPressEnter:ka,value:xi,onChange:Ta=>{pa(Ta.target.value),Tr(encodeURIComponent(Ta.target.value),Ha||null)},bordered:!1,placeholder:Er}),ge.createElement("i",{onClick:ka,className:"iconfont icon-sousuo9 font14 pl10 current"}))},bt={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Ln=({dataSource:hr=[],value:zn="",onChange:Hn,onInputChange:Tr=()=>{},className:ei,style:ai={},placeholder:Er,allowClear:Si=!1})=>{var ha;const[Ha,va]=(0,ge.useState)(""),[xi,pa]=(0,ge.useState)("");(0,ge.useEffect)(()=>{var Ta;let Sa=zn;(Ta=JSON.stringify(zn))!=null&&Ta.includes("{")&&(va(zn.id),Sa=zn.value||"");try{pa(decodeURIComponent(Sa||""))}catch(to){pa(decodeURIComponent(Sa||""))}},[zn]);const ka=()=>{Hn(encodeURIComponent(xi),Ha||null)},fo=Ta=>{Ta!==Ha&&(va(Ta),Hn(encodeURIComponent(xi),Ta))};return ge.createElement("div",{className:ke()(bt.input,ei),style:ai},!!hr.length&&ge.createElement("div",{className:bt.dropdown},ge.createElement("div",{className:bt.text},(ha=hr.find(Ta=>Ta.id===Ha))==null?void 0:ha.name,ge.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ge.createElement("div",{className:bt.menu},hr.map((Ta,Sa)=>ge.createElement("div",{key:Sa,onClick:()=>fo(Ta.id)},Ta.name)))),ge.createElement(Yt.default,{onPressEnter:ka,value:xi,onChange:Ta=>{pa(Ta.target.value),Tr(encodeURIComponent(Ta.target.value),Ha||null)},bordered:!1,placeholder:Er}),ge.createElement("i",{onClick:ka,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Vt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Kt=({value:hr,onChange:zn,className:Hn,total:Tr,pageSize:ei,style:ai={}})=>{const Er=hr<2,Si=hr>=Math.ceil(Tr/ei);return Tr<=ei?ge.createElement(ge.Fragment,null):ge.createElement("div",{className:ke()(Vt.quickPager,Hn),style:ai},ge.createElement("div",{onClick:()=>{Er||zn(hr-1,"prev")},className:Er?Vt.disabled:""},"\u4E0A\u4E00\u9875"),ge.createElement("div",{onClick:()=>{Si||zn(hr+1,"next")},className:Si?Vt.disabled:""},"\u4E0B\u4E00\u9875"))},Ge={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Fe=be(71418),ft=be(6848),sn=be(13570),$t=be(6521),Mt=be(25544),_t=be(96908),hn=be(57177),Jn=be(81378),Kn=be(18540),ln=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,trackEventItems:Si,loading:ha})=>{const Ha=Math.floor((Er-(Hn-1)*Tr)/Hn);return ge.createElement(Fe.Z,{spinning:ha},ge.createElement("div",{className:ke()(Ge.list,hr)},!!zn.length&&zn.map((va,xi)=>{const{name:pa,id:ka,identifier:fo,power:Ta,cover_image_id:Sa,pic:to}=va;return ge.createElement("div",{className:Ge.wrap,key:ka,style:{width:Ha,marginRight:(1+xi)%Hn===0?0:Tr+ai,marginBottom:ei}},ge.createElement("a",{target:"_blank",href:`/shixuns/${fo}/challenges`,className:Ge.li,onClick:Ya=>{Ya.preventDefault(),Si&&(0,Mt.L9)([Si]),Ta&&(0,Mt.xg)(`/shixuns/${fo}/challenges`)}},ge.createElement("div",{className:Ge.img},ge.createElement("img",{className:Ge.cover,src:`${to}`}),va.is_jupyter&&ge.createElement("img",{className:Ge.sign,src:_t}),va.is_jupyter_lab&&ge.createElement("img",{className:Ge.sign,src:hn}),va.is_unity_3d&&ge.createElement("img",{className:Ge.sign,src:Jn})),ge.createElement("div",{className:Ge.name},ge.createElement(ft.Z,{title:pa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ge.createElement("span",{className:Ge.e},pa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ge.createElement("div",{className:Ge.tags},ge.createElement(ft.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ge.createElement("span",null,va.challenges_count))),!!va.myshixuns_count&&ge.createElement(ft.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ge.createElement("span",null,va.myshixuns_count))),ge.createElement(ft.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ge.createElement("span",null,ge.createElement("span",null,va.level))),ge.createElement("div",{className:Ge.rate},ge.createElement(sn.Z,{allowHalf:!0,disabled:!0,defaultValue:va.score_info}),ge.createElement("span",null,"\xA0",va.score_info?`${va.score_info}\u5206`:"5\u5206")))),!Ta&&ge.createElement("div",{className:Ge.lockWrap},ge.createElement("img",{src:`${$t.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ge.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!zn.length&&ge.createElement(Kn.Z,null)))},on={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Ue=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,wrapClassName:Si,trackEventItems:ha,loading:Ha})=>{const va=Math.floor((Er-(Hn-1)*Tr)/Hn);return ge.createElement(Fe.Z,{spinning:Ha},ge.createElement("div",{className:ke()(on.list,hr)},!!zn.length&&zn.map((xi,pa)=>{const{name:ka,id:fo,identifier:Ta,power:Sa,cover_image_id:to,pic:Ya}=xi;return ge.createElement("div",{className:ke()(on.wrap,Si),key:fo,style:{width:va,marginRight:(1+pa)%Hn===0?0:Tr+ai,marginBottom:ei}},ge.createElement("a",{target:"_blank",href:`/shixuns/${Ta}/challenges`,className:on.li,onClick:cs=>{cs.preventDefault(),ha&&(0,Mt.L9)([ha]),Sa&&(0,Mt.xg)(`/shixuns/${Ta}/challenges`)}},ge.createElement("img",{src:be(47621),className:on.titleBg}),ge.createElement("div",{className:on.name},ge.createElement(ft.Z,{title:ka||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ge.createElement("span",{className:on.e},ka||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ge.createElement("div",{style:{padding:"14px",paddingBottom:0}},ge.createElement("div",{className:on.img},ge.createElement("img",{className:on.cover,src:to?`${$t.Z.API_SERVER}/api/attachments/${to}`:`${$t.Z.IMG_SERVER+Ya}`}),xi.is_jupyter&&ge.createElement("div",{className:on.bq},"Jupyter"),xi.is_jupyter_lab&&ge.createElement("div",{className:on.bq},"JupyterLab"),xi.is_unity_3d&&ge.createElement("div",{className:on.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ge.createElement("div",{className:"mt20 flex item-center justify-between"},ge.createElement("div",null,ge.createElement("span",{className:on.text},"\u5B66\u4E60\u4EBA\u6570"),ge.createElement("span",{className:on.value},xi.myshixuns_count)),ge.createElement("div",null,ge.createElement("span",{className:on.text},"\u56F0\u96BE\u7B49\u7EA7"),ge.createElement("span",{className:on.value},xi.level))),ge.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ge.createElement("div",null,ge.createElement("span",{className:on.text},"\u5173\u5361\u6570"),ge.createElement("span",{className:on.value},xi.challenges_count)),ge.createElement("div",{className:on.rate},ge.createElement(sn.Z,{allowHalf:!0,disabled:!0,defaultValue:xi.score_info}),ge.createElement("span",{className:on.value,style:{color:"#FF9C00"}},"\xA0",xi.score_info?`${xi.score_info}\u5206`:"5\u5206"))))),!Sa&&ge.createElement("div",{className:on.lockWrap},ge.createElement("img",{src:`${$t.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ge.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!zn.length&&ge.createElement(Kn.Z,null)))},we={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxa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YII=",$e=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,trackEventItems:Si,loading:ha,wrapClassName:Ha,imgClassName:va})=>{const xi=Math.floor((Er-(Hn-1)*Tr)/Hn);return ge.createElement(Fe.Z,{spinning:ha},ge.createElement("div",{className:ke()(we.list,hr)},!!zn.length&&zn.map((pa,ka)=>{const{name:fo,id:Ta,identifier:Sa,power:to,cover_image_id:Ya,pic:cs}=pa;return ge.createElement("div",{className:ke()(we.wrap,Ha),key:Ta,style:{width:xi,marginRight:(1+ka)%Hn===0?0:Tr+ai,marginBottom:ei}},ge.createElement("a",{target:"_blank",href:`/shixuns/${Sa}/challenges`,className:we.li,onClick:el=>{el.preventDefault(),Si&&(0,Mt.L9)([Si]),to&&(0,Mt.xg)(`/shixuns/${Sa}/challenges`)}},ge.createElement("div",{className:ke()(we.img,va)},ge.createElement("img",{className:we.cover,src:Ya?`${$t.Z.API_SERVER}/api/attachments/${Ya}`:`${$t.Z.IMG_SERVER+cs}`}),pa.is_jupyter&&ge.createElement("img",{className:we.sign,src:pe}),pa.is_jupyter_lab&&ge.createElement("img",{className:we.sign,src:Ee}),pa.is_unity_3d&&ge.createElement("img",{className:we.sign,src:Me})),ge.createElement("div",{className:we.name},ge.createElement(ft.Z,{title:fo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ge.createElement("span",{className:we.e},fo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ge.createElement("div",{className:we.tags},ge.createElement(ft.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ge.createElement("span",null,pa.challenges_count))),!!pa.myshixuns_count&&ge.createElement(ft.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ge.createElement("span",null,pa.myshixuns_count))),ge.createElement(ft.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ge.createElement("span",null,ge.createElement("span",null,pa.level))),ge.createElement("div",{className:we.rate},ge.createElement(sn.Z,{allowHalf:!0,disabled:!0,defaultValue:pa.score_info}),ge.createElement("span",null,"\xA0",pa.score_info?`${pa.score_info}\u5206`:"5\u5206")))),!to&&ge.createElement("div",{className:we.lockWrap},ge.createElement("img",{src:`${$t.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ge.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!zn.length&&ge.createElement(Kn.Z,null)))},Pt=be(26073),an={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},An=be(79005),In=be(20345),En=be(77882),Pn=be(31081),Zn=be(75309),Cr=be(71979),Bt=be(47558),dn=be(42922),_n=be(66832),Ot=be(96593),nt=be(19664),Ft=be(91833),Tn=Object.defineProperty,Vn=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,Nr=(hr,zn,Hn)=>zn in hr?Tn(hr,zn,{enumerable:!0,configurable:!0,writable:!0,value:Hn}):hr[zn]=Hn,Kr=(hr,zn)=>{for(var Hn in zn||(zn={}))tr.call(zn,Hn)&&Nr(hr,Hn,zn[Hn]);if(Vn)for(var Hn of Vn(zn))jr.call(zn,Hn)&&Nr(hr,Hn,zn[Hn]);return hr};const kr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:An,swimg:In},{name:"101\u8BA1\u5212",ptimg:En,swimg:Pn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Zn,swimg:Cr},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Bt,swimg:dn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:_n,swimg:Ot},{name:"\u519B\u961F\u4E00\u6D41",ptimg:nt,swimg:Ft}];var pr=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,trackEventItems:Si,loading:ha,wrapClassName:Ha,imgClassName:va,isArrow:xi=!1,imgStyle:pa={}})=>{const ka=Math.floor((Er-(Hn-1)*Tr)/Hn),[fo,Ta]=(0,ge.useState)(),[Sa,to]=(0,ge.useState)(),Ya=el=>Ta(el),cs=()=>Ta(-1);return ge.createElement(Fe.Z,{spinning:ha},ge.createElement("div",{className:ke()(an.list,hr)},!!(zn!=null&&zn.length)&&(zn==null?void 0:zn.map((el,Fl)=>{var Nc;const{name:gl,id:Il,identifier:Rs,featured:Qs,school_name:Gl,image_url:Hs,excellent:su,is_plan:Zl}=el;return ge.createElement("div",{key:Il,className:ke()(an.wrap,Ha),style:{width:ka,marginRight:(1+Fl)%Hn===0?0:Tr+ai,marginBottom:ei}},ge.createElement("a",{target:"_blank",href:`/paths/${Rs}`,className:an.li,onClick:ml=>{ml.preventDefault(),Si&&(0,Mt.L9)([Si]),(0,Mt.xg)(`/paths/${Rs}`)}},ge.createElement("img",{src:be(39057),className:an.titleBg}),ge.createElement("div",{className:an.name},ge.createElement(ft.Z,{title:gl},ge.createElement("span",{className:an.e,style:{color:xi&&fo===Fl?"#145DFF":"#000000"},onMouseEnter:()=>{Ya(Fl)},onMouseLeave:cs},gl))),ge.createElement("div",{style:{padding:"14px",paddingBottom:0}},ge.createElement("div",{className:ke()(an.img,va)},ge.createElement("img",{className:an.cover,style:Kr({},pa),src:`${$t.Z.IMG_SERVER+Hs}`}),(Nc=el==null?void 0:el.subject_tags)==null?void 0:Nc.map((ml,vo)=>{var hs,Zc;if(vo===0){const js=(hs=kr.find(Io=>Io.name==ml))==null?void 0:hs.swimg;return ge.createElement("img",{className:an.sign,src:js,style:{left:"-4px"}})}const uA=(Zc=kr.find(js=>js.name==ml))==null?void 0:Zc.ptimg;return ge.createElement("img",{className:an.sign,src:uA,style:{left:`${48+52*(vo-1)+2*vo}px`}})}),ge.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(el==null?void 0:el.excellent)&&ge.createElement("div",{className:an.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ge.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ge.createElement("div",null,ge.createElement("span",{className:an.text},"\u7AE0\u8282\u6570"),ge.createElement("span",{className:an.value},el.stages_count)),ge.createElement("div",null,ge.createElement("span",{className:an.text},"\u5B66\u4E60\u4EBA\u6570"),ge.createElement("span",{className:an.value},el.members_count))))))})),!zn.length&&ge.createElement(Kn.Z,null)))},zr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},mi=be(7544),si=be(59301);const xa=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:An,swimg:In},{name:"101\u8BA1\u5212",ptimg:En,swimg:Pn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Zn,swimg:Cr},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Bt,swimg:dn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:_n,swimg:Ot},{name:"\u519B\u961F\u4E00\u6D41",ptimg:nt,swimg:Ft}];var Wi=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,trackEventItems:Si,loading:ha,onRemove:Ha=()=>{},isCurrent:va=!0,showAlias:xi=!1,wrapClassName:pa,imgClassName:ka})=>{const fo=Math.floor((Er-(Hn-1)*Tr)/Hn),Ta=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Sa=>(window.ENV==="build"&&(Sa.ptimg=`/react/build${Sa.ptimg}`,Sa.swimg=`/react/build${Sa.swimg}`),Sa));return si.createElement(Fe.Z,{spinning:ha},si.createElement("div",{className:ke()(zr.list,hr)},!!(zn!=null&&zn.length)&&(zn==null?void 0:zn.map((Sa,to)=>{var Ya;const{name:cs,id:el,identifier:Fl,featured:Nc,school_name:gl,image_url:Il,excellent:Rs,is_plan:Qs}=Sa;return si.createElement("div",{key:el,className:ke()(zr.wrap,pa),style:{width:fo,marginRight:(1+to)%Hn===0?0:Tr+ai,marginBottom:ei}},si.createElement("a",{className:zr.li,onClick:Gl=>{Gl.preventDefault(),Gl.stopPropagation(),Si&&(0,Mt.L9)([Si]),(0,Mt.xg)(`/paths/${Fl}`)}},si.createElement("div",{className:ke()(zr.img,ka)},si.createElement("img",{className:zr.cover,src:`${$t.Z.IMG_SERVER+Il}`}),va&&(0,mi.bg)()&&(Sa==null?void 0:Sa.studying)&&si.createElement("div",{className:`${zr.movebq} user-path-items`,onClick:Gl=>{Gl.stopPropagation(),Ha(Sa)}},si.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),si.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ya=Sa==null?void 0:Sa.subject_tags)==null?void 0:Ya.map((Gl,Hs)=>{var su,Zl;if(Hs===0){const vo=(su=Ta.find(hs=>hs.name==Gl))==null?void 0:su.swimg;return si.createElement("img",{className:zr.sign,src:vo,style:{left:"-4px"}})}const ml=(Zl=Ta.find(vo=>vo.name==Gl))==null?void 0:Zl.ptimg;return si.createElement("img",{className:zr.sign,src:ml,style:{left:`${48+52*(Hs-1)+2*Hs}px`}})}),si.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Sa==null?void 0:Sa.excellent)&&si.createElement("div",{className:zr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),si.createElement("div",{className:zr.name},si.createElement(ft.Z,{title:xi&&(Sa!=null&&Sa.excellent_alias_name)?si.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${cs}`,si.createElement("br",null),si.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Sa==null?void 0:Sa.excellent_alias_name}`)):cs},si.createElement("span",{className:zr.e},xi&&(Sa==null?void 0:Sa.excellent_alias_name)||cs))),si.createElement("div",{className:zr.tags},si.createElement("div",null,si.createElement(ft.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},si.createElement("span",null,si.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),si.createElement("span",null,Sa.stages_count))),si.createElement(ft.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},si.createElement("span",null,si.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),si.createElement("span",null,Sa.members_count)))))))})),!zn.length&&si.createElement(Kn.Z,null)))},Wr={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Fa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLy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2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Oi=be(59301),Da=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,trackEventItems:Si,loading:ha})=>{const Ha=Math.floor((Er-(Hn-1)*Tr)/Hn);return Oi.createElement(Fe.Z,{spinning:ha},Oi.createElement("div",{className:ke()(Wr.list,hr)},!!zn.length&&zn.map((va,xi)=>{const{subject_identifier:pa,id:ka,identifier:fo,power:Ta}=va,Sa=va.is_public!=0&&va.is_public;return Oi.createElement("div",{className:Wr.wrap,key:ka,style:{width:Ha,marginRight:(1+xi)%Hn===0?0:Tr+ai,marginBottom:ei}},Oi.createElement("a",{className:Wr.li,onClick:to=>{to.preventDefault(),Si&&(0,Mt.L9)([Si]),(0,Mt.xg)(va.first_category_url)}},Oi.createElement("div",{className:Wr.top},Oi.createElement(ft.Z,{title:va.name},Oi.createElement("div",{className:Wr.name},va.name)),Oi.createElement("img",{className:Wr.img,src:$t.Z.IMG_SERVER+"/images/"+va.avatar_url}),Oi.createElement("div",{className:Wr.text,title:va.creator},va.creator),pa&&Oi.createElement("div",{className:Wr.btns},Oi.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Oi.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Sa&&Oi.createElement("div",{className:Wr.sign},"\u516C\u5F00")),Oi.createElement("div",{className:Wr.bottom},va.visits>0&&Oi.createElement(ft.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Oi.createElement("span",null,Oi.createElement("i",{className:"iconfont icon-liulanyan"}),Oi.createElement("span",null,va.visits))),va.course_members_count>0&&Oi.createElement(ft.Z,{title:"\u6210\u5458",placement:"bottom"},Oi.createElement("span",null,Oi.createElement("i",{className:"iconfont icon-chengyuan"}),va.course_members_count)),va.tasks_count>0&&Oi.createElement(ft.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Oi.createElement("span",null,Oi.createElement("i",{className:"iconfont icon-zuoye"}),va.tasks_count)),va.is_end?Oi.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Oi.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!va.is_accessible&&Oi.createElement("div",{className:Wr.lockWrap},Oi.createElement("img",{src:`${$t.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oi.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!zn.length&&Oi.createElement(Kn.Z,null)))},Qi={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Bi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzm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abLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ci=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,wrapClassName:Si,trackEventItems:ha,loading:Ha})=>{const va=Math.floor((Er-(Hn-1)*Tr)/Hn);return ge.createElement(Fe.Z,{spinning:Ha},ge.createElement("div",{className:ke()(Qi.list,hr)},!!zn.length&&zn.map((xi,pa)=>{const{subject_identifier:ka,id:fo,identifier:Ta,power:Sa}=xi,to=xi.is_public!=0&&xi.is_public;return ge.createElement("div",{className:ke()(`${Qi.wrap} ${xi.is_accessible?"":Qi.warpStyle}`,Si),key:fo,style:{width:va,marginRight:(1+pa)%Hn===0?0:Tr+ai,marginBottom:ei}},ge.createElement("a",{className:Qi.li,onClick:Ya=>{Ya.preventDefault(),ha&&(0,Mt.L9)([ha]),(0,Mt.xg)(xi.first_category_url)}},ge.createElement("div",{className:Qi.creator},ge.createElement("img",{className:Qi.img,src:$t.Z.IMG_SERVER+"/images/"+xi.avatar_url}),ge.createElement("div",{className:Qi.text,title:xi.creator},xi.creator)),ge.createElement("div",{className:Qi.top},ge.createElement(ft.Z,{title:xi.name},ge.createElement("div",{className:Qi.name},xi.name)),to&&ge.createElement("div",{className:Qi.sign},"\u516C\u5F00")),ge.createElement("div",{className:Qi.middle},ge.createElement("div",{className:Qi.row,style:{marginBottom:6}},ge.createElement("div",null,ge.createElement("span",{className:Qi.text},"\u8BBF\u95EE\u91CF"),ge.createElement("span",{className:Qi.value},(xi==null?void 0:xi.visits)||0)),ge.createElement("div",null,ge.createElement("span",{className:Qi.text},"\u6210\u5458"),ge.createElement("span",{className:Qi.value},(xi==null?void 0:xi.course_members_count)||0))),ge.createElement("div",{className:Qi.row},ge.createElement("div",null,ge.createElement("span",{className:Qi.text,style:{width:42}},"\u4F5C",ge.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ge.createElement("span",{className:Qi.value},(xi==null?void 0:xi.tasks_count)||0)),ge.createElement("div",null,ge.createElement("span",{className:Qi.text},"\u72B6\u6001"),xi.is_end?ge.createElement("span",{className:Qi.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ge.createElement("span",{className:Qi.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),ka&&ge.createElement("div",{className:Qi.btns},ge.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ge.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!xi.is_accessible&&ge.createElement("div",{className:Qi.lockWrap},ge.createElement("img",{src:`${$t.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ge.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!zn.length&&ge.createElement(Kn.Z,null)))},Vr={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlav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3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",tt=({className:hr,dataSource:zn=[],col:Hn=4,right:Tr,bottom:ei=23,precision:ai=0,wrapWidth:Er=1200,wrapClassName:Si,trackEventItems:ha,loading:Ha})=>{const va=Math.floor((Er-(Hn-1)*Tr)/Hn);return ge.createElement(Fe.Z,{spinning:Ha},ge.createElement("div",{className:ke()(Vr.list,hr)},!!zn.length&&zn.map((xi,pa)=>{const{subject_identifier:ka,id:fo,identifier:Ta,power:Sa}=xi,to=xi.is_public!=0&&xi.is_public;return ge.createElement("div",{className:ke()(`${Vr.wrap} ${xi.is_accessible?"":Vr.warpStyle}`,Si),key:fo,style:{width:va,marginRight:(1+pa)%Hn===0?0:Tr+ai,marginBottom:ei}},ge.createElement("a",{className:Vr.li,onClick:Ya=>{Ya.preventDefault(),ha&&(0,Mt.L9)([ha]),(0,Mt.xg)(xi.first_category_url)}},ge.createElement("div",{className:Vr.creator},ge.createElement("img",{className:Vr.img,src:$t.Z.IMG_SERVER+"/images/"+xi.avatar_url}),ge.createElement("div",{className:Vr.text,title:xi.creator},xi.creator)),ge.createElement("div",{className:Vr.top},ge.createElement(ft.Z,{title:xi.name},ge.createElement("div",{className:Vr.name},xi.name)),to&&ge.createElement("div",{className:Vr.sign})),ge.createElement("div",{className:Vr.middle},ge.createElement("div",{className:Vr.row,style:{marginBottom:6}},ge.createElement("div",null,ge.createElement("span",{className:Vr.text},"\u8BBF\u95EE\u91CF"),ge.createElement("span",{className:Vr.value},(xi==null?void 0:xi.visits)||0)),ge.createElement("div",null,ge.createElement("span",{className:Vr.text},"\u6210\u5458"),ge.createElement("span",{className:Vr.value},(xi==null?void 0:xi.course_members_count)||0))),ge.createElement("div",{className:Vr.row},ge.createElement("div",null,ge.createElement("span",{className:Vr.text,style:{width:42}},"\u4F5C",ge.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ge.createElement("span",{className:Vr.value},(xi==null?void 0:xi.tasks_count)||0)),ge.createElement("div",null,ge.createElement("span",{className:Vr.text},"\u72B6\u6001"),xi.is_end?ge.createElement("span",{className:Vr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ge.createElement("span",{className:Vr.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),ka&&ge.createElement("div",{className:Vr.btns},ge.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ge.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!xi.is_accessible&&ge.createElement("div",{className:Vr.lockWrap},ge.createElement("img",{src:`${$t.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ge.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!zn.length&&ge.createElement(Kn.Z,null)))},yt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ht=be(91482),xt=({dataSource:hr=[],value:zn,onChange:Hn,className:Tr,style:ei={},tabBarExtraContent:ai})=>ge.createElement("div",{className:ke()(yt.tabs,Tr),style:ei},ge.createElement("div",{className:yt.tabsWrap},hr.map((Er,Si)=>ge.createElement("aside",{className:yt.tab,onClick:()=>{Hn(Er.id),Er.link&&ht.history.push(Er.link)},key:Si},ge.createElement("div",{className:zn===Er.id?yt.active:""},Er.name),(Er==null?void 0:Er.resetCount)==null&&(Er==null?void 0:Er.total)!==void 0&&ge.createElement("span",null,"\uFF08",Er==null?void 0:Er.total,"\uFF09"),(Er==null?void 0:Er.resetCount)!==void 0&&(Er==null?void 0:Er.total)!==void 0&&ge.createElement(ft.Z,{title:(Er==null?void 0:Er.tip)!=null?Er==null?void 0:Er.tip:""},ge.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ge.createElement("span",{style:{color:"#000"}},Er==null?void 0:Er.resetCount),"/",ge.createElement("span",null,Er==null?void 0:Er.total),"\uFF09"))))),ge.createElement("div",{className:yt.tabBar},ai)),Gt={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Mn=({dataSource:hr=[],value:zn,onChange:Hn,className:Tr,style:ei={},tabBarExtraContent:ai})=>ge.createElement("div",{className:ke()(Gt.tabs,Tr),style:ei},ge.createElement("div",{className:Gt.tabsWrap},hr.map((Er,Si)=>ge.createElement("aside",{className:Gt.tab,onClick:()=>{Hn(Er.id),Er.link&&ht.history.push(Er.link)},key:Si},ge.createElement("div",{className:zn===Er.id?Gt.active:""},Er.name),(Er==null?void 0:Er.resetCount)==null&&(Er==null?void 0:Er.total)!==void 0&&ge.createElement("span",null,"\uFF08",Er==null?void 0:Er.total,"\uFF09"),(Er==null?void 0:Er.resetCount)!==void 0&&(Er==null?void 0:Er.total)!==void 0&&ge.createElement(ft.Z,{title:(Er==null?void 0:Er.tip)!=null?Er==null?void 0:Er.tip:""},ge.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ge.createElement("span",{style:{color:"#000"}},Er==null?void 0:Er.resetCount),"/",ge.createElement("span",null,Er==null?void 0:Er.total),"\uFF09"))))),ge.createElement("div",{className:Gt.tabBar},ai)),jn={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Sr=({dataSource:hr=[],value:zn,onChange:Hn,className:Tr,style:ei={},tabBarExtraContent:ai})=>ge.createElement("div",{className:ke()(jn.tabs,Tr),style:ei},ge.createElement("div",{className:jn.tabsWrap},hr.map((Er,Si)=>ge.createElement("aside",{className:`${jn.tab} ${zn===Er.id?jn.active:""}`,onClick:()=>{Hn(Er.id),Er.link&&ht.history.push(Er.link)},key:Si},ge.createElement("div",null,Er.name),(Er==null?void 0:Er.resetCount)==null&&(Er==null?void 0:Er.total)!==void 0&&ge.createElement("span",null,"\uFF08",Er==null?void 0:Er.total,"\uFF09"),(Er==null?void 0:Er.resetCount)!==void 0&&(Er==null?void 0:Er.total)!==void 0&&ge.createElement(ft.Z,{title:(Er==null?void 0:Er.tip)!=null?Er==null?void 0:Er.tip:""},ge.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ge.createElement("span",{style:{color:"#000"}},Er==null?void 0:Er.resetCount),"/",ge.createElement("span",null,Er==null?void 0:Er.total),"\uFF09"))))),ge.createElement("div",{className:jn.tabBar},ai)),Qn=({className:hr,style:zn={},children:Hn})=>ge.createElement("div",{className:ke()(hr),style:zn},Hn),mr={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},vi=be(38854),qr=be(20834);const Mi=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Xi=({sortValue:hr,dropValue:zn,className:Hn,onSort:Tr,onDrop:ei,dataSource:ai=Mi})=>{var Er;return ge.createElement("div",{className:ke()(mr.orderWrap,Hn)},ge.createElement(vi.Z,{dropdownRender:()=>ge.createElement(qr.default,null,ai.map((Si,ha)=>ge.createElement(qr.default.Item,{key:ha,onClick:()=>ei(Si.id)},Si.name)))},ge.createElement("span",{className:mr.orderTextWrap},(Er=ai.find(Si=>zn===Si.id))==null?void 0:Er.name)),ge.createElement("span",{className:mr.orderIconWrap},ge.createElement("span",{className:mr.orderAsc},ge.createElement("i",{className:hr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${mr.cursorPointer} ${mr.active}`:`iconfont icon-sanjiaoxing-up font12 ${mr.cursorPointer}`,onClick:()=>Tr(hr==="asc"?"desc":"asc")})),ge.createElement("span",{className:mr.orderDesc},ge.createElement("i",{className:hr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${mr.cursorPointer} ${mr.active}`:`iconfont icon-sanjiaoxing-down font12 ${mr.cursorPointer}`,onClick:()=>Tr(hr==="asc"?"desc":"asc")}))))},Dr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Ri=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Xn=({sortValue:hr,dropValue:zn,className:Hn,onSort:Tr,onDrop:ei,dataSource:ai=Ri})=>{var Er;return ge.createElement("div",{className:ke()(Dr.orderWrap,Hn)},ge.createElement(vi.Z,{dropdownRender:()=>ge.createElement(qr.default,null,ai.map((Si,ha)=>ge.createElement(qr.default.Item,{key:ha,onClick:()=>ei(Si.id)},Si.name)))},ge.createElement("span",{className:Dr.orderTextWrap},(Er=ai.find(Si=>zn===Si.id))==null?void 0:Er.name)),ge.createElement("span",{className:Dr.orderIconWrap},ge.createElement("span",{className:Dr.orderAsc},ge.createElement("i",{className:hr==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Dr.cursorPointer} ${Dr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Dr.cursorPointer}`,onClick:()=>Tr(hr==="asc"?"desc":"asc")})),ge.createElement("span",{className:Dr.orderDesc},ge.createElement("i",{className:hr==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Dr.cursorPointer} ${Dr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Dr.cursorPointer}`,onClick:()=>Tr(hr==="asc"?"desc":"asc")}))))},Gn={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},yr=be(3113),$n=be(29715),cr=Object.defineProperty,rr=Object.getOwnPropertySymbols,Qr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,ui=(hr,zn,Hn)=>zn in hr?cr(hr,zn,{enumerable:!0,configurable:!0,writable:!0,value:Hn}):hr[zn]=Hn,$i=(hr,zn)=>{for(var Hn in zn||(zn={}))Qr.call(zn,Hn)&&ui(hr,Hn,zn[Hn]);if(rr)for(var Hn of rr(zn))Yr.call(zn,Hn)&&ui(hr,Hn,zn[Hn]);return hr},oa=(hr,zn)=>{var Hn={};for(var Tr in hr)Qr.call(hr,Tr)&&zn.indexOf(Tr)<0&&(Hn[Tr]=hr[Tr]);if(hr!=null&&rr)for(var Tr of rr(hr))zn.indexOf(Tr)<0&&Yr.call(hr,Tr)&&(Hn[Tr]=hr[Tr]);return Hn},Ba=(hr,zn,Hn)=>new Promise((Tr,ei)=>{var ai=ha=>{try{Si(Hn.next(ha))}catch(Ha){ei(Ha)}},Er=ha=>{try{Si(Hn.throw(ha))}catch(Ha){ei(Ha)}},Si=ha=>ha.done?Tr(ha.value):Promise.resolve(ha.value).then(ai,Er);Si((Hn=Hn.apply(hr,zn)).next())}),Ji=hr=>{var zn=hr,{className:Hn,style:Tr,children:ei,loading:ai=!1,openLoading:Er,onClick:Si=()=>{},size:ha="middle",shape:Ha="round",theme:va}=zn,xi=oa(zn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[pa,ka]=(0,ge.useState)(!1),fo=(0,ge.useMemo)(()=>{switch(va){case $n.Fy.THEMEONE:return Gn.ThemeOne;case $n.Fy.DEFAULT:default:return Gn.btn}},[va]);return ge.createElement(yr.ZP,$i({onClick:(0,_e.throttle)(Ta=>Ba(void 0,null,function*(){Er&&ka(!0);try{yield Si(Ta)}catch(Sa){console.log("error",Sa)}Er&&ka(!1)}),2e3,{leading:!0,trailing:!1}),className:ke()(fo,Gn[`${ha}-${Ha}`],Hn),style:Tr,size:ha,shape:Ha,loading:pa||ai},xi),ei)},Ma={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},ga=({className:hr,style:zn,children:Hn=null,onClick:Tr,title:ei})=>ge.createElement("div",{className:ke()(Ma.head,hr),style:zn},ge.createElement("span",{className:"primary-hover",onClick:Tr},ge.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ge.createElement("b",{title:ei},ei),ge.createElement("div",{className:Ma.node},Hn)),Pi={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ma=({confirmShow:hr=!0,confirmTitle:zn,confirmClick:Hn,cancelShow:Tr=!0,cancelTitle:ei,cancelClick:ai,className:Er,style:Si,confirmLoading:ha=!1})=>ge.createElement("div",{className:ke()(Pi.btns,Er),style:Si},hr&&ge.createElement(yr.ZP,{loading:ha,onClick:Hn,type:"primary",className:Pi.confirm},zn),Tr&&ge.createElement(yr.ZP,{onClick:ai,className:Pi.cancel},ei)),Vi={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},so=({className:hr,style:zn={},LeftContent:Hn,children:Tr,RightContent:ei})=>ge.createElement("div",{className:ke()(Vi.fixedBottom,hr),style:zn},ge.createElement("div",{className:Vi.wrap},ge.createElement("div",{className:Vi.left},Hn),ge.createElement("div",{className:Vi.center},Tr),ge.createElement("div",{className:Vi.right},ei))),ua={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Xr=({className:hr,style:zn={},dataSource:Hn=[]})=>ge.createElement("div",{className:ke()(ua.crumbs,hr),style:zn},Hn.map((Tr,ei)=>eiht.history.push(Tr.path)},Tr.name):ge.createElement("span",null,Tr.name),ge.createElement("span",null,"\xA0",">","\xA0")):ge.createElement("span",{key:ei,style:{color:"#5F6368"}},Tr.name))),na=be(31797),qi=Object.defineProperty,fa=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,_a=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Ko=(hr,zn,Hn)=>zn in hr?qi(hr,zn,{enumerable:!0,configurable:!0,writable:!0,value:Hn}):hr[zn]=Hn,ji=(hr,zn)=>{for(var Hn in zn||(zn={}))co.call(zn,Hn)&&Ko(hr,Hn,zn[Hn]);if(_a)for(var Hn of _a(zn))za.call(zn,Hn)&&Ko(hr,Hn,zn[Hn]);return hr},Ui=(hr,zn)=>fa(hr,Qa(zn)),Na=(hr,zn)=>{var Hn={};for(var Tr in hr)co.call(hr,Tr)&&zn.indexOf(Tr)<0&&(Hn[Tr]=hr[Tr]);if(hr!=null&&_a)for(var Tr of _a(hr))zn.indexOf(Tr)<0&&za.call(hr,Tr)&&(Hn[Tr]=hr[Tr]);return Hn};const{Countdown:Ua}=na.default;var $s=hr=>{var zn=hr,{onChange:Hn}=zn,Tr=Na(zn,["onChange"]);const[ei,ai]=(0,ge.useState)(null);(0,ge.useEffect)(()=>{typeof ei=="number"&&ei>=0&&Hn(ei)},[ei]);const Er=Si=>{const ha=Math.floor(Si/1e3);ai(ha)};return ge.createElement(Ua,Ui(ji({},Tr),{onChange:Er}))},Oo={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},zo=({DataProps:hr,className:zn,style:Hn={}})=>{var Tr;return ge.createElement("div",{className:ke()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Oo.ClassRoomItem,zn),style:Hn,onClick:()=>{(0,Mt.xg)(hr==null?void 0:hr.first_category_url)}},ge.createElement("div",{className:"flex flex-col item-center"},ge.createElement("img",{src:`${(Tr=$t.Z)==null?void 0:Tr.IMG_SERVER}/images/${hr==null?void 0:hr.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(hr==null?void 0:hr.subject_identifier)&&ge.createElement("div",{className:"mt-40px"},ge.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ge.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ge.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ge.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(hr!=null&&hr.is_public)&&ge.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ge.createElement("span",{className:ke()("text-16px font-medium",Oo.TitleDom)},hr==null?void 0:hr.name)),ge.createElement("div",{className:"c-grey-333 font-medium"},hr==null?void 0:hr.creator),ge.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",hr==null?void 0:hr.course_members_count),ge.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ge.createElement("div",null,"\u4F5C\u4E1A\uFF1A",hr==null?void 0:hr.tasks_count),hr!=null&&hr.is_end?ge.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ge.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ts=Object.defineProperty,Ni=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,ki=Object.prototype.propertyIsEnumerable,zi=(hr,zn,Hn)=>zn in hr?ts(hr,zn,{enumerable:!0,configurable:!0,writable:!0,value:Hn}):hr[zn]=Hn,ao=(hr,zn)=>{for(var Hn in zn||(zn={}))Fi.call(zn,Hn)&&zi(hr,Hn,zn[Hn]);if(Ni)for(var Hn of Ni(zn))ki.call(zn,Hn)&&zi(hr,Hn,zn[Hn]);return hr},No=({DataProps:hr=[],selectValue:zn,onChange:Hn,className:Tr,style:ei={},extra:ai,classNameItem:Er,styleItem:Si={},barHidden:ha})=>{const[Ha,va]=(0,ge.useState)();return(0,ge.useEffect)(()=>{va(Array.isArray(zn)?zn:[zn])},[zn]),ge.createElement("div",{className:ke()("flex px-20px py-10px gap-40px",Tr),style:ao({borderBottom:"1px solid #D3F0FF"},ei)},hr==null?void 0:hr.map(xi=>ge.createElement("div",{key:xi==null?void 0:xi.id,className:ke()("flex item-center justify-center current c-grey-333 text-16 relative",Er,xi==null?void 0:xi.className),style:ao(ao({color:Ha!=null&&Ha.includes(xi==null?void 0:xi.id)?"#1890FF":"",minWidth:88},Si),(xi==null?void 0:xi.style)||{}),onClick:pa=>{Hn==null||Hn({domEvent:pa,item:xi}),xi!=null&&xi.link&&ht.history.push(xi==null?void 0:xi.link)}},xi==null?void 0:xi.name,!ha&&(Ha==null?void 0:Ha.includes(xi==null?void 0:xi.id))&&ge.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ge.createElement("div",{className:"ml-auto"},ai))},So=Object.defineProperty,mo=Object.defineProperties,Go=Object.getOwnPropertyDescriptors,Us=Object.getOwnPropertySymbols,bs=Object.prototype.hasOwnProperty,Cl=Object.prototype.propertyIsEnumerable,ol=(hr,zn,Hn)=>zn in hr?So(hr,zn,{enumerable:!0,configurable:!0,writable:!0,value:Hn}):hr[zn]=Hn,Is=(hr,zn)=>{for(var Hn in zn||(zn={}))bs.call(zn,Hn)&&ol(hr,Hn,zn[Hn]);if(Us)for(var Hn of Us(zn))Cl.call(zn,Hn)&&ol(hr,Hn,zn[Hn]);return hr},bc=(hr,zn)=>mo(hr,Go(zn)),Ml=({value:hr,onChange:zn,onInputChange:Hn,className:Tr,style:ei={},InputProps:ai})=>{const[Er,Si]=(0,ge.useState)(hr);return ge.createElement("div",{className:ke()("flex item-center rounded-full px-10px py-2px",Tr),style:Is({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},ei)},ge.createElement(Yt.default,bc(Is({bordered:!1},ai),{onChange:ha=>{Si(ha.target.value),Hn==null||Hn(encodeURIComponent(ha.target.value))},onPressEnter:ha=>{zn==null||zn({domEvent:ha,item:{value:Er}})}})),ge.createElement("img",{className:"h-22px current",src:be(25365),height:22,onClick:ha=>{zn==null||zn({domEvent:ha,item:{value:Er}})}}))}},57649:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Lt}});var ge=be(59301);function Lt(ut,zt){const We=(0,ge.useRef)();(0,ge.useEffect)(()=>{We.current=ut}),(0,ge.useEffect)(()=>{function lt(){We.current()}if(zt!==null){let vt=setInterval(lt,zt);return()=>clearInterval(vt)}},[zt])}},86779:function(lr,Yn,be){"use strict";be.r(Yn),be.d(Yn,{default:function(){return Ar}});var ge=be(59301),Lt=be(8591),ut=be(43418),zt=be(71418),We=be(60324),lt=be(5112),vt=be(81327),ke={flex_box_center:"flex_box_center___Ja97S",flex_space_between:"flex_space_between___RJu4E",flex_box_vertical_center:"flex_box_vertical_center___jhPTF",flex_box_center_end:"flex_box_center_end___ZtezU",flex_box_column:"flex_box_column___MqeI4",wrap:"wrap___k3OOZ",head:"head___h6t3O",empty:"empty___S6QaM",content:"content___sMZPl",left:"left___J41Si",title:"title___GUZvZ",add:"add___zhwIv",leftBar:"leftBar___u_UUF",li:"li___Hnrra",active:"active___N4MxL",right:"right___eLWWO",rightBar:"rightBar___fMTLo",center:"center____NDzP",tabs:"tabs___jdS5u",cut:"cut___w1Pz_",action:"action___QkQ0f",tagBtn:"tagBtn___g2gHo",actActive:"actActive___ESHzD",answers:"answers___dVktP",btn:"btn___BnDvU",disableBtn:"disableBtn___WYJSQ",open_md:"open_md___Qcc2e",tip_container:"tip_container___cApBC",container_text:"container_text___riFvY",btn_send:"btn_send___jN38z",hide:"hide___wZuLt","md-container":"md-container___Am7nQ",unsolved:"unsolved___z4SON",box:"box____EpoE",hot:"hot___oUwVX",animation:"animation___YQjk7",stop:"stop___R1QBJ",disabledElement:"disabledElement___jKwzo",text:"text___Si2da",md_editor:"md_editor___vGEmh"},_e=be(79769),xe=be(91482),Xe=be(25544),De=be(6521),Qe=be(78441),ot=be(66649),qe=be.n(ot),it=be.p+"static/pt0.03c22983.png",st=be(40973),At=be(39655),Qt=be(56102),pt=be(44164),St=be.n(pt),rt=(ln,on,vn)=>new Promise((Ue,we)=>{var pe=me=>{try{Me(vn.next(me))}catch($e){we($e)}},Ee=me=>{try{Me(vn.throw(me))}catch($e){we($e)}},Me=me=>me.done?Ue(me.value):Promise.resolve(me.value).then(pe,Ee);Me((vn=vn.apply(ln,on)).next())});const ze=ln=>{const on=/```[a-z]*\n([\s\S]*?)```/g;return ln.replace(on,(vn,Ue)=>`${Ue.trim()}`)},gt=(ln,on,vn)=>{const Ue={markdown:"text/markdown",html:"text/html"},we=new Blob([ln],{type:Ue[vn]}),pe=URL.createObjectURL(we),Ee=document.createElement("a");Ee.href=pe,Ee.download=on,Ee.click(),URL.revokeObjectURL(pe)},Et=ln=>qe()(ln).format("YYYY-MM-DD HH:mm:ss"),jt=(ln,on,vn)=>ln.map((Ue,we)=>` ${we!==0?`

${on}${Et(Ue.updated_at)}

${ze(Ue.question)}
`:""}

${vn}${Et(Ue.updated_at)}

${ze(Ue.answer)}
`).join(""),mt=(ln,on,vn)=>ln.map((Ue,we)=>`${we!==0?`${on} ${Et(Ue.updated_at)} ${Ue.question} `:""}${vn} ${Et(Ue.updated_at)} ${Ue.answer} `).join(""),Yt=(ln,on)=>rt(void 0,null,function*(){const vn=jt(ln.data,ln.my_user_name,ln.user_name),Ue=mt(ln.data,ln.my_user_name,ln.user_name),we=`export-id-${String(Math.random()).slice(-6)}`,pe=`
${vn}
`;if(on.key==="html")gt(pe,`\u4E0E${ln.user_name}\u5BF9\u8BDD\u5185\u5BB9.html`,"html");else if(on.key==="markdown")gt(Ue,`\u4E0E${ln.user_name}\u5BF9\u8BDD\u5185\u5BB9.md`,"markdown");else if(on.key==="pdf"){const Ee=ut.default.info({icon:null,width:460,title:"\u63D0\u793A",content:"\u6B63\u5728\u5BFC\u51FAPDF\u4E2D...",maskClosable:!1,keyboard:!1,okButtonProps:{style:{display:"none"}}}),Me=document.createElement("div");Me.innerHTML=pe.replaceAll("box-shadow","// box-shadow"),document.body.appendChild(Me);const me=document.getElementById(we);if(!me){console.error("PDF \u5143\u7D20\u672A\u627E\u5230");return}me.style.width="auto",me.style.height="auto",me.style.position="initial";const $e={html2canvas:{letterRendering:!0,useCORS:!0,allowTaint:!1},jsPDF:{unit:"in",format:"letter",orientation:"portrait"},pagebreak:{mode:["avoid-all"]}};St()().set($e).from(me).toPdf().get("pdf").save(`\u4E0E${ln.user_name}\u5BF9\u8BDD\u5185\u5BB9.pdf`).finally(()=>{Ee.destroy(),document.body.removeChild(Me)})}});var Tt={cursor:"cursor___XqlqI"},bt=({text:ln,open:on=!1,onTextChange:vn})=>{const[Ue,we]=(0,ge.useState)(""),[pe,Ee]=(0,ge.useState)(0),[Me,me]=(0,ge.useState)(!0);return(0,ge.useEffect)(()=>{if(on)if(pe{we(Pt=>Pt+ln[pe]),Ee(pe+1),vn()},50);return()=>clearTimeout($e)}else me(!0),vn();else we(ln),Ee(0),me(!0)},[pe,ln,on]),ge.createElement(At.Z,{value:Ue+(Me?"":``)})},un={menuWrap:"menuWrap___GDodS",menuMask:"menuMask___dldKr",menu:"menu___OrkS3",itemTwo:"itemTwo___gOXTT",item:"item___XhZWJ",itemDisabled:"itemDisabled___pRoiI",menuWrapRight:"menuWrapRight___Tgo4N"},Ln=be(23579),Vt=be(92310),nn=be.n(Vt),Ge=({disabled:ln=!1,recoverDisabled:on=!1,onFileType:vn,onRecover:Ue,onEmpty:we})=>{const[pe,Ee]=(0,ge.useState)(!1),[Me,me]=(0,ge.useState)(!1),$e=(0,ge.useRef)(null),Pt=[{key:"html",label:"\u5BFC\u51FA\u6210HTML"},{key:"markdown",label:"\u5BFC\u51FA\u6210Markdown"},{key:"pdf",label:"\u5BFC\u51FA\u6210PDF"}],an=()=>{if(!ln){if($e.current){const An=$e.current.getBoundingClientRect(),In=window.innerWidth-An.right;me(In>300)}Ee(!0)}};return console.log(Me),ge.createElement("div",{ref:$e,className:nn()(un.menuWrap,Me&&un.menuWrapRight),onMouseEnter:an,onMouseLeave:()=>Ee(!1)},ge.createElement(Ln.op,{disabled:ln},ge.createElement("i",{className:"iconfont icon-gengduo6 font12 mr5"}),"\u66F4\u591A\u64CD\u4F5C"),ge.createElement("div",{className:un.menuMask,style:{display:pe?"block":"none"}},ge.createElement("div",{className:un.menu},ge.createElement("div",{className:un.itemOne},ge.createElement("div",{className:un.item,style:{cursor:"auto"}},ge.createElement("span",null,"\u5BFC\u51FA\u5BF9\u8BDD"),ge.createElement("div",{className:un.itemTwo},Pt.map(An=>ge.createElement("div",{key:An.key,onClick:()=>{Ee(!1),vn(An)},className:un.item},An.label)))),on?ge.createElement("div",{className:un.itemDisabled},"\u6062\u590D\u5BF9\u8BDD"):ge.createElement("div",{onClick:An=>{Ee(!1),Ue(An)},className:un.item},"\u6062\u590D\u5BF9\u8BDD"),ge.createElement("div",{onClick:An=>{Ee(!1),we(An)},className:un.item},"\u6E05\u7A7A\u5BF9\u8BDD")))))},Fe=be(59301),ft=Object.defineProperty,sn=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,_t=(ln,on,vn)=>on in ln?ft(ln,on,{enumerable:!0,configurable:!0,writable:!0,value:vn}):ln[on]=vn,hn=(ln,on)=>{for(var vn in on||(on={}))$t.call(on,vn)&&_t(ln,vn,on[vn]);if(sn)for(var vn of sn(on))Mt.call(on,vn)&&_t(ln,vn,on[vn]);return ln},Jn=(ln,on,vn)=>new Promise((Ue,we)=>{var pe=me=>{try{Me(vn.next(me))}catch($e){we($e)}},Ee=me=>{try{Me(vn.throw(me))}catch($e){we($e)}},Me=me=>me.done?Ue(me.value):Promise.resolve(me.value).then(pe,Ee);Me((vn=vn.apply(ln,on)).next())}),Ar=({})=>{var ln,on,vn,Ue;const{id:we,position:pe}=(0,Xe.oP)(),[Ee,Me]=(0,ge.useState)(!0),[me,$e]=(0,ge.useState)(!1),Pt=(0,ge.useRef)("bottomRight"),an=(0,ge.useRef)();let[An,In]=(0,ge.useState)({});const[En,Pn]=(0,ge.useState)(Number(we)),[Zn,Cr]=(0,ge.useState)([]),[Bt,dn]=(0,ge.useState)(1),[_n,Ot]=(0,ge.useState)(Number(pe)),nt=(0,ge.useRef)(Number(pe)),[Ft,Tn]=(0,ge.useState)([]),[Vn,tr]=(0,ge.useState)(!1),[jr,Nr]=(0,ge.useState)(!0),Kr=(0,ge.useRef)(null),kr=(0,ge.useRef)(1),[dr,pr]=(0,ge.useState)({});let[zr,mi]=(0,ge.useState)("");const[si,xa]=(0,ge.useState)(!1),[Ti,Wi]=(0,ge.useState)(!1),[Wr]=(0,xe.useSearchParams)();(0,ge.useEffect)(()=>((0,xe.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!1}),()=>{(0,xe.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ge.useEffect)(()=>{Fa()},[]),(0,ge.useEffect)(()=>{Kr.current.scrollTop=Kr.current.scrollHeight},[Bt]),(0,ge.useEffect)(()=>{const xt=document.getElementById("wechat_QR_code_ids");return xt.classList.add("hide"),()=>{xt.classList.remove("hide")}},[]);const Fa=()=>Jn(void 0,null,function*(){var xt,Gt;const Fn=yield(0,_e.ZP)("/api/chats.json",{method:"post",body:{to_user_id:we}});if((Fn==null?void 0:Fn.status)===0){const Mn=yield(0,_e.ZP)("/api/chats.json",{method:"get",params:{to_user_id:we,challenge_id:Number(pe)||""}});if(Mn!=null&&Mn.data){Nr(!1),Cr((Mn==null?void 0:Mn.data)||[]);const jn=(Gt=(xt=Mn==null?void 0:Mn.data)==null?void 0:xt.find(or=>or.to_user_id===Number(we)))==null?void 0:Gt.id;Pn(jn),Oi(jn),Da(jn,pe)}}}),Oi=xt=>Jn(void 0,null,function*(){const Gt=yield(0,_e.ZP)("/api/chats/challenge_list.json",{method:"get",params:{id:xt,challenge_id:_n||""}});Gt!=null&&Gt.challenges&&Tn([{id:0,subject:"\u5168\u90E8"},...Gt.challenges])}),Yi=(xt,Gt)=>Jn(void 0,null,function*(){const Fn=yield(0,_e.ZP)("/api/chats.json",{method:"get",params:{to_user_id:xt,challenge_id:Gt||""}});Fn!=null&&Fn.data&&Cr((Fn==null?void 0:Fn.data)||[]),Nr(!1)}),Da=(xt,Gt,Fn)=>Jn(void 0,null,function*(){var Mn;Me(!0);const jn=yield(0,_e.ZP)(`/api/chats/${xt}.json`,{method:"get",params:{challenge_id:Number(Gt)||""}});if(jn!=null&&jn.data){Fn&&(jn.data[jn.data.length-1].open=!0),pr(hn({},jn)||{}),tr(!0),$e(!1);const or=(Mn=Zn==null?void 0:Zn.find(Sr=>Sr.id===xt))==null?void 0:Mn.to_user_id;window.location.host==="gpt.educoder.net"?Wr.get("homeworkId")?xe.history.replace(`/chatgpt?id=0&position=0&homeworkId=${Wr.get("homeworkId")}`):xe.history.replace("/chatgpt?id=0&position=0"):Wr.get("homeworkId")?xe.history.replace(`/chatgpt?id=${or||we}&position=${Gt}&homeworkId=${Wr.get("homeworkId")}`):xe.history.replace(`/chatgpt?id=${or||we}&position=${Gt}`),Fn&&(dn(Math.random()),Yi(or,Gt))}Me(!1)}),Qi=xt=>{var Gt;mi(xt),(Gt=xt==null?void 0:xt.trim())==null||Gt.length},Bi=xt=>{kr.current=kr.current+1,Pn(xt),Ot(0),mi(""),$e(!1),Da(xt,0),Oi(xt)},Hi=()=>Jn(void 0,null,function*(){var xt;if(zr.trim().length===0){Lt.ZP.error("\u4E0D\u80FD\u8F93\u5165\u7EAF\u7A7A\u683C");return}if(!zr){Lt.ZP.warning("\u8BF7\u8F93\u5165\u4F60\u8981\u95EE\u7684\u95EE\u9898");return}$e(!0);const Gt=qe()().format("YYYY-MM-DDTHH:mm:ss.SSSZ"),Fn=hn({},dr);(xt=Fn==null?void 0:Fn.data)==null||xt.push({id:0,updated_at:Gt,question:zr,answer:Fe.createElement("div",{className:ke.animation},"\u8001\u5E08\u6B63\u5728\u56DE\u7B54\u4E2D\uFF0C\u8BF7\u7A0D\u540E")}),pr(Fn),dn(Bt+1),mi(""),kr.current=kr.current+1;const Mn=kr.current,jn=yield(0,_e.ZP)("/api/chats/get_answer",{method:"post",body:{chat_id:En,to_user_id:we,question:zr,challenge_id:_n||"",time:Gt}});Mn===kr.current&&(jn==null?void 0:jn.status)===0&&Da(En,_n,!0)}),ci=()=>{Da(En,_n),Yi(we,_n),xa(!1)},Vr=(xt,Gt,Fn="")=>Jn(void 0,null,function*(){Me(!0);let Mn={};Wr.get("homeworkId")?Mn={id:xt,satisfied:Gt,content:Fn,homework_common_id:Wr.get("homeworkId")}:Mn={id:xt,satisfied:Gt,content:Fn};const jn=yield(0,_e.ZP)("/api/chats/praise.json",{method:"post",body:Mn});(jn==null?void 0:jn.status)===0&&Da(En,_n)}),ia=xt=>{xt.shiftKey&&xt.keyCode===13||xt.keyCode===13&&(xt.preventDefault(),Hi())},cn=xt=>Jn(void 0,null,function*(){ut.default.confirm({icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u8BE5\u95EE\u7B54\u5185\u5BB9\u8FDB\u884C\u5220\u9664\uFF1F",onOk:()=>Jn(void 0,null,function*(){(yield(0,_e.ZP)("/api/chats/delete_one.json",{method:"delete",body:{id:xt}})).status===0&&(Lt.ZP.success("\u5220\u9664\u6210\u529F"),Da(En,_n))})})}),tt=()=>Jn(void 0,null,function*(){Me(!0),kr.current=kr.current+1,(yield(0,_e.ZP)("/api/chats/stop_one.json",{method:"delete",body:{challenge_id:_n,id:En}})).status===0&&Da(En,_n),Me(!1)}),yt=[`\u8BF7${dr==null?void 0:dr.user_name}\u8001\u5E08\u5C1D\u8BD5\u518D\u56DE\u7B54\u4E00\u6B21`,"\u53EF\u80FD\u542F\u7528\u4E86\u673A\u5668\u4EBA\uFF0C\u8BF7\u8001\u5E08\u4EB2\u81EA\u56DE\u7B54"],ht=xt=>{Yt(dr,xt)},dt=()=>{};return Fe.createElement("div",{className:ke.wrap},Fe.createElement("div",{className:ke.head},Fe.createElement("b",null,"\u5B9E\u8BAD >"),"\u6559\u5B66\u8F85\u5BFC\uFF08beta\u7248\u672C\uFF09"),Fe.createElement("div",{className:ke.content},Fe.createElement(zt.Z,{spinning:jr},Fe.createElement("div",{className:ke.left,onClick:()=>{Wi(!1)}},Fe.createElement("div",{className:ke.title},Fe.createElement("span",null,"\u95EE\u7B54\u5217\u8868"),Fe.createElement("div",{className:nn()(ke.add,me&&ke.disabledElement),onClick:()=>Jn(void 0,null,function*(){if(me)return;Nr(!0);const xt=yield(0,_e.ZP)("/api/chats.json",{method:"post",body:{to_user_id:we,new_chat:!0}});if(xt.status===0){const Gt=xt==null?void 0:xt.id;if(Gt===En){Lt.ZP.warning("\u5F53\u524D\u5DF2\u7ECF\u5728\u65B0\u5BF9\u8BDD\u7A97\u53E3"),Nr(!1);return}yield Yi(-1,0),Pn(Gt),Ot(0),yield Da(Gt,0)}Nr(!1)})})),Fe.createElement("div",{className:ke.leftBar},Zn.map(xt=>Fe.createElement("div",{key:xt.id,onClick:()=>Bi(xt.id),className:`${ke.li} ${xt.id===En?ke.active:""}`},xt!=null&&xt.avatar?Fe.createElement("img",{src:`${De.Z.IMG_SERVER}/images/${xt==null?void 0:xt.avatar}`}):Fe.createElement("img",{src:it}),Fe.createElement("aside",null,Fe.createElement("p",null,Fe.createElement("b",{title:xt.user_name},xt.user_name),Fe.createElement("span",null,xt.time)),Fe.createElement("div",null,xt.last_message))))))),Fe.createElement("div",{className:ke.right},Vn&&Fe.createElement("div",{className:ke.title,onClick:()=>{Wi(!1)}},Fe.createElement("section",{className:ke.center},Fe.createElement("span",null,"\u4E0E",dr==null?void 0:dr.user_name,"\u8001\u5E08\u6C9F\u901A\u4E2D\u2026"),Fe.createElement("div",{className:ke.tabs},Fe.createElement("i",{className:"iconfont icon-lianjie3"}),Fe.createElement("span",null,"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",dr!=null&&dr.challenge_name?`${(on=(ln=dr==null?void 0:dr.data[0])==null?void 0:ln.shixun)==null?void 0:on.name} \u5B9E\u8BAD---\u7B2C${dr==null?void 0:dr.challenge_position}\u5173`:"\u5168\u90E8"),Fe.createElement("span",{onClick:()=>{me||(nt.current=_n,xa(!0))},className:nn()(ke.cut,me&&ke.disabledElement)},"\u5207\u6362")),Fe.createElement(Ge,{disabled:me,recoverDisabled:!(dr!=null&&dr.can_recycle),onFileType:ht,onRecover:()=>Jn(void 0,null,function*(){Me(!0),(yield(0,_e.ZP)("/api/chats/recycle.json",{method:"post",body:{challenge_id:_n,id:En}})).status===0&&(Lt.ZP.success("\u6062\u590D\u5BF9\u8BDD\u6210\u529F"),Yi(we,_n),Da(En,_n)),Me(!1)}),onEmpty:()=>{ut.default.confirm({icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u5F53\u524D\u5BF9\u8BDD\u7A97\u53E3\u4E2D\u7684\u5BF9\u8BDD\u5185\u5BB9\u5168\u90E8\u6E05\u7A7A\uFF1F",onOk:()=>Jn(void 0,null,function*(){(yield(0,_e.ZP)("/api/chats/clean.json",{method:"delete",body:{challenge_id:_n,id:En}})).status===0&&(Lt.ZP.success("\u6E05\u7A7A\u5BF9\u8BDD\u6210\u529F"),Yi(we,_n),Da(En,_n))})})}}))),Fe.createElement("div",{onClick:()=>{Wi(!1)},className:ke.rightBar,ref:Kr},Fe.createElement(zt.Z,{spinning:Ee},!((vn=dr==null?void 0:dr.data)!=null&&vn.length)&&Fe.createElement("div",{className:ke.empty}),(Ue=dr==null?void 0:dr.data)==null?void 0:Ue.map((xt,Gt)=>{var Fn,Mn,jn;return Fe.createElement(ge.Fragment,{key:Gt},!!xt.question&&Fe.createElement("div",{className:ke.li},Fe.createElement("img",{src:`${De.Z.IMG_SERVER}/images/${dr==null?void 0:dr.my_avatar}`,style:{borderRadius:"50%",width:56,height:56}}),Fe.createElement("aside",null,Fe.createElement("p",null,Fe.createElement("b",null,dr.my_user_name),Fe.createElement("span",null,qe()(xt.updated_at).format("YYYY-MM-DD HH:mm"))),Fe.createElement(At.Z,{value:xt.question}),Fe.createElement("div",{className:ke.action},Fe.createElement(Qt.CopyToClipboard,{text:xt.question,onCopy:()=>Lt.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},Fe.createElement("div",{className:ke.tagBtn},Fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236")),!me&&Fe.createElement("div",{onClick:()=>cn(xt.id),className:ke.tagBtn},Fe.createElement("i",{className:"iconfont icon-shanchu8"}),"\u5220\u9664")))),!!xt.answer&&Fe.createElement("div",{style:Gt===0?{borderTop:0}:{},className:`${ke.li} ${ke.active}`},dr!=null&&dr.avatar?Fe.createElement("img",{src:`${De.Z.IMG_SERVER}/images/${dr==null?void 0:dr.avatar}`,style:{borderRadius:"50%",width:56,height:56}}):Fe.createElement("img",{src:it,style:{borderRadius:"50%",width:56,height:56}}),Fe.createElement("aside",null,Fe.createElement("p",null,Fe.createElement("div",{style:{display:"flex"}},Fe.createElement("b",{style:{marginRight:"20px"}},dr.user_name),(Fn=xt.shixun)!=null&&Fn.name?Fe.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",(Mn=xt.shixun)==null?void 0:Mn.name," \u5B9E\u8BAD---\u7B2C",(jn=xt.challenge)==null?void 0:jn.position,"\u5173"):Fe.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A\u5168\u90E8")),Fe.createElement("span",null,qe()(xt.updated_at).format("YYYY-MM-DD HH:mm"))),xt.id===0?xt.answer:Fe.createElement(bt,{onTextChange:dt,open:!!(xt!=null&&xt.open),text:xt.answer}),xt.id===0&&Fe.createElement("div",{className:ke.action},Fe.createElement("div",{onClick:tt,className:ke.tagBtn},Fe.createElement("i",{className:"iconfont icon-tingzhishengcheng"}),"\u505C\u6B62\u751F\u6210")),(xt==null?void 0:xt.id)!==0&&Fe.createElement("div",{className:ke.action},!!xt.question&&Fe.createElement(Fe.Fragment,null,Fe.createElement("div",{onClick:()=>{zr=xt.question,Hi()},className:ke.tagBtn},Fe.createElement("i",{className:"iconfont icon-zhongxinshengcheng"}),"\u91CD\u65B0\u751F\u6210"),Fe.createElement(Qt.CopyToClipboard,{text:xt.answer,onCopy:()=>Lt.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},Fe.createElement("div",{className:ke.tagBtn},Fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236")),!me&&Fe.createElement("div",{onClick:()=>cn(xt.id),className:ke.tagBtn},Fe.createElement("i",{className:"iconfont icon-shanchu8"}),"\u5220\u9664")),Fe.createElement("span",{style:{marginLeft:"auto"},onClick:()=>{Vr(xt.id,xt.satisfied===1?-1:1)},className:`mr30 ${xt.satisfied===1?ke.actActive:""}`},Fe.createElement("i",{className:"iconfont icon-yijiejue"}),"\u5DF2\u89E3\u51B3"),Fe.createElement(We.Z,{autoAdjustOverflow:!1,destroyTooltipOnHide:!0,open:An[Gt],getPopupContainer:or=>or,placement:Pt.current,content:Fe.createElement("div",{className:ke.box,onMouseLeave:or=>{clearTimeout(an.current),An[Gt]=!1,In(hn({},An))},onMouseOver:()=>{clearTimeout(an.current)}},Fe.createElement("p",null,"\u62B1\u6B49\u8BA9\u4F60\u5931\u671B\u4E86\uFF0C\u8BF7\u7EE7\u7EED\u5C1D\u8BD5\uFF1A"),yt.map((or,Sr)=>{const Pr=or===xt.content;return Fe.createElement("div",{onClick:()=>{Vr(xt.id,Pr?-1:0,Pr?"":or)},className:Pr?ke.hot:"",key:or},or)}))},Fe.createElement("span",{onMouseOver:or=>{clearTimeout(an.current),window.innerHeight-or.target.getBoundingClientRect().top<350?Pt.current="topRight":Pt.current="bottomRight",An={},An[Gt]=!0,In(hn({},An))},onMouseOut:or=>{an.current=setTimeout(()=>{clearTimeout(an.current),An[Gt]=!1,In(hn({},An))},800)},className:`${ke.unsolved} ${xt.satisfied===0?ke.actActive:""}`},Fe.createElement("i",{className:"iconfont icon-weijiejuezhengchang"}),"\u672A\u89E3\u51B3"))))))}))),Vn&&Fe.createElement("div",{className:ke.answers},!Ti&&Fe.createElement("div",{className:ke.open_md,onClick:()=>{Wi(!0)}},"\u8BF7\u8F93\u5165\u4F60\u7684\u95EE\u9898"),Fe.createElement("div",{className:Ti?"md_container":"md_container hide",style:{marginTop:20}},Fe.createElement(st.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:zr,height:240,width:1e3,onChange:Qi,className:ke.md_editor}),Fe.createElement("div",{className:ke.tip_container,style:{display:"flex"},onClick:()=>{Wi(!1)}},Fe.createElement("div",{className:ke.btn_send,onClick:Hi},"\u53D1\u9001")))))),Fe.createElement(ut.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,onCancel:()=>{Ot(nt.current),xa(!1)},onOk:ci,open:si,wrapClassName:Qe.Z.CustomCss,title:"\u66F4\u6362\u5173\u8054",width:"666px"},Fe.createElement("div",null,Fe.createElement(lt.ZP.Group,{value:_n,onChange:xt=>Ot(xt.target.value)},Fe.createElement(vt.Z,{direction:"vertical"},Ft==null?void 0:Ft.map(xt=>{var Gt;return Fe.createElement(lt.ZP,{key:xt.id,value:xt.id},xt.id===0?xt.subject:`${(Gt=xt.shixun)==null?void 0:Gt.name} \u5B9E\u8BAD---\u7B2C${xt==null?void 0:xt.challenge_position}\u5173`)}))))))}},77578:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ge}});const ge=Lt=>Lt?typeof Lt=="function"?Lt():Lt:null},56762:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Lt}});var ge=be(59301);function Lt(){const[,ut]=ge.useReducer(zt=>zt+1,0);return ut}},19080:function(lr,Yn,be){"use strict";be.d(Yn,{F:function(){return We},Z:function(){return zt}});var ge=be(92310),Lt=be.n(ge);const ut=null;function zt(lt,vt,ke){return Lt()({[`${lt}-status-success`]:vt==="success",[`${lt}-status-warning`]:vt==="warning",[`${lt}-status-error`]:vt==="error",[`${lt}-status-validating`]:vt==="validating",[`${lt}-has-feedback`]:ke})}const We=(lt,vt)=>vt||lt},93891:function(lr,Yn,be){"use strict";var ge=be(59301),Lt=be(36355),ut=be(64165);const zt=We=>{const{componentName:lt}=We,{getPrefixCls:vt}=(0,ge.useContext)(Lt.E_),ke=vt("empty");switch(lt){case"Table":case"List":return ge.createElement(ut.Z,{image:ut.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ge.createElement(ut.Z,{image:ut.Z.PRESENTED_IMAGE_SIMPLE,className:`${ke}-small`});default:return ge.createElement(ut.Z,null)}};Yn.Z=zt},43428:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ln}});var ge=be(92310),Lt=be.n(ge),ut=be(85899),zt=be(72190),We=be(43403),lt=be(34280),vt=be(59301),ke=vt.createContext(null),_e=vt.createContext({}),xe=ke,Xe=be(18642),De=be(60499),Qe=be(77900),ot=be(10228),qe=be(26112),it=be(70425),st=function(vn){var Ue=vn.prefixCls,we=vn.className,pe=vn.style,Ee=vn.children,Me=vn.containerRef,me=vn.id,$e=vn.onMouseEnter,Pt=vn.onMouseOver,an=vn.onMouseLeave,An=vn.onClick,In=vn.onKeyDown,En=vn.onKeyUp,Pn={onMouseEnter:$e,onMouseOver:Pt,onMouseLeave:an,onClick:An,onKeyDown:In,onKeyUp:En},Zn=vt.useContext(_e),Cr=Zn.panel,Bt=(0,it.useComposeRef)(Cr,Me);return vt.createElement(vt.Fragment,null,vt.createElement("div",(0,De.Z)({id:me,className:Lt()("".concat(Ue,"-content"),we),style:(0,ut.Z)({},pe),"aria-modal":"true",role:"dialog",ref:Bt},Pn),Ee))},At=st,Qt=be(48736);function pt(on){return typeof on=="string"&&String(Number(on))===on?((0,Qt.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(on)):on}function St(on){warning(!("wrapperClassName"in on),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!on.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var rt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ze(on,vn){var Ue,we,pe,Ee,Me=on.prefixCls,me=on.open,$e=on.placement,Pt=on.inline,an=on.push,An=on.forceRender,In=on.autoFocus,En=on.keyboard,Pn=on.rootClassName,Zn=on.rootStyle,Cr=on.zIndex,Bt=on.className,dn=on.id,_n=on.style,Ot=on.motion,nt=on.width,Ft=on.height,Tn=on.children,Vn=on.contentWrapperStyle,tr=on.mask,jr=on.maskClosable,Nr=on.maskMotion,Kr=on.maskClassName,kr=on.maskStyle,dr=on.afterOpenChange,pr=on.onClose,zr=on.onMouseEnter,mi=on.onMouseOver,si=on.onMouseLeave,xa=on.onClick,Ti=on.onKeyDown,Wi=on.onKeyUp,Wr=vt.useRef(),Fa=vt.useRef(),Oi=vt.useRef();vt.useImperativeHandle(vn,function(){return Wr.current});var Yi=function(Mn){var jn=Mn.keyCode,or=Mn.shiftKey;switch(jn){case ot.Z.TAB:{if(jn===ot.Z.TAB){if(!or&&document.activeElement===Oi.current){var Sr;(Sr=Fa.current)===null||Sr===void 0||Sr.focus({preventScroll:!0})}else if(or&&document.activeElement===Fa.current){var Pr;(Pr=Oi.current)===null||Pr===void 0||Pr.focus({preventScroll:!0})}}break}case ot.Z.ESC:{pr&&En&&(Mn.stopPropagation(),pr(Mn));break}}};vt.useEffect(function(){if(me&&In){var Fn;(Fn=Wr.current)===null||Fn===void 0||Fn.focus({preventScroll:!0})}},[me]);var Da=vt.useState(!1),Qi=(0,zt.Z)(Da,2),Bi=Qi[0],Hi=Qi[1],ci=vt.useContext(xe),Vr;an===!1?Vr={distance:0}:an===!0?Vr={}:Vr=an||{};var ia=(Ue=(we=(pe=Vr)===null||pe===void 0?void 0:pe.distance)!==null&&we!==void 0?we:ci==null?void 0:ci.pushDistance)!==null&&Ue!==void 0?Ue:180,cn=vt.useMemo(function(){return{pushDistance:ia,push:function(){Hi(!0)},pull:function(){Hi(!1)}}},[ia]);vt.useEffect(function(){if(me){var Fn;ci==null||(Fn=ci.push)===null||Fn===void 0||Fn.call(ci)}else{var Mn;ci==null||(Mn=ci.pull)===null||Mn===void 0||Mn.call(ci)}},[me]),vt.useEffect(function(){return function(){var Fn;ci==null||(Fn=ci.pull)===null||Fn===void 0||Fn.call(ci)}},[]);var tt=tr&&vt.createElement(Qe.default,(0,De.Z)({key:"mask"},Nr,{visible:me}),function(Fn,Mn){var jn=Fn.className,or=Fn.style;return vt.createElement("div",{className:Lt()("".concat(Me,"-mask"),jn,Kr),style:(0,ut.Z)((0,ut.Z)({},or),kr),onClick:jr&&me?pr:void 0,ref:Mn})}),yt=typeof Ot=="function"?Ot($e):Ot,ht={};if(Bi&&ia)switch($e){case"top":ht.transform="translateY(".concat(ia,"px)");break;case"bottom":ht.transform="translateY(".concat(-ia,"px)");break;case"left":ht.transform="translateX(".concat(ia,"px)");break;default:ht.transform="translateX(".concat(-ia,"px)");break}$e==="left"||$e==="right"?ht.width=pt(nt):ht.height=pt(Ft);var dt={onMouseEnter:zr,onMouseOver:mi,onMouseLeave:si,onClick:xa,onKeyDown:Ti,onKeyUp:Wi},xt=vt.createElement(Qe.default,(0,De.Z)({key:"panel"},yt,{visible:me,forceRender:An,onVisibleChanged:function(Mn){dr==null||dr(Mn)},removeOnLeave:!1,leavedClassName:"".concat(Me,"-content-wrapper-hidden")}),function(Fn,Mn){var jn=Fn.className,or=Fn.style;return vt.createElement("div",(0,De.Z)({className:Lt()("".concat(Me,"-content-wrapper"),jn),style:(0,ut.Z)((0,ut.Z)((0,ut.Z)({},ht),or),Vn)},(0,qe.Z)(on,{data:!0})),vt.createElement(At,(0,De.Z)({id:dn,containerRef:Mn,prefixCls:Me,className:Bt,style:_n},dt),Tn))}),Gt=(0,ut.Z)({},Zn);return Cr&&(Gt.zIndex=Cr),vt.createElement(xe.Provider,{value:cn},vt.createElement("div",{className:Lt()(Me,"".concat(Me,"-").concat($e),Pn,(Ee={},(0,Xe.Z)(Ee,"".concat(Me,"-open"),me),(0,Xe.Z)(Ee,"".concat(Me,"-inline"),Pt),Ee)),style:Gt,tabIndex:-1,ref:Wr,onKeyDown:Yi},tt,vt.createElement("div",{tabIndex:0,ref:Fa,style:rt,"aria-hidden":"true","data-sentinel":"start"}),xt,vt.createElement("div",{tabIndex:0,ref:Oi,style:rt,"aria-hidden":"true","data-sentinel":"end"})))}var gt=vt.forwardRef(ze),Et=gt,jt=function(vn){var Ue=vn.open,we=Ue===void 0?!1:Ue,pe=vn.prefixCls,Ee=pe===void 0?"rc-drawer":pe,Me=vn.placement,me=Me===void 0?"right":Me,$e=vn.autoFocus,Pt=$e===void 0?!0:$e,an=vn.keyboard,An=an===void 0?!0:an,In=vn.width,En=In===void 0?378:In,Pn=vn.mask,Zn=Pn===void 0?!0:Pn,Cr=vn.maskClosable,Bt=Cr===void 0?!0:Cr,dn=vn.getContainer,_n=vn.forceRender,Ot=vn.afterOpenChange,nt=vn.destroyOnClose,Ft=vn.onMouseEnter,Tn=vn.onMouseOver,Vn=vn.onMouseLeave,tr=vn.onClick,jr=vn.onKeyDown,Nr=vn.onKeyUp,Kr=vn.panelRef,kr=vt.useState(!1),dr=(0,zt.Z)(kr,2),pr=dr[0],zr=dr[1],mi=vt.useState(!1),si=(0,zt.Z)(mi,2),xa=si[0],Ti=si[1];(0,lt.Z)(function(){Ti(!0)},[]);var Wi=xa?we:!1,Wr=vt.useRef(),Fa=vt.useRef();(0,lt.Z)(function(){Wi&&(Fa.current=document.activeElement)},[Wi]);var Oi=function(Hi){var ci;if(zr(Hi),Ot==null||Ot(Hi),!Hi&&Fa.current&&!((ci=Wr.current)!==null&&ci!==void 0&&ci.contains(Fa.current))){var Vr;(Vr=Fa.current)===null||Vr===void 0||Vr.focus({preventScroll:!0})}},Yi=vt.useMemo(function(){return{panel:Kr}},[Kr]);if(!_n&&!pr&&!Wi&&nt)return null;var Da={onMouseEnter:Ft,onMouseOver:Tn,onMouseLeave:Vn,onClick:tr,onKeyDown:jr,onKeyUp:Nr},Qi=(0,ut.Z)((0,ut.Z)({},vn),{},{open:Wi,prefixCls:Ee,placement:me,autoFocus:Pt,keyboard:An,width:En,mask:Zn,maskClosable:Bt,inline:dn===!1,afterOpenChange:Oi,ref:Wr},Da);return vt.createElement(_e.Provider,{value:Yi},vt.createElement(We.Z,{open:Wi||_n||pr,autoDestroy:!1,getContainer:dn,autoLock:Zn&&(Wi||pr)},vt.createElement(Et,Qi)))},mt=jt,Yt=mt,Tt=be(62892),Xt=be(36355),bt=be(32441),un=be(47729),Vt=on=>{const{prefixCls:vn,title:Ue,footer:we,extra:pe,closeIcon:Ee,closable:Me,onClose:me,headerStyle:$e,drawerStyle:Pt,bodyStyle:an,footerStyle:An,children:In}=on,En=vt.useCallback(dn=>vt.createElement("button",{type:"button",onClick:me,"aria-label":"Close",className:`${vn}-close`},dn),[me]),[Pn,Zn]=(0,un.Z)(Me,Ee,En,void 0,!0),Cr=vt.useMemo(()=>!Ue&&!Pn?null:vt.createElement("div",{style:$e,className:Lt()(`${vn}-header`,{[`${vn}-header-close-only`]:Pn&&!Ue&&!pe})},vt.createElement("div",{className:`${vn}-header-title`},Zn,Ue&&vt.createElement("div",{className:`${vn}-title`},Ue)),pe&&vt.createElement("div",{className:`${vn}-extra`},pe)),[Pn,Zn,pe,$e,vn,Ue]),Bt=vt.useMemo(()=>{if(!we)return null;const dn=`${vn}-footer`;return vt.createElement("div",{className:dn,style:An},we)},[we,An,vn]);return vt.createElement("div",{className:`${vn}-wrapper-body`,style:Pt},Cr,vt.createElement("div",{className:`${vn}-body`,style:an},In),Bt)},nn=be(33234),Kt=be(83116),Ge=be(37613),ft=on=>{const{componentCls:vn,motionDurationSlow:Ue}=on,we={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Ue}`}}};return{[vn]:{[`${vn}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Ue}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${vn}-panel-motion`]:{"&-left":[we,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[we,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[we,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[we,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const sn=on=>{const{componentCls:vn,zIndexPopup:Ue,colorBgMask:we,colorBgElevated:pe,motionDurationSlow:Ee,motionDurationMid:Me,padding:me,paddingLG:$e,fontSizeLG:Pt,lineHeightLG:an,lineWidth:An,lineType:In,colorSplit:En,marginSM:Pn,colorIcon:Zn,colorIconHover:Cr,colorText:Bt,fontWeightStrong:dn,footerPaddingBlock:_n,footerPaddingInline:Ot}=on,nt=`${vn}-content-wrapper`;return{[vn]:{position:"fixed",inset:0,zIndex:Ue,pointerEvents:"none","&-pure":{position:"relative",background:pe,[`&${vn}-left`]:{boxShadow:on.boxShadowDrawerLeft},[`&${vn}-right`]:{boxShadow:on.boxShadowDrawerRight},[`&${vn}-top`]:{boxShadow:on.boxShadowDrawerUp},[`&${vn}-bottom`]:{boxShadow:on.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${vn}-mask`]:{position:"absolute",inset:0,zIndex:Ue,background:we,pointerEvents:"auto"},[nt]:{position:"absolute",zIndex:Ue,maxWidth:"100vw",transition:`all ${Ee}`,"&-hidden":{display:"none"}},[`&-left > ${nt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:on.boxShadowDrawerLeft},[`&-right > ${nt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:on.boxShadowDrawerRight},[`&-top > ${nt}`]:{top:0,insetInline:0,boxShadow:on.boxShadowDrawerUp},[`&-bottom > ${nt}`]:{bottom:0,insetInline:0,boxShadow:on.boxShadowDrawerDown},[`${vn}-content`]:{width:"100%",height:"100%",overflow:"auto",background:pe,pointerEvents:"auto"},[`${vn}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${vn}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${me}px ${$e}px`,fontSize:Pt,lineHeight:an,borderBottom:`${An}px ${In} ${En}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${vn}-extra`]:{flex:"none"},[`${vn}-close`]:{display:"inline-block",marginInlineEnd:Pn,color:Zn,fontWeight:dn,fontSize:Pt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${Me}`,textRendering:"auto","&:focus, &:hover":{color:Cr,textDecoration:"none"}},[`${vn}-title`]:{flex:1,margin:0,color:Bt,fontWeight:on.fontWeightStrong,fontSize:Pt,lineHeight:an},[`${vn}-body`]:{flex:1,minWidth:0,minHeight:0,padding:$e,overflow:"auto"},[`${vn}-footer`]:{flexShrink:0,padding:`${_n}px ${Ot}px`,borderTop:`${An}px ${In} ${En}`},"&-rtl":{direction:"rtl"}}}};var $t=(0,Kt.Z)("Drawer",on=>{const vn=(0,Ge.TS)(on,{});return[sn(vn),ft(vn)]},on=>({zIndexPopup:on.zIndexPopupBase,footerPaddingBlock:on.paddingXS,footerPaddingInline:on.padding})),Mt=be(11575),_t=function(on,vn){var Ue={};for(var we in on)Object.prototype.hasOwnProperty.call(on,we)&&vn.indexOf(we)<0&&(Ue[we]=on[we]);if(on!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,we=Object.getOwnPropertySymbols(on);pe{var vn;const{rootClassName:Ue,width:we,height:pe,size:Ee="default",mask:Me=!0,push:me=Jn,open:$e,afterOpenChange:Pt,onClose:an,prefixCls:An,getContainer:In,style:En,className:Pn,visible:Zn,afterVisibleChange:Cr}=on,Bt=_t(on,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:dn,getPrefixCls:_n,direction:Ot,drawer:nt}=vt.useContext(Xt.E_),Ft=_n("drawer",An),[Tn,Vn]=$t(Ft),tr=In===void 0&&dn?()=>dn(document.body):In,jr=Lt()({"no-mask":!Me,[`${Ft}-rtl`]:Ot==="rtl"},Ue,Vn),Nr=vt.useMemo(()=>we!=null?we:Ee==="large"?736:378,[we,Ee]),Kr=vt.useMemo(()=>pe!=null?pe:Ee==="large"?736:378,[pe,Ee]),kr={motionName:(0,Tt.m)(Ft,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},dr=zr=>({motionName:(0,Tt.m)(Ft,`panel-motion-${zr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),pr=(0,Mt.H)();return Tn(vt.createElement(nn.BR,null,vt.createElement(bt.Ux,{status:!0,override:!0},vt.createElement(Yt,Object.assign({prefixCls:Ft,onClose:an,maskMotion:kr,motion:dr},Bt,{open:$e!=null?$e:Zn,mask:Me,push:me,width:Nr,height:Kr,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),En),className:Lt()(nt==null?void 0:nt.className,Pn),rootClassName:jr,getContainer:tr,afterOpenChange:Pt!=null?Pt:Cr,panelRef:pr}),vt.createElement(Vt,Object.assign({prefixCls:Ft},Bt,{onClose:an}))))))},Ar=on=>{const{prefixCls:vn,style:Ue,className:we,placement:pe="right"}=on,Ee=_t(on,["prefixCls","style","className","placement"]),{getPrefixCls:Me}=vt.useContext(Xt.E_),me=Me("drawer",vn),[$e,Pt]=$t(me),an=Lt()(me,`${me}-pure`,`${me}-${pe}`,Pt,we);return $e(vt.createElement("div",{className:an,style:Ue},vt.createElement(Vt,Object.assign({prefixCls:me},Ee))))};Kn._InternalPanelDoNotUseOrYouWillBeFired=Ar;var ln=Kn},91857:function(lr,Yn,be){"use strict";var ge=be(59301),Lt=be(38819),ut=be(92310),zt=be.n(ut),We=be(31561),lt=be(70425),vt=be(18929),ke=be(2738),_e=be(79676),xe=be(53487),Xe=be(92343),De=be(36355),Qe=be(20834),ot=be(40875),qe=be(88088),it=be(47211);const st=null,At=rt=>{const{menu:ze,arrow:gt,prefixCls:Et,children:jt,trigger:mt,disabled:Yt,dropdownRender:Tt,getPopupContainer:Xt,overlayClassName:bt,rootClassName:un,open:Ln,onOpenChange:Vt,visible:nn,onVisibleChange:Kt,mouseEnterDelay:Ge=.15,mouseLeaveDelay:Fe=.1,autoAdjustOverflow:ft=!0,placement:sn="",overlay:$t,transitionName:Mt}=rt,{getPopupContainer:_t,getPrefixCls:hn,direction:Jn}=ge.useContext(De.E_),Kn=ge.useMemo(()=>{const Pn=hn();return Mt!==void 0?Mt:sn.includes("top")?`${Pn}-slide-down`:`${Pn}-slide-up`},[hn,sn,Mt]),Ar=ge.useMemo(()=>sn?sn.includes("Center")?sn.slice(0,sn.indexOf("Center")):sn:Jn==="rtl"?"bottomRight":"bottomLeft",[sn,Jn]),ln=hn("dropdown",Et),[on,vn]=(0,it.Z)(ln),[,Ue]=(0,qe.Z)(),we=ge.Children.only(jt),pe=(0,Xe.Tm)(we,{className:zt()(`${ln}-trigger`,{[`${ln}-rtl`]:Jn==="rtl"},we.props.className),disabled:Yt}),Ee=Yt?[]:mt;let Me;Ee&&Ee.includes("contextMenu")&&(Me=!0);const[me,$e]=(0,vt.Z)(!1,{value:Ln!=null?Ln:nn}),Pt=(0,lt.useEvent)(Pn=>{Vt==null||Vt(Pn),Kt==null||Kt(Pn),$e(Pn)}),an=zt()(bt,un,vn,{[`${ln}-rtl`]:Jn==="rtl"}),An=(0,_e.Z)({arrowPointAtCenter:typeof gt=="object"&>.pointAtCenter,autoAdjustOverflow:ft,offset:Ue.marginXXS,arrowWidth:gt?Ue.sizePopupArrow:0,borderRadius:Ue.borderRadius}),In=ge.useCallback(()=>{$e(!1)},[]),En=()=>{let Pn;return ze!=null&&ze.items?Pn=ge.createElement(Qe.default,Object.assign({},ze)):typeof $t=="function"?Pn=$t():Pn=$t,Tt&&(Pn=Tt(Pn)),Pn=ge.Children.only(typeof Pn=="string"?ge.createElement("span",null,Pn):Pn),ge.createElement(ot.J,{prefixCls:`${ln}-menu`,expandIcon:ge.createElement("span",{className:`${ln}-menu-submenu-arrow`},ge.createElement(Lt.Z,{className:`${ln}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:In,validator:Zn=>{let{mode:Cr}=Zn}},Pn)};return on(ge.createElement(We.Z,Object.assign({alignPoint:Me},(0,ke.Z)(rt,["rootClassName"]),{mouseEnterDelay:Ge,mouseLeaveDelay:Fe,visible:me,builtinPlacements:An,arrow:!!gt,overlayClassName:an,prefixCls:ln,getPopupContainer:Xt||_t,transitionName:Kn,trigger:Ee,overlay:En,placement:Ar,onVisibleChange:Pt}),pe))};function Qt(rt){return Object.assign(Object.assign({},rt),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const pt=(0,xe.Z)(At,"dropdown",rt=>rt,Qt),St=rt=>ge.createElement(pt,Object.assign({},rt),ge.createElement("span",null));At._InternalPanelDoNotUseOrYouWillBeFired=St,Yn.Z=At},38854:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return qe}});var ge=be(91857),Lt=be(92310),ut=be.n(Lt),zt=be(59301),We=be(18785),lt=be(3113),vt=be(36355),ke=be(81327),_e=be(33234),xe=be(47211),Xe=function(it,st){var At={};for(var Qt in it)Object.prototype.hasOwnProperty.call(it,Qt)&&st.indexOf(Qt)<0&&(At[Qt]=it[Qt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Qt=Object.getOwnPropertySymbols(it);pt{const{getPopupContainer:st,getPrefixCls:At,direction:Qt}=zt.useContext(vt.E_),{prefixCls:pt,type:St="default",danger:rt,disabled:ze,loading:gt,onClick:Et,htmlType:jt,children:mt,className:Yt,menu:Tt,arrow:Xt,autoFocus:bt,overlay:un,trigger:Ln,align:Vt,open:nn,onOpenChange:Kt,placement:Ge,getPopupContainer:Fe,href:ft,icon:sn=zt.createElement(We.Z,null),title:$t,buttonsRender:Mt=En=>En,mouseEnterDelay:_t,mouseLeaveDelay:hn,overlayClassName:Jn,overlayStyle:Kn,destroyPopupOnHide:Ar,dropdownRender:ln}=it,on=Xe(it,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),vn=At("dropdown",pt),Ue=`${vn}-button`,[we,pe]=(0,xe.Z)(vn),Ee={menu:Tt,arrow:Xt,autoFocus:bt,align:Vt,disabled:ze,trigger:ze?[]:Ln,onOpenChange:Kt,getPopupContainer:Fe||st,mouseEnterDelay:_t,mouseLeaveDelay:hn,overlayClassName:Jn,overlayStyle:Kn,destroyPopupOnHide:Ar,dropdownRender:ln},{compactSize:Me,compactItemClassnames:me}=(0,_e.ri)(vn,Qt),$e=ut()(Ue,me,Yt,pe);"overlay"in it&&(Ee.overlay=un),"open"in it&&(Ee.open=nn),"placement"in it?Ee.placement=Ge:Ee.placement=Qt==="rtl"?"bottomLeft":"bottomRight";const Pt=zt.createElement(lt.ZP,{type:St,danger:rt,disabled:ze,loading:gt,onClick:Et,htmlType:jt,href:ft,title:$t},mt),an=zt.createElement(lt.ZP,{type:St,danger:rt,icon:sn}),[An,In]=Mt([Pt,an]);return we(zt.createElement(ke.Z.Compact,Object.assign({className:$e,size:Me,block:!0},on),An,zt.createElement(ge.Z,Object.assign({},Ee),In)))};De.__ANT_BUTTON=!0;var Qe=De;const ot=ge.Z;ot.Button=Qe;var qe=ot},47211:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Xe}});var ge=be(17313),Lt=be(13826),ut=be(92899),zt=be(29878),We=be(19447),lt=be(83116),vt=be(37613),_e=De=>{const{componentCls:Qe,menuCls:ot,colorError:qe,colorTextLightSolid:it}=De,st=`${ot}-item`;return{[`${Qe}, ${Qe}-menu-submenu`]:{[`${ot} ${st}`]:{[`&${st}-danger:not(${st}-disabled)`]:{color:qe,"&:hover":{color:it,backgroundColor:qe}}}}}};const xe=De=>{const{componentCls:Qe,menuCls:ot,zIndexPopup:qe,dropdownArrowDistance:it,sizePopupArrow:st,antCls:At,iconCls:Qt,motionDurationMid:pt,dropdownPaddingVertical:St,fontSize:rt,dropdownEdgeChildPadding:ze,colorTextDisabled:gt,fontSizeIcon:Et,controlPaddingHorizontal:jt,colorBgElevated:mt}=De;return[{[Qe]:Object.assign(Object.assign({},(0,ge.Wf)(De)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:qe,display:"block","&::before":{position:"absolute",insetBlock:-it+st/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${At}-btn`]:{[`& > ${Qt}-down, & > ${At}-btn-icon > ${Qt}-down`]:{fontSize:Et}},[`${Qe}-wrap`]:{position:"relative",[`${At}-btn > ${Qt}-down`]:{fontSize:Et},[`${Qt}-down::before`]:{transition:`transform ${pt}`}},[`${Qe}-wrap-open`]:{[`${Qt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${At}-slide-down-enter${At}-slide-down-enter-active${Qe}-placement-bottomLeft, &${At}-slide-down-appear${At}-slide-down-appear-active${Qe}-placement-bottomLeft, &${At}-slide-down-enter${At}-slide-down-enter-active${Qe}-placement-bottom, &${At}-slide-down-appear${At}-slide-down-appear-active${Qe}-placement-bottom, &${At}-slide-down-enter${At}-slide-down-enter-active${Qe}-placement-bottomRight, &${At}-slide-down-appear${At}-slide-down-appear-active${Qe}-placement-bottomRight`]:{animationName:Lt.fJ},[`&${At}-slide-up-enter${At}-slide-up-enter-active${Qe}-placement-topLeft, &${At}-slide-up-appear${At}-slide-up-appear-active${Qe}-placement-topLeft, &${At}-slide-up-enter${At}-slide-up-enter-active${Qe}-placement-top, &${At}-slide-up-appear${At}-slide-up-appear-active${Qe}-placement-top, &${At}-slide-up-enter${At}-slide-up-enter-active${Qe}-placement-topRight, &${At}-slide-up-appear${At}-slide-up-appear-active${Qe}-placement-topRight`]:{animationName:Lt.Qt},[`&${At}-slide-down-leave${At}-slide-down-leave-active${Qe}-placement-bottomLeft, &${At}-slide-down-leave${At}-slide-down-leave-active${Qe}-placement-bottom, &${At}-slide-down-leave${At}-slide-down-leave-active${Qe}-placement-bottomRight`]:{animationName:Lt.Uw},[`&${At}-slide-up-leave${At}-slide-up-leave-active${Qe}-placement-topLeft, &${At}-slide-up-leave${At}-slide-up-leave-active${Qe}-placement-top, &${At}-slide-up-leave${At}-slide-up-leave-active${Qe}-placement-topRight`]:{animationName:Lt.ly}})},(0,We.ZP)(De,{colorBg:mt,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Qe} ${ot}`]:{position:"relative",margin:0},[`${ot}-submenu-popup`]:{position:"absolute",zIndex:qe,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Qe}, ${Qe}-menu-submenu`]:{[ot]:Object.assign(Object.assign({padding:ze,listStyleType:"none",backgroundColor:mt,backgroundClip:"padding-box",borderRadius:De.borderRadiusLG,outline:"none",boxShadow:De.boxShadowSecondary},(0,ge.Qy)(De)),{[`${ot}-item-group-title`]:{padding:`${St}px ${jt}px`,color:De.colorTextDescription,transition:`all ${pt}`},[`${ot}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ot}-item-icon`]:{minWidth:rt,marginInlineEnd:De.marginXS,fontSize:De.fontSizeSM},[`${ot}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${pt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ot}-item, ${ot}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${St}px ${jt}px`,color:De.colorText,fontWeight:"normal",fontSize:rt,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${pt}`,borderRadius:De.borderRadiusSM,"&:hover, &-active":{backgroundColor:De.controlItemBgHover}},(0,ge.Qy)(De)),{"&-selected":{color:De.colorPrimary,backgroundColor:De.controlItemBgActive,"&:hover, &-active":{backgroundColor:De.controlItemBgActiveHover}},"&-disabled":{color:gt,cursor:"not-allowed","&:hover":{color:gt,backgroundColor:mt,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${De.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:De.colorSplit},[`${Qe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:De.paddingXS,[`${Qe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:De.colorTextDescription,fontSize:Et,fontStyle:"normal"}}}),[`${ot}-item-group-list`]:{margin:`0 ${De.marginXS}px`,padding:0,listStyle:"none"},[`${ot}-submenu-title`]:{paddingInlineEnd:jt+De.fontSizeSM},[`${ot}-submenu-vertical`]:{position:"relative"},[`${ot}-submenu${ot}-submenu-disabled ${Qe}-menu-submenu-title`]:{[`&, ${Qe}-menu-submenu-arrow-icon`]:{color:gt,backgroundColor:mt,cursor:"not-allowed"}},[`${ot}-submenu-selected ${Qe}-menu-submenu-title`]:{color:De.colorPrimary}})}},[(0,Lt.oN)(De,"slide-up"),(0,Lt.oN)(De,"slide-down"),(0,ut.Fm)(De,"move-up"),(0,ut.Fm)(De,"move-down"),(0,zt._y)(De,"zoom-big")]]};var Xe=(0,lt.Z)("Dropdown",(De,Qe)=>{let{rootPrefixCls:ot}=Qe;const{marginXXS:qe,sizePopupArrow:it,controlHeight:st,fontSize:At,lineHeight:Qt,paddingXXS:pt,componentCls:St,borderRadiusLG:rt}=De,ze=(st-At*Qt)/2,{dropdownArrowOffset:gt}=(0,We.fS)({contentRadius:rt}),Et=(0,vt.TS)(De,{menuCls:`${St}-menu`,rootPrefixCls:ot,dropdownArrowDistance:it/2+qe,dropdownArrowOffset:gt,dropdownPaddingVertical:ze,dropdownEdgeChildPadding:pt});return[xe(Et),_e(Et)]},De=>({zIndexPopup:De.zIndexPopupBase+50}))},64165:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return pt}});var ge=be(92310),Lt=be.n(ge),ut=be(59301),zt=be(36355),We=be(9763),lt=be(64993),vt=be(88088),_e=()=>{const[,St]=(0,vt.Z)(),ze=new lt.C(St.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return ut.createElement("svg",{style:ze,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},ut.createElement("g",{fill:"none",fillRule:"evenodd"},ut.createElement("g",{transform:"translate(24 31.67)"},ut.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),ut.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),ut.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),ut.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),ut.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),ut.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),ut.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},ut.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),ut.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Xe=()=>{const[,St]=(0,vt.Z)(),{colorFill:rt,colorFillTertiary:ze,colorFillQuaternary:gt,colorBgContainer:Et}=St,{borderColor:jt,shadowColor:mt,contentColor:Yt}=(0,ut.useMemo)(()=>({borderColor:new lt.C(rt).onBackground(Et).toHexShortString(),shadowColor:new lt.C(ze).onBackground(Et).toHexShortString(),contentColor:new lt.C(gt).onBackground(Et).toHexShortString()}),[rt,ze,gt,Et]);return ut.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},ut.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},ut.createElement("ellipse",{fill:mt,cx:"32",cy:"33",rx:"32",ry:"7"}),ut.createElement("g",{fillRule:"nonzero",stroke:jt},ut.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),ut.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:Yt}))))},De=be(83116),Qe=be(37613);const ot=St=>{const{componentCls:rt,margin:ze,marginXS:gt,marginXL:Et,fontSize:jt,lineHeight:mt}=St;return{[rt]:{marginInline:gt,fontSize:jt,lineHeight:mt,textAlign:"center",[`${rt}-image`]:{height:St.emptyImgHeight,marginBottom:gt,opacity:St.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${rt}-description`]:{color:St.colorText},[`${rt}-footer`]:{marginTop:ze},"&-normal":{marginBlock:Et,color:St.colorTextDisabled,[`${rt}-description`]:{color:St.colorTextDisabled},[`${rt}-image`]:{height:St.emptyImgHeightMD}},"&-small":{marginBlock:gt,color:St.colorTextDisabled,[`${rt}-image`]:{height:St.emptyImgHeightSM}}}}};var qe=(0,De.Z)("Empty",St=>{const{componentCls:rt,controlHeightLG:ze}=St,gt=(0,Qe.TS)(St,{emptyImgCls:`${rt}-img`,emptyImgHeight:ze*2.5,emptyImgHeightMD:ze,emptyImgHeightSM:ze*.875});return[ot(gt)]}),it=function(St,rt){var ze={};for(var gt in St)Object.prototype.hasOwnProperty.call(St,gt)&&rt.indexOf(gt)<0&&(ze[gt]=St[gt]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,gt=Object.getOwnPropertySymbols(St);Et{var{className:rt,rootClassName:ze,prefixCls:gt,image:Et=st,description:jt,children:mt,imageStyle:Yt,style:Tt}=St,Xt=it(St,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:bt,direction:un,empty:Ln}=ut.useContext(zt.E_),Vt=bt("empty",gt),[nn,Kt]=qe(Vt),[Ge]=(0,We.Z)("Empty"),Fe=typeof jt!="undefined"?jt:Ge==null?void 0:Ge.description,ft=typeof Fe=="string"?Fe:"empty";let sn=null;return typeof Et=="string"?sn=ut.createElement("img",{alt:ft,src:Et}):sn=Et,nn(ut.createElement("div",Object.assign({className:Lt()(Kt,Vt,Ln==null?void 0:Ln.className,{[`${Vt}-normal`]:Et===At,[`${Vt}-rtl`]:un==="rtl"},rt,ze),style:Object.assign(Object.assign({},Ln==null?void 0:Ln.style),Tt)},Xt),ut.createElement("div",{className:`${Vt}-image`,style:Yt},sn),Fe&&ut.createElement("div",{className:`${Vt}-description`},Fe),mt&&ut.createElement("div",{className:`${Vt}-footer`},mt)))};Qt.PRESENTED_IMAGE_DEFAULT=st,Qt.PRESENTED_IMAGE_SIMPLE=At;var pt=Qt},78241:function(lr,Yn,be){"use strict";be.d(Yn,{default:function(){return ia}});var ge=be(77654),Lt=be(92310),ut=be.n(Lt),zt=be(77900),We=be(59301),lt=be(62892),vt=be(32441);function ke(cn){const[tt,yt]=We.useState(cn);return We.useEffect(()=>{const ht=setTimeout(()=>{yt(cn)},cn.length?0:10);return()=>{clearTimeout(ht)}},[cn]),tt}var _e=be(17313),xe=be(29878),Xe=be(8378),De=be(37613),Qe=be(83116),qe=cn=>{const{componentCls:tt}=cn,yt=`${tt}-show-help`,ht=`${tt}-show-help-item`;return{[yt]:{transition:`opacity ${cn.motionDurationSlow} ${cn.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ht]:{overflow:"hidden",transition:`height ${cn.motionDurationSlow} ${cn.motionEaseInOut}, opacity ${cn.motionDurationSlow} ${cn.motionEaseInOut}, transform ${cn.motionDurationSlow} ${cn.motionEaseInOut} !important`,[`&${ht}-appear, &${ht}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ht}-leave-active`]:{transform:"translateY(-5px)"}}}}};const it=cn=>({legend:{display:"block",width:"100%",marginBottom:cn.marginLG,padding:0,color:cn.colorTextDescription,fontSize:cn.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${cn.lineWidth}px ${cn.lineType} ${cn.colorBorder}`},label:{fontSize:cn.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${cn.controlOutlineWidth}px ${cn.controlOutline}`},output:{display:"block",paddingTop:15,color:cn.colorText,fontSize:cn.fontSize,lineHeight:cn.lineHeight}}),st=(cn,tt)=>{const{formItemCls:yt}=cn;return{[yt]:{[`${yt}-label > label`]:{height:tt},[`${yt}-control-input`]:{minHeight:tt}}}},At=cn=>{const{componentCls:tt}=cn;return{[cn.componentCls]:Object.assign(Object.assign(Object.assign({},(0,_e.Wf)(cn)),it(cn)),{[`${tt}-text`]:{display:"inline-block",paddingInlineEnd:cn.paddingSM},"&-small":Object.assign({},st(cn,cn.controlHeightSM)),"&-large":Object.assign({},st(cn,cn.controlHeightLG))})}},Qt=cn=>{const{formItemCls:tt,iconCls:yt,componentCls:ht,rootPrefixCls:dt,labelRequiredMarkColor:xt,labelColor:Gt,labelFontSize:Fn,labelHeight:Mn,labelColonMarginInlineStart:jn,labelColonMarginInlineEnd:or,itemMarginBottom:Sr}=cn;return{[tt]:Object.assign(Object.assign({},(0,_e.Wf)(cn)),{marginBottom:Sr,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${dt}-row`]:{display:"none"},"&-has-warning":{[`${tt}-split`]:{color:cn.colorError}},"&-has-error":{[`${tt}-split`]:{color:cn.colorWarning}},[`${tt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${cn.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Mn,color:Gt,fontSize:Fn,[`> ${yt}`]:{fontSize:cn.fontSize,verticalAlign:"top"},[`&${tt}-required:not(${tt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:cn.marginXXS,color:xt,fontSize:cn.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${ht}-hide-required-mark &`]:{display:"none"}},[`${tt}-optional`]:{display:"inline-block",marginInlineStart:cn.marginXXS,color:cn.colorTextDescription,[`${ht}-hide-required-mark &`]:{display:"none"}},[`${tt}-tooltip`]:{color:cn.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:cn.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:jn,marginInlineEnd:or},[`&${tt}-no-colon::after`]:{content:'"\\a0"'}}},[`${tt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${dt}-col-'"]):not([class*="' ${dt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:cn.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[tt]:{"&-explain, &-extra":{clear:"both",color:cn.colorTextDescription,fontSize:cn.fontSize,lineHeight:cn.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:cn.controlHeightSM,transition:`color ${cn.motionDurationMid} ${cn.motionEaseOut}`},"&-explain":{"&-error":{color:cn.colorError},"&-warning":{color:cn.colorWarning}}},[`&-with-help ${tt}-explain`]:{height:"auto",opacity:1},[`${tt}-feedback-icon`]:{fontSize:cn.fontSize,textAlign:"center",visibility:"visible",animationName:xe.kr,animationDuration:cn.motionDurationMid,animationTimingFunction:cn.motionEaseOutBack,pointerEvents:"none","&-success":{color:cn.colorSuccess},"&-error":{color:cn.colorError},"&-warning":{color:cn.colorWarning},"&-validating":{color:cn.colorPrimary}}})}},pt=cn=>{const{componentCls:tt,formItemCls:yt}=cn;return{[`${tt}-horizontal`]:{[`${yt}-label`]:{flexGrow:0},[`${yt}-control`]:{flex:"1 1 0",minWidth:0},[`${yt}-label[class$='-24'], ${yt}-label[class*='-24 ']`]:{[`& + ${yt}-control`]:{minWidth:"unset"}}}}},St=cn=>{const{componentCls:tt,formItemCls:yt}=cn;return{[`${tt}-inline`]:{display:"flex",flexWrap:"wrap",[yt]:{flex:"none",marginInlineEnd:cn.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${yt}-label, > ${yt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${yt}-label`]:{flex:"none"},[`${tt}-text`]:{display:"inline-block"},[`${yt}-has-feedback`]:{display:"inline-block"}}}}},rt=cn=>({padding:cn.verticalLabelPadding,margin:cn.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ze=cn=>{const{componentCls:tt,formItemCls:yt,rootPrefixCls:ht}=cn;return{[`${yt} ${yt}-label`]:rt(cn),[tt]:{[yt]:{flexWrap:"wrap",[`${yt}-label, ${yt}-control`]:{[`&:not([class*=" ${ht}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},gt=cn=>{const{componentCls:tt,formItemCls:yt,rootPrefixCls:ht}=cn;return{[`${tt}-vertical`]:{[yt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${tt}-item-control`]:{width:"100%"}}},[`${tt}-vertical ${yt}-label, .${ht}-col-24${yt}-label, .${ht}-col-xl-24${yt}-label`]:rt(cn),[`@media (max-width: ${cn.screenXSMax}px)`]:[ze(cn),{[tt]:{[`.${ht}-col-xs-24${yt}-label`]:rt(cn)}}],[`@media (max-width: ${cn.screenSMMax}px)`]:{[tt]:{[`.${ht}-col-sm-24${yt}-label`]:rt(cn)}},[`@media (max-width: ${cn.screenMDMax}px)`]:{[tt]:{[`.${ht}-col-md-24${yt}-label`]:rt(cn)}},[`@media (max-width: ${cn.screenLGMax}px)`]:{[tt]:{[`.${ht}-col-lg-24${yt}-label`]:rt(cn)}}}},Et=(cn,tt)=>(0,De.TS)(cn,{formItemCls:`${cn.componentCls}-item`,rootPrefixCls:tt});var jt=(0,Qe.Z)("Form",(cn,tt)=>{let{rootPrefixCls:yt}=tt;const ht=Et(cn,yt);return[At(ht),Qt(ht),qe(ht),pt(ht),St(ht),gt(ht),(0,Xe.Z)(ht),xe.kr]},cn=>({labelRequiredMarkColor:cn.colorError,labelColor:cn.colorTextHeading,labelFontSize:cn.fontSize,labelHeight:cn.controlHeight,labelColonMarginInlineStart:cn.marginXXS/2,labelColonMarginInlineEnd:cn.marginXS,itemMarginBottom:cn.marginLG,verticalLabelPadding:`0 0 ${cn.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const mt=[];function Yt(cn,tt,yt){let ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof cn=="string"?cn:`${tt}-${ht}`,error:cn,errorStatus:yt}}var Xt=cn=>{let{help:tt,helpStatus:yt,errors:ht=mt,warnings:dt=mt,className:xt,fieldId:Gt,onVisibleChanged:Fn}=cn;const{prefixCls:Mn}=We.useContext(vt.Rk),jn=`${Mn}-item-explain`,[,or]=jt(Mn),Sr=(0,We.useMemo)(()=>(0,lt.Z)(Mn),[Mn]),Pr=ke(ht),Qn=ke(dt),mr=We.useMemo(()=>tt!=null?[Yt(tt,"help",yt)]:[].concat((0,ge.Z)(Pr.map((qr,Mi)=>Yt(qr,"error","error",Mi))),(0,ge.Z)(Qn.map((qr,Mi)=>Yt(qr,"warning","warning",Mi)))),[tt,yt,Pr,Qn]),vi={};return Gt&&(vi.id=`${Gt}_help`),We.createElement(zt.default,{motionDeadline:Sr.motionDeadline,motionName:`${Mn}-show-help`,visible:!!mr.length,onVisibleChanged:Fn},qr=>{const{className:Mi,style:pi}=qr;return We.createElement("div",Object.assign({},vi,{className:ut()(jn,Mi,xt,or),style:pi,role:"alert"}),We.createElement(zt.CSSMotionList,Object.assign({keys:mr},(0,lt.Z)(Mn),{motionName:`${Mn}-show-help-item`,component:!1}),Xi=>{const{key:Dr,error:Ri,errorStatus:tn,className:Xn,style:Gn}=Xi;return We.createElement("div",{key:Dr,className:ut()(Xn,{[`${jn}-${tn}`]:tn}),style:Gn},Ri)}))})},bt=be(95013),un=be(36355),Ln=be(1684),Vt=be(52946),nn=be(19716),Kt=be(16722);const Ge=["parentNode"],Fe="form_item";function ft(cn){return cn===void 0||cn===!1?[]:Array.isArray(cn)?cn:[cn]}function sn(cn,tt){if(!cn.length)return;const yt=cn.join("_");return tt?`${tt}_${yt}`:Ge.includes(yt)?`${Fe}_${yt}`:yt}function $t(cn,tt,yt,ht,dt,xt){let Gt=ht;return xt!==void 0?Gt=xt:yt.validating?Gt="validating":cn.length?Gt="error":tt.length?Gt="warning":(yt.touched||dt&&yt.validated)&&(Gt="success"),Gt}function Mt(cn){return ft(cn).join("_")}function _t(cn){const[tt]=(0,bt.useForm)(),yt=We.useRef({}),ht=We.useMemo(()=>cn!=null?cn:Object.assign(Object.assign({},tt),{__INTERNAL__:{itemRef:dt=>xt=>{const Gt=Mt(dt);xt?yt.current[Gt]=xt:delete yt.current[Gt]}},scrollToField:function(dt){let xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Gt=ft(dt),Fn=sn(Gt,ht.__INTERNAL__.name),Mn=Fn?document.getElementById(Fn):null;Mn&&(0,Kt.Z)(Mn,Object.assign({scrollMode:"if-needed",block:"nearest"},xt))},getFieldInstance:dt=>{const xt=Mt(dt);return yt.current[xt]}}),[cn,tt]);return[ht]}var hn=be(28726),Jn=function(cn,tt){var yt={};for(var ht in cn)Object.prototype.hasOwnProperty.call(cn,ht)&&tt.indexOf(ht)<0&&(yt[ht]=cn[ht]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,ht=Object.getOwnPropertySymbols(cn);dt{const yt=We.useContext(Ln.Z),{getPrefixCls:ht,direction:dt,form:xt}=We.useContext(un.E_),{prefixCls:Gt,className:Fn,rootClassName:Mn,size:jn,disabled:or=yt,form:Sr,colon:Pr,labelAlign:Qn,labelWrap:mr,labelCol:vi,wrapperCol:qr,hideRequiredMark:Mi,layout:pi="horizontal",scrollToFirstError:Xi,requiredMark:Dr,onFinishFailed:Ri,name:tn,style:Xn,feedbackIcons:Gn}=cn,yr=Jn(cn,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),$n=(0,nn.Z)(jn),cr=We.useContext(hn.Z),rr=(0,We.useMemo)(()=>Dr!==void 0?Dr:xt&&xt.requiredMark!==void 0?xt.requiredMark:!Mi,[Mi,Dr,xt]),Qr=Pr!=null?Pr:xt==null?void 0:xt.colon,Yr=ht("form",Gt),[ui,$i]=jt(Yr),oa=ut()(Yr,`${Yr}-${pi}`,{[`${Yr}-hide-required-mark`]:rr===!1,[`${Yr}-rtl`]:dt==="rtl",[`${Yr}-${$n}`]:$n},$i,xt==null?void 0:xt.className,Fn,Mn),[Ba]=_t(Sr),{__INTERNAL__:ca}=Ba;ca.name=tn;const Ji=(0,We.useMemo)(()=>({name:tn,labelAlign:Qn,labelCol:vi,labelWrap:mr,wrapperCol:qr,vertical:pi==="vertical",colon:Qr,requiredMark:rr,itemRef:ca.itemRef,form:Ba,feedbackIcons:Gn}),[tn,Qn,vi,qr,pi,Qr,rr,Ba,Gn]);We.useImperativeHandle(tt,()=>Ba);const Ma=(ga,Pi)=>{if(ga){let aa={block:"nearest"};typeof ga=="object"&&(aa=ga),Ba.scrollToField(Pi,aa)}},Ca=ga=>{if(Ri==null||Ri(ga),ga.errorFields.length){const Pi=ga.errorFields[0].name;if(Xi!==void 0){Ma(Xi,Pi);return}xt&&xt.scrollToFirstError!==void 0&&Ma(xt.scrollToFirstError,Pi)}};return ui(We.createElement(Ln.n,{disabled:or},We.createElement(Vt.q,{size:$n},We.createElement(vt.RV,Object.assign({},{validateMessages:cr}),We.createElement(vt.q3.Provider,{value:Ji},We.createElement(bt.default,Object.assign({id:tn},yr,{name:tn,onFinishFailed:Ca,form:Ba,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),Xn),className:oa})))))))};var ln=We.forwardRef(Kn),on=be(41799),vn=be(8654),Ue=be(92343),we=be(11592);function pe(cn){if(typeof cn=="function")return cn;const tt=(0,we.Z)(cn);return tt.length<=1?tt[0]:tt}const Ee=()=>{const{status:cn,errors:tt=[],warnings:yt=[]}=(0,We.useContext)(vt.aM);return{status:cn,errors:tt,warnings:yt}};Ee.Context=vt.aM;var Me=Ee,me=be(16089);function $e(cn){const[tt,yt]=We.useState(cn),ht=(0,We.useRef)(null),dt=(0,We.useRef)([]),xt=(0,We.useRef)(!1);We.useEffect(()=>(xt.current=!1,()=>{xt.current=!0,me.Z.cancel(ht.current),ht.current=null}),[]);function Gt(Fn){xt.current||(ht.current===null&&(dt.current=[],ht.current=(0,me.Z)(()=>{ht.current=null,yt(Mn=>{let jn=Mn;return dt.current.forEach(or=>{jn=or(jn)}),jn})})),dt.current.push(Fn))}return[tt,Gt]}function Pt(){const{itemRef:cn}=We.useContext(vt.q3),tt=We.useRef({});function yt(ht,dt){const xt=dt&&typeof dt=="object"&&dt.ref,Gt=ht.join("_");return(tt.current.name!==Gt||tt.current.originRef!==xt)&&(tt.current.name=Gt,tt.current.originRef=xt,tt.current.ref=(0,vn.sQ)(cn(ht),xt)),tt.current.ref}return yt}var an=be(29194),An=be(34280),In=be(2738),En=be(27382),Pn=be(37028);const Zn=cn=>{const{formItemCls:tt}=cn;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${tt}-control`]:{display:"flex"}}}};var Cr=(0,Qe.b)(["Form","item-item"],(cn,tt)=>{let{rootPrefixCls:yt}=tt;const ht=Et(cn,yt);return[Zn(ht)]}),dn=cn=>{const{prefixCls:tt,status:yt,wrapperCol:ht,children:dt,errors:xt,warnings:Gt,_internalItemRender:Fn,extra:Mn,help:jn,fieldId:or,marginBottom:Sr,onErrorVisibleChanged:Pr}=cn,Qn=`${tt}-item`,mr=We.useContext(vt.q3),vi=ht||mr.wrapperCol||{},qr=ut()(`${Qn}-control`,vi.className),Mi=We.useMemo(()=>Object.assign({},mr),[mr]);delete Mi.labelCol,delete Mi.wrapperCol;const pi=We.createElement("div",{className:`${Qn}-control-input`},We.createElement("div",{className:`${Qn}-control-input-content`},dt)),Xi=We.useMemo(()=>({prefixCls:tt,status:yt}),[tt,yt]),Dr=Sr!==null||xt.length||Gt.length?We.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},We.createElement(vt.Rk.Provider,{value:Xi},We.createElement(Xt,{fieldId:or,errors:xt,warnings:Gt,help:jn,helpStatus:yt,className:`${Qn}-explain-connected`,onVisibleChanged:Pr})),!!Sr&&We.createElement("div",{style:{width:0,height:Sr}})):null,Ri={};or&&(Ri.id=`${or}_extra`);const tn=Mn?We.createElement("div",Object.assign({},Ri,{className:`${Qn}-extra`}),Mn):null,Xn=Fn&&Fn.mark==="pro_table_render"&&Fn.render?Fn.render(cn,{input:pi,errorList:Dr,extra:tn}):We.createElement(We.Fragment,null,pi,Dr,tn);return We.createElement(vt.q3.Provider,{value:Mi},We.createElement(Pn.Z,Object.assign({},vi,{className:qr}),Xn),We.createElement(Cr,{prefixCls:tt}))},_n=be(61485),Ot=be(31724),nt=be(9763),Ft=be(6848),Tn=function(cn,tt){var yt={};for(var ht in cn)Object.prototype.hasOwnProperty.call(cn,ht)&&tt.indexOf(ht)<0&&(yt[ht]=cn[ht]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,ht=Object.getOwnPropertySymbols(cn);dt{let{prefixCls:tt,label:yt,htmlFor:ht,labelCol:dt,labelAlign:xt,colon:Gt,required:Fn,requiredMark:Mn,tooltip:jn}=cn;var or;const[Sr]=(0,nt.Z)("Form"),{vertical:Pr,labelAlign:Qn,labelCol:mr,labelWrap:vi,colon:qr}=We.useContext(vt.q3);if(!yt)return null;const Mi=dt||mr||{},pi=xt||Qn,Xi=`${tt}-item-label`,Dr=ut()(Xi,pi==="left"&&`${Xi}-left`,Mi.className,{[`${Xi}-wrap`]:!!vi});let Ri=yt;const tn=Gt===!0||qr!==!1&&Gt!==!1;tn&&!Pr&&typeof yt=="string"&&yt.trim()!==""&&(Ri=yt.replace(/[:|:]\s*$/,""));const Gn=Vn(jn);if(Gn){const{icon:rr=We.createElement(_n.Z,null)}=Gn,Qr=Tn(Gn,["icon"]),Yr=We.createElement(Ft.Z,Object.assign({},Qr),We.cloneElement(rr,{className:`${tt}-item-tooltip`,title:""}));Ri=We.createElement(We.Fragment,null,Ri,Yr)}const yr=Mn==="optional",$n=typeof Mn=="function";$n?Ri=Mn(Ri,{required:!!Fn}):yr&&!Fn&&(Ri=We.createElement(We.Fragment,null,Ri,We.createElement("span",{className:`${tt}-item-optional`,title:""},(Sr==null?void 0:Sr.optional)||((or=Ot.Z.Form)===null||or===void 0?void 0:or.optional))));const cr=ut()({[`${tt}-item-required`]:Fn,[`${tt}-item-required-mark-optional`]:yr||$n,[`${tt}-item-no-colon`]:!tn});return We.createElement(Pn.Z,Object.assign({},Mi,{className:Dr}),We.createElement("label",{htmlFor:ht,className:cr,title:typeof yt=="string"?yt:""},Ri))},Nr=be(29679),Kr=be(19248),kr=be(96512),dr=be(58617);const pr={success:Nr.Z,warning:kr.Z,error:Kr.Z,validating:dr.Z};function zr(cn){let{children:tt,errors:yt,warnings:ht,hasFeedback:dt,validateStatus:xt,prefixCls:Gt,meta:Fn,noStyle:Mn}=cn;const jn=`${Gt}-item`,{feedbackIcons:or}=We.useContext(vt.q3),Sr=$t(yt,ht,Fn,null,!!dt,xt),{isFormItemInput:Pr,status:Qn}=We.useContext(vt.aM),mr=We.useMemo(()=>{var vi;let qr;if(dt){const Xi=dt!==!0&&dt.icons||or,Dr=Sr&&((vi=Xi==null?void 0:Xi({status:Sr,errors:yt,warnings:ht}))===null||vi===void 0?void 0:vi[Sr]),Ri=Sr&&pr[Sr];qr=Dr!==!1&&Ri?We.createElement("span",{className:ut()(`${jn}-feedback-icon`,`${jn}-feedback-icon-${Sr}`)},Dr||We.createElement(Ri,null)):null}let Mi=!0,pi=Sr||"";return Mn&&(Mi=Pr,pi=(Sr!=null?Sr:Qn)||""),{status:pi,errors:yt,warnings:ht,hasFeedback:!!dt,feedbackIcon:qr,isFormItemInput:Mi}},[Sr,dt,Mn,Pr,Qn]);return We.createElement(vt.aM.Provider,{value:mr},tt)}var mi=function(cn,tt){var yt={};for(var ht in cn)Object.prototype.hasOwnProperty.call(cn,ht)&&tt.indexOf(ht)<0&&(yt[ht]=cn[ht]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,ht=Object.getOwnPropertySymbols(cn);dt{if(Gn&&Dr.current){const $i=getComputedStyle(Dr.current);cr(parseInt($i.marginBottom,10))}},[Gn,yr]);const rr=$i=>{$i||cr(null)},Yr=function(){let $i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const oa=$i?Ri:jn.errors,Ba=$i?tn:jn.warnings;return $t(oa,Ba,jn,"",!!or,Mn)}(),ui=ut()(pi,yt,ht,{[`${pi}-with-help`]:Xn||Ri.length||tn.length,[`${pi}-has-feedback`]:Yr&&or,[`${pi}-has-success`]:Yr==="success",[`${pi}-has-warning`]:Yr==="warning",[`${pi}-has-error`]:Yr==="error",[`${pi}-is-validating`]:Yr==="validating",[`${pi}-hidden`]:Sr});return We.createElement("div",{className:ui,style:dt,ref:Dr},We.createElement(En.Z,Object.assign({className:`${pi}-row`},(0,In.Z)(Mi,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),We.createElement(jr,Object.assign({htmlFor:Qn},cn,{requiredMark:Xi,required:mr!=null?mr:vi,prefixCls:tt})),We.createElement(dn,Object.assign({},cn,jn,{errors:Ri,warnings:tn,prefixCls:tt,status:Yr,help:xt,marginBottom:$n,onErrorVisibleChanged:rr}),We.createElement(vt.qI.Provider,{value:qr},We.createElement(zr,{prefixCls:tt,meta:jn,errors:jn.errors,warnings:jn.warnings,hasFeedback:or,validateStatus:Yr},Pr)))),!!$n&&We.createElement("div",{className:`${pi}-margin-offset`,style:{marginBottom:-$n}}))}const xa="__SPLIT__",Ti=null,Wi=We.memo(cn=>{let{children:tt}=cn;return tt},(cn,tt)=>cn.value===tt.value&&cn.update===tt.update&&cn.childProps.length===tt.childProps.length&&cn.childProps.every((yt,ht)=>yt===tt.childProps[ht]));function Wr(cn){return cn!=null}function Fa(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Oi(cn){const{name:tt,noStyle:yt,className:ht,dependencies:dt,prefixCls:xt,shouldUpdate:Gt,rules:Fn,children:Mn,required:jn,label:or,messageVariables:Sr,trigger:Pr="onChange",validateTrigger:Qn,hidden:mr,help:vi}=cn,{getPrefixCls:qr}=We.useContext(un.E_),{name:Mi}=We.useContext(vt.q3),pi=pe(Mn),Xi=typeof pi=="function",Dr=We.useContext(vt.qI),{validateTrigger:Ri}=We.useContext(bt.FieldContext),tn=Qn!==void 0?Qn:Ri,Xn=Wr(tt),Gn=qr("form",xt),[yr,$n]=jt(Gn),cr=We.useContext(bt.ListContext),rr=We.useRef(),[Qr,Yr]=$e({}),[ui,$i]=(0,on.Z)(()=>Fa()),oa=Pi=>{const aa=cr==null?void 0:cr.getKey(Pi.name);if($i(Pi.destroy?Fa():Pi,!0),yt&&vi!==!1&&Dr){let ma=Pi.name;if(Pi.destroy)ma=rr.current||ma;else if(aa!==void 0){const[Vi,Oa]=aa;ma=[Vi].concat((0,ge.Z)(Oa)),rr.current=ma}Dr(Pi,ma)}},Ba=(Pi,aa)=>{Yr(ma=>{const Vi=Object.assign({},ma),so=[].concat((0,ge.Z)(Pi.name.slice(0,-1)),(0,ge.Z)(aa)).join(xa);return Pi.destroy?delete Vi[so]:Vi[so]=Pi,Vi})},[ca,Ji]=We.useMemo(()=>{const Pi=(0,ge.Z)(ui.errors),aa=(0,ge.Z)(ui.warnings);return Object.values(Qr).forEach(ma=>{Pi.push.apply(Pi,(0,ge.Z)(ma.errors||[])),aa.push.apply(aa,(0,ge.Z)(ma.warnings||[]))}),[Pi,aa]},[Qr,ui.errors,ui.warnings]),Ma=Pt();function Ca(Pi,aa,ma){return yt&&!mr?We.createElement(zr,{prefixCls:Gn,hasFeedback:cn.hasFeedback,validateStatus:cn.validateStatus,meta:ui,errors:ca,warnings:Ji,noStyle:!0},Pi):We.createElement(si,Object.assign({key:"row"},cn,{className:ut()(ht,$n),prefixCls:Gn,fieldId:aa,isRequired:ma,errors:ca,warnings:Ji,meta:ui,onSubItemMetaChange:Ba}),Pi)}if(!Xn&&!Xi&&!dt)return yr(Ca(pi));let ga={};return typeof or=="string"?ga.label=or:tt&&(ga.label=String(tt)),Sr&&(ga=Object.assign(Object.assign({},ga),Sr)),yr(We.createElement(bt.Field,Object.assign({},cn,{messageVariables:ga,trigger:Pr,validateTrigger:tn,onMetaChange:oa}),(Pi,aa,ma)=>{const Vi=ft(tt).length&&aa?aa.name:[],Oa=sn(Vi,Mi),so=jn!==void 0?jn:!!(Fn&&Fn.some(Xr=>{if(Xr&&typeof Xr=="object"&&Xr.required&&!Xr.warningOnly)return!0;if(typeof Xr=="function"){const na=Xr(ma);return na&&na.required&&!na.warningOnly}return!1})),ua=Object.assign({},Pi);let Ai=null;if(Array.isArray(pi)&&Xn)Ai=pi;else if(!(Xi&&(!(Gt||dt)||Xn))){if(!(dt&&!Xi&&!Xn))if((0,Ue.l$)(pi)){const Xr=Object.assign(Object.assign({},pi.props),ua);if(Xr.id||(Xr.id=Oa),vi||ca.length>0||Ji.length>0||cn.extra){const fa=[];(vi||ca.length>0)&&fa.push(`${Oa}_help`),cn.extra&&fa.push(`${Oa}_extra`),Xr["aria-describedby"]=fa.join(" ")}ca.length>0&&(Xr["aria-invalid"]="true"),so&&(Xr["aria-required"]="true"),(0,vn.Yr)(pi)&&(Xr.ref=Ma(Vi,pi)),new Set([].concat((0,ge.Z)(ft(Pr)),(0,ge.Z)(ft(tn)))).forEach(fa=>{Xr[fa]=function(){for(var Qa,_a,co,za,Ko,ji=arguments.length,Ui=new Array(ji),Na=0;Na{var{prefixCls:tt,children:yt}=cn,ht=Qi(cn,["prefixCls","children"]);const{getPrefixCls:dt}=We.useContext(un.E_),xt=dt("form",tt),Gt=We.useMemo(()=>({prefixCls:xt,status:"error"}),[xt]);return We.createElement(bt.List,Object.assign({},ht),(Fn,Mn,jn)=>We.createElement(vt.Rk.Provider,{value:Gt},yt(Fn.map(or=>Object.assign(Object.assign({},or),{fieldKey:or.key})),Mn,{errors:jn.errors,warnings:jn.warnings})))};function ci(){const{form:cn}=(0,We.useContext)(vt.q3);return cn}const Vr=ln;Vr.Item=Da,Vr.List=Hi,Vr.ErrorList=Xt,Vr.useForm=_t,Vr.useFormInstance=ci,Vr.useWatch=bt.useWatch,Vr.Provider=vt.RV,Vr.create=()=>{};var ia=Vr},5871:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return _n}});var ge=be(84105),Lt=be(87395),ut=be(92310),zt=be.n(ut),We=be(60499),lt=be(18642),vt=be(43749),ke=be(72190),_e=be(42244),xe=be(38705),Xe=be(17212);function De(){return typeof BigInt=="function"}function Qe(Ot){return!Ot&&Ot!==0&&!Number.isNaN(Ot)||!String(Ot).trim()}function ot(Ot){var nt=Ot.trim(),Ft=nt.startsWith("-");Ft&&(nt=nt.slice(1)),nt=nt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),nt.startsWith(".")&&(nt="0".concat(nt));var Tn=nt||"0",Vn=Tn.split("."),tr=Vn[0]||"0",jr=Vn[1]||"0";tr==="0"&&jr==="0"&&(Ft=!1);var Nr=Ft?"-":"";return{negative:Ft,negativeStr:Nr,trimStr:Tn,integerStr:tr,decimalStr:jr,fullStr:"".concat(Nr).concat(Tn)}}function qe(Ot){var nt=String(Ot);return!Number.isNaN(Number(nt))&&nt.includes("e")}function it(Ot){var nt=String(Ot);if(qe(Ot)){var Ft=Number(nt.slice(nt.indexOf("e-")+2)),Tn=nt.match(/\.(\d+)/);return Tn!=null&&Tn[1]&&(Ft+=Tn[1].length),Ft}return nt.includes(".")&&At(nt)?nt.length-nt.indexOf(".")-1:0}function st(Ot){var nt=String(Ot);if(qe(Ot)){if(Ot>Number.MAX_SAFE_INTEGER)return String(De()?BigInt(Ot).toString():Number.MAX_SAFE_INTEGER);if(Ot0&&arguments[0]!==void 0?arguments[0]:!0;return Ft?this.isInvalidate()?"":ot("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Ot}(),pt=function(){function Ot(nt){if((0,xe.Z)(this,Ot),(0,lt.Z)(this,"origin",""),(0,lt.Z)(this,"number",void 0),(0,lt.Z)(this,"empty",void 0),Qe(nt)){this.empty=!0;return}this.origin=String(nt),this.number=Number(nt)}return(0,Xe.Z)(Ot,[{key:"negate",value:function(){return new Ot(-this.toNumber())}},{key:"add",value:function(Ft){if(this.isInvalidate())return new Ot(Ft);var Tn=Number(Ft);if(Number.isNaN(Tn))return this;var Vn=this.number+Tn;if(Vn>Number.MAX_SAFE_INTEGER)return new Ot(Number.MAX_SAFE_INTEGER);if(VnNumber.MAX_SAFE_INTEGER)return new Ot(Number.MAX_SAFE_INTEGER);if(Vn0&&arguments[0]!==void 0?arguments[0]:!0;return Ft?this.isInvalidate()?"":st(this.number):this.origin}}]),Ot}();function St(Ot){return De()?new Qt(Ot):new pt(Ot)}function rt(Ot,nt,Ft){var Tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Ot==="")return"";var Vn=ot(Ot),tr=Vn.negativeStr,jr=Vn.integerStr,Nr=Vn.decimalStr,Kr="".concat(nt).concat(Nr),kr="".concat(tr).concat(jr);if(Ft>=0){var dr=Number(Nr[Ft]);if(dr>=5&&!Tn){var pr=St(Ot).add("".concat(tr,"0.").concat("0".repeat(Ft)).concat(10-dr));return rt(pr.toString(),nt,Ft,Tn)}return Ft===0?kr:"".concat(kr).concat(nt).concat(Nr.padEnd(Ft,"0").slice(0,Ft))}return Kr===".0"?kr:"".concat(kr).concat(Kr)}var ze=St,gt=be(93681),Et=be(34280),jt=be(8654),mt=be(59301),Yt=be(48736);function Tt(Ot,nt){var Ft=(0,mt.useRef)(null);function Tn(){try{var tr=Ot.selectionStart,jr=Ot.selectionEnd,Nr=Ot.value,Kr=Nr.substring(0,tr),kr=Nr.substring(jr);Ft.current={start:tr,end:jr,value:Nr,beforeTxt:Kr,afterTxt:kr}}catch(dr){}}function Vn(){if(Ot&&Ft.current&&nt)try{var tr=Ot.value,jr=Ft.current,Nr=jr.beforeTxt,Kr=jr.afterTxt,kr=jr.start,dr=tr.length;if(tr.endsWith(Kr))dr=tr.length-Ft.current.afterTxt.length;else if(tr.startsWith(Nr))dr=Nr.length;else{var pr=Nr[kr-1],zr=tr.indexOf(pr,kr-1);zr!==-1&&(dr=zr+1)}Ot.setSelectionRange(dr,dr)}catch(mi){(0,Yt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(mi.message))}}return[Tn,Vn]}var Xt=be(49658),bt=function(){var nt=(0,mt.useState)(!1),Ft=(0,ke.Z)(nt,2),Tn=Ft[0],Vn=Ft[1];return(0,Et.Z)(function(){Vn((0,Xt.Z)())},[]),Tn},un=bt,Ln=be(16089),Vt=200,nn=600;function Kt(Ot){var nt=Ot.prefixCls,Ft=Ot.upNode,Tn=Ot.downNode,Vn=Ot.upDisabled,tr=Ot.downDisabled,jr=Ot.onStep,Nr=mt.useRef(),Kr=mt.useRef([]),kr=mt.useRef();kr.current=jr;var dr=function(){clearTimeout(Nr.current)},pr=function(Fa,Oi){Fa.preventDefault(),dr(),kr.current(Oi);function Yi(){kr.current(Oi),Nr.current=setTimeout(Yi,Vt)}Nr.current=setTimeout(Yi,nn)};mt.useEffect(function(){return function(){dr(),Kr.current.forEach(function(Wr){return Ln.Z.cancel(Wr)})}},[]);var zr=un();if(zr)return null;var mi="".concat(nt,"-handler"),si=zt()(mi,"".concat(mi,"-up"),(0,lt.Z)({},"".concat(mi,"-up-disabled"),Vn)),xa=zt()(mi,"".concat(mi,"-down"),(0,lt.Z)({},"".concat(mi,"-down-disabled"),tr)),Ti=function(){return Kr.current.push((0,Ln.Z)(dr))},Wi={unselectable:"on",role:"button",onMouseUp:Ti,onMouseLeave:Ti};return mt.createElement("div",{className:"".concat(mi,"-wrap")},mt.createElement("span",(0,We.Z)({},Wi,{onMouseDown:function(Fa){pr(Fa,!0)},"aria-label":"Increase Value","aria-disabled":Vn,className:si}),Ft||mt.createElement("span",{unselectable:"on",className:"".concat(nt,"-handler-up-inner")})),mt.createElement("span",(0,We.Z)({},Wi,{onMouseDown:function(Fa){pr(Fa,!1)},"aria-label":"Decrease Value","aria-disabled":tr,className:xa}),Tn||mt.createElement("span",{unselectable:"on",className:"".concat(nt,"-handler-down-inner")})))}function Ge(Ot){var nt=typeof Ot=="number"?st(Ot):ot(Ot).fullStr,Ft=nt.includes(".");return Ft?ot(nt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Ot+"0"}var Fe=be(5643),ft=function(){var Ot=(0,mt.useRef)(0),nt=function(){Ln.Z.cancel(Ot.current)};return(0,mt.useEffect)(function(){return nt},[]),function(Ft){nt(),Ot.current=(0,Ln.Z)(function(){Ft()})}},sn=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],$t=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Mt=function(nt,Ft){return nt||Ft.isEmpty()?Ft.toString():Ft.toNumber()},_t=function(nt){var Ft=ze(nt);return Ft.isInvalidate()?null:Ft},hn=mt.forwardRef(function(Ot,nt){var Ft,Tn=Ot.prefixCls,Vn=Tn===void 0?"rc-input-number":Tn,tr=Ot.className,jr=Ot.style,Nr=Ot.min,Kr=Ot.max,kr=Ot.step,dr=kr===void 0?1:kr,pr=Ot.defaultValue,zr=Ot.value,mi=Ot.disabled,si=Ot.readOnly,xa=Ot.upHandler,Ti=Ot.downHandler,Wi=Ot.keyboard,Wr=Ot.controls,Fa=Wr===void 0?!0:Wr,Oi=Ot.classNames,Yi=Ot.stringMode,Da=Ot.parser,Qi=Ot.formatter,Bi=Ot.precision,Hi=Ot.decimalSeparator,ci=Ot.onChange,Vr=Ot.onInput,ia=Ot.onPressEnter,cn=Ot.onStep,tt=(0,_e.Z)(Ot,sn),yt="".concat(Vn,"-input"),ht=mt.useRef(null),dt=mt.useState(!1),xt=(0,ke.Z)(dt,2),Gt=xt[0],Fn=xt[1],Mn=mt.useRef(!1),jn=mt.useRef(!1),or=mt.useRef(!1),Sr=mt.useState(function(){return ze(zr!=null?zr:pr)}),Pr=(0,ke.Z)(Sr,2),Qn=Pr[0],mr=Pr[1];function vi(Ai){zr===void 0&&mr(Ai)}var qr=mt.useCallback(function(Ai,Xr){if(!Xr)return Bi>=0?Bi:Math.max(it(Ai),it(dr))},[Bi,dr]),Mi=mt.useCallback(function(Ai){var Xr=String(Ai);if(Da)return Da(Xr);var na=Xr;return Hi&&(na=na.replace(Hi,".")),na.replace(/[^\w.-]+/g,"")},[Da,Hi]),pi=mt.useRef(""),Xi=mt.useCallback(function(Ai,Xr){if(Qi)return Qi(Ai,{userTyping:Xr,input:String(pi.current)});var na=typeof Ai=="number"?st(Ai):Ai;if(!Xr){var qi=qr(na,Xr);if(At(na)&&(Hi||qi>=0)){var fa=Hi||".";na=rt(na,fa,qi)}}return na},[Qi,qr,Hi]),Dr=mt.useState(function(){var Ai=pr!=null?pr:zr;return Qn.isInvalidate()&&["string","number"].includes((0,vt.Z)(Ai))?Number.isNaN(Ai)?"":Ai:Xi(Qn.toString(),!1)}),Ri=(0,ke.Z)(Dr,2),tn=Ri[0],Xn=Ri[1];pi.current=tn;function Gn(Ai,Xr){Xn(Xi(Ai.isInvalidate()?Ai.toString(!1):Ai.toString(!Xr),Xr))}var yr=mt.useMemo(function(){return _t(Kr)},[Kr,Bi]),$n=mt.useMemo(function(){return _t(Nr)},[Nr,Bi]),cr=mt.useMemo(function(){return!yr||!Qn||Qn.isInvalidate()?!1:yr.lessEquals(Qn)},[yr,Qn]),rr=mt.useMemo(function(){return!$n||!Qn||Qn.isInvalidate()?!1:Qn.lessEquals($n)},[$n,Qn]),Qr=Tt(ht.current,Gt),Yr=(0,ke.Z)(Qr,2),ui=Yr[0],$i=Yr[1],oa=function(Xr){return yr&&!Xr.lessEquals(yr)?yr:$n&&!$n.lessEquals(Xr)?$n:null},Ba=function(Xr){return!oa(Xr)},ca=function(Xr,na){var qi=Xr,fa=Ba(qi)||qi.isEmpty();if(!qi.isEmpty()&&!na&&(qi=oa(qi)||qi,fa=!0),!si&&!mi&&fa){var Qa=qi.toString(),_a=qr(Qa,na);return _a>=0&&(qi=ze(rt(Qa,".",_a)),Ba(qi)||(qi=ze(rt(Qa,".",_a,!0)))),qi.equals(Qn)||(vi(qi),ci==null||ci(qi.isEmpty()?null:Mt(Yi,qi)),zr===void 0&&Gn(qi,na)),qi}return Qn},Ji=ft(),Ma=function Ai(Xr){if(ui(),pi.current=Xr,Xn(Xr),!jn.current){var na=Mi(Xr),qi=ze(na);qi.isNaN()||ca(qi,!0)}Vr==null||Vr(Xr),Ji(function(){var fa=Xr;Da||(fa=Xr.replace(/。/g,".")),fa!==Xr&&Ai(fa)})},Ca=function(){jn.current=!0},ga=function(){jn.current=!1,Ma(ht.current.value)},Pi=function(Xr){Ma(Xr.target.value)},aa=function(Xr){var na;if(!(Xr&&cr||!Xr&&rr)){Mn.current=!1;var qi=ze(or.current?Ge(dr):dr);Xr||(qi=qi.negate());var fa=(Qn||ze(0)).add(qi.toString()),Qa=ca(fa,!1);cn==null||cn(Mt(Yi,Qa),{offset:or.current?Ge(dr):dr,type:Xr?"up":"down"}),(na=ht.current)===null||na===void 0||na.focus()}},ma=function(Xr){var na=ze(Mi(tn)),qi=na;na.isNaN()?qi=ca(Qn,Xr):qi=ca(na,Xr),zr!==void 0?Gn(Qn,!1):qi.isNaN()||Gn(qi,!1)},Vi=function(){Mn.current=!0},Oa=function(Xr){var na=Xr.key,qi=Xr.shiftKey;Mn.current=!0,or.current=qi,na==="Enter"&&(jn.current||(Mn.current=!1),ma(!1),ia==null||ia(Xr)),Wi!==!1&&!jn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(na)&&(aa(na==="Up"||na==="ArrowUp"),Xr.preventDefault())},so=function(){Mn.current=!1,or.current=!1},ua=function(){ma(!1),Fn(!1),Mn.current=!1};return(0,Et.o)(function(){Qn.isInvalidate()||Gn(Qn,!1)},[Bi]),(0,Et.o)(function(){var Ai=ze(zr);mr(Ai);var Xr=ze(Mi(tn));(!Ai.equals(Xr)||!Mn.current||Qi)&&Gn(Ai,Mn.current)},[zr]),(0,Et.o)(function(){Qi&&$i()},[tn]),mt.createElement("div",{className:zt()(Vn,Oi==null?void 0:Oi.input,tr,(Ft={},(0,lt.Z)(Ft,"".concat(Vn,"-focused"),Gt),(0,lt.Z)(Ft,"".concat(Vn,"-disabled"),mi),(0,lt.Z)(Ft,"".concat(Vn,"-readonly"),si),(0,lt.Z)(Ft,"".concat(Vn,"-not-a-number"),Qn.isNaN()),(0,lt.Z)(Ft,"".concat(Vn,"-out-of-range"),!Qn.isInvalidate()&&!Ba(Qn)),Ft)),style:jr,onFocus:function(){Fn(!0)},onBlur:ua,onKeyDown:Oa,onKeyUp:so,onCompositionStart:Ca,onCompositionEnd:ga,onBeforeInput:Vi},Fa&&mt.createElement(Kt,{prefixCls:Vn,upNode:xa,downNode:Ti,upDisabled:cr,downDisabled:rr,onStep:aa}),mt.createElement("div",{className:"".concat(yt,"-wrap")},mt.createElement("input",(0,We.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Nr,"aria-valuemax":Kr,"aria-valuenow":Qn.isInvalidate()?null:Qn.toString(),step:dr},tt,{ref:(0,jt.sQ)(ht,nt),className:yt,value:tn,onChange:Pi,disabled:mi,readOnly:si}))))}),Jn=mt.forwardRef(function(Ot,nt){var Ft=Ot.disabled,Tn=Ot.style,Vn=Ot.prefixCls,tr=Ot.value,jr=Ot.prefix,Nr=Ot.suffix,Kr=Ot.addonBefore,kr=Ot.addonAfter,dr=Ot.classes,pr=Ot.className,zr=Ot.classNames,mi=(0,_e.Z)(Ot,$t),si=mt.useRef(null),xa=function(Wi){si.current&&(0,Fe.nH)(si.current,Wi)};return mt.createElement(gt.BaseInput,{inputElement:mt.createElement(hn,(0,We.Z)({prefixCls:Vn,disabled:Ft,classNames:zr,ref:(0,jt.sQ)(si,nt)},mi)),className:pr,triggerFocus:xa,prefixCls:Vn,value:tr,disabled:Ft,style:Tn,prefix:jr,suffix:Nr,addonAfter:kr,addonBefore:Kr,classes:dr,classNames:zr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Jn.displayName="InputNumber";var Kn=Jn,Ar=Kn,ln=be(19080),on=be(36355),vn=be(92736),Ue=be(1684),we=be(19716),pe=be(32441),Ee=be(33234),Me=be(9937),me=be(17313),$e=be(74207),Pt=be(83116),an=be(37613);const An=(Ot,nt)=>{let{componentCls:Ft,borderRadiusSM:Tn,borderRadiusLG:Vn}=Ot;const tr=nt==="lg"?Vn:Tn;return{[`&-${nt}`]:{[`${Ft}-handler-wrap`]:{borderStartEndRadius:tr,borderEndEndRadius:tr},[`${Ft}-handler-up`]:{borderStartEndRadius:tr},[`${Ft}-handler-down`]:{borderEndEndRadius:tr}}}},In=Ot=>{const{componentCls:nt,lineWidth:Ft,lineType:Tn,colorBorder:Vn,borderRadius:tr,fontSizeLG:jr,controlHeightLG:Nr,controlHeightSM:Kr,colorError:kr,paddingInlineSM:dr,colorTextDescription:pr,motionDurationMid:zr,handleHoverColor:mi,paddingInline:si,paddingBlock:xa,handleBg:Ti,handleActiveBg:Wi,colorTextDisabled:Wr,borderRadiusSM:Fa,borderRadiusLG:Oi,controlWidth:Yi,handleVisible:Da,handleBorderColor:Qi}=Ot;return[{[nt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,me.Wf)(Ot)),(0,Me.ik)(Ot)),(0,Me.bi)(Ot,nt)),{display:"inline-block",width:Yi,margin:0,padding:0,border:`${Ft}px ${Tn} ${Vn}`,borderRadius:tr,"&-rtl":{direction:"rtl",[`${nt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:jr,borderRadius:Oi,[`input${nt}-input`]:{height:Nr-2*Ft}},"&-sm":{padding:0,borderRadius:Fa,[`input${nt}-input`]:{height:Kr-2*Ft,padding:`0 ${dr}px`}},"&:hover":Object.assign({},(0,Me.pU)(Ot)),"&-focused":Object.assign({},(0,Me.M1)(Ot)),"&-out-of-range":{[`${nt}-input-wrap`]:{input:{color:kr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,me.Wf)(Ot)),(0,Me.s7)(Ot)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${nt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${nt}-group-addon`]:{borderRadius:Oi,fontSize:Ot.fontSizeLG}},"&-sm":{[`${nt}-group-addon`]:{borderRadius:Fa}},[`${nt}-wrapper-disabled > ${nt}-group-addon`]:Object.assign({},(0,Me.Xy)(Ot))}}),[`&-disabled ${nt}-input`]:{cursor:"not-allowed"},[nt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,me.Wf)(Ot)),{width:"100%",padding:`${xa}px ${si}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:tr,outline:0,transition:`all ${zr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,Me.nz)(Ot.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[nt]:Object.assign(Object.assign(Object.assign({[`&:hover ${nt}-handler-wrap, &-focused ${nt}-handler-wrap`]:{opacity:1},[`${nt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Ot.handleWidth,height:"100%",background:Ti,borderStartStartRadius:0,borderStartEndRadius:tr,borderEndEndRadius:tr,borderEndStartRadius:0,opacity:Da===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${zr} linear ${zr}`,[`${nt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${nt}-handler-up-inner, ${nt}-handler-down-inner `]:{marginInlineEnd:0,fontSize:Ot.handleFontSize}}},[`${nt}-handler`]:{height:"50%",overflow:"hidden",color:pr,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Ft}px ${Tn} ${Qi}`,transition:`all ${zr} linear`,"&:active":{background:Wi},"&:hover":{height:"60%",[` ${nt}-handler-up-inner, ${nt}-handler-down-inner `]:{color:mi}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,me.Ro)()),{color:pr,transition:`all ${zr} linear`,userSelect:"none"})},[`${nt}-handler-up`]:{borderStartEndRadius:tr},[`${nt}-handler-down`]:{borderBlockStart:`${Ft}px ${Tn} ${Qi}`,borderEndEndRadius:tr}},An(Ot,"lg")),An(Ot,"sm")),{"&-disabled, &-readonly":{[`${nt}-handler-wrap`]:{display:"none"},[`${nt}-input`]:{color:"inherit"}},[` ${nt}-handler-up-disabled, ${nt}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${nt}-handler-up-disabled:hover &-handler-up-inner, ${nt}-handler-down-disabled:hover &-handler-down-inner `]:{color:Wr}})},{[`${nt}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${nt}-handler-down`]:{borderBlockStartWidth:0}}}]},En=Ot=>{const{componentCls:nt,paddingBlock:Ft,paddingInline:Tn,inputAffixPadding:Vn,controlWidth:tr,borderRadiusLG:jr,borderRadiusSM:Nr}=Ot;return{[`${nt}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,Me.ik)(Ot)),(0,Me.bi)(Ot,`${nt}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:tr,padding:0,paddingInlineStart:Tn,"&-lg":{borderRadius:jr},"&-sm":{borderRadius:Nr},[`&:not(${nt}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,Me.pU)(Ot)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${nt}-disabled`]:{background:"transparent"},[`> div${nt}`]:{width:"100%",border:"none",outline:"none",[`&${nt}-focused`]:{boxShadow:"none !important"}},[`input${nt}-input`]:{padding:`${Ft}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${nt}-handler-wrap`]:{zIndex:2},[nt]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Vn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Tn,marginInlineStart:Vn}}})}};var Pn=(0,Pt.Z)("InputNumber",Ot=>{const nt=(0,an.TS)(Ot,(0,Me.e5)(Ot));return[In(nt),En(nt),(0,$e.c)(nt)]},Ot=>Object.assign(Object.assign({},(0,Me.TM)(Ot)),{controlWidth:90,handleWidth:Ot.controlHeightSM-Ot.lineWidth*2,handleFontSize:Ot.fontSize/2,handleVisible:"auto",handleActiveBg:Ot.colorFillAlter,handleBg:Ot.colorBgContainer,handleHoverColor:Ot.colorPrimary,handleBorderColor:Ot.colorBorder})),Zn=function(Ot,nt){var Ft={};for(var Tn in Ot)Object.prototype.hasOwnProperty.call(Ot,Tn)&&nt.indexOf(Tn)<0&&(Ft[Tn]=Ot[Tn]);if(Ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vn=0,Tn=Object.getOwnPropertySymbols(Ot);Vn{const{getPrefixCls:Ft,direction:Tn}=mt.useContext(on.E_),Vn=mt.useRef(null);mt.useImperativeHandle(nt,()=>Vn.current);const{className:tr,rootClassName:jr,size:Nr,disabled:Kr,prefixCls:kr,addonBefore:dr,addonAfter:pr,prefix:zr,bordered:mi=!0,readOnly:si,status:xa,controls:Ti}=Ot,Wi=Zn(Ot,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Wr=Ft("input-number",kr),[Fa,Oi]=Pn(Wr),{compactSize:Yi,compactItemClassnames:Da}=(0,Ee.ri)(Wr,Tn);let Qi=mt.createElement(Lt.Z,{className:`${Wr}-handler-up-inner`}),Bi=mt.createElement(ge.Z,{className:`${Wr}-handler-down-inner`});const Hi=typeof Ti=="boolean"?Ti:void 0;typeof Ti=="object"&&(Qi=typeof Ti.upIcon=="undefined"?Qi:mt.createElement("span",{className:`${Wr}-handler-up-inner`},Ti.upIcon),Bi=typeof Ti.downIcon=="undefined"?Bi:mt.createElement("span",{className:`${Wr}-handler-down-inner`},Ti.downIcon));const{hasFeedback:ci,status:Vr,isFormItemInput:ia,feedbackIcon:cn}=mt.useContext(pe.aM),tt=(0,ln.F)(Vr,xa),yt=(0,we.Z)(Mn=>{var jn;return(jn=Nr!=null?Nr:Yi)!==null&&jn!==void 0?jn:Mn}),ht=mt.useContext(Ue.Z),dt=Kr!=null?Kr:ht,xt=zt()({[`${Wr}-lg`]:yt==="large",[`${Wr}-sm`]:yt==="small",[`${Wr}-rtl`]:Tn==="rtl",[`${Wr}-borderless`]:!mi,[`${Wr}-in-form-item`]:ia},(0,ln.Z)(Wr,tt),Da,Oi),Gt=`${Wr}-group`,Fn=mt.createElement(Ar,Object.assign({ref:Vn,disabled:dt,className:zt()(tr,jr),upHandler:Qi,downHandler:Bi,prefixCls:Wr,readOnly:si,controls:Hi,prefix:zr,suffix:ci&&cn,addonAfter:pr&&mt.createElement(Ee.BR,null,mt.createElement(pe.Ux,{override:!0,status:!0},pr)),addonBefore:dr&&mt.createElement(Ee.BR,null,mt.createElement(pe.Ux,{override:!0,status:!0},dr)),classNames:{input:xt},classes:{affixWrapper:zt()((0,ln.Z)(`${Wr}-affix-wrapper`,tt,ci),{[`${Wr}-affix-wrapper-sm`]:yt==="small",[`${Wr}-affix-wrapper-lg`]:yt==="large",[`${Wr}-affix-wrapper-rtl`]:Tn==="rtl",[`${Wr}-affix-wrapper-borderless`]:!mi},Oi),wrapper:zt()({[`${Gt}-rtl`]:Tn==="rtl",[`${Wr}-wrapper-disabled`]:dt},Oi),group:zt()({[`${Wr}-group-wrapper-sm`]:yt==="small",[`${Wr}-group-wrapper-lg`]:yt==="large",[`${Wr}-group-wrapper-rtl`]:Tn==="rtl"},(0,ln.Z)(`${Wr}-group-wrapper`,tt,ci),Oi)}},Wi));return Fa(Fn)}),Bt=Cr,dn=Ot=>mt.createElement(vn.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},mt.createElement(Cr,Object.assign({},Ot)));Bt._InternalPanelDoNotUseOrYouWillBeFired=dn;var _n=Bt},9432:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Qt},n:function(){return st}});var ge=be(19248),Lt=be(92310),ut=be.n(Lt),zt=be(93681),We=be(8654),lt=be(59301),vt=be(19080),ke=be(36355),_e=be(1684),xe=be(19716),Xe=be(32441),De=be(33234),Qe=be(59412),ot=be(9937);function qe(pt){return!!(pt.prefix||pt.suffix||pt.allowClear)}var it=function(pt,St){var rt={};for(var ze in pt)Object.prototype.hasOwnProperty.call(pt,ze)&&St.indexOf(ze)<0&&(rt[ze]=pt[ze]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,ze=Object.getOwnPropertySymbols(pt);gt{var rt;const{prefixCls:ze,bordered:gt=!0,status:Et,size:jt,disabled:mt,onBlur:Yt,onFocus:Tt,suffix:Xt,allowClear:bt,addonAfter:un,addonBefore:Ln,className:Vt,style:nn,styles:Kt,rootClassName:Ge,onChange:Fe,classNames:ft}=pt,sn=it(pt,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:$t,direction:Mt,input:_t}=lt.useContext(ke.E_),hn=$t("input",ze),Jn=(0,lt.useRef)(null),[Kn,Ar]=(0,ot.ZP)(hn),{compactSize:ln,compactItemClassnames:on}=(0,De.ri)(hn,Mt),vn=(0,xe.Z)(Cr=>{var Bt;return(Bt=jt!=null?jt:ln)!==null&&Bt!==void 0?Bt:Cr}),Ue=lt.useContext(_e.Z),we=mt!=null?mt:Ue,{status:pe,hasFeedback:Ee,feedbackIcon:Me}=(0,lt.useContext)(Xe.aM),me=(0,vt.F)(pe,Et),$e=qe(pt)||!!Ee,Pt=(0,lt.useRef)($e);(0,lt.useEffect)(()=>{var Cr;$e&&Pt.current,Pt.current=$e},[$e]);const an=(0,Qe.Z)(Jn,!0),An=Cr=>{an(),Yt==null||Yt(Cr)},In=Cr=>{an(),Tt==null||Tt(Cr)},En=Cr=>{an(),Fe==null||Fe(Cr)},Pn=(Ee||Xt)&<.createElement(lt.Fragment,null,Xt,Ee&&Me);let Zn;return typeof bt=="object"&&(bt!=null&&bt.clearIcon)?Zn=bt:bt&&(Zn={clearIcon:lt.createElement(ge.Z,null)}),Kn(lt.createElement(zt.default,Object.assign({ref:(0,We.sQ)(St,Jn),prefixCls:hn,autoComplete:_t==null?void 0:_t.autoComplete},sn,{disabled:we,onBlur:An,onFocus:In,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),nn),styles:Object.assign(Object.assign({},_t==null?void 0:_t.styles),Kt),suffix:Pn,allowClear:Zn,className:ut()(Vt,Ge,on,_t==null?void 0:_t.className),onChange:En,addonAfter:un&<.createElement(De.BR,null,lt.createElement(Xe.Ux,{override:!0,status:!0},un)),addonBefore:Ln&<.createElement(De.BR,null,lt.createElement(Xe.Ux,{override:!0,status:!0},Ln)),classNames:Object.assign(Object.assign(Object.assign({},ft),_t==null?void 0:_t.classNames),{input:ut()({[`${hn}-sm`]:vn==="small",[`${hn}-lg`]:vn==="large",[`${hn}-rtl`]:Mt==="rtl",[`${hn}-borderless`]:!gt},!$e&&(0,vt.Z)(hn,me),ft==null?void 0:ft.input,(rt=_t==null?void 0:_t.classNames)===null||rt===void 0?void 0:rt.input,Ar)}),classes:{affixWrapper:ut()({[`${hn}-affix-wrapper-sm`]:vn==="small",[`${hn}-affix-wrapper-lg`]:vn==="large",[`${hn}-affix-wrapper-rtl`]:Mt==="rtl",[`${hn}-affix-wrapper-borderless`]:!gt},(0,vt.Z)(`${hn}-affix-wrapper`,me,Ee),Ar),wrapper:ut()({[`${hn}-group-rtl`]:Mt==="rtl"},Ar),group:ut()({[`${hn}-group-wrapper-sm`]:vn==="small",[`${hn}-group-wrapper-lg`]:vn==="large",[`${hn}-group-wrapper-rtl`]:Mt==="rtl",[`${hn}-group-wrapper-disabled`]:we},(0,vt.Z)(`${hn}-group-wrapper`,me,Ee),Ar)}})))})},1643:function(lr,Yn,be){"use strict";var ge=be(19248),Lt=be(92310),ut=be.n(Lt),zt=be(9296),We=be(59301),lt=be(19080),vt=be(36355),ke=be(1684),_e=be(19716),xe=be(32441),Xe=be(9432),De=be(9937),Qe=function(qe,it){var st={};for(var At in qe)Object.prototype.hasOwnProperty.call(qe,At)&&it.indexOf(At)<0&&(st[At]=qe[At]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,At=Object.getOwnPropertySymbols(qe);Qt{const{prefixCls:st,bordered:At=!0,size:Qt,disabled:pt,status:St,allowClear:rt,showCount:ze,classNames:gt,rootClassName:Et,className:jt}=qe,mt=Qe(qe,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:Yt,direction:Tt}=We.useContext(vt.E_),Xt=(0,_e.Z)(Qt),bt=We.useContext(ke.Z),un=pt!=null?pt:bt,{status:Ln,hasFeedback:Vt,feedbackIcon:nn}=We.useContext(xe.aM),Kt=(0,lt.F)(Ln,St),Ge=We.useRef(null);We.useImperativeHandle(it,()=>{var Mt;return{resizableTextArea:(Mt=Ge.current)===null||Mt===void 0?void 0:Mt.resizableTextArea,focus:_t=>{var hn,Jn;(0,Xe.n)((Jn=(hn=Ge.current)===null||hn===void 0?void 0:hn.resizableTextArea)===null||Jn===void 0?void 0:Jn.textArea,_t)},blur:()=>{var _t;return(_t=Ge.current)===null||_t===void 0?void 0:_t.blur()}}});const Fe=Yt("input",st);let ft;typeof rt=="object"&&(rt!=null&&rt.clearIcon)?ft=rt:rt&&(ft={clearIcon:We.createElement(ge.Z,null)});const[sn,$t]=(0,De.ZP)(Fe);return sn(We.createElement(zt.default,Object.assign({},mt,{disabled:un,allowClear:ft,className:ut()(jt,Et),classes:{affixWrapper:ut()(`${Fe}-textarea-affix-wrapper`,{[`${Fe}-affix-wrapper-rtl`]:Tt==="rtl",[`${Fe}-affix-wrapper-borderless`]:!At,[`${Fe}-affix-wrapper-sm`]:Xt==="small",[`${Fe}-affix-wrapper-lg`]:Xt==="large",[`${Fe}-textarea-show-count`]:ze},(0,lt.Z)(`${Fe}-affix-wrapper`,Kt),$t)},classNames:Object.assign(Object.assign({},gt),{textarea:ut()({[`${Fe}-borderless`]:!At,[`${Fe}-sm`]:Xt==="small",[`${Fe}-lg`]:Xt==="large"},(0,lt.Z)(Fe,Kt),$t,gt==null?void 0:gt.textarea)}),prefixCls:Fe,suffix:Vt&&We.createElement("span",{className:`${Fe}-textarea-suffix`},nn),showCount:ze,ref:Ge})))});Yn.Z=ot},59412:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Lt}});var ge=be(59301);function Lt(ut,zt){const We=(0,ge.useRef)([]),lt=()=>{We.current.push(setTimeout(()=>{var vt,ke,_e,xe;!((vt=ut.current)===null||vt===void 0)&&vt.input&&((ke=ut.current)===null||ke===void 0?void 0:ke.input.getAttribute("type"))==="password"&&(!((_e=ut.current)===null||_e===void 0)&&_e.input.hasAttribute("value"))&&((xe=ut.current)===null||xe===void 0||xe.input.removeAttribute("value"))}))};return(0,ge.useEffect)(()=>(zt&<(),()=>We.current.forEach(vt=>{vt&&clearTimeout(vt)})),[]),lt}},92832:function(lr,Yn,be){"use strict";be.d(Yn,{default:function(){return Xt}});var ge=be(92310),Lt=be.n(ge),ut=be(59301),zt=be(36355),We=be(32441),lt=be(9937),ke=bt=>{const{getPrefixCls:un,direction:Ln}=(0,ut.useContext)(zt.E_),{prefixCls:Vt,className:nn}=bt,Kt=un("input-group",Vt),Ge=un("input"),[Fe,ft]=(0,lt.ZP)(Ge),sn=Lt()(Kt,{[`${Kt}-lg`]:bt.size==="large",[`${Kt}-sm`]:bt.size==="small",[`${Kt}-compact`]:bt.compact,[`${Kt}-rtl`]:Ln==="rtl"},ft,nn),$t=(0,ut.useContext)(We.aM),Mt=(0,ut.useMemo)(()=>Object.assign(Object.assign({},$t),{isFormItemInput:!1}),[$t]);return Fe(ut.createElement("span",{className:sn,style:bt.style,onMouseEnter:bt.onMouseEnter,onMouseLeave:bt.onMouseLeave,onFocus:bt.onFocus,onBlur:bt.onBlur},ut.createElement(We.aM.Provider,{value:Mt},bt.children)))},_e=be(9432),xe=be(73331),Xe=be(15277),De=be(2738),Qe=be(8654),ot=be(59412),qe=function(bt,un){var Ln={};for(var Vt in bt)Object.prototype.hasOwnProperty.call(bt,Vt)&&un.indexOf(Vt)<0&&(Ln[Vt]=bt[Vt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Vt=Object.getOwnPropertySymbols(bt);nnbt?ut.createElement(Xe.Z,null):ut.createElement(xe.Z,null),st={click:"onClick",hover:"onMouseOver"};var Qt=ut.forwardRef((bt,un)=>{const{visibilityToggle:Ln=!0}=bt,Vt=typeof Ln=="object"&&Ln.visible!==void 0,[nn,Kt]=(0,ut.useState)(()=>Vt?Ln.visible:!1),Ge=(0,ut.useRef)(null);ut.useEffect(()=>{Vt&&Kt(Ln.visible)},[Vt,Ln]);const Fe=(0,ot.Z)(Ge),ft=()=>{const{disabled:we}=bt;we||(nn&&Fe(),Kt(pe=>{var Ee;const Me=!pe;return typeof Ln=="object"&&((Ee=Ln.onVisibleChange)===null||Ee===void 0||Ee.call(Ln,Me)),Me}))},sn=we=>{const{action:pe="click",iconRender:Ee=it}=bt,Me=st[pe]||"",me=Ee(nn),$e={[Me]:ft,className:`${we}-icon`,key:"passwordIcon",onMouseDown:Pt=>{Pt.preventDefault()},onMouseUp:Pt=>{Pt.preventDefault()}};return ut.cloneElement(ut.isValidElement(me)?me:ut.createElement("span",null,me),$e)},{className:$t,prefixCls:Mt,inputPrefixCls:_t,size:hn}=bt,Jn=qe(bt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Kn}=ut.useContext(zt.E_),Ar=Kn("input",_t),ln=Kn("input-password",Mt),on=Ln&&sn(ln),vn=Lt()(ln,$t,{[`${ln}-${hn}`]:!!hn}),Ue=Object.assign(Object.assign({},(0,De.Z)(Jn,["suffix","iconRender","visibilityToggle"])),{type:nn?"text":"password",className:vn,prefixCls:Ar,suffix:on});return hn&&(Ue.size=hn),ut.createElement(_e.Z,Object.assign({ref:(0,Qe.sQ)(un,Ge)},Ue))}),pt=be(47472),St=be(92343),rt=be(3113),ze=be(19716),gt=be(33234),Et=function(bt,un){var Ln={};for(var Vt in bt)Object.prototype.hasOwnProperty.call(bt,Vt)&&un.indexOf(Vt)<0&&(Ln[Vt]=bt[Vt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Vt=Object.getOwnPropertySymbols(bt);nn{const{prefixCls:Ln,inputPrefixCls:Vt,className:nn,size:Kt,suffix:Ge,enterButton:Fe=!1,addonAfter:ft,loading:sn,disabled:$t,onSearch:Mt,onChange:_t,onCompositionStart:hn,onCompositionEnd:Jn}=bt,Kn=Et(bt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ar,direction:ln}=ut.useContext(zt.E_),on=ut.useRef(!1),vn=Ar("input-search",Ln),Ue=Ar("input",Vt),{compactSize:we}=(0,gt.ri)(vn,ln),pe=(0,ze.Z)(dn=>{var _n;return(_n=Kt!=null?Kt:we)!==null&&_n!==void 0?_n:dn}),Ee=ut.useRef(null),Me=dn=>{dn&&dn.target&&dn.type==="click"&&Mt&&Mt(dn.target.value,dn,{source:"clear"}),_t&&_t(dn)},me=dn=>{var _n;document.activeElement===((_n=Ee.current)===null||_n===void 0?void 0:_n.input)&&dn.preventDefault()},$e=dn=>{var _n,Ot;Mt&&Mt((Ot=(_n=Ee.current)===null||_n===void 0?void 0:_n.input)===null||Ot===void 0?void 0:Ot.value,dn,{source:"input"})},Pt=dn=>{on.current||sn||$e(dn)},an=typeof Fe=="boolean"?ut.createElement(pt.Z,null):null,An=`${vn}-button`;let In;const En=Fe||{},Pn=En.type&&En.type.__ANT_BUTTON===!0;Pn||En.type==="button"?In=(0,St.Tm)(En,Object.assign({onMouseDown:me,onClick:dn=>{var _n,Ot;(Ot=(_n=En==null?void 0:En.props)===null||_n===void 0?void 0:_n.onClick)===null||Ot===void 0||Ot.call(_n,dn),$e(dn)},key:"enterButton"},Pn?{className:An,size:pe}:{})):In=ut.createElement(rt.ZP,{className:An,type:Fe?"primary":void 0,size:pe,disabled:$t,key:"enterButton",onMouseDown:me,onClick:$e,loading:sn,icon:an},Fe),ft&&(In=[In,(0,St.Tm)(ft,{key:"addonAfter"})]);const Zn=Lt()(vn,{[`${vn}-rtl`]:ln==="rtl",[`${vn}-${pe}`]:!!pe,[`${vn}-with-button`]:!!Fe},nn),Cr=dn=>{on.current=!0,hn==null||hn(dn)},Bt=dn=>{on.current=!1,Jn==null||Jn(dn)};return ut.createElement(_e.Z,Object.assign({ref:(0,Qe.sQ)(Ee,un),onPressEnter:Pt},Kn,{size:pe,onCompositionStart:Cr,onCompositionEnd:Bt,prefixCls:Ue,addonAfter:In,suffix:Ge,onChange:Me,className:Zn,disabled:$t}))}),Yt=be(1643);const Tt=_e.Z;Tt.Group=ke,Tt.Search=mt,Tt.TextArea=Yt.Z,Tt.Password=Qt;var Xt=Tt},9937:function(lr,Yn,be){"use strict";be.d(Yn,{M1:function(){return vt},TM:function(){return St},Xy:function(){return ke},bi:function(){return Xe},e5:function(){return pt},ik:function(){return De},nz:function(){return We},pU:function(){return lt},s7:function(){return Qe},x0:function(){return xe}});var ge=be(17313),Lt=be(74207),ut=be(37613),zt=be(83116);const We=rt=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:rt,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),lt=rt=>({borderColor:rt.hoverBorderColor}),vt=rt=>({borderColor:rt.activeBorderColor,boxShadow:rt.activeShadow,outline:0}),ke=rt=>({color:rt.colorTextDisabled,backgroundColor:rt.colorBgContainerDisabled,borderColor:rt.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},lt((0,ut.TS)(rt,{hoverBorderColor:rt.colorBorder})))}),_e=rt=>{const{paddingBlockLG:ze,fontSizeLG:gt,lineHeightLG:Et,borderRadiusLG:jt,paddingInlineLG:mt}=rt;return{padding:`${ze}px ${mt}px`,fontSize:gt,lineHeight:Et,borderRadius:jt}},xe=rt=>({padding:`${rt.paddingBlockSM}px ${rt.paddingInlineSM}px`,borderRadius:rt.borderRadiusSM}),Xe=(rt,ze)=>{const{componentCls:gt,colorError:Et,colorWarning:jt,errorActiveShadow:mt,warningActiveShadow:Yt,colorErrorBorderHover:Tt,colorWarningBorderHover:Xt}=rt;return{[`&-status-error:not(${ze}-disabled):not(${ze}-borderless)${ze}`]:{borderColor:Et,"&:hover":{borderColor:Tt},"&:focus, &-focused":Object.assign({},vt((0,ut.TS)(rt,{activeBorderColor:Et,activeShadow:mt}))),[`${gt}-prefix, ${gt}-suffix`]:{color:Et}},[`&-status-warning:not(${ze}-disabled):not(${ze}-borderless)${ze}`]:{borderColor:jt,"&:hover":{borderColor:Xt},"&:focus, &-focused":Object.assign({},vt((0,ut.TS)(rt,{activeBorderColor:jt,activeShadow:Yt}))),[`${gt}-prefix, ${gt}-suffix`]:{color:jt}}}},De=rt=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${rt.paddingBlock}px ${rt.paddingInline}px`,color:rt.colorText,fontSize:rt.fontSize,lineHeight:rt.lineHeight,backgroundColor:rt.colorBgContainer,backgroundImage:"none",borderWidth:rt.lineWidth,borderStyle:rt.lineType,borderColor:rt.colorBorder,borderRadius:rt.borderRadius,transition:`all ${rt.motionDurationMid}`},We(rt.colorTextPlaceholder)),{"&:hover":Object.assign({},lt(rt)),"&:focus, &-focused":Object.assign({},vt(rt)),"&-disabled, &[disabled]":Object.assign({},ke(rt)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:rt.controlHeight,lineHeight:rt.lineHeight,verticalAlign:"bottom",transition:`all ${rt.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},_e(rt)),"&-sm":Object.assign({},xe(rt)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Qe=rt=>{const{componentCls:ze,antCls:gt}=rt;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:rt.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${ze}, &-lg > ${ze}-group-addon`]:Object.assign({},_e(rt)),[`&-sm ${ze}, &-sm > ${ze}-group-addon`]:Object.assign({},xe(rt)),[`&-lg ${gt}-select-single ${gt}-select-selector`]:{height:rt.controlHeightLG},[`&-sm ${gt}-select-single ${gt}-select-selector`]:{height:rt.controlHeightSM},[`> ${ze}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${ze}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${rt.paddingInline}px`,color:rt.colorText,fontWeight:"normal",fontSize:rt.fontSize,textAlign:"center",backgroundColor:rt.colorFillAlter,border:`${rt.lineWidth}px ${rt.lineType} ${rt.colorBorder}`,borderRadius:rt.borderRadius,transition:`all ${rt.motionDurationSlow}`,lineHeight:1,[`${gt}-select`]:{margin:`-${rt.paddingBlock+1}px -${rt.paddingInline}px`,[`&${gt}-select-single:not(${gt}-select-customize-input)`]:{[`${gt}-select-selector`]:{backgroundColor:"inherit",border:`${rt.lineWidth}px ${rt.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${gt}-select-selector`]:{color:rt.colorPrimary}}},[`${gt}-cascader-picker`]:{margin:`-9px -${rt.paddingInline}px`,backgroundColor:"transparent",[`${gt}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${ze}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${ze}-search-with-button &`]:{zIndex:0}}},[`> ${ze}:first-child, ${ze}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${gt}-select ${gt}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${ze}-affix-wrapper`]:{[`&:not(:first-child) ${ze}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${ze}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${ze}:last-child, ${ze}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${gt}-select ${gt}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${ze}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${ze}-search &`]:{borderStartStartRadius:rt.borderRadius,borderEndStartRadius:rt.borderRadius}},[`&:not(:first-child), ${ze}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${ze}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ge.dF)()),{[`${ze}-group-addon, ${ze}-group-wrap, > ${ze}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:rt.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${ze}-affix-wrapper, & > ${ze}-number-affix-wrapper, & > ${gt}-picker-range `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-rt.lineWidth,borderInlineEndWidth:rt.lineWidth},[`${ze}`]:{float:"none"},[`& > ${gt}-select > ${gt}-select-selector, & > ${gt}-select-auto-complete ${ze}, & > ${gt}-cascader-picker ${ze}, & > ${ze}-group-wrapper ${ze}`]:{borderInlineEndWidth:rt.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${gt}-select-focused`]:{zIndex:1},[`& > ${gt}-select > ${gt}-select-arrow`]:{zIndex:1},[`& > *:first-child, & > ${gt}-select:first-child > ${gt}-select-selector, & > ${gt}-select-auto-complete:first-child ${ze}, & > ${gt}-cascader-picker:first-child ${ze}`]:{borderStartStartRadius:rt.borderRadius,borderEndStartRadius:rt.borderRadius},[`& > *:last-child, & > ${gt}-select:last-child > ${gt}-select-selector, & > ${gt}-cascader-picker:last-child ${ze}, & > ${gt}-cascader-picker-focused:last-child ${ze}`]:{borderInlineEndWidth:rt.lineWidth,borderStartEndRadius:rt.borderRadius,borderEndEndRadius:rt.borderRadius},[`& > ${gt}-select-auto-complete ${ze}`]:{verticalAlign:"top"},[`${ze}-group-wrapper + ${ze}-group-wrapper`]:{marginInlineStart:-rt.lineWidth,[`${ze}-affix-wrapper`]:{borderRadius:0}},[`${ze}-group-wrapper:not(:last-child)`]:{[`&${ze}-search > ${ze}-group`]:{[`& > ${ze}-group-addon > ${ze}-search-button`]:{borderRadius:0},[`& > ${ze}`]:{borderStartStartRadius:rt.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:rt.borderRadius}}}})}},ot=rt=>{const{componentCls:ze,controlHeightSM:gt,lineWidth:Et}=rt,mt=(gt-Et*2-16)/2;return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(rt)),De(rt)),Xe(rt,ze)),{'&[type="color"]':{height:rt.controlHeight,[`&${ze}-lg`]:{height:rt.controlHeightLG},[`&${ze}-sm`]:{height:gt,paddingTop:mt,paddingBottom:mt}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},qe=rt=>{const{componentCls:ze}=rt;return{[`${ze}-clear-icon`]:{margin:0,color:rt.colorTextQuaternary,fontSize:rt.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${rt.motionDurationSlow}`,"&:hover":{color:rt.colorTextTertiary},"&:active":{color:rt.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${rt.inputAffixPadding}px`}}}},it=rt=>{const{componentCls:ze,inputAffixPadding:gt,colorTextDescription:Et,motionDurationSlow:jt,colorIcon:mt,colorIconHover:Yt,iconCls:Tt}=rt;return{[`${ze}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},De(rt)),{display:"inline-flex",[`&:not(${ze}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},lt(rt)),{zIndex:1,[`${ze}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${ze}[disabled]`]:{background:"transparent"}},[`> input${ze}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ze}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:rt.paddingXS}},"&-show-count-suffix":{color:Et},"&-show-count-has-suffix":{marginInlineEnd:rt.paddingXXS},"&-prefix":{marginInlineEnd:gt},"&-suffix":{marginInlineStart:gt}}}),qe(rt)),{[`${Tt}${ze}-password-icon`]:{color:mt,cursor:"pointer",transition:`all ${jt}`,"&:hover":{color:Yt}}}),Xe(rt,`${ze}-affix-wrapper`))}},st=rt=>{const{componentCls:ze,colorError:gt,colorWarning:Et,borderRadiusLG:jt,borderRadiusSM:mt}=rt;return{[`${ze}-group`]:Object.assign(Object.assign(Object.assign({},(0,ge.Wf)(rt)),Qe(rt)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${ze}-group-addon`]:{borderRadius:jt,fontSize:rt.fontSizeLG}},"&-sm":{[`${ze}-group-addon`]:{borderRadius:mt}},"&-status-error":{[`${ze}-group-addon`]:{color:gt,borderColor:gt}},"&-status-warning":{[`${ze}-group-addon`]:{color:Et,borderColor:Et}},"&-disabled":{[`${ze}-group-addon`]:Object.assign({},ke(rt))},[`&:not(${ze}-compact-first-item):not(${ze}-compact-last-item)${ze}-compact-item`]:{[`${ze}, ${ze}-group-addon`]:{borderRadius:0}},[`&:not(${ze}-compact-last-item)${ze}-compact-first-item`]:{[`${ze}, ${ze}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${ze}-compact-first-item)${ze}-compact-last-item`]:{[`${ze}, ${ze}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},At=rt=>{const{componentCls:ze,antCls:gt}=rt,Et=`${ze}-search`;return{[Et]:{[`${ze}`]:{"&:hover, &:focus":{borderColor:rt.colorPrimaryHover,[`+ ${ze}-group-addon ${Et}-button:not(${gt}-btn-primary)`]:{borderInlineStartColor:rt.colorPrimaryHover}}},[`${ze}-affix-wrapper`]:{borderRadius:0},[`${ze}-lg`]:{lineHeight:rt.lineHeightLG-2e-4},[`> ${ze}-group`]:{[`> ${ze}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Et}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:rt.borderRadius,borderEndEndRadius:rt.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${Et}-button:not(${gt}-btn-primary)`]:{color:rt.colorTextDescription,"&:hover":{color:rt.colorPrimaryHover},"&:active":{color:rt.colorPrimaryActive},[`&${gt}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Et}-button`]:{height:rt.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${Et}-button`]:{height:rt.controlHeightLG},[`&-small ${Et}-button`]:{height:rt.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${ze}-compact-item`]:{[`&:not(${ze}-compact-last-item)`]:{[`${ze}-group-addon`]:{[`${ze}-search-button`]:{marginInlineEnd:-rt.lineWidth,borderRadius:0}}},[`&:not(${ze}-compact-first-item)`]:{[`${ze},${ze}-affix-wrapper`]:{borderRadius:0}},[`> ${ze}-group-addon ${ze}-search-button, > ${ze}, ${ze}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${ze}-affix-wrapper-focused`]:{zIndex:2}}}}},Qt=rt=>{const{componentCls:ze,paddingLG:gt}=rt,Et=`${ze}-textarea`;return{[Et]:{position:"relative","&-show-count":{[`> ${ze}`]:{height:"100%"},[`${ze}-data-count`]:{position:"absolute",bottom:-rt.fontSize*rt.lineHeight,insetInlineEnd:0,color:rt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${ze}`]:{paddingInlineEnd:gt}},[`&-affix-wrapper${Et}-has-feedback`]:{[`${ze}`]:{paddingInlineEnd:gt}},[`&-affix-wrapper${ze}-affix-wrapper`]:{padding:0,[`> textarea${ze}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${ze}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${ze}-clear-icon`]:{position:"absolute",insetInlineEnd:rt.paddingXS,insetBlockStart:rt.paddingXS},[`${Et}-suffix`]:{position:"absolute",top:0,insetInlineEnd:rt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function pt(rt){return(0,ut.TS)(rt,{inputAffixPadding:rt.paddingXXS})}const St=rt=>{const{controlHeight:ze,fontSize:gt,lineHeight:Et,lineWidth:jt,controlHeightSM:mt,controlHeightLG:Yt,fontSizeLG:Tt,lineHeightLG:Xt,paddingSM:bt,controlPaddingHorizontalSM:un,controlPaddingHorizontal:Ln,colorFillAlter:Vt,colorPrimaryHover:nn,controlOutlineWidth:Kt,controlOutline:Ge,colorErrorOutline:Fe,colorWarningOutline:ft}=rt;return{paddingBlock:Math.max(Math.round((ze-gt*Et)/2*10)/10-jt,3),paddingBlockSM:Math.max(Math.round((mt-gt*Et)/2*10)/10-jt,0),paddingBlockLG:Math.ceil((Yt-Tt*Xt)/2*10)/10-jt,paddingInline:bt-jt,paddingInlineSM:un-jt,paddingInlineLG:Ln-jt,addonBg:Vt,activeBorderColor:nn,hoverBorderColor:nn,activeShadow:`0 0 0 ${Kt}px ${Ge}`,errorActiveShadow:`0 0 0 ${Kt}px ${Fe}`,warningActiveShadow:`0 0 0 ${Kt}px ${ft}`}};Yn.ZP=(0,zt.Z)("Input",rt=>{const ze=(0,ut.TS)(rt,pt(rt));return[ot(ze),Qt(ze),it(ze),st(ze),At(ze),(0,Lt.c)(ze)]},St)},45818:function(lr,Yn,be){"use strict";be.d(Yn,{D:function(){return pt},Z:function(){return ze}});var ge=be(60499),Lt=be(59301),ut={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},zt=ut,We=be(7657),lt=function(Et,jt){return Lt.createElement(We.Z,(0,ge.Z)({},Et,{ref:jt,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt,_e=be(33853),xe=be(38819),Xe=be(92310),De=be.n(Xe),Qe=be(2738),qe=gt=>!isNaN(parseFloat(gt))&&isFinite(gt),it=be(36355),st=be(84966),At=function(gt,Et){var jt={};for(var mt in gt)Object.prototype.hasOwnProperty.call(gt,mt)&&Et.indexOf(mt)<0&&(jt[mt]=gt[mt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,mt=Object.getOwnPropertySymbols(gt);Yt{let gt=0;return function(){let Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return gt+=1,`${Et}${gt}`}})();var ze=Lt.forwardRef((gt,Et)=>{const{prefixCls:jt,className:mt,trigger:Yt,children:Tt,defaultCollapsed:Xt=!1,theme:bt="dark",style:un={},collapsible:Ln=!1,reverseArrow:Vt=!1,width:nn=200,collapsedWidth:Kt=80,zeroWidthTriggerStyle:Ge,breakpoint:Fe,onCollapse:ft,onBreakpoint:sn}=gt,$t=At(gt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Mt}=(0,Lt.useContext)(st.Gs),[_t,hn]=(0,Lt.useState)("collapsed"in gt?gt.collapsed:Xt),[Jn,Kn]=(0,Lt.useState)(!1);(0,Lt.useEffect)(()=>{"collapsed"in gt&&hn(gt.collapsed)},[gt.collapsed]);const Ar=(pe,Ee)=>{"collapsed"in gt||hn(pe),ft==null||ft(pe,Ee)},ln=(0,Lt.useRef)();ln.current=pe=>{Kn(pe.matches),sn==null||sn(pe.matches),_t!==pe.matches&&Ar(pe.matches,"responsive")},(0,Lt.useEffect)(()=>{function pe(Me){return ln.current(Me)}let Ee;if(typeof window!="undefined"){const{matchMedia:Me}=window;if(Me&&Fe&&Fe in Qt){Ee=Me(`(max-width: ${Qt[Fe]})`);try{Ee.addEventListener("change",pe)}catch(me){Ee.addListener(pe)}pe(Ee)}}return()=>{try{Ee==null||Ee.removeEventListener("change",pe)}catch(Me){Ee==null||Ee.removeListener(pe)}}},[Fe]),(0,Lt.useEffect)(()=>{const pe=St("ant-sider-");return Mt.addSider(pe),()=>Mt.removeSider(pe)},[]);const on=()=>{Ar(!_t,"clickTrigger")},{getPrefixCls:vn}=(0,Lt.useContext)(it.E_),Ue=()=>{const pe=vn("layout-sider",jt),Ee=(0,Qe.Z)($t,["collapsed"]),Me=_t?Kt:nn,me=qe(Me)?`${Me}px`:String(Me),$e=parseFloat(String(Kt||0))===0?Lt.createElement("span",{onClick:on,className:De()(`${pe}-zero-width-trigger`,`${pe}-zero-width-trigger-${Vt?"right":"left"}`),style:Ge},Yt||Lt.createElement(ke,null)):null,An={expanded:Vt?Lt.createElement(xe.Z,null):Lt.createElement(_e.Z,null),collapsed:Vt?Lt.createElement(_e.Z,null):Lt.createElement(xe.Z,null)}[_t?"collapsed":"expanded"],In=Yt!==null?$e||Lt.createElement("div",{className:`${pe}-trigger`,onClick:on,style:{width:me}},Yt||An):null,En=Object.assign(Object.assign({},un),{flex:`0 0 ${me}`,maxWidth:me,minWidth:me,width:me}),Pn=De()(pe,`${pe}-${bt}`,{[`${pe}-collapsed`]:!!_t,[`${pe}-has-trigger`]:Ln&&Yt!==null&&!$e,[`${pe}-below`]:!!Jn,[`${pe}-zero-width`]:parseFloat(me)===0},mt);return Lt.createElement("aside",Object.assign({className:Pn},Ee,{style:En,ref:Et}),Lt.createElement("div",{className:`${pe}-children`},Tt),Ln||Jn&&$e?In:null)},we=Lt.useMemo(()=>({siderCollapsed:_t}),[_t]);return Lt.createElement(pt.Provider,{value:we},Ue())})},84966:function(lr,Yn,be){"use strict";be.d(Yn,{VY:function(){return pt},$_:function(){return Qt},h4:function(){return At},Gs:function(){return Qe},ZP:function(){return St}});var ge=be(77654),Lt=be(92310),ut=be.n(Lt),zt=be(2738),We=be(59301),lt=be(36355),vt=be(83116),_e=rt=>{const{componentCls:ze,bodyBg:gt,lightSiderBg:Et,lightTriggerBg:jt,lightTriggerColor:mt}=rt;return{[`${ze}-sider-light`]:{background:Et,[`${ze}-sider-trigger`]:{color:mt,background:jt},[`${ze}-sider-zero-width-trigger`]:{color:mt,background:jt,border:`1px solid ${gt}`,borderInlineStart:0}}}};const xe=rt=>{const{antCls:ze,componentCls:gt,colorText:Et,triggerColor:jt,footerBg:mt,triggerBg:Yt,headerHeight:Tt,headerPadding:Xt,headerColor:bt,footerPadding:un,triggerHeight:Ln,zeroTriggerHeight:Vt,zeroTriggerWidth:nn,motionDurationMid:Kt,motionDurationSlow:Ge,fontSize:Fe,borderRadius:ft,bodyBg:sn,headerBg:$t,siderBg:Mt}=rt;return{[gt]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:sn,"&, *":{boxSizing:"border-box"},[`&${gt}-has-sider`]:{flexDirection:"row",[`> ${gt}, > ${gt}-content`]:{width:0}},[`${gt}-header, &${gt}-footer`]:{flex:"0 0 auto"},[`${gt}-sider`]:{position:"relative",minWidth:0,background:Mt,transition:`all ${Kt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ze}-menu${ze}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ln},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ln,color:jt,lineHeight:`${Ln}px`,textAlign:"center",background:Yt,cursor:"pointer",transition:`all ${Kt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Tt,insetInlineEnd:-nn,zIndex:1,width:nn,height:Vt,color:jt,fontSize:rt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Mt,borderStartStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ge} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ge}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-nn,borderStartStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ft}}}}},_e(rt)),{"&-rtl":{direction:"rtl"}}),[`${gt}-header`]:{height:Tt,padding:Xt,color:bt,lineHeight:`${Tt}px`,background:$t,[`${ze}-menu`]:{lineHeight:"inherit"}},[`${gt}-footer`]:{padding:un,color:Et,fontSize:Fe,background:mt},[`${gt}-content`]:{flex:"auto",minHeight:0}}};var Xe=(0,vt.Z)("Layout",rt=>[xe(rt)],rt=>{const{colorBgLayout:ze,controlHeight:gt,controlHeightLG:Et,colorText:jt,controlHeightSM:mt,marginXXS:Yt,colorTextLightSolid:Tt,colorBgContainer:Xt}=rt,bt=Et*1.25;return{colorBgHeader:"#001529",colorBgBody:ze,colorBgTrigger:"#002140",bodyBg:ze,headerBg:"#001529",headerHeight:gt*2,headerPadding:`0 ${bt}px`,headerColor:jt,footerPadding:`${mt}px ${bt}px`,footerBg:ze,siderBg:"#001529",triggerHeight:Et+Yt*2,triggerBg:"#002140",triggerColor:Tt,zeroTriggerWidth:Et,zeroTriggerHeight:Et,lightSiderBg:Xt,lightTriggerBg:Xt,lightTriggerColor:jt}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),De=function(rt,ze){var gt={};for(var Et in rt)Object.prototype.hasOwnProperty.call(rt,Et)&&ze.indexOf(Et)<0&&(gt[Et]=rt[Et]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jt=0,Et=Object.getOwnPropertySymbols(rt);jtnull,removeSider:()=>null}});function ot(rt){let{suffixCls:ze,tagName:gt,displayName:Et}=rt;return jt=>We.forwardRef((Yt,Tt)=>We.createElement(jt,Object.assign({ref:Tt,suffixCls:ze,tagName:gt},Yt)))}const qe=We.forwardRef((rt,ze)=>{const{prefixCls:gt,suffixCls:Et,className:jt,tagName:mt}=rt,Yt=De(rt,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Tt}=We.useContext(lt.E_),Xt=Tt("layout",gt),[bt,un]=Xe(Xt),Ln=Et?`${Xt}-${Et}`:Xt;return bt(We.createElement(mt,Object.assign({className:ut()(gt||Ln,jt,un),ref:ze},Yt)))}),it=We.forwardRef((rt,ze)=>{const{direction:gt}=We.useContext(lt.E_),[Et,jt]=We.useState([]),{prefixCls:mt,className:Yt,rootClassName:Tt,children:Xt,hasSider:bt,tagName:un,style:Ln}=rt,Vt=De(rt,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),nn=(0,zt.Z)(Vt,["suffixCls"]),{getPrefixCls:Kt,layout:Ge}=We.useContext(lt.E_),Fe=Kt("layout",mt),[ft,sn]=Xe(Fe),$t=ut()(Fe,{[`${Fe}-has-sider`]:typeof bt=="boolean"?bt:Et.length>0,[`${Fe}-rtl`]:gt==="rtl"},Ge==null?void 0:Ge.className,Yt,Tt,sn),Mt=We.useMemo(()=>({siderHook:{addSider:_t=>{jt(hn=>[].concat((0,ge.Z)(hn),[_t]))},removeSider:_t=>{jt(hn=>hn.filter(Jn=>Jn!==_t))}}}),[]);return ft(We.createElement(Qe.Provider,{value:Mt},We.createElement(un,Object.assign({ref:ze,className:$t,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),Ln)},nn),Xt)))}),st=ot({tagName:"div",displayName:"Layout"})(it),At=ot({suffixCls:"header",tagName:"header",displayName:"Header"})(qe),Qt=ot({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(qe),pt=ot({suffixCls:"content",tagName:"main",displayName:"Content"})(qe);var St=st},40875:function(lr,Yn,be){"use strict";be.d(Yn,{J:function(){return lt}});var ge=be(59301),Lt=be(33234),ut=be(70425),zt=function(vt,ke){var _e={};for(var xe in vt)Object.prototype.hasOwnProperty.call(vt,xe)&&ke.indexOf(xe)<0&&(_e[xe]=vt[xe]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,xe=Object.getOwnPropertySymbols(vt);Xe{const{children:_e}=vt,xe=zt(vt,["children"]),Xe=ge.useContext(We),De=ge.useMemo(()=>Object.assign(Object.assign({},Xe),xe),[Xe,xe.prefixCls,xe.mode,xe.selectable]);return ge.createElement(We.Provider,{value:De},ge.createElement(Lt.BR,null,(0,ut.supportNodeRef)(_e)?ge.cloneElement(_e,{ref:ke}):_e))});Yn.Z=We},20834:function(lr,Yn,be){"use strict";be.d(Yn,{default:function(){return we}});var ge=be(15285),Lt=be(59301),ut=be(45818),zt=be(92310),We=be.n(zt),lt=be(36355),vt=function(pe,Ee){var Me={};for(var me in pe)Object.prototype.hasOwnProperty.call(pe,me)&&Ee.indexOf(me)<0&&(Me[me]=pe[me]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,me=Object.getOwnPropertySymbols(pe);$e{const{prefixCls:Ee,className:Me,dashed:me}=pe,$e=vt(pe,["prefixCls","className","dashed"]),{getPrefixCls:Pt}=Lt.useContext(lt.E_),an=Pt("menu",Ee),An=We()({[`${an}-item-divider-dashed`]:!!me},Me);return Lt.createElement(ge.iz,Object.assign({className:An},$e))},xe=be(11592),Xe=be(2738),De=be(6848),Qe=be(92343),qe=(0,Lt.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),st=pe=>{var Ee;const{className:Me,children:me,icon:$e,title:Pt,danger:an}=pe,{prefixCls:An,firstLevel:In,direction:En,disableMenuItemTitleTooltip:Pn,inlineCollapsed:Zn}=Lt.useContext(qe),Cr=Ft=>{const Tn=Lt.createElement("span",{className:`${An}-title-content`},me);return(!$e||(0,Qe.l$)(me)&&me.type==="span")&&me&&Ft&&In&&typeof me=="string"?Lt.createElement("div",{className:`${An}-inline-collapsed-noicon`},me.charAt(0)):Tn},{siderCollapsed:Bt}=Lt.useContext(ut.D);let dn=Pt;typeof Pt=="undefined"?dn=In?me:"":Pt===!1&&(dn="");const _n={title:dn};!Bt&&!Zn&&(_n.title=null,_n.open=!1);const Ot=(0,xe.Z)(me).length;let nt=Lt.createElement(ge.ck,Object.assign({},(0,Xe.Z)(pe,["title","icon","danger"]),{className:We()({[`${An}-item-danger`]:an,[`${An}-item-only-child`]:($e?Ot+1:Ot)===1},Me),title:typeof Pt=="string"?Pt:void 0}),(0,Qe.Tm)($e,{className:We()((0,Qe.l$)($e)?(Ee=$e.props)===null||Ee===void 0?void 0:Ee.className:"",`${An}-item-icon`)}),Cr(Zn));return Pn||(nt=Lt.createElement(De.Z,Object.assign({},_n,{placement:En==="rtl"?"left":"right",overlayClassName:`${An}-inline-collapsed-tooltip`}),nt)),nt},Qt=pe=>{var Ee;const{popupClassName:Me,icon:me,title:$e,theme:Pt}=pe,an=Lt.useContext(qe),{prefixCls:An,inlineCollapsed:In,theme:En}=an,Pn=(0,ge.Xl)();let Zn;if(!me)Zn=In&&!Pn.length&&$e&&typeof $e=="string"?Lt.createElement("div",{className:`${An}-inline-collapsed-noicon`},$e.charAt(0)):Lt.createElement("span",{className:`${An}-title-content`},$e);else{const Bt=(0,Qe.l$)($e)&&$e.type==="span";Zn=Lt.createElement(Lt.Fragment,null,(0,Qe.Tm)(me,{className:We()((0,Qe.l$)(me)?(Ee=me.props)===null||Ee===void 0?void 0:Ee.className:"",`${An}-item-icon`)}),Bt?$e:Lt.createElement("span",{className:`${An}-title-content`},$e))}const Cr=Lt.useMemo(()=>Object.assign(Object.assign({},an),{firstLevel:!1}),[an]);return Lt.createElement(qe.Provider,{value:Cr},Lt.createElement(ge.Wd,Object.assign({},(0,Xe.Z)(pe,["icon"]),{title:Zn,popupClassName:We()(An,Me,`${An}-${Pt||En}`)})))},pt=be(18785),St=be(70425),rt=be(62892),ze=be(40875),gt=function(pe,Ee){var Me={};for(var me in pe)Object.prototype.hasOwnProperty.call(pe,me)&&Ee.indexOf(me)<0&&(Me[me]=pe[me]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,me=Object.getOwnPropertySymbols(pe);$e{if(Ee&&typeof Ee=="object"){const me=Ee,{label:$e,children:Pt,key:an,type:An}=me,In=gt(me,["label","children","key","type"]),En=an!=null?an:`tmp-${Me}`;return Pt||An==="group"?An==="group"?Lt.createElement(ge.BW,Object.assign({key:En},In,{title:$e}),Et(Pt)):Lt.createElement(Qt,Object.assign({key:En},In,{title:$e}),Et(Pt)):An==="divider"?Lt.createElement(_e,Object.assign({key:En},In)):Lt.createElement(st,Object.assign({key:En},In),$e)}return null}).filter(Ee=>Ee)}function jt(pe){return Lt.useMemo(()=>pe&&Et(pe),[pe])}var mt=be(64993),Yt=be(17313),Tt=be(8378),Xt=be(13826),bt=be(29878),un=be(83116),Ln=be(37613),nn=pe=>{const{componentCls:Ee,motionDurationSlow:Me,horizontalLineHeight:me,colorSplit:$e,lineWidth:Pt,lineType:an,itemPaddingInline:An}=pe;return{[`${Ee}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${Pt}px ${an} ${$e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ee}-item, ${Ee}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:An},[`> ${Ee}-item:hover, > ${Ee}-item-active, > ${Ee}-submenu ${Ee}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ee}-item, ${Ee}-submenu-title`]:{transition:[`border-color ${Me}`,`background ${Me}`].join(",")},[`${Ee}-submenu-arrow`]:{display:"none"}}}},Ge=pe=>{let{componentCls:Ee,menuArrowOffset:Me}=pe;return{[`${Ee}-rtl`]:{direction:"rtl"},[`${Ee}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ee}-rtl${Ee}-vertical, ${Ee}-submenu-rtl ${Ee}-vertical`]:{[`${Ee}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Me})`},"&::after":{transform:`rotate(45deg) translateY(${Me})`}}}}};const Fe=pe=>Object.assign({},(0,Yt.oN)(pe));var sn=(pe,Ee)=>{const{componentCls:Me,itemColor:me,itemSelectedColor:$e,groupTitleColor:Pt,itemBg:an,subMenuItemBg:An,itemSelectedBg:In,activeBarHeight:En,activeBarWidth:Pn,activeBarBorderWidth:Zn,motionDurationSlow:Cr,motionEaseInOut:Bt,motionEaseOut:dn,itemPaddingInline:_n,motionDurationMid:Ot,itemHoverColor:nt,lineType:Ft,colorSplit:Tn,itemDisabledColor:Vn,dangerItemColor:tr,dangerItemHoverColor:jr,dangerItemSelectedColor:Nr,dangerItemActiveBg:Kr,dangerItemSelectedBg:kr,itemHoverBg:dr,itemActiveBg:pr,menuSubMenuBg:zr,horizontalItemSelectedColor:mi,horizontalItemSelectedBg:si,horizontalItemBorderRadius:xa,horizontalItemHoverBg:Ti,popupBg:Wi}=pe;return{[`${Me}-${Ee}, ${Me}-${Ee} > ${Me}`]:{color:me,background:an,[`&${Me}-root:focus-visible`]:Object.assign({},Fe(pe)),[`${Me}-item-group-title`]:{color:Pt},[`${Me}-submenu-selected`]:{[`> ${Me}-submenu-title`]:{color:$e}},[`${Me}-item-disabled, ${Me}-submenu-disabled`]:{color:`${Vn} !important`},[`${Me}-item:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{[`&:hover, > ${Me}-submenu-title:hover`]:{color:nt}},[`&:not(${Me}-horizontal)`]:{[`${Me}-item:not(${Me}-item-selected)`]:{"&:hover":{backgroundColor:dr},"&:active":{backgroundColor:pr}},[`${Me}-submenu-title`]:{"&:hover":{backgroundColor:dr},"&:active":{backgroundColor:pr}}},[`${Me}-item-danger`]:{color:tr,[`&${Me}-item:hover`]:{[`&:not(${Me}-item-selected):not(${Me}-submenu-selected)`]:{color:jr}},[`&${Me}-item:active`]:{background:Kr}},[`${Me}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Me}-item-selected`]:{color:$e,[`&${Me}-item-danger`]:{color:Nr},"a, a:hover":{color:"inherit"}},[`& ${Me}-item-selected`]:{backgroundColor:In,[`&${Me}-item-danger`]:{backgroundColor:kr}},[`${Me}-item, ${Me}-submenu-title`]:{[`&:not(${Me}-item-disabled):focus-visible`]:Object.assign({},Fe(pe))},[`&${Me}-submenu > ${Me}`]:{backgroundColor:zr},[`&${Me}-popup > ${Me}`]:{backgroundColor:Wi},[`&${Me}-horizontal`]:Object.assign(Object.assign({},Ee==="dark"?{borderBottom:0}:{}),{[`> ${Me}-item, > ${Me}-submenu`]:{top:Zn,marginTop:-Zn,marginBottom:0,borderRadius:xa,"&::after":{position:"absolute",insetInline:_n,bottom:0,borderBottom:`${En}px solid transparent`,transition:`border-color ${Cr} ${Bt}`,content:'""'},"&:hover, &-active, &-open":{background:Ti,"&::after":{borderBottomWidth:En,borderBottomColor:mi}},"&-selected":{color:mi,backgroundColor:si,"&:hover":{backgroundColor:si},"&::after":{borderBottomWidth:En,borderBottomColor:mi}}}}),[`&${Me}-root`]:{[`&${Me}-inline, &${Me}-vertical`]:{borderInlineEnd:`${Zn}px ${Ft} ${Tn}`}},[`&${Me}-inline`]:{[`${Me}-sub${Me}-inline`]:{background:An},[`${Me}-item, ${Me}-submenu-title`]:Zn&&Pn?{width:`calc(100% + ${Zn}px)`}:{},[`${Me}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Pn}px solid ${$e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ot} ${dn}`,`opacity ${Ot} ${dn}`].join(","),content:'""'},[`&${Me}-item-danger`]:{"&::after":{borderInlineEndColor:Nr}}},[`${Me}-selected, ${Me}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ot} ${Bt}`,`opacity ${Ot} ${Bt}`].join(",")}}}}}};const $t=pe=>{const{componentCls:Ee,itemHeight:Me,itemMarginInline:me,padding:$e,menuArrowSize:Pt,marginXS:an,itemMarginBlock:An}=pe,In=$e+Pt+an;return{[`${Ee}-item`]:{position:"relative",overflow:"hidden"},[`${Ee}-item, ${Ee}-submenu-title`]:{height:Me,lineHeight:`${Me}px`,paddingInline:$e,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:An,width:`calc(100% - ${me*2}px)`},[`> ${Ee}-item, > ${Ee}-submenu > ${Ee}-submenu-title`]:{height:Me,lineHeight:`${Me}px`},[`${Ee}-item-group-list ${Ee}-submenu-title, ${Ee}-submenu-title`]:{paddingInlineEnd:In}}};var _t=pe=>{const{componentCls:Ee,iconCls:Me,itemHeight:me,colorTextLightSolid:$e,dropdownWidth:Pt,controlHeightLG:an,motionDurationMid:An,motionEaseOut:In,paddingXL:En,itemMarginInline:Pn,fontSizeLG:Zn,motionDurationSlow:Cr,paddingXS:Bt,boxShadowSecondary:dn,collapsedWidth:_n,collapsedIconSize:Ot}=pe,nt={height:me,lineHeight:`${me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ee]:{"&-inline, &-vertical":Object.assign({[`&${Ee}-root`]:{boxShadow:"none"}},$t(pe))},[`${Ee}-submenu-popup`]:{[`${Ee}-vertical`]:Object.assign(Object.assign({},$t(pe)),{boxShadow:dn})}},{[`${Ee}-submenu-popup ${Ee}-vertical${Ee}-sub`]:{minWidth:Pt,maxHeight:`calc(100vh - ${an*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ee}-inline`]:{width:"100%",[`&${Ee}-root`]:{[`${Ee}-item, ${Ee}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Cr}`,`background ${Cr}`,`padding ${An} ${In}`].join(","),[`> ${Ee}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ee}-sub${Ee}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ee}-submenu > ${Ee}-submenu-title`]:nt,[`& ${Ee}-item-group-title`]:{paddingInlineStart:En}},[`${Ee}-item`]:nt}},{[`${Ee}-inline-collapsed`]:{width:_n,[`&${Ee}-root`]:{[`${Ee}-item, ${Ee}-submenu ${Ee}-submenu-title`]:{[`> ${Ee}-inline-collapsed-noicon`]:{fontSize:Zn,textAlign:"center"}}},[`> ${Ee}-item, > ${Ee}-item-group > ${Ee}-item-group-list > ${Ee}-item, > ${Ee}-item-group > ${Ee}-item-group-list > ${Ee}-submenu > ${Ee}-submenu-title, > ${Ee}-submenu > ${Ee}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Zn/2}px - ${Pn}px)`,textOverflow:"clip",[` ${Ee}-submenu-arrow, ${Ee}-submenu-expand-icon `]:{opacity:0},[`${Ee}-item-icon, ${Me}`]:{margin:0,fontSize:Ot,lineHeight:`${me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ee}-item-icon, ${Me}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ee}-item-icon, ${Me}`]:{display:"none"},"a, a:hover":{color:$e}},[`${Ee}-item-group-title`]:Object.assign(Object.assign({},Yt.vS),{paddingInline:Bt})}}]};const hn=pe=>{const{componentCls:Ee,motionDurationSlow:Me,motionDurationMid:me,motionEaseInOut:$e,motionEaseOut:Pt,iconCls:an,iconSize:An,iconMarginInlineEnd:In}=pe;return{[`${Ee}-item, ${Ee}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Me}`,`background ${Me}`,`padding ${Me} ${$e}`].join(","),[`${Ee}-item-icon, ${an}`]:{minWidth:An,fontSize:An,transition:[`font-size ${me} ${Pt}`,`margin ${Me} ${$e}`,`color ${Me}`].join(","),"+ span":{marginInlineStart:In,opacity:1,transition:[`opacity ${Me} ${$e}`,`margin ${Me}`,`color ${Me}`].join(",")}},[`${Ee}-item-icon`]:Object.assign({},(0,Yt.Ro)()),[`&${Ee}-item-only-child`]:{[`> ${an}, > ${Ee}-item-icon`]:{marginInlineEnd:0}}},[`${Ee}-item-disabled, ${Ee}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ee}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Jn=pe=>{const{componentCls:Ee,motionDurationSlow:Me,motionEaseInOut:me,borderRadius:$e,menuArrowSize:Pt,menuArrowOffset:an}=pe;return{[`${Ee}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:pe.margin,width:Pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Me} ${me}, opacity ${Me}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Pt*.6,height:Pt*.15,backgroundColor:"currentcolor",borderRadius:$e,transition:[`background ${Me} ${me}`,`transform ${Me} ${me}`,`top ${Me} ${me}`,`color ${Me} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${an})`},"&::after":{transform:`rotate(-45deg) translateY(${an})`}}}}},Kn=pe=>{const{antCls:Ee,componentCls:Me,fontSize:me,motionDurationSlow:$e,motionDurationMid:Pt,motionEaseInOut:an,paddingXS:An,padding:In,colorSplit:En,lineWidth:Pn,zIndexPopup:Zn,borderRadiusLG:Cr,subMenuItemBorderRadius:Bt,menuArrowSize:dn,menuArrowOffset:_n,lineType:Ot,menuPanelMaskInset:nt,groupTitleLineHeight:Ft,groupTitleFontSize:Tn}=pe;return[{"":{[`${Me}`]:Object.assign(Object.assign({},(0,Yt.dF)()),{"&-hidden":{display:"none"}})},[`${Me}-submenu-hidden`]:{display:"none"}},{[Me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Yt.Wf)(pe)),(0,Yt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${$e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Me}-item`]:{flex:"none"}},[`${Me}-item, ${Me}-submenu, ${Me}-submenu-title`]:{borderRadius:pe.itemBorderRadius},[`${Me}-item-group-title`]:{padding:`${An}px ${In}px`,fontSize:Tn,lineHeight:Ft,transition:`all ${$e}`},[`&-horizontal ${Me}-submenu`]:{transition:[`border-color ${$e} ${an}`,`background ${$e} ${an}`].join(",")},[`${Me}-submenu, ${Me}-submenu-inline`]:{transition:[`border-color ${$e} ${an}`,`background ${$e} ${an}`,`padding ${Pt} ${an}`].join(",")},[`${Me}-submenu ${Me}-sub`]:{cursor:"initial",transition:[`background ${$e} ${an}`,`padding ${$e} ${an}`].join(",")},[`${Me}-title-content`]:{transition:`color ${$e}`},[`${Me}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Me}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:En,borderStyle:Ot,borderWidth:0,borderTopWidth:Pn,marginBlock:Pn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),hn(pe)),{[`${Me}-item-group`]:{[`${Me}-item-group-list`]:{margin:0,padding:0,[`${Me}-item, ${Me}-submenu-title`]:{paddingInline:`${me*2}px ${In}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Zn,borderRadius:Cr,boxShadow:"none",transformOrigin:"0 0",[`&${Me}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${nt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:nt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:pe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:pe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:pe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:pe.paddingXS},[`> ${Me}`]:Object.assign(Object.assign(Object.assign({borderRadius:Cr},hn(pe)),Jn(pe)),{[`${Me}-item, ${Me}-submenu > ${Me}-submenu-title`]:{borderRadius:Bt},[`${Me}-submenu-title::after`]:{transition:`transform ${$e} ${an}`}})}}),Jn(pe)),{[`&-inline-collapsed ${Me}-submenu-arrow, &-inline ${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${_n})`},"&::after":{transform:`rotate(45deg) translateX(-${_n})`}},[`${Me}-submenu-open${Me}-submenu-inline > ${Me}-submenu-title > ${Me}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${_n})`},"&::before":{transform:`rotate(45deg) translateX(${_n})`}}})},{[`${Ee}-layout-header`]:{[Me]:{lineHeight:"inherit"}}}]};var Ar=(pe,Ee)=>(0,un.Z)("Menu",me=>{if(Ee===!1)return[];const{colorBgElevated:$e,colorPrimary:Pt,colorTextLightSolid:an,controlHeightLG:An,fontSize:In,darkItemColor:En,darkDangerItemColor:Pn,darkItemBg:Zn,darkSubMenuItemBg:Cr,darkItemSelectedColor:Bt,darkItemSelectedBg:dn,darkDangerItemSelectedBg:_n,darkItemHoverBg:Ot,darkGroupTitleColor:nt,darkItemHoverColor:Ft,darkItemDisabledColor:Tn,darkDangerItemHoverColor:Vn,darkDangerItemSelectedColor:tr,darkDangerItemActiveBg:jr}=me,Nr=In/7*5,Kr=(0,Ln.TS)(me,{menuArrowSize:Nr,menuHorizontalHeight:An*1.15,menuArrowOffset:`${Nr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:$e}),kr=(0,Ln.TS)(Kr,{itemColor:En,itemHoverColor:Ft,groupTitleColor:nt,itemSelectedColor:Bt,itemBg:Zn,popupBg:Zn,subMenuItemBg:Cr,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ot,itemDisabledColor:Tn,dangerItemColor:Pn,dangerItemHoverColor:Vn,dangerItemSelectedColor:tr,dangerItemActiveBg:jr,dangerItemSelectedBg:_n,menuSubMenuBg:Cr,horizontalItemSelectedColor:an,horizontalItemSelectedBg:Pt});return[Kn(Kr),nn(Kr),_t(Kr),sn(Kr,"light"),sn(kr,"dark"),Ge(Kr),(0,Tt.Z)(Kr),(0,Xt.oN)(Kr,"slide-up"),(0,Xt.oN)(Kr,"slide-down"),(0,bt._y)(Kr,"zoom-big")]},me=>{const{colorPrimary:$e,colorError:Pt,colorTextDisabled:an,colorErrorBg:An,colorText:In,colorTextDescription:En,colorBgContainer:Pn,colorFillAlter:Zn,colorFillContent:Cr,lineWidth:Bt,lineWidthBold:dn,controlItemBgActive:_n,colorBgTextHover:Ot,controlHeightLG:nt,lineHeight:Ft,colorBgElevated:Tn,marginXXS:Vn,padding:tr,fontSize:jr,controlHeightSM:Nr,fontSizeLG:Kr,colorTextLightSolid:kr,colorErrorHover:dr}=me,pr=new mt.C(kr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:In,itemColor:In,colorItemTextHover:In,itemHoverColor:In,colorItemTextHoverHorizontal:$e,horizontalItemHoverColor:$e,colorGroupTitle:En,groupTitleColor:En,colorItemTextSelected:$e,itemSelectedColor:$e,colorItemTextSelectedHorizontal:$e,horizontalItemSelectedColor:$e,colorItemBg:Pn,itemBg:Pn,colorItemBgHover:Ot,itemHoverBg:Ot,colorItemBgActive:Cr,itemActiveBg:_n,colorSubItemBg:Zn,subMenuItemBg:Zn,colorItemBgSelected:_n,itemSelectedBg:_n,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:Bt,activeBarBorderWidth:Bt,colorItemTextDisabled:an,itemDisabledColor:an,colorDangerItemText:Pt,dangerItemColor:Pt,colorDangerItemTextHover:Pt,dangerItemHoverColor:Pt,colorDangerItemTextSelected:Pt,dangerItemSelectedColor:Pt,colorDangerItemBgActive:An,dangerItemActiveBg:An,colorDangerItemBgSelected:An,dangerItemSelectedBg:An,itemMarginInline:me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:nt,groupTitleLineHeight:Ft,collapsedWidth:nt*2,popupBg:Tn,itemMarginBlock:Vn,itemPaddingInline:tr,horizontalLineHeight:`${nt*1.15}px`,iconSize:jr,iconMarginInlineEnd:Nr-jr,collapsedIconSize:Kr,groupTitleFontSize:jr,darkItemDisabledColor:new mt.C(kr).setAlpha(.25).toRgbString(),darkItemColor:pr,darkDangerItemColor:Pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:kr,darkItemSelectedBg:$e,darkDangerItemSelectedBg:Pt,darkItemHoverBg:"transparent",darkGroupTitleColor:pr,darkItemHoverColor:kr,darkDangerItemHoverColor:dr,darkDangerItemSelectedColor:kr,darkDangerItemActiveBg:Pt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(pe),ln=function(pe,Ee){var Me={};for(var me in pe)Object.prototype.hasOwnProperty.call(pe,me)&&Ee.indexOf(me)<0&&(Me[me]=pe[me]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,me=Object.getOwnPropertySymbols(pe);$e{var Me,me;const $e=Lt.useContext(ze.Z),Pt=$e||{},{getPrefixCls:an,getPopupContainer:An,direction:In,menu:En}=Lt.useContext(lt.E_),Pn=an(),{prefixCls:Zn,className:Cr,style:Bt,theme:dn="light",expandIcon:_n,_internalDisableMenuItemTitleTooltip:Ot,inlineCollapsed:nt,siderCollapsed:Ft,items:Tn,children:Vn,rootClassName:tr,mode:jr,selectable:Nr,onClick:Kr,overflowedIndicatorPopupClassName:kr}=pe,dr=ln(pe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),pr=(0,Xe.Z)(dr,["collapsedWidth"]),zr=jt(Tn)||Vn;(Me=Pt.validator)===null||Me===void 0||Me.call(Pt,{mode:jr});const mi=(0,St.useEvent)(function(){var Bi;Kr==null||Kr.apply(void 0,arguments),(Bi=Pt.onClick)===null||Bi===void 0||Bi.call(Pt)}),si=Pt.mode||jr,xa=Nr!=null?Nr:Pt.selectable,Ti=Lt.useMemo(()=>Ft!==void 0?Ft:nt,[nt,Ft]),Wi={horizontal:{motionName:`${Pn}-slide-up`},inline:(0,rt.Z)(Pn),other:{motionName:`${Pn}-zoom-big`}},Wr=an("menu",Zn||Pt.prefixCls),[Fa,Oi]=Ar(Wr,!$e),Yi=We()(`${Wr}-${dn}`,En==null?void 0:En.className,Cr);let Da;if(typeof _n=="function")Da=_n;else if(_n===null||_n===!1)Da=null;else if(Pt.expandIcon===null||Pt.expandIcon===!1)Da=null;else{const Bi=_n!=null?_n:Pt.expandIcon;Da=(0,Qe.Tm)(Bi,{className:We()(`${Wr}-submenu-expand-icon`,(0,Qe.l$)(Bi)?(me=Bi.props)===null||me===void 0?void 0:me.className:"")})}const Qi=Lt.useMemo(()=>({prefixCls:Wr,inlineCollapsed:Ti||!1,direction:In,firstLevel:!0,theme:dn,mode:si,disableMenuItemTitleTooltip:Ot}),[Wr,Ti,In,Ot,dn]);return Fa(Lt.createElement(ze.Z.Provider,{value:null},Lt.createElement(qe.Provider,{value:Qi},Lt.createElement(ge.ZP,Object.assign({getPopupContainer:An,overflowedIndicator:Lt.createElement(pt.Z,null),overflowedIndicatorPopupClassName:We()(Wr,`${Wr}-${dn}`,kr),mode:si,selectable:xa,onClick:mi},pr,{inlineCollapsed:Ti,style:Object.assign(Object.assign({},En==null?void 0:En.style),Bt),className:Yi,prefixCls:Wr,direction:In,defaultMotions:Wi,expandIcon:Da,ref:Ee,rootClassName:We()(tr,Oi)}),zr))))});const Ue=(0,Lt.forwardRef)((pe,Ee)=>{const Me=(0,Lt.useRef)(null),me=Lt.useContext(ut.D);return(0,Lt.useImperativeHandle)(Ee,()=>({menu:Me.current,focus:$e=>{var Pt;(Pt=Me.current)===null||Pt===void 0||Pt.focus($e)}})),Lt.createElement(vn,Object.assign({ref:Me},pe,me))});Ue.Item=st,Ue.SubMenu=Qt,Ue.Divider=_e,Ue.ItemGroup=ge.BW;var we=Ue},39722:function(lr,Yn,be){"use strict";be.d(Yn,{t5:function(){return xe}});var ge=be(92310),Lt=be.n(ge),ut=be(55477),zt=be(59301),We=be(36355),lt=be(77578),vt=be(17356),ke=function(De,Qe){var ot={};for(var qe in De)Object.prototype.hasOwnProperty.call(De,qe)&&Qe.indexOf(qe)<0&&(ot[qe]=De[qe]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,qe=Object.getOwnPropertySymbols(De);it{if(!(!Qe&&!ot))return zt.createElement(zt.Fragment,null,Qe&&zt.createElement("div",{className:`${De}-title`},(0,lt.Z)(Qe)),zt.createElement("div",{className:`${De}-inner-content`},(0,lt.Z)(ot)))},xe=De=>{const{hashId:Qe,prefixCls:ot,className:qe,style:it,placement:st="top",title:At,content:Qt,children:pt}=De;return zt.createElement("div",{className:Lt()(Qe,ot,`${ot}-pure`,`${ot}-placement-${st}`,qe),style:it},zt.createElement("div",{className:`${ot}-arrow`}),zt.createElement(ut.G,Object.assign({},De,{className:Qe,prefixCls:ot}),pt||_e(ot,At,Qt)))},Xe=De=>{const{prefixCls:Qe}=De,ot=ke(De,["prefixCls"]),{getPrefixCls:qe}=zt.useContext(We.E_),it=qe("popover",Qe),[st,At]=(0,vt.Z)(it);return st(zt.createElement(xe,Object.assign({},ot,{prefixCls:it,hashId:At})))};Yn.ZP=Xe},60324:function(lr,Yn,be){"use strict";var ge=be(92310),Lt=be.n(ge),ut=be(59301),zt=be(77578),We=be(62892),lt=be(36355),vt=be(6848),ke=be(39722),_e=be(17356),xe=function(Qe,ot){var qe={};for(var it in Qe)Object.prototype.hasOwnProperty.call(Qe,it)&&ot.indexOf(it)<0&&(qe[it]=Qe[it]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,it=Object.getOwnPropertySymbols(Qe);st{let{title:ot,content:qe,prefixCls:it}=Qe;return ut.createElement(ut.Fragment,null,ot&&ut.createElement("div",{className:`${it}-title`},(0,zt.Z)(ot)),ut.createElement("div",{className:`${it}-inner-content`},(0,zt.Z)(qe)))},De=ut.forwardRef((Qe,ot)=>{const{prefixCls:qe,title:it,content:st,overlayClassName:At,placement:Qt="top",trigger:pt="hover",mouseEnterDelay:St=.1,mouseLeaveDelay:rt=.1,overlayStyle:ze={}}=Qe,gt=xe(Qe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Et}=ut.useContext(lt.E_),jt=Et("popover",qe),[mt,Yt]=(0,_e.Z)(jt),Tt=Et(),Xt=Lt()(At,Yt);return mt(ut.createElement(vt.Z,Object.assign({placement:Qt,trigger:pt,mouseEnterDelay:St,mouseLeaveDelay:rt,overlayStyle:ze},gt,{prefixCls:jt,overlayClassName:Xt,ref:ot,overlay:it||st?ut.createElement(Xe,{prefixCls:jt,title:it,content:st}):null,transitionName:(0,We.m)(Tt,"zoom-big",gt.transitionName),"data-popover-inject":!0})))});De._InternalPanelDoNotUseOrYouWillBeFired=ke.ZP,Yn.Z=De},17356:function(lr,Yn,be){"use strict";var ge=be(17313),Lt=be(29878),ut=be(19447),zt=be(33166),We=be(83116),lt=be(37613);const vt=xe=>{const{componentCls:Xe,popoverColor:De,minWidth:Qe,fontWeightStrong:ot,popoverPadding:qe,boxShadowSecondary:it,colorTextHeading:st,borderRadiusLG:At,zIndexPopup:Qt,marginXS:pt,colorBgElevated:St,popoverBg:rt}=xe;return[{[Xe]:Object.assign(Object.assign({},(0,ge.Wf)(xe)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:Qt,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":St,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Xe}-content`]:{position:"relative"},[`${Xe}-inner`]:{backgroundColor:rt,backgroundClip:"padding-box",borderRadius:At,boxShadow:it,padding:qe},[`${Xe}-title`]:{minWidth:Qe,marginBottom:pt,color:st,fontWeight:ot},[`${Xe}-inner-content`]:{color:De}})},(0,ut.ZP)(xe,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Xe}-pure`]:{position:"relative",maxWidth:"none",margin:xe.sizePopupArrow,display:"inline-block",[`${Xe}-content`]:{display:"inline-block"}}}]},ke=xe=>{const{componentCls:Xe}=xe;return{[Xe]:zt.i.map(De=>{const Qe=xe[`${De}6`];return{[`&${Xe}-${De}`]:{"--antd-arrow-background-color":Qe,[`${Xe}-inner`]:{backgroundColor:Qe},[`${Xe}-arrow`]:{background:"transparent"}}}})}},_e=xe=>{const{componentCls:Xe,lineWidth:De,lineType:Qe,colorSplit:ot,paddingSM:qe,controlHeight:it,fontSize:st,lineHeight:At,padding:Qt}=xe,pt=it-Math.round(st*At),St=pt/2,rt=pt/2-De,ze=Qt;return{[Xe]:{[`${Xe}-inner`]:{padding:0},[`${Xe}-title`]:{margin:0,padding:`${St}px ${ze}px ${rt}px`,borderBottom:`${De}px ${Qe} ${ot}`},[`${Xe}-inner-content`]:{padding:`${qe}px ${ze}px`}}}};Yn.Z=(0,We.Z)("Popover",xe=>{const{colorBgElevated:Xe,colorText:De,wireframe:Qe}=xe,ot=(0,lt.TS)(xe,{popoverPadding:12,popoverBg:Xe,popoverColor:De});return[vt(ot),ke(ot),Qe&&_e(ot),(0,Lt._y)(ot,"zoom-big")]},xe=>({width:177,minWidth:177,zIndexPopup:xe.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Ot}});var ge=be(59301),Lt=be(29679),ut=be(40001),zt=be(19248),We=be(99267),lt=be(92310),vt=be.n(lt),ke=be(2738),_e=be(36355),xe=be(60499),Xe=be(85899),De=be(42244),Qe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ot=function(){var Ft=(0,ge.useRef)([]),Tn=(0,ge.useRef)(null);return(0,ge.useEffect)(function(){var Vn=Date.now(),tr=!1;Ft.current.forEach(function(jr){if(jr){tr=!0;var Nr=jr.style;Nr.transitionDuration=".3s, .3s, .3s, .06s",Tn.current&&Vn-Tn.current<100&&(Nr.transitionDuration="0s, 0s")}}),tr&&(Tn.current=Date.now())}),Ft.current},qe=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],it=function(Ft){var Tn=(0,Xe.Z)((0,Xe.Z)({},Qe),Ft),Vn=Tn.className,tr=Tn.percent,jr=Tn.prefixCls,Nr=Tn.strokeColor,Kr=Tn.strokeLinecap,kr=Tn.strokeWidth,dr=Tn.style,pr=Tn.trailColor,zr=Tn.trailWidth,mi=Tn.transition,si=(0,De.Z)(Tn,qe);delete si.gapPosition;var xa=Array.isArray(tr)?tr:[tr],Ti=Array.isArray(Nr)?Nr:[Nr],Wi=ot(),Wr=kr/2,Fa=100-kr/2,Oi="M ".concat(Kr==="round"?Wr:0,",").concat(Wr,` L `).concat(Kr==="round"?Fa:100,",").concat(Wr),Yi="0 0 100 ".concat(kr),Da=0;return ge.createElement("svg",(0,xe.Z)({className:vt()("".concat(jr,"-line"),Vn),viewBox:Yi,preserveAspectRatio:"none",style:dr},si),ge.createElement("path",{className:"".concat(jr,"-line-trail"),d:Oi,strokeLinecap:Kr,stroke:pr,strokeWidth:zr||kr,fillOpacity:"0"}),xa.map(function(Qi,Bi){var Hi=1;switch(Kr){case"round":Hi=1-kr/100;break;case"square":Hi=1-kr/2/100;break;default:Hi=1;break}var ci={strokeDasharray:"".concat(Qi*Hi,"px, 100px"),strokeDashoffset:"-".concat(Da,"px"),transition:mi||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Vr=Ti[Bi]||Ti[Ti.length-1];return Da+=Qi,ge.createElement("path",{key:Bi,className:"".concat(jr,"-line-path"),d:Oi,strokeLinecap:Kr,stroke:Vr,strokeWidth:kr,fillOpacity:"0",ref:function(cn){Wi[Bi]=cn},style:ci})}))},st=it,At=be(43749),Qt=be(72190),pt=be(47273),St=0,rt=(0,pt.Z)();function ze(){var nt;return rt?(nt=St,St+=1):nt="TEST_OR_SSR",nt}var gt=function(nt){var Ft=ge.useState(),Tn=(0,Qt.Z)(Ft,2),Vn=Tn[0],tr=Tn[1];return ge.useEffect(function(){tr("rc_progress_".concat(ze()))},[]),nt||Vn},Et=function(Ft){var Tn=Ft.bg,Vn=Ft.children;return ge.createElement("div",{style:{width:"100%",height:"100%",background:Tn}},Vn)};function jt(nt,Ft){return Object.keys(nt).map(function(Tn){var Vn=parseFloat(Tn),tr="".concat(Math.floor(Vn*Ft),"%");return"".concat(nt[Tn]," ").concat(tr)})}var mt=ge.forwardRef(function(nt,Ft){var Tn=nt.prefixCls,Vn=nt.color,tr=nt.gradientId,jr=nt.radius,Nr=nt.style,Kr=nt.ptg,kr=nt.strokeLinecap,dr=nt.strokeWidth,pr=nt.size,zr=nt.gapDegree,mi=Vn&&(0,At.Z)(Vn)==="object",si=mi?"#FFF":void 0,xa=pr/2,Ti=ge.createElement("circle",{className:"".concat(Tn,"-circle-path"),r:jr,cx:xa,cy:xa,stroke:si,strokeLinecap:kr,strokeWidth:dr,opacity:Kr===0?0:1,style:Nr,ref:Ft});if(!mi)return Ti;var Wi="".concat(tr,"-conic"),Wr=zr?"".concat(180+zr/2,"deg"):"0deg",Fa=jt(Vn,(360-zr)/360),Oi=jt(Vn,1),Yi="conic-gradient(from ".concat(Wr,", ").concat(Fa.join(", "),")"),Da="linear-gradient(to ".concat(zr?"bottom":"top",", ").concat(Oi.join(", "),")");return ge.createElement(ge.Fragment,null,ge.createElement("mask",{id:Wi},Ti),ge.createElement("foreignObject",{x:0,y:0,width:pr,height:pr,mask:"url(#".concat(Wi,")")},ge.createElement(Et,{bg:Da},ge.createElement(Et,{bg:Yi}))))}),Yt=mt,Tt=100,Xt=function(Ft,Tn,Vn,tr,jr,Nr,Kr,kr,dr,pr){var zr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,mi=Vn/100*360*((360-Nr)/360),si=Nr===0?0:{bottom:0,top:180,left:90,right:-90}[Kr],xa=(100-tr)/100*Tn;dr==="round"&&tr!==100&&(xa+=pr/2,xa>=Tn&&(xa=Tn-.01));var Ti=Tt/2;return{stroke:typeof kr=="string"?kr:void 0,strokeDasharray:"".concat(Tn,"px ").concat(Ft),strokeDashoffset:xa+zr,transform:"rotate(".concat(jr+mi+si,"deg)"),transformOrigin:"".concat(Ti,"px ").concat(Ti,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},bt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function un(nt){var Ft=nt!=null?nt:[];return Array.isArray(Ft)?Ft:[Ft]}var Ln=function(Ft){var Tn=(0,Xe.Z)((0,Xe.Z)({},Qe),Ft),Vn=Tn.id,tr=Tn.prefixCls,jr=Tn.steps,Nr=Tn.strokeWidth,Kr=Tn.trailWidth,kr=Tn.gapDegree,dr=kr===void 0?0:kr,pr=Tn.gapPosition,zr=Tn.trailColor,mi=Tn.strokeLinecap,si=Tn.style,xa=Tn.className,Ti=Tn.strokeColor,Wi=Tn.percent,Wr=(0,De.Z)(Tn,bt),Fa=Tt/2,Oi=gt(Vn),Yi="".concat(Oi,"-gradient"),Da=Fa-Nr/2,Qi=Math.PI*2*Da,Bi=dr>0?90+dr/2:-90,Hi=Qi*((360-dr)/360),ci=(0,At.Z)(jr)==="object"?jr:{count:jr,space:2},Vr=ci.count,ia=ci.space,cn=un(Wi),tt=un(Ti),yt=tt.find(function(jn){return jn&&(0,At.Z)(jn)==="object"}),ht=yt&&(0,At.Z)(yt)==="object",dt=ht?"butt":mi,xt=Xt(Qi,Hi,0,100,Bi,dr,pr,zr,dt,Nr),Gt=ot(),Fn=function(){var or=0;return cn.map(function(Sr,Pr){var Qn=tt[Pr]||tt[tt.length-1],mr=Xt(Qi,Hi,or,Sr,Bi,dr,pr,Qn,dt,Nr);return or+=Sr,ge.createElement(Yt,{key:Pr,color:Qn,ptg:Sr,radius:Da,prefixCls:tr,gradientId:Yi,style:mr,strokeLinecap:dt,strokeWidth:Nr,gapDegree:dr,ref:function(qr){Gt[Pr]=qr},size:Tt})}).reverse()},Mn=function(){var or=Math.round(Vr*(cn[0]/100)),Sr=100/Vr,Pr=0;return new Array(Vr).fill(null).map(function(Qn,mr){var vi=mr<=or-1?tt[0]:zr,qr=vi&&(0,At.Z)(vi)==="object"?"url(#".concat(Yi,")"):void 0,Mi=Xt(Qi,Hi,Pr,Sr,Bi,dr,pr,vi,"butt",Nr,ia);return Pr+=(Hi-Mi.strokeDashoffset+ia)*100/Hi,ge.createElement("circle",{key:mr,className:"".concat(tr,"-circle-path"),r:Da,cx:Fa,cy:Fa,stroke:qr,strokeWidth:Nr,opacity:1,style:Mi,ref:function(Xi){Gt[mr]=Xi}})})};return ge.createElement("svg",(0,xe.Z)({className:vt()("".concat(tr,"-circle"),xa),viewBox:"0 0 ".concat(Tt," ").concat(Tt),style:si,id:Vn,role:"presentation"},Wr),!Vr&&ge.createElement("circle",{className:"".concat(tr,"-circle-trail"),r:Da,cx:Fa,cy:Fa,stroke:zr,strokeLinecap:dt,strokeWidth:Kr||Nr,style:xt}),Vr?Mn():Fn())},Vt=Ln,nn={Line:st,Circle:Vt},Kt=be(6848),Ge=be(30071);function Fe(nt){return!nt||nt<0?0:nt>100?100:nt}function ft(nt){let{success:Ft,successPercent:Tn}=nt,Vn=Tn;return Ft&&"progress"in Ft&&(Vn=Ft.progress),Ft&&"percent"in Ft&&(Vn=Ft.percent),Vn}const sn=nt=>{let{percent:Ft,success:Tn,successPercent:Vn}=nt;const tr=Fe(ft({success:Tn,successPercent:Vn}));return[tr,Fe(Fe(Ft)-tr)]},$t=nt=>{let{success:Ft={},strokeColor:Tn}=nt;const{strokeColor:Vn}=Ft;return[Vn||Ge.presetPrimaryColors.green,Tn||null]},Mt=(nt,Ft,Tn)=>{var Vn,tr,jr,Nr;let Kr=-1,kr=-1;if(Ft==="step"){const dr=Tn.steps,pr=Tn.strokeWidth;typeof nt=="string"||typeof nt=="undefined"?(Kr=nt==="small"?2:14,kr=pr!=null?pr:8):typeof nt=="number"?[Kr,kr]=[nt,nt]:[Kr=14,kr=8]=nt,Kr*=dr}else if(Ft==="line"){const dr=Tn==null?void 0:Tn.strokeWidth;typeof nt=="string"||typeof nt=="undefined"?kr=dr||(nt==="small"?6:8):typeof nt=="number"?[Kr,kr]=[nt,nt]:[Kr=-1,kr=8]=nt}else(Ft==="circle"||Ft==="dashboard")&&(typeof nt=="string"||typeof nt=="undefined"?[Kr,kr]=nt==="small"?[60,60]:[120,120]:typeof nt=="number"?[Kr,kr]=[nt,nt]:(Kr=(tr=(Vn=nt[0])!==null&&Vn!==void 0?Vn:nt[1])!==null&&tr!==void 0?tr:120,kr=(Nr=(jr=nt[0])!==null&&jr!==void 0?jr:nt[1])!==null&&Nr!==void 0?Nr:120));return[Kr,kr]},_t=3,hn=nt=>_t/nt*100;var Kn=nt=>{const{prefixCls:Ft,trailColor:Tn=null,strokeLinecap:Vn="round",gapPosition:tr,gapDegree:jr,width:Nr=120,type:Kr,children:kr,success:dr,size:pr=Nr}=nt,[zr,mi]=Mt(pr,"circle");let{strokeWidth:si}=nt;si===void 0&&(si=Math.max(hn(zr),6));const xa={width:zr,height:mi,fontSize:zr*.15+6},Ti=ge.useMemo(()=>{if(jr||jr===0)return jr;if(Kr==="dashboard")return 75},[jr,Kr]),Wi=tr||Kr==="dashboard"&&"bottom"||void 0,Wr=Object.prototype.toString.call(nt.strokeColor)==="[object Object]",Fa=$t({success:dr,strokeColor:nt.strokeColor}),Oi=vt()(`${Ft}-inner`,{[`${Ft}-circle-gradient`]:Wr}),Yi=ge.createElement(Vt,{percent:sn(nt),strokeWidth:si,trailWidth:si,strokeColor:Fa,strokeLinecap:Vn,trailColor:Tn,prefixCls:Ft,gapDegree:Ti,gapPosition:Wi});return ge.createElement("div",{className:Oi,style:xa},zr<=20?ge.createElement(Kt.Z,{title:kr},ge.createElement("span",null,Yi)):ge.createElement(ge.Fragment,null,Yi,kr))},Ar=function(nt,Ft){var Tn={};for(var Vn in nt)Object.prototype.hasOwnProperty.call(nt,Vn)&&Ft.indexOf(Vn)<0&&(Tn[Vn]=nt[Vn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tr=0,Vn=Object.getOwnPropertySymbols(nt);tr{let Ft=[];return Object.keys(nt).forEach(Tn=>{const Vn=parseFloat(Tn.replace(/%/g,""));isNaN(Vn)||Ft.push({key:Vn,value:nt[Tn]})}),Ft=Ft.sort((Tn,Vn)=>Tn.key-Vn.key),Ft.map(Tn=>{let{key:Vn,value:tr}=Tn;return`${tr} ${Vn}%`}).join(", ")},on=(nt,Ft)=>{const{from:Tn=Ge.presetPrimaryColors.blue,to:Vn=Ge.presetPrimaryColors.blue,direction:tr=Ft==="rtl"?"to left":"to right"}=nt,jr=Ar(nt,["from","to","direction"]);if(Object.keys(jr).length!==0){const Nr=ln(jr);return{backgroundImage:`linear-gradient(${tr}, ${Nr})`}}return{backgroundImage:`linear-gradient(${tr}, ${Tn}, ${Vn})`}};var Ue=nt=>{const{prefixCls:Ft,direction:Tn,percent:Vn,size:tr,strokeWidth:jr,strokeColor:Nr,strokeLinecap:Kr="round",children:kr,trailColor:dr=null,success:pr}=nt,zr=Nr&&typeof Nr!="string"?on(Nr,Tn):{backgroundColor:Nr},mi=Kr==="square"||Kr==="butt"?0:void 0,si={backgroundColor:dr||void 0,borderRadius:mi},xa=tr!=null?tr:[-1,jr||(tr==="small"?6:8)],[Ti,Wi]=Mt(xa,"line",{strokeWidth:jr}),Wr=Object.assign({width:`${Fe(Vn)}%`,height:Wi,borderRadius:mi},zr),Fa=ft(nt),Oi={width:`${Fe(Fa)}%`,height:Wi,borderRadius:mi,backgroundColor:pr==null?void 0:pr.strokeColor},Yi={width:Ti<0?"100%":Ti,height:Wi};return ge.createElement(ge.Fragment,null,ge.createElement("div",{className:`${Ft}-outer`,style:Yi},ge.createElement("div",{className:`${Ft}-inner`,style:si},ge.createElement("div",{className:`${Ft}-bg`,style:Wr}),Fa!==void 0?ge.createElement("div",{className:`${Ft}-success-bg`,style:Oi}):null)),kr)},pe=nt=>{const{size:Ft,steps:Tn,percent:Vn=0,strokeWidth:tr=8,strokeColor:jr,trailColor:Nr=null,prefixCls:Kr,children:kr}=nt,dr=Math.round(Tn*(Vn/100)),pr=Ft==="small"?2:14,zr=Ft!=null?Ft:[pr,tr],[mi,si]=Mt(zr,"step",{steps:Tn,strokeWidth:tr}),xa=mi/Tn,Ti=new Array(Tn);for(let Wi=0;Wi{const Ft=nt?"100%":"-100%";return new Ee.Keyframes(`antProgress${nt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},an=nt=>{const{componentCls:Ft,iconCls:Tn}=nt;return{[Ft]:Object.assign(Object.assign({},(0,Me.Wf)(nt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:nt.fontSize,marginInlineEnd:nt.marginXS,marginBottom:nt.marginXS},[`${Ft}-outer`]:{display:"inline-block",width:"100%"},[`&${Ft}-show-info`]:{[`${Ft}-outer`]:{marginInlineEnd:`calc(-2em - ${nt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${nt.paddingXS}px)`}},[`${Ft}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:nt.remainingColor,borderRadius:nt.lineBorderRadius},[`${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:nt.defaultColor}},[`${Ft}-success-bg, ${Ft}-bg`]:{position:"relative",backgroundColor:nt.defaultColor,borderRadius:nt.lineBorderRadius,transition:`all ${nt.motionDurationSlow} ${nt.motionEaseInOutCirc}`},[`${Ft}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:nt.colorSuccess},[`${Ft}-text`]:{display:"inline-block",width:"2em",marginInlineStart:nt.marginXS,color:nt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Tn]:{fontSize:nt.fontSize}},[`&${Ft}-status-active`]:{[`${Ft}-bg::before`]:{position:"absolute",inset:0,backgroundColor:nt.colorBgContainer,borderRadius:nt.lineBorderRadius,opacity:0,animationName:Pt(),animationDuration:nt.progressActiveMotionDuration,animationTimingFunction:nt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ft}-rtl${Ft}-status-active`]:{[`${Ft}-bg::before`]:{animationName:Pt(!0)}},[`&${Ft}-status-exception`]:{[`${Ft}-bg`]:{backgroundColor:nt.colorError},[`${Ft}-text`]:{color:nt.colorError}},[`&${Ft}-status-exception ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:nt.colorError}},[`&${Ft}-status-success`]:{[`${Ft}-bg`]:{backgroundColor:nt.colorSuccess},[`${Ft}-text`]:{color:nt.colorSuccess}},[`&${Ft}-status-success ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:nt.colorSuccess}}})}},An=nt=>{const{componentCls:Ft,iconCls:Tn}=nt;return{[Ft]:{[`${Ft}-circle-trail`]:{stroke:nt.remainingColor},[`&${Ft}-circle ${Ft}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ft}-circle ${Ft}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:nt.circleTextColor,fontSize:nt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Tn]:{fontSize:`${nt.fontSize/nt.fontSizeSM}em`}},[`${Ft}-circle&-status-exception`]:{[`${Ft}-text`]:{color:nt.colorError}},[`${Ft}-circle&-status-success`]:{[`${Ft}-text`]:{color:nt.colorSuccess}}},[`${Ft}-inline-circle`]:{lineHeight:1,[`${Ft}-inner`]:{verticalAlign:"bottom"}}}},In=nt=>{const{componentCls:Ft}=nt;return{[Ft]:{[`${Ft}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:nt.progressStepMinWidth,marginInlineEnd:nt.progressStepMarginInlineEnd,backgroundColor:nt.remainingColor,transition:`all ${nt.motionDurationSlow}`,"&-active":{backgroundColor:nt.defaultColor}}}}}},En=nt=>{const{componentCls:Ft,iconCls:Tn}=nt;return{[Ft]:{[`${Ft}-small&-line, ${Ft}-small&-line ${Ft}-text ${Tn}`]:{fontSize:nt.fontSizeSM}}}};var Pn=(0,me.Z)("Progress",nt=>{const Ft=nt.marginXXS/2,Tn=(0,$e.TS)(nt,{progressStepMarginInlineEnd:Ft,progressStepMinWidth:Ft,progressActiveMotionDuration:"2.4s"});return[an(Tn),An(Tn),In(Tn),En(Tn)]},nt=>({circleTextColor:nt.colorText,defaultColor:nt.colorInfo,remainingColor:nt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Zn=function(nt,Ft){var Tn={};for(var Vn in nt)Object.prototype.hasOwnProperty.call(nt,Vn)&&Ft.indexOf(Vn)<0&&(Tn[Vn]=nt[Vn]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tr=0,Vn=Object.getOwnPropertySymbols(nt);tr{const{prefixCls:Tn,className:Vn,rootClassName:tr,steps:jr,strokeColor:Nr,percent:Kr=0,size:kr="default",showInfo:dr=!0,type:pr="line",status:zr,format:mi,style:si}=nt,xa=Zn(nt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ti=ge.useMemo(()=>{var cn,tt;const yt=ft(nt);return parseInt(yt!==void 0?(cn=yt!=null?yt:0)===null||cn===void 0?void 0:cn.toString():(tt=Kr!=null?Kr:0)===null||tt===void 0?void 0:tt.toString(),10)},[Kr,nt.success,nt.successPercent]),Wi=ge.useMemo(()=>!Bt.includes(zr)&&Ti>=100?"success":zr||"normal",[zr,Ti]),{getPrefixCls:Wr,direction:Fa,progress:Oi}=ge.useContext(_e.E_),Yi=Wr("progress",Tn),[Da,Qi]=Pn(Yi),Bi=ge.useMemo(()=>{if(!dr)return null;const cn=ft(nt);let tt;const yt=mi||(dt=>`${dt}%`),ht=pr==="line";return mi||Wi!=="exception"&&Wi!=="success"?tt=yt(Fe(Kr),Fe(cn)):Wi==="exception"?tt=ht?ge.createElement(zt.Z,null):ge.createElement(We.Z,null):Wi==="success"&&(tt=ht?ge.createElement(Lt.Z,null):ge.createElement(ut.Z,null)),ge.createElement("span",{className:`${Yi}-text`,title:typeof tt=="string"?tt:void 0},tt)},[dr,Kr,Ti,Wi,pr,Yi,mi]),Hi=Array.isArray(Nr)?Nr[0]:Nr,ci=typeof Nr=="string"||Array.isArray(Nr)?Nr:void 0;let Vr;pr==="line"?Vr=jr?ge.createElement(pe,Object.assign({},nt,{strokeColor:ci,prefixCls:Yi,steps:jr}),Bi):ge.createElement(Ue,Object.assign({},nt,{strokeColor:Hi,prefixCls:Yi,direction:Fa}),Bi):(pr==="circle"||pr==="dashboard")&&(Vr=ge.createElement(Kn,Object.assign({},nt,{strokeColor:Hi,prefixCls:Yi,progressStatus:Wi}),Bi));const ia=vt()(Yi,`${Yi}-status-${Wi}`,`${Yi}-${pr==="dashboard"&&"circle"||jr&&"steps"||pr}`,{[`${Yi}-inline-circle`]:pr==="circle"&&Mt(kr,"circle")[0]<=20,[`${Yi}-show-info`]:dr,[`${Yi}-${kr}`]:typeof kr=="string",[`${Yi}-rtl`]:Fa==="rtl"},Oi==null?void 0:Oi.className,Vn,tr,Qi);return Da(ge.createElement("div",Object.assign({ref:Ft,style:Object.assign(Object.assign({},Oi==null?void 0:Oi.style),si),className:ia,role:"progressbar","aria-valuenow":Ti},(0,ke.Z)(xa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Vr))}),Ot=_n},5112:function(lr,Yn,be){"use strict";be.d(Yn,{ZP:function(){return Ge}});var ge=be(92310),Lt=be.n(ge),ut=be(18929),zt=be(26112),We=be(59301),lt=be(36355),vt=be(19716);const ke=We.createContext(null),_e=ke.Provider;var xe=ke;const Xe=We.createContext(null),De=Xe.Provider;var Qe=be(5630),ot=be(8654),qe=be(1684),it=be(32441),st=be(17313),At=be(83116),Qt=be(37613);const pt=Fe=>{const{componentCls:ft,antCls:sn}=Fe,$t=`${ft}-group`;return{[$t]:Object.assign(Object.assign({},(0,st.Wf)(Fe)),{display:"inline-block",fontSize:0,[`&${$t}-rtl`]:{direction:"rtl"},[`${sn}-badge ${sn}-badge-count`]:{zIndex:1},[`> ${sn}-badge:not(:first-child) > ${sn}-button-wrapper`]:{borderInlineStart:"none"}})}},St=Fe=>{const{componentCls:ft,wrapperMarginInlineEnd:sn,colorPrimary:$t,radioSize:Mt,motionDurationSlow:_t,motionDurationMid:hn,motionEaseInOutCirc:Jn,colorBgContainer:Kn,colorBorder:Ar,lineWidth:ln,dotSize:on,colorBgContainerDisabled:vn,colorTextDisabled:Ue,paddingXS:we,dotColorDisabled:pe,lineType:Ee,radioDotDisabledSize:Me,wireframe:me,colorWhite:$e}=Fe,Pt=`${ft}-inner`;return{[`${ft}-wrapper`]:Object.assign(Object.assign({},(0,st.Wf)(Fe)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:sn,cursor:"pointer",[`&${ft}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Fe.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${ft}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${ln}px ${Ee} ${$t}`,borderRadius:"50%",visibility:"hidden",content:'""'},[ft]:Object.assign(Object.assign({},(0,st.Wf)(Fe)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${ft}-wrapper:hover &, &:hover ${Pt}`]:{borderColor:$t},[`${ft}-input:focus-visible + ${Pt}`]:Object.assign({},(0,st.oN)(Fe)),[`${ft}:hover::after, ${ft}-wrapper:hover &::after`]:{visibility:"visible"},[`${ft}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Mt,height:Mt,marginBlockStart:Mt/-2,marginInlineStart:Mt/-2,backgroundColor:me?$t:$e,borderBlockStart:0,borderInlineStart:0,borderRadius:Mt,transform:"scale(0)",opacity:0,transition:`all ${_t} ${Jn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Mt,height:Mt,backgroundColor:Kn,borderColor:Ar,borderStyle:"solid",borderWidth:ln,borderRadius:"50%",transition:`all ${hn}`},[`${ft}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${ft}-checked`]:{[Pt]:{borderColor:$t,backgroundColor:me?Kn:$t,"&::after":{transform:`scale(${on/Mt})`,opacity:1,transition:`all ${_t} ${Jn}`}}},[`${ft}-disabled`]:{cursor:"not-allowed",[Pt]:{backgroundColor:vn,borderColor:Ar,cursor:"not-allowed","&::after":{backgroundColor:pe}},[`${ft}-input`]:{cursor:"not-allowed"},[`${ft}-disabled + span`]:{color:Ue,cursor:"not-allowed"},[`&${ft}-checked`]:{[Pt]:{"&::after":{transform:`scale(${Me/Mt})`}}}},[`span${ft} + *`]:{paddingInlineStart:we,paddingInlineEnd:we}})}},rt=Fe=>{const{buttonColor:ft,controlHeight:sn,componentCls:$t,lineWidth:Mt,lineType:_t,colorBorder:hn,motionDurationSlow:Jn,motionDurationMid:Kn,buttonPaddingInline:Ar,fontSize:ln,buttonBg:on,fontSizeLG:vn,controlHeightLG:Ue,controlHeightSM:we,paddingXS:pe,borderRadius:Ee,borderRadiusSM:Me,borderRadiusLG:me,buttonCheckedBg:$e,buttonSolidCheckedColor:Pt,colorTextDisabled:an,colorBgContainerDisabled:An,buttonCheckedBgDisabled:In,buttonCheckedColorDisabled:En,colorPrimary:Pn,colorPrimaryHover:Zn,colorPrimaryActive:Cr,buttonSolidCheckedBg:Bt,buttonSolidCheckedHoverBg:dn,buttonSolidCheckedActiveBg:_n}=Fe;return{[`${$t}-button-wrapper`]:{position:"relative",display:"inline-block",height:sn,margin:0,paddingInline:Ar,paddingBlock:0,color:ft,fontSize:ln,lineHeight:`${sn-Mt*2}px`,background:on,border:`${Mt}px ${_t} ${hn}`,borderBlockStartWidth:Mt+.02,borderInlineStartWidth:0,borderInlineEndWidth:Mt,cursor:"pointer",transition:[`color ${Kn}`,`background ${Kn}`,`box-shadow ${Kn}`].join(","),a:{color:ft},[`> ${$t}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Mt,insetInlineStart:-Mt,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Mt,paddingInline:0,backgroundColor:hn,transition:`background-color ${Jn}`,content:'""'}},"&:first-child":{borderInlineStart:`${Mt}px ${_t} ${hn}`,borderStartStartRadius:Ee,borderEndStartRadius:Ee},"&:last-child":{borderStartEndRadius:Ee,borderEndEndRadius:Ee},"&:first-child:last-child":{borderRadius:Ee},[`${$t}-group-large &`]:{height:Ue,fontSize:vn,lineHeight:`${Ue-Mt*2}px`,"&:first-child":{borderStartStartRadius:me,borderEndStartRadius:me},"&:last-child":{borderStartEndRadius:me,borderEndEndRadius:me}},[`${$t}-group-small &`]:{height:we,paddingInline:pe-Mt,paddingBlock:0,lineHeight:`${we-Mt*2}px`,"&:first-child":{borderStartStartRadius:Me,borderEndStartRadius:Me},"&:last-child":{borderStartEndRadius:Me,borderEndEndRadius:Me}},"&:hover":{position:"relative",color:Pn},"&:has(:focus-visible)":Object.assign({},(0,st.oN)(Fe)),[`${$t}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${$t}-button-wrapper-disabled)`]:{zIndex:1,color:Pn,background:$e,borderColor:Pn,"&::before":{backgroundColor:Pn},"&:first-child":{borderColor:Pn},"&:hover":{color:Zn,borderColor:Zn,"&::before":{backgroundColor:Zn}},"&:active":{color:Cr,borderColor:Cr,"&::before":{backgroundColor:Cr}}},[`${$t}-group-solid &-checked:not(${$t}-button-wrapper-disabled)`]:{color:Pt,background:Bt,borderColor:Bt,"&:hover":{color:Pt,background:dn,borderColor:dn},"&:active":{color:Pt,background:_n,borderColor:_n}},"&-disabled":{color:an,backgroundColor:An,borderColor:hn,cursor:"not-allowed","&:first-child, &:hover":{color:an,backgroundColor:An,borderColor:hn}},[`&-disabled${$t}-button-wrapper-checked`]:{color:En,backgroundColor:In,borderColor:hn,boxShadow:"none"}}}},ze=Fe=>Fe-4*2;var gt=(0,At.Z)("Radio",Fe=>{const{controlOutline:ft,controlOutlineWidth:sn,radioSize:$t}=Fe,Mt=`0 0 0 ${sn}px ${ft}`,_t=Mt,hn=ze($t),Jn=(0,Qt.TS)(Fe,{radioDotDisabledSize:hn,radioFocusShadow:Mt,radioButtonFocusShadow:_t});return[pt(Jn),St(Jn),rt(Jn)]},Fe=>{const{wireframe:ft,padding:sn,marginXS:$t,lineWidth:Mt,fontSizeLG:_t,colorText:hn,colorBgContainer:Jn,colorTextDisabled:Kn,controlItemBgActiveDisabled:Ar,colorTextLightSolid:ln,colorPrimary:on,colorPrimaryHover:vn,colorPrimaryActive:Ue}=Fe,we=4,pe=_t,Ee=ft?ze(pe):pe-(we+Mt)*2;return{radioSize:pe,dotSize:Ee,dotColorDisabled:Kn,buttonSolidCheckedColor:ln,buttonSolidCheckedBg:on,buttonSolidCheckedHoverBg:vn,buttonSolidCheckedActiveBg:Ue,buttonBg:Jn,buttonCheckedBg:Jn,buttonColor:hn,buttonCheckedBgDisabled:Ar,buttonCheckedColorDisabled:Kn,buttonPaddingInline:sn-Mt,wrapperMarginInlineEnd:$t}}),Et=be(14088),jt=be(4572),mt=function(Fe,ft){var sn={};for(var $t in Fe)Object.prototype.hasOwnProperty.call(Fe,$t)&&ft.indexOf($t)<0&&(sn[$t]=Fe[$t]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,$t=Object.getOwnPropertySymbols(Fe);Mt<$t.length;Mt++)ft.indexOf($t[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Fe,$t[Mt])&&(sn[$t[Mt]]=Fe[$t[Mt]]);return sn};const Yt=(Fe,ft)=>{var sn,$t;const Mt=We.useContext(xe),_t=We.useContext(Xe),{getPrefixCls:hn,direction:Jn,radio:Kn}=We.useContext(lt.E_),Ar=We.useRef(null),ln=(0,ot.sQ)(ft,Ar),{isFormItemInput:on}=We.useContext(it.aM),vn=Cr=>{var Bt,dn;(Bt=Fe.onChange)===null||Bt===void 0||Bt.call(Fe,Cr),(dn=Mt==null?void 0:Mt.onChange)===null||dn===void 0||dn.call(Mt,Cr)},{prefixCls:Ue,className:we,rootClassName:pe,children:Ee,style:Me}=Fe,me=mt(Fe,["prefixCls","className","rootClassName","children","style"]),$e=hn("radio",Ue),Pt=((Mt==null?void 0:Mt.optionType)||_t)==="button",an=Pt?`${$e}-button`:$e,[An,In]=gt($e),En=Object.assign({},me),Pn=We.useContext(qe.Z);Mt&&(En.name=Mt.name,En.onChange=vn,En.checked=Fe.value===Mt.value,En.disabled=(sn=En.disabled)!==null&&sn!==void 0?sn:Mt.disabled),En.disabled=($t=En.disabled)!==null&&$t!==void 0?$t:Pn;const Zn=Lt()(`${an}-wrapper`,{[`${an}-wrapper-checked`]:En.checked,[`${an}-wrapper-disabled`]:En.disabled,[`${an}-wrapper-rtl`]:Jn==="rtl",[`${an}-wrapper-in-form-item`]:on},Kn==null?void 0:Kn.className,we,pe,In);return An(We.createElement(Et.Z,{component:"Radio",disabled:En.disabled},We.createElement("label",{className:Zn,style:Object.assign(Object.assign({},Kn==null?void 0:Kn.style),Me),onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave},We.createElement(Qe.Z,Object.assign({},En,{className:Lt()(En.className,!Pt&&jt.A),type:"radio",prefixCls:an,ref:ln})),Ee!==void 0?We.createElement("span",null,Ee):null)))};var Xt=We.forwardRef(Yt);const bt=We.forwardRef((Fe,ft)=>{const{getPrefixCls:sn,direction:$t}=We.useContext(lt.E_),[Mt,_t]=(0,ut.Z)(Fe.defaultValue,{value:Fe.value}),hn=Bt=>{const dn=Mt,_n=Bt.target.value;"value"in Fe||_t(_n);const{onChange:Ot}=Fe;Ot&&_n!==dn&&Ot(Bt)},{prefixCls:Jn,className:Kn,rootClassName:Ar,options:ln,buttonStyle:on="outline",disabled:vn,children:Ue,size:we,style:pe,id:Ee,onMouseEnter:Me,onMouseLeave:me,onFocus:$e,onBlur:Pt}=Fe,an=sn("radio",Jn),An=`${an}-group`,[In,En]=gt(an);let Pn=Ue;ln&&ln.length>0&&(Pn=ln.map(Bt=>typeof Bt=="string"||typeof Bt=="number"?We.createElement(Xt,{key:Bt.toString(),prefixCls:an,disabled:vn,value:Bt,checked:Mt===Bt},Bt):We.createElement(Xt,{key:`radio-group-value-options-${Bt.value}`,prefixCls:an,disabled:Bt.disabled||vn,value:Bt.value,checked:Mt===Bt.value,title:Bt.title,style:Bt.style},Bt.label)));const Zn=(0,vt.Z)(we),Cr=Lt()(An,`${An}-${on}`,{[`${An}-${Zn}`]:Zn,[`${An}-rtl`]:$t==="rtl"},Kn,Ar,En);return In(We.createElement("div",Object.assign({},(0,zt.Z)(Fe,{aria:!0,data:!0}),{className:Cr,style:pe,onMouseEnter:Me,onMouseLeave:me,onFocus:$e,onBlur:Pt,id:Ee,ref:ft}),We.createElement(_e,{value:{onChange:hn,value:Mt,disabled:Fe.disabled,name:Fe.name,optionType:Fe.optionType}},Pn)))});var un=We.memo(bt),Ln=function(Fe,ft){var sn={};for(var $t in Fe)Object.prototype.hasOwnProperty.call(Fe,$t)&&ft.indexOf($t)<0&&(sn[$t]=Fe[$t]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,$t=Object.getOwnPropertySymbols(Fe);Mt<$t.length;Mt++)ft.indexOf($t[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Fe,$t[Mt])&&(sn[$t[Mt]]=Fe[$t[Mt]]);return sn};const Vt=(Fe,ft)=>{const{getPrefixCls:sn}=We.useContext(lt.E_),{prefixCls:$t}=Fe,Mt=Ln(Fe,["prefixCls"]),_t=sn("radio",$t);return We.createElement(De,{value:"button"},We.createElement(Xt,Object.assign({prefixCls:_t},Mt,{type:"radio",ref:ft})))};var nn=We.forwardRef(Vt);const Kt=Xt;Kt.Button=nn,Kt.Group=un,Kt.__ANT_RADIO=!0;var Ge=Kt},13570:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Fe}});var ge=be(60499),Lt=be(59301),ut={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"},zt=ut,We=be(7657),lt=function(sn,$t){return Lt.createElement(We.Z,(0,ge.Z)({},sn,{ref:$t,icon:zt}))},vt=Lt.forwardRef(lt),ke=vt,_e=be(92310),xe=be.n(_e),Xe=be(18642),De=be(72190),Qe=be(42244),ot=be(18929),qe=be(10228),it=be(26112);function st(ft,sn){var $t=ft.disabled,Mt=ft.prefixCls,_t=ft.character,hn=ft.characterRender,Jn=ft.index,Kn=ft.count,Ar=ft.value,ln=ft.allowHalf,on=ft.focused,vn=ft.onHover,Ue=ft.onClick,we=function(An){vn(An,Jn)},pe=function(An){Ue(An,Jn)},Ee=function(An){An.keyCode===qe.Z.ENTER&&Ue(An,Jn)},Me=Jn+1,me=new Set([Mt]);Ar===0&&Jn===0&&on?me.add("".concat(Mt,"-focused")):ln&&Ar+.5>=Me&&ArJn?"true":"false","aria-posinset":Jn+1,"aria-setsize":Kn,tabIndex:$t?-1:0},Lt.createElement("div",{className:"".concat(Mt,"-first")},$e),Lt.createElement("div",{className:"".concat(Mt,"-second")},$e)));return hn&&(Pt=hn(Pt,ft)),Pt}var At=Lt.forwardRef(st);function Qt(){var ft=Lt.useRef({});function sn(Mt){return ft.current[Mt]}function $t(Mt){return function(_t){ft.current[Mt]=_t}}return[sn,$t]}function pt(ft){var sn=ft.pageXOffset,$t="scrollLeft";if(typeof sn!="number"){var Mt=ft.document;sn=Mt.documentElement[$t],typeof sn!="number"&&(sn=Mt.body[$t])}return sn}function St(ft){var sn,$t,Mt=ft.ownerDocument,_t=Mt.body,hn=Mt&&Mt.documentElement,Jn=ft.getBoundingClientRect();return sn=Jn.left,$t=Jn.top,sn-=hn.clientLeft||_t.clientLeft||0,$t-=hn.clientTop||_t.clientTop||0,{left:sn,top:$t}}function rt(ft){var sn=St(ft),$t=ft.ownerDocument,Mt=$t.defaultView||$t.parentWindow;return sn.left+=pt(Mt),sn.left}var ze=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function gt(ft,sn){var $t,Mt=ft.prefixCls,_t=Mt===void 0?"rc-rate":Mt,hn=ft.className,Jn=ft.defaultValue,Kn=ft.value,Ar=ft.count,ln=Ar===void 0?5:Ar,on=ft.allowHalf,vn=on===void 0?!1:on,Ue=ft.allowClear,we=Ue===void 0?!0:Ue,pe=ft.character,Ee=pe===void 0?"\u2605":pe,Me=ft.characterRender,me=ft.disabled,$e=ft.direction,Pt=$e===void 0?"ltr":$e,an=ft.tabIndex,An=an===void 0?0:an,In=ft.autoFocus,En=ft.onHoverChange,Pn=ft.onChange,Zn=ft.onFocus,Cr=ft.onBlur,Bt=ft.onKeyDown,dn=ft.onMouseLeave,_n=(0,Qe.Z)(ft,ze),Ot=Qt(),nt=(0,De.Z)(Ot,2),Ft=nt[0],Tn=nt[1],Vn=Lt.useRef(null),tr=function(){if(!me){var dt;(dt=Vn.current)===null||dt===void 0||dt.focus()}};Lt.useImperativeHandle(sn,function(){return{focus:tr,blur:function(){if(!me){var dt;(dt=Vn.current)===null||dt===void 0||dt.blur()}}}});var jr=(0,ot.Z)(Jn||0,{value:Kn}),Nr=(0,De.Z)(jr,2),Kr=Nr[0],kr=Nr[1],dr=(0,ot.Z)(null),pr=(0,De.Z)(dr,2),zr=pr[0],mi=pr[1],si=function(dt,xt){var Gt=Pt==="rtl",Fn=dt+1;if(vn){var Mn=Ft(dt),jn=rt(Mn),or=Mn.clientWidth;(Gt&&xt-jn>or/2||!Gt&&xt-jn0&&!Gt||xt===qe.Z.RIGHT&&Fn>0&&Gt?(vn?Fn-=.5:Fn-=1,xa(Fn),dt.preventDefault()):xt===qe.Z.LEFT&&Fn{const{componentCls:sn}=ft;return{[`${sn}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ft.marginXS},"> div":{transition:`all ${ft.motionDurationMid}, outline 0s`,"&:hover":{transform:ft.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ft.lineWidth}px dashed ${ft.starColor}`,transform:ft.starHoverScale}},"&-first, &-second":{color:ft.starBg,transition:`all ${ft.motionDurationMid}`,userSelect:"none",[ft.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${sn}-star-first, &-half ${sn}-star-second`]:{opacity:1},[`&-half ${sn}-star-first, &-full ${sn}-star-second`]:{color:"inherit"}}}},Ln=ft=>({[`&-rtl${ft.componentCls}`]:{direction:"rtl"}}),Vt=ft=>{const{componentCls:sn}=ft;return{[sn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(ft)),{display:"inline-block",margin:0,padding:0,color:ft.starColor,fontSize:ft.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${sn} ${sn}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),un(ft)),{[`+ ${sn}-text`]:{display:"inline-block",marginInlineStart:ft.marginXS,fontSize:ft.fontSize}}),Ln(ft))}};var nn=(0,Xt.Z)("Rate",ft=>{const sn=(0,bt.TS)(ft,{});return[Vt(sn)]},ft=>({starColor:ft.yellow6,starSize:ft.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ft.colorFillContent})),Kt=function(ft,sn){var $t={};for(var Mt in ft)Object.prototype.hasOwnProperty.call(ft,Mt)&&sn.indexOf(Mt)<0&&($t[Mt]=ft[Mt]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,Mt=Object.getOwnPropertySymbols(ft);_t{const{prefixCls:$t,className:Mt,rootClassName:_t,style:hn,tooltips:Jn,character:Kn=Lt.createElement(ke,null)}=ft,Ar=Kt(ft,["prefixCls","className","rootClassName","style","tooltips","character"]),ln=(me,$e)=>{let{index:Pt}=$e;return Jn?Lt.createElement(Yt.Z,{title:Jn[Pt]},me):me},{getPrefixCls:on,direction:vn,rate:Ue}=Lt.useContext(mt.E_),we=on("rate",$t),[pe,Ee]=nn(we),Me=Object.assign(Object.assign({},Ue==null?void 0:Ue.style),hn);return pe(Lt.createElement(jt,Object.assign({ref:sn,character:Kn,characterRender:ln},Ar,{className:xe()(Mt,_t,Ee,Ue==null?void 0:Ue.className),style:Me,prefixCls:we,direction:vn})))})},57809:function(lr,Yn,be){"use strict";var ge=be(92310),Lt=be.n(ge),ut=be(77861),zt=be(2738),We=be(59301),lt=be(53487),vt=be(62892),ke=be(19080),_e=be(36355),xe=be(1684),Xe=be(93891),De=be(19716),Qe=be(32441),ot=be(33234),qe=be(14154),it=be(58582),st=be(84443),At=be(66339),Qt=function(gt,Et){var jt={};for(var mt in gt)Object.prototype.hasOwnProperty.call(gt,mt)&&Et.indexOf(mt)<0&&(jt[mt]=gt[mt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yt=0,mt=Object.getOwnPropertySymbols(gt);Yt{var jt,{prefixCls:mt,bordered:Yt=!0,className:Tt,rootClassName:Xt,getPopupContainer:bt,popupClassName:un,dropdownClassName:Ln,listHeight:Vt=256,placement:nn,listItemHeight:Kt=24,size:Ge,disabled:Fe,notFoundContent:ft,status:sn,builtinPlacements:$t,dropdownMatchSelectWidth:Mt,popupMatchSelectWidth:_t,direction:hn,style:Jn,allowClear:Kn}=gt,Ar=Qt(gt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:ln,getPrefixCls:on,renderEmpty:vn,direction:Ue,virtual:we,popupMatchSelectWidth:pe,popupOverflow:Ee,select:Me}=We.useContext(_e.E_),me=on("select",mt),$e=on(),Pt=hn!=null?hn:Ue,{compactSize:an,compactItemClassnames:An}=(0,ot.ri)(me,Pt),[In,En]=(0,qe.Z)(me),Pn=We.useMemo(()=>{const{mode:Wi}=Ar;if(Wi!=="combobox")return Wi===pt?"combobox":Wi},[Ar.mode]),Zn=Pn==="multiple"||Pn==="tags",Cr=(0,st.Z)(Ar.suffixIcon,Ar.showArrow),Bt=(jt=_t!=null?_t:Mt)!==null&&jt!==void 0?jt:pe,{status:dn,hasFeedback:_n,isFormItemInput:Ot,feedbackIcon:nt}=We.useContext(Qe.aM),Ft=(0,ke.F)(dn,sn);let Tn;ft!==void 0?Tn=ft:Pn==="combobox"?Tn=null:Tn=(vn==null?void 0:vn("Select"))||We.createElement(Xe.Z,{componentName:"Select"});const{suffixIcon:Vn,itemIcon:tr,removeIcon:jr,clearIcon:Nr}=(0,At.Z)(Object.assign(Object.assign({},Ar),{multiple:Zn,hasFeedback:_n,feedbackIcon:nt,showSuffixIcon:Cr,prefixCls:me,showArrow:Ar.showArrow,componentName:"Select"})),Kr=Kn===!0?{clearIcon:Nr}:Kn,kr=(0,zt.Z)(Ar,["suffixIcon","itemIcon"]),dr=Lt()(un||Ln,{[`${me}-dropdown-${Pt}`]:Pt==="rtl"},Xt,En),pr=(0,De.Z)(Wi=>{var Wr;return(Wr=Ge!=null?Ge:an)!==null&&Wr!==void 0?Wr:Wi}),zr=We.useContext(xe.Z),mi=Fe!=null?Fe:zr,si=Lt()({[`${me}-lg`]:pr==="large",[`${me}-sm`]:pr==="small",[`${me}-rtl`]:Pt==="rtl",[`${me}-borderless`]:!Yt,[`${me}-in-form-item`]:Ot},(0,ke.Z)(me,Ft,_n),An,Me==null?void 0:Me.className,Tt,Xt,En),xa=We.useMemo(()=>nn!==void 0?nn:Pt==="rtl"?"bottomRight":"bottomLeft",[nn,Pt]),Ti=(0,it.Z)($t,Ee);return In(We.createElement(ut.ZP,Object.assign({ref:Et,virtual:we,showSearch:Me==null?void 0:Me.showSearch},kr,{style:Object.assign(Object.assign({},Me==null?void 0:Me.style),Jn),dropdownMatchSelectWidth:Bt,builtinPlacements:Ti,transitionName:(0,vt.m)($e,"slide-up",Ar.transitionName),listHeight:Vt,listItemHeight:Kt,mode:Pn,prefixCls:me,placement:xa,direction:Pt,suffixIcon:Vn,menuItemSelectedIcon:tr,removeIcon:jr,allowClear:Kr,notFoundContent:Tn,className:si,getPopupContainer:bt||ln,dropdownClassName:dr,disabled:mi})))},rt=We.forwardRef(St),ze=(0,lt.Z)(rt);rt.SECRET_COMBOBOX_MODE_DO_NOT_USE=pt,rt.Option=ut.Wx,rt.OptGroup=ut.Xo,rt._InternalPanelDoNotUseOrYouWillBeFired=ze,Yn.default=rt},14154:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return rt}});var ge=be(17313),Lt=be(74207),ut=be(37613),zt=be(83116),We=be(13826),lt=be(92899);const vt=ze=>{const{optionHeight:gt,optionFontSize:Et,optionLineHeight:jt,optionPadding:mt}=ze;return{position:"relative",display:"block",minHeight:gt,padding:mt,color:ze.colorText,fontWeight:"normal",fontSize:Et,lineHeight:jt,boxSizing:"border-box"}};var _e=ze=>{const{antCls:gt,componentCls:Et}=ze,jt=`${Et}-item`,mt=`&${gt}-slide-up-enter${gt}-slide-up-enter-active`,Yt=`&${gt}-slide-up-appear${gt}-slide-up-appear-active`,Tt=`&${gt}-slide-up-leave${gt}-slide-up-leave-active`,Xt=`${Et}-dropdown-placement-`;return[{[`${Et}-dropdown`]:Object.assign(Object.assign({},(0,ge.Wf)(ze)),{position:"absolute",top:-9999,zIndex:ze.zIndexPopup,boxSizing:"border-box",padding:ze.paddingXXS,overflow:"hidden",fontSize:ze.fontSize,fontVariant:"initial",backgroundColor:ze.colorBgElevated,borderRadius:ze.borderRadiusLG,outline:"none",boxShadow:ze.boxShadowSecondary,[` ${mt}${Xt}bottomLeft, ${Yt}${Xt}bottomLeft `]:{animationName:We.fJ},[` ${mt}${Xt}topLeft, ${Yt}${Xt}topLeft, ${mt}${Xt}topRight, ${Yt}${Xt}topRight `]:{animationName:We.Qt},[`${Tt}${Xt}bottomLeft`]:{animationName:We.Uw},[` ${Tt}${Xt}topLeft, ${Tt}${Xt}topRight `]:{animationName:We.ly},"&-hidden":{display:"none"},[`${jt}`]:Object.assign(Object.assign({},vt(ze)),{cursor:"pointer",transition:`background ${ze.motionDurationSlow} ease`,borderRadius:ze.borderRadiusSM,"&-group":{color:ze.colorTextDescription,fontSize:ze.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ge.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${jt}-option-disabled)`]:{backgroundColor:ze.optionActiveBg},[`&-selected:not(${jt}-option-disabled)`]:{color:ze.optionSelectedColor,fontWeight:ze.optionSelectedFontWeight,backgroundColor:ze.optionSelectedBg,[`${jt}-option-state`]:{color:ze.colorPrimary}},"&-disabled":{[`&${jt}-option-selected`]:{backgroundColor:ze.colorBgContainerDisabled},color:ze.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:ze.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,We.oN)(ze,"slide-up"),(0,We.oN)(ze,"slide-down"),(0,lt.Fm)(ze,"move-up"),(0,lt.Fm)(ze,"move-down")]};const xe=2,Xe=ze=>{let{controlHeightSM:gt,controlHeight:Et,lineWidth:jt}=ze;const mt=(Et-gt)/2-jt,Yt=Math.ceil(mt/2);return[mt,Yt]};function De(ze,gt){const{componentCls:Et,iconCls:jt}=ze,mt=`${Et}-selection-overflow`,Yt=ze.multipleSelectItemHeight,[Tt]=Xe(ze),Xt=gt?`${Et}-${gt}`:"";return{[`${Et}-multiple${Xt}`]:{fontSize:ze.fontSize,[mt]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${Et}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${Tt-xe}px ${xe*2}px`,borderRadius:ze.borderRadius,[`${Et}-show-search&`]:{cursor:"text"},[`${Et}-disabled&`]:{background:ze.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${xe}px 0`,lineHeight:`${Yt}px`,visibility:"hidden",content:'"\\a0"'}},[` &${Et}-show-arrow ${Et}-selector, &${Et}-allow-clear ${Et}-selector `]:{paddingInlineEnd:ze.fontSizeIcon+ze.controlPaddingHorizontal},[`${Et}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:Yt,marginTop:xe,marginBottom:xe,lineHeight:`${Yt-ze.lineWidth*2}px`,background:ze.multipleItemBg,border:`${ze.lineWidth}px ${ze.lineType} ${ze.multipleItemBorderColor}`,borderRadius:ze.borderRadiusSM,cursor:"default",transition:`font-size ${ze.motionDurationSlow}, line-height ${ze.motionDurationSlow}, height ${ze.motionDurationSlow}`,userSelect:"none",marginInlineEnd:xe*2,paddingInlineStart:ze.paddingXS,paddingInlineEnd:ze.paddingXS/2,[`${Et}-disabled&`]:{color:ze.multipleItemColorDisabled,borderColor:ze.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ze.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ge.Ro)()),{display:"inline-flex",alignItems:"center",color:ze.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${jt}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ze.colorIconHover}})},[`${mt}-item + ${mt}-item`]:{[`${Et}-selection-search`]:{marginInlineStart:0}},[`${Et}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ze.inputPaddingHorizontalBase-Tt,"\n &-input,\n &-mirror\n ":{height:Yt,fontFamily:ze.fontFamily,lineHeight:`${Yt}px`,transition:`all ${ze.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Et}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:ze.inputPaddingHorizontalBase,insetInlineEnd:ze.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ze.motionDurationSlow}`}}}}var ot=ze=>{const{componentCls:gt}=ze,Et=(0,ut.TS)(ze,{controlHeight:ze.controlHeightSM,multipleSelectItemHeight:ze.controlHeightXS,borderRadius:ze.borderRadiusSM,borderRadiusSM:ze.borderRadiusXS}),jt=(0,ut.TS)(ze,{fontSize:ze.fontSizeLG,controlHeight:ze.controlHeightLG,multipleSelectItemHeight:ze.multipleItemHeightLG,borderRadius:ze.borderRadiusLG,borderRadiusSM:ze.borderRadius}),[,mt]=Xe(ze);return[De(ze),De(Et,"sm"),{[`${gt}-multiple${gt}-sm`]:{[`${gt}-selection-placeholder`]:{insetInline:ze.controlPaddingHorizontalSM-ze.lineWidth},[`${gt}-selection-search`]:{marginInlineStart:mt}}},De(jt,"lg")]};function qe(ze,gt){const{componentCls:Et,inputPaddingHorizontalBase:jt,borderRadius:mt}=ze,Yt=ze.controlHeight-ze.lineWidth*2,Tt=Math.ceil(ze.fontSize*1.25),Xt=gt?`${Et}-${gt}`:"";return{[`${Et}-single${Xt}`]:{fontSize:ze.fontSize,[`${Et}-selector`]:Object.assign(Object.assign({},(0,ge.Wf)(ze)),{display:"flex",borderRadius:mt,[`${Et}-selection-search`]:{position:"absolute",top:0,insetInlineStart:jt,insetInlineEnd:jt,bottom:0,"&-input":{width:"100%"}},[` ${Et}-selection-item, ${Et}-selection-placeholder `]:{padding:0,lineHeight:`${Yt}px`,transition:`all ${ze.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${Yt}px`}},[`${Et}-selection-item`]:{position:"relative",userSelect:"none"},[`${Et}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Et}-selection-item:after`,`${Et}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${Et}-show-arrow ${Et}-selection-item, &${Et}-show-arrow ${Et}-selection-placeholder `]:{paddingInlineEnd:Tt},[`&${Et}-open ${Et}-selection-item`]:{color:ze.colorTextPlaceholder},[`&:not(${Et}-customize-input)`]:{[`${Et}-selector`]:{width:"100%",height:ze.controlHeight,padding:`0 ${jt}px`,[`${Et}-selection-search-input`]:{height:Yt},"&:after":{lineHeight:`${Yt}px`}}},[`&${Et}-customize-input`]:{[`${Et}-selector`]:{"&:after":{display:"none"},[`${Et}-selection-search`]:{position:"static",width:"100%"},[`${Et}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${jt}px`,"&:after":{display:"none"}}}}}}}function it(ze){const{componentCls:gt}=ze,Et=ze.controlPaddingHorizontalSM-ze.lineWidth;return[qe(ze),qe((0,ut.TS)(ze,{controlHeight:ze.controlHeightSM,borderRadius:ze.borderRadiusSM}),"sm"),{[`${gt}-single${gt}-sm`]:{[`&:not(${gt}-customize-input)`]:{[`${gt}-selection-search`]:{insetInlineStart:Et,insetInlineEnd:Et},[`${gt}-selector`]:{padding:`0 ${Et}px`},[`&${gt}-show-arrow ${gt}-selection-search`]:{insetInlineEnd:Et+ze.fontSize*1.5},[` &${gt}-show-arrow ${gt}-selection-item, &${gt}-show-arrow ${gt}-selection-placeholder `]:{paddingInlineEnd:ze.fontSize*1.5}}}},qe((0,ut.TS)(ze,{controlHeight:ze.singleItemHeightLG,fontSize:ze.fontSizeLG,borderRadius:ze.borderRadiusLG}),"lg")]}const st=ze=>{const{componentCls:gt,selectorBg:Et}=ze;return{position:"relative",backgroundColor:Et,border:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`,transition:`all ${ze.motionDurationMid} ${ze.motionEaseInOut}`,input:{cursor:"pointer"},[`${gt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${gt}-disabled&`]:{color:ze.colorTextDisabled,background:ze.colorBgContainerDisabled,cursor:"not-allowed",[`${gt}-multiple&`]:{background:ze.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},At=function(ze,gt){let Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:jt,borderHoverColor:mt,outlineColor:Yt,antCls:Tt}=gt,Xt=Et?{[`${jt}-selector`]:{borderColor:mt}}:{};return{[ze]:{[`&:not(${jt}-disabled):not(${jt}-customize-input):not(${Tt}-pagination-size-changer)`]:Object.assign(Object.assign({},Xt),{[`${jt}-focused& ${jt}-selector`]:{borderColor:mt,boxShadow:`0 0 0 ${gt.controlOutlineWidth}px ${Yt}`,outline:0},[`&:hover ${jt}-selector`]:{borderColor:mt}})}}},Qt=ze=>{const{componentCls:gt}=ze;return{[`${gt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},pt=ze=>{const{componentCls:gt,inputPaddingHorizontalBase:Et,iconCls:jt}=ze;return{[gt]:Object.assign(Object.assign({},(0,ge.Wf)(ze)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${gt}-customize-input) ${gt}-selector`]:Object.assign(Object.assign({},st(ze)),Qt(ze)),[`${gt}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ge.vS),[`${gt}-selection-placeholder`]:Object.assign(Object.assign({},ge.vS),{flex:1,color:ze.colorTextPlaceholder,pointerEvents:"none"}),[`${gt}-arrow`]:Object.assign(Object.assign({},(0,ge.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Et,height:ze.fontSizeIcon,marginTop:-ze.fontSizeIcon/2,color:ze.colorTextQuaternary,fontSize:ze.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[jt]:{verticalAlign:"top",transition:`transform ${ze.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${gt}-suffix)`]:{pointerEvents:"auto"}},[`${gt}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${gt}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Et,zIndex:1,display:"inline-block",width:ze.fontSizeIcon,height:ze.fontSizeIcon,marginTop:-ze.fontSizeIcon/2,color:ze.colorTextQuaternary,fontSize:ze.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:ze.clearBg,cursor:"pointer",opacity:0,transition:`color ${ze.motionDurationMid} ease, opacity ${ze.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:ze.colorTextTertiary}},"&:hover":{[`${gt}-clear`]:{opacity:1}}}),[`${gt}-has-feedback`]:{[`${gt}-clear`]:{insetInlineEnd:Et+ze.fontSize+ze.paddingXS}}}},St=ze=>{const{componentCls:gt}=ze;return[{[gt]:{[`&-borderless ${gt}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${gt}-in-form-item`]:{width:"100%"}}},pt(ze),it(ze),ot(ze),_e(ze),{[`${gt}-rtl`]:{direction:"rtl"}},At(gt,(0,ut.TS)(ze,{borderHoverColor:ze.colorPrimaryHover,outlineColor:ze.controlOutline})),At(`${gt}-status-error`,(0,ut.TS)(ze,{borderHoverColor:ze.colorErrorHover,outlineColor:ze.colorErrorOutline}),!0),At(`${gt}-status-warning`,(0,ut.TS)(ze,{borderHoverColor:ze.colorWarningHover,outlineColor:ze.colorWarningOutline}),!0),(0,Lt.c)(ze,{borderElCls:`${gt}-selector`,focusElCls:`${gt}-focused`})]};var rt=(0,zt.Z)("Select",(ze,gt)=>{let{rootPrefixCls:Et}=gt;const jt=(0,ut.TS)(ze,{rootPrefixCls:Et,inputPaddingHorizontalBase:ze.paddingSM-1,multipleSelectItemHeight:ze.multipleItemHeight});return[St(jt)]},ze=>{const{fontSize:gt,lineHeight:Et,controlHeight:jt,controlPaddingHorizontal:mt,zIndexPopupBase:Yt,colorText:Tt,fontWeightStrong:Xt,controlItemBgActive:bt,controlItemBgHover:un,colorBgContainer:Ln,colorFillSecondary:Vt,controlHeightLG:nn,controlHeightSM:Kt,colorBgContainerDisabled:Ge,colorTextDisabled:Fe}=ze;return{zIndexPopup:Yt+50,optionSelectedColor:Tt,optionSelectedFontWeight:Xt,optionSelectedBg:bt,optionActiveBg:un,optionPadding:`${(jt-gt*Et)/2}px ${mt}px`,optionFontSize:gt,optionLineHeight:Et,optionHeight:jt,selectorBg:Ln,clearBg:Ln,singleItemHeightLG:nn,multipleItemBg:Vt,multipleItemBorderColor:"transparent",multipleItemHeight:Kt,multipleItemHeightLG:jt,multipleSelectorBgDisabled:Ge,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:"transparent"}})},58582:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Lt}});const ge=ut=>{const We={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ut==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},We),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},We),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},We),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},We),{points:["br","tr"],offset:[0,-4]})}};function Lt(ut,zt){return ut||ge(zt)}},84443:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ge}});function ge(Lt,ut){return ut!==void 0?ut:Lt!==null}},66339:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return ke}});var ge=be(40001),Lt=be(19248),ut=be(99267),zt=be(84105),We=be(58617),lt=be(47472),vt=be(59301);function ke(_e){let{suffixIcon:xe,clearIcon:Xe,menuItemSelectedIcon:De,removeIcon:Qe,loading:ot,multiple:qe,hasFeedback:it,prefixCls:st,showSuffixIcon:At,feedbackIcon:Qt,showArrow:pt,componentName:St}=_e;const rt=Xe!=null?Xe:vt.createElement(Lt.Z,null),ze=mt=>xe===null&&!it&&!pt?null:vt.createElement(vt.Fragment,null,At!==!1&&mt,it&&Qt);let gt=null;if(xe!==void 0)gt=ze(xe);else if(ot)gt=ze(vt.createElement(We.Z,{spin:!0}));else{const mt=`${st}-suffix`;gt=Yt=>{let{open:Tt,showSearch:Xt}=Yt;return ze(Tt&&Xt?vt.createElement(lt.Z,{className:mt}):vt.createElement(zt.Z,{className:mt}))}}let Et=null;De!==void 0?Et=De:qe?Et=vt.createElement(ge.Z,null):Et=null;let jt=null;return Qe!==void 0?jt=Qe:jt=vt.createElement(ut.Z,null),{clearIcon:rt,suffixIcon:gt,itemIcon:Et,removeIcon:jt}}},61621:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Ee}});var ge=be(92310),Lt=be.n(ge),ut=be(59301),zt=be(36355),We=be(2738),vt=Me=>{const{prefixCls:me,className:$e,style:Pt,size:an,shape:An}=Me,In=Lt()({[`${me}-lg`]:an==="large",[`${me}-sm`]:an==="small"}),En=Lt()({[`${me}-circle`]:An==="circle",[`${me}-square`]:An==="square",[`${me}-round`]:An==="round"}),Pn=ut.useMemo(()=>typeof an=="number"?{width:an,height:an,lineHeight:`${an}px`}:{},[an]);return ut.createElement("span",{className:Lt()(me,In,En,$e),style:Object.assign(Object.assign({},Pn),Pt)})},ke=be(36237),_e=be(83116),xe=be(37613);const Xe=new ke.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),De=Me=>({height:Me,lineHeight:`${Me}px`}),Qe=Me=>Object.assign({width:Me},De(Me)),ot=Me=>({background:Me.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Xe,animationDuration:Me.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),qe=Me=>Object.assign({width:Me*5,minWidth:Me*5},De(Me)),it=Me=>{const{skeletonAvatarCls:me,gradientFromColor:$e,controlHeight:Pt,controlHeightLG:an,controlHeightSM:An}=Me;return{[`${me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:$e},Qe(Pt)),[`${me}${me}-circle`]:{borderRadius:"50%"},[`${me}${me}-lg`]:Object.assign({},Qe(an)),[`${me}${me}-sm`]:Object.assign({},Qe(An))}},st=Me=>{const{controlHeight:me,borderRadiusSM:$e,skeletonInputCls:Pt,controlHeightLG:an,controlHeightSM:An,gradientFromColor:In}=Me;return{[`${Pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:In,borderRadius:$e},qe(me)),[`${Pt}-lg`]:Object.assign({},qe(an)),[`${Pt}-sm`]:Object.assign({},qe(An))}},At=Me=>Object.assign({width:Me},De(Me)),Qt=Me=>{const{skeletonImageCls:me,imageSizeBase:$e,gradientFromColor:Pt,borderRadiusSM:an}=Me;return{[`${me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Pt,borderRadius:an},At($e*2)),{[`${me}-path`]:{fill:"#bfbfbf"},[`${me}-svg`]:Object.assign(Object.assign({},At($e)),{maxWidth:$e*4,maxHeight:$e*4}),[`${me}-svg${me}-svg-circle`]:{borderRadius:"50%"}}),[`${me}${me}-circle`]:{borderRadius:"50%"}}},pt=(Me,me,$e)=>{const{skeletonButtonCls:Pt}=Me;return{[`${$e}${Pt}-circle`]:{width:me,minWidth:me,borderRadius:"50%"},[`${$e}${Pt}-round`]:{borderRadius:me}}},St=Me=>Object.assign({width:Me*2,minWidth:Me*2},De(Me)),rt=Me=>{const{borderRadiusSM:me,skeletonButtonCls:$e,controlHeight:Pt,controlHeightLG:an,controlHeightSM:An,gradientFromColor:In}=Me;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${$e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:In,borderRadius:me,width:Pt*2,minWidth:Pt*2},St(Pt))},pt(Me,Pt,$e)),{[`${$e}-lg`]:Object.assign({},St(an))}),pt(Me,an,`${$e}-lg`)),{[`${$e}-sm`]:Object.assign({},St(An))}),pt(Me,An,`${$e}-sm`))},ze=Me=>{const{componentCls:me,skeletonAvatarCls:$e,skeletonTitleCls:Pt,skeletonParagraphCls:an,skeletonButtonCls:An,skeletonInputCls:In,skeletonImageCls:En,controlHeight:Pn,controlHeightLG:Zn,controlHeightSM:Cr,gradientFromColor:Bt,padding:dn,marginSM:_n,borderRadius:Ot,titleHeight:nt,blockRadius:Ft,paragraphLiHeight:Tn,controlHeightXS:Vn,paragraphMarginTop:tr}=Me;return{[`${me}`]:{display:"table",width:"100%",[`${me}-header`]:{display:"table-cell",paddingInlineEnd:dn,verticalAlign:"top",[`${$e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Bt},Qe(Pn)),[`${$e}-circle`]:{borderRadius:"50%"},[`${$e}-lg`]:Object.assign({},Qe(Zn)),[`${$e}-sm`]:Object.assign({},Qe(Cr))},[`${me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Pt}`]:{width:"100%",height:nt,background:Bt,borderRadius:Ft,[`+ ${an}`]:{marginBlockStart:Cr}},[`${an}`]:{padding:0,"> li":{width:"100%",height:Tn,listStyle:"none",background:Bt,borderRadius:Ft,"+ li":{marginBlockStart:Vn}}},[`${an}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${me}-content`]:{[`${Pt}, ${an} > li`]:{borderRadius:Ot}}},[`${me}-with-avatar ${me}-content`]:{[`${Pt}`]:{marginBlockStart:_n,[`+ ${an}`]:{marginBlockStart:tr}}},[`${me}${me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},rt(Me)),it(Me)),st(Me)),Qt(Me)),[`${me}${me}-block`]:{width:"100%",[`${An}`]:{width:"100%"},[`${In}`]:{width:"100%"}},[`${me}${me}-active`]:{[` ${Pt}, ${an} > li, ${$e}, ${An}, ${In}, ${En} `]:Object.assign({},ot(Me))}}};var gt=(0,_e.Z)("Skeleton",Me=>{const{componentCls:me}=Me,$e=(0,xe.TS)(Me,{skeletonAvatarCls:`${me}-avatar`,skeletonTitleCls:`${me}-title`,skeletonParagraphCls:`${me}-paragraph`,skeletonButtonCls:`${me}-button`,skeletonInputCls:`${me}-input`,skeletonImageCls:`${me}-image`,imageSizeBase:Me.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Me.gradientFromColor} 25%, ${Me.gradientToColor} 37%, ${Me.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ze($e)]},Me=>{const{colorFillContent:me,colorFill:$e}=Me,Pt=me,an=$e;return{color:Pt,colorGradientEnd:an,gradientFromColor:Pt,gradientToColor:an,titleHeight:Me.controlHeight/2,blockRadius:Me.borderRadiusSM,paragraphMarginTop:Me.marginLG+Me.marginXXS,paragraphLiHeight:Me.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),jt=Me=>{const{prefixCls:me,className:$e,rootClassName:Pt,active:an,shape:An="circle",size:In="default"}=Me,{getPrefixCls:En}=ut.useContext(zt.E_),Pn=En("skeleton",me),[Zn,Cr]=gt(Pn),Bt=(0,We.Z)(Me,["prefixCls","className"]),dn=Lt()(Pn,`${Pn}-element`,{[`${Pn}-active`]:an},$e,Pt,Cr);return Zn(ut.createElement("div",{className:dn},ut.createElement(vt,Object.assign({prefixCls:`${Pn}-avatar`,shape:An,size:In},Bt))))},Yt=Me=>{const{prefixCls:me,className:$e,rootClassName:Pt,active:an,block:An=!1,size:In="default"}=Me,{getPrefixCls:En}=ut.useContext(zt.E_),Pn=En("skeleton",me),[Zn,Cr]=gt(Pn),Bt=(0,We.Z)(Me,["prefixCls"]),dn=Lt()(Pn,`${Pn}-element`,{[`${Pn}-active`]:an,[`${Pn}-block`]:An},$e,Pt,Cr);return Zn(ut.createElement("div",{className:dn},ut.createElement(vt,Object.assign({prefixCls:`${Pn}-button`,size:In},Bt))))};const Tt="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";var bt=Me=>{const{prefixCls:me,className:$e,rootClassName:Pt,style:an,active:An}=Me,{getPrefixCls:In}=ut.useContext(zt.E_),En=In("skeleton",me),[Pn,Zn]=gt(En),Cr=Lt()(En,`${En}-element`,{[`${En}-active`]:An},$e,Pt,Zn);return Pn(ut.createElement("div",{className:Cr},ut.createElement("div",{className:Lt()(`${En}-image`,$e),style:an},ut.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${En}-image-svg`},ut.createElement("path",{d:Tt,className:`${En}-image-path`})))))},Ln=Me=>{const{prefixCls:me,className:$e,rootClassName:Pt,active:an,block:An,size:In="default"}=Me,{getPrefixCls:En}=ut.useContext(zt.E_),Pn=En("skeleton",me),[Zn,Cr]=gt(Pn),Bt=(0,We.Z)(Me,["prefixCls"]),dn=Lt()(Pn,`${Pn}-element`,{[`${Pn}-active`]:an,[`${Pn}-block`]:An},$e,Pt,Cr);return Zn(ut.createElement("div",{className:dn},ut.createElement(vt,Object.assign({prefixCls:`${Pn}-input`,size:In},Bt))))},Vt=be(60499),nn={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"},Kt=nn,Ge=be(7657),Fe=function(me,$e){return ut.createElement(Ge.Z,(0,Vt.Z)({},me,{ref:$e,icon:Kt}))},ft=ut.forwardRef(Fe),sn=ft,Mt=Me=>{const{prefixCls:me,className:$e,rootClassName:Pt,style:an,active:An,children:In}=Me,{getPrefixCls:En}=ut.useContext(zt.E_),Pn=En("skeleton",me),[Zn,Cr]=gt(Pn),Bt=Lt()(Pn,`${Pn}-element`,{[`${Pn}-active`]:An},Cr,$e,Pt),dn=In!=null?In:ut.createElement(sn,null);return Zn(ut.createElement("div",{className:Bt},ut.createElement("div",{className:Lt()(`${Pn}-image`,$e),style:an},dn)))},_t=be(77654),Jn=Me=>{const me=En=>{const{width:Pn,rows:Zn=2}=Me;if(Array.isArray(Pn))return Pn[En];if(Zn-1===En)return Pn},{prefixCls:$e,className:Pt,style:an,rows:An}=Me,In=(0,_t.Z)(Array(An)).map((En,Pn)=>ut.createElement("li",{key:Pn,style:{width:me(Pn)}}));return ut.createElement("ul",{className:Lt()($e,Pt),style:an},In)},Ar=Me=>{let{prefixCls:me,className:$e,width:Pt,style:an}=Me;return ut.createElement("h3",{className:Lt()(me,$e),style:Object.assign({width:Pt},an)})};function ln(Me){return Me&&typeof Me=="object"?Me:{}}function on(Me,me){return Me&&!me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function vn(Me,me){return!Me&&me?{width:"38%"}:Me&&me?{width:"50%"}:{}}function Ue(Me,me){const $e={};return(!Me||!me)&&($e.width="61%"),!Me&&me?$e.rows=3:$e.rows=2,$e}const we=Me=>{const{prefixCls:me,loading:$e,className:Pt,rootClassName:an,style:An,children:In,avatar:En=!1,title:Pn=!0,paragraph:Zn=!0,active:Cr,round:Bt}=Me,{getPrefixCls:dn,direction:_n,skeleton:Ot}=ut.useContext(zt.E_),nt=dn("skeleton",me),[Ft,Tn]=gt(nt);if($e||!("loading"in Me)){const Vn=!!En,tr=!!Pn,jr=!!Zn;let Nr;if(Vn){const dr=Object.assign(Object.assign({prefixCls:`${nt}-avatar`},on(tr,jr)),ln(En));Nr=ut.createElement("div",{className:`${nt}-header`},ut.createElement(vt,Object.assign({},dr)))}let Kr;if(tr||jr){let dr;if(tr){const zr=Object.assign(Object.assign({prefixCls:`${nt}-title`},vn(Vn,jr)),ln(Pn));dr=ut.createElement(Ar,Object.assign({},zr))}let pr;if(jr){const zr=Object.assign(Object.assign({prefixCls:`${nt}-paragraph`},Ue(Vn,tr)),ln(Zn));pr=ut.createElement(Jn,Object.assign({},zr))}Kr=ut.createElement("div",{className:`${nt}-content`},dr,pr)}const kr=Lt()(nt,{[`${nt}-with-avatar`]:Vn,[`${nt}-active`]:Cr,[`${nt}-rtl`]:_n==="rtl",[`${nt}-round`]:Bt},Ot==null?void 0:Ot.className,Pt,an,Tn);return Ft(ut.createElement("div",{className:kr,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),An)},Nr,Kr))}return typeof In!="undefined"?In:null};we.Button=Yt,we.Avatar=jt,we.Input=Ln,we.Image=bt,we.Node=Mt;var pe=we,Ee=pe},31797:function(lr,Yn,be){"use strict";be.d(Yn,{default:function(){return gt}});var ge=be(59301),Lt=be(56762),ut=be(92343),zt=be(92310),We=be.n(zt),lt=be(36355),vt=be(61621),_e=Et=>{const{value:jt,formatter:mt,precision:Yt,decimalSeparator:Tt,groupSeparator:Xt="",prefixCls:bt}=Et;let un;if(typeof mt=="function")un=mt(jt);else{const Ln=String(jt),Vt=Ln.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Vt||Ln==="-")un=Ln;else{const nn=Vt[1];let Kt=Vt[2]||"0",Ge=Vt[4]||"";Kt=Kt.replace(/\B(?=(\d{3})+(?!\d))/g,Xt),typeof Yt=="number"&&(Ge=Ge.padEnd(Yt,"0").slice(0,Yt>0?Yt:0)),Ge&&(Ge=`${Tt}${Ge}`),un=[ge.createElement("span",{key:"int",className:`${bt}-content-value-int`},nn,Kt),Ge&&ge.createElement("span",{key:"decimal",className:`${bt}-content-value-decimal`},Ge)]}}return ge.createElement("span",{className:`${bt}-content-value`},un)},xe=be(17313),Xe=be(83116),De=be(37613);const Qe=Et=>{const{componentCls:jt,marginXXS:mt,padding:Yt,colorTextDescription:Tt,titleFontSize:Xt,colorTextHeading:bt,contentFontSize:un,fontFamily:Ln}=Et;return{[`${jt}`]:Object.assign(Object.assign({},(0,xe.Wf)(Et)),{[`${jt}-title`]:{marginBottom:mt,color:Tt,fontSize:Xt},[`${jt}-skeleton`]:{paddingTop:Yt},[`${jt}-content`]:{color:bt,fontSize:un,fontFamily:Ln,[`${jt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${jt}-content-prefix, ${jt}-content-suffix`]:{display:"inline-block"},[`${jt}-content-prefix`]:{marginInlineEnd:mt},[`${jt}-content-suffix`]:{marginInlineStart:mt}}})}};var ot=(0,Xe.Z)("Statistic",Et=>{const jt=(0,De.TS)(Et,{});return[Qe(jt)]},Et=>{const{fontSizeHeading3:jt,fontSize:mt}=Et;return{titleFontSize:mt,contentFontSize:jt}}),it=Et=>{const{prefixCls:jt,className:mt,rootClassName:Yt,style:Tt,valueStyle:Xt,value:bt=0,title:un,valueRender:Ln,prefix:Vt,suffix:nn,loading:Kt=!1,onMouseEnter:Ge,onMouseLeave:Fe,decimalSeparator:ft=".",groupSeparator:sn=","}=Et,{getPrefixCls:$t,direction:Mt,statistic:_t}=ge.useContext(lt.E_),hn=$t("statistic",jt),[Jn,Kn]=ot(hn),Ar=ge.createElement(_e,Object.assign({decimalSeparator:ft,groupSeparator:sn,prefixCls:hn},Et,{value:bt})),ln=We()(hn,{[`${hn}-rtl`]:Mt==="rtl"},_t==null?void 0:_t.className,mt,Yt,Kn);return Jn(ge.createElement("div",{className:ln,style:Object.assign(Object.assign({},_t==null?void 0:_t.style),Tt),onMouseEnter:Ge,onMouseLeave:Fe},un&&ge.createElement("div",{className:`${hn}-title`},un),ge.createElement(vt.Z,{paragraph:!1,loading:Kt,className:`${hn}-skeleton`},ge.createElement("div",{style:Xt,className:`${hn}-content`},Vt&&ge.createElement("span",{className:`${hn}-content-prefix`},Vt),Ln?Ln(Ar):Ar,nn&&ge.createElement("span",{className:`${hn}-content-suffix`},nn)))))};const st=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function At(Et,jt){let mt=Et;const Yt=/\[[^\]]*]/g,Tt=(jt.match(Yt)||[]).map(Ln=>Ln.slice(1,-1)),Xt=jt.replace(Yt,"[]"),bt=st.reduce((Ln,Vt)=>{let[nn,Kt]=Vt;if(Ln.includes(nn)){const Ge=Math.floor(mt/Kt);return mt-=Ge*Kt,Ln.replace(new RegExp(`${nn}+`,"g"),Fe=>{const ft=Fe.length;return Ge.toString().padStart(ft,"0")})}return Ln},Xt);let un=0;return bt.replace(Yt,()=>{const Ln=Tt[un];return un+=1,Ln})}function Qt(Et,jt){const{format:mt=""}=jt,Yt=new Date(Et).getTime(),Tt=Date.now(),Xt=Math.max(Yt-Tt,0);return At(Xt,mt)}const pt=1e3/30;function St(Et){return new Date(Et).getTime()}const rt=Et=>{const{value:jt,format:mt="HH:mm:ss",onChange:Yt,onFinish:Tt}=Et,Xt=(0,Lt.Z)(),bt=ge.useRef(null),un=()=>{Tt==null||Tt(),bt.current&&(clearInterval(bt.current),bt.current=null)},Ln=()=>{const Kt=St(jt);Kt>=Date.now()&&(bt.current=setInterval(()=>{Xt(),Yt==null||Yt(Kt-Date.now()),Kt(Ln(),()=>{bt.current&&(clearInterval(bt.current),bt.current=null)}),[jt]);const Vt=(Kt,Ge)=>Qt(Kt,Object.assign(Object.assign({},Ge),{format:mt})),nn=Kt=>(0,ut.Tm)(Kt,{title:void 0});return ge.createElement(it,Object.assign({},Et,{valueRender:nn,formatter:Vt}))};var ze=ge.memo(rt);it.Countdown=ze;var gt=it},8378:function(lr,Yn){"use strict";const be=ge=>({[ge.componentCls]:{[`${ge.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ge.motionDurationMid} ${ge.motionEaseInOut}, opacity ${ge.motionDurationMid} ${ge.motionEaseInOut} !important`}},[`${ge.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ge.motionDurationMid} ${ge.motionEaseInOut}, opacity ${ge.motionDurationMid} ${ge.motionEaseInOut} !important`}}});Yn.Z=be},92899:function(lr,Yn,be){"use strict";be.d(Yn,{Fm:function(){return De}});var ge=be(36237),Lt=be(95406);const ut=new ge.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),zt=new ge.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),We=new ge.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),lt=new ge.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),vt=new ge.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ke=new ge.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),_e=new ge.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xe=new ge.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Xe={"move-up":{inKeyframes:_e,outKeyframes:xe},"move-down":{inKeyframes:ut,outKeyframes:zt},"move-left":{inKeyframes:We,outKeyframes:lt},"move-right":{inKeyframes:vt,outKeyframes:ke}},De=(Qe,ot)=>{const{antCls:qe}=Qe,it=`${qe}-${ot}`,{inKeyframes:st,outKeyframes:At}=Xe[ot];return[(0,Lt.R)(it,st,At,Qe.motionDurationMid),{[` ${it}-enter, ${it}-appear `]:{opacity:0,animationTimingFunction:Qe.motionEaseOutCirc},[`${it}-leave`]:{animationTimingFunction:Qe.motionEaseInOutCirc}}]}},13826:function(lr,Yn,be){"use strict";be.d(Yn,{Qt:function(){return We},Uw:function(){return zt},fJ:function(){return ut},ly:function(){return lt},oN:function(){return De}});var ge=be(36237),Lt=be(95406);const ut=new ge.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),zt=new ge.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),We=new ge.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),lt=new ge.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),vt=new ge.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ke=new ge.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),_e=new ge.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),xe=new ge.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Xe={"slide-up":{inKeyframes:ut,outKeyframes:zt},"slide-down":{inKeyframes:We,outKeyframes:lt},"slide-left":{inKeyframes:vt,outKeyframes:ke},"slide-right":{inKeyframes:_e,outKeyframes:xe}},De=(Qe,ot)=>{const{antCls:qe}=Qe,it=`${qe}-${ot}`,{inKeyframes:st,outKeyframes:At}=Xe[ot];return[(0,Lt.R)(it,st,At,Qe.motionDurationMid),{[` ${it}-enter, ${it}-appear `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Qe.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${it}-leave`]:{animationTimingFunction:Qe.motionEaseInQuint}}]}},78673:function(lr,Yn,be){"use strict";be.d(Yn,{Z:function(){return Xt}});var ge=be(58617),Lt=be(92310),ut=be.n(Lt),zt=be(60499),We=be(18642),lt=be(72190),vt=be(42244),ke=be(59301),_e=be(18929),xe=be(10228),Xe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],De=ke.forwardRef(function(bt,un){var Ln,Vt=bt.prefixCls,nn=Vt===void 0?"rc-switch":Vt,Kt=bt.className,Ge=bt.checked,Fe=bt.defaultChecked,ft=bt.disabled,sn=bt.loadingIcon,$t=bt.checkedChildren,Mt=bt.unCheckedChildren,_t=bt.onClick,hn=bt.onChange,Jn=bt.onKeyDown,Kn=(0,vt.Z)(bt,Xe),Ar=(0,_e.Z)(!1,{value:Ge,defaultValue:Fe}),ln=(0,lt.Z)(Ar,2),on=ln[0],vn=ln[1];function Ue(Me,me){var $e=on;return ft||($e=Me,vn($e),hn==null||hn($e,me)),$e}function we(Me){Me.which===xe.Z.LEFT?Ue(!1,Me):Me.which===xe.Z.RIGHT&&Ue(!0,Me),Jn==null||Jn(Me)}function pe(Me){var me=Ue(!on,Me);_t==null||_t(me,Me)}var Ee=ut()(nn,Kt,(Ln={},(0,We.Z)(Ln,"".concat(nn,"-checked"),on),(0,We.Z)(Ln,"".concat(nn,"-disabled"),ft),Ln));return ke.createElement("button",(0,zt.Z)({},Kn,{type:"button",role:"switch","aria-checked":on,disabled:ft,className:Ee,ref:un,onKeyDown:we,onClick:pe}),sn,ke.createElement("span",{className:"".concat(nn,"-inner")},ke.createElement("span",{className:"".concat(nn,"-inner-checked")},$t),ke.createElement("span",{className:"".concat(nn,"-inner-unchecked")},Mt)))});De.displayName="Switch";var Qe=De,ot=be(14088),qe=be(36355),it=be(1684),st=be(19716),At=be(64993),Qt=be(17313),pt=be(83116),St=be(37613);const rt=bt=>{const{componentCls:un,trackHeightSM:Ln,trackPadding:Vt,trackMinWidthSM:nn,innerMinMarginSM:Kt,innerMaxMarginSM:Ge,handleSizeSM:Fe}=bt,ft=`${un}-inner`;return{[un]:{[`&${un}-small`]:{minWidth:nn,height:Ln,lineHeight:`${Ln}px`,[`${un}-inner`]:{paddingInlineStart:Ge,paddingInlineEnd:Kt,[`${ft}-checked`]:{marginInlineStart:`calc(-100% + ${Fe+Vt*2}px - ${Ge*2}px)`,marginInlineEnd:`calc(100% - ${Fe+Vt*2}px + ${Ge*2}px)`},[`${ft}-unchecked`]:{marginTop:-Ln,marginInlineStart:0,marginInlineEnd:0}},[`${un}-handle`]:{width:Fe,height:Fe},[`${un}-loading-icon`]:{top:(Fe-bt.switchLoadingIconSize)/2,fontSize:bt.switchLoadingIconSize},[`&${un}-checked`]:{[`${un}-inner`]:{paddingInlineStart:Kt,paddingInlineEnd:Ge,[`${ft}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ft}-unchecked`]:{marginInlineStart:`calc(100% - ${Fe+Vt*2}px + ${Ge*2}px)`,marginInlineEnd:`calc(-100% + ${Fe+Vt*2}px - ${Ge*2}px)`}},[`${un}-handle`]:{insetInlineStart:`calc(100% - ${Fe+Vt}px)`}},[`&:not(${un}-disabled):active`]:{[`&:not(${un}-checked) ${ft}`]:{[`${ft}-unchecked`]:{marginInlineStart:bt.marginXXS/2,marginInlineEnd:-bt.marginXXS/2}},[`&${un}-checked ${ft}`]:{[`${ft}-checked`]:{marginInlineStart:-bt.marginXXS/2,marginInlineEnd:bt.marginXXS/2}}}}}}},ze=bt=>{const{componentCls:un,handleSize:Ln}=bt;return{[un]:{[`${un}-loading-icon${bt.iconCls}`]:{position:"relative",top:(Ln-bt.fontSize)/2,color:bt.switchLoadingIconColor,verticalAlign:"top"},[`&${un}-checked ${un}-loading-icon`]:{color:bt.switchColor}}}},gt=bt=>{const{componentCls:un,motion:Ln,trackPadding:Vt,handleBg:nn,handleShadow:Kt,handleSize:Ge}=bt,Fe=`${un}-handle`;return{[un]:{[Fe]:{position:"absolute",top:Vt,insetInlineStart:Vt,width:Ge,height:Ge,transition:`all ${bt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:nn,borderRadius:Ge/2,boxShadow:Kt,transition:`all ${bt.switchDuration} ease-in-out`,content:'""'}},[`&${un}-checked ${Fe}`]:{insetInlineStart:`calc(100% - ${Ge+Vt}px)`},[`&:not(${un}-disabled):active`]:Ln?{[`${Fe}::before`]:{insetInlineEnd:bt.switchHandleActiveInset,insetInlineStart:0},[`&${un}-checked ${Fe}::before`]:{insetInlineEnd:0,insetInlineStart:bt.switchHandleActiveInset}}:{}}}},Et=bt=>{const{componentCls:un,trackHeight:Ln,trackPadding:Vt,innerMinMargin:nn,innerMaxMargin:Kt,handleSize:Ge}=bt,Fe=`${un}-inner`;return{[un]:{[Fe]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Kt,paddingInlineEnd:nn,transition:`padding-inline-start ${bt.switchDuration} ease-in-out, padding-inline-end ${bt.switchDuration} ease-in-out`,[`${Fe}-checked, ${Fe}-unchecked`]:{display:"block",color:bt.colorTextLightSolid,fontSize:bt.fontSizeSM,transition:`margin-inline-start ${bt.switchDuration} ease-in-out, margin-inline-end ${bt.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Fe}-checked`]:{marginInlineStart:`calc(-100% + ${Ge+Vt*2}px - ${Kt*2}px)`,marginInlineEnd:`calc(100% - ${Ge+Vt*2}px + ${Kt*2}px)`},[`${Fe}-unchecked`]:{marginTop:-Ln,marginInlineStart:0,marginInlineEnd:0}},[`&${un}-checked ${Fe}`]:{paddingInlineStart:nn,paddingInlineEnd:Kt,[`${Fe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Fe}-unchecked`]:{marginInlineStart:`calc(100% - ${Ge+Vt*2}px + ${Kt*2}px)`,marginInlineEnd:`calc(-100% + ${Ge+Vt*2}px - ${Kt*2}px)`}},[`&:not(${un}-disabled):active`]:{[`&:not(${un}-checked) ${Fe}`]:{[`${Fe}-unchecked`]:{marginInlineStart:Vt*2,marginInlineEnd:-Vt*2}},[`&${un}-checked ${Fe}`]:{[`${Fe}-checked`]:{marginInlineStart:-Vt*2,marginInlineEnd:Vt*2}}}}}},jt=bt=>{const{componentCls:un,trackHeight:Ln,trackMinWidth:Vt}=bt;return{[un]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qt.Wf)(bt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Vt,height:Ln,lineHeight:`${Ln}px`,verticalAlign:"middle",background:bt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${bt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${un}-disabled)`]:{background:bt.colorTextTertiary}}),(0,Qt.Qy)(bt)),{[`&${un}-checked`]:{background:bt.switchColor,[`&:hover:not(${un}-disabled)`]:{background:bt.colorPrimaryHover}},[`&${un}-loading, &${un}-disabled`]:{cursor:"not-allowed",opacity:bt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${un}-rtl`]:{direction:"rtl"}})}};var mt=(0,pt.Z)("Switch",bt=>{const un=(0,St.TS)(bt,{switchDuration:bt.motionDurationMid,switchColor:bt.colorPrimary,switchDisabledOpacity:bt.opacityLoading,switchLoadingIconSize:bt.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${bt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jt(un),Et(un),gt(un),ze(un),rt(un)]},bt=>{const{fontSize:un,lineHeight:Ln,controlHeight:Vt,colorWhite:nn}=bt,Kt=un*Ln,Ge=Vt/2,Fe=2,ft=Kt-Fe*2,sn=Ge-Fe*2;return{trackHeight:Kt,trackHeightSM:Ge,trackMinWidth:ft*2+Fe*4,trackMinWidthSM:sn*2+Fe*2,trackPadding:Fe,handleBg:nn,handleSize:ft,handleSizeSM:sn,handleShadow:`0 2px 4px 0 ${new At.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:ft/2,innerMaxMargin:ft+Fe+Fe*2,innerMinMarginSM:sn/2,innerMaxMarginSM:sn+Fe+Fe*2}}),Yt=function(bt,un){var Ln={};for(var Vt in bt)Object.prototype.hasOwnProperty.call(bt,Vt)&&un.indexOf(Vt)<0&&(Ln[Vt]=bt[Vt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nn=0,Vt=Object.getOwnPropertySymbols(bt);nn{const{prefixCls:Ln,size:Vt,disabled:nn,loading:Kt,className:Ge,rootClassName:Fe,style:ft}=bt,sn=Yt(bt,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:$t,direction:Mt,switch:_t}=ke.useContext(qe.E_),hn=ke.useContext(it.Z),Jn=(nn!=null?nn:hn)||Kt,Kn=$t("switch",Ln),Ar=ke.createElement("div",{className:`${Kn}-handle`},Kt&&ke.createElement(ge.Z,{className:`${Kn}-loading-icon`})),[ln,on]=mt(Kn),vn=(0,st.Z)(Vt),Ue=ut()(_t==null?void 0:_t.className,{[`${Kn}-small`]:vn==="small",[`${Kn}-loading`]:Kt,[`${Kn}-rtl`]:Mt==="rtl"},Ge,Fe,on),we=Object.assign(Object.assign({},_t==null?void 0:_t.style),ft);return ln(ke.createElement(ot.Z,{component:"Switch"},ke.createElement(Qe,Object.assign({},sn,{prefixCls:Kn,className:Ue,style:we,disabled:Jn,ref:un,loadingIcon:Ar}))))});Tt.__ANT_SWITCH=!0;var Xt=Tt},99313:function(lr,Yn,be){"use strict";be.d(Yn,{default:function(){return cn}});var ge=be(99267),Lt=be(18785),ut=be(62772),zt=be(92310),We=be.n(zt),lt=be(60499),vt=be(18642),ke=be(85899),_e=be(72190),xe=be(43749),Xe=be(42244),De=be(59301),Qe=be(49658),ot=be(18929),qe=be(77900),it=(0,De.createContext)(null),st=De.forwardRef(function(tt,yt){var ht=tt.prefixCls,dt=tt.className,xt=tt.style,Gt=tt.id,Fn=tt.active,Mn=tt.tabKey,jn=tt.children;return De.createElement("div",{id:Gt&&"".concat(Gt,"-panel-").concat(Mn),role:"tabpanel",tabIndex:Fn?0:-1,"aria-labelledby":Gt&&"".concat(Gt,"-tab-").concat(Mn),"aria-hidden":!Fn,style:xt,className:We()(ht,Fn&&"".concat(ht,"-active"),dt),ref:yt},jn)}),At=st,Qt=["key","forceRender","style","className"];function pt(tt){var yt=tt.id,ht=tt.activeKey,dt=tt.animated,xt=tt.tabPosition,Gt=tt.destroyInactiveTabPane,Fn=De.useContext(it),Mn=Fn.prefixCls,jn=Fn.tabs,or=dt.tabPane,Sr="".concat(Mn,"-tabpane");return De.createElement("div",{className:We()("".concat(Mn,"-content-holder"))},De.createElement("div",{className:We()("".concat(Mn,"-content"),"".concat(Mn,"-content-").concat(xt),(0,vt.Z)({},"".concat(Mn,"-content-animated"),or))},jn.map(function(Pr){var Qn=Pr.key,mr=Pr.forceRender,vi=Pr.style,qr=Pr.className,Mi=(0,Xe.Z)(Pr,Qt),pi=Qn===ht;return De.createElement(qe.default,(0,lt.Z)({key:Qn,visible:pi,forceRender:mr,removeOnLeave:!!Gt,leavedClassName:"".concat(Sr,"-hidden")},dt.tabPaneMotion),function(Xi,Dr){var Ri=Xi.style,tn=Xi.className;return De.createElement(At,(0,lt.Z)({},Mi,{prefixCls:Sr,id:yt,tabKey:Qn,animated:or,active:pi,style:(0,ke.Z)((0,ke.Z)({},vi),Ri),className:We()(qr,tn),ref:Dr}))})})))}var St=be(77654),rt=be(29301),ze=be(6089),gt=be(8654),Et={width:0,height:0,left:0,top:0};function jt(tt,yt,ht){return(0,De.useMemo)(function(){for(var dt,xt=new Map,Gt=yt.get((dt=tt[0])===null||dt===void 0?void 0:dt.key)||Et,Fn=Gt.left+Gt.width,Mn=0;Mnui?(Qr=cr,Xn.current="x"):(Qr=rr,Xn.current="y"),yt(-Qr,-Qr)&&$n.preventDefault()}var yr=(0,De.useRef)(null);yr.current={onTouchStart:Dr,onTouchMove:Ri,onTouchEnd:tn,onWheel:Gn},De.useEffect(function(){function $n(Yr){yr.current.onTouchStart(Yr)}function cr(Yr){yr.current.onTouchMove(Yr)}function rr(Yr){yr.current.onTouchEnd(Yr)}function Qr(Yr){yr.current.onWheel(Yr)}return document.addEventListener("touchmove",cr,{passive:!1}),document.addEventListener("touchend",rr,{passive:!1}),tt.current.addEventListener("touchstart",$n,{passive:!1}),tt.current.addEventListener("wheel",Qr),function(){document.removeEventListener("touchmove",cr),document.removeEventListener("touchend",rr)}},[])}var Ln=be(34280);function Vt(tt){var yt=(0,De.useState)(0),ht=(0,_e.Z)(yt,2),dt=ht[0],xt=ht[1],Gt=(0,De.useRef)(0),Fn=(0,De.useRef)();return Fn.current=tt,(0,Ln.o)(function(){var Mn;(Mn=Fn.current)===null||Mn===void 0||Mn.call(Fn)},[dt]),function(){Gt.current===dt&&(Gt.current+=1,xt(Gt.current))}}function nn(tt){var yt=(0,De.useRef)([]),ht=(0,De.useState)({}),dt=(0,_e.Z)(ht,2),xt=dt[1],Gt=(0,De.useRef)(typeof tt=="function"?tt():tt),Fn=Vt(function(){var jn=Gt.current;yt.current.forEach(function(or){jn=or(jn)}),yt.current=[],Gt.current=jn,xt({})});function Mn(jn){yt.current.push(jn),Fn()}return[Gt.current,Mn]}var Kt={width:0,height:0,left:0,top:0,right:0};function Ge(tt,yt,ht,dt,xt,Gt,Fn){var Mn=Fn.tabs,jn=Fn.tabPosition,or=Fn.rtl,Sr,Pr,Qn;return["top","bottom"].includes(jn)?(Sr="width",Pr=or?"right":"left",Qn=Math.abs(ht)):(Sr="height",Pr="top",Qn=-ht),(0,De.useMemo)(function(){if(!Mn.length)return[0,0];for(var mr=Mn.length,vi=mr,qr=0;qrQn+yt){vi=qr-1;break}}for(var pi=0,Xi=mr-1;Xi>=0;Xi-=1){var Dr=tt.get(Mn[Xi].key)||Kt;if(Dr[Pr]=vi?[0,0]:[pi,vi]},[tt,yt,dt,xt,Gt,Qn,jn,Mn.map(function(mr){return mr.key}).join("_"),or])}function Fe(tt){var yt;return tt instanceof Map?(yt={},tt.forEach(function(ht,dt){yt[dt]=ht})):yt=tt,JSON.stringify(yt)}var ft="TABS_DQ";function sn(tt){return String(tt).replace(/"/g,ft)}function $t(tt,yt,ht,dt){return!(!ht||dt||tt===!1||tt===void 0&&(yt===!1||yt===null))}function Mt(tt,yt){var ht=tt.prefixCls,dt=tt.editable,xt=tt.locale,Gt=tt.style;return!dt||dt.showAdd===!1?null:De.createElement("button",{ref:yt,type:"button",className:"".concat(ht,"-nav-add"),style:Gt,"aria-label":(xt==null?void 0:xt.addAriaLabel)||"Add tab",onClick:function(Mn){dt.onEdit("add",{event:Mn})}},dt.addIcon||"+")}var _t=De.forwardRef(Mt),hn=De.forwardRef(function(tt,yt){var ht=tt.position,dt=tt.prefixCls,xt=tt.extra;if(!xt)return null;var Gt,Fn={};return(0,xe.Z)(xt)==="object"&&!De.isValidElement(xt)?Fn=xt:Fn.right=xt,ht==="right"&&(Gt=Fn.right),ht==="left"&&(Gt=Fn.left),Gt?De.createElement("div",{className:"".concat(dt,"-extra-content"),ref:yt},Gt):null}),Jn=hn,Kn=be(31561),Ar=be(15285),ln=be(10228);function on(tt,yt){var ht=tt.prefixCls,dt=tt.id,xt=tt.tabs,Gt=tt.locale,Fn=tt.mobile,Mn=tt.moreIcon,jn=Mn===void 0?"More":Mn,or=tt.moreTransitionName,Sr=tt.style,Pr=tt.className,Qn=tt.editable,mr=tt.tabBarGutter,vi=tt.rtl,qr=tt.removeAriaLabel,Mi=tt.onTabClick,pi=tt.getPopupContainer,Xi=tt.popupClassName,Dr=(0,De.useState)(!1),Ri=(0,_e.Z)(Dr,2),tn=Ri[0],Xn=Ri[1],Gn=(0,De.useState)(null),yr=(0,_e.Z)(Gn,2),$n=yr[0],cr=yr[1],rr="".concat(dt,"-more-popup"),Qr="".concat(ht,"-dropdown"),Yr=$n!==null?"".concat(rr,"-").concat($n):null,ui=Gt==null?void 0:Gt.dropdownAriaLabel;function $i(ga,Pi){ga.preventDefault(),ga.stopPropagation(),Qn.onEdit("remove",{key:Pi,event:ga})}var oa=De.createElement(Ar.ZP,{onClick:function(Pi){var aa=Pi.key,ma=Pi.domEvent;Mi(aa,ma),Xn(!1)},prefixCls:"".concat(Qr,"-menu"),id:rr,tabIndex:-1,role:"listbox","aria-activedescendant":Yr,selectedKeys:[$n],"aria-label":ui!==void 0?ui:"expanded dropdown"},xt.map(function(ga){var Pi=ga.closable,aa=ga.disabled,ma=ga.closeIcon,Vi=ga.key,Oa=ga.label,so=$t(Pi,ma,Qn,aa);return De.createElement(Ar.sN,{key:Vi,id:"".concat(rr,"-").concat(Vi),role:"option","aria-controls":dt&&"".concat(dt,"-panel-").concat(Vi),disabled:aa},De.createElement("span",null,Oa),so&&De.createElement("button",{type:"button","aria-label":qr||"remove",tabIndex:0,className:"".concat(Qr,"-menu-item-remove"),onClick:function(Ai){Ai.stopPropagation(),$i(Ai,Vi)}},ma||Qn.removeIcon||"\xD7"))}));function Ba(ga){for(var Pi=xt.filter(function(so){return!so.disabled}),aa=Pi.findIndex(function(so){return so.key===$n})||0,ma=Pi.length,Vi=0;Vika?"left":"right"})}),ui=(0,_e.Z)(Yr,2),$i=ui[0],oa=ui[1],Ba=mt(0,function(pa,ka){!Qr&&Dr&&Dr({direction:pa>ka?"top":"bottom"})}),ca=(0,_e.Z)(Ba,2),Ji=ca[0],Ma=ca[1],Ca=(0,De.useState)([0,0]),ga=(0,_e.Z)(Ca,2),Pi=ga[0],aa=ga[1],ma=(0,De.useState)([0,0]),Vi=(0,_e.Z)(ma,2),Oa=Vi[0],so=Vi[1],ua=(0,De.useState)([0,0]),Ai=(0,_e.Z)(ua,2),Xr=Ai[0],na=Ai[1],qi=(0,De.useState)([0,0]),fa=(0,_e.Z)(qi,2),Qa=fa[0],_a=fa[1],co=nn(new Map),za=(0,_e.Z)(co,2),Ko=za[0],ji=za[1],Ui=jt(Gt,Ko,Oa[0]),Na=$e(Pi,Qr),Ua=$e(Oa,Qr),Fo=$e(Xr,Qr),$s=$e(Qa,Qr),Oo=NaNi?Ni:pa}var ki=(0,De.useRef)(),zi=(0,De.useState)(),ao=(0,_e.Z)(zi,2),ns=ao[0],No=ao[1];function So(){No(Date.now())}function mo(){window.clearTimeout(ki.current)}un(yr,function(pa,ka){function fo(Ta,Sa){Ta(function(to){var Ya=Fi(to+Sa);return Ya})}return Oo?(Qr?fo(oa,pa):fo(Ma,ka),mo(),So(),!0):!1}),(0,De.useEffect)(function(){return mo(),ns&&(ki.current=window.setTimeout(function(){No(0)},100)),mo},[ns]);var Go=Ge(Ui,Ao,Qr?$i:Ji,Ua,Fo,$s,(0,ke.Z)((0,ke.Z)({},tt),{},{tabs:Gt})),Us=(0,_e.Z)(Go,2),bs=Us[0],Cl=Us[1],ol=(0,ze.Z)(function(){var pa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Sr,ka=Ui.get(pa)||{width:0,height:0,left:0,right:0,top:0};if(Qr){var fo=$i;Pr?ka.right<$i?fo=ka.right:ka.right+ka.width>$i+Ao&&(fo=ka.right+ka.width-Ao):ka.left<-$i?fo=-ka.left:ka.left+ka.width>-$i+Ao&&(fo=-(ka.left+ka.width-Ao)),Ma(0),oa(Fi(fo))}else{var Ta=Ji;ka.top<-Ji?Ta=-ka.top:ka.top+ka.height>-Ji+Ao&&(Ta=-(ka.top+ka.height-Ao)),oa(0),Ma(Fi(Ta))}}),Is={};qr==="top"||qr==="bottom"?Is[Pr?"marginRight":"marginLeft"]=Mi:Is.marginTop=Mi;var bc=Gt.map(function(pa,ka){var fo=pa.key;return De.createElement(we,{id:jn,prefixCls:xt,key:fo,tab:pa,style:ka===0?void 0:Is,closable:pa.closable,editable:mr,active:fo===Sr,renderWrapper:pi,removeAriaLabel:vi==null?void 0:vi.removeAriaLabel,onClick:function(Sa){Xi(fo,Sa)},onFocus:function(){ol(fo),So(),yr.current&&(Pr||(yr.current.scrollLeft=0),yr.current.scrollTop=0)}})}),Ul=function(){return ji(function(){var ka=new Map;return Gt.forEach(function(fo){var Ta,Sa=fo.key,to=(Ta=$n.current)===null||Ta===void 0?void 0:Ta.querySelector('[data-node-key="'.concat(sn(Sa),'"]'));to&&ka.set(Sa,{width:to.offsetWidth,height:to.offsetHeight,left:to.offsetLeft,top:to.offsetTop})}),ka})};(0,De.useEffect)(function(){Ul()},[Gt.map(function(pa){return pa.key}).join("_")]);var Ml=Vt(function(){var pa=me(tn),ka=me(Xn),fo=me(Gn);aa([pa[0]-ka[0]-fo[0],pa[1]-ka[1]-fo[1]]);var Ta=me(rr);na(Ta);var Sa=me(cr);_a(Sa);var to=me($n);so([to[0]-Ta[0],to[1]-Ta[1]]),Ul()}),hr=Gt.slice(0,bs),zn=Gt.slice(Cl+1),Hn=[].concat((0,St.Z)(hr),(0,St.Z)(zn)),Tr=Ui.get(Sr),ei=Me({activeTabOffset:Tr,horizontal:Qr,rtl:Pr,indicatorSize:Ri}),ai=ei.style;(0,De.useEffect)(function(){ol()},[Sr,ts,Ni,Fe(Tr),Fe(Ui),Qr]),(0,De.useEffect)(function(){Ml()},[Pr]);var Er=!!Hn.length,Si="".concat(xt,"-nav-wrap"),ha,Ha,va,xi;return Qr?Pr?(Ha=$i>0,ha=$i!==Ni):(ha=$i<0,Ha=$i!==ts):(va=Ji<0,xi=Ji!==ts),De.createElement(rt.Z,{onResize:Ml},De.createElement("div",{ref:(0,gt.x1)(yt,tn),role:"tablist",className:We()("".concat(xt,"-nav"),Fn),style:Mn,onKeyDown:function(){So()}},De.createElement(Jn,{ref:Xn,position:"left",extra:Qn,prefixCls:xt}),De.createElement(rt.Z,{onResize:Ml},De.createElement("div",{className:We()(Si,(ht={},(0,vt.Z)(ht,"".concat(Si,"-ping-left"),ha),(0,vt.Z)(ht,"".concat(Si,"-ping-right"),Ha),(0,vt.Z)(ht,"".concat(Si,"-ping-top"),va),(0,vt.Z)(ht,"".concat(Si,"-ping-bottom"),xi),ht)),ref:yr},De.createElement(rt.Z,{onResize:Ml},De.createElement("div",{ref:$n,className:"".concat(xt,"-nav-list"),style:{transform:"translate(".concat($i,"px, ").concat(Ji,"px)"),transition:ns?"none":void 0}},bc,De.createElement(_t,{ref:rr,prefixCls:xt,locale:vi,editable:mr,style:(0,ke.Z)((0,ke.Z)({},bc.length===0?void 0:Is),{},{visibility:Er?"hidden":null})}),De.createElement("div",{className:We()("".concat(xt,"-ink-bar"),(0,vt.Z)({},"".concat(xt,"-ink-bar-animated"),or.inkBar)),style:ai}))))),De.createElement(vn,(0,lt.Z)({},tt,{removeAriaLabel:vi==null?void 0:vi.removeAriaLabel,ref:cr,prefixCls:xt,tabs:Hn,className:!Er&&zo,tabMoving:!!ns})),De.createElement(Jn,{ref:Gn,position:"right",extra:Qn,prefixCls:xt})))}var an=De.forwardRef(Pt),An=["renderTabBar"],In=["label","key"];function En(tt){var yt=tt.renderTabBar,ht=(0,Xe.Z)(tt,An),dt=De.useContext(it),xt=dt.tabs;if(yt){var Gt=(0,ke.Z)((0,ke.Z)({},ht),{},{panes:xt.map(function(Fn){var Mn=Fn.label,jn=Fn.key,or=(0,Xe.Z)(Fn,In);return De.createElement(At,(0,lt.Z)({tab:Mn,key:jn,tabKey:jn},or))})});return yt(Gt,an)}return De.createElement(an,ht)}var Pn=be(48736);function Zn(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},yt;return tt===!1?yt={inkBar:!1,tabPane:!1}:tt===!0?yt={inkBar:!0,tabPane:!1}:yt=(0,ke.Z)({inkBar:!0},(0,xe.Z)(tt)==="object"?tt:{}),yt.tabPaneMotion&&yt.tabPane===void 0&&(yt.tabPane=!0),!yt.tabPaneMotion&&yt.tabPane&&(yt.tabPane=!1),yt}var Cr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Bt=0;function dn(tt,yt){var ht,dt=tt.id,xt=tt.prefixCls,Gt=xt===void 0?"rc-tabs":xt,Fn=tt.className,Mn=tt.items,jn=tt.direction,or=tt.activeKey,Sr=tt.defaultActiveKey,Pr=tt.editable,Qn=tt.animated,mr=tt.tabPosition,vi=mr===void 0?"top":mr,qr=tt.tabBarGutter,Mi=tt.tabBarStyle,pi=tt.tabBarExtraContent,Xi=tt.locale,Dr=tt.moreIcon,Ri=tt.moreTransitionName,tn=tt.destroyInactiveTabPane,Xn=tt.renderTabBar,Gn=tt.onChange,yr=tt.onTabClick,$n=tt.onTabScroll,cr=tt.getPopupContainer,rr=tt.popupClassName,Qr=tt.indicatorSize,Yr=(0,Xe.Z)(tt,Cr),ui=De.useMemo(function(){return(Mn||[]).filter(function(_a){return _a&&(0,xe.Z)(_a)==="object"&&"key"in _a})},[Mn]),$i=jn==="rtl",oa=Zn(Qn),Ba=(0,De.useState)(!1),ca=(0,_e.Z)(Ba,2),Ji=ca[0],Ma=ca[1];(0,De.useEffect)(function(){Ma((0,Qe.Z)())},[]);var Ca=(0,ot.Z)(function(){var _a;return(_a=ui[0])===null||_a===void 0?void 0:_a.key},{value:or,defaultValue:Sr}),ga=(0,_e.Z)(Ca,2),Pi=ga[0],aa=ga[1],ma=(0,De.useState)(function(){return ui.findIndex(function(_a){return _a.key===Pi})}),Vi=(0,_e.Z)(ma,2),Oa=Vi[0],so=Vi[1];(0,De.useEffect)(function(){var _a=ui.findIndex(function(za){return za.key===Pi});if(_a===-1){var co;_a=Math.max(0,Math.min(Oa,ui.length-1)),aa((co=ui[_a])===null||co===void 0?void 0:co.key)}so(_a)},[ui.map(function(_a){return _a.key}).join("_"),Pi,Oa]);var ua=(0,ot.Z)(null,{value:dt}),Ai=(0,_e.Z)(ua,2),Xr=Ai[0],na=Ai[1];(0,De.useEffect)(function(){dt||(na("rc-tabs-".concat(Bt)),Bt+=1)},[]);function qi(_a,co){yr==null||yr(_a,co);var za=_a!==Pi;aa(_a),za&&(Gn==null||Gn(_a))}var fa={id:Xr,activeKey:Pi,animated:oa,tabPosition:vi,rtl:$i,mobile:Ji},Qa=(0,ke.Z)((0,ke.Z)({},fa),{},{editable:Pr,locale:Xi,moreIcon:Dr,moreTransitionName:Ri,tabBarGutter:qr,onTabClick:qi,onTabScroll:$n,extra:pi,style:Mi,panes:null,getPopupContainer:cr,popupClassName:rr,indicatorSize:Qr});return De.createElement(it.Provider,{value:{tabs:ui,prefixCls:Gt}},De.createElement("div",(0,lt.Z)({ref:yt,id:dt,className:We()(Gt,"".concat(Gt,"-").concat(vi),(ht={},(0,vt.Z)(ht,"".concat(Gt,"-mobile"),Ji),(0,vt.Z)(ht,"".concat(Gt,"-editable"),Pr),(0,vt.Z)(ht,"".concat(Gt,"-rtl"),$i),ht),Fn)},Yr),De.createElement(En,(0,lt.Z)({},Qa,{renderTabBar:Xn})),De.createElement(pt,(0,lt.Z)({destroyInactiveTabPane:tn},fa,{animated:oa}))))}var _n=De.forwardRef(dn),Ot=_n,nt=Ot,Ft=be(36355),Tn=be(19716),tr=()=>null,jr=be(62892);const Nr={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Kr(tt){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},ht;return yt===!1?ht={inkBar:!1,tabPane:!1}:yt===!0?ht={inkBar:!0,tabPane:!0}:ht=Object.assign({inkBar:!0},typeof yt=="object"?yt:{}),ht.tabPane&&(ht.tabPaneMotion=Object.assign(Object.assign({},Nr),{motionName:(0,jr.m)(tt,"switch")})),ht}var kr=be(11592),dr=function(tt,yt){var ht={};for(var dt in tt)Object.prototype.hasOwnProperty.call(tt,dt)&&yt.indexOf(dt)<0&&(ht[dt]=tt[dt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,dt=Object.getOwnPropertySymbols(tt);xtyt)}function zr(tt,yt){if(tt)return tt;const ht=(0,kr.Z)(yt).map(dt=>{if(De.isValidElement(dt)){const{key:xt,props:Gt}=dt,Fn=Gt||{},{tab:Mn}=Fn,jn=dr(Fn,["tab"]);return Object.assign(Object.assign({key:String(xt)},jn),{label:Mn})}return null});return pr(ht)}var mi=be(17313),si=be(83116),xa=be(37613),Ti=be(13826),Wr=tt=>{const{componentCls:yt,motionDurationSlow:ht}=tt;return[{[yt]:{[`${yt}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${ht}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${ht}`}}}}},[(0,Ti.oN)(tt,"slide-up"),(0,Ti.oN)(tt,"slide-down")]]};const Fa=tt=>{const{componentCls:yt,tabsCardPadding:ht,cardBg:dt,cardGutter:xt,colorBorderSecondary:Gt,itemSelectedColor:Fn}=tt;return{[`${yt}-card`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{margin:0,padding:ht,background:dt,border:`${tt.lineWidth}px ${tt.lineType} ${Gt}`,transition:`all ${tt.motionDurationSlow} ${tt.motionEaseInOut}`},[`${yt}-tab-active`]:{color:Fn,background:tt.colorBgContainer},[`${yt}-ink-bar`]:{visibility:"hidden"}},[`&${yt}-top, &${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab + ${yt}-tab`]:{marginLeft:{_skip_check_:!0,value:`${xt}px`}}}},[`&${yt}-top`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:`${tt.borderRadiusLG}px ${tt.borderRadiusLG}px 0 0`},[`${yt}-tab-active`]:{borderBottomColor:tt.colorBgContainer}}},[`&${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:`0 0 ${tt.borderRadiusLG}px ${tt.borderRadiusLG}px`},[`${yt}-tab-active`]:{borderTopColor:tt.colorBgContainer}}},[`&${yt}-left, &${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab + ${yt}-tab`]:{marginTop:`${xt}px`}}},[`&${yt}-left`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${tt.borderRadiusLG}px 0 0 ${tt.borderRadiusLG}px`}},[`${yt}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:tt.colorBgContainer}}}},[`&${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${tt.borderRadiusLG}px ${tt.borderRadiusLG}px 0`}},[`${yt}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:tt.colorBgContainer}}}}}}},Oi=tt=>{const{componentCls:yt,itemHoverColor:ht,dropdownEdgeChildVerticalPadding:dt}=tt;return{[`${yt}-dropdown`]:Object.assign(Object.assign({},(0,mi.Wf)(tt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:tt.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${yt}-dropdown-menu`]:{maxHeight:tt.tabsDropdownHeight,margin:0,padding:`${dt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:tt.colorBgContainer,backgroundClip:"padding-box",borderRadius:tt.borderRadiusLG,outline:"none",boxShadow:tt.boxShadowSecondary,"&-item":Object.assign(Object.assign({},mi.vS),{display:"flex",alignItems:"center",minWidth:tt.tabsDropdownWidth,margin:0,padding:`${tt.paddingXXS}px ${tt.paddingSM}px`,color:tt.colorText,fontWeight:"normal",fontSize:tt.fontSize,lineHeight:tt.lineHeight,cursor:"pointer",transition:`all ${tt.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:tt.marginSM},color:tt.colorTextDescription,fontSize:tt.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:ht}},"&:hover":{background:tt.controlItemBgHover},"&-disabled":{"&, &:hover":{color:tt.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Yi=tt=>{const{componentCls:yt,margin:ht,colorBorderSecondary:dt,horizontalMargin:xt,verticalItemPadding:Gt,verticalItemMargin:Fn}=tt;return{[`${yt}-top, ${yt}-bottom`]:{flexDirection:"column",[`> ${yt}-nav, > div > ${yt}-nav`]:{margin:xt,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${tt.lineWidth}px ${tt.lineType} ${dt}`,content:"''"},[`${yt}-ink-bar`]:{height:tt.lineWidthBold,"&-animated":{transition:`width ${tt.motionDurationSlow}, left ${tt.motionDurationSlow}, right ${tt.motionDurationSlow}`}},[`${yt}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:tt.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:tt.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:tt.boxShadowTabsOverflowRight},[`&${yt}-nav-wrap-ping-left::before`]:{opacity:1},[`&${yt}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${yt}-top`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{"&::before":{bottom:0},[`${yt}-ink-bar`]:{bottom:0}}},[`${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{order:1,marginTop:`${ht}px`,marginBottom:0,"&::before":{top:0},[`${yt}-ink-bar`]:{top:0}},[`> ${yt}-content-holder, > div > ${yt}-content-holder`]:{order:0}},[`${yt}-left, ${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{flexDirection:"column",minWidth:tt.controlHeight*1.25,[`${yt}-tab`]:{padding:Gt,textAlign:"center"},[`${yt}-tab + ${yt}-tab`]:{margin:Fn},[`${yt}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:tt.controlHeight},"&::before":{top:0,boxShadow:tt.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:tt.boxShadowTabsOverflowBottom},[`&${yt}-nav-wrap-ping-top::before`]:{opacity:1},[`&${yt}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${yt}-ink-bar`]:{width:tt.lineWidthBold,"&-animated":{transition:`height ${tt.motionDurationSlow}, top ${tt.motionDurationSlow}`}},[`${yt}-nav-list, ${yt}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${yt}-left`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${yt}-content-holder, > div > ${yt}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${tt.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${tt.lineWidth}px ${tt.lineType} ${tt.colorBorder}`},[`> ${yt}-content > ${yt}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:tt.paddingLG}}}},[`${yt}-right`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{order:1,[`${yt}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${yt}-content-holder, > div > ${yt}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-tt.lineWidth},borderRight:{_skip_check_:!0,value:`${tt.lineWidth}px ${tt.lineType} ${tt.colorBorder}`},[`> ${yt}-content > ${yt}-tabpane`]:{paddingRight:{_skip_check_:!0,value:tt.paddingLG}}}}}},Da=tt=>{const{componentCls:yt,cardPaddingSM:ht,cardPaddingLG:dt,horizontalItemPaddingSM:xt,horizontalItemPaddingLG:Gt}=tt;return{[yt]:{"&-small":{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:xt,fontSize:tt.titleFontSizeSM}}},"&-large":{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:Gt,fontSize:tt.titleFontSizeLG}}}},[`${yt}-card`]:{[`&${yt}-small`]:{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:ht}},[`&${yt}-bottom`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:`0 0 ${tt.borderRadius}px ${tt.borderRadius}px`}},[`&${yt}-top`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:`${tt.borderRadius}px ${tt.borderRadius}px 0 0`}},[`&${yt}-right`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${tt.borderRadius}px ${tt.borderRadius}px 0`}}},[`&${yt}-left`]:{[`> ${yt}-nav ${yt}-tab`]:{borderRadius:{_skip_check_:!0,value:`${tt.borderRadius}px 0 0 ${tt.borderRadius}px`}}}},[`&${yt}-large`]:{[`> ${yt}-nav`]:{[`${yt}-tab`]:{padding:dt}}}}}},Qi=tt=>{const{componentCls:yt,itemActiveColor:ht,itemHoverColor:dt,iconCls:xt,tabsHorizontalItemMargin:Gt,horizontalItemPadding:Fn,itemSelectedColor:Mn,itemColor:jn}=tt,or=`${yt}-tab`;return{[or]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:Fn,fontSize:tt.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:jn,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:ht}},(0,mi.Qy)(tt)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-tt.marginXXS},marginLeft:{_skip_check_:!0,value:tt.marginXS},color:tt.colorTextDescription,fontSize:tt.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${tt.motionDurationSlow}`,"&:hover":{color:tt.colorTextHeading}},"&:hover":{color:dt},[`&${or}-active ${or}-btn`]:{color:Mn,textShadow:tt.tabsActiveTextShadow},[`&${or}-disabled`]:{color:tt.colorTextDisabled,cursor:"not-allowed"},[`&${or}-disabled ${or}-btn, &${or}-disabled ${yt}-remove`]:{"&:focus, &:active":{color:tt.colorTextDisabled}},[`& ${or}-remove ${xt}`]:{margin:0},[xt]:{marginRight:{_skip_check_:!0,value:tt.marginSM}}},[`${or} + ${or}`]:{margin:{_skip_check_:!0,value:Gt}}}},Bi=tt=>{const{componentCls:yt,tabsHorizontalItemMarginRTL:ht,iconCls:dt,cardGutter:xt}=tt;return{[`${yt}-rtl`]:{direction:"rtl",[`${yt}-nav`]:{[`${yt}-tab`]:{margin:{_skip_check_:!0,value:ht},[`${yt}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[dt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${tt.marginSM}px`}},[`${yt}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${tt.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${tt.marginXXS}px`},[dt]:{margin:0}}}},[`&${yt}-left`]:{[`> ${yt}-nav`]:{order:1},[`> ${yt}-content-holder`]:{order:0}},[`&${yt}-right`]:{[`> ${yt}-nav`]:{order:0},[`> ${yt}-content-holder`]:{order:1}},[`&${yt}-card${yt}-top, &${yt}-card${yt}-bottom`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-tab + ${yt}-tab`]:{marginRight:{_skip_check_:!0,value:xt},marginLeft:{_skip_check_:!0,value:0}}}}},[`${yt}-dropdown-rtl`]:{direction:"rtl"},[`${yt}-menu-item`]:{[`${yt}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Hi=tt=>{const{componentCls:yt,tabsCardPadding:ht,cardHeight:dt,cardGutter:xt,itemHoverColor:Gt,itemActiveColor:Fn,colorBorderSecondary:Mn}=tt;return{[yt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,mi.Wf)(tt)),{display:"flex",[`> ${yt}-nav, > div > ${yt}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${yt}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${tt.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${yt}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${tt.motionDurationSlow}`},[`${yt}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${yt}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${yt}-nav-more`]:{position:"relative",padding:ht,background:"transparent",border:0,color:tt.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:tt.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${yt}-nav-add`]:Object.assign({minWidth:dt,marginLeft:{_skip_check_:!0,value:xt},padding:`0 ${tt.paddingXS}px`,background:"transparent",border:`${tt.lineWidth}px ${tt.lineType} ${Mn}`,borderRadius:`${tt.borderRadiusLG}px ${tt.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:tt.colorText,transition:`all ${tt.motionDurationSlow} ${tt.motionEaseInOut}`,"&:hover":{color:Gt},"&:active, &:focus:not(:focus-visible)":{color:Fn}},(0,mi.Qy)(tt))},[`${yt}-extra-content`]:{flex:"none"},[`${yt}-ink-bar`]:{position:"absolute",background:tt.inkBarColor,pointerEvents:"none"}}),Qi(tt)),{[`${yt}-content`]:{position:"relative",width:"100%"},[`${yt}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${yt}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${yt}-centered`]:{[`> ${yt}-nav, > div > ${yt}-nav`]:{[`${yt}-nav-wrap`]:{[`&:not([class*='${yt}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var ci=(0,si.Z)("Tabs",tt=>{const yt=(0,xa.TS)(tt,{tabsCardPadding:tt.cardPadding||`${(tt.cardHeight-Math.round(tt.fontSize*tt.lineHeight))/2-tt.lineWidth}px ${tt.padding}px`,dropdownEdgeChildVerticalPadding:tt.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${tt.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${tt.horizontalItemGutter}px`});return[Da(yt),Bi(yt),Yi(yt),Oi(yt),Fa(yt),Hi(yt),Wr(yt)]},tt=>{const yt=tt.controlHeightLG;return{zIndexPopup:tt.zIndexPopupBase+50,cardBg:tt.colorFillAlter,cardHeight:yt,cardPadding:"",cardPaddingSM:`${tt.paddingXXS*1.5}px ${tt.padding}px`,cardPaddingLG:`${tt.paddingXS}px ${tt.padding}px ${tt.paddingXXS*1.5}px`,titleFontSize:tt.fontSize,titleFontSizeLG:tt.fontSizeLG,titleFontSizeSM:tt.fontSize,inkBarColor:tt.colorPrimary,horizontalMargin:`0 0 ${tt.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${tt.paddingSM}px 0`,horizontalItemPaddingSM:`${tt.paddingXS}px 0`,horizontalItemPaddingLG:`${tt.padding}px 0`,verticalItemPadding:`${tt.paddingXS}px ${tt.paddingLG}px`,verticalItemMargin:`${tt.margin}px 0 0 0`,itemColor:tt.colorText,itemSelectedColor:tt.colorPrimary,itemHoverColor:tt.colorPrimaryHover,itemActiveColor:tt.colorPrimaryActive,cardGutter:tt.marginXXS/2}}),Vr=function(tt,yt){var ht={};for(var dt in tt)Object.prototype.hasOwnProperty.call(tt,dt)&&yt.indexOf(dt)<0&&(ht[dt]=tt[dt]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,dt=Object.getOwnPropertySymbols(tt);xt{const{type:yt,className:ht,rootClassName:dt,size:xt,onEdit:Gt,hideAdd:Fn,centered:Mn,addIcon:jn,popupClassName:or,children:Sr,items:Pr,animated:Qn,style:mr,indicatorSize:vi}=tt,qr=Vr(tt,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Mi,moreIcon:pi=De.createElement(Lt.Z,null)}=qr,{direction:Xi,tabs:Dr,getPrefixCls:Ri,getPopupContainer:tn}=De.useContext(Ft.E_),Xn=Ri("tabs",Mi),[Gn,yr]=ci(Xn);let $n;yt==="editable-card"&&($n={onEdit:($i,oa)=>{let{key:Ba,event:ca}=oa;Gt==null||Gt($i==="add"?ca:Ba,$i)},removeIcon:De.createElement(ge.Z,null),addIcon:jn||De.createElement(ut.Z,null),showAdd:Fn!==!0});const cr=Ri(),rr=zr(Pr,Sr),Qr=Kr(Xn,Qn),Yr=(0,Tn.Z)(xt),ui=Object.assign(Object.assign({},Dr==null?void 0:Dr.style),mr);return Gn(De.createElement(nt,Object.assign({direction:Xi,getPopupContainer:tn,moreTransitionName:`${cr}-slide-up`},qr,{items:rr,className:We()({[`${Xn}-${Yr}`]:Yr,[`${Xn}-card`]:["card","editable-card"].includes(yt),[`${Xn}-editable-card`]:yt==="editable-card",[`${Xn}-centered`]:Mn},Dr==null?void 0:Dr.className,ht,dt,yr),popupClassName:We()(or,yr),style:ui,editable:$n,moreIcon:pi,prefixCls:Xn,animated:Qr,indicatorSize:vi!=null?vi:Dr==null?void 0:Dr.indicatorSize})))};ia.TabPane=tr;var cn=ia},99498:function(lr,Yn,be){(function(ge){ge(be(89780))})(function(ge){ge.defineOption("placeholder","",function(ke,_e,xe){var Xe=xe&&xe!=ge.Init;if(_e&&!Xe)ke.on("blur",We),ke.on("change",lt),ke.on("swapDoc",lt),ge.on(ke.getInputField(),"compositionupdate",ke.state.placeholderCompose=function(){zt(ke)}),lt(ke);else if(!_e&&Xe){ke.off("blur",We),ke.off("change",lt),ke.off("swapDoc",lt),ge.off(ke.getInputField(),"compositionupdate",ke.state.placeholderCompose),Lt(ke);var De=ke.getWrapperElement();De.className=De.className.replace(" CodeMirror-empty","")}_e&&!ke.hasFocus()&&We(ke)});function Lt(ke){ke.state.placeholder&&(ke.state.placeholder.parentNode.removeChild(ke.state.placeholder),ke.state.placeholder=null)}function ut(ke){Lt(ke);var _e=ke.state.placeholder=document.createElement("pre");_e.style.cssText="height: 0; overflow: visible",_e.style.direction=ke.getOption("direction"),_e.className="CodeMirror-placeholder CodeMirror-line-like";var xe=ke.getOption("placeholder");typeof xe=="string"&&(xe=document.createTextNode(xe)),_e.appendChild(xe),ke.display.lineSpace.insertBefore(_e,ke.display.lineSpace.firstChild)}function zt(ke){setTimeout(function(){var _e=!1,xe=ke.getInputField();xe.nodeName=="TEXTAREA"?_e=!xe.value:ke.lineCount()==1&&(_e=!/[^\u200b]/.test(xe.querySelector(".CodeMirror-line").textContent)),_e?ut(ke):Lt(ke)},20)}function We(ke){vt(ke)&&ut(ke)}function lt(ke){var _e=ke.getWrapperElement(),xe=vt(ke);_e.className=_e.className.replace(" CodeMirror-empty","")+(xe?" CodeMirror-empty":""),xe?ut(ke):Lt(ke)}function vt(ke){return ke.lineCount()===1&&ke.getLine(0)===""}})},25717:function(lr,Yn,be){(function(ge){ge(be(89780))})(function(ge){var Lt={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ut=ge.Pos;ge.defineOption("autoCloseBrackets",!1,function(qe,it,st){st&&st!=ge.Init&&(qe.removeKeyMap(We),qe.state.closeBrackets=null),it&&(lt(zt(it,"pairs")),qe.state.closeBrackets=it,qe.addKeyMap(We))});function zt(qe,it){return it=="pairs"&&typeof qe=="string"?qe:typeof qe=="object"&&qe[it]!=null?qe[it]:Lt[it]}var We={Backspace:_e,Enter:xe};function lt(qe){for(var it=0;it=0;Qt--){var St=At[Qt].head;qe.replaceRange("",ut(St.line,St.ch-1),ut(St.line,St.ch+1),"+delete")}}function xe(qe){var it=ke(qe),st=it&&zt(it,"explode");if(!st||qe.getOption("disableInput"))return ge.Pass;for(var At=qe.listSelections(),Qt=0;Qt0;return{anchor:new ut(qe.anchor.line,qe.anchor.ch+(it?-1:1)),head:new ut(qe.head.line,qe.head.ch+(it?1:-1))}}function De(qe,it){var st=ke(qe);if(!st||qe.getOption("disableInput"))return ge.Pass;var At=zt(st,"pairs"),Qt=At.indexOf(it);if(Qt==-1)return ge.Pass;for(var pt=zt(st,"closeBefore"),St=zt(st,"triples"),rt=At.charAt(Qt+1)==it,ze=qe.listSelections(),gt=Qt%2==0,Et,jt=0;jt=0&&qe.getRange(Yt,ut(Yt.line,Yt.ch+3))==it+it+it?Tt="skipThree":Tt="skip";else if(rt&&Yt.ch>1&&St.indexOf(it)>=0&&qe.getRange(ut(Yt.line,Yt.ch-2),Yt)==it+it){if(Yt.ch>2&&/\bstring/.test(qe.getTokenTypeAt(ut(Yt.line,Yt.ch-2))))return ge.Pass;Tt="addFour"}else if(rt){var bt=Yt.ch==0?" ":qe.getRange(ut(Yt.line,Yt.ch-1),Yt);if(!ge.isWordChar(Xt)&&bt!=it&&!ge.isWordChar(bt))Tt="both";else return ge.Pass}else if(gt&&(Xt.length===0||/\s/.test(Xt)||pt.indexOf(Xt)>-1))Tt="both";else return ge.Pass;if(!Et)Et=Tt;else if(Et!=Tt)return ge.Pass}var un=Qt%2?At.charAt(Qt-1):it,Ln=Qt%2?it:At.charAt(Qt+1);qe.operation(function(){if(Et=="skip")qe.execCommand("goCharRight");else if(Et=="skipThree")for(var Vt=0;Vt<3;Vt++)qe.execCommand("goCharRight");else if(Et=="surround"){for(var nn=qe.getSelections(),Vt=0;Vt'"]=function(Qe){return zt(Qe)}),_e.addKeyMap(De)}});var Lt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ut=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function zt(_e){if(_e.getOption("disableInput"))return ge.Pass;for(var xe=_e.listSelections(),Xe=[],De=_e.getOption("autoCloseTags"),Qe=0;Qeot.ch&&(Qt=Qt.slice(0,Qt.length-qe.end+ot.ch));var ze=Qt.toLowerCase();if(!Qt||qe.type=="string"&&(qe.end!=ot.ch||!/[\"\']/.test(qe.string.charAt(qe.string.length-1))||qe.string.length==1)||qe.type=="tag"&&At.close||qe.string.indexOf("/")==ot.ch-qe.start-1||St&&vt(St,ze)>-1||ke(_e,it.mode.xmlCurrentContext&&it.mode.xmlCurrentContext(st)||[],Qt,ot,!0))return ge.Pass;var gt=typeof De=="object"&&De.emptyTags;if(gt&&vt(gt,Qt)>-1){Xe[Qe]={text:"/>",newPos:ge.Pos(ot.line,ot.ch+2)};continue}var Et=rt&&vt(rt,ze)>-1;Xe[Qe]={indent:Et,text:">"+(Et?` `:"")+"",newPos:Et?ge.Pos(ot.line+1,0):ge.Pos(ot.line,ot.ch+1)}}for(var jt=typeof De=="object"&&De.dontIndentOnAutoClose,Qe=xe.length-1;Qe>=0;Qe--){var mt=Xe[Qe];_e.replaceRange(mt.text,xe[Qe].head,xe[Qe].anchor,"+insert");var Yt=_e.listSelections().slice(0);Yt[Qe]={head:mt.newPos,anchor:mt.newPos},_e.setSelections(Yt),!jt&&mt.indent&&(_e.indentLine(mt.newPos.line,null,!0),_e.indentLine(mt.newPos.line+1,null,!0))}}function We(_e,xe){for(var Xe=_e.listSelections(),De=[],Qe=xe?"/":""&&(St+=">"),De[it]=St}if(_e.replaceSelections(De),Xe=_e.listSelections(),!qe)for(var it=0;it=0&&xe[st]==Xe;st--)++it;De=qe.to;for(var st=1;st=st.max))return st.ch=0,st.text=st.cm.getLine(++st.line),!0}function xe(st){if(!(st.line<=st.min))return st.text=st.cm.getLine(--st.line),st.ch=st.text.length,!0}function Xe(st){for(;;){var At=st.text.indexOf(">",st.ch);if(At==-1){if(_e(st))continue;return}if(!ke(st,At+1)){st.ch=At+1;continue}var Qt=st.text.lastIndexOf("/",At),pt=Qt>-1&&!/\S/.test(st.text.slice(Qt+1,At));return st.ch=At+1,pt?"selfClose":"regular"}}function De(st){for(;;){var At=st.ch?st.text.lastIndexOf("<",st.ch-1):-1;if(At==-1){if(xe(st))continue;return}if(!ke(st,At+1)){st.ch=At;continue}lt.lastIndex=At,st.ch=At;var Qt=lt.exec(st.text);if(Qt&&Qt.index==At)return Qt}}function Qe(st){for(;;){lt.lastIndex=st.ch;var At=lt.exec(st.text);if(!At){if(_e(st))continue;return}if(!ke(st,At.index+1)){st.ch=At.index+1;continue}return st.ch=At.index+At[0].length,At}}function ot(st){for(;;){var At=st.ch?st.text.lastIndexOf(">",st.ch-1):-1;if(At==-1){if(xe(st))continue;return}if(!ke(st,At+1)){st.ch=At;continue}var Qt=st.text.lastIndexOf("/",At),pt=Qt>-1&&!/\S/.test(st.text.slice(Qt+1,At));return st.ch=At+1,pt?"selfClose":"regular"}}function qe(st,At){for(var Qt=[];;){var pt=Qe(st),St,rt=st.line,ze=st.ch-(pt?pt[0].length:0);if(!pt||!(St=Xe(st)))return;if(St!="selfClose")if(pt[1]){for(var gt=Qt.length-1;gt>=0;--gt)if(Qt[gt]==pt[2]){Qt.length=gt;break}if(gt<0&&(!At||At==pt[2]))return{tag:pt[2],from:Lt(rt,ze),to:Lt(st.line,st.ch)}}else Qt.push(pt[2])}}function it(st,At){for(var Qt=[];;){var pt=ot(st);if(!pt)return;if(pt=="selfClose"){De(st);continue}var St=st.line,rt=st.ch,ze=De(st);if(!ze)return;if(ze[1])Qt.push(ze[2]);else{for(var gt=Qt.length-1;gt>=0;--gt)if(Qt[gt]==ze[2]){Qt.length=gt;break}if(gt<0&&(!At||At==ze[2]))return{tag:ze[2],from:Lt(st.line,st.ch),to:Lt(St,rt)}}}}ge.registerHelper("fold","xml",function(st,At){for(var Qt=new vt(st,At.line,0);;){var pt=Qe(Qt);if(!pt||Qt.line!=At.line)return;var St=Xe(Qt);if(!St)return;if(!pt[1]&&St!="selfClose"){var rt=Lt(Qt.line,Qt.ch),ze=qe(Qt,pt[2]);return ze&&ut(ze.from,rt)>0?{from:rt,to:ze.from}:null}}}),ge.findMatchingTag=function(st,At,Qt){var pt=new vt(st,At.line,At.ch,Qt);if(!(pt.text.indexOf(">")==-1&&pt.text.indexOf("<")==-1)){var St=Xe(pt),rt=St&&Lt(pt.line,pt.ch),ze=St&&De(pt);if(!(!St||!ze||ut(pt,At)>0)){var gt={from:Lt(pt.line,pt.ch),to:rt,tag:ze[2]};return St=="selfClose"?{open:gt,close:null,at:"open"}:ze[1]?{open:it(pt,ze[2]),close:gt,at:"close"}:(pt=new vt(st,rt.line,rt.ch,Qt),{open:gt,close:qe(pt,ze[2]),at:"open"})}}},ge.findEnclosingTag=function(st,At,Qt,pt){for(var St=new vt(st,At.line,At.ch,Qt);;){var rt=it(St,pt);if(!rt)break;var ze=new vt(st,At.line,At.ch,Qt),gt=qe(ze,rt.tag);if(gt)return{open:rt,close:gt}}},ge.scanForClosingTag=function(st,At,Qt,pt){var St=new vt(st,At.line,At.ch,pt?{from:0,to:pt}:null);return qe(St,Qt)}})},89780:function(lr){(function(Yn,be){lr.exports=be()})(this,function(){"use strict";var Yn=navigator.userAgent,be=navigator.platform,ge=/gecko\/\d/i.test(Yn),Lt=/MSIE \d/.test(Yn),ut=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yn),zt=/Edge\/(\d+)/.exec(Yn),We=Lt||ut||zt,lt=We&&(Lt?document.documentMode||6:+(zt||ut)[1]),vt=!zt&&/WebKit\//.test(Yn),ke=vt&&/Qt\/\d+\.\d+/.test(Yn),_e=!zt&&/Chrome\//.test(Yn),xe=/Opera\//.test(Yn),Xe=/Apple Computer/.test(navigator.vendor),De=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Yn),Qe=/PhantomJS/.test(Yn),ot=!zt&&/AppleWebKit/.test(Yn)&&/Mobile\/\w+/.test(Yn),qe=/Android/.test(Yn),it=ot||qe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Yn),st=ot||/Mac/.test(be),At=/\bCrOS\b/.test(Yn),Qt=/win/i.test(be),pt=xe&&Yn.match(/Version\/(\d*\.\d*)/);pt&&(pt=Number(pt[1])),pt&&pt>=15&&(xe=!1,vt=!0);var St=st&&(ke||xe&&(pt==null||pt<12.11)),rt=ge||We&<>=9;function ze(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var gt=function(x,ee){var ae=x.className,ie=ze(ee).exec(ae);if(ie){var le=ae.slice(ie.index+ie[0].length);x.className=ae.slice(0,ie.index)+(le?ie[1]+le:"")}};function Et(x){for(var ee=x.childNodes.length;ee>0;--ee)x.removeChild(x.firstChild);return x}function jt(x,ee){return Et(x).appendChild(ee)}function mt(x,ee,ae,ie){var le=document.createElement(x);if(ae&&(le.className=ae),ie&&(le.style.cssText=ie),typeof ee=="string")le.appendChild(document.createTextNode(ee));else if(ee)for(var Be=0;Be=ee)return He+(ee-Be);He+=Je-Be,He+=ae-He%ae,Be=Je+1}}var Fe=function(){this.id=null,this.f=null,this.time=0,this.handler=nn(this.onTimeout,this)};Fe.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Fe.prototype.set=function(x,ee){this.f=ee;var ae=+new Date+x;(!this.id||ae=ee)return ie+Math.min(He,ee-le);if(le+=Be-ie,le+=ae-le%ae,ie=Be+1,le>=ee)return ie}}var Kn=[""];function Ar(x){for(;Kn.length<=x;)Kn.push(ln(Kn)+" ");return Kn[x]}function ln(x){return x[x.length-1]}function on(x,ee){for(var ae=[],ie=0;ie"\x80"&&(x.toUpperCase()!=x.toLowerCase()||pe.test(x))}function Me(x,ee){return ee?ee.source.indexOf("\\w")>-1&&Ee(x)?!0:ee.test(x):Ee(x)}function me(x){for(var ee in x)if(x.hasOwnProperty(ee)&&x[ee])return!1;return!0}var $e=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Pt(x){return x.charCodeAt(0)>=768&&$e.test(x)}function an(x,ee,ae){for(;(ae<0?ee>0:eeae?-1:1;;){if(ee==ae)return ee;var le=(ee+ae)/2,Be=ie<0?Math.ceil(le):Math.floor(le);if(Be==ee)return x(Be)?ee:ae;x(Be)?ae=Be:ee=Be+ie}}function In(x,ee,ae,ie){if(!x)return ie(ee,ae,"ltr",0);for(var le=!1,Be=0;Beee||ee==ae&&He.to==ee)&&(ie(Math.max(He.from,ee),Math.min(He.to,ae),He.level==1?"rtl":"ltr",Be),le=!0)}le||ie(ee,ae,"ltr")}var En=null;function Pn(x,ee,ae){var ie;En=null;for(var le=0;leee)return le;Be.to==ee&&(Be.from!=Be.to&&ae=="before"?ie=le:En=le),Be.from==ee&&(Be.from!=Be.to&&ae!="before"?ie=le:En=le)}return ie!=null?ie:En}var Zn=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",ee="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ae(wt){return wt<=247?x.charAt(wt):1424<=wt&&wt<=1524?"R":1536<=wt&&wt<=1785?ee.charAt(wt-1536):1774<=wt&&wt<=2220?"r":8192<=wt&&wt<=8203?"w":wt==8204?"b":"L"}var ie=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,le=/[stwN]/,Be=/[LRr]/,He=/[Lb1n]/,Je=/[1n]/;function at(wt,wn,Dn){this.level=wt,this.from=wn,this.to=Dn}return function(wt,wn){var Dn=wn=="ltr"?"L":"R";if(wt.length==0||wn=="ltr"&&!ie.test(wt))return!1;for(var xr=wt.length,gr=[],ri=0;ri-1&&(ie[ee]=le.slice(0,Be).concat(le.slice(Be+1)))}}}function nt(x,ee){var ae=_n(x,ee);if(ae.length)for(var ie=Array.prototype.slice.call(arguments,2),le=0;le0}function tr(x){x.prototype.on=function(ee,ae){dn(this,ee,ae)},x.prototype.off=function(ee,ae){Ot(this,ee,ae)}}function jr(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Nr(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Kr(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function kr(x){jr(x),Nr(x)}function dr(x){return x.target||x.srcElement}function pr(x){var ee=x.which;return ee==null&&(x.button&1?ee=1:x.button&2?ee=3:x.button&4&&(ee=2)),st&&x.ctrlKey&&ee==1&&(ee=3),ee}var zr=function(){if(We&<<9)return!1;var x=mt("div");return"draggable"in x||"dragDrop"in x}(),mi;function si(x){if(mi==null){var ee=mt("span","\u200B");jt(x,mt("span",[ee,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(mi=ee.offsetWidth<=1&&ee.offsetHeight>2&&!(We&<<8))}var ae=mi?mt("span","\u200B"):mt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ae.setAttribute("cm-text",""),ae}var xa;function Ti(x){if(xa!=null)return xa;var ee=jt(x,document.createTextNode("A\u062EA")),ae=Tt(ee,0,1).getBoundingClientRect(),ie=Tt(ee,1,2).getBoundingClientRect();return Et(x),!ae||ae.left==ae.right?!1:xa=ie.right-ae.right<3}var Wi=` b`.split(/\n/).length!=3?function(x){for(var ee=0,ae=[],ie=x.length;ee<=ie;){var le=x.indexOf(` `,ee);le==-1&&(le=x.length);var Be=x.slice(ee,x.charAt(le-1)=="\r"?le-1:le),He=Be.indexOf("\r");He!=-1?(ae.push(Be.slice(0,He)),ee+=He+1):(ae.push(Be),ee=le+1)}return ae}:function(x){return x.split(/\r\n?|\n/)},Wr=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(ee){return!1}}:function(x){var ee;try{ee=x.ownerDocument.selection.createRange()}catch(ae){}return!ee||ee.parentElement()!=x?!1:ee.compareEndPoints("StartToEnd",ee)!=0},Fa=function(){var x=mt("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),Oi=null;function Yi(x){if(Oi!=null)return Oi;var ee=jt(x,mt("span","x")),ae=ee.getBoundingClientRect(),ie=Tt(ee,0,1).getBoundingClientRect();return Oi=Math.abs(ae.left-ie.left)>1}var Da={},Qi={};function Bi(x,ee){arguments.length>2&&(ee.dependencies=Array.prototype.slice.call(arguments,2)),Da[x]=ee}function Hi(x,ee){Qi[x]=ee}function ci(x){if(typeof x=="string"&&Qi.hasOwnProperty(x))x=Qi[x];else if(x&&typeof x.name=="string"&&Qi.hasOwnProperty(x.name)){var ee=Qi[x.name];typeof ee=="string"&&(ee={name:ee}),x=we(ee,x),x.name=ee.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return ci("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return ci("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Vr(x,ee){ee=ci(ee);var ae=Da[ee.name];if(!ae)return Vr(x,"text/plain");var ie=ae(x,ee);if(ia.hasOwnProperty(ee.name)){var le=ia[ee.name];for(var Be in le)le.hasOwnProperty(Be)&&(ie.hasOwnProperty(Be)&&(ie["_"+Be]=ie[Be]),ie[Be]=le[Be])}if(ie.name=ee.name,ee.helperType&&(ie.helperType=ee.helperType),ee.modeProps)for(var He in ee.modeProps)ie[He]=ee.modeProps[He];return ie}var ia={};function cn(x,ee){var ae=ia.hasOwnProperty(x)?ia[x]:ia[x]={};Kt(ee,ae)}function tt(x,ee){if(ee===!0)return ee;if(x.copyState)return x.copyState(ee);var ae={};for(var ie in ee){var le=ee[ie];le instanceof Array&&(le=le.concat([])),ae[ie]=le}return ae}function yt(x,ee){for(var ae;x.innerMode&&(ae=x.innerMode(ee),!(!ae||ae.mode==x));)ee=ae.state,x=ae.mode;return ae||{mode:x,state:ee}}function ht(x,ee,ae){return x.startState?x.startState(ee,ae):!0}var dt=function(x,ee,ae){this.pos=this.start=0,this.string=x,this.tabSize=ee||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ae};dt.prototype.eol=function(){return this.pos>=this.string.length},dt.prototype.sol=function(){return this.pos==this.lineStart},dt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},dt.prototype.next=function(){if(this.posee},dt.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},dt.prototype.skipToEnd=function(){this.pos=this.string.length},dt.prototype.skipTo=function(x){var ee=this.string.indexOf(x,this.pos);if(ee>-1)return this.pos=ee,!0},dt.prototype.backUp=function(x){this.pos-=x},dt.prototype.column=function(){return this.lastColumnPos0?null:(Be&&ee!==!1&&(this.pos+=Be[0].length),Be)}},dt.prototype.current=function(){return this.string.slice(this.start,this.pos)},dt.prototype.hideFirstChars=function(x,ee){this.lineStart+=x;try{return ee()}finally{this.lineStart-=x}},dt.prototype.lookAhead=function(x){var ee=this.lineOracle;return ee&&ee.lookAhead(x)},dt.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function xt(x,ee){if(ee-=x.first,ee<0||ee>=x.size)throw new Error("There is no line "+(ee+x.first)+" in the document.");for(var ae=x;!ae.lines;)for(var ie=0;;++ie){var le=ae.children[ie],Be=le.chunkSize();if(ee=x.first&&eeae?Qn(ae,xt(x,ae).text.length):Ri(ee,xt(x,ee.line).text.length)}function Ri(x,ee){var ae=x.ch;return ae==null||ae>ee?Qn(x.line,ee):ae<0?Qn(x.line,0):x}function tn(x,ee){for(var ae=[],ie=0;iethis.maxLookAhead&&(this.maxLookAhead=x),ee},Gn.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var ee=this.baseTokens[this.baseTokenPos+1];return{type:ee&&ee.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},Gn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gn.fromSaved=function(x,ee,ae){return ee instanceof Xn?new Gn(x,tt(x.mode,ee.state),ae,ee.lookAhead):new Gn(x,tt(x.mode,ee),ae)},Gn.prototype.save=function(x){var ee=x!==!1?tt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xn(ee,this.maxLookAhead):ee};function yr(x,ee,ae,ie){var le=[x.state.modeGen],Be={};Ba(x,ee.text,x.doc.mode,ae,function(wt,wn){return le.push(wt,wn)},Be,ie);for(var He=ae.state,Je=function(wt){ae.baseTokens=le;var wn=x.state.overlays[wt],Dn=1,xr=0;ae.state=!0,Ba(x,ee.text,wn.mode,ae,function(gr,ri){for(var Li=Dn;xrgr&&le.splice(Dn,1,gr,le[Dn+1],ra),Dn+=2,xr=Math.min(gr,ra)}if(ri)if(wn.opaque)le.splice(Li,Dn-Li,gr,"overlay "+ri),Dn=Li+2;else for(;Lix.options.maxHighlightLength&&tt(x.doc.mode,ie.state),Be=yr(x,ee,ie);le&&(ie.state=le),ee.stateAfter=ie.save(!le),ee.styles=Be.styles,Be.classes?ee.styleClasses=Be.classes:ee.styleClasses&&(ee.styleClasses=null),ae===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return ee.styles}function cr(x,ee,ae){var ie=x.doc,le=x.display;if(!ie.mode.startState)return new Gn(ie,!0,ee);var Be=ca(x,ee,ae),He=Be>ie.first&&xt(ie,Be-1).stateAfter,Je=He?Gn.fromSaved(ie,He,Be):new Gn(ie,ht(ie.mode),Be);return ie.iter(Be,ee,function(at){rr(x,at.text,Je);var wt=Je.line;at.stateAfter=wt==ee-1||wt%5==0||wt>=le.viewFrom&&wtee.start)return Be}throw new Error("Mode "+x.name+" failed to advance stream.")}var ui=function(x,ee,ae){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=ee||null,this.state=ae};function $i(x,ee,ae,ie){var le=x.doc,Be=le.mode,He;ee=Dr(le,ee);var Je=xt(le,ee.line),at=cr(x,ee.line,ae),wt=new dt(Je.text,x.options.tabSize,at),wn;for(ie&&(wn=[]);(ie||wt.posx.options.maxHighlightLength?(Je=!1,He&&rr(x,ee,ie,wn.pos),wn.pos=ee.length,Dn=null):Dn=oa(Yr(ae,wn,ie.state,xr),Be),xr){var gr=xr[0].name;gr&&(Dn="m-"+(Dn?gr+" "+Dn:gr))}if(!Je||wt!=Dn){for(;atHe;--Je){if(Je<=Be.first)return Be.first;var at=xt(Be,Je-1),wt=at.stateAfter;if(wt&&(!ae||Je+(wt instanceof Xn?wt.lookAhead:0)<=Be.modeFrontier))return Je;var wn=Ge(at.text,null,x.options.tabSize);(le==null||ie>wn)&&(le=Je-1,ie=wn)}return le}function Ji(x,ee){if(x.modeFrontier=Math.min(x.modeFrontier,ee),!(x.highlightFrontierae;ie--){var le=xt(x,ie).stateAfter;if(le&&(!(le instanceof Xn)||ie+le.lookAhead=ee:Be.to>ee);(ie||(ie=[])).push(new aa(He,Be.from,at?null:Be.to))}}return ie}function ua(x,ee,ae){var ie;if(x)for(var le=0;le=ee:Be.to>ee);if(Je||Be.from==ee&&He.type=="bookmark"&&(!ae||Be.marker.insertLeft)){var at=Be.from==null||(He.inclusiveLeft?Be.from<=ee:Be.from0&&Je)for(var ja=0;ja0)){var wn=[at,1],Dn=mr(wt.from,Je.from),xr=mr(wt.to,Je.to);(Dn<0||!He.inclusiveLeft&&!Dn)&&wn.push({from:wt.from,to:Je.from}),(xr>0||!He.inclusiveRight&&!xr)&&wn.push({from:Je.to,to:wt.to}),le.splice.apply(le,wn),at+=wn.length-3}}return le}function qi(x){var ee=x.markedSpans;if(ee){for(var ae=0;aeee)&&(!ie||co(ie,Be.marker)<0)&&(ie=Be.marker)}return ie}function Na(x,ee,ae,ie,le){var Be=xt(x,ee),He=Ca&&Be.markedSpans;if(He)for(var Je=0;Je=0&&Dn<=0||wn<=0&&Dn>=0)&&(wn<=0&&(at.marker.inclusiveRight&&le.inclusiveLeft?mr(wt.to,ae)>=0:mr(wt.to,ae)>0)||wn>=0&&(at.marker.inclusiveRight&&le.inclusiveLeft?mr(wt.from,ie)<=0:mr(wt.from,ie)<0)))return!0}}}function Ua(x){for(var ee;ee=Ko(x);)x=ee.find(-1,!0).line;return x}function Fo(x){for(var ee;ee=ji(x);)x=ee.find(1,!0).line;return x}function $s(x){for(var ee,ae;ee=ji(x);)x=ee.find(1,!0).line,(ae||(ae=[])).push(x);return ae}function Oo(x,ee){var ae=xt(x,ee),ie=Ua(ae);return ae==ie?ee:jn(ie)}function Ao(x,ee){if(ee>x.lastLine())return ee;var ae=xt(x,ee),ie;if(!zo(x,ae))return ee;for(;ie=ji(ae);)ae=ie.find(1,!0).line;return jn(ae)+1}function zo(x,ee){var ae=Ca&&ee.markedSpans;if(ae){for(var ie=void 0,le=0;leee.maxLineLength&&(ee.maxLineLength=le,ee.maxLine=ie)})}var zi=function(x,ee,ae){this.text=x,fa(this,ee),this.height=ae?ae(this):1};zi.prototype.lineNo=function(){return jn(this)},tr(zi);function ao(x,ee,ae,ie){x.text=ee,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),qi(x),fa(x,ae);var le=ie?ie(x):1;le!=x.height&&Mn(x,le)}function ns(x){x.parent=null,qi(x)}var No={},So={};function mo(x,ee){if(!x||/^\s*$/.test(x))return null;var ae=ee.addModeClass?So:No;return ae[x]||(ae[x]=x.replace(/\S+/g,"cm-$&"))}function Go(x,ee){var ae=Yt("span",null,null,vt?"padding-right: .1px":null),ie={pre:Yt("pre",[ae],"CodeMirror-line"),content:ae,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};ee.measure={};for(var le=0;le<=(ee.rest?ee.rest.length:0);le++){var Be=le?ee.rest[le-1]:ee.line,He=void 0;ie.pos=0,ie.addToken=bs,Ti(x.display.measure)&&(He=Cr(Be,x.doc.direction))&&(ie.addToken=ol(ie.addToken,He)),ie.map=[];var Je=ee!=x.display.externalMeasured&&jn(Be);bc(Be,ie,$n(x,Be,Je)),Be.styleClasses&&(Be.styleClasses.bgClass&&(ie.bgClass=Ln(Be.styleClasses.bgClass,ie.bgClass||"")),Be.styleClasses.textClass&&(ie.textClass=Ln(Be.styleClasses.textClass,ie.textClass||""))),ie.map.length==0&&ie.map.push(0,0,ie.content.appendChild(si(x.display.measure))),le==0?(ee.measure.map=ie.map,ee.measure.cache={}):((ee.measure.maps||(ee.measure.maps=[])).push(ie.map),(ee.measure.caches||(ee.measure.caches=[])).push({}))}if(vt){var at=ie.content.lastChild;(/\bcm-tab\b/.test(at.className)||at.querySelector&&at.querySelector(".cm-tab"))&&(ie.content.className="cm-tab-wrap-hack")}return nt(x,"renderLine",x,ee.line,ie.pre),ie.pre.className&&(ie.textClass=Ln(ie.pre.className,ie.textClass||"")),ie}function Us(x){var ee=mt("span","\u2022","cm-invalidchar");return ee.title="\\u"+x.charCodeAt(0).toString(16),ee.setAttribute("aria-label",ee.title),ee}function bs(x,ee,ae,ie,le,Be,He){if(ee){var Je=x.splitSpaces?Cl(ee,x.trailingSpace):ee,at=x.cm.state.specialChars,wt=!1,wn;if(!at.test(ee))x.col+=ee.length,wn=document.createTextNode(Je),x.map.push(x.pos,x.pos+ee.length,wn),We&<<9&&(wt=!0),x.pos+=ee.length;else{wn=document.createDocumentFragment();for(var Dn=0;;){at.lastIndex=Dn;var xr=at.exec(ee),gr=xr?xr.index-Dn:ee.length-Dn;if(gr){var ri=document.createTextNode(Je.slice(Dn,Dn+gr));We&<<9?wn.appendChild(mt("span",[ri])):wn.appendChild(ri),x.map.push(x.pos,x.pos+gr,ri),x.col+=gr,x.pos+=gr}if(!xr)break;Dn+=gr+1;var Li=void 0;if(xr[0]==" "){var ra=x.cm.options.tabSize,Ea=ra-x.col%ra;Li=wn.appendChild(mt("span",Ar(Ea),"cm-tab")),Li.setAttribute("role","presentation"),Li.setAttribute("cm-text"," "),x.col+=Ea}else xr[0]=="\r"||xr[0]==` `?(Li=wn.appendChild(mt("span",xr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Li.setAttribute("cm-text",xr[0]),x.col+=1):(Li=x.cm.options.specialCharPlaceholder(xr[0]),Li.setAttribute("cm-text",xr[0]),We&<<9?wn.appendChild(mt("span",[Li])):wn.appendChild(Li),x.col+=1);x.map.push(x.pos,x.pos+1,Li),x.pos++}}if(x.trailingSpace=Je.charCodeAt(ee.length-1)==32,ae||ie||le||wt||Be||He){var Pa=ae||"";ie&&(Pa+=ie),le&&(Pa+=le);var ya=mt("span",[wn],Pa,Be);if(He)for(var ja in He)He.hasOwnProperty(ja)&&ja!="style"&&ja!="class"&&ya.setAttribute(ja,He[ja]);return x.content.appendChild(ya)}x.content.appendChild(wn)}}function Cl(x,ee){if(x.length>1&&!/ /.test(x))return x;for(var ae=ee,ie="",le=0;lewt&&Dn.from<=wt));xr++);if(Dn.to>=wn)return x(ae,ie,le,Be,He,Je,at);x(ae,ie.slice(0,Dn.to-wt),le,Be,null,Je,at),Be=null,ie=ie.slice(Dn.to-wt),wt=Dn.to}}}function Is(x,ee,ae,ie){var le=!ie&&ae.widgetNode;le&&x.map.push(x.pos,x.pos+ee,le),!ie&&x.cm.display.input.needsContentAttribute&&(le||(le=x.content.appendChild(document.createElement("span"))),le.setAttribute("cm-marker",ae.id)),le&&(x.cm.display.input.setUneditable(le),x.content.appendChild(le)),x.pos+=ee,x.trailingSpace=!1}function bc(x,ee,ae){var ie=x.markedSpans,le=x.text,Be=0;if(!ie){for(var He=1;Heat||wo.collapsed&&lo.to==at&&lo.from==at)){if(lo.to!=null&&lo.to!=at&&gr>lo.to&&(gr=lo.to,Li=""),wo.className&&(ri+=" "+wo.className),wo.css&&(xr=(xr?xr+";":"")+wo.css),wo.startStyle&&lo.from==at&&(ra+=" "+wo.startStyle),wo.endStyle&&lo.to==gr&&(ja||(ja=[])).push(wo.endStyle,lo.to),wo.title&&((Pa||(Pa={})).title=wo.title),wo.attributes)for(var nl in wo.attributes)(Pa||(Pa={}))[nl]=wo.attributes[nl];wo.collapsed&&(!Ea||co(Ea.marker,wo)<0)&&(Ea=lo)}else lo.from>at&&gr>lo.from&&(gr=lo.from)}if(ja)for(var hc=0;hc=Je)break;for(var Dc=Math.min(Je,gr);;){if(wn){var Cc=at+wn.length;if(!Ea){var ac=Cc>Dc?wn.slice(0,Dc-at):wn;ee.addToken(ee,ac,Dn?Dn+ri:ri,ra,at+ac.length==gr?Li:"",xr,Pa)}if(Cc>=Dc){wn=wn.slice(Dc-at),at=Dc;break}at=Cc,ra=""}wn=le.slice(Be,Be=ae[wt++]),Dn=mo(ae[wt++],ee.cm.options)}}}function Ul(x,ee,ae){this.line=ee,this.rest=$s(ee),this.size=this.rest?jn(ln(this.rest))-ae+1:1,this.node=this.text=null,this.hidden=zo(x,ee)}function Ml(x,ee,ae){for(var ie=[],le,Be=ee;Be2&&Be.push((at.bottom+wt.top)/2-ae.top)}}Be.push(ae.bottom-ae.top)}}function Hs(x,ee,ae){if(x.line==ee)return{map:x.measure.map,cache:x.measure.cache};for(var ie=0;ieae)return{map:x.measure.maps[le],cache:x.measure.caches[le],before:!0}}function su(x,ee){ee=Ua(ee);var ae=jn(ee),ie=x.display.externalMeasured=new Ul(x.doc,ee,ae);ie.lineN=ae;var le=ie.built=Go(x,ie);return ie.text=le.pre,jt(x.display.lineMeasure,le.pre),ie}function Zl(x,ee,ae,ie){return hs(x,vo(x,ee),ae,ie)}function ml(x,ee){if(ee>=x.display.viewFrom&&ee=ae.lineN&&eeee)&&(Be=at-Je,le=Be-1,ee>=at&&(He="right")),le!=null){if(ie=x[wt+2],Je==at&&ae==(ie.insertLeft?"left":"right")&&(He=ae),ae=="left"&&le==0)for(;wt&&x[wt-2]==x[wt-3]&&x[wt-1].insertLeft;)ie=x[(wt-=3)+2],He="left";if(ae=="right"&&le==at-Je)for(;wt=0&&(ae=x[le]).left==ae.right;le--);return ae}function Io(x,ee,ae,ie){var le=uA(ee.map,ae,ie),Be=le.node,He=le.start,Je=le.end,at=le.collapse,wt;if(Be.nodeType==3){for(var wn=0;wn<4;wn++){for(;He&&Pt(ee.line.text.charAt(le.coverStart+He));)--He;for(;le.coverStart+Je0&&(at=ie="right");var Dn;x.options.lineWrapping&&(Dn=Be.getClientRects()).length>1?wt=Dn[ie=="right"?Dn.length-1:0]:wt=Be.getBoundingClientRect()}if(We&<<9&&!He&&(!wt||!wt.left&&!wt.right)){var xr=Be.parentNode.getClientRects()[0];xr?wt={left:xr.left,right:xr.left+Es(x.display),top:xr.top,bottom:xr.bottom}:wt=Zc}for(var gr=wt.top-ee.rect.top,ri=wt.bottom-ee.rect.top,Li=(gr+ri)/2,ra=ee.view.measure.heights,Ea=0;Ea=ie.text.length?(at=ie.text.length,wt="before"):at<=0&&(at=0,wt="after"),!Je)return He(wt=="before"?at-1:at,wt=="before");function wn(ri,Li,ra){var Ea=Je[Li],Pa=Ea.level==1;return He(ra?ri-1:ri,Pa!=ra)}var Dn=Pn(Je,at,wt),xr=En,gr=wn(at,Dn,wt=="before");return xr!=null&&(gr.other=wn(at,xr,wt!="before")),gr}function Xl(x,ee){var ae=0;ee=Dr(x.doc,ee),x.options.lineWrapping||(ae=Es(x.display)*ee.ch);var ie=xt(x.doc,ee.line),le=Ni(ie)+Fl(x.display);return{left:ae,right:ae,top:le,bottom:le+ie.height}}function lu(x,ee,ae,ie,le){var Be=Qn(x,ee,ae);return Be.xRel=le,ie&&(Be.outside=ie),Be}function Dl(x,ee,ae){var ie=x.doc;if(ae+=x.display.viewOffset,ae<0)return lu(ie.first,0,null,-1,-1);var le=or(ie,ae),Be=ie.first+ie.size-1;if(le>Be)return lu(ie.first+ie.size-1,xt(ie,Be).text.length,null,1,1);ee<0&&(ee=0);for(var He=xt(ie,le);;){var Je=Ch(x,He,le,ee,ae),at=Ui(He,Je.ch+(Je.xRel>0||Je.outside>0?1:0));if(!at)return Je;var wt=at.find(1);if(wt.line==le)return wt;He=xt(ie,le=wt.line)}}function xh(x,ee,ae,ie){ie-=sl(ee);var le=ee.text.length,Be=An(function(He){return hs(x,ae,He-1).bottom<=ie},le,0);return le=An(function(He){return hs(x,ae,He).top>ie},Be,le),{begin:Be,end:le}}function Zd(x,ee,ae,ie){ae||(ae=vo(x,ee));var le=cc(x,ee,hs(x,ae,ie),"line").top;return xh(x,ee,ae,le)}function AA(x,ee,ae,ie){return x.bottom<=ae?!1:x.top>ae?!0:(ie?x.left:x.right)>ee}function Ch(x,ee,ae,ie,le){le-=Ni(ee);var Be=vo(x,ee),He=sl(ee),Je=0,at=ee.text.length,wt=!0,wn=Cr(ee,x.doc.direction);if(wn){var Dn=(x.options.lineWrapping?Of:Wu)(x,ee,ae,Be,wn,ie,le);wt=Dn.level!=1,Je=wt?Dn.from:Dn.to-1,at=wt?Dn.to:Dn.from-1}var xr=null,gr=null,ri=An(function(io){var lo=hs(x,Be,io);return lo.top+=He,lo.bottom+=He,AA(lo,ie,le,!1)?(lo.top<=le&&lo.left<=ie&&(xr=io,gr=lo),!0):!1},Je,at),Li,ra,Ea=!1;if(gr){var Pa=ie-gr.left=ja.bottom?1:0}return ri=an(ee.text,ri,1),lu(ae,ri,ra,Ea,ie-Li)}function Wu(x,ee,ae,ie,le,Be,He){var Je=An(function(Dn){var xr=le[Dn],gr=xr.level!=1;return AA(Yl(x,Qn(ae,gr?xr.to:xr.from,gr?"before":"after"),"line",ee,ie),Be,He,!0)},0,le.length-1),at=le[Je];if(Je>0){var wt=at.level!=1,wn=Yl(x,Qn(ae,wt?at.from:at.to,wt?"after":"before"),"line",ee,ie);AA(wn,Be,He,!0)&&wn.top>He&&(at=le[Je-1])}return at}function Of(x,ee,ae,ie,le,Be,He){var Je=xh(x,ee,ie,He),at=Je.begin,wt=Je.end;/\s/.test(ee.text.charAt(wt-1))&&wt--;for(var wn=null,Dn=null,xr=0;xr=wt||gr.to<=at)){var ri=gr.level!=1,Li=hs(x,ie,ri?Math.min(wt,gr.to)-1:Math.max(at,gr.from)).right,ra=Lira)&&(wn=gr,Dn=ra)}}return wn||(wn=le[le.length-1]),wn.fromwt&&(wn={from:wn.from,to:wt,level:wn.level}),wn}var uc;function SA(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(uc==null){uc=mt("pre",null,"CodeMirror-line-like");for(var ee=0;ee<49;++ee)uc.appendChild(document.createTextNode("x")),uc.appendChild(mt("br"));uc.appendChild(document.createTextNode("x"))}jt(x.measure,uc);var ae=uc.offsetHeight/50;return ae>3&&(x.cachedTextHeight=ae),Et(x.measure),ae||1}function Es(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var ee=mt("span","xxxxxxxxxx"),ae=mt("pre",[ee],"CodeMirror-line-like");jt(x.measure,ae);var ie=ee.getBoundingClientRect(),le=(ie.right-ie.left)/10;return le>2&&(x.cachedCharWidth=le),le||10}function vs(x){for(var ee=x.display,ae={},ie={},le=ee.gutters.clientLeft,Be=ee.gutters.firstChild,He=0;Be;Be=Be.nextSibling,++He){var Je=x.display.gutterSpecs[He].className;ae[Je]=Be.offsetLeft+Be.clientLeft+le,ie[Je]=Be.clientWidth}return{fixedPos:Ks(ee),gutterTotalWidth:ee.gutters.offsetWidth,gutterLeft:ae,gutterWidth:ie,wrapperWidth:ee.wrapper.clientWidth}}function Ks(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Uc(x){var ee=SA(x.display),ae=x.options.lineWrapping,ie=ae&&Math.max(5,x.display.scroller.clientWidth/Es(x.display)-3);return function(le){if(zo(x.doc,le))return 0;var Be=0;if(le.widgets)for(var He=0;He0&&(wt=xt(x.doc,at.line).text).length==at.ch){var wn=Ge(wt,wt.length,x.options.tabSize)-wt.length;at=Qn(at.line,Math.max(0,Math.round((Be-gl(x.display).left)/Es(x.display))-wn))}return at}function yu(x,ee){if(ee>=x.display.viewTo||(ee-=x.display.viewFrom,ee<0))return null;for(var ae=x.display.view,ie=0;ieee)&&(le.updateLineNumbers=ee),x.curOp.viewChanged=!0,ee>=le.viewTo)Ca&&Oo(x.doc,ee)le.viewFrom?ku(x):(le.viewFrom+=ie,le.viewTo+=ie);else if(ee<=le.viewFrom&&ae>=le.viewTo)ku(x);else if(ee<=le.viewFrom){var Be=bu(x,ae,ae+ie,1);Be?(le.view=le.view.slice(Be.index),le.viewFrom=Be.lineN,le.viewTo+=ie):ku(x)}else if(ae>=le.viewTo){var He=bu(x,ee,ee,-1);He?(le.view=le.view.slice(0,He.index),le.viewTo=He.lineN):ku(x)}else{var Je=bu(x,ee,ee,-1),at=bu(x,ae,ae+ie,1);Je&&at?(le.view=le.view.slice(0,Je.index).concat(Ml(x,Je.lineN,at.lineN)).concat(le.view.slice(at.index)),le.viewTo+=ie):ku(x)}var wt=le.externalMeasured;wt&&(ae=le.lineN&&ee=ie.viewTo)){var Be=ie.view[yu(x,ee)];if(Be.node!=null){var He=Be.changes||(Be.changes=[]);ft(He,ae)==-1&&He.push(ae)}}}function ku(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function bu(x,ee,ae,ie){var le=yu(x,ee),Be,He=x.display.view;if(!Ca||ae==x.doc.first+x.doc.size)return{index:le,lineN:ae};for(var Je=x.display.viewFrom,at=0;at0){if(le==He.length-1)return null;Be=Je+He[le].size-ee,le++}else Be=Je-ee;ee+=Be,ae+=Be}for(;Oo(x.doc,ae)!=ae;){if(le==(ie<0?0:He.length-1))return null;ae+=ie*He[le-(ie<0?1:0)].size,le+=ie}return{index:le,lineN:ae}}function EA(x,ee,ae){var ie=x.display,le=ie.view;le.length==0||ee>=ie.viewTo||ae<=ie.viewFrom?(ie.view=Ml(x,ee,ae),ie.viewFrom=ee):(ie.viewFrom>ee?ie.view=Ml(x,ee,ie.viewFrom).concat(ie.view):ie.viewFromae&&(ie.view=ie.view.slice(0,yu(x,ae)))),ie.viewTo=ae}function gs(x){for(var ee=x.display.view,ae=0,ie=0;ie=x.display.viewTo||Je.to().line0?ee.blinker=setInterval(function(){x.hasFocus()||Lu(x),ee.cursorDiv.style.visibility=(ae=!ae)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(ee.cursorDiv.style.visibility="hidden")}}function Cd(x){x.state.focused||(x.display.input.focus(),Pf(x))}function Bh(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,Lu(x))},100)}function Pf(x,ee){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(nt(x,"focus",x,ee),x.state.focused=!0,un(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),vt&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Yd(x))}function Lu(x,ee){x.state.delayingBlurEvent||(x.state.focused&&(nt(x,"blur",x,ee),x.state.focused=!1,gt(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function WA(x){for(var ee=x.display,ae=ee.lineDiv.offsetTop,ie=0;ie.005||wn<-.005)&&(Mn(le.line,He),Jl(le.line),le.rest))for(var Dn=0;Dnx.display.sizerWidth){var xr=Math.ceil(Je/Es(x.display));xr>x.display.maxLineLength&&(x.display.maxLineLength=xr,x.display.maxLine=le.line,x.display.maxLineChanged=!0)}}}}function Jl(x){if(x.widgets)for(var ee=0;ee=He&&(Be=or(ee,Ni(xt(ee,at))-x.wrapper.clientHeight),He=at)}return{from:Be,to:Math.max(He,Be+1)}}function cu(x,ee){if(!Ft(x,"scrollCursorIntoView")){var ae=x.display,ie=ae.sizer.getBoundingClientRect(),le=null;if(ee.top+ie.top<0?le=!0:ee.bottom+ie.top>(window.innerHeight||document.documentElement.clientHeight)&&(le=!1),le!=null&&!Qe){var Be=mt("div","\u200B",null,`position: absolute; top: `+(ee.top-ae.viewOffset-Fl(x.display))+`px; height: `+(ee.bottom-ee.top+Il(x)+ae.barHeight)+`px; left: `+ee.left+"px; width: "+Math.max(2,ee.right-ee.left)+"px;");x.display.lineSpace.appendChild(Be),Be.scrollIntoView(le),x.display.lineSpace.removeChild(Be)}}}function Jc(x,ee,ae,ie){ie==null&&(ie=0);var le;!x.options.lineWrapping&&ee==ae&&(ee=ee.ch?Qn(ee.line,ee.sticky=="before"?ee.ch-1:ee.ch,"after"):ee,ae=ee.sticky=="before"?Qn(ee.line,ee.ch+1,"before"):ee);for(var Be=0;Be<5;Be++){var He=!1,Je=Yl(x,ee),at=!ae||ae==ee?Je:Yl(x,ae);le={left:Math.min(Je.left,at.left),top:Math.min(Je.top,at.top)-ie,right:Math.max(Je.left,at.left),bottom:Math.max(Je.bottom,at.bottom)+ie};var wt=dA(x,le),wn=x.doc.scrollTop,Dn=x.doc.scrollLeft;if(wt.scrollTop!=null&&(Ac(x,wt.scrollTop),Math.abs(x.doc.scrollTop-wn)>1&&(He=!0)),wt.scrollLeft!=null&&(Yu(x,wt.scrollLeft),Math.abs(x.doc.scrollLeft-Dn)>1&&(He=!0)),!He)break}return le}function Gp(x,ee){var ae=dA(x,ee);ae.scrollTop!=null&&Ac(x,ae.scrollTop),ae.scrollLeft!=null&&Yu(x,ae.scrollLeft)}function dA(x,ee){var ae=x.display,ie=SA(x.display);ee.top<0&&(ee.top=0);var le=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ae.scroller.scrollTop,Be=Qs(x),He={};ee.bottom-ee.top>Be&&(ee.bottom=ee.top+Be);var Je=x.doc.height+Nc(ae),at=ee.topJe-ie;if(ee.tople+Be){var wn=Math.min(ee.top,(wt?Je:ee.bottom)-Be);wn!=le&&(He.scrollTop=wn)}var Dn=x.options.fixedGutter?0:ae.gutters.offsetWidth,xr=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ae.scroller.scrollLeft-Dn,gr=Rs(x)-ae.gutters.offsetWidth,ri=ee.right-ee.left>gr;return ri&&(ee.right=ee.left+gr),ee.left<10?He.scrollLeft=0:ee.leftgr+xr-3&&(He.scrollLeft=ee.right+(ri?0:10)-gr),He}function Sh(x,ee){ee!=null&&(Zu(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+ee)}function wu(x){Zu(x);var ee=x.getCursor();x.curOp.scrollToPos={from:ee,to:ee,margin:x.options.cursorScrollMargin}}function MA(x,ee,ae){(ee!=null||ae!=null)&&Zu(x),ee!=null&&(x.curOp.scrollLeft=ee),ae!=null&&(x.curOp.scrollTop=ae)}function Ng(x,ee){Zu(x),x.curOp.scrollToPos=ee}function Zu(x){var ee=x.curOp.scrollToPos;if(ee){x.curOp.scrollToPos=null;var ae=Xl(x,ee.from),ie=Xl(x,ee.to);uu(x,ae,ie,ee.margin)}}function uu(x,ee,ae,ie){var le=dA(x,{left:Math.min(ee.left,ae.left),top:Math.min(ee.top,ae.top)-ie,right:Math.max(ee.right,ae.right),bottom:Math.max(ee.bottom,ae.bottom)+ie});MA(x,le.scrollLeft,le.scrollTop)}function Ac(x,ee){Math.abs(x.doc.scrollTop-ee)<2||(ge||Xd(x,{top:ee}),Ms(x,ee,!0),ge&&Xd(x),GA(x,100))}function Ms(x,ee,ae){ee=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,ee)),!(x.display.scroller.scrollTop==ee&&!ae)&&(x.doc.scrollTop=ee,x.display.scrollbars.setScrollTop(ee),x.display.scroller.scrollTop!=ee&&(x.display.scroller.scrollTop=ee))}function Yu(x,ee,ae,ie){ee=Math.max(0,Math.min(ee,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ae?ee==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-ee)<2)&&!ie)&&(x.doc.scrollLeft=ee,ep(x),x.display.scroller.scrollLeft!=ee&&(x.display.scroller.scrollLeft=ee),x.display.scrollbars.setScrollLeft(ee))}function VA(x){var ee=x.display,ae=ee.gutters.offsetWidth,ie=Math.round(x.doc.height+Nc(x.display));return{clientHeight:ee.scroller.clientHeight,viewHeight:ee.wrapper.clientHeight,scrollWidth:ee.scroller.scrollWidth,clientWidth:ee.scroller.clientWidth,viewWidth:ee.wrapper.clientWidth,barLeft:x.options.fixedGutter?ae:0,docHeight:ie,scrollHeight:ie+Il(x)+ee.barHeight,nativeBarWidth:ee.nativeBarWidth,gutterWidth:ae}}var kA=function(x,ee,ae){this.cm=ae;var ie=this.vert=mt("div",[mt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),le=this.horiz=mt("div",[mt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ie.tabIndex=le.tabIndex=-1,x(ie),x(le),dn(ie,"scroll",function(){ie.clientHeight&&ee(ie.scrollTop,"vertical")}),dn(le,"scroll",function(){le.clientWidth&&ee(le.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,We&<<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};kA.prototype.update=function(x){var ee=x.scrollWidth>x.clientWidth+1,ae=x.scrollHeight>x.clientHeight+1,ie=x.nativeBarWidth;if(ae){this.vert.style.display="block",this.vert.style.bottom=ee?ie+"px":"0";var le=x.viewHeight-(ee?ie:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+le)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(ee){this.horiz.style.display="block",this.horiz.style.right=ae?ie+"px":"0",this.horiz.style.left=x.barLeft+"px";var Be=x.viewWidth-x.barLeft-(ae?ie:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+Be)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(ie==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ae?ie:0,bottom:ee?ie:0}},kA.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},kA.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},kA.prototype.zeroWidthHack=function(){var x=st&&!De?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Fe,this.disableVert=new Fe},kA.prototype.enableZeroWidthBar=function(x,ee,ae){x.style.pointerEvents="auto";function ie(){var le=x.getBoundingClientRect(),Be=ae=="vert"?document.elementFromPoint(le.right-1,(le.top+le.bottom)/2):document.elementFromPoint((le.right+le.left)/2,le.bottom-1);Be!=x?x.style.pointerEvents="none":ee.set(1e3,ie)}ee.set(1e3,ie)},kA.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var wc=function(){};wc.prototype.update=function(){return{bottom:0,right:0}},wc.prototype.setScrollLeft=function(){},wc.prototype.setScrollTop=function(){},wc.prototype.clear=function(){};function Xu(x,ee){ee||(ee=VA(x));var ae=x.display.barWidth,ie=x.display.barHeight;Nf(x,ee);for(var le=0;le<4&&ae!=x.display.barWidth||ie!=x.display.barHeight;le++)ae!=x.display.barWidth&&x.options.lineWrapping&&WA(x),Nf(x,VA(x)),ae=x.display.barWidth,ie=x.display.barHeight}function Nf(x,ee){var ae=x.display,ie=ae.scrollbars.update(ee);ae.sizer.style.paddingRight=(ae.barWidth=ie.right)+"px",ae.sizer.style.paddingBottom=(ae.barHeight=ie.bottom)+"px",ae.heightForcer.style.borderBottom=ie.bottom+"px solid transparent",ie.right&&ie.bottom?(ae.scrollbarFiller.style.display="block",ae.scrollbarFiller.style.height=ie.bottom+"px",ae.scrollbarFiller.style.width=ie.right+"px"):ae.scrollbarFiller.style.display="",ie.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ae.gutterFiller.style.display="block",ae.gutterFiller.style.height=ie.bottom+"px",ae.gutterFiller.style.width=ee.gutterWidth+"px"):ae.gutterFiller.style.display=""}var Bd={native:kA,null:wc};function X0(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&>(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new Bd[x.options.scrollbarStyle](function(ee){x.display.wrapper.insertBefore(ee,x.display.scrollbarFiller),dn(ee,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),ee.setAttribute("cm-not-content","true")},function(ee,ae){ae=="horizontal"?Yu(x,ee):Ac(x,ee)},x),x.display.scrollbars.addClass&&un(x.display.wrapper,x.display.scrollbars.addClass)}var Zp=0;function Rc(x){x.curOp={cm:x,viewChanged:!1,startHeight:x.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Zp},zn(x.curOp)}function Fu(x){var ee=x.curOp;ee&&Tr(ee,function(ae){for(var ie=0;ie=ae.viewTo)||ae.maxLineChanged&&ee.options.lineWrapping,x.update=x.mustUpdate&&new Eh(ee,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function Uf(x){x.updatedDisplay=x.mustUpdate&&c0(x.cm,x.update)}function J0(x){var ee=x.cm,ae=ee.display;x.updatedDisplay&&WA(ee),x.barMeasure=VA(ee),ae.maxLineChanged&&!ee.options.lineWrapping&&(x.adjustWidthTo=Zl(ee,ae.maxLine,ae.maxLine.text.length).left+3,ee.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ae.scroller.clientWidth,ae.sizer.offsetLeft+x.adjustWidthTo+Il(ee)+ee.display.barWidth),x.maxScrollLeft=Math.max(0,ae.sizer.offsetLeft+x.adjustWidthTo-Rs(ee))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ae.input.prepareSelection())}function Rf(x){var ee=x.cm;x.adjustWidthTo!=null&&(ee.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft=x.display.viewTo)){var ae=+new Date+x.options.workTime,ie=cr(x,ee.highlightFrontier),le=[];ee.iter(ie.line,Math.min(ee.first+ee.size,x.display.viewTo+500),function(Be){if(ie.line>=x.display.viewFrom){var He=Be.styles,Je=Be.text.length>x.options.maxHighlightLength?tt(ee.mode,ie.state):null,at=yr(x,Be,ie,!0);Je&&(ie.state=Je),Be.styles=at.styles;var wt=Be.styleClasses,wn=at.classes;wn?Be.styleClasses=wn:wt&&(Be.styleClasses=null);for(var Dn=!He||He.length!=Be.styles.length||wt!=wn&&(!wt||!wn||wt.bgClass!=wn.bgClass||wt.textClass!=wn.textClass),xr=0;!Dn&&xrae)return GA(x,x.options.workDelay),!0}),ee.highlightFrontier=ie.line,ee.modeFrontier=Math.max(ee.modeFrontier,ie.line),le.length&&_l(x,function(){for(var Be=0;Be=ae.viewFrom&&ee.visible.to<=ae.viewTo&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo)&&ae.renderedView==ae.view&&gs(x)==0)return!1;Mh(x)&&(ku(x),ee.dims=vs(x));var le=ie.first+ie.size,Be=Math.max(ee.visible.from-x.options.viewportMargin,ie.first),He=Math.min(le,ee.visible.to+x.options.viewportMargin);ae.viewFromHe&&ae.viewTo-He<20&&(He=Math.min(le,ae.viewTo)),Ca&&(Be=Oo(x.doc,Be),He=Ao(x.doc,He));var Je=Be!=ae.viewFrom||He!=ae.viewTo||ae.lastWrapHeight!=ee.wrapperHeight||ae.lastWrapWidth!=ee.wrapperWidth;EA(x,Be,He),ae.viewOffset=Ni(xt(x.doc,ae.viewFrom)),x.display.mover.style.top=ae.viewOffset+"px";var at=gs(x);if(!Je&&at==0&&!ee.force&&ae.renderedView==ae.view&&(ae.updateLineNumbers==null||ae.updateLineNumbers>=ae.viewTo))return!1;var wt=qp(x);return at>4&&(ae.lineDiv.style.display="none"),eg(x,ae.updateLineNumbers,ee.dims),at>4&&(ae.lineDiv.style.display=""),ae.renderedView=ae.view,$p(wt),Et(ae.cursorDiv),Et(ae.selectionDiv),ae.gutters.style.height=ae.sizer.style.minHeight=0,Je&&(ae.lastWrapHeight=ee.wrapperHeight,ae.lastWrapWidth=ee.wrapperWidth,GA(x,400)),ae.updateLineNumbers=null,!0}function $0(x,ee){for(var ae=ee.viewport,ie=!0;;ie=!1){if(!ie||!x.options.lineWrapping||ee.oldDisplayWidth==Rs(x)){if(ae&&ae.top!=null&&(ae={top:Math.min(x.doc.height+Nc(x.display)-Qs(x),ae.top)}),ee.visible=kl(x.display,x.doc,ae),ee.visible.from>=x.display.viewFrom&&ee.visible.to<=x.display.viewTo)break}else ie&&(ee.visible=kl(x.display,x.doc,ae));if(!c0(x,ee))break;WA(x);var le=VA(x);Xc(x),Xu(x,le),u0(x,le),ee.force=!1}ee.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(ee.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function Xd(x,ee){var ae=new Eh(x,ee);if(c0(x,ae)){WA(x),$0(x,ae);var ie=VA(x);Xc(x),Xu(x,ie),u0(x,ie),ae.finish()}}function eg(x,ee,ae){var ie=x.display,le=x.options.lineNumbers,Be=ie.lineDiv,He=Be.firstChild;function Je(ri){var Li=ri.nextSibling;return vt&&st&&x.display.currentWheelTarget==ri?ri.style.display="none":ri.parentNode.removeChild(ri),Li}for(var at=ie.view,wt=ie.viewFrom,wn=0;wn-1&&(gr=!1),Si(x,Dn,wt,ae)),gr&&(Et(Dn.lineNumber),Dn.lineNumber.appendChild(document.createTextNode(Pr(x.options,wt)))),He=Dn.node.nextSibling}wt+=Dn.size}for(;He;)He=Je(He)}function Sd(x){var ee=x.gutters.offsetWidth;x.sizer.style.marginLeft=ee+"px"}function u0(x,ee){x.display.sizer.style.minHeight=ee.docHeight+"px",x.display.heightForcer.style.top=ee.docHeight+"px",x.display.gutters.style.height=ee.docHeight+x.display.barHeight+Il(x)+"px"}function ep(x){var ee=x.display,ae=ee.view;if(!(!ee.alignWidgets&&(!ee.gutters.firstChild||!x.options.fixedGutter))){for(var ie=Ks(ee)-ee.scroller.scrollLeft+x.doc.scrollLeft,le=ee.gutters.offsetWidth,Be=ie+"px",He=0;HeHe.clientWidth,at=He.scrollHeight>He.clientHeight;if(ie&&Je||le&&at){if(le&&st&&vt){e:for(var wt=ee.target,wn=Be.view;wt!=He;wt=wt.parentNode)for(var Dn=0;Dn=0&&mr(x,ie.to())<=0)return ae}return-1};var zs=function(x,ee){this.anchor=x,this.head=ee};zs.prototype.from=function(){return pi(this.anchor,this.head)},zs.prototype.to=function(){return Mi(this.anchor,this.head)},zs.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function qc(x,ee,ae){var ie=x&&x.options.selectionsMayTouch,le=ee[ae];ee.sort(function(xr,gr){return mr(xr.from(),gr.from())}),ae=ft(ee,le);for(var Be=1;Be0:at>=0){var wt=pi(Je.from(),He.from()),wn=Mi(Je.to(),He.to()),Dn=Je.empty()?He.from()==He.head:Je.from()==Je.head;Be<=ae&&--ae,ee.splice(--Be,2,new zs(Dn?wn:wt,Dn?wt:wn))}}return new Au(ee,ae)}function fA(x,ee){return new Au([new zs(x,ee||x)],0)}function ZA(x){return x.text?Qn(x.from.line+x.text.length-1,ln(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function d0(x,ee){if(mr(x,ee.from)<0)return x;if(mr(x,ee.to)<=0)return ZA(ee);var ae=x.line+ee.text.length-(ee.to.line-ee.from.line)-1,ie=x.ch;return x.line==ee.to.line&&(ie+=ZA(ee).ch-ee.to.ch),Qn(ae,ie)}function $d(x,ee){for(var ae=[],ie=0;ie1&&x.remove(Je.line+1,ri-1),x.insert(Je.line+1,Ea)}ai(x,"change",x,ee)}function YA(x,ee,ae){function ie(le,Be,He){if(le.linked)for(var Je=0;Je1&&!x.done[x.done.length-2].ranges)return x.done.pop(),ln(x.done)}function Md(x,ee,ae,ie){var le=x.history;le.undone.length=0;var Be=+new Date,He,Je;if((le.lastOp==ie||le.lastOrigin==ee.origin&&ee.origin&&(ee.origin.charAt(0)=="+"&&le.lastModTime>Be-(x.cm?x.cm.options.historyEventDelay:500)||ee.origin.charAt(0)=="*"))&&(He=Ih(le,le.lastOp==ie)))Je=ln(He.changes),mr(ee.from,ee.to)==0&&mr(ee.from,Je.to)==0?Je.to=ZA(ee):He.changes.push(g0(x,ee));else{var at=ln(le.done);for((!at||!at.ranges)&&FA(x.sel,le.done),He={changes:[g0(x,ee)],generation:le.generation},le.done.push(He);le.done.length>le.undoDepth;)le.done.shift(),le.done[0].ranges||le.done.shift()}le.done.push(ae),le.generation=++le.maxGeneration,le.lastModTime=le.lastSelTime=Be,le.lastOp=le.lastSelOp=ie,le.lastOrigin=le.lastSelOrigin=ee.origin,Je||nt(x,"historyAdded")}function m0(x,ee,ae,ie){var le=ee.charAt(0);return le=="*"||le=="+"&&ae.ranges.length==ie.ranges.length&&ae.somethingSelected()==ie.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function v0(x,ee,ae,ie){var le=x.history,Be=ie&&ie.origin;ae==le.lastSelOp||Be&&le.lastSelOrigin==Be&&(le.lastModTime==le.lastSelTime&&le.lastOrigin==Be||m0(x,Be,ln(le.done),ee))?le.done[le.done.length-1]=ee:FA(ee,le.done),le.lastSelTime=+new Date,le.lastSelOrigin=Be,le.lastSelOp=ae,ie&&ie.clearRedo!==!1&&np(le.undone)}function FA(x,ee){var ae=ln(ee);ae&&ae.ranges&&ae.equals(x)||ee.push(x)}function Dh(x,ee,ae,ie){var le=ee["spans_"+x.id],Be=0;x.iter(Math.max(x.first,ae),Math.min(x.first+x.size,ie),function(He){He.markedSpans&&((le||(le=ee["spans_"+x.id]={}))[Be]=He.markedSpans),++Be})}function _h(x){if(!x)return null;for(var ee,ae=0;ae-1&&(ln(Je)[Dn]=wt[Dn],delete wt[Dn])}}return ie}function b0(x,ee,ae,ie){if(ie){var le=x.anchor;if(ae){var Be=mr(ee,le)<0;Be!=mr(ae,le)<0?(le=ee,ee=ae):Be!=mr(ee,ae)<0&&(ee=ae)}return new zs(le,ee)}else return new zs(ae||ee,ee)}function XA(x,ee,ae,ie,le){le==null&&(le=x.cm&&(x.cm.display.shift||x.extend)),$l(x,new Au([b0(x.sel.primary(),ee,ae,le)],0),ie)}function Ia(x,ee,ae){for(var ie=[],le=x.cm&&(x.cm.display.shift||x.extend),Be=0;Be=ee.ch:Je.to>ee.ch))){if(le&&(nt(at,"beforeCursorEnter"),at.explicitlyCleared))if(Be.markedSpans){--He;continue}else break;if(!at.atomic)continue;if(ae){var Dn=at.find(ie<0?1:-1),xr=void 0;if((ie<0?wn:wt)&&(Dn=DA(x,Dn,-ie,Dn&&Dn.line==ee.line?Be:null)),Dn&&Dn.line==ee.line&&(xr=mr(Dn,ae))&&(ie<0?xr<0:xr>0))return Ol(x,Dn,ee,ie,le)}var gr=at.find(ie<0?-1:1);return(ie<0?wt:wn)&&(gr=DA(x,gr,ie,gr.line==ee.line?Be:null)),gr?Ol(x,gr,ee,ie,le):null}}return ee}function w0(x,ee,ae,ie,le){var Be=ie||1,He=Ol(x,ee,ae,Be,le)||!le&&Ol(x,ee,ae,Be,!0)||Ol(x,ee,ae,-Be,le)||!le&&Ol(x,ee,ae,-Be,!0);return He||(x.cantEdit=!0,Qn(x.first,0))}function DA(x,ee,ae,ie){return ae<0&&ee.ch==0?ee.line>x.first?Dr(x,Qn(ee.line-1)):null:ae>0&&ee.ch==(ie||xt(x,ee.line)).text.length?ee.line=0;--le)ap(x,{from:ie[le].from,to:ie[le].to,text:le?[""]:ee.text,origin:ee.origin});else ap(x,ee)}}function ap(x,ee){if(!(ee.text.length==1&&ee.text[0]==""&&mr(ee.from,ee.to)==0)){var ae=$d(x,ee);Md(x,ee,ae,x.cm?x.cm.curOp.id:NaN),Fd(x,ee,ae,Ai(x,ee));var ie=[];YA(x,function(le,Be){!Be&&ft(ie,le.history)==-1&&(Kf(le.history,ee),ie.push(le.history)),Fd(le,ee,null,Ai(le,ee))})}}function _A(x,ee,ae){var ie=x.cm&&x.cm.state.suppressEdits;if(!(ie&&!ae)){for(var le=x.history,Be,He=x.sel,Je=ee=="undo"?le.done:le.undone,at=ee=="undo"?le.undone:le.done,wt=0;wt=0;--gr){var ri=xr(gr);if(ri)return ri.v}}}}function af(x,ee){if(ee!=0&&(x.first+=ee,x.sel=new Au(on(x.sel.ranges,function(le){return new zs(Qn(le.anchor.line+ee,le.anchor.ch),Qn(le.head.line+ee,le.head.ch))}),x.sel.primIndex),x.cm)){rc(x.cm,x.first,x.first-ee,ee);for(var ae=x.cm.display,ie=ae.viewFrom;iex.lastLine())){if(ee.from.lineBe&&(ee={from:ee.from,to:Qn(Be,xt(x,Be).text.length),text:[ee.text[0]],origin:ee.origin}),ee.removed=Gt(x,ee.from,ee.to),ae||(ae=$d(x,ee)),x.cm?op(x.cm,ee,ie):Hf(x,ee,ie),jf(x,ae,Mt),x.cantEdit&&w0(x,Qn(x.firstLine(),0))&&(x.cantEdit=!1)}}function op(x,ee,ae){var ie=x.doc,le=x.display,Be=ee.from,He=ee.to,Je=!1,at=Be.line;x.options.lineWrapping||(at=jn(Ua(xt(ie,Be.line))),ie.iter(at,He.line+1,function(gr){if(gr==le.maxLine)return Je=!0,!0})),ie.sel.contains(ee.from,ee.to)>-1&&Tn(x),Hf(ie,ee,ae,Uc(x)),x.options.lineWrapping||(ie.iter(at,Be.line+ee.text.length,function(gr){var ri=Fi(gr);ri>le.maxLineLength&&(le.maxLine=gr,le.maxLineLength=ri,le.maxLineChanged=!0,Je=!1)}),Je&&(x.curOp.updateMaxLine=!0)),Ji(ie,Be.line),GA(x,400);var wt=ee.text.length-(He.line-Be.line)-1;ee.full?rc(x):Be.line==He.line&&ee.text.length==1&&!nf(x.doc,ee)?Mu(x,Be.line,"text"):rc(x,Be.line,He.line+1,wt);var wn=Vn(x,"changes"),Dn=Vn(x,"change");if(Dn||wn){var xr={from:Be,to:He,text:ee.text,removed:ee.removed,origin:ee.origin};Dn&&ai(x,"change",x,xr),wn&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(xr)}x.display.selForContextMenu=null}function of(x,ee,ae,ie,le){var Be;ie||(ie=ae),mr(ie,ae)<0&&(Be=[ie,ae],ae=Be[0],ie=Be[1]),typeof ee=="string"&&(ee=x.splitLines(ee)),JA(x,{from:ae,to:ie,text:ee,origin:le})}function sp(x,ee,ae,ie){ae1||!(this.children[0]instanceof qA))){var Je=[];this.collapse(Je),this.children=[new qA(Je)],this.children[0].parent=this}},collapse:function(x){for(var ee=0;ee50){for(var He=le.lines.length%25+25,Je=He;Je10);x.parent.maybeSpill()}},iterN:function(x,ee,ae){for(var ie=0;iex.display.maxLineLength&&(x.display.maxLine=wt,x.display.maxLineLength=wn,x.display.maxLineChanged=!0)}ie!=null&&x&&this.collapsed&&rc(x,ie,le+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Ld(x.doc)),x&&ai(x,"markerCleared",x,this,ie,le),ee&&Fu(x),this.parent&&this.parent.clear()}},qu.prototype.find=function(x,ee){x==null&&this.type=="bookmark"&&(x=1);for(var ae,ie,le=0;le0||He==0&&Be.clearWhenEmpty!==!1)return Be;if(Be.replacedWith&&(Be.collapsed=!0,Be.widgetNode=Yt("span",[Be.replacedWith],"CodeMirror-widget"),ie.handleMouseEvents||Be.widgetNode.setAttribute("cm-ignore-events","true"),ie.insertLeft&&(Be.widgetNode.insertLeft=!0)),Be.collapsed){if(Na(x,ee.line,ee,ae,Be)||ee.line!=ae.line&&Na(x,ae.line,ee,ae,Be))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pi()}Be.addToHistory&&Md(x,{from:ee,to:ae,origin:"markText"},x.sel,NaN);var Je=ee.line,at=x.cm,wt;if(x.iter(Je,ae.line+1,function(Dn){at&&Be.collapsed&&!at.options.lineWrapping&&Ua(Dn)==at.display.maxLine&&(wt=!0),Be.collapsed&&Je!=ee.line&&Mn(Dn,0),Oa(Dn,new aa(Be,Je==ee.line?ee.ch:null,Je==ae.line?ae.ch:null)),++Je}),Be.collapsed&&x.iter(ee.line,ae.line+1,function(Dn){zo(x,Dn)&&Mn(Dn,0)}),Be.clearOnEnter&&dn(Be,"beforeCursorEnter",function(){return Be.clear()}),Be.readOnly&&(ga(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),Be.collapsed&&(Be.id=++Th,Be.atomic=!0),at){if(wt&&(at.curOp.updateMaxLine=!0),Be.collapsed)rc(at,ee.line,ae.line+1);else if(Be.className||Be.startStyle||Be.endStyle||Be.css||Be.attributes||Be.title)for(var wn=ee.line;wn<=ae.line;wn++)Mu(at,wn,"text");Be.atomic&&Ld(at.doc),ai(at,"markerAdded",at,Be)}return Be}var Xo=function(x,ee){this.markers=x,this.primary=ee;for(var ae=0;ae=0;at--)JA(this,ie[at]);Je?xc(this,Je):this.cm&&wu(this.cm)}),undo:dc(function(){_A(this,"undo")}),redo:dc(function(){_A(this,"redo")}),undoSelection:dc(function(){_A(this,"undo",!0)}),redoSelection:dc(function(){_A(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,ee=0,ae=0,ie=0;ie=x.ch)&&ee.push(le.marker.parent||le.marker)}return ee},findMarks:function(x,ee,ae){x=Dr(this,x),ee=Dr(this,ee);var ie=[],le=x.line;return this.iter(x.line,ee.line+1,function(Be){var He=Be.markedSpans;if(He)for(var Je=0;Je=at.to||at.from==null&&le!=x.line||at.from!=null&&le==ee.line&&at.from>=ee.ch)&&(!ae||ae(at.marker))&&ie.push(at.marker.parent||at.marker)}++le}),ie},getAllMarks:function(){var x=[];return this.iter(function(ee){var ae=ee.markedSpans;if(ae)for(var ie=0;iex)return ee=x,!0;x-=Be,++ae}),Dr(this,Qn(ae,ee))},indexFromPos:function(x){x=Dr(this,x);var ee=x.ch;if(x.lineee&&(ee=x.from),x.to!=null&&x.to-1){ee.state.draggingText(x),setTimeout(function(){return ee.display.input.focus()},20);return}try{var wn=x.dataTransfer.getData("Text");if(wn){var Dn;if(ee.state.draggingText&&!ee.state.draggingText.copy&&(Dn=ee.listSelections()),jf(ee.doc,fA(ae,ae)),Dn)for(var xr=0;xr=0;Je--)of(x.doc,"",ie[Je].from,ie[Je].to,"+delete");wu(x)})}function fc(x,ee,ae){var ie=an(x.text,ee+ae,ae);return ie<0||ie>x.text.length?null:ie}function OA(x,ee,ae){var ie=fc(x,ee.ch,ae);return ie==null?null:new Qn(ee.line,ie,ae<0?"after":"before")}function ed(x,ee,ae,ie,le){if(x){ee.doc.direction=="rtl"&&(le=-le);var Be=Cr(ae,ee.doc.direction);if(Be){var He=le<0?ln(Be):Be[0],Je=le<0==(He.level==1),at=Je?"after":"before",wt;if(He.level>0||ee.doc.direction=="rtl"){var wn=vo(ee,ae);wt=le<0?ae.text.length-1:0;var Dn=hs(ee,wn,wt).top;wt=An(function(xr){return hs(ee,wn,xr).top==Dn},le<0==(He.level==1)?He.from:He.to-1,wt),at=="before"&&(wt=fc(ae,wt,1))}else wt=le<0?He.to:He.from;return new Qn(ie,wt,at)}}return new Qn(ie,le<0?ae.text.length:0,le<0?"before":"after")}function $u(x,ee,ae,ie){var le=Cr(ee,x.doc.direction);if(!le)return OA(ee,ae,ie);ae.ch>=ee.text.length?(ae.ch=ee.text.length,ae.sticky="before"):ae.ch<=0&&(ae.ch=0,ae.sticky="after");var Be=Pn(le,ae.ch,ae.sticky),He=le[Be];if(x.doc.direction=="ltr"&&He.level%2==0&&(ie>0?He.to>ae.ch:He.from=He.from&&xr>=wn.begin)){var gr=Dn?"before":"after";return new Qn(ae.line,xr,gr)}}var ri=function(Ea,Pa,ya){for(var ja=function(nl,hc){return hc?new Qn(ae.line,Je(nl,1),"before"):new Qn(ae.line,nl,"after")};Ea>=0&&Ea0==(io.level!=1),wo=lo?ya.begin:Je(ya.end,-1);if(io.from<=wo&&wo0?wn.end:Je(wn.begin,-1);return ra!=null&&!(ie>0&&ra==ee.text.length)&&(Li=ri(ie>0?0:le.length-1,ie,wt(ra)),Li)?Li:null}var Zf={selectAll:xu,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),Mt)},killLine:function(x){return Ic(x,function(ee){if(ee.empty()){var ae=xt(x.doc,ee.head.line).text.length;return ee.head.ch==ae&&ee.head.line0)le=new Qn(le.line,le.ch+1),x.replaceRange(Be.charAt(le.ch-1)+Be.charAt(le.ch-2),Qn(le.line,le.ch-2),le,"+transpose");else if(le.line>x.doc.first){var He=xt(x.doc,le.line-1).text;He&&(le=new Qn(le.line,1),x.replaceRange(Be.charAt(0)+x.doc.lineSeparator()+He.charAt(He.length-1),Qn(le.line-1,He.length-1),le,"+transpose"))}}ae.push(new zs(le,le))}x.setSelections(ae)})},newlineAndIndent:function(x){return _l(x,function(){for(var ee=x.listSelections(),ae=ee.length-1;ae>=0;ae--)x.replaceRange(x.doc.lineSeparator(),ee[ae].anchor,ee[ae].head,"+input");ee=x.listSelections();for(var ie=0;iex&&mr(ee,this.pos)==0&&ae==this.button};var eA,td;function I0(x,ee){var ae=+new Date;return td&&td.compare(ae,x,ee)?(eA=td=null,"triple"):eA&&eA.compare(ae,x,ee)?(td=new Xf(ae,x,ee),eA=null,"double"):(eA=new Xf(ae,x,ee),td=null,"single")}function ec(x){var ee=this,ae=ee.display;if(!(Ft(ee,x)||ae.activeTouch&&ae.input.supportsTouch())){if(ae.input.ensurePolled(),ae.shift=x.shiftKey,el(ae,x)){vt||(ae.scroller.draggable=!1,setTimeout(function(){return ae.scroller.draggable=!0},100));return}if(!Qc(ee,x)){var ie=Eu(ee,x),le=pr(x),Be=ie?I0(ie,le):"single";window.focus(),le==1&&ee.state.selectingText&&ee.state.selectingText(x),!(ie&&nd(ee,le,ie,Be,x))&&(le==1?ie?Rh(ee,ie,Be,x):dr(x)==ae.scroller&&jr(x):le==2?(ie&&XA(ee.doc,ie),setTimeout(function(){return ae.input.focus()},20)):le==3&&(rt?ee.display.input.onContextMenu(x):Bh(ee)))}}}function nd(x,ee,ae,ie,le){var Be="Click";return ie=="double"?Be="Double"+Be:ie=="triple"&&(Be="Triple"+Be),Be=(ee==1?"Left":ee==2?"Middle":"Right")+Be,Yf(x,mA(Be,le),le,function(He){if(typeof He=="string"&&(He=Zf[He]),!He)return!1;var Je=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),Je=He(x,ae)!=$t}finally{x.state.suppressEdits=!1}return Je})}function Jf(x,ee,ae){var ie=x.getOption("configureMouse"),le=ie?ie(x,ee,ae):{};if(le.unit==null){var Be=At?ae.shiftKey&&ae.metaKey:ae.altKey;le.unit=Be?"rectangle":ee=="single"?"char":ee=="double"?"word":"line"}return(le.extend==null||x.doc.extend)&&(le.extend=x.doc.extend||ae.shiftKey),le.addNew==null&&(le.addNew=st?ae.metaKey:ae.ctrlKey),le.moveOnDrag==null&&(le.moveOnDrag=!(st?ae.altKey:ae.ctrlKey)),le}function Rh(x,ee,ae,ie){We?setTimeout(nn(Cd,x),0):x.curOp.focus=bt();var le=Jf(x,ae,ie),Be=x.doc.sel,He;x.options.dragDrop&&zr&&!x.isReadOnly()&&ae=="single"&&(He=Be.contains(ee))>-1&&(mr((He=Be.ranges[He]).from(),ee)<0||ee.xRel>0)&&(mr(He.to(),ee)>0||ee.xRel<0)?Qh(x,ie,ee,le):D0(x,ie,ee,le)}function Qh(x,ee,ae,ie){var le=x.display,Be=!1,He=ql(x,function(wt){vt&&(le.scroller.draggable=!1),x.state.draggingText=!1,Ot(le.wrapper.ownerDocument,"mouseup",He),Ot(le.wrapper.ownerDocument,"mousemove",Je),Ot(le.scroller,"dragstart",at),Ot(le.scroller,"drop",He),Be||(jr(wt),ie.addNew||XA(x.doc,ae,null,null,ie.extend),vt&&!Xe||We&<==9?setTimeout(function(){le.wrapper.ownerDocument.body.focus({preventScroll:!0}),le.input.focus()},20):le.input.focus())}),Je=function(wt){Be=Be||Math.abs(ee.clientX-wt.clientX)+Math.abs(ee.clientY-wt.clientY)>=10},at=function(){return Be=!0};vt&&(le.scroller.draggable=!0),x.state.draggingText=He,He.copy=!ie.moveOnDrag,le.scroller.dragDrop&&le.scroller.dragDrop(),dn(le.wrapper.ownerDocument,"mouseup",He),dn(le.wrapper.ownerDocument,"mousemove",Je),dn(le.scroller,"dragstart",at),dn(le.scroller,"drop",He),Bh(x),setTimeout(function(){return le.input.focus()},20)}function ff(x,ee,ae){if(ae=="char")return new zs(ee,ee);if(ae=="word")return x.findWordAt(ee);if(ae=="line")return new zs(Qn(ee.line,0),Dr(x.doc,Qn(ee.line+1,0)));var ie=ae(x,ee);return new zs(ie.from,ie.to)}function D0(x,ee,ae,ie){var le=x.display,Be=x.doc;jr(ee);var He,Je,at=Be.sel,wt=at.ranges;if(ie.addNew&&!ie.extend?(Je=Be.sel.contains(ae),Je>-1?He=wt[Je]:He=new zs(ae,ae)):(He=Be.sel.primary(),Je=Be.sel.primIndex),ie.unit=="rectangle")ie.addNew||(He=new zs(ae,ae)),ae=Eu(x,ee,!0,!0),Je=-1;else{var wn=ff(x,ae,ie.unit);ie.extend?He=b0(He,wn.anchor,wn.head,ie.extend):He=wn}ie.addNew?Je==-1?(Je=wt.length,$l(Be,qc(x,wt.concat([He]),Je),{scroll:!1,origin:"*mouse"})):wt.length>1&&wt[Je].empty()&&ie.unit=="char"&&!ie.extend?($l(Be,qc(x,wt.slice(0,Je).concat(wt.slice(Je+1)),0),{scroll:!1,origin:"*mouse"}),at=Be.sel):Iu(Be,Je,He,_t):(Je=0,$l(Be,new Au([He],0),_t),at=Be.sel);var Dn=ae;function xr(ya){if(mr(Dn,ya)!=0)if(Dn=ya,ie.unit=="rectangle"){for(var ja=[],io=x.options.tabSize,lo=Ge(xt(Be,ae.line).text,ae.ch,io),wo=Ge(xt(Be,ya.line).text,ya.ch,io),nl=Math.min(lo,wo),hc=Math.max(lo,wo),Bl=Math.min(ae.line,ya.line),Dc=Math.min(x.lastLine(),Math.max(ae.line,ya.line));Bl<=Dc;Bl++){var Cc=xt(Be,Bl).text,ac=Jn(Cc,nl,io);nl==hc?ja.push(new zs(Qn(Bl,ac),Qn(Bl,ac))):Cc.length>ac&&ja.push(new zs(Qn(Bl,ac),Qn(Bl,Jn(Cc,hc,io))))}ja.length||ja.push(new zs(ae,ae)),$l(Be,qc(x,at.ranges.slice(0,Je).concat(ja),Je),{origin:"*mouse",scroll:!1}),x.scrollIntoView(ya)}else{var Hc=He,Uo=ff(x,ya,ie.unit),da=Hc.anchor,ll;mr(Uo.anchor,da)>0?(ll=Uo.head,da=pi(Hc.from(),Uo.anchor)):(ll=Uo.anchor,da=Mi(Hc.to(),Uo.head));var Sl=at.ranges.slice(0);Sl[Je]=Ap(x,new zs(Dr(Be,da),ll)),$l(Be,qc(x,Sl,Je),_t)}}var gr=le.wrapper.getBoundingClientRect(),ri=0;function Li(ya){var ja=++ri,io=Eu(x,ya,!0,ie.unit=="rectangle");if(io)if(mr(io,Dn)!=0){x.curOp.focus=bt(),xr(io);var lo=kl(le,Be);(io.line>=lo.to||io.linegr.bottom?20:0;wo&&setTimeout(ql(x,function(){ri==ja&&(le.scroller.scrollTop+=wo,Li(ya))}),50)}}function ra(ya){x.state.selectingText=!1,ri=1/0,ya&&(jr(ya),le.input.focus()),Ot(le.wrapper.ownerDocument,"mousemove",Ea),Ot(le.wrapper.ownerDocument,"mouseup",Pa),Be.history.lastSelOrigin=null}var Ea=ql(x,function(ya){ya.buttons===0||!pr(ya)?ra(ya):Li(ya)}),Pa=ql(x,ra);x.state.selectingText=Pa,dn(le.wrapper.ownerDocument,"mousemove",Ea),dn(le.wrapper.ownerDocument,"mouseup",Pa)}function Ap(x,ee){var ae=ee.anchor,ie=ee.head,le=xt(x.doc,ae.line);if(mr(ae,ie)==0&&ae.sticky==ie.sticky)return ee;var Be=Cr(le);if(!Be)return ee;var He=Pn(Be,ae.ch,ae.sticky),Je=Be[He];if(Je.from!=ae.ch&&Je.to!=ae.ch)return ee;var at=He+(Je.from==ae.ch==(Je.level!=1)?0:1);if(at==0||at==Be.length)return ee;var wt;if(ie.line!=ae.line)wt=(ie.line-ae.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var wn=Pn(Be,ie.ch,ie.sticky),Dn=wn-He||(ie.ch-ae.ch)*(Je.level==1?-1:1);wn==at-1||wn==at?wt=Dn<0:wt=Dn>0}var xr=Be[at+(wt?-1:0)],gr=wt==(xr.level==1),ri=gr?xr.from:xr.to,Li=gr?"after":"before";return ae.ch==ri&&ae.sticky==Li?ee:new zs(new Qn(ae.line,ri,Li),ie)}function Hh(x,ee,ae,ie){var le,Be;if(ee.touches)le=ee.touches[0].clientX,Be=ee.touches[0].clientY;else try{le=ee.clientX,Be=ee.clientY}catch(xr){return!1}if(le>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;ie&&jr(ee);var He=x.display,Je=He.lineDiv.getBoundingClientRect();if(Be>Je.bottom||!Vn(x,ae))return Kr(ee);Be-=Je.top-He.viewOffset;for(var at=0;at=le){var wn=or(x.doc,Be),Dn=x.display.gutterSpecs[at];return nt(x,ae,x,wn,Dn.className,ee),Kr(ee)}}}function Qc(x,ee){return Hh(x,ee,"gutterClick",!0)}function rd(x,ee){el(x.display,ee)||hf(x,ee)||Ft(x,ee,"contextmenu")||rt||x.display.input.onContextMenu(ee)}function hf(x,ee){return Vn(x,"gutterContextMenu")?Hh(x,ee,"gutterContextMenu",!1):!1}function jh(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ss(x)}var vA={toString:function(){return"CodeMirror.Init"}},ag={},_0={};function Rg(x){var ee=x.optionHandlers;function ae(ie,le,Be,He){x.defaults[ie]=le,Be&&(ee[ie]=He?function(Je,at,wt){wt!=vA&&Be(Je,at,wt)}:Be)}x.defineOption=ae,x.Init=vA,ae("value","",function(ie,le){return ie.setValue(le)},!0),ae("mode",null,function(ie,le){ie.doc.modeOption=le,h0(ie)},!0),ae("indentUnit",2,h0,!0),ae("indentWithTabs",!1),ae("smartIndent",!0),ae("tabSize",4,function(ie){tf(ie),Ss(ie),rc(ie)},!0),ae("lineSeparator",null,function(ie,le){if(ie.doc.lineSep=le,!!le){var Be=[],He=ie.doc.first;ie.doc.iter(function(at){for(var wt=0;;){var wn=at.text.indexOf(le,wt);if(wn==-1)break;wt=wn+le.length,Be.push(Qn(He,wn))}He++});for(var Je=Be.length-1;Je>=0;Je--)of(ie.doc,le,Be[Je],Qn(Be[Je].line,Be[Je].ch+le.length))}}),ae("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ie,le,Be){ie.state.specialChars=new RegExp(le.source+(le.test(" ")?"":"| "),"g"),Be!=vA&&ie.refresh()}),ae("specialCharPlaceholder",Us,function(ie){return ie.refresh()},!0),ae("electricChars",!0),ae("inputStyle",it?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ae("spellcheck",!1,function(ie,le){return ie.getInputField().spellcheck=le},!0),ae("autocorrect",!1,function(ie,le){return ie.getInputField().autocorrect=le},!0),ae("autocapitalize",!1,function(ie,le){return ie.getInputField().autocapitalize=le},!0),ae("rtlMoveVisually",!Qt),ae("wholeLineUpdateBefore",!0),ae("theme","default",function(ie){jh(ie),LA(ie)},!0),ae("keyMap","default",function(ie,le,Be){var He=Ys(le),Je=Be!=vA&&Ys(Be);Je&&Je.detach&&Je.detach(ie,He),He.attach&&He.attach(ie,Je||null)}),ae("extraKeys",null),ae("configureMouse",null),ae("lineWrapping",!1,dp,!0),ae("gutters",[],function(ie,le){ie.display.gutterSpecs=Jd(le,ie.options.lineNumbers),LA(ie)},!0),ae("fixedGutter",!0,function(ie,le){ie.display.gutters.style.left=le?Ks(ie.display)+"px":"0",ie.refresh()},!0),ae("coverGutterNextToScrollbar",!1,function(ie){return Xu(ie)},!0),ae("scrollbarStyle","native",function(ie){X0(ie),Xu(ie),ie.display.scrollbars.setScrollTop(ie.doc.scrollTop),ie.display.scrollbars.setScrollLeft(ie.doc.scrollLeft)},!0),ae("lineNumbers",!1,function(ie,le){ie.display.gutterSpecs=Jd(ie.options.gutters,le),LA(ie)},!0),ae("firstLineNumber",1,LA,!0),ae("lineNumberFormatter",function(ie){return ie},LA,!0),ae("showCursorWhenSelecting",!1,Xc,!0),ae("resetSelectionOnContextMenu",!0),ae("lineWiseCopyCut",!0),ae("pasteLinesPerSelection",!0),ae("selectionsMayTouch",!1),ae("readOnly",!1,function(ie,le){le=="nocursor"&&(Lu(ie),ie.display.input.blur()),ie.display.input.readOnlyChanged(le)}),ae("screenReaderLabel",null,function(ie,le){le=le===""?null:le,ie.display.input.screenReaderLabelChanged(le)}),ae("disableInput",!1,function(ie,le){le||ie.display.input.reset()},!0),ae("dragDrop",!0,Qg),ae("allowDropFileTypes",null),ae("cursorBlinkRate",530),ae("cursorScrollMargin",0),ae("cursorHeight",1,Xc,!0),ae("singleCursorHeightPerLine",!0,Xc,!0),ae("workTime",100),ae("workDelay",100),ae("flattenSpans",!0,tf,!0),ae("addModeClass",!1,tf,!0),ae("pollInterval",100),ae("undoDepth",200,function(ie,le){return ie.doc.history.undoDepth=le}),ae("historyEventDelay",1250),ae("viewportMargin",10,function(ie){return ie.refresh()},!0),ae("maxHighlightLength",1e4,tf,!0),ae("moveInputWithCursor",!0,function(ie,le){le||ie.display.input.resetPosition()}),ae("tabindex",null,function(ie,le){return ie.display.input.getField().tabIndex=le||""}),ae("autofocus",null),ae("direction","ltr",function(ie,le){return ie.doc.setDirection(le)},!0),ae("phrases",null)}function Qg(x,ee,ae){var ie=ae&&ae!=vA;if(!ee!=!ie){var le=x.display.dragFunctions,Be=ee?dn:Ot;Be(x.display.scroller,"dragstart",le.start),Be(x.display.scroller,"dragenter",le.enter),Be(x.display.scroller,"dragover",le.over),Be(x.display.scroller,"dragleave",le.leave),Be(x.display.scroller,"drop",le.drop)}}function dp(x){x.options.lineWrapping?(un(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):(gt(x.display.wrapper,"CodeMirror-wrap"),ki(x)),nc(x),rc(x),Ss(x),setTimeout(function(){return Xu(x)},100)}function Mo(x,ee){var ae=this;if(!(this instanceof Mo))return new Mo(x,ee);this.options=ee=ee?Kt(ee):{},Kt(ag,ee,!1);var ie=ee.value;typeof ie=="string"?ie=new Pl(ie,ee.mode,null,ee.lineSeparator,ee.direction):ee.mode&&(ie.modeOption=ee.mode),this.doc=ie;var le=new Mo.inputStyles[ee.inputStyle](this),Be=this.display=new tg(x,ie,le,ee);Be.wrapper.CodeMirror=this,jh(this),ee.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),X0(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Fe,keySeq:null,specialChars:null},ee.autofocus&&!it&&Be.input.focus(),We&<<11&&setTimeout(function(){return ae.display.input.reset(!0)},20),og(this),Wf(),Rc(this),this.curOp.forceUpdate=!0,Rl(this,ie),ee.autofocus&&!it||this.hasFocus()?setTimeout(function(){ae.hasFocus()&&!ae.state.focused&&Pf(ae)},20):Lu(this);for(var He in _0)_0.hasOwnProperty(He)&&_0[He](this,ee[He],vA);Mh(this),ee.finishInit&&ee.finishInit(this);for(var Je=0;Je20*20}dn(ee.scroller,"touchstart",function(at){if(!Ft(x,at)&&!Be(at)&&!Qc(x,at)){ee.input.ensurePolled(),clearTimeout(ae);var wt=+new Date;ee.activeTouch={start:wt,moved:!1,prev:wt-ie.end<=300?ie:null},at.touches.length==1&&(ee.activeTouch.left=at.touches[0].pageX,ee.activeTouch.top=at.touches[0].pageY)}}),dn(ee.scroller,"touchmove",function(){ee.activeTouch&&(ee.activeTouch.moved=!0)}),dn(ee.scroller,"touchend",function(at){var wt=ee.activeTouch;if(wt&&!el(ee,at)&&wt.left!=null&&!wt.moved&&new Date-wt.start<300){var wn=x.coordsChar(ee.activeTouch,"page"),Dn;!wt.prev||He(wt,wt.prev)?Dn=new zs(wn,wn):!wt.prev.prev||He(wt,wt.prev.prev)?Dn=x.findWordAt(wn):Dn=new zs(Qn(wn.line,0),Dr(x.doc,Qn(wn.line+1,0))),x.setSelection(Dn.anchor,Dn.head),x.focus(),jr(at)}le()}),dn(ee.scroller,"touchcancel",le),dn(ee.scroller,"scroll",function(){ee.scroller.clientHeight&&(Ac(x,ee.scroller.scrollTop),Yu(x,ee.scroller.scrollLeft,!0),nt(x,"scroll",x))}),dn(ee.scroller,"mousewheel",function(at){return tp(x,at)}),dn(ee.scroller,"DOMMouseScroll",function(at){return tp(x,at)}),dn(ee.wrapper,"scroll",function(){return ee.wrapper.scrollTop=ee.wrapper.scrollLeft=0}),ee.dragFunctions={enter:function(at){Ft(x,at)||kr(at)},over:function(at){Ft(x,at)||(Ph(x,at),kr(at))},start:function(at){return S0(x,at)},drop:ql(x,lp),leave:function(at){Ft(x,at)||lf(x)}};var Je=ee.input.getField();dn(Je,"keyup",function(at){return rg.call(x,at)}),dn(Je,"keydown",ql(x,df)),dn(Je,"keypress",ql(x,ig)),dn(Je,"focus",function(at){return Pf(x,at)}),dn(Je,"blur",function(at){return Lu(x,at)})}var T0=[];Mo.defineInitHook=function(x){return T0.push(x)};function _u(x,ee,ae,ie){var le=x.doc,Be;ae==null&&(ae="add"),ae=="smart"&&(le.mode.indent?Be=cr(x,ee).state:ae="prev");var He=x.options.tabSize,Je=xt(le,ee),at=Ge(Je.text,null,He);Je.stateAfter&&(Je.stateAfter=null);var wt=Je.text.match(/^\s*/)[0],wn;if(!ie&&!/\S/.test(Je.text))wn=0,ae="not";else if(ae=="smart"&&(wn=le.mode.indent(Be,Je.text.slice(wt.length),Je.text),wn==$t||wn>150)){if(!ie)return;ae="prev"}ae=="prev"?ee>le.first?wn=Ge(xt(le,ee-1).text,null,He):wn=0:ae=="add"?wn=at+x.options.indentUnit:ae=="subtract"?wn=at-x.options.indentUnit:typeof ae=="number"&&(wn=at+ae),wn=Math.max(0,wn);var Dn="",xr=0;if(x.options.indentWithTabs)for(var gr=Math.floor(wn/He);gr;--gr)xr+=He,Dn+=" ";if(xrHe,at=Wi(ee),wt=null;if(Je&&ie.ranges.length>1)if(tA&&tA.text.join(` `)==ee){if(ie.ranges.length%tA.text.length==0){wt=[];for(var wn=0;wn=0;xr--){var gr=ie.ranges[xr],ri=gr.from(),Li=gr.to();gr.empty()&&(ae&&ae>0?ri=Qn(ri.line,ri.ch-ae):x.state.overwrite&&!Je?Li=Qn(Li.line,Math.min(xt(Be,Li.line).text.length,Li.ch+ln(at).length)):Je&&tA&&tA.lineWise&&tA.text.join(` `)==at.join(` `)&&(ri=Li=Qn(ri.line,0)));var ra={from:ri,to:Li,text:wt?wt[xr%wt.length]:at,origin:le||(Je?"paste":x.state.cutIncoming>He?"cut":"+input")};JA(x.doc,ra),ai(x,"inputRead",x,ra)}ee&&!Je&&qf(x,ee),wu(x),x.curOp.updateInput<2&&(x.curOp.updateInput=Dn),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function pf(x,ee){var ae=x.clipboardData&&x.clipboardData.getData("Text");if(ae)return x.preventDefault(),!ee.isReadOnly()&&!ee.options.disableInput&&_l(ee,function(){return Kh(ee,ae,0,null,"paste")}),!0}function qf(x,ee){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ae=x.doc.sel,ie=ae.ranges.length-1;ie>=0;ie--){var le=ae.ranges[ie];if(!(le.head.ch>100||ie&&ae.ranges[ie-1].head.line==le.head.line)){var Be=x.getModeAt(le.head),He=!1;if(Be.electricChars){for(var Je=0;Je-1){He=_u(x,le.head.line,"smart");break}}else Be.electricInput&&Be.electricInput.test(xt(x.doc,le.head.line).text.slice(0,le.head.ch))&&(He=_u(x,le.head.line,"smart"));He&&ai(x,"electricInput",x,le.head.line)}}}function gf(x){for(var ee=[],ae=[],ie=0;ieBe&&(_u(this,Je.head.line,ie,!0),Be=Je.head.line,He==this.doc.sel.primIndex&&wu(this));else{var at=Je.from(),wt=Je.to(),wn=Math.max(Be,at.line);Be=Math.min(this.lastLine(),wt.line-(wt.ch?0:1))+1;for(var Dn=wn;Dn0&&Iu(this.doc,He,new zs(at,xr[He].to()),Mt)}}}),getTokenAt:function(ie,le){return $i(this,ie,le)},getLineTokens:function(ie,le){return $i(this,Qn(ie),le,!0)},getTokenTypeAt:function(ie){ie=Dr(this.doc,ie);var le=$n(this,xt(this.doc,ie.line)),Be=0,He=(le.length-1)/2,Je=ie.ch,at;if(Je==0)at=le[2];else for(;;){var wt=Be+He>>1;if((wt?le[wt*2-1]:0)>=Je)He=wt;else if(le[wt*2+1]at&&(ie=at,He=!0),Je=xt(this.doc,ie)}else Je=ie;return cc(this,Je,{top:0,left:0},le||"page",Be||He).top+(He?this.doc.height-Ni(Je):0)},defaultTextHeight:function(){return SA(this.display)},defaultCharWidth:function(){return Es(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ie,le,Be,He,Je){var at=this.display;ie=Yl(this,Dr(this.doc,ie));var wt=ie.bottom,wn=ie.left;if(le.style.position="absolute",le.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(le),at.sizer.appendChild(le),He=="over")wt=ie.top;else if(He=="above"||He=="near"){var Dn=Math.max(at.wrapper.clientHeight,this.doc.height),xr=Math.max(at.sizer.clientWidth,at.lineSpace.clientWidth);(He=="above"||ie.bottom+le.offsetHeight>Dn)&&ie.top>le.offsetHeight?wt=ie.top-le.offsetHeight:ie.bottom+le.offsetHeight<=Dn&&(wt=ie.bottom),wn+le.offsetWidth>xr&&(wn=xr-le.offsetWidth)}le.style.top=wt+"px",le.style.left=le.style.right="",Je=="right"?(wn=at.sizer.clientWidth-le.offsetWidth,le.style.right="0px"):(Je=="left"?wn=0:Je=="middle"&&(wn=(at.sizer.clientWidth-le.offsetWidth)/2),le.style.left=wn+"px"),Be&&Gp(this,{left:wn,top:wt,right:wn+le.offsetWidth,bottom:wt+le.offsetHeight})},triggerOnKeyDown:Tl(df),triggerOnKeyPress:Tl(ig),triggerOnKeyUp:rg,triggerOnMouseDown:Tl(ec),execCommand:function(ie){if(Zf.hasOwnProperty(ie))return Zf[ie].call(null,this)},triggerElectric:Tl(function(ie){qf(this,ie)}),findPosH:function(ie,le,Be,He){var Je=1;le<0&&(Je=-1,le=-le);for(var at=Dr(this.doc,ie),wt=0;wt0&&wn(Be.charAt(He-1));)--He;for(;Je.5||this.options.lineWrapping)&&nc(this),nt(this,"refresh",this)}),swapDoc:Tl(function(ie){var le=this.doc;return le.cm=null,this.state.selectingText&&this.state.selectingText(),Rl(this,ie),Ss(this),this.display.input.reset(),MA(this,ie.scrollLeft,ie.scrollTop),this.curOp.forceScroll=!0,ai(this,"swapDoc",this,le),le}),phrase:function(ie){var le=this.options.phrases;return le&&Object.prototype.hasOwnProperty.call(le,ie)?le[ie]:ie},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},tr(x),x.registerHelper=function(ie,le,Be){ae.hasOwnProperty(ie)||(ae[ie]=x[ie]={_global:[]}),ae[ie][le]=Be},x.registerGlobalHelper=function(ie,le,Be,He){x.registerHelper(ie,le,He),ae[ie]._global.push({pred:Be,val:He})}}function $f(x,ee,ae,ie,le){var Be=ee,He=ae,Je=xt(x,ee.line),at=le&&x.direction=="rtl"?-ae:ae;function wt(){var Pa=ee.line+at;return Pa=x.first+x.size?!1:(ee=new Qn(Pa,ee.ch,ee.sticky),Je=xt(x,Pa))}function wn(Pa){var ya;if(ie=="codepoint"){var ja=Je.text.charCodeAt(ee.ch+(ie>0?0:-1));isNaN(ja)?ya=null:ya=new Qn(ee.line,Math.max(0,Math.min(Je.text.length,ee.ch+ae*(ja>=55296&&ja<56320?2:1))),-ae)}else le?ya=$u(x.cm,Je,ee,ae):ya=OA(Je,ee,ae);if(ya==null)if(!Pa&&wt())ee=ed(le,x.cm,Je,ee.line,at);else return!1;else ee=ya;return!0}if(ie=="char"||ie=="codepoint")wn();else if(ie=="column")wn(!0);else if(ie=="word"||ie=="group")for(var Dn=null,xr=ie=="group",gr=x.cm&&x.cm.getHelper(ee,"wordChars"),ri=!0;!(ae<0&&!wn(!ri));ri=!1){var Li=Je.text.charAt(ee.ch)||` `,ra=Me(Li,gr)?"w":xr&&Li==` `?"n":!xr||/\s/.test(Li)?null:"p";if(xr&&!ri&&!ra&&(ra="s"),Dn&&Dn!=ra){ae<0&&(ae=1,wn(),ee.sticky="after");break}if(ra&&(Dn=ra),ae>0&&!wn(!ri))break}var Ea=w0(x,ee,Be,He,!0);return vi(Be,Ea)&&(Ea.hitSide=!0),Ea}function lg(x,ee,ae,ie){var le=x.doc,Be=ee.left,He;if(ie=="page"){var Je=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),at=Math.max(Je-.5*SA(x.display),3);He=(ae>0?ee.bottom:ee.top)+ae*at}else ie=="line"&&(He=ae>0?ee.bottom+3:ee.top-3);for(var wt;wt=Dl(x,Be,He),!!wt.outside;){if(ae<0?He<=0:He>=le.height){wt.hitSide=!0;break}He+=ae*5}return wt}var tl=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Fe,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};tl.prototype.init=function(x){var ee=this,ae=this,ie=ae.cm,le=ae.div=x.lineDiv;fp(le,ie.options.spellcheck,ie.options.autocorrect,ie.options.autocapitalize);function Be(Je){for(var at=Je.target;at;at=at.parentNode){if(at==le)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(at.className))break}return!1}dn(le,"paste",function(Je){!Be(Je)||Ft(ie,Je)||pf(Je,ie)||lt<=11&&setTimeout(ql(ie,function(){return ee.updateFromDOM()}),20)}),dn(le,"compositionstart",function(Je){ee.composing={data:Je.data,done:!1}}),dn(le,"compositionupdate",function(Je){ee.composing||(ee.composing={data:Je.data,done:!1})}),dn(le,"compositionend",function(Je){ee.composing&&(Je.data!=ee.composing.data&&ee.readFromDOMSoon(),ee.composing.done=!0)}),dn(le,"touchstart",function(){return ae.forceCompositionEnd()}),dn(le,"input",function(){ee.composing||ee.readFromDOMSoon()});function He(Je){if(!(!Be(Je)||Ft(ie,Je))){if(ie.somethingSelected())id({lineWise:!1,text:ie.getSelections()}),Je.type=="cut"&&ie.replaceSelection("",null,"cut");else if(ie.options.lineWiseCopyCut){var at=gf(ie);id({lineWise:!0,text:at.text}),Je.type=="cut"&&ie.operation(function(){ie.setSelections(at.ranges,0,Mt),ie.replaceSelection("",null,"cut")})}else return;if(Je.clipboardData){Je.clipboardData.clearData();var wt=tA.text.join(` `);if(Je.clipboardData.setData("Text",wt),Je.clipboardData.getData("Text")==wt){Je.preventDefault();return}}var wn=sg(),Dn=wn.firstChild;ie.display.lineSpace.insertBefore(wn,ie.display.lineSpace.firstChild),Dn.value=tA.text.join(` `);var xr=document.activeElement;Vt(Dn),setTimeout(function(){ie.display.lineSpace.removeChild(wn),xr.focus(),xr==le&&ae.showPrimarySelection()},50)}}dn(le,"copy",He),dn(le,"cut",He)},tl.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},tl.prototype.prepareSelection=function(){var x=Vu(this.cm,!1);return x.focus=document.activeElement==this.div,x},tl.prototype.showSelection=function(x,ee){!x||!this.cm.display.view.length||((x.focus||ee)&&this.showPrimarySelection(),this.showMultipleSelections(x))},tl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},tl.prototype.showPrimarySelection=function(){var x=this.getSelection(),ee=this.cm,ae=ee.doc.sel.primary(),ie=ae.from(),le=ae.to();if(ee.display.viewTo==ee.display.viewFrom||ie.line>=ee.display.viewTo||le.line=ee.display.viewFrom&&_d(ee,ie)||{node:Je[0].measure.map[2],offset:0},wt=le.linex.firstLine()&&(ie=Qn(ie.line-1,xt(x.doc,ie.line-1).length)),le.ch==xt(x.doc,le.line).text.length&&le.lineee.viewTo-1)return!1;var Be,He,Je;ie.line==ee.viewFrom||(Be=yu(x,ie.line))==0?(He=jn(ee.view[0].line),Je=ee.view[0].node):(He=jn(ee.view[Be].line),Je=ee.view[Be-1].node.nextSibling);var at=yu(x,le.line),wt,wn;if(at==ee.view.length-1?(wt=ee.viewTo-1,wn=ee.lineDiv.lastChild):(wt=jn(ee.view[at+1].line)-1,wn=ee.view[at+1].node.previousSibling),!Je)return!1;for(var Dn=x.doc.splitLines(Td(x,Je,wn,He,wt)),xr=Gt(x.doc,Qn(He,0),Qn(wt,xt(x.doc,wt).text.length));Dn.length>1&&xr.length>1;)if(ln(Dn)==ln(xr))Dn.pop(),xr.pop(),wt--;else if(Dn[0]==xr[0])Dn.shift(),xr.shift(),He++;else break;for(var gr=0,ri=0,Li=Dn[0],ra=xr[0],Ea=Math.min(Li.length,ra.length);grie.ch&&Pa.charCodeAt(Pa.length-ri-1)==ya.charCodeAt(ya.length-ri-1);)gr--,ri++;Dn[Dn.length-1]=Pa.slice(0,Pa.length-ri).replace(/^\u200b+/,""),Dn[0]=Dn[0].slice(gr).replace(/\u200b+$/,"");var io=Qn(He,gr),lo=Qn(wt,xr.length?ln(xr).length-ri:0);if(Dn.length>1||Dn[0]||mr(io,lo))return of(x.doc,Dn,io,lo,"+input"),!0},tl.prototype.ensurePolled=function(){this.forceCompositionEnd()},tl.prototype.reset=function(){this.forceCompositionEnd()},tl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},tl.prototype.readFromDOMSoon=function(){var x=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(x.readDOMTimeout=null,x.composing)if(x.composing.done)x.composing=null;else return;x.updateFromDOM()},80))},tl.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&_l(this.cm,function(){return rc(x.cm)})},tl.prototype.setUneditable=function(x){x.contentEditable="false"},tl.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||ql(this.cm,Kh)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},tl.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},tl.prototype.onContextMenu=function(){},tl.prototype.resetPosition=function(){},tl.prototype.needsContentAttribute=!0;function _d(x,ee){var ae=ml(x,ee.line);if(!ae||ae.hidden)return null;var ie=xt(x.doc,ee.line),le=Hs(ae,ie,ee.line),Be=Cr(ie,x.doc.direction),He="left";if(Be){var Je=Pn(Be,ee.ch);He=Je%2?"right":"left"}var at=uA(le.map,ee.ch,He);return at.offset=at.collapse=="right"?at.end:at.start,at}function Hg(x){for(var ee=x;ee;ee=ee.parentNode)if(/CodeMirror-gutter-wrapper/.test(ee.className))return!0;return!1}function vl(x,ee){return ee&&(x.bad=!0),x}function Td(x,ee,ae,ie,le){var Be="",He=!1,Je=x.doc.lineSeparator(),at=!1;function wt(gr){return function(ri){return ri.id==gr}}function wn(){He&&(Be+=Je,at&&(Be+=Je),He=at=!1)}function Dn(gr){gr&&(wn(),Be+=gr)}function xr(gr){if(gr.nodeType==1){var ri=gr.getAttribute("cm-text");if(ri){Dn(ri);return}var Li=gr.getAttribute("cm-marker"),ra;if(Li){var Ea=x.findMarks(Qn(ie,0),Qn(le+1,0),wt(+Li));Ea.length&&(ra=Ea[0].find(0))&&Dn(Gt(x.doc,ra.from,ra.to).join(Je));return}if(gr.getAttribute("contenteditable")=="false")return;var Pa=/^(pre|div|p|li|table|br)$/i.test(gr.nodeName);if(!/^br$/i.test(gr.nodeName)&&gr.textContent.length==0)return;Pa&&wn();for(var ya=0;ya=9&&ee.hasSelection&&(ee.hasSelection=null),ae.poll()}),dn(le,"paste",function(He){Ft(ie,He)||pf(He,ie)||(ie.state.pasteIncoming=+new Date,ae.fastPoll())});function Be(He){if(!Ft(ie,He)){if(ie.somethingSelected())id({lineWise:!1,text:ie.getSelections()});else if(ie.options.lineWiseCopyCut){var Je=gf(ie);id({lineWise:!0,text:Je.text}),He.type=="cut"?ie.setSelections(Je.ranges,null,Mt):(ae.prevInput="",le.value=Je.text.join(` `),Vt(le))}else return;He.type=="cut"&&(ie.state.cutIncoming=+new Date)}}dn(le,"cut",Be),dn(le,"copy",Be),dn(x.scroller,"paste",function(He){if(!(el(x,He)||Ft(ie,He))){if(!le.dispatchEvent){ie.state.pasteIncoming=+new Date,ae.focus();return}var Je=new Event("paste");Je.clipboardData=He.clipboardData,le.dispatchEvent(Je)}}),dn(x.lineSpace,"selectstart",function(He){el(x,He)||jr(He)}),dn(le,"compositionstart",function(){var He=ie.getCursor("from");ae.composing&&ae.composing.range.clear(),ae.composing={start:He,range:ie.markText(He,ie.getCursor("to"),{className:"CodeMirror-composing"})}}),dn(le,"compositionend",function(){ae.composing&&(ae.poll(),ae.composing.range.clear(),ae.composing=null)})},ws.prototype.createField=function(x){this.wrapper=sg(),this.textarea=this.wrapper.firstChild},ws.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},ws.prototype.prepareSelection=function(){var x=this.cm,ee=x.display,ae=x.doc,ie=Vu(x);if(x.options.moveInputWithCursor){var le=Yl(x,ae.sel.primary().head,"div"),Be=ee.wrapper.getBoundingClientRect(),He=ee.lineDiv.getBoundingClientRect();ie.teTop=Math.max(0,Math.min(ee.wrapper.clientHeight-10,le.top+He.top-Be.top)),ie.teLeft=Math.max(0,Math.min(ee.wrapper.clientWidth-10,le.left+He.left-Be.left))}return ie},ws.prototype.showSelection=function(x){var ee=this.cm,ae=ee.display;jt(ae.cursorDiv,x.cursors),jt(ae.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},ws.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var ee=this.cm;if(ee.somethingSelected()){this.prevInput="";var ae=ee.getSelection();this.textarea.value=ae,ee.state.focused&&Vt(this.textarea),We&<>=9&&(this.hasSelection=ae)}else x||(this.prevInput=this.textarea.value="",We&<>=9&&(this.hasSelection=null))}},ws.prototype.getField=function(){return this.textarea},ws.prototype.supportsTouch=function(){return!1},ws.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!it||bt()!=this.textarea))try{this.textarea.focus()}catch(x){}},ws.prototype.blur=function(){this.textarea.blur()},ws.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ws.prototype.receivedFocus=function(){this.slowPoll()},ws.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},ws.prototype.fastPoll=function(){var x=!1,ee=this;ee.pollingFast=!0;function ae(){var ie=ee.poll();!ie&&!x?(x=!0,ee.polling.set(60,ae)):(ee.pollingFast=!1,ee.slowPoll())}ee.polling.set(20,ae)},ws.prototype.poll=function(){var x=this,ee=this.cm,ae=this.textarea,ie=this.prevInput;if(this.contextMenuPending||!ee.state.focused||Wr(ae)&&!ie&&!this.composing||ee.isReadOnly()||ee.options.disableInput||ee.state.keySeq)return!1;var le=ae.value;if(le==ie&&!ee.somethingSelected())return!1;if(We&<>=9&&this.hasSelection===le||st&&/[\uf700-\uf7ff]/.test(le))return ee.display.input.reset(),!1;if(ee.doc.sel==ee.display.selForContextMenu){var Be=le.charCodeAt(0);if(Be==8203&&!ie&&(ie="\u200B"),Be==8666)return this.reset(),this.cm.execCommand("undo")}for(var He=0,Je=Math.min(ie.length,le.length);He1e3||le.indexOf(` `)>-1?ae.value=x.prevInput="":x.prevInput=le,x.composing&&(x.composing.range.clear(),x.composing.range=ee.markText(x.composing.start,ee.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ws.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ws.prototype.onKeyPress=function(){We&<>=9&&(this.hasSelection=null),this.fastPoll()},ws.prototype.onContextMenu=function(x){var ee=this,ae=ee.cm,ie=ae.display,le=ee.textarea;ee.contextMenuPending&&ee.contextMenuPending();var Be=Eu(ae,x),He=ie.scroller.scrollTop;if(!Be||xe)return;var Je=ae.options.resetSelectionOnContextMenu;Je&&ae.doc.sel.contains(Be)==-1&&ql(ae,$l)(ae.doc,fA(Be),Mt);var at=le.style.cssText,wt=ee.wrapper.style.cssText,wn=ee.wrapper.offsetParent.getBoundingClientRect();ee.wrapper.style.cssText="position: static",le.style.cssText=`position: absolute; width: 30px; height: 30px; top: `+(x.clientY-wn.top-5)+"px; left: "+(x.clientX-wn.left-5)+`px; z-index: 1000; background: `+(We?"rgba(255, 255, 255, .05)":"transparent")+`; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Dn;vt&&(Dn=window.scrollY),ie.input.focus(),vt&&window.scrollTo(null,Dn),ie.input.reset(),ae.somethingSelected()||(le.value=ee.prevInput=" "),ee.contextMenuPending=gr,ie.selForContextMenu=ae.doc.sel,clearTimeout(ie.detectingSelectAll);function xr(){if(le.selectionStart!=null){var Li=ae.somethingSelected(),ra="\u200B"+(Li?le.value:"");le.value="\u21DA",le.value=ra,ee.prevInput=Li?"":"\u200B",le.selectionStart=1,le.selectionEnd=ra.length,ie.selForContextMenu=ae.doc.sel}}function gr(){if(ee.contextMenuPending==gr&&(ee.contextMenuPending=!1,ee.wrapper.style.cssText=wt,le.style.cssText=at,We&<<9&&ie.scrollbars.setScrollTop(ie.scroller.scrollTop=He),le.selectionStart!=null)){(!We||We&<<9)&&xr();var Li=0,ra=function(){ie.selForContextMenu==ae.doc.sel&&le.selectionStart==0&&le.selectionEnd>0&&ee.prevInput=="\u200B"?ql(ae,xu)(ae):Li++<10?ie.detectingSelectAll=setTimeout(ra,500):(ie.selForContextMenu=null,ie.input.reset())};ie.detectingSelectAll=setTimeout(ra,200)}}if(We&<>=9&&xr(),rt){kr(x);var ri=function(){Ot(window,"mouseup",ri),setTimeout(gr,20)};dn(window,"mouseup",ri)}else setTimeout(gr,50)},ws.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},ws.prototype.setUneditable=function(){},ws.prototype.needsContentAttribute=!1;function yA(x,ee){if(ee=ee?Kt(ee):{},ee.value=x.value,!ee.tabindex&&x.tabIndex&&(ee.tabindex=x.tabIndex),!ee.placeholder&&x.placeholder&&(ee.placeholder=x.placeholder),ee.autofocus==null){var ae=bt();ee.autofocus=ae==x||x.getAttribute("autofocus")!=null&&ae==document.body}function ie(){x.value=Je.getValue()}var le;if(x.form&&(dn(x.form,"submit",ie),!ee.leaveSubmitMethodAlone)){var Be=x.form;le=Be.submit;try{var He=Be.submit=function(){ie(),Be.submit=le,Be.submit(),Be.submit=He}}catch(at){}}ee.finishInit=function(at){at.save=ie,at.getTextArea=function(){return x},at.toTextArea=function(){at.toTextArea=isNaN,ie(),x.parentNode.removeChild(at.getWrapperElement()),x.style.display="",x.form&&(Ot(x.form,"submit",ie),!ee.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=le))}},x.style.display="none";var Je=Mo(function(at){return x.parentNode.insertBefore(at,x.nextSibling)},ee);return Je}function Cu(x){x.off=Ot,x.on=dn,x.wheelEventPixels=Ed,x.Doc=Pl,x.splitLines=Wi,x.countColumn=Ge,x.findColumn=Jn,x.isWordChar=Ee,x.Pass=$t,x.signal=nt,x.Line=zi,x.changeEnd=ZA,x.scrollbarModel=Bd,x.Pos=Qn,x.cmpPos=mr,x.modes=Da,x.mimeModes=Qi,x.resolveMode=ci,x.getMode=Vr,x.modeExtensions=ia,x.extendMode=cn,x.copyState=tt,x.startState=ht,x.innerMode=yt,x.commands=Zf,x.keyMap=ul,x.keyName=Dd,x.isModifierKey=Gf,x.lookupKey=gA,x.normalizeKeyMap=L0,x.StringStream=dt,x.SharedTextMarker=Xo,x.TextMarker=qu,x.LineWidget=$A,x.e_preventDefault=jr,x.e_stopPropagation=Nr,x.e_stop=kr,x.addClass=un,x.contains=Xt,x.rmClass=gt,x.keyNames=pA}Rg(Mo),zh(Mo);var RA="iter insert remove copy getEditor constructor".split(" ");for(var nA in Pl.prototype)Pl.prototype.hasOwnProperty(nA)&&ft(RA,nA)<0&&(Mo.prototype[nA]=function(x){return function(){return x.apply(this.doc,arguments)}}(Pl.prototype[nA]));return tr(Pl),Mo.inputStyles={textarea:ws,contenteditable:tl},Mo.defineMode=function(x){!Mo.defaults.mode&&x!="null"&&(Mo.defaults.mode=x),Bi.apply(this,arguments)},Mo.defineMIME=Hi,Mo.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),Mo.defineMIME("text/plain","null"),Mo.defineExtension=function(x,ee){Mo.prototype[x]=ee},Mo.defineDocExtension=function(x,ee){Pl.prototype[x]=ee},Mo.fromTextArea=yA,Cu(Mo),Mo.version="5.58.2",Mo})},25419:function(lr,Yn,be){(function(ge){ge(be(89780),be(15525),be(98101))})(function(ge){"use strict";ge.defineMode("markdown",function(Lt,ut){var zt=ge.getMode(Lt,"text/html"),We=zt.name=="null";function lt(Ge){if(ge.findModeByName){var Fe=ge.findModeByName(Ge);Fe&&(Ge=Fe.mime||Fe.mimes[0])}var ft=ge.getMode(Lt,Ge);return ft.name=="null"?null:ft}ut.highlightFormatting===void 0&&(ut.highlightFormatting=!1),ut.maxBlockquoteDepth===void 0&&(ut.maxBlockquoteDepth=0),ut.taskLists===void 0&&(ut.taskLists=!1),ut.strikethrough===void 0&&(ut.strikethrough=!1),ut.emoji===void 0&&(ut.emoji=!1),ut.fencedCodeBlockHighlighting===void 0&&(ut.fencedCodeBlockHighlighting=!0),ut.fencedCodeBlockDefaultMode===void 0&&(ut.fencedCodeBlockDefaultMode="text/plain"),ut.xml===void 0&&(ut.xml=!0),ut.tokenTypeOverrides===void 0&&(ut.tokenTypeOverrides={});var vt={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var ke in vt)vt.hasOwnProperty(ke)&&ut.tokenTypeOverrides[ke]&&(vt[ke]=ut.tokenTypeOverrides[ke]);var _e=/^([*\-_])(?:\s*\1){2,}\s*$/,xe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Xe=/^\[(x| )\](?=\s)/i,De=ut.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Qe=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ot=/^[^#!\[\]*_\\<>` "'(~:]+/,qe=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,it=/^\s*\[[^\]]+?\]:.*$/,st=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\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-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,At=" ";function Qt(Ge,Fe,ft){return Fe.f=Fe.inline=ft,ft(Ge,Fe)}function pt(Ge,Fe,ft){return Fe.f=Fe.block=ft,ft(Ge,Fe)}function St(Ge){return!Ge||!/\S/.test(Ge.string)}function rt(Ge){if(Ge.linkTitle=!1,Ge.linkHref=!1,Ge.linkText=!1,Ge.em=!1,Ge.strong=!1,Ge.strikethrough=!1,Ge.quote=0,Ge.indentedCode=!1,Ge.f==gt){var Fe=We;if(!Fe){var ft=ge.innerMode(zt,Ge.htmlState);Fe=ft.mode.name=="xml"&&ft.state.tagStart===null&&!ft.state.context&&ft.state.tokenize.isInText}Fe&&(Ge.f=Yt,Ge.block=ze,Ge.htmlState=null)}return Ge.trailingSpace=0,Ge.trailingSpaceNewLine=!1,Ge.prevLine=Ge.thisLine,Ge.thisLine={stream:null},null}function ze(Ge,Fe){var ft=Ge.column()===Fe.indentation,sn=St(Fe.prevLine.stream),$t=Fe.indentedCode,Mt=Fe.prevLine.hr,_t=Fe.list!==!1,hn=(Fe.listStack[Fe.listStack.length-1]||0)+3;Fe.indentedCode=!1;var Jn=Fe.indentation;if(Fe.indentationDiff===null&&(Fe.indentationDiff=Fe.indentation,_t)){for(Fe.list=null;Jn=4&&($t||Fe.prevLine.fencedCodeEnd||Fe.prevLine.header||sn))return Ge.skipToEnd(),Fe.indentedCode=!0,vt.code;if(Ge.eatSpace())return null;if(ft&&Fe.indentation<=hn&&(ln=Ge.match(De))&&ln[1].length<=6)return Fe.quote=0,Fe.header=ln[1].length,Fe.thisLine.header=!0,ut.highlightFormatting&&(Fe.formatting="header"),Fe.f=Fe.inline,jt(Fe);if(Fe.indentation<=hn&&Ge.eat(">"))return Fe.quote=ft?1:Fe.quote+1,ut.highlightFormatting&&(Fe.formatting="quote"),Ge.eatSpace(),jt(Fe);if(!Ar&&!Fe.setext&&ft&&Fe.indentation<=hn&&(ln=Ge.match(xe))){var on=ln[1]?"ol":"ul";return Fe.indentation=Jn+Ge.current().length,Fe.list=!0,Fe.quote=0,Fe.listStack.push(Fe.indentation),Fe.em=!1,Fe.strong=!1,Fe.code=!1,Fe.strikethrough=!1,ut.taskLists&&Ge.match(Xe,!1)&&(Fe.taskList=!0),Fe.f=Fe.inline,ut.highlightFormatting&&(Fe.formatting=["list","list-"+on]),jt(Fe)}else{if(ft&&Fe.indentation<=hn&&(ln=Ge.match(qe,!0)))return Fe.quote=0,Fe.fencedEndRE=new RegExp(ln[1]+"+ *$"),Fe.localMode=ut.fencedCodeBlockHighlighting&<(ln[2]||ut.fencedCodeBlockDefaultMode),Fe.localMode&&(Fe.localState=ge.startState(Fe.localMode)),Fe.f=Fe.block=Et,ut.highlightFormatting&&(Fe.formatting="code-block"),Fe.code=-1,jt(Fe);if(Fe.setext||(!Kn||!_t)&&!Fe.quote&&Fe.list===!1&&!Fe.code&&!Ar&&!it.test(Ge.string)&&(ln=Ge.lookAhead(1))&&(ln=ln.match(Qe)))return Fe.setext?(Fe.header=Fe.setext,Fe.setext=0,Ge.skipToEnd(),ut.highlightFormatting&&(Fe.formatting="header")):(Fe.header=ln[0].charAt(0)=="="?1:2,Fe.setext=Fe.header),Fe.thisLine.header=!0,Fe.f=Fe.inline,jt(Fe);if(Ar)return Ge.skipToEnd(),Fe.hr=!0,Fe.thisLine.hr=!0,vt.hr;if(Ge.peek()==="[")return Qt(Ge,Fe,Ln)}return Qt(Ge,Fe,Fe.inline)}function gt(Ge,Fe){var ft=zt.token(Ge,Fe.htmlState);if(!We){var sn=ge.innerMode(zt,Fe.htmlState);(sn.mode.name=="xml"&&sn.state.tagStart===null&&!sn.state.context&&sn.state.tokenize.isInText||Fe.md_inside&&Ge.current().indexOf(">")>-1)&&(Fe.f=Yt,Fe.block=ze,Fe.htmlState=null)}return ft}function Et(Ge,Fe){var ft=Fe.listStack[Fe.listStack.length-1]||0,sn=Fe.indentation=Ge.quote?Fe.push(vt.formatting+"-"+Ge.formatting[ft]+"-"+Ge.quote):Fe.push("error"))}if(Ge.taskOpen)return Fe.push("meta"),Fe.length?Fe.join(" "):null;if(Ge.taskClosed)return Fe.push("property"),Fe.length?Fe.join(" "):null;if(Ge.linkHref?Fe.push(vt.linkHref,"url"):(Ge.strong&&Fe.push(vt.strong),Ge.em&&Fe.push(vt.em),Ge.strikethrough&&Fe.push(vt.strikethrough),Ge.emoji&&Fe.push(vt.emoji),Ge.linkText&&Fe.push(vt.linkText),Ge.code&&Fe.push(vt.code),Ge.image&&Fe.push(vt.image),Ge.imageAltText&&Fe.push(vt.imageAltText,"link"),Ge.imageMarker&&Fe.push(vt.imageMarker)),Ge.header&&Fe.push(vt.header,vt.header+"-"+Ge.header),Ge.quote&&(Fe.push(vt.quote),!ut.maxBlockquoteDepth||ut.maxBlockquoteDepth>=Ge.quote?Fe.push(vt.quote+"-"+Ge.quote):Fe.push(vt.quote+"-"+ut.maxBlockquoteDepth)),Ge.list!==!1){var sn=(Ge.listStack.length-1)%3;sn?sn===1?Fe.push(vt.list2):Fe.push(vt.list3):Fe.push(vt.list1)}return Ge.trailingSpaceNewLine?Fe.push("trailing-space-new-line"):Ge.trailingSpace&&Fe.push("trailing-space-"+(Ge.trailingSpace%2?"a":"b")),Fe.length?Fe.join(" "):null}function mt(Ge,Fe){if(Ge.match(ot,!0))return jt(Fe)}function Yt(Ge,Fe){var ft=Fe.text(Ge,Fe);if(typeof ft!="undefined")return ft;if(Fe.list)return Fe.list=null,jt(Fe);if(Fe.taskList){var sn=Ge.match(Xe,!0)[1]===" ";return sn?Fe.taskOpen=!0:Fe.taskClosed=!0,ut.highlightFormatting&&(Fe.formatting="task"),Fe.taskList=!1,jt(Fe)}if(Fe.taskOpen=!1,Fe.taskClosed=!1,Fe.header&&Ge.match(/^#+$/,!0))return ut.highlightFormatting&&(Fe.formatting="header"),jt(Fe);var $t=Ge.next();if(Fe.linkTitle){Fe.linkTitle=!1;var Mt=$t;$t==="("&&(Mt=")"),Mt=(Mt+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var _t="^\\s*(?:[^"+Mt+"\\\\]+|\\\\\\\\|\\\\.)"+Mt;if(Ge.match(new RegExp(_t),!0))return vt.linkHref}if($t==="`"){var hn=Fe.formatting;ut.highlightFormatting&&(Fe.formatting="code"),Ge.eatWhile("`");var Jn=Ge.current().length;if(Fe.code==0&&(!Fe.quote||Jn==1))return Fe.code=Jn,jt(Fe);if(Jn==Fe.code){var Kn=jt(Fe);return Fe.code=0,Kn}else return Fe.formatting=hn,jt(Fe)}else if(Fe.code)return jt(Fe);if($t==="\\"&&(Ge.next(),ut.highlightFormatting)){var Ar=jt(Fe),ln=vt.formatting+"-escape";return Ar?Ar+" "+ln:ln}if($t==="!"&&Ge.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Fe.imageMarker=!0,Fe.image=!0,ut.highlightFormatting&&(Fe.formatting="image"),jt(Fe);if($t==="["&&Fe.imageMarker&&Ge.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Fe.imageMarker=!1,Fe.imageAltText=!0,ut.highlightFormatting&&(Fe.formatting="image"),jt(Fe);if($t==="]"&&Fe.imageAltText){ut.highlightFormatting&&(Fe.formatting="image");var Ar=jt(Fe);return Fe.imageAltText=!1,Fe.image=!1,Fe.inline=Fe.f=Xt,Ar}if($t==="["&&!Fe.image)return Fe.linkText&&Ge.match(/^.*?\]/)||(Fe.linkText=!0,ut.highlightFormatting&&(Fe.formatting="link")),jt(Fe);if($t==="]"&&Fe.linkText){ut.highlightFormatting&&(Fe.formatting="link");var Ar=jt(Fe);return Fe.linkText=!1,Fe.inline=Fe.f=Ge.match(/\(.*?\)| ?\[.*?\]/,!1)?Xt:Yt,Ar}if($t==="<"&&Ge.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Fe.f=Fe.inline=Tt,ut.highlightFormatting&&(Fe.formatting="link");var Ar=jt(Fe);return Ar?Ar+=" ":Ar="",Ar+vt.linkInline}if($t==="<"&&Ge.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Fe.f=Fe.inline=Tt,ut.highlightFormatting&&(Fe.formatting="link");var Ar=jt(Fe);return Ar?Ar+=" ":Ar="",Ar+vt.linkEmail}if(ut.xml&&$t==="<"&&Ge.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var on=Ge.string.indexOf(">",Ge.pos);if(on!=-1){var vn=Ge.string.substring(Ge.start,on);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(vn)&&(Fe.md_inside=!0)}return Ge.backUp(1),Fe.htmlState=ge.startState(zt),pt(Ge,Fe,gt)}if(ut.xml&&$t==="<"&&Ge.match(/^\/\w*?>/))return Fe.md_inside=!1,"tag";if($t==="*"||$t==="_"){for(var Ue=1,we=Ge.pos==1?" ":Ge.string.charAt(Ge.pos-2);Ue<3&&Ge.eat($t);)Ue++;var pe=Ge.peek()||" ",Ee=!/\s/.test(pe)&&(!st.test(pe)||/\s/.test(we)||st.test(we)),Me=!/\s/.test(we)&&(!st.test(we)||/\s/.test(pe)||st.test(pe)),me=null,$e=null;if(Ue%2&&(!Fe.em&&Ee&&($t==="*"||!Me||st.test(we))?me=!0:Fe.em==$t&&Me&&($t==="*"||!Ee||st.test(pe))&&(me=!1)),Ue>1&&(!Fe.strong&&Ee&&($t==="*"||!Me||st.test(we))?$e=!0:Fe.strong==$t&&Me&&($t==="*"||!Ee||st.test(pe))&&($e=!1)),$e!=null||me!=null){ut.highlightFormatting&&(Fe.formatting=me==null?"strong":$e==null?"em":"strong em"),me===!0&&(Fe.em=$t),$e===!0&&(Fe.strong=$t);var Kn=jt(Fe);return me===!1&&(Fe.em=!1),$e===!1&&(Fe.strong=!1),Kn}}else if($t===" "&&(Ge.eat("*")||Ge.eat("_"))){if(Ge.peek()===" ")return jt(Fe);Ge.backUp(1)}if(ut.strikethrough){if($t==="~"&&Ge.eatWhile($t)){if(Fe.strikethrough){ut.highlightFormatting&&(Fe.formatting="strikethrough");var Kn=jt(Fe);return Fe.strikethrough=!1,Kn}else if(Ge.match(/^[^\s]/,!1))return Fe.strikethrough=!0,ut.highlightFormatting&&(Fe.formatting="strikethrough"),jt(Fe)}else if($t===" "&&Ge.match(/^~~/,!0)){if(Ge.peek()===" ")return jt(Fe);Ge.backUp(2)}}if(ut.emoji&&$t===":"&&Ge.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Fe.emoji=!0,ut.highlightFormatting&&(Fe.formatting="emoji");var Pt=jt(Fe);return Fe.emoji=!1,Pt}return $t===" "&&(Ge.match(/^ +$/,!1)?Fe.trailingSpace++:Fe.trailingSpace&&(Fe.trailingSpaceNewLine=!0)),jt(Fe)}function Tt(Ge,Fe){var ft=Ge.next();if(ft===">"){Fe.f=Fe.inline=Yt,ut.highlightFormatting&&(Fe.formatting="link");var sn=jt(Fe);return sn?sn+=" ":sn="",sn+vt.linkInline}return Ge.match(/^[^>]+/,!0),vt.linkInline}function Xt(Ge,Fe){if(Ge.eatSpace())return null;var ft=Ge.next();return ft==="("||ft==="["?(Fe.f=Fe.inline=un(ft==="("?")":"]"),ut.highlightFormatting&&(Fe.formatting="link-string"),Fe.linkHref=!0,jt(Fe)):"error"}var bt={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function un(Ge){return function(Fe,ft){var sn=Fe.next();if(sn===Ge){ft.f=ft.inline=Yt,ut.highlightFormatting&&(ft.formatting="link-string");var $t=jt(ft);return ft.linkHref=!1,$t}return Fe.match(bt[Ge]),ft.linkHref=!0,jt(ft)}}function Ln(Ge,Fe){return Ge.match(/^([^\]\\]|\\.)*\]:/,!1)?(Fe.f=Vt,Ge.next(),ut.highlightFormatting&&(Fe.formatting="link"),Fe.linkText=!0,jt(Fe)):Qt(Ge,Fe,Yt)}function Vt(Ge,Fe){if(Ge.match(/^\]:/,!0)){Fe.f=Fe.inline=nn,ut.highlightFormatting&&(Fe.formatting="link");var ft=jt(Fe);return Fe.linkText=!1,ft}return Ge.match(/^([^\]\\]|\\.)+/,!0),vt.linkText}function nn(Ge,Fe){return Ge.eatSpace()?null:(Ge.match(/^[^\s]+/,!0),Ge.peek()===void 0?Fe.linkTitle=!0:Ge.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Fe.f=Fe.inline=Yt,vt.linkHref+" url")}var Kt={startState:function(){return{f:ze,prevLine:{stream:null},thisLine:{stream:null},block:ze,htmlState:null,indentation:0,inline:Yt,text:mt,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Ge){return{f:Ge.f,prevLine:Ge.prevLine,thisLine:Ge.thisLine,block:Ge.block,htmlState:Ge.htmlState&&ge.copyState(zt,Ge.htmlState),indentation:Ge.indentation,localMode:Ge.localMode,localState:Ge.localMode?ge.copyState(Ge.localMode,Ge.localState):null,inline:Ge.inline,text:Ge.text,formatting:!1,linkText:Ge.linkText,linkTitle:Ge.linkTitle,linkHref:Ge.linkHref,code:Ge.code,em:Ge.em,strong:Ge.strong,strikethrough:Ge.strikethrough,emoji:Ge.emoji,header:Ge.header,setext:Ge.setext,hr:Ge.hr,taskList:Ge.taskList,list:Ge.list,listStack:Ge.listStack.slice(0),quote:Ge.quote,indentedCode:Ge.indentedCode,trailingSpace:Ge.trailingSpace,trailingSpaceNewLine:Ge.trailingSpaceNewLine,md_inside:Ge.md_inside,fencedEndRE:Ge.fencedEndRE}},token:function(Ge,Fe){if(Fe.formatting=!1,Ge!=Fe.thisLine.stream){if(Fe.header=0,Fe.hr=!1,Ge.match(/^\s*$/,!0))return rt(Fe),null;if(Fe.prevLine=Fe.thisLine,Fe.thisLine={stream:Ge},Fe.taskList=!1,Fe.trailingSpace=0,Fe.trailingSpaceNewLine=!1,!Fe.localState&&(Fe.f=Fe.block,Fe.f!=gt)){var ft=Ge.match(/^\s*/,!0)[0].replace(/\t/g,At).length;if(Fe.indentation=ft,Fe.indentationDiff=null,ft>0)return null}}return Fe.f(Ge,Fe)},innerMode:function(Ge){return Ge.block==gt?{state:Ge.htmlState,mode:zt}:Ge.localState?{state:Ge.localState,mode:Ge.localMode}:{state:Ge,mode:Kt}},indent:function(Ge,Fe,ft){return Ge.block==gt&&zt.indent?zt.indent(Ge.htmlState,Fe,ft):Ge.localState&&Ge.localMode.indent?Ge.localMode.indent(Ge.localState,Fe,ft):ge.Pass},blankLine:rt,getType:jt,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Kt},"xml"),ge.defineMIME("text/markdown","markdown"),ge.defineMIME("text/x-markdown","markdown")})},98101:function(lr,Yn,be){(function(ge){ge(be(89780))})(function(ge){"use strict";ge.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Lt=0;Lt-1&&zt.substring(vt+1,zt.length);if(ke)return ge.findModeByExtension(ke)},ge.findModeByName=function(zt){zt=zt.toLowerCase();for(var We=0;We0?ot.cmdState[ot.cmdState.length-1]:null}function lt(ot){var qe=ot.cmdState.pop();qe&&qe.closeBracket()}function vt(ot){for(var qe=ot.cmdState,it=qe.length-1;it>=0;it--){var st=qe[it];if(st.name!="DEFAULT")return st}return{styleIdentifier:function(){return null}}}function ke(ot,qe,it){return function(){this.name=ot,this.bracketNo=0,this.style=qe,this.styles=it,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var _e={};_e.importmodule=ke("importmodule","tag",["string","builtin"]),_e.documentclass=ke("documentclass","tag",["","atom"]),_e.usepackage=ke("usepackage","tag",["atom"]),_e.begin=ke("begin","tag",["atom"]),_e.end=ke("end","tag",["atom"]),_e.label=ke("label","tag",["atom"]),_e.ref=ke("ref","tag",["atom"]),_e.eqref=ke("eqref","tag",["atom"]),_e.cite=ke("cite","tag",["atom"]),_e.bibitem=ke("bibitem","tag",["atom"]),_e.Bibitem=ke("Bibitem","tag",["atom"]),_e.RBibitem=ke("RBibitem","tag",["atom"]),_e.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function xe(ot,qe){ot.f=qe}function Xe(ot,qe){var it;if(ot.match(/^\\[a-zA-Z@]+/)){var st=ot.current().slice(1);return it=_e.hasOwnProperty(st)?_e[st]:_e.DEFAULT,it=new it,zt(qe,it),xe(qe,Qe),it.style}if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/\\]/))return"tag";if(ot.match("\\["))return xe(qe,function(Qt,pt){return De(Qt,pt,"\\]")}),"keyword";if(ot.match("\\("))return xe(qe,function(Qt,pt){return De(Qt,pt,"\\)")}),"keyword";if(ot.match("$$"))return xe(qe,function(Qt,pt){return De(Qt,pt,"$$")}),"keyword";if(ot.match("$"))return xe(qe,function(Qt,pt){return De(Qt,pt,"$")}),"keyword";var At=ot.next();if(At=="%")return ot.skipToEnd(),"comment";if(At=="}"||At=="]"){if(it=We(qe),it)it.closeBracket(At),xe(qe,Qe);else return"error";return"bracket"}else return At=="{"||At=="["?(it=_e.DEFAULT,it=new it,zt(qe,it),"bracket"):/\d/.test(At)?(ot.eatWhile(/[\w.%]/),"atom"):(ot.eatWhile(/[\w\-_]/),it=vt(qe),it.name=="begin"&&(it.argument=ot.current()),it.styleIdentifier())}function De(ot,qe,it){if(ot.eatSpace())return null;if(it&&ot.match(it))return xe(qe,Xe),"keyword";if(ot.match(/^\\[a-zA-Z@]+/))return"tag";if(ot.match(/^[a-zA-Z]+/))return"variable-2";if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/]/)||ot.match(/^[\^_&]/))return"tag";if(ot.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ot.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var st=ot.next();return st=="{"||st=="}"||st=="["||st=="]"||st=="("||st==")"?"bracket":st=="%"?(ot.skipToEnd(),"comment"):"error"}function Qe(ot,qe){var it=ot.peek(),st;return it=="{"||it=="["?(st=We(qe),st.openBracket(it),ot.eat(it),xe(qe,Xe),"bracket"):/[ \t\r]/.test(it)?(ot.eat(it),null):(xe(qe,Xe),lt(qe),Xe(ot,qe))}return{startState:function(){var ot=ut.inMathMode?function(qe,it){return De(qe,it)}:Xe;return{cmdState:[],f:ot}},copyState:function(ot){return{cmdState:ot.cmdState.slice(),f:ot.f}},token:function(ot,qe){return qe.f(ot,qe)},blankLine:function(ot){ot.f=Xe,ot.cmdState.length=0},lineComment:"%"}}),ge.defineMIME("text/x-stex","stex"),ge.defineMIME("text/x-latex","stex")})},15525:function(lr,Yn,be){(function(ge){ge(be(89780))})(function(ge){"use strict";var Lt={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ut={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ge.defineMode("xml",function(zt,We){var lt=zt.indentUnit,vt={},ke=We.htmlMode?Lt:ut;for(var _e in ke)vt[_e]=ke[_e];for(var _e in We)vt[_e]=We[_e];var xe,Xe;function De(Tt,Xt){function bt(Vt){return Xt.tokenize=Vt,Vt(Tt,Xt)}var un=Tt.next();if(un=="<")return Tt.eat("!")?Tt.eat("[")?Tt.match("CDATA[")?bt(qe("atom","]]>")):null:Tt.match("--")?bt(qe("comment","-->")):Tt.match("DOCTYPE",!0,!0)?(Tt.eatWhile(/[\w\._\-]/),bt(it(1))):null:Tt.eat("?")?(Tt.eatWhile(/[\w\._\-]/),Xt.tokenize=qe("meta","?>"),"meta"):(xe=Tt.eat("/")?"closeTag":"openTag",Xt.tokenize=Qe,"tag bracket");if(un=="&"){var Ln;return Tt.eat("#")?Tt.eat("x")?Ln=Tt.eatWhile(/[a-fA-F\d]/)&&Tt.eat(";"):Ln=Tt.eatWhile(/[\d]/)&&Tt.eat(";"):Ln=Tt.eatWhile(/[\w\.\-:]/)&&Tt.eat(";"),Ln?"atom":"error"}else return Tt.eatWhile(/[^&<]/),null}De.isInText=!0;function Qe(Tt,Xt){var bt=Tt.next();if(bt==">"||bt=="/"&&Tt.eat(">"))return Xt.tokenize=De,xe=bt==">"?"endTag":"selfcloseTag","tag bracket";if(bt=="=")return xe="equals",null;if(bt=="<"){Xt.tokenize=De,Xt.state=pt,Xt.tagName=Xt.tagStart=null;var un=Xt.tokenize(Tt,Xt);return un?un+" tag error":"tag error"}else return/[\'\"]/.test(bt)?(Xt.tokenize=ot(bt),Xt.stringStartCol=Tt.column(),Xt.tokenize(Tt,Xt)):(Tt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ot(Tt){var Xt=function(bt,un){for(;!bt.eol();)if(bt.next()==Tt){un.tokenize=Qe;break}return"string"};return Xt.isInAttribute=!0,Xt}function qe(Tt,Xt){return function(bt,un){for(;!bt.eol();){if(bt.match(Xt)){un.tokenize=De;break}bt.next()}return Tt}}function it(Tt){return function(Xt,bt){for(var un;(un=Xt.next())!=null;){if(un=="<")return bt.tokenize=it(Tt+1),bt.tokenize(Xt,bt);if(un==">")if(Tt==1){bt.tokenize=De;break}else return bt.tokenize=it(Tt-1),bt.tokenize(Xt,bt)}return"meta"}}function st(Tt,Xt,bt){this.prev=Tt.context,this.tagName=Xt,this.indent=Tt.indented,this.startOfLine=bt,(vt.doNotIndent.hasOwnProperty(Xt)||Tt.context&&Tt.context.noIndent)&&(this.noIndent=!0)}function At(Tt){Tt.context&&(Tt.context=Tt.context.prev)}function Qt(Tt,Xt){for(var bt;;){if(!Tt.context||(bt=Tt.context.tagName,!vt.contextGrabbers.hasOwnProperty(bt)||!vt.contextGrabbers[bt].hasOwnProperty(Xt)))return;At(Tt)}}function pt(Tt,Xt,bt){return Tt=="openTag"?(bt.tagStart=Xt.column(),St):Tt=="closeTag"?rt:pt}function St(Tt,Xt,bt){return Tt=="word"?(bt.tagName=Xt.current(),Xe="tag",Et):vt.allowMissingTagName&&Tt=="endTag"?(Xe="tag bracket",Et(Tt,Xt,bt)):(Xe="error",St)}function rt(Tt,Xt,bt){if(Tt=="word"){var un=Xt.current();return bt.context&&bt.context.tagName!=un&&vt.implicitlyClosed.hasOwnProperty(bt.context.tagName)&&At(bt),bt.context&&bt.context.tagName==un||vt.matchClosing===!1?(Xe="tag",ze):(Xe="tag error",gt)}else return vt.allowMissingTagName&&Tt=="endTag"?(Xe="tag bracket",ze(Tt,Xt,bt)):(Xe="error",gt)}function ze(Tt,Xt,bt){return Tt!="endTag"?(Xe="error",ze):(At(bt),pt)}function gt(Tt,Xt,bt){return Xe="error",ze(Tt,Xt,bt)}function Et(Tt,Xt,bt){if(Tt=="word")return Xe="attribute",jt;if(Tt=="endTag"||Tt=="selfcloseTag"){var un=bt.tagName,Ln=bt.tagStart;return bt.tagName=bt.tagStart=null,Tt=="selfcloseTag"||vt.autoSelfClosers.hasOwnProperty(un)?Qt(bt,un):(Qt(bt,un),bt.context=new st(bt,un,Ln==bt.indented)),pt}return Xe="error",Et}function jt(Tt,Xt,bt){return Tt=="equals"?mt:(vt.allowMissing||(Xe="error"),Et(Tt,Xt,bt))}function mt(Tt,Xt,bt){return Tt=="string"?Yt:Tt=="word"&&vt.allowUnquoted?(Xe="string",Et):(Xe="error",Et(Tt,Xt,bt))}function Yt(Tt,Xt,bt){return Tt=="string"?Yt:Et(Tt,Xt,bt)}return{startState:function(Tt){var Xt={tokenize:De,state:pt,indented:Tt||0,tagName:null,tagStart:null,context:null};return Tt!=null&&(Xt.baseIndent=Tt),Xt},token:function(Tt,Xt){if(!Xt.tagName&&Tt.sol()&&(Xt.indented=Tt.indentation()),Tt.eatSpace())return null;xe=null;var bt=Xt.tokenize(Tt,Xt);return(bt||xe)&&bt!="comment"&&(Xe=null,Xt.state=Xt.state(xe||bt,Tt,Xt),Xe&&(bt=Xe=="error"?bt+" error":Xe)),bt},indent:function(Tt,Xt,bt){var un=Tt.context;if(Tt.tokenize.isInAttribute)return Tt.tagStart==Tt.indented?Tt.stringStartCol+1:Tt.indented+lt;if(un&&un.noIndent)return ge.Pass;if(Tt.tokenize!=Qe&&Tt.tokenize!=De)return bt?bt.match(/^(\s*)/)[0].length:0;if(Tt.tagName)return vt.multilineTagIndentPastTag!==!1?Tt.tagStart+Tt.tagName.length+2:Tt.tagStart+lt*(vt.multilineTagIndentFactor||1);if(vt.alignCDATA&&/$/,blockCommentStart:"",configuration:vt.htmlMode?"html":"xml",helperType:vt.htmlMode?"html":"xml",skipAttribute:function(Tt){Tt.state==mt&&(Tt.state=Et)},xmlCurrentTag:function(Tt){return Tt.tagName?{name:Tt.tagName,close:Tt.type=="closeTag"}:null},xmlCurrentContext:function(Tt){for(var Xt=[],bt=Tt.context;bt;bt=bt.prev)bt.tagName&&Xt.push(bt.tagName);return Xt.reverse()}}}),ge.defineMIME("text/xml","xml"),ge.defineMIME("application/xml","xml"),ge.mimeModes.hasOwnProperty("text/html")||ge.defineMIME("text/html",{name:"xml",htmlMode:!0})})},64270:function(lr){(function(Yn,be){lr.exports=be()})(this,function(){"use strict";var Yn=function(he,Ae){return Yn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ye,ve){ye.__proto__=ve}||function(ye,ve){for(var Ke in ve)Object.prototype.hasOwnProperty.call(ve,Ke)&&(ye[Ke]=ve[Ke])},Yn(he,Ae)};function be(he,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Class extends value "+String(Ae)+" is not a constructor or null");Yn(he,Ae);function ye(){this.constructor=he}he.prototype=Ae===null?Object.create(Ae):(ye.prototype=Ae.prototype,new ye)}var ge=function(){return ge=Object.assign||function(Ae){for(var ye,ve=1,Ke=arguments.length;ve0&&ct[ct.length-1])&&(fr[0]===6||fr[0]===2)){ye=0;continue}if(fr[0]===3&&(!ct||fr[1]>ct[0]&&fr[1]=55296&&Ke<=56319&&ye>10)+55296,Rt%1024+56320)),(Ke+1===ye||ve.length>16384)&&(ct+=String.fromCharCode.apply(String,ve),ve.length=0)}return ct},xe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),De=0;De>4,wr[Ke++]=(Rt&15)<<4|gn>>2,wr[Ke++]=(gn&3)<<6|mn&63;return fr},st=function(he){for(var Ae=he.length,ye=[],ve=0;ve>Qt,gt=1<>Qt,mt=ze+jt,Yt=mt,Tt=32,Xt=Yt+Tt,bt=65536>>pt,un=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return ye=this.index[Ae>>Qt],ye=(ye<>Qt)],ye=(ye<>pt),ye=this.index[ye],ye+=Ae>>Qt&Ln,ye=this.index[ye],ye=(ye<Mt?(Ke.push(!0),gn-=Mt):Ke.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(ct)!==-1)return ve.push(Rt),ye.push($e);if(gn===Kn||gn===we){if(Rt===0)return ve.push(Rt),ye.push(Ft);var mn=ye[Rt-1];return Hi.indexOf(mn)===-1?(ve.push(ve[Rt-1]),ye.push(mn)):(ve.push(Rt),ye.push(Ft))}if(ve.push(Rt),gn===Tn)return ye.push(Ae==="strict"?En:kr);if(gn===si||gn===nt)return ye.push(Ft);if(gn===xa)return ct>=131072&&ct<=196605||ct>=196608&&ct<=262141?ye.push(kr):ye.push(Ft);ye.push(gn)}),[ve,ye,Ke]},cn=function(he,Ae,ye,ve){var Ke=ve[ye];if(Array.isArray(he)?he.indexOf(Ke)!==-1:he===Ke)for(var ct=ye;ct<=ve.length;){ct++;var Rt=ve[ct];if(Rt===Ae)return!0;if(Rt!==Ue)break}if(Ke===Ue)for(var ct=ye;ct>0;){ct--;var gn=ve[ct];if(Array.isArray(he)?he.indexOf(gn)!==-1:he===gn)for(var mn=ye;mn<=ve.length;){mn++;var Rt=ve[mn];if(Rt===Ae)return!0;if(Rt!==Ue)break}if(gn!==Ue)break}return!1},tt=function(he,Ae){for(var ye=he;ye>=0;){var ve=Ae[ye];if(ve===Ue)ye--;else return ve}return 0},yt=function(he,Ae,ye,ve,Ke){if(ye[ve]===0)return Wr;var ct=ve-1;if(Array.isArray(Ke)&&Ke[ct]===!0)return Wr;var Rt=ct-1,gn=ct+1,mn=Ae[ct],fr=Rt>=0?Ae[Rt]:0,wr=Ae[gn];if(mn===hn&&wr===Jn)return Wr;if(Da.indexOf(mn)!==-1)return Wi;if(Da.indexOf(wr)!==-1||Qi.indexOf(wr)!==-1)return Wr;if(tt(ct,Ae)===on)return Fa;if(Oi.get(he[ct])===we||(mn===Vn||mn===tr)&&Oi.get(he[gn])===we||mn===ln||wr===ln||mn===vn||[Ue,Ee,me].indexOf(mn)===-1&&wr===vn||[Pt,an,An,Cr,Ot].indexOf(wr)!==-1||tt(ct,Ae)===Pn||cn(Zn,Pn,ct,Ae)||cn([Pt,an],En,ct,Ae)||cn(pe,pe,ct,Ae))return Wr;if(mn===Ue)return Fa;if(mn===Zn||wr===Zn)return Wr;if(wr===$e||mn===$e)return Fa;if([Ee,me,En].indexOf(wr)!==-1||mn===Me||fr===Kr&&Vr.indexOf(mn)!==-1||mn===Ot&&wr===Kr||wr===In||Yi.indexOf(wr)!==-1&&mn===Bt||Yi.indexOf(mn)!==-1&&wr===Bt||mn===_n&&[kr,Vn,tr].indexOf(wr)!==-1||[kr,Vn,tr].indexOf(mn)!==-1&&wr===dn||Yi.indexOf(mn)!==-1&&Bi.indexOf(wr)!==-1||Bi.indexOf(mn)!==-1&&Yi.indexOf(wr)!==-1||[_n,dn].indexOf(mn)!==-1&&(wr===Bt||[Pn,me].indexOf(wr)!==-1&&Ae[gn+1]===Bt)||[Pn,me].indexOf(mn)!==-1&&wr===Bt||mn===Bt&&[Bt,Ot,Cr].indexOf(wr)!==-1)return Wr;if([Bt,Ot,Cr,Pt,an].indexOf(wr)!==-1)for(var Mr=ct;Mr>=0;){var gi=Ae[Mr];if(gi===Bt)return Wr;if([Ot,Cr].indexOf(gi)!==-1)Mr--;else break}if([_n,dn].indexOf(wr)!==-1)for(var Mr=[Pt,an].indexOf(mn)!==-1?Rt:ct;Mr>=0;){var gi=Ae[Mr];if(gi===Bt)return Wr;if([Ot,Cr].indexOf(gi)!==-1)Mr--;else break}if(dr===mn&&[dr,pr,jr,Nr].indexOf(wr)!==-1||[pr,jr].indexOf(mn)!==-1&&[pr,zr].indexOf(wr)!==-1||[zr,Nr].indexOf(mn)!==-1&&wr===zr||ci.indexOf(mn)!==-1&&[In,dn].indexOf(wr)!==-1||ci.indexOf(wr)!==-1&&mn===_n||Yi.indexOf(mn)!==-1&&Yi.indexOf(wr)!==-1||mn===Cr&&Yi.indexOf(wr)!==-1||Yi.concat(Bt).indexOf(mn)!==-1&&wr===Pn&&Ti.indexOf(he[gn])===-1||Yi.concat(Bt).indexOf(wr)!==-1&&mn===an)return Wr;if(mn===mi&&wr===mi){for(var $a=ye[ct],sa=1;$a>0&&($a--,Ae[$a]===mi);)sa++;if(sa%2!==0)return Wr}return mn===Vn&&wr===tr?Wr:Fa},ht=function(he,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var ye=ia(he,Ae.lineBreak),ve=ye[0],Ke=ye[1],ct=ye[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(Ke=Ke.map(function(gn){return[Bt,Ft,si].indexOf(gn)!==-1?kr:gn}));var Rt=Ae.wordBreak==="keep-all"?ct.map(function(gn,mn){return gn&&he[mn]>=19968&&he[mn]<=40959}):void 0;return[ve,Ke,Rt]},dt=function(){function he(Ae,ye,ve,Ke){this.codePoints=Ae,this.required=ye===Wi,this.start=ve,this.end=Ke}return he.prototype.slice=function(){return _e.apply(void 0,this.codePoints.slice(this.start,this.end))},he}(),xt=function(he,Ae){var ye=ke(he),ve=ht(ye,Ae),Ke=ve[0],ct=ve[1],Rt=ve[2],gn=ye.length,mn=0,fr=0;return{next:function(){if(fr>=gn)return{done:!0,value:null};for(var wr=Wr;fr=Qa&&he<=57},Ao=function(he){return he>=55296&&he<=57343},zo=function(he){return Oo(he)||he>=Ui&&he<=Ua||he>=_a&&he<=za},ts=function(he){return he>=_a&&he<=ji},Ni=function(he){return he>=Ui&&he<=$s},Fi=function(he){return ts(he)||Ni(he)},ki=function(he){return he>=Ma},zi=function(he){return he===or||he===Qn||he===mr},ao=function(he){return Fi(he)||ki(he)||he===Xn},ns=function(he){return ao(he)||Oo(he)||he===Gn},No=function(he){return he>=so&&he<=ua||he===Ai||he>=Xr&&he<=na||he===qi},So=function(he,Ae){return he!==Pr?!1:Ae!==or},mo=function(he,Ae,ye){return he===Gn?ao(Ae)||So(Ae,ye):ao(he)?!0:!!(he===Pr&&So(he,Ae))},Go=function(he,Ae,ye){return he===Pi||he===Gn?Oo(Ae)?!0:Ae===Oa&&Oo(ye):Oo(he===Oa?Ae:he)},Us=function(he){var Ae=0,ye=1;(he[Ae]===Pi||he[Ae]===Gn)&&(he[Ae]===Gn&&(ye=-1),Ae++);for(var ve=[];Oo(he[Ae]);)ve.push(he[Ae++]);var Ke=ve.length?parseInt(_e.apply(void 0,ve),10):0;he[Ae]===Oa&&Ae++;for(var ct=[];Oo(he[Ae]);)ct.push(he[Ae++]);var Rt=ct.length,gn=Rt?parseInt(_e.apply(void 0,ct),10):0;(he[Ae]===Na||he[Ae]===co)&&Ae++;var mn=1;(he[Ae]===Pi||he[Ae]===Gn)&&(he[Ae]===Gn&&(mn=-1),Ae++);for(var fr=[];Oo(he[Ae]);)fr.push(he[Ae++]);var wr=fr.length?parseInt(_e.apply(void 0,fr),10):0;return ye*(Ke+gn*Math.pow(10,-Rt))*Math.pow(10,mn*wr)},bs={type:2},Cl={type:3},ol={type:4},Is={type:13},bc={type:8},Ul={type:21},Ml={type:9},hr={type:10},zn={type:11},Hn={type:12},Tr={type:14},ei={type:23},ai={type:1},Er={type:25},Si={type:24},ha={type:26},Ha={type:27},va={type:28},xi={type:29},pa={type:31},ka={type:32},fo=function(){function he(){this._value=[]}return he.prototype.write=function(Ae){this._value=this._value.concat(ke(Ae))},he.prototype.read=function(){for(var Ae=[],ye=this.consumeToken();ye!==ka;)Ae.push(ye),ye=this.consumeToken();return Ae},he.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case vi:return this.consumeStringToken(vi);case Mi:var ye=this.peekCodePoint(0),ve=this.peekCodePoint(1),Ke=this.peekCodePoint(2);if(ns(ye)||So(ve,Ke)){var ct=mo(ye,ve,Ke)?Fn:Gt,Rt=this.consumeName();return{type:5,value:Rt,flags:ct}}break;case pi:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),Is;break;case Dr:return this.consumeStringToken(Dr);case Ri:return bs;case tn:return Cl;case ga:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),Tr;break;case Pi:if(Go(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case aa:return ol;case Gn:var gn=Ae,mn=this.peekCodePoint(0),fr=this.peekCodePoint(1);if(Go(gn,mn,fr))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if(mo(gn,mn,fr))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(mn===Gn&&fr===cr)return this.consumeCodePoint(),this.consumeCodePoint(),Si;break;case Oa:if(Go(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Sr:if(this.peekCodePoint(0)===ga)for(this.consumeCodePoint();;){var wr=this.consumeCodePoint();if(wr===ga&&(wr=this.consumeCodePoint(),wr===Sr))return this.consumeToken();if(wr===fa)return this.consumeToken()}break;case ma:return ha;case Vi:return Ha;case $n:if(this.peekCodePoint(0)===yr&&this.peekCodePoint(1)===Gn&&this.peekCodePoint(2)===Gn)return this.consumeCodePoint(),this.consumeCodePoint(),Er;break;case rr:var Mr=this.peekCodePoint(0),gi=this.peekCodePoint(1),$a=this.peekCodePoint(2);if(mo(Mr,gi,$a)){var Rt=this.consumeName();return{type:7,value:Rt}}break;case Qr:return va;case Pr:if(So(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case Yr:return xi;case ui:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),bc;break;case $i:return zn;case Ba:return Hn;case Ko:case Fo:var sa=this.peekCodePoint(0),Ra=this.peekCodePoint(1);return sa===Pi&&(zo(Ra)||Ra===oa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case ca:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),Ml;if(this.peekCodePoint(0)===ca)return this.consumeCodePoint(),Ul;break;case Ji:if(this.peekCodePoint(0)===qr)return this.consumeCodePoint(),hr;break;case fa:return ka}return zi(Ae)?(this.consumeWhiteSpace(),pa):Oo(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):ao(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:_e(Ae)}},he.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},he.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},he.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},he.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],ye=this.consumeCodePoint();zo(ye)&&Ae.length<6;)Ae.push(ye),ye=this.consumeCodePoint();for(var ve=!1;ye===oa&&Ae.length<6;)Ae.push(ye),ye=this.consumeCodePoint(),ve=!0;if(ve){var Ke=parseInt(_e.apply(void 0,Ae.map(function(mn){return mn===oa?Qa:mn})),16),ct=parseInt(_e.apply(void 0,Ae.map(function(mn){return mn===oa?Ua:mn})),16);return{type:30,start:Ke,end:ct}}var Rt=parseInt(_e.apply(void 0,Ae),16);if(this.peekCodePoint(0)===Gn&&zo(this.peekCodePoint(1))){this.consumeCodePoint(),ye=this.consumeCodePoint();for(var gn=[];zo(ye)&&gn.length<6;)gn.push(ye),ye=this.consumeCodePoint();var ct=parseInt(_e.apply(void 0,gn),16);return{type:30,start:Rt,end:ct}}else return{type:30,start:Rt,end:Rt}},he.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===Ri?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ri?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},he.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===fa)return{type:22,value:""};var ye=this.peekCodePoint(0);if(ye===Dr||ye===vi){var ve=this.consumeStringToken(this.consumeCodePoint());return ve.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===fa||this.peekCodePoint(0)===tn)?(this.consumeCodePoint(),{type:22,value:ve.value}):(this.consumeBadUrlRemnants(),ei)}for(;;){var Ke=this.consumeCodePoint();if(Ke===fa||Ke===tn)return{type:22,value:_e.apply(void 0,Ae)};if(zi(Ke))return this.consumeWhiteSpace(),this.peekCodePoint(0)===fa||this.peekCodePoint(0)===tn?(this.consumeCodePoint(),{type:22,value:_e.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),ei);if(Ke===vi||Ke===Dr||Ke===Ri||No(Ke))return this.consumeBadUrlRemnants(),ei;if(Ke===Pr)if(So(Ke,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ei;else Ae.push(Ke)}},he.prototype.consumeWhiteSpace=function(){for(;zi(this.peekCodePoint(0));)this.consumeCodePoint()},he.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===tn||Ae===fa)return;So(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},he.prototype.consumeStringSlice=function(Ae){for(var ye=5e4,ve="";Ae>0;){var Ke=Math.min(ye,Ae);ve+=_e.apply(void 0,this._value.splice(0,Ke)),Ae-=Ke}return this._value.shift(),ve},he.prototype.consumeStringToken=function(Ae){var ye="",ve=0;do{var Ke=this._value[ve];if(Ke===fa||Ke===void 0||Ke===Ae)return ye+=this.consumeStringSlice(ve),{type:0,value:ye};if(Ke===or)return this._value.splice(0,ve),ai;if(Ke===Pr){var ct=this._value[ve+1];ct!==fa&&ct!==void 0&&(ct===or?(ye+=this.consumeStringSlice(ve),ve=-1,this._value.shift()):So(Ke,ct)&&(ye+=this.consumeStringSlice(ve),ye+=_e(this.consumeEscapedCodePoint()),ve=-1))}ve++}while(!0)},he.prototype.consumeNumber=function(){var Ae=[],ye=Mn,ve=this.peekCodePoint(0);for((ve===Pi||ve===Gn)&&Ae.push(this.consumeCodePoint());Oo(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ve=this.peekCodePoint(0);var Ke=this.peekCodePoint(1);if(ve===Oa&&Oo(Ke))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=jn;Oo(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ve=this.peekCodePoint(0),Ke=this.peekCodePoint(1);var ct=this.peekCodePoint(2);if((ve===Na||ve===co)&&((Ke===Pi||Ke===Gn)&&Oo(ct)||Oo(Ke)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=jn;Oo(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Us(Ae),ye]},he.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),ye=Ae[0],ve=Ae[1],Ke=this.peekCodePoint(0),ct=this.peekCodePoint(1),Rt=this.peekCodePoint(2);if(mo(Ke,ct,Rt)){var gn=this.consumeName();return{type:15,number:ye,flags:ve,unit:gn}}return Ke===Xi?(this.consumeCodePoint(),{type:16,number:ye,flags:ve}):{type:17,number:ye,flags:ve}},he.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(zo(Ae)){for(var ye=_e(Ae);zo(this.peekCodePoint(0))&&ye.length<6;)ye+=_e(this.consumeCodePoint());zi(this.peekCodePoint(0))&&this.consumeCodePoint();var ve=parseInt(ye,16);return ve===0||Ao(ve)||ve>1114111?Ca:ve}return Ae===fa?Ca:Ae},he.prototype.consumeName=function(){for(var Ae="";;){var ye=this.consumeCodePoint();if(ns(ye))Ae+=_e(ye);else if(So(ye,this.peekCodePoint(0)))Ae+=_e(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ye),Ae}},he}(),Ta=function(){function he(Ae){this._tokens=Ae}return he.create=function(Ae){var ye=new fo;return ye.write(Ae),new he(ye.read())},he.parseValue=function(Ae){return he.create(Ae).parseComponentValue()},he.parseValues=function(Ae){return he.create(Ae).parseComponentValues()},he.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var ye=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return ye;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},he.prototype.parseComponentValues=function(){for(var Ae=[];;){var ye=this.consumeComponentValue();if(ye.type===32)return Ae;Ae.push(ye),Ae.push()}},he.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},he.prototype.consumeSimpleBlock=function(Ae){for(var ye={type:Ae,values:[]},ve=this.consumeToken();;){if(ve.type===32||Il(ve,Ae))return ye;this.reconsumeToken(ve),ye.values.push(this.consumeComponentValue()),ve=this.consumeToken()}},he.prototype.consumeFunction=function(Ae){for(var ye={name:Ae.value,values:[],type:18};;){var ve=this.consumeToken();if(ve.type===32||ve.type===3)return ye;this.reconsumeToken(ve),ye.values.push(this.consumeComponentValue())}},he.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?ka:Ae},he.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},he}(),Sa=function(he){return he.type===15},to=function(he){return he.type===17},Ya=function(he){return he.type===20},cs=function(he){return he.type===0},el=function(he,Ae){return Ya(he)&&he.value===Ae},Fl=function(he){return he.type!==31},Nc=function(he){return he.type!==31&&he.type!==4},gl=function(he){var Ae=[],ye=[];return he.forEach(function(ve){if(ve.type===4){if(ye.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(ye),ye=[];return}ve.type!==31&&ye.push(ve)}),ye.length&&Ae.push(ye),Ae},Il=function(he,Ae){return Ae===11&&he.type===12||Ae===28&&he.type===29?!0:Ae===2&&he.type===3},Rs=function(he){return he.type===17||he.type===15},Qs=function(he){return he.type===16||Rs(he)},Gl=function(he){return he.length>1?[he[0],he[1]]:[he[0]]},Hs={type:17,number:0,flags:Mn},su={type:16,number:50,flags:Mn},Zl={type:16,number:100,flags:Mn},ml=function(he,Ae,ye){var ve=he[0],Ke=he[1];return[vo(ve,Ae),vo(typeof Ke!="undefined"?Ke:ve,ye)]},vo=function(he,Ae){if(he.type===16)return he.number/100*Ae;if(Sa(he))switch(he.unit){case"rem":case"em":return 16*he.number;case"px":default:return he.number}return he.number},hs="deg",Zc="grad",uA="rad",js="turn",Io={name:"angle",parse:function(he,Ae){if(Ae.type===15)switch(Ae.unit){case hs:return Math.PI*Ae.number/180;case Zc:return Math.PI/200*Ae.number;case uA:return Ae.number;case js:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},Eo=function(he){return he.type===15&&(he.unit===hs||he.unit===Zc||he.unit===uA||he.unit===js)},Vs=function(he){var Ae=he.filter(Ya).map(function(ye){return ye.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Hs,Hs];case"to top":case"bottom":return Gs(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Hs,Zl];case"to right":case"left":return Gs(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Zl,Zl];case"to bottom":case"top":return Gs(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Zl,Hs];case"to left":case"right":return Gs(270)}return 0},Gs=function(he){return Math.PI*he/180},Ss={name:"color",parse:function(he,Ae){if(Ae.type===18){var ye=Xl[Ae.name];if(typeof ye=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return ye(he,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var ve=Ae.value.substring(0,1),Ke=Ae.value.substring(1,2),ct=Ae.value.substring(2,3);return sl(parseInt(ve+ve,16),parseInt(Ke+Ke,16),parseInt(ct+ct,16),1)}if(Ae.value.length===4){var ve=Ae.value.substring(0,1),Ke=Ae.value.substring(1,2),ct=Ae.value.substring(2,3),Rt=Ae.value.substring(3,4);return sl(parseInt(ve+ve,16),parseInt(Ke+Ke,16),parseInt(ct+ct,16),parseInt(Rt+Rt,16)/255)}if(Ae.value.length===6){var ve=Ae.value.substring(0,2),Ke=Ae.value.substring(2,4),ct=Ae.value.substring(4,6);return sl(parseInt(ve,16),parseInt(Ke,16),parseInt(ct,16),1)}if(Ae.value.length===8){var ve=Ae.value.substring(0,2),Ke=Ae.value.substring(2,4),ct=Ae.value.substring(4,6),Rt=Ae.value.substring(6,8);return sl(parseInt(ve,16),parseInt(Ke,16),parseInt(ct,16),parseInt(Rt,16)/255)}}if(Ae.type===20){var gn=Dl[Ae.value.toUpperCase()];if(typeof gn!="undefined")return gn}return Dl.TRANSPARENT}},Zs=function(he){return(255&he)===0},Ds=function(he){var Ae=255&he,ye=255&he>>8,ve=255&he>>16,Ke=255&he>>24;return Ae<255?"rgba("+Ke+","+ve+","+ye+","+Ae/255+")":"rgb("+Ke+","+ve+","+ye+")"},sl=function(he,Ae,ye,ve){return(he<<24|Ae<<16|ye<<8|Math.round(ve*255)<<0)>>>0},cc=function(he,Ae){if(he.type===17)return he.number;if(he.type===16){var ye=Ae===3?1:255;return Ae===3?he.number/100*ye:Math.round(he.number/100*ye)}return 0},Yc=function(he,Ae){var ye=Ae.filter(Nc);if(ye.length===3){var ve=ye.map(cc),Ke=ve[0],ct=ve[1],Rt=ve[2];return sl(Ke,ct,Rt,1)}if(ye.length===4){var gn=ye.map(cc),Ke=gn[0],ct=gn[1],Rt=gn[2],mn=gn[3];return sl(Ke,ct,Rt,mn)}return 0};function fl(he,Ae,ye){return ye<0&&(ye+=1),ye>=1&&(ye-=1),ye<1/6?(Ae-he)*ye*6+he:ye<1/2?Ae:ye<2/3?(Ae-he)*6*(2/3-ye)+he:he}var Yl=function(he,Ae){var ye=Ae.filter(Nc),ve=ye[0],Ke=ye[1],ct=ye[2],Rt=ye[3],gn=(ve.type===17?Gs(ve.number):Io.parse(he,ve))/(Math.PI*2),mn=Qs(Ke)?Ke.number/100:0,fr=Qs(ct)?ct.number/100:0,wr=typeof Rt!="undefined"&&Qs(Rt)?vo(Rt,1):1;if(mn===0)return sl(fr*255,fr*255,fr*255,1);var Mr=fr<=.5?fr*(mn+1):fr+mn-fr*mn,gi=fr*2-Mr,$a=fl(gi,Mr,gn+1/3),sa=fl(gi,Mr,gn),Ra=fl(gi,Mr,gn-1/3);return sl($a*255,sa*255,Ra*255,wr)},Xl={hsl:Yl,hsla:Yl,rgb:Yc,rgba:Yc},lu=function(he,Ae){return Ss.parse(he,Ta.create(Ae).parseComponentValue())},Dl={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},xh={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(he,Ae){return Ae.map(function(ye){if(Ya(ye))switch(ye.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Zd={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},AA=function(he,Ae){var ye=Ss.parse(he,Ae[0]),ve=Ae[1];return ve&&Qs(ve)?{color:ye,stop:ve}:{color:ye,stop:null}},Ch=function(he,Ae){var ye=he[0],ve=he[he.length-1];ye.stop===null&&(ye.stop=Hs),ve.stop===null&&(ve.stop=Zl);for(var Ke=[],ct=0,Rt=0;Rtct?Ke.push(mn):Ke.push(ct),ct=mn}else Ke.push(null)}for(var fr=null,Rt=0;RtRt.optimumDistance)?{optimumCorner:gn,optimumDistance:wr}:Rt},{optimumDistance:Ke?1/0:-1/0,optimumCorner:null}).optimumCorner},Es=function(he,Ae,ye,ve,Ke){var ct=0,Rt=0;switch(he.size){case 0:he.shape===0?ct=Rt=Math.min(Math.abs(Ae),Math.abs(Ae-ve),Math.abs(ye),Math.abs(ye-Ke)):he.shape===1&&(ct=Math.min(Math.abs(Ae),Math.abs(Ae-ve)),Rt=Math.min(Math.abs(ye),Math.abs(ye-Ke)));break;case 2:if(he.shape===0)ct=Rt=Math.min(uc(Ae,ye),uc(Ae,ye-Ke),uc(Ae-ve,ye),uc(Ae-ve,ye-Ke));else if(he.shape===1){var gn=Math.min(Math.abs(ye),Math.abs(ye-Ke))/Math.min(Math.abs(Ae),Math.abs(Ae-ve)),mn=SA(ve,Ke,Ae,ye,!0),fr=mn[0],wr=mn[1];ct=uc(fr-Ae,(wr-ye)/gn),Rt=gn*ct}break;case 1:he.shape===0?ct=Rt=Math.max(Math.abs(Ae),Math.abs(Ae-ve),Math.abs(ye),Math.abs(ye-Ke)):he.shape===1&&(ct=Math.max(Math.abs(Ae),Math.abs(Ae-ve)),Rt=Math.max(Math.abs(ye),Math.abs(ye-Ke)));break;case 3:if(he.shape===0)ct=Rt=Math.max(uc(Ae,ye),uc(Ae,ye-Ke),uc(Ae-ve,ye),uc(Ae-ve,ye-Ke));else if(he.shape===1){var gn=Math.max(Math.abs(ye),Math.abs(ye-Ke))/Math.max(Math.abs(Ae),Math.abs(Ae-ve)),Mr=SA(ve,Ke,Ae,ye,!1),fr=Mr[0],wr=Mr[1];ct=uc(fr-Ae,(wr-ye)/gn),Rt=gn*ct}break}return Array.isArray(he.size)&&(ct=vo(he.size[0],ve),Rt=he.size.length===2?vo(he.size[1],Ke):ct),[ct,Rt]},vs=function(he,Ae){var ye=Gs(180),ve=[];return gl(Ae).forEach(function(Ke,ct){if(ct===0){var Rt=Ke[0];if(Rt.type===20&&Rt.value==="to"){ye=Vs(Ke);return}else if(Eo(Rt)){ye=Io.parse(he,Rt);return}}var gn=AA(he,Ke);ve.push(gn)}),{angle:ye,stops:ve,type:1}},Ks=function(he,Ae){var ye=Gs(180),ve=[];return gl(Ae).forEach(function(Ke,ct){if(ct===0){var Rt=Ke[0];if(Rt.type===20&&["top","left","right","bottom"].indexOf(Rt.value)!==-1){ye=Vs(Ke);return}else if(Eo(Rt)){ye=(Io.parse(he,Rt)+Gs(270))%Gs(360);return}}var gn=AA(he,Ke);ve.push(gn)}),{angle:ye,stops:ve,type:1}},Uc=function(he,Ae){var ye=Gs(180),ve=[],Ke=1,ct=0,Rt=3,gn=[];return gl(Ae).forEach(function(mn,fr){var wr=mn[0];if(fr===0){if(Ya(wr)&&wr.value==="linear"){Ke=1;return}else if(Ya(wr)&&wr.value==="radial"){Ke=2;return}}if(wr.type===18){if(wr.name==="from"){var Mr=Ss.parse(he,wr.values[0]);ve.push({stop:Hs,color:Mr})}else if(wr.name==="to"){var Mr=Ss.parse(he,wr.values[0]);ve.push({stop:Zl,color:Mr})}else if(wr.name==="color-stop"){var gi=wr.values.filter(Nc);if(gi.length===2){var Mr=Ss.parse(he,gi[1]),$a=gi[0];to($a)&&ve.push({stop:{type:16,number:$a.number*100,flags:$a.flags},color:Mr})}}}}),Ke===1?{angle:(ye+Gs(180))%Gs(360),stops:ve,type:Ke}:{size:Rt,shape:ct,stops:ve,position:gn,type:Ke}},nc="closest-side",Eu="farthest-side",yu="closest-corner",rc="farthest-corner",Mu="circle",ku="ellipse",bu="cover",EA="contain",gs=function(he,Ae){var ye=0,ve=3,Ke=[],ct=[];return gl(Ae).forEach(function(Rt,gn){var mn=!0;if(gn===0){var fr=!1;mn=Rt.reduce(function(Mr,gi){if(fr)if(Ya(gi))switch(gi.value){case"center":return ct.push(su),Mr;case"top":case"left":return ct.push(Hs),Mr;case"right":case"bottom":return ct.push(Zl),Mr}else(Qs(gi)||Rs(gi))&&ct.push(gi);else if(Ya(gi))switch(gi.value){case Mu:return ye=0,!1;case ku:return ye=1,!1;case"at":return fr=!0,!1;case nc:return ve=0,!1;case bu:case Eu:return ve=1,!1;case EA:case yu:return ve=2,!1;case rc:return ve=3,!1}else if(Rs(gi)||Qs(gi))return Array.isArray(ve)||(ve=[]),ve.push(gi),!1;return Mr},mn)}if(mn){var wr=AA(he,Rt);Ke.push(wr)}}),{size:ve,shape:ye,stops:Ke,position:ct,type:2}},Xc=function(he,Ae){var ye=0,ve=3,Ke=[],ct=[];return gl(Ae).forEach(function(Rt,gn){var mn=!0;if(gn===0?mn=Rt.reduce(function(wr,Mr){if(Ya(Mr))switch(Mr.value){case"center":return ct.push(su),!1;case"top":case"left":return ct.push(Hs),!1;case"right":case"bottom":return ct.push(Zl),!1}else if(Qs(Mr)||Rs(Mr))return ct.push(Mr),!1;return wr},mn):gn===1&&(mn=Rt.reduce(function(wr,Mr){if(Ya(Mr))switch(Mr.value){case Mu:return ye=0,!1;case ku:return ye=1,!1;case EA:case nc:return ve=0,!1;case Eu:return ve=1,!1;case yu:return ve=2,!1;case bu:case rc:return ve=3,!1}else if(Rs(Mr)||Qs(Mr))return Array.isArray(ve)||(ve=[]),ve.push(Mr),!1;return wr},mn)),mn){var fr=AA(he,Rt);Ke.push(fr)}}),{size:ve,shape:ye,stops:Ke,position:ct,type:2}},Vu=function(he){return he.type===1},Y0=function(he){return he.type===2},Gu={name:"image",parse:function(he,Ae){if(Ae.type===22){var ye={url:Ae.value,type:0};return he.cache.addImage(Ae.value),ye}if(Ae.type===18){var ve=Yd[Ae.name];if(typeof ve=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return ve(he,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function l0(he){return!(he.type===20&&he.value==="none")&&(he.type!==18||!!Yd[he.name])}var Yd={"linear-gradient":vs,"-moz-linear-gradient":Ks,"-ms-linear-gradient":Ks,"-o-linear-gradient":Ks,"-webkit-linear-gradient":Ks,"radial-gradient":gs,"-moz-radial-gradient":Xc,"-ms-radial-gradient":Xc,"-o-radial-gradient":Xc,"-webkit-radial-gradient":Xc,"-webkit-gradient":Uc},Cd={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(he,Ae){if(Ae.length===0)return[];var ye=Ae[0];return ye.type===20&&ye.value==="none"?[]:Ae.filter(function(ve){return Nc(ve)&&l0(ve)}).map(function(ve){return Gu.parse(he,ve)})}},Bh={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(he,Ae){return Ae.map(function(ye){if(Ya(ye))switch(ye.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Pf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(he,Ae){return gl(Ae).map(function(ye){return ye.filter(Qs)}).map(Gl)}},Lu={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(he,Ae){return gl(Ae).map(function(ye){return ye.filter(Ya).map(function(ve){return ve.value}).join(" ")}).map(WA)}},WA=function(he){switch(he){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Jl;(function(he){he.AUTO="auto",he.CONTAIN="contain",he.COVER="cover"})(Jl||(Jl={}));var kl={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(he,Ae){return gl(Ae).map(function(ye){return ye.filter(cu)})}},cu=function(he){return Ya(he)||Qs(he)},Jc=function(he){return{name:"border-"+he+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Gp=Jc("top"),dA=Jc("right"),Sh=Jc("bottom"),wu=Jc("left"),MA=function(he){return{name:"border-radius-"+he,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,ye){return Gl(ye.filter(Qs))}}},Ng=MA("top-left"),Zu=MA("top-right"),uu=MA("bottom-right"),Ac=MA("bottom-left"),Ms=function(he){return{name:"border-"+he+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,ye){switch(ye){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Yu=Ms("top"),VA=Ms("right"),kA=Ms("bottom"),wc=Ms("left"),Xu=function(he){return{name:"border-"+he+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,ye){return Sa(ye)?ye.number:0}}},Nf=Xu("top"),Bd=Xu("right"),X0=Xu("bottom"),Zp=Xu("left"),Rc={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Fu={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},Yp={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(he,Ae){return Ae.filter(Ya).reduce(function(ye,ve){return ye|Xp(ve.value)},0)}},Xp=function(he){switch(he){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Uf={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},J0={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(he,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},Rf;(function(he){he.NORMAL="normal",he.STRICT="strict"})(Rf||(Rf={}));var Jp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"strict":return Rf.STRICT;case"normal":default:return Rf.NORMAL}}},_l={name:"line-height",initialValue:"normal",prefix:!1,type:4},ql=function(he,Ae){return Ya(he)&&he.value==="normal"?1.2*Ae:he.type===17?Ae*he.number:Qs(he)?vo(he,Ae):Ae},Tl={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(he,Ae){return Ae.type===20&&Ae.value==="none"?null:Gu.parse(he,Ae)}},dc={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},GA={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Qf=function(he){return{name:"margin-"+he,initialValue:"0",prefix:!1,type:4}},Eh=Qf("top"),q0=Qf("right"),qp=Qf("bottom"),$p=Qf("left"),c0={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(he,Ae){return Ae.filter(Ya).map(function(ye){switch(ye.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},$0={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Xd=function(he){return{name:"padding-"+he,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},eg=Xd("top"),Sd=Xd("right"),u0=Xd("bottom"),ep=Xd("left"),Mh={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Jd={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(he,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},A0={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(he,Ae){return Ae.length===1&&el(Ae[0],"none")?[]:gl(Ae).map(function(ye){for(var ve={color:Dl.TRANSPARENT,offsetX:Hs,offsetY:Hs,blur:Hs},Ke=0,ct=0;ct1?1:0],this.overflowWrap=Ga(Ae,$0,ye.overflowWrap),this.paddingTop=Ga(Ae,eg,ye.paddingTop),this.paddingRight=Ga(Ae,Sd,ye.paddingRight),this.paddingBottom=Ga(Ae,u0,ye.paddingBottom),this.paddingLeft=Ga(Ae,ep,ye.paddingLeft),this.paintOrder=Ga(Ae,m0,ye.paintOrder),this.position=Ga(Ae,Jd,ye.position),this.textAlign=Ga(Ae,Mh,ye.textAlign),this.textDecorationColor=Ga(Ae,ef,(ve=ye.textDecorationColor)!==null&&ve!==void 0?ve:ye.color),this.textDecorationLine=Ga(Ae,f0,(Ke=ye.textDecorationLine)!==null&&Ke!==void 0?Ke:ye.textDecoration),this.textShadow=Ga(Ae,A0,ye.textShadow),this.textTransform=Ga(Ae,LA,ye.textTransform),this.transform=Ga(Ae,tg,ye.transform),this.transformOrigin=Ga(Ae,Au,ye.transformOrigin),this.visibility=Ga(Ae,zs,ye.visibility),this.webkitTextStrokeColor=Ga(Ae,v0,ye.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ga(Ae,FA,ye.webkitTextStrokeWidth),this.wordBreak=Ga(Ae,fA,ye.wordBreak),this.zIndex=Ga(Ae,ZA,ye.zIndex)}return he.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},he.prototype.isTransparent=function(){return Zs(this.backgroundColor)},he.prototype.isTransformed=function(){return this.transform!==null},he.prototype.isPositioned=function(){return this.position!==0},he.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},he.prototype.isFloating=function(){return this.float!==0},he.prototype.isInlineLevel=function(){return Rl(this.display,4)||Rl(this.display,33554432)||Rl(this.display,268435456)||Rl(this.display,536870912)||Rl(this.display,67108864)||Rl(this.display,134217728)},he}(),_h=function(){function he(Ae,ye){this.content=Ga(Ae,Lh,ye.content),this.quotes=Ga(Ae,np,ye.quotes)}return he}(),y0=function(){function he(Ae,ye){this.counterIncrement=Ga(Ae,p0,ye.counterIncrement),this.counterReset=Ga(Ae,Fh,ye.counterReset)}return he}(),Ga=function(he,Ae,ye){var ve=new fo,Ke=ye!==null&&typeof ye!="undefined"?ye.toString():Ae.initialValue;ve.write(Ke);var ct=new Ta(ve.read());switch(Ae.type){case 2:var Rt=ct.parseComponentValue();return Ae.parse(he,Ya(Rt)?Rt.value:Ae.initialValue);case 0:return Ae.parse(he,ct.parseComponentValue());case 1:return Ae.parse(he,ct.parseComponentValues());case 4:return ct.parseComponentValue();case 3:switch(Ae.format){case"angle":return Io.parse(he,ct.parseComponentValue());case"color":return Ss.parse(he,ct.parseComponentValue());case"image":return Gu.parse(he,ct.parseComponentValue());case"length":var gn=ct.parseComponentValue();return Rs(gn)?gn:Hs;case"length-percentage":var mn=ct.parseComponentValue();return Qs(mn)?mn:Hs;case"time":return d0.parse(he,ct.parseComponentValue())}break}},kd="data-html2canvas-debug",b0=function(he){var Ae=he.getAttribute(kd);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},XA=function(he,Ae){var ye=b0(he);return ye===1||Ae===ye},Ia=function(){function he(Ae,ye){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,XA(ye,3))debugger;this.styles=new Dh(Ae,window.getComputedStyle(ye,null)),jh(ye)&&(this.styles.animationDuration.some(function(ve){return ve>0})&&(ye.style.animationDuration="0s"),this.styles.transform!==null&&(ye.style.transform="none")),this.bounds=lt(this.context,ye),XA(ye,4)&&(this.flags|=16)}return he}(),Iu="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAA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kFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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UBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFig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AAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",rp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",IA=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xc=0;xc>4,wr[Ke++]=(Rt&15)<<4|gn>>2,wr[Ke++]=(gn&3)<<6|mn&63;return fr},jf=function(he){for(var Ae=he.length,ye=[],ve=0;ve>Ld,xu=1<>Ld,ap=DA+JA,_A=ap,af=32,Fd=_A+af,op=65536>>Ju,of=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return ye=this.index[Ae>>Ld],ye=(ye<>Ld)],ye=(ye<>Ju),ye=this.index[ye],ye+=Ae>>Ld&sp,ye=this.index[ye],ye=(ye<=55296&&Ke<=56319&&ye>10)+55296,Rt%1024+56320)),(Ke+1===ye||ve.length>16384)&&(ct+=String.fromCharCode.apply(String,ve),ve.length=0)}return ct},cf=zf(Iu),ni="\xD7",Wf="\xF7",Nh=function(he){return cf.get(he)},E0=function(he,Ae,ye){var ve=ye-2,Ke=Ae[ve],ct=Ae[ye-1],Rt=Ae[ye];if(ct===Th&&Rt===qu)return ni;if(ct===Th||ct===qu||ct===hA||Rt===Th||Rt===qu||Rt===hA)return Wf;if(ct===TA&&[TA,sf,B0,Pl].indexOf(Rt)!==-1||(ct===B0||ct===sf)&&(Rt===sf||Rt===Fc)||(ct===Pl||ct===Fc)&&Rt===Fc||Rt===Oh||Rt===Xo||Rt===hl||ct===C0)return ni;if(ct===Oh&&Rt===lp){for(;Ke===Xo;)Ke=Ae[--ve];if(Ke===lp)return ni}if(ct===S0&&Rt===S0){for(var gn=0;Ke===S0;)gn++,Ke=Ae[--ve];if(gn%2===0)return ni}return Wf},pA=function(he){var Ae=Ph(he),ye=Ae.length,ve=0,Ke=0,ct=Ae.map(Nh);return{next:function(){if(ve>=ye)return{done:!0,value:null};for(var Rt=ni;veRt.x||wr.y>Rt.y;return Rt=wr,fr===0?!0:Mr});return he.body.removeChild(Ae),gn},ul=function(){return typeof new Image().crossOrigin!="undefined"},uf=function(){return typeof new XMLHttpRequest().responseType=="string"},L0=function(he){var Ae=new Image,ye=he.createElement("canvas"),ve=ye.getContext("2d");if(!ve)return!1;Ae.src="data:image/svg+xml,";try{ve.drawImage(Ae,0,0),ye.toDataURL()}catch(Ke){return!1}return!0},gA=function(he){return he[0]===0&&he[1]===255&&he[2]===0&&he[3]===255},Gf=function(he){var Ae=he.createElement("canvas"),ye=100;Ae.width=ye,Ae.height=ye;var ve=Ae.getContext("2d");if(!ve)return Promise.reject(!1);ve.fillStyle="rgb(0, 255, 0)",ve.fillRect(0,0,ye,ye);var Ke=new Image,ct=Ae.toDataURL();Ke.src=ct;var Rt=mA(ye,ye,0,0,Ke);return ve.fillStyle="red",ve.fillRect(0,0,ye,ye),Dd(Rt).then(function(gn){ve.drawImage(gn,0,0);var mn=ve.getImageData(0,0,ye,ye).data;ve.fillStyle="red",ve.fillRect(0,0,ye,ye);var fr=he.createElement("div");return fr.style.backgroundImage="url("+ct+")",fr.style.height=ye+"px",gA(mn)?Dd(mA(ye,ye,0,0,fr)):Promise.reject(!1)}).then(function(gn){return ve.drawImage(gn,0,0),gA(ve.getImageData(0,0,ye,ye).data)}).catch(function(){return!1})},mA=function(he,Ae,ye,ve,Ke){var ct="http://www.w3.org/2000/svg",Rt=document.createElementNS(ct,"svg"),gn=document.createElementNS(ct,"foreignObject");return Rt.setAttributeNS(null,"width",he.toString()),Rt.setAttributeNS(null,"height",Ae.toString()),gn.setAttributeNS(null,"width","100%"),gn.setAttributeNS(null,"height","100%"),gn.setAttributeNS(null,"x",ye.toString()),gn.setAttributeNS(null,"y",ve.toString()),gn.setAttributeNS(null,"externalResourcesRequired","true"),Rt.appendChild(gn),gn.appendChild(Ke),Rt},Dd=function(he){return new Promise(function(Ae,ye){var ve=new Image;ve.onload=function(){return Ae(ve)},ve.onerror=ye,ve.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(he))})},Ys={get SUPPORT_RANGE_BOUNDS(){var he=k0(document);return Object.defineProperty(Ys,"SUPPORT_RANGE_BOUNDS",{value:he}),he},get SUPPORT_WORD_BREAKING(){var he=Ys.SUPPORT_RANGE_BOUNDS&&Vf(document);return Object.defineProperty(Ys,"SUPPORT_WORD_BREAKING",{value:he}),he},get SUPPORT_SVG_DRAWING(){var he=L0(document);return Object.defineProperty(Ys,"SUPPORT_SVG_DRAWING",{value:he}),he},get SUPPORT_FOREIGNOBJECT_DRAWING(){var he=typeof Array.from=="function"&&typeof window.fetch=="function"?Gf(document):Promise.resolve(!1);return Object.defineProperty(Ys,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:he}),he},get SUPPORT_CORS_IMAGES(){var he=ul();return Object.defineProperty(Ys,"SUPPORT_CORS_IMAGES",{value:he}),he},get SUPPORT_RESPONSE_TYPE(){var he=uf();return Object.defineProperty(Ys,"SUPPORT_RESPONSE_TYPE",{value:he}),he},get SUPPORT_CORS_XHR(){var he="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ys,"SUPPORT_CORS_XHR",{value:he}),he},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var he=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Ys,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:he}),he}},Ic=function(){function he(Ae,ye){this.text=Ae,this.bounds=ye}return he}(),fc=function(he,Ae,ye,ve){var Ke=cp(Ae,ye),ct=[],Rt=0;return Ke.forEach(function(gn){if(ye.textDecorationLine.length||gn.trim().length>0)if(Ys.SUPPORT_RANGE_BOUNDS){var mn=ed(ve,Rt,gn.length).getClientRects();if(mn.length>1){var fr=$u(gn),wr=0;fr.forEach(function(gi){ct.push(new Ic(gi,We.fromDOMRectList(he,ed(ve,wr+Rt,gi.length).getClientRects()))),wr+=gi.length})}else ct.push(new Ic(gn,We.fromDOMRectList(he,mn)))}else{var Mr=ve.splitText(gn.length);ct.push(new Ic(gn,OA(he,ve))),ve=Mr}else Ys.SUPPORT_RANGE_BOUNDS||(ve=ve.splitText(gn.length));Rt+=gn.length}),ct},OA=function(he,Ae){var ye=Ae.ownerDocument;if(ye){var ve=ye.createElement("html2canvaswrapper");ve.appendChild(Ae.cloneNode(!0));var Ke=Ae.parentNode;if(Ke){Ke.replaceChild(ve,Ae);var ct=lt(he,ve);return ve.firstChild&&Ke.replaceChild(ve.firstChild,ve),ct}}return We.EMPTY},ed=function(he,Ae,ye){var ve=he.ownerDocument;if(!ve)throw new Error("Node has no owner document");var Ke=ve.createRange();return Ke.setStart(he,Ae),Ke.setEnd(he,Ae+ye),Ke},$u=function(he){if(Ys.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(he)).map(function(ye){return ye.segment})}return M0(he)},Zf=function(he,Ae){if(Ys.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ye=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ye.segment(he)).map(function(ve){return ve.segment})}return ng(he,Ae)},cp=function(he,Ae){return Ae.letterSpacing!==0?$u(he):Zf(he,Ae)},up=[32,160,4961,65792,65793,4153,4241],ng=function(he,Ae){for(var ye=xt(he,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),ve=[],Ke,ct=function(){if(Ke.value){var Rt=Ke.value.slice(),gn=ke(Rt),mn="";gn.forEach(function(fr){up.indexOf(fr)===-1?mn+=_e(fr):(mn.length&&ve.push(mn),ve.push(_e(fr)),mn="")}),mn.length&&ve.push(mn)}};!(Ke=ye.next()).done;)ct();return ve},ic=function(){function he(Ae,ye,ve){this.text=PA(ye.data,ve.textTransform),this.textBounds=fc(Ae,this.text,ve,ye)}return he}(),PA=function(he,Ae){switch(Ae){case 1:return he.toLowerCase();case 3:return he.replace(Ug,Yf);case 2:return he.toUpperCase();default:return he}},Ug=/(^|\s|:|-|\(|\))([a-z])/g,Yf=function(he,Ae,ye){return he.length>0?Ae+ye.toUpperCase():he},Uh=function(he){be(Ae,he);function Ae(ye,ve){var Ke=he.call(this,ye,ve)||this;return Ke.src=ve.currentSrc||ve.src,Ke.intrinsicWidth=ve.naturalWidth,Ke.intrinsicHeight=ve.naturalHeight,Ke.context.cache.addImage(Ke.src),Ke}return Ae}(Ia),us=function(he){be(Ae,he);function Ae(ye,ve){var Ke=he.call(this,ye,ve)||this;return Ke.canvas=ve,Ke.intrinsicWidth=ve.width,Ke.intrinsicHeight=ve.height,Ke}return Ae}(Ia),Af=function(he){be(Ae,he);function Ae(ye,ve){var Ke=he.call(this,ye,ve)||this,ct=new XMLSerializer,Rt=lt(ye,ve);return ve.setAttribute("width",Rt.width+"px"),ve.setAttribute("height",Rt.height+"px"),Ke.svg="data:image/svg+xml,"+encodeURIComponent(ct.serializeToString(ve)),Ke.intrinsicWidth=ve.width.baseVal.value,Ke.intrinsicHeight=ve.height.baseVal.value,Ke.context.cache.addImage(Ke.svg),Ke}return Ae}(Ia),NA=function(he){be(Ae,he);function Ae(ye,ve){var Ke=he.call(this,ye,ve)||this;return Ke.value=ve.value,Ke}return Ae}(Ia),df=function(he){be(Ae,he);function Ae(ye,ve){var Ke=he.call(this,ye,ve)||this;return Ke.start=ve.start,Ke.reversed=typeof ve.reversed=="boolean"&&ve.reversed===!0,Ke}return Ae}(Ia),Jr=[{type:15,flags:0,unit:"px",number:3}],rg=[{type:16,flags:0,number:50}],ig=function(he){return he.width>he.height?new We(he.left+(he.width-he.height)/2,he.top,he.height,he.height):he.width0)ye.textNodes.push(new ic(he,Ke,ye.styles));else if(hf(Ke))if(gf(Ke)&&Ke.assignedNodes)Ke.assignedNodes().forEach(function(gn){return ff(he,gn,ye,ve)});else{var Rt=D0(he,Ke);Rt.styles.isVisible()&&(Hh(Ke,Rt,ve)?Rt.flags|=4:Qc(Rt.styles)&&(Rt.flags|=2),Qh.indexOf(Ke.tagName)!==-1&&(Rt.flags|=8),ye.elements.push(Rt),Ke.slot,Ke.shadowRoot?ff(he,Ke.shadowRoot,Rt,ve):!pf(Ke)&&!dp(Ke)&&!qf(Ke)&&ff(he,Ke,Rt,ve))}},D0=function(he,Ae){return _u(Ae)?new Uh(he,Ae):og(Ae)?new us(he,Ae):dp(Ae)?new Af(he,Ae):ag(Ae)?new NA(he,Ae):_0(Ae)?new df(he,Ae):Rg(Ae)?new ec(he,Ae):qf(Ae)?new nd(he,Ae):pf(Ae)?new Jf(he,Ae):tA(Ae)?new Rh(he,Ae):new Ia(he,Ae)},Ap=function(he,Ae){var ye=D0(he,Ae);return ye.flags|=4,ff(he,Ae,ye,ye),ye},Hh=function(he,Ae,ye){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||Mo(he)&&ye.styles.isTransparent()},Qc=function(he){return he.isPositioned()||he.isFloating()},rd=function(he){return he.nodeType===Node.TEXT_NODE},hf=function(he){return he.nodeType===Node.ELEMENT_NODE},jh=function(he){return hf(he)&&typeof he.style!="undefined"&&!vA(he)},vA=function(he){return typeof he.className=="object"},ag=function(he){return he.tagName==="LI"},_0=function(he){return he.tagName==="OL"},Rg=function(he){return he.tagName==="INPUT"},Qg=function(he){return he.tagName==="HTML"},dp=function(he){return he.tagName==="svg"},Mo=function(he){return he.tagName==="BODY"},og=function(he){return he.tagName==="CANVAS"},T0=function(he){return he.tagName==="VIDEO"},_u=function(he){return he.tagName==="IMG"},tA=function(he){return he.tagName==="IFRAME"},id=function(he){return he.tagName==="STYLE"},Kh=function(he){return he.tagName==="SCRIPT"},pf=function(he){return he.tagName==="TEXTAREA"},qf=function(he){return he.tagName==="SELECT"},gf=function(he){return he.tagName==="SLOT"},fp=function(he){return he.tagName.indexOf("-")>0},sg=function(){function he(){this.counters={}}return he.prototype.getCounterValue=function(Ae){var ye=this.counters[Ae];return ye&&ye.length?ye[ye.length-1]:1},he.prototype.getCounterValues=function(Ae){var ye=this.counters[Ae];return ye||[]},he.prototype.pop=function(Ae){var ye=this;Ae.forEach(function(ve){return ye.counters[ve].pop()})},he.prototype.parse=function(Ae){var ye=this,ve=Ae.counterIncrement,Ke=Ae.counterReset,ct=!0;ve!==null&&ve.forEach(function(gn){var mn=ye.counters[gn.counter];mn&&gn.increment!==0&&(ct=!1,mn.length||mn.push(1),mn[Math.max(0,mn.length-1)]+=gn.increment)});var Rt=[];return ct&&Ke.forEach(function(gn){var mn=ye.counters[gn.counter];Rt.push(gn.counter),mn||(mn=ye.counters[gn.counter]=[]),mn.push(gn.reset)}),Rt},he}(),zh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},$f={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},lg={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},tl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},_d=function(he,Ae,ye,ve,Ke,ct){return heye?ae(he,Ke,ct.length>0):ve.integers.reduce(function(Rt,gn,mn){for(;he>=gn;)he-=gn,Rt+=ve.values[mn];return Rt},"")+ct},Hg=function(he,Ae,ye,ve){var Ke="";do ye||he--,Ke=ve(he)+Ke,he/=Ae;while(he*Ae>=Ae);return Ke},vl=function(he,Ae,ye,ve,Ke){var ct=ye-Ae+1;return(he<0?"-":"")+(Hg(Math.abs(he),ct,ve,function(Rt){return _e(Math.floor(Rt%ct)+Ae)})+Ke)},Td=function(he,Ae,ye){ye===void 0&&(ye=". ");var ve=Ae.length;return Hg(Math.abs(he),ve,!1,function(Ke){return Ae[Math.floor(Ke%ve)]})+ye},UA=1,ad=2,ws=4,yA=8,Cu=function(he,Ae,ye,ve,Ke,ct){if(he<-9999||he>9999)return ae(he,4,Ke.length>0);var Rt=Math.abs(he),gn=Ke;if(Rt===0)return Ae[0]+gn;for(var mn=0;Rt>0&&mn<=4;mn++){var fr=Rt%10;fr===0&&Rl(ct,UA)&&gn!==""?gn=Ae[fr]+gn:fr>1||fr===1&&mn===0||fr===1&&mn===1&&Rl(ct,ad)||fr===1&&mn===1&&Rl(ct,ws)&&he>100||fr===1&&mn>1&&Rl(ct,yA)?gn=Ae[fr]+(mn>0?ye[mn-1]:"")+gn:fr===1&&mn>0&&(gn=ye[mn-1]+gn),Rt=Math.floor(Rt/10)}return(he<0?ve:"")+gn},RA="\u5341\u767E\u5343\u842C",nA="\u62FE\u4F70\u4EDF\u842C",x="\u30DE\u30A4\u30CA\u30B9",ee="\uB9C8\uC774\uB108\uC2A4",ae=function(he,Ae,ye){var ve=ye?". ":"",Ke=ye?"\u3001":"",ct=ye?", ":"",Rt=ye?" ":"";switch(Ae){case 0:return"\u2022"+Rt;case 1:return"\u25E6"+Rt;case 2:return"\u25FE"+Rt;case 5:var gn=vl(he,48,57,!0,ve);return gn.length<4?"0"+gn:gn;case 4:return Td(he,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Ke);case 6:return _d(he,1,3999,zh,3,ve).toLowerCase();case 7:return _d(he,1,3999,zh,3,ve);case 8:return vl(he,945,969,!1,ve);case 9:return vl(he,97,122,!1,ve);case 10:return vl(he,65,90,!1,ve);case 11:return vl(he,1632,1641,!0,ve);case 12:case 49:return _d(he,1,9999,$f,3,ve);case 35:return _d(he,1,9999,$f,3,ve).toLowerCase();case 13:return vl(he,2534,2543,!0,ve);case 14:case 30:return vl(he,6112,6121,!0,ve);case 15:return Td(he,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Ke);case 16:return Td(he,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Ke);case 17:case 48:return Cu(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",RA,"\u8CA0",Ke,ad|ws|yA);case 47:return Cu(he,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",nA,"\u8CA0",Ke,UA|ad|ws|yA);case 42:return Cu(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",RA,"\u8D1F",Ke,ad|ws|yA);case 41:return Cu(he,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",nA,"\u8D1F",Ke,UA|ad|ws|yA);case 26:return Cu(he,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",x,Ke,0);case 25:return Cu(he,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",x,Ke,UA|ad|ws);case 31:return Cu(he,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ee,ct,UA|ad|ws);case 33:return Cu(he,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ee,ct,0);case 32:return Cu(he,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ee,ct,UA|ad|ws);case 18:return vl(he,2406,2415,!0,ve);case 20:return _d(he,1,19999,tl,3,ve);case 21:return vl(he,2790,2799,!0,ve);case 22:return vl(he,2662,2671,!0,ve);case 22:return _d(he,1,10999,lg,3,ve);case 23:return Td(he,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Td(he,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return vl(he,3302,3311,!0,ve);case 28:return Td(he,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",Ke);case 29:return Td(he,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",Ke);case 34:return vl(he,3792,3801,!0,ve);case 37:return vl(he,6160,6169,!0,ve);case 38:return vl(he,4160,4169,!0,ve);case 39:return vl(he,2918,2927,!0,ve);case 40:return vl(he,1776,1785,!0,ve);case 43:return vl(he,3046,3055,!0,ve);case 44:return vl(he,3174,3183,!0,ve);case 45:return vl(he,3664,3673,!0,ve);case 46:return vl(he,3872,3881,!0,ve);case 3:default:return vl(he,48,57,!0,ve)}},ie="data-html2canvas-ignore",le=function(){function he(Ae,ye,ve){if(this.context=Ae,this.options=ve,this.scrolledElements=[],this.referenceElement=ye,this.counters=new sg,this.quoteDepth=0,!ye.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ye.ownerDocument.documentElement,!1)}return he.prototype.toIFrame=function(Ae,ye){var ve=this,Ke=He(Ae,ye);if(!Ke.contentWindow)return Promise.reject("Unable to find iframe window");var ct=Ae.defaultView.pageXOffset,Rt=Ae.defaultView.pageYOffset,gn=Ke.contentWindow,mn=gn.document,fr=wt(Ke).then(function(){return Lt(ve,void 0,void 0,function(){var wr,Mr;return ut(this,function(gi){switch(gi.label){case 0:return this.scrolledElements.forEach(ri),gn&&(gn.scrollTo(ye.left,ye.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(gn.scrollY!==ye.top||gn.scrollX!==ye.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(gn.scrollX-ye.left,gn.scrollY-ye.top,0,0))),wr=this.options.onclone,Mr=this.clonedReferenceElement,typeof Mr=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:mn.fonts&&mn.fonts.ready?[4,mn.fonts.ready]:[3,2];case 1:gi.sent(),gi.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,at(mn)]:[3,4];case 3:gi.sent(),gi.label=4;case 4:return typeof wr=="function"?[2,Promise.resolve().then(function(){return wr(mn,Mr)}).then(function(){return Ke})]:[2,Ke]}})})});return mn.open(),mn.write(xr(document.doctype)+""),gr(this.referenceElement.ownerDocument,ct,Rt),mn.replaceChild(mn.adoptNode(this.documentElement),mn.documentElement),mn.close(),fr},he.prototype.createElementClone=function(Ae){if(XA(Ae,2))debugger;if(og(Ae))return this.createCanvasClone(Ae);if(T0(Ae))return this.createVideoClone(Ae);if(id(Ae))return this.createStyleClone(Ae);var ye=Ae.cloneNode(!1);return _u(ye)&&(_u(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(ye.src=Ae.currentSrc,ye.srcset=""),ye.loading==="lazy"&&(ye.loading="eager")),fp(ye)?this.createCustomElementClone(ye):ye},he.prototype.createCustomElementClone=function(Ae){var ye=document.createElement("html2canvascustomelement");return Dn(Ae.style,ye),ye},he.prototype.createStyleClone=function(Ae){try{var ye=Ae.sheet;if(ye&&ye.cssRules){var ve=[].slice.call(ye.cssRules,0).reduce(function(ct,Rt){return Rt&&typeof Rt.cssText=="string"?ct+Rt.cssText:ct},""),Ke=Ae.cloneNode(!1);return Ke.textContent=ve,Ke}}catch(ct){if(this.context.logger.error("Unable to access cssRules property",ct),ct.name!=="SecurityError")throw ct}return Ae.cloneNode(!1)},he.prototype.createCanvasClone=function(Ae){var ye;if(this.options.inlineImages&&Ae.ownerDocument){var ve=Ae.ownerDocument.createElement("img");try{return ve.src=Ae.toDataURL(),ve}catch(fr){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var Ke=Ae.cloneNode(!1);try{Ke.width=Ae.width,Ke.height=Ae.height;var ct=Ae.getContext("2d"),Rt=Ke.getContext("2d");if(Rt)if(!this.options.allowTaint&&ct)Rt.putImageData(ct.getImageData(0,0,Ae.width,Ae.height),0,0);else{var gn=(ye=Ae.getContext("webgl2"))!==null&&ye!==void 0?ye:Ae.getContext("webgl");if(gn){var mn=gn.getContextAttributes();(mn==null?void 0:mn.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}Rt.drawImage(Ae,0,0)}return Ke}catch(fr){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return Ke},he.prototype.createVideoClone=function(Ae){var ye=Ae.ownerDocument.createElement("canvas");ye.width=Ae.offsetWidth,ye.height=Ae.offsetHeight;var ve=ye.getContext("2d");try{return ve&&(ve.drawImage(Ae,0,0,ye.width,ye.height),this.options.allowTaint||ve.getImageData(0,0,ye.width,ye.height)),ye}catch(ct){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var Ke=Ae.ownerDocument.createElement("canvas");return Ke.width=Ae.offsetWidth,Ke.height=Ae.offsetHeight,Ke},he.prototype.appendChildNode=function(Ae,ye,ve){(!hf(ye)||!Kh(ye)&&!ye.hasAttribute(ie)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(ye)))&&(!this.options.copyStyles||!hf(ye)||!id(ye))&&Ae.appendChild(this.cloneNode(ye,ve))},he.prototype.cloneChildNodes=function(Ae,ye,ve){for(var Ke=this,ct=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;ct;ct=ct.nextSibling)if(hf(ct)&&gf(ct)&&typeof ct.assignedNodes=="function"){var Rt=ct.assignedNodes();Rt.length&&Rt.forEach(function(gn){return Ke.appendChildNode(ye,gn,ve)})}else this.appendChildNode(ye,ct,ve)},he.prototype.cloneNode=function(Ae,ye){if(rd(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var ve=Ae.ownerDocument.defaultView;if(ve&&hf(Ae)&&(jh(Ae)||vA(Ae))){var Ke=this.createElementClone(Ae);Ke.style.transitionProperty="none";var ct=ve.getComputedStyle(Ae),Rt=ve.getComputedStyle(Ae,":before"),gn=ve.getComputedStyle(Ae,":after");this.referenceElement===Ae&&jh(Ke)&&(this.clonedReferenceElement=Ke),Mo(Ke)&&ja(Ke);var mn=this.counters.parse(new y0(this.context,ct)),fr=this.resolvePseudoContent(Ae,Ke,Rt,Be.BEFORE);fp(Ae)&&(ye=!0),T0(Ae)||this.cloneChildNodes(Ae,Ke,ye),fr&&Ke.insertBefore(fr,Ke.firstChild);var wr=this.resolvePseudoContent(Ae,Ke,gn,Be.AFTER);return wr&&Ke.appendChild(wr),this.counters.pop(mn),(ct&&(this.options.copyStyles||vA(Ae))&&!tA(Ae)||ye)&&Dn(ct,Ke),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([Ke,Ae.scrollLeft,Ae.scrollTop]),(pf(Ae)||qf(Ae))&&(pf(Ke)||qf(Ke))&&(Ke.value=Ae.value),Ke}return Ae.cloneNode(!1)},he.prototype.resolvePseudoContent=function(Ae,ye,ve,Ke){var ct=this;if(ve){var Rt=ve.content,gn=ye.ownerDocument;if(!(!gn||!Rt||Rt==="none"||Rt==="-moz-alt-content"||ve.display==="none")){this.counters.parse(new y0(this.context,ve));var mn=new _h(this.context,ve),fr=gn.createElement("html2canvaspseudoelement");Dn(ve,fr),mn.content.forEach(function(Mr){if(Mr.type===0)fr.appendChild(gn.createTextNode(Mr.value));else if(Mr.type===22){var gi=gn.createElement("img");gi.src=Mr.value,gi.style.opacity="1",fr.appendChild(gi)}else if(Mr.type===18){if(Mr.name==="attr"){var $a=Mr.values.filter(Ya);$a.length&&fr.appendChild(gn.createTextNode(Ae.getAttribute($a[0].value)||""))}else if(Mr.name==="counter"){var sa=Mr.values.filter(Nc),Ra=sa[0],Jo=sa[1];if(Ra&&Ya(Ra)){var ro=ct.counters.getCounterValue(Ra.value),no=Jo&&Ya(Jo)?GA.parse(ct.context,Jo.value):3;fr.appendChild(gn.createTextNode(ae(ro,no,!1)))}}else if(Mr.name==="counters"){var Wo=Mr.values.filter(Nc),Ra=Wo[0],ls=Wo[1],Jo=Wo[2];if(Ra&&Ya(Ra)){var Po=ct.counters.getCounterValues(Ra.value),Xa=Jo&&Ya(Jo)?GA.parse(ct.context,Jo.value):3,Cs=ls&&ls.type===0?ls.value:"",rs=Po.map(function(eu){return ae(eu,Xa,!1)}).join(Cs);fr.appendChild(gn.createTextNode(rs))}}}else if(Mr.type===20)switch(Mr.value){case"open-quote":fr.appendChild(gn.createTextNode(Ih(mn.quotes,ct.quoteDepth++,!0)));break;case"close-quote":fr.appendChild(gn.createTextNode(Ih(mn.quotes,--ct.quoteDepth,!1)));break;default:fr.appendChild(gn.createTextNode(Mr.value))}}),fr.className=Ea+" "+Pa;var wr=Ke===Be.BEFORE?" "+Ea:" "+Pa;return vA(ye)?ye.className.baseValue+=wr:ye.className+=wr,fr}}},he.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},he}(),Be;(function(he){he[he.BEFORE=0]="BEFORE",he[he.AFTER=1]="AFTER"})(Be||(Be={}));var He=function(he,Ae){var ye=he.createElement("iframe");return ye.className="html2canvas-container",ye.style.visibility="hidden",ye.style.position="fixed",ye.style.left="-10000px",ye.style.top="0px",ye.style.border="0",ye.width=Ae.width.toString(),ye.height=Ae.height.toString(),ye.scrolling="no",ye.setAttribute(ie,"true"),he.body.appendChild(ye),ye},Je=function(he){return new Promise(function(Ae){if(he.complete){Ae();return}if(!he.src){Ae();return}he.onload=Ae,he.onerror=Ae})},at=function(he){return Promise.all([].slice.call(he.images,0).map(Je))},wt=function(he){return new Promise(function(Ae,ye){var ve=he.contentWindow;if(!ve)return ye("No window assigned for iframe");var Ke=ve.document;ve.onload=he.onload=function(){ve.onload=he.onload=null;var ct=setInterval(function(){Ke.body.childNodes.length>0&&Ke.readyState==="complete"&&(clearInterval(ct),Ae(he))},50)}})},wn=["all","d","content"],Dn=function(he,Ae){for(var ye=he.length-1;ye>=0;ye--){var ve=he.item(ye);wn.indexOf(ve)===-1&&Ae.style.setProperty(ve,he.getPropertyValue(ve))}return Ae},xr=function(he){var Ae="";return he&&(Ae+=""),Ae},gr=function(he,Ae,ye){he&&he.defaultView&&(Ae!==he.defaultView.pageXOffset||ye!==he.defaultView.pageYOffset)&&he.defaultView.scrollTo(Ae,ye)},ri=function(he){var Ae=he[0],ye=he[1],ve=he[2];Ae.scrollLeft=ye,Ae.scrollTop=ve},Li=":before",ra=":after",Ea="___html2canvas___pseudoelement_before",Pa="___html2canvas___pseudoelement_after",ya=`{ content: "" !important; display: none !important; }`,ja=function(he){io(he,"."+Ea+Li+ya+` .`+Pa+ra+ya)},io=function(he,Ae){var ye=he.ownerDocument;if(ye){var ve=ye.createElement("style");ve.textContent=Ae,he.appendChild(ve)}},lo=function(){function he(){}return he.getOrigin=function(Ae){var ye=he._link;return ye?(ye.href=Ae,ye.href=ye.href,ye.protocol+ye.hostname+ye.port):"about:blank"},he.isSameOrigin=function(Ae){return he.getOrigin(Ae)===he._origin},he.setContext=function(Ae){he._link=Ae.document.createElement("a"),he._origin=he.getOrigin(Ae.location.href)},he._origin="about:blank",he}(),wo=function(){function he(Ae,ye){this.context=Ae,this._options=ye,this._cache={}}return he.prototype.addImage=function(Ae){var ye=Promise.resolve();return this.has(Ae)||(Hc(Ae)||Dc(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),ye},he.prototype.match=function(Ae){return this._cache[Ae]},he.prototype.loadImage=function(Ae){return Lt(this,void 0,void 0,function(){var ye,ve,Ke,ct,Rt=this;return ut(this,function(gn){switch(gn.label){case 0:return ye=lo.isSameOrigin(Ae),ve=!Cc(Ae)&&this._options.useCORS===!0&&Ys.SUPPORT_CORS_IMAGES&&!ye,Ke=!Cc(Ae)&&!ye&&!Hc(Ae)&&typeof this._options.proxy=="string"&&Ys.SUPPORT_CORS_XHR&&!ve,!ye&&this._options.allowTaint===!1&&!Cc(Ae)&&!Hc(Ae)&&!Ke&&!ve?[2]:(ct=Ae,Ke?[4,this.proxy(ct)]:[3,2]);case 1:ct=gn.sent(),gn.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(mn,fr){var wr=new Image;wr.onload=function(){return mn(wr)},wr.onerror=fr,(ac(ct)||ve)&&(wr.crossOrigin="anonymous"),wr.src=ct,wr.complete===!0&&setTimeout(function(){return mn(wr)},500),Rt._options.imageTimeout>0&&setTimeout(function(){return fr("Timed out ("+Rt._options.imageTimeout+"ms) loading image")},Rt._options.imageTimeout)})];case 3:return[2,gn.sent()]}})})},he.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},he.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},he.prototype.proxy=function(Ae){var ye=this,ve=this._options.proxy;if(!ve)throw new Error("No proxy defined");var Ke=Ae.substring(0,256);return new Promise(function(ct,Rt){var gn=Ys.SUPPORT_RESPONSE_TYPE?"blob":"text",mn=new XMLHttpRequest;mn.onload=function(){if(mn.status===200)if(gn==="text")ct(mn.response);else{var Mr=new FileReader;Mr.addEventListener("load",function(){return ct(Mr.result)},!1),Mr.addEventListener("error",function(gi){return Rt(gi)},!1),Mr.readAsDataURL(mn.response)}else Rt("Failed to proxy resource "+Ke+" with status code "+mn.status)},mn.onerror=Rt;var fr=ve.indexOf("?")>-1?"&":"?";if(mn.open("GET",""+ve+fr+"url="+encodeURIComponent(Ae)+"&responseType="+gn),gn!=="text"&&mn instanceof XMLHttpRequest&&(mn.responseType=gn),ye._options.imageTimeout){var wr=ye._options.imageTimeout;mn.timeout=wr,mn.ontimeout=function(){return Rt("Timed out ("+wr+"ms) proxying "+Ke)}}mn.send()})},he}(),nl=/^data:image\/svg\+xml/i,hc=/^data:image\/.*;base64,/i,Bl=/^data:image\/.*/i,Dc=function(he){return Ys.SUPPORT_SVG_DRAWING||!Uo(he)},Cc=function(he){return Bl.test(he)},ac=function(he){return hc.test(he)},Hc=function(he){return he.substr(0,4)==="blob"},Uo=function(he){return he.substr(-3).toLowerCase()==="svg"||nl.test(he)},da=function(){function he(Ae,ye){this.type=0,this.x=Ae,this.y=ye}return he.prototype.add=function(Ae,ye){return new he(this.x+Ae,this.y+ye)},he}(),ll=function(he,Ae,ye){return new da(he.x+(Ae.x-he.x)*ye,he.y+(Ae.y-he.y)*ye)},Sl=function(){function he(Ae,ye,ve,Ke){this.type=1,this.start=Ae,this.startControl=ye,this.endControl=ve,this.end=Ke}return he.prototype.subdivide=function(Ae,ye){var ve=ll(this.start,this.startControl,Ae),Ke=ll(this.startControl,this.endControl,Ae),ct=ll(this.endControl,this.end,Ae),Rt=ll(ve,Ke,Ae),gn=ll(Ke,ct,Ae),mn=ll(Rt,gn,Ae);return ye?new he(this.start,ve,Rt,mn):new he(mn,gn,ct,this.end)},he.prototype.add=function(Ae,ye){return new he(this.start.add(Ae,ye),this.startControl.add(Ae,ye),this.endControl.add(Ae,ye),this.end.add(Ae,ye))},he.prototype.reverse=function(){return new he(this.end,this.endControl,this.startControl,this.start)},he}(),Xs=function(he){return he.type===1},mf=function(){function he(Ae){var ye=Ae.styles,ve=Ae.bounds,Ke=ml(ye.borderTopLeftRadius,ve.width,ve.height),ct=Ke[0],Rt=Ke[1],gn=ml(ye.borderTopRightRadius,ve.width,ve.height),mn=gn[0],fr=gn[1],wr=ml(ye.borderBottomRightRadius,ve.width,ve.height),Mr=wr[0],gi=wr[1],$a=ml(ye.borderBottomLeftRadius,ve.width,ve.height),sa=$a[0],Ra=$a[1],Jo=[];Jo.push((ct+mn)/ve.width),Jo.push((sa+Mr)/ve.width),Jo.push((Rt+Ra)/ve.height),Jo.push((fr+gi)/ve.height);var ro=Math.max.apply(Math,Jo);ro>1&&(ct/=ro,Rt/=ro,mn/=ro,fr/=ro,Mr/=ro,gi/=ro,sa/=ro,Ra/=ro);var no=ve.width-mn,Wo=ve.height-gi,ls=ve.width-Mr,Po=ve.height-Ra,Xa=ye.borderTopWidth,Cs=ye.borderRightWidth,rs=ye.borderBottomWidth,Vo=ye.borderLeftWidth,La=vo(ye.paddingTop,Ae.bounds.width),eu=vo(ye.paddingRight,Ae.bounds.width),Nu=vo(ye.paddingBottom,Ae.bounds.width),ms=vo(ye.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=ct>0||Rt>0?ss(ve.left+Vo/3,ve.top+Xa/3,ct-Vo/3,Rt-Xa/3,is.TOP_LEFT):new da(ve.left+Vo/3,ve.top+Xa/3),this.topRightBorderDoubleOuterBox=ct>0||Rt>0?ss(ve.left+no,ve.top+Xa/3,mn-Cs/3,fr-Xa/3,is.TOP_RIGHT):new da(ve.left+ve.width-Cs/3,ve.top+Xa/3),this.bottomRightBorderDoubleOuterBox=Mr>0||gi>0?ss(ve.left+ls,ve.top+Wo,Mr-Cs/3,gi-rs/3,is.BOTTOM_RIGHT):new da(ve.left+ve.width-Cs/3,ve.top+ve.height-rs/3),this.bottomLeftBorderDoubleOuterBox=sa>0||Ra>0?ss(ve.left+Vo/3,ve.top+Po,sa-Vo/3,Ra-rs/3,is.BOTTOM_LEFT):new da(ve.left+Vo/3,ve.top+ve.height-rs/3),this.topLeftBorderDoubleInnerBox=ct>0||Rt>0?ss(ve.left+Vo*2/3,ve.top+Xa*2/3,ct-Vo*2/3,Rt-Xa*2/3,is.TOP_LEFT):new da(ve.left+Vo*2/3,ve.top+Xa*2/3),this.topRightBorderDoubleInnerBox=ct>0||Rt>0?ss(ve.left+no,ve.top+Xa*2/3,mn-Cs*2/3,fr-Xa*2/3,is.TOP_RIGHT):new da(ve.left+ve.width-Cs*2/3,ve.top+Xa*2/3),this.bottomRightBorderDoubleInnerBox=Mr>0||gi>0?ss(ve.left+ls,ve.top+Wo,Mr-Cs*2/3,gi-rs*2/3,is.BOTTOM_RIGHT):new da(ve.left+ve.width-Cs*2/3,ve.top+ve.height-rs*2/3),this.bottomLeftBorderDoubleInnerBox=sa>0||Ra>0?ss(ve.left+Vo*2/3,ve.top+Po,sa-Vo*2/3,Ra-rs*2/3,is.BOTTOM_LEFT):new da(ve.left+Vo*2/3,ve.top+ve.height-rs*2/3),this.topLeftBorderStroke=ct>0||Rt>0?ss(ve.left+Vo/2,ve.top+Xa/2,ct-Vo/2,Rt-Xa/2,is.TOP_LEFT):new da(ve.left+Vo/2,ve.top+Xa/2),this.topRightBorderStroke=ct>0||Rt>0?ss(ve.left+no,ve.top+Xa/2,mn-Cs/2,fr-Xa/2,is.TOP_RIGHT):new da(ve.left+ve.width-Cs/2,ve.top+Xa/2),this.bottomRightBorderStroke=Mr>0||gi>0?ss(ve.left+ls,ve.top+Wo,Mr-Cs/2,gi-rs/2,is.BOTTOM_RIGHT):new da(ve.left+ve.width-Cs/2,ve.top+ve.height-rs/2),this.bottomLeftBorderStroke=sa>0||Ra>0?ss(ve.left+Vo/2,ve.top+Po,sa-Vo/2,Ra-rs/2,is.BOTTOM_LEFT):new da(ve.left+Vo/2,ve.top+ve.height-rs/2),this.topLeftBorderBox=ct>0||Rt>0?ss(ve.left,ve.top,ct,Rt,is.TOP_LEFT):new da(ve.left,ve.top),this.topRightBorderBox=mn>0||fr>0?ss(ve.left+no,ve.top,mn,fr,is.TOP_RIGHT):new da(ve.left+ve.width,ve.top),this.bottomRightBorderBox=Mr>0||gi>0?ss(ve.left+ls,ve.top+Wo,Mr,gi,is.BOTTOM_RIGHT):new da(ve.left+ve.width,ve.top+ve.height),this.bottomLeftBorderBox=sa>0||Ra>0?ss(ve.left,ve.top+Po,sa,Ra,is.BOTTOM_LEFT):new da(ve.left,ve.top+ve.height),this.topLeftPaddingBox=ct>0||Rt>0?ss(ve.left+Vo,ve.top+Xa,Math.max(0,ct-Vo),Math.max(0,Rt-Xa),is.TOP_LEFT):new da(ve.left+Vo,ve.top+Xa),this.topRightPaddingBox=mn>0||fr>0?ss(ve.left+Math.min(no,ve.width-Cs),ve.top+Xa,no>ve.width+Cs?0:Math.max(0,mn-Cs),Math.max(0,fr-Xa),is.TOP_RIGHT):new da(ve.left+ve.width-Cs,ve.top+Xa),this.bottomRightPaddingBox=Mr>0||gi>0?ss(ve.left+Math.min(ls,ve.width-Vo),ve.top+Math.min(Wo,ve.height-rs),Math.max(0,Mr-Cs),Math.max(0,gi-rs),is.BOTTOM_RIGHT):new da(ve.left+ve.width-Cs,ve.top+ve.height-rs),this.bottomLeftPaddingBox=sa>0||Ra>0?ss(ve.left+Vo,ve.top+Math.min(Po,ve.height-rs),Math.max(0,sa-Vo),Math.max(0,Ra-rs),is.BOTTOM_LEFT):new da(ve.left+Vo,ve.top+ve.height-rs),this.topLeftContentBox=ct>0||Rt>0?ss(ve.left+Vo+ms,ve.top+Xa+La,Math.max(0,ct-(Vo+ms)),Math.max(0,Rt-(Xa+La)),is.TOP_LEFT):new da(ve.left+Vo+ms,ve.top+Xa+La),this.topRightContentBox=mn>0||fr>0?ss(ve.left+Math.min(no,ve.width+Vo+ms),ve.top+Xa+La,no>ve.width+Vo+ms?0:mn-Vo+ms,fr-(Xa+La),is.TOP_RIGHT):new da(ve.left+ve.width-(Cs+eu),ve.top+Xa+La),this.bottomRightContentBox=Mr>0||gi>0?ss(ve.left+Math.min(ls,ve.width-(Vo+ms)),ve.top+Math.min(Wo,ve.height+Xa+La),Math.max(0,Mr-(Cs+eu)),gi-(rs+Nu),is.BOTTOM_RIGHT):new da(ve.left+ve.width-(Cs+eu),ve.top+ve.height-(rs+Nu)),this.bottomLeftContentBox=sa>0||Ra>0?ss(ve.left+Vo+ms,ve.top+Po,Math.max(0,sa-(Vo+ms)),Ra-(rs+Nu),is.BOTTOM_LEFT):new da(ve.left+Vo+ms,ve.top+ve.height-(rs+Nu))}return he}(),is;(function(he){he[he.TOP_LEFT=0]="TOP_LEFT",he[he.TOP_RIGHT=1]="TOP_RIGHT",he[he.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",he[he.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(is||(is={}));var ss=function(he,Ae,ye,ve,Ke){var ct=4*((Math.sqrt(2)-1)/3),Rt=ye*ct,gn=ve*ct,mn=he+ye,fr=Ae+ve;switch(Ke){case is.TOP_LEFT:return new Sl(new da(he,fr),new da(he,fr-gn),new da(mn-Rt,Ae),new da(mn,Ae));case is.TOP_RIGHT:return new Sl(new da(he,Ae),new da(he+Rt,Ae),new da(mn,fr-gn),new da(mn,fr));case is.BOTTOM_RIGHT:return new Sl(new da(mn,Ae),new da(mn,Ae+gn),new da(he+Rt,fr),new da(he,fr));case is.BOTTOM_LEFT:default:return new Sl(new da(mn,fr),new da(mn-Rt,fr),new da(he,Ae+gn),new da(he,Ae))}},xs=function(he){return[he.topLeftBorderBox,he.topRightBorderBox,he.bottomRightBorderBox,he.bottomLeftBorderBox]},Bc=function(he){return[he.topLeftContentBox,he.topRightContentBox,he.bottomRightContentBox,he.bottomLeftContentBox]},eh=function(he){return[he.topLeftPaddingBox,he.topRightPaddingBox,he.bottomRightPaddingBox,he.bottomLeftPaddingBox]},xo=function(){function he(Ae,ye,ve){this.offsetX=Ae,this.offsetY=ye,this.matrix=ve,this.type=0,this.target=6}return he}(),Tu=function(){function he(Ae,ye){this.path=Ae,this.target=ye,this.type=1}return he}(),ks=function(){function he(Ae){this.opacity=Ae,this.type=2,this.target=6}return he}(),Ql=function(he){return he.type===0},od=function(he){return he.type===1},oc=function(he){return he.type===2},vf=function(he,Ae){return he.length===Ae.length?he.some(function(ye,ve){return ye===Ae[ve]}):!1},jg=function(he,Ae,ye,ve,Ke){return he.map(function(ct,Rt){switch(Rt){case 0:return ct.add(Ae,ye);case 1:return ct.add(Ae+ve,ye);case 2:return ct.add(Ae+ve,ye+Ke);case 3:return ct.add(Ae,ye+Ke)}return ct})},Di=function(){function he(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return he}(),yl=function(){function he(Ae,ye){if(this.container=Ae,this.parent=ye,this.effects=[],this.curves=new mf(this.container),this.container.styles.opacity<1&&this.effects.push(new ks(this.container.styles.opacity)),this.container.styles.transform!==null){var ve=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Ke=this.container.bounds.top+this.container.styles.transformOrigin[1].number,ct=this.container.styles.transform;this.effects.push(new xo(ve,Ke,ct))}if(this.container.styles.overflowX!==0){var Rt=xs(this.curves),gn=eh(this.curves);vf(Rt,gn)?this.effects.push(new Tu(Rt,6)):(this.effects.push(new Tu(Rt,2)),this.effects.push(new Tu(gn,4)))}}return he.prototype.getEffects=function(Ae){for(var ye=[2,3].indexOf(this.container.styles.position)===-1,ve=this.parent,Ke=this.effects.slice(0);ve;){var ct=ve.effects.filter(function(mn){return!od(mn)});if(ye||ve.container.styles.position!==0||!ve.parent){if(Ke.unshift.apply(Ke,ct),ye=[2,3].indexOf(ve.container.styles.position)===-1,ve.container.styles.overflowX!==0){var Rt=xs(ve.curves),gn=eh(ve.curves);vf(Rt,gn)||Ke.unshift(new Tu(gn,6))}}else Ke.unshift.apply(Ke,ct);ve=ve.parent}return Ke.filter(function(mn){return Rl(mn.target,Ae)})},he}(),cg=function(he,Ae,ye,ve){he.container.elements.forEach(function(Ke){var ct=Rl(Ke.flags,4),Rt=Rl(Ke.flags,2),gn=new yl(Ke,he);Rl(Ke.styles.display,2048)&&ve.push(gn);var mn=Rl(Ke.flags,8)?[]:ve;if(ct||Rt){var fr=ct||Ke.styles.isPositioned()?ye:Ae,wr=new Di(gn);if(Ke.styles.isPositioned()||Ke.styles.opacity<1||Ke.styles.isTransformed()){var Mr=Ke.styles.zIndex.order;if(Mr<0){var gi=0;fr.negativeZIndex.some(function(sa,Ra){return Mr>sa.element.container.styles.zIndex.order?(gi=Ra,!1):gi>0}),fr.negativeZIndex.splice(gi,0,wr)}else if(Mr>0){var $a=0;fr.positiveZIndex.some(function(sa,Ra){return Mr>=sa.element.container.styles.zIndex.order?($a=Ra+1,!1):$a>0}),fr.positiveZIndex.splice($a,0,wr)}else fr.zeroOrAutoZIndexOrTransformedOrOpacity.push(wr)}else Ke.styles.isFloating()?fr.nonPositionedFloats.push(wr):fr.nonPositionedInlineLevel.push(wr);cg(gn,wr,ct?wr:ye,mn)}else Ke.styles.isInlineLevel()?Ae.inlineLevel.push(gn):Ae.nonInlineLevel.push(gn),cg(gn,Ae,ye,mn);Rl(Ke.flags,8)&&ug(Ke,mn)})},ug=function(he,Ae){for(var ye=he instanceof df?he.start:1,ve=he instanceof df?he.reversed:!1,Ke=0;Ke0&&ye.intrinsicHeight>0){var ct=pc(ye),Rt=eh(ve);this.path(Rt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Ke,0,0,ye.intrinsicWidth,ye.intrinsicHeight,ct.left,ct.top,ct.width,ct.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(ye){return Lt(this,void 0,void 0,function(){var ve,Ke,ct,Rt,gn,mn,no,no,fr,wr,Mr,gi,ls,$a,sa,Po,Ra,Jo,ro,no,Wo,ls,Po;return ut(this,function(Xa){switch(Xa.label){case 0:this.applyEffects(ye.getEffects(4)),ve=ye.container,Ke=ye.curves,ct=ve.styles,Rt=0,gn=ve.textNodes,Xa.label=1;case 1:return Rt0&&tu>0&&(rs=ct.ctx.createPattern(Po,"repeat"),ct.renderRepeat(La,rs,Su,Uu))):Y0(wr)&&(Vo=Bu(ye,ve,[null,null,null]),La=Vo[0],eu=Vo[1],Nu=Vo[2],ms=Vo[3],tu=Vo[4],bf=wr.position.length===0?[su]:wr.position,Su=vo(bf[0],ms),Uu=vo(bf[bf.length-1],tu),ld=Es(wr,Su,Uu,ms,tu),HA=ld[0],cd=ld[1],HA>0&&cd>0&&(Pd=ct.ctx.createRadialGradient(eu+Su,Nu+Uu,0,eu+Su,Nu+Uu,HA),Ch(wr.stops,HA*2).forEach(function(fu){return Pd.addColorStop(fu.stop,Ds(fu.color))}),ct.path(La),ct.ctx.fillStyle=Pd,HA!==cd?(iA=ye.bounds.left+.5*ye.bounds.width,Nd=ye.bounds.top+.5*ye.bounds.height,ih=cd/HA,jA=1/ih,ct.ctx.save(),ct.ctx.translate(iA,Nd),ct.ctx.transform(1,0,0,ih,0,0),ct.ctx.translate(-iA,-Nd),ct.ctx.fillRect(eu,jA*(Nu-Nd)+Nd,ms,tu*jA),ct.ctx.restore()):ct.ctx.fill())),wf.label=6;case 6:return ve--,[2]}})},ct=this,Rt=0,gn=ye.styles.backgroundImage.slice(0).reverse(),fr.label=1;case 1:return Rt0?wr.style!==2?[3,5]:[4,this.renderDashedDottedBorder(wr.color,wr.width,gn,ye.curves,2)]:[3,11]):[3,13];case 4:return gi.sent(),[3,11];case 5:return wr.style!==3?[3,7]:[4,this.renderDashedDottedBorder(wr.color,wr.width,gn,ye.curves,3)];case 6:return gi.sent(),[3,11];case 7:return wr.style!==4?[3,9]:[4,this.renderDoubleBorder(wr.color,wr.width,gn,ye.curves)];case 8:return gi.sent(),[3,11];case 9:return[4,this.renderSolidBorder(wr.color,gn,ye.curves)];case 10:gi.sent(),gi.label=11;case 11:gn++,gi.label=12;case 12:return mn++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(ye,ve,Ke,ct,Rt){return Lt(this,void 0,void 0,function(){var gn,mn,fr,wr,Mr,gi,$a,sa,Ra,Jo,ro,no,Wo,ls,Po,Xa,Po,Xa;return ut(this,function(Cs){return this.ctx.save(),gn=dm(ct,Ke),mn=$c(ct,Ke),Rt===2&&(this.path(mn),this.ctx.clip()),Xs(mn[0])?(fr=mn[0].start.x,wr=mn[0].start.y):(fr=mn[0].x,wr=mn[0].y),Xs(mn[1])?(Mr=mn[1].end.x,gi=mn[1].end.y):(Mr=mn[1].x,gi=mn[1].y),Ke===0||Ke===2?$a=Math.abs(fr-Mr):$a=Math.abs(wr-gi),this.ctx.beginPath(),Rt===3?this.formatPath(gn):this.formatPath(mn.slice(0,2)),sa=ve<3?ve*3:ve*2,Ra=ve<3?ve*2:ve,Rt===3&&(sa=ve,Ra=ve),Jo=!0,$a<=sa*2?Jo=!1:$a<=sa*2+Ra?(ro=$a/(2*sa+Ra),sa*=ro,Ra*=ro):(no=Math.floor(($a+Ra)/(sa+Ra)),Wo=($a-no*sa)/(no-1),ls=($a-(no+1)*sa)/no,Ra=ls<=0||Math.abs(Ra-Wo)nn){var Ge=Kt;Kt=nn,nn=Ge}}else if(Yt==="l"||Yt==="landscape"){if(Yt="l",nn>Kt){var Ge=Kt;Kt=nn,nn=Ge}}else throw"Invalid orientation: "+Yt;var Fe={width:Kt,height:nn,unit:Tt,k:Vt};return Fe},_e.default=Et.jsPDF},"./src/plugin/pagebreaks.js":function(ke,_e,xe){"use strict";xe.r(_e);var Xe=xe("./node_modules/core-js/modules/es.array.concat.js"),De=xe.n(Xe),Qe=xe("./node_modules/core-js/modules/es.array.slice.js"),ot=xe.n(Qe),qe=xe("./node_modules/core-js/modules/es.array.join.js"),it=xe.n(qe),st=xe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),At=xe.n(st),Qt=xe("./node_modules/core-js/modules/es.object.keys.js"),pt=xe.n(Qt),St=xe("./src/worker.js"),rt=xe("./src/utils.js"),ze={toContainer:St.default.prototype.toContainer};St.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},St.default.prototype.toContainer=function(){return ze.toContainer.call(this).then(function(){var jt=this.prop.container,mt=this.prop.pageSize.inner.px.height,Yt=[].concat(this.opt.pagebreak.mode),Tt={avoidAll:Yt.indexOf("avoid-all")!==-1,css:Yt.indexOf("css")!==-1,legacy:Yt.indexOf("legacy")!==-1},Xt={},bt=this;["before","after","avoid"].forEach(function(Vt){var nn=Tt.avoidAll&&Vt==="avoid";Xt[Vt]=nn?[]:[].concat(bt.opt.pagebreak[Vt]||[]),Xt[Vt].length>0&&(Xt[Vt]=Array.prototype.slice.call(jt.querySelectorAll(Xt[Vt].join(", "))))});var un=jt.querySelectorAll(".html2pdf__page-break");un=Array.prototype.slice.call(un);var Ln=jt.querySelectorAll("*");Array.prototype.forEach.call(Ln,function(nn){var Kt={before:!1,after:Tt.legacy&&un.indexOf(nn)!==-1,avoid:Tt.avoidAll};if(Tt.css){var Ge=window.getComputedStyle(nn),Fe=["always","page","left","right"],ft=["avoid","avoid-page"];Kt={before:Kt.before||Fe.indexOf(Ge.breakBefore||Ge.pageBreakBefore)!==-1,after:Kt.after||Fe.indexOf(Ge.breakAfter||Ge.pageBreakAfter)!==-1,avoid:Kt.avoid||ft.indexOf(Ge.breakInside||Ge.pageBreakInside)!==-1}}Object.keys(Kt).forEach(function(Jn){Kt[Jn]=Kt[Jn]||Xt[Jn].indexOf(nn)!==-1});var sn=nn.getBoundingClientRect();if(Kt.avoid&&!Kt.before){var $t=Math.floor(sn.top/mt),Mt=Math.floor(sn.bottom/mt),_t=Math.abs(sn.bottom-sn.top)/mt;Mt!==$t&&_t<=1&&(Kt.before=!0)}if(Kt.before){var hn=(0,rt.createElement)("div",{style:{display:"block",height:mt-sn.top%mt+"px"}});nn.parentNode.insertBefore(hn,nn)}if(Kt.after){var hn=(0,rt.createElement)("div",{style:{display:"block",height:mt-sn.bottom%mt+"px"}});nn.parentNode.insertBefore(hn,nn.nextSibling)}})})}},"./src/utils.js":function(ke,_e,xe){"use strict";xe.r(_e),xe.d(_e,{objType:function(){return Yt},createElement:function(){return Tt},cloneNode:function(){return Xt},unitConvert:function(){return bt},toPx:function(){return un}});var Xe=xe("./node_modules/core-js/modules/es.number.constructor.js"),De=xe.n(Xe),Qe=xe("./node_modules/core-js/modules/es.symbol.js"),ot=xe.n(Qe),qe=xe("./node_modules/core-js/modules/es.symbol.description.js"),it=xe.n(qe),st=xe("./node_modules/core-js/modules/es.object.to-string.js"),At=xe.n(st),Qt=xe("./node_modules/core-js/modules/es.symbol.iterator.js"),pt=xe.n(Qt),St=xe("./node_modules/core-js/modules/es.array.iterator.js"),rt=xe.n(St),ze=xe("./node_modules/core-js/modules/es.string.iterator.js"),gt=xe.n(ze),Et=xe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),jt=xe.n(Et);function mt(Ln){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?mt=function(nn){return typeof nn}:mt=function(nn){return nn&&typeof Symbol=="function"&&nn.constructor===Symbol&&nn!==Symbol.prototype?"symbol":typeof nn},mt(Ln)}var Yt=function(Vt){var nn=mt(Vt);return nn==="undefined"?"undefined":nn==="string"||Vt instanceof String?"string":nn==="number"||Vt instanceof Number?"number":nn==="function"||Vt instanceof Function?"function":Vt&&Vt.constructor===Array?"array":Vt&&Vt.nodeType===1?"element":nn==="object"?"object":"unknown"},Tt=function(Vt,nn){var Kt=document.createElement(Vt);if(nn.className&&(Kt.className=nn.className),nn.innerHTML){Kt.innerHTML=nn.innerHTML;for(var Ge=Kt.getElementsByTagName("script"),Fe=Ge.length;Fe-- >0;null)Ge[Fe].parentNode.removeChild(Ge[Fe])}for(var ft in nn.style)Kt.style[ft]=nn.style[ft];return Kt},Xt=function Ln(Vt,nn){for(var Kt=Vt.nodeType===3?document.createTextNode(Vt.nodeValue):Vt.cloneNode(!1),Ge=Vt.firstChild;Ge;Ge=Ge.nextSibling)(nn===!0||Ge.nodeType!==1||Ge.nodeName!=="SCRIPT")&&Kt.appendChild(Ln(Ge,nn));return Vt.nodeType===1&&(Vt.nodeName==="CANVAS"?(Kt.width=Vt.width,Kt.height=Vt.height,Kt.getContext("2d").drawImage(Vt,0,0)):(Vt.nodeName==="TEXTAREA"||Vt.nodeName==="SELECT")&&(Kt.value=Vt.value),Kt.addEventListener("load",function(){Kt.scrollTop=Vt.scrollTop,Kt.scrollLeft=Vt.scrollLeft},!0)),Kt},bt=function(Vt,nn){if(Yt(Vt)==="number")return Vt*72/96/nn;var Kt={};for(var Ge in Vt)Kt[Ge]=Vt[Ge]*72/96/nn;return Kt},un=function(Vt,nn){return Math.floor(Vt*nn/72*96)}},"./src/worker.js":function(ke,_e,xe){"use strict";xe.r(_e);var Xe=xe("./node_modules/core-js/modules/es.object.assign.js"),De=xe.n(Xe),Qe=xe("./node_modules/core-js/modules/es.array.map.js"),ot=xe.n(Qe),qe=xe("./node_modules/core-js/modules/es.object.keys.js"),it=xe.n(qe),st=xe("./node_modules/core-js/modules/es.array.concat.js"),At=xe.n(st),Qt=xe("./node_modules/core-js/modules/es.object.to-string.js"),pt=xe.n(Qt),St=xe("./node_modules/core-js/modules/es.regexp.to-string.js"),rt=xe.n(St),ze=xe("./node_modules/core-js/modules/es.function.name.js"),gt=xe.n(ze),Et=xe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),jt=xe.n(Et),mt=xe("jspdf"),Yt=xe.n(mt),Tt=xe("html2canvas"),Xt=xe.n(Tt),bt=xe("./src/utils.js"),un=xe("./node_modules/es6-promise/dist/es6-promise.js"),Ln=xe.n(un),Vt=Ln().Promise,nn=function Kt(Ge){var Fe=Object.assign(Kt.convert(Vt.resolve()),JSON.parse(JSON.stringify(Kt.template))),ft=Kt.convert(Vt.resolve(),Fe);return ft=ft.setProgress(1,Kt,1,[Kt]),ft=ft.set(Ge),ft};nn.prototype=Object.create(Vt.prototype),nn.prototype.constructor=nn,nn.convert=function(Ge,Fe){return Ge.__proto__=Fe||nn.prototype,Ge},nn.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},nn.prototype.from=function(Ge,Fe){function ft(sn){switch((0,bt.objType)(sn)){case"string":return"string";case"element":return sn.nodeName.toLowerCase&&sn.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Fe=Fe||ft(Ge),Fe){case"string":return this.set({src:(0,bt.createElement)("div",{innerHTML:Ge})});case"element":return this.set({src:Ge});case"canvas":return this.set({canvas:Ge});case"img":return this.set({img:Ge});default:return this.error("Unknown source type.")}})},nn.prototype.to=function(Ge){switch(Ge){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},nn.prototype.toContainer=function(){var Ge=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ge).then(function(){var ft={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},sn={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ft.opacity=0;var $t=(0,bt.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,bt.createElement)("div",{className:"html2pdf__overlay",style:ft}),this.prop.container=(0,bt.createElement)("div",{className:"html2pdf__container",style:sn}),this.prop.container.appendChild($t),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},nn.prototype.toCanvas=function(){var Ge=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Ge).then(function(){var ft=Object.assign({},this.opt.html2canvas);return delete ft.onrendered,Tt(this.prop.container,ft)}).then(function(ft){var sn=this.opt.html2canvas.onrendered||function(){};sn(ft),this.prop.canvas=ft,document.body.removeChild(this.prop.overlay)})},nn.prototype.toImg=function(){var Ge=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Ge).then(function(){var ft=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ft})},nn.prototype.toPdf=function(){var Ge=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Ge).then(function(){var ft=this.prop.canvas,sn=this.opt,$t=ft.height,Mt=Math.floor(ft.width*this.prop.pageSize.inner.ratio),_t=Math.ceil($t/Mt),hn=this.prop.pageSize.inner.height,Jn=document.createElement("canvas"),Kn=Jn.getContext("2d");Jn.width=ft.width,Jn.height=Mt,this.prop.pdf=this.prop.pdf||new mt.jsPDF(sn.jsPDF);for(var Ar=0;Ar<_t;Ar++){Ar===_t-1&&$t%Mt!==0&&(Jn.height=$t%Mt,hn=Jn.height*this.prop.pageSize.inner.width/Jn.width);var ln=Jn.width,on=Jn.height;Kn.fillStyle="white",Kn.fillRect(0,0,ln,on),Kn.drawImage(ft,0,Ar*Mt,ln,on,0,0,ln,on),Ar&&this.prop.pdf.addPage();var vn=Jn.toDataURL("image/"+sn.image.type,sn.image.quality);this.prop.pdf.addImage(vn,sn.image.type,sn.margin[1],sn.margin[0],this.prop.pageSize.inner.width,hn)}})},nn.prototype.output=function(Ge,Fe,ft){return ft=ft||"pdf",ft.toLowerCase()==="img"||ft.toLowerCase()==="image"?this.outputImg(Ge,Fe):this.outputPdf(Ge,Fe)},nn.prototype.outputPdf=function(Ge,Fe){var ft=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ft).then(function(){return this.prop.pdf.output(Ge,Fe)})},nn.prototype.outputImg=function(Ge,Fe){var ft=[function(){return this.prop.img||this.toImg()}];return this.thenList(ft).then(function(){switch(Ge){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+Ge+'" is not supported.'}})},nn.prototype.save=function(Ge){var Fe=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(Fe).set(Ge?{filename:Ge}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},nn.prototype.set=function(Ge){if((0,bt.objType)(Ge)!=="object")return this;var Fe=Object.keys(Ge||{}).map(function(ft){switch(ft){case"margin":return this.setMargin.bind(this,Ge.margin);case"jsPDF":return function(){return this.opt.jsPDF=Ge.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Ge.pageSize);default:return ft in nn.template.prop?function(){this.prop[ft]=Ge[ft]}:function(){this.opt[ft]=Ge[ft]}}},this);return this.then(function(){return this.thenList(Fe)})},nn.prototype.get=function(Ge,Fe){return this.then(function(){var sn=Ge in nn.template.prop?this.prop[Ge]:this.opt[Ge];return Fe?Fe(sn):sn})},nn.prototype.setMargin=function(Ge){return this.then(function(){switch((0,bt.objType)(Ge)){case"number":Ge=[Ge,Ge,Ge,Ge];case"array":if(Ge.length===2&&(Ge=[Ge[0],Ge[1],Ge[0],Ge[1]]),Ge.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Ge}).then(this.setPageSize)},nn.prototype.setPageSize=function(Ge){return this.then(function(){Ge=Ge||mt.jsPDF.getPageSize(this.opt.jsPDF),Ge.hasOwnProperty("inner")||(Ge.inner={width:Ge.width-this.opt.margin[1]-this.opt.margin[3],height:Ge.height-this.opt.margin[0]-this.opt.margin[2]},Ge.inner.px={width:(0,bt.toPx)(Ge.inner.width,Ge.k),height:(0,bt.toPx)(Ge.inner.height,Ge.k)},Ge.inner.ratio=Ge.inner.height/Ge.inner.width),this.prop.pageSize=Ge})},nn.prototype.setProgress=function(Ge,Fe,ft,sn){return Ge!=null&&(this.progress.val=Ge),Fe!=null&&(this.progress.state=Fe),ft!=null&&(this.progress.n=ft),sn!=null&&(this.progress.stack=sn),this.progress.ratio=this.progress.val/this.progress.state,this},nn.prototype.updateProgress=function(Ge,Fe,ft,sn){return this.setProgress(Ge?this.progress.val+Ge:null,Fe||null,ft?this.progress.n+ft:null,sn?this.progress.stack.concat(sn):null)},nn.prototype.then=function(Ge,Fe){var ft=this;return this.thenCore(Ge,Fe,function($t,Mt){return ft.updateProgress(null,null,1,[$t]),Vt.prototype.then.call(this,function(hn){return ft.updateProgress(null,$t),hn}).then($t,Mt).then(function(hn){return ft.updateProgress(1),hn})})},nn.prototype.thenCore=function(Ge,Fe,ft){ft=ft||Vt.prototype.then;var sn=this;Ge&&(Ge=Ge.bind(sn)),Fe&&(Fe=Fe.bind(sn));var $t=Vt.toString().indexOf("[native code]")!==-1&&Vt.name==="Promise",Mt=$t?sn:nn.convert(Object.assign({},sn),Vt.prototype),_t=ft.call(Mt,Ge,Fe);return nn.convert(_t,sn.__proto__)},nn.prototype.thenExternal=function(Ge,Fe){return Vt.prototype.then.call(this,Ge,Fe)},nn.prototype.thenList=function(Ge){var Fe=this;return Ge.forEach(function(sn){Fe=Fe.thenCore(sn)}),Fe},nn.prototype.catch=function(Kt){Kt&&(Kt=Kt.bind(this));var Ge=Vt.prototype.catch.call(this,Kt);return nn.convert(Ge,this)},nn.prototype.catchExternal=function(Ge){return Vt.prototype.catch.call(this,Ge)},nn.prototype.error=function(Ge){return this.then(function(){throw new Error(Ge)})},nn.prototype.using=nn.prototype.set,nn.prototype.saveAs=nn.prototype.save,nn.prototype.export=nn.prototype.output,nn.prototype.run=nn.prototype.then,_e.default=nn},"./node_modules/core-js/internals/a-function.js":function(ke){ke.exports=function(_e){if(typeof _e!="function")throw TypeError(String(_e)+" is not a function");return _e}},"./node_modules/core-js/internals/a-possible-prototype.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-object.js");ke.exports=function(De){if(!Xe(De)&&De!==null)throw TypeError("Can't set "+String(De)+" as a prototype");return De}},"./node_modules/core-js/internals/add-to-unscopables.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/well-known-symbol.js"),De=xe("./node_modules/core-js/internals/object-create.js"),Qe=xe("./node_modules/core-js/internals/object-define-property.js"),ot=Xe("unscopables"),qe=Array.prototype;qe[ot]==null&&Qe.f(qe,ot,{configurable:!0,value:De(null)}),ke.exports=function(it){qe[ot][it]=!0}},"./node_modules/core-js/internals/an-object.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-object.js");ke.exports=function(De){if(!Xe(De))throw TypeError(String(De)+" is not an object");return De}},"./node_modules/core-js/internals/array-for-each.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/array-iteration.js").forEach,De=xe("./node_modules/core-js/internals/array-method-is-strict.js"),Qe=De("forEach");ke.exports=Qe?[].forEach:function(qe){return Xe(this,qe,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-indexed-object.js"),De=xe("./node_modules/core-js/internals/to-length.js"),Qe=xe("./node_modules/core-js/internals/to-absolute-index.js"),ot=function(qe){return function(it,st,At){var Qt=Xe(it),pt=De(Qt.length),St=Qe(At,pt),rt;if(qe&&st!=st){for(;pt>St;)if(rt=Qt[St++],rt!=rt)return!0}else for(;pt>St;St++)if((qe||St in Qt)&&Qt[St]===st)return qe||St||0;return!qe&&-1}};ke.exports={includes:ot(!0),indexOf:ot(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/function-bind-context.js"),De=xe("./node_modules/core-js/internals/indexed-object.js"),Qe=xe("./node_modules/core-js/internals/to-object.js"),ot=xe("./node_modules/core-js/internals/to-length.js"),qe=xe("./node_modules/core-js/internals/array-species-create.js"),it=[].push,st=function(At){var Qt=At==1,pt=At==2,St=At==3,rt=At==4,ze=At==6,gt=At==7,Et=At==5||ze;return function(jt,mt,Yt,Tt){for(var Xt=Qe(jt),bt=De(Xt),un=Xe(mt,Yt,3),Ln=ot(bt.length),Vt=0,nn=Tt||qe,Kt=Qt?nn(jt,Ln):pt||gt?nn(jt,0):void 0,Ge,Fe;Ln>Vt;Vt++)if((Et||Vt in bt)&&(Ge=bt[Vt],Fe=un(Ge,Vt,Xt),At))if(Qt)Kt[Vt]=Fe;else if(Fe)switch(At){case 3:return!0;case 5:return Ge;case 6:return Vt;case 2:it.call(Kt,Ge)}else switch(At){case 4:return!1;case 7:it.call(Kt,Ge)}return ze?-1:St||rt?rt:Kt}};ke.exports={forEach:st(0),map:st(1),filter:st(2),some:st(3),every:st(4),find:st(5),findIndex:st(6),filterReject:st(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/fails.js"),De=xe("./node_modules/core-js/internals/well-known-symbol.js"),Qe=xe("./node_modules/core-js/internals/engine-v8-version.js"),ot=De("species");ke.exports=function(qe){return Qe>=51||!Xe(function(){var it=[],st=it.constructor={};return st[ot]=function(){return{foo:1}},it[qe](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/fails.js");ke.exports=function(De,Qe){var ot=[][De];return!!ot&&Xe(function(){ot.call(null,Qe||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-object.js"),De=xe("./node_modules/core-js/internals/is-array.js"),Qe=xe("./node_modules/core-js/internals/well-known-symbol.js"),ot=Qe("species");ke.exports=function(qe){var it;return De(qe)&&(it=qe.constructor,typeof it=="function"&&(it===Array||De(it.prototype))?it=void 0:Xe(it)&&(it=it[ot],it===null&&(it=void 0))),it===void 0?Array:it}},"./node_modules/core-js/internals/array-species-create.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/array-species-constructor.js");ke.exports=function(De,Qe){return new(Xe(De))(Qe===0?0:Qe)}},"./node_modules/core-js/internals/classof-raw.js":function(ke){var _e={}.toString;ke.exports=function(xe){return _e.call(xe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-string-tag-support.js"),De=xe("./node_modules/core-js/internals/classof-raw.js"),Qe=xe("./node_modules/core-js/internals/well-known-symbol.js"),ot=Qe("toStringTag"),qe=De(function(){return arguments}())=="Arguments",it=function(st,At){try{return st[At]}catch(Qt){}};ke.exports=Xe?De:function(st){var At,Qt,pt;return st===void 0?"Undefined":st===null?"Null":typeof(Qt=it(At=Object(st),ot))=="string"?Qt:qe?De(At):(pt=De(At))=="Object"&&typeof At.callee=="function"?"Arguments":pt}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/has.js"),De=xe("./node_modules/core-js/internals/own-keys.js"),Qe=xe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=xe("./node_modules/core-js/internals/object-define-property.js");ke.exports=function(qe,it){for(var st=De(it),At=ot.f,Qt=Qe.f,pt=0;pt"+At+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,De=xe("./node_modules/core-js/internals/object-create.js"),Qe=xe("./node_modules/core-js/internals/create-property-descriptor.js"),ot=xe("./node_modules/core-js/internals/set-to-string-tag.js"),qe=xe("./node_modules/core-js/internals/iterators.js"),it=function(){return this};ke.exports=function(st,At,Qt){var pt=At+" Iterator";return st.prototype=De(Xe,{next:Qe(1,Qt)}),ot(st,pt,!1,!0),qe[pt]=it,st}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/descriptors.js"),De=xe("./node_modules/core-js/internals/object-define-property.js"),Qe=xe("./node_modules/core-js/internals/create-property-descriptor.js");ke.exports=Xe?function(ot,qe,it){return De.f(ot,qe,Qe(1,it))}:function(ot,qe,it){return ot[qe]=it,ot}},"./node_modules/core-js/internals/create-property-descriptor.js":function(ke){ke.exports=function(_e,xe){return{enumerable:!(_e&1),configurable:!(_e&2),writable:!(_e&4),value:xe}}},"./node_modules/core-js/internals/create-property.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/to-property-key.js"),De=xe("./node_modules/core-js/internals/object-define-property.js"),Qe=xe("./node_modules/core-js/internals/create-property-descriptor.js");ke.exports=function(ot,qe,it){var st=Xe(qe);st in ot?De.f(ot,st,Qe(0,it)):ot[st]=it}},"./node_modules/core-js/internals/define-iterator.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/create-iterator-constructor.js"),Qe=xe("./node_modules/core-js/internals/object-get-prototype-of.js"),ot=xe("./node_modules/core-js/internals/object-set-prototype-of.js"),qe=xe("./node_modules/core-js/internals/set-to-string-tag.js"),it=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),st=xe("./node_modules/core-js/internals/redefine.js"),At=xe("./node_modules/core-js/internals/well-known-symbol.js"),Qt=xe("./node_modules/core-js/internals/is-pure.js"),pt=xe("./node_modules/core-js/internals/iterators.js"),St=xe("./node_modules/core-js/internals/iterators-core.js"),rt=St.IteratorPrototype,ze=St.BUGGY_SAFARI_ITERATORS,gt=At("iterator"),Et="keys",jt="values",mt="entries",Yt=function(){return this};ke.exports=function(Tt,Xt,bt,un,Ln,Vt,nn){De(bt,Xt,un);var Kt=function(Kn){if(Kn===Ln&&$t)return $t;if(!ze&&Kn in ft)return ft[Kn];switch(Kn){case Et:return function(){return new bt(this,Kn)};case jt:return function(){return new bt(this,Kn)};case mt:return function(){return new bt(this,Kn)}}return function(){return new bt(this)}},Ge=Xt+" Iterator",Fe=!1,ft=Tt.prototype,sn=ft[gt]||ft["@@iterator"]||Ln&&ft[Ln],$t=!ze&&sn||Kt(Ln),Mt=Xt=="Array"&&ft.entries||sn,_t,hn,Jn;if(Mt&&(_t=Qe(Mt.call(new Tt)),rt!==Object.prototype&&_t.next&&(!Qt&&Qe(_t)!==rt&&(ot?ot(_t,rt):typeof _t[gt]!="function"&&it(_t,gt,Yt)),qe(_t,Ge,!0,!0),Qt&&(pt[Ge]=Yt))),Ln==jt&&sn&&sn.name!==jt&&(Fe=!0,$t=function(){return sn.call(this)}),(!Qt||nn)&&ft[gt]!==$t&&it(ft,gt,$t),pt[Xt]=$t,Ln)if(hn={values:Kt(jt),keys:Vt?$t:Kt(Et),entries:Kt(mt)},nn)for(Jn in hn)(ze||Fe||!(Jn in ft))&&st(ft,Jn,hn[Jn]);else Xe({target:Xt,proto:!0,forced:ze||Fe},hn);return hn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/path.js"),De=xe("./node_modules/core-js/internals/has.js"),Qe=xe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ot=xe("./node_modules/core-js/internals/object-define-property.js").f;ke.exports=function(qe){var it=Xe.Symbol||(Xe.Symbol={});De(it,qe)||ot(it,qe,{value:Qe.f(qe)})}},"./node_modules/core-js/internals/descriptors.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/fails.js");ke.exports=!Xe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/is-object.js"),Qe=Xe.document,ot=De(Qe)&&De(Qe.createElement);ke.exports=function(qe){return ot?Qe.createElement(qe):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(ke){ke.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/get-built-in.js");ke.exports=Xe("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/engine-user-agent.js"),Qe=Xe.process,ot=Xe.Deno,qe=Qe&&Qe.versions||ot&&ot.version,it=qe&&qe.v8,st,At;it?(st=it.split("."),At=st[0]<4?1:st[0]+st[1]):De&&(st=De.match(/Edge\/(\d+)/),(!st||st[1]>=74)&&(st=De.match(/Chrome\/(\d+)/),st&&(At=st[1]))),ke.exports=At&&+At},"./node_modules/core-js/internals/enum-bug-keys.js":function(ke){ke.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Qe=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),ot=xe("./node_modules/core-js/internals/redefine.js"),qe=xe("./node_modules/core-js/internals/set-global.js"),it=xe("./node_modules/core-js/internals/copy-constructor-properties.js"),st=xe("./node_modules/core-js/internals/is-forced.js");ke.exports=function(At,Qt){var pt=At.target,St=At.global,rt=At.stat,ze,gt,Et,jt,mt,Yt;if(St?gt=Xe:rt?gt=Xe[pt]||qe(pt,{}):gt=(Xe[pt]||{}).prototype,gt)for(Et in Qt){if(mt=Qt[Et],At.noTargetGet?(Yt=De(gt,Et),jt=Yt&&Yt.value):jt=gt[Et],ze=st(St?Et:pt+(rt?".":"#")+Et,At.forced),!ze&&jt!==void 0){if(typeof mt==typeof jt)continue;it(mt,jt)}(At.sham||jt&&jt.sham)&&Qe(mt,"sham",!0),ot(gt,Et,mt,At)}}},"./node_modules/core-js/internals/fails.js":function(ke){ke.exports=function(_e){try{return!!_e()}catch(xe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/a-function.js");ke.exports=function(De,Qe,ot){if(Xe(De),Qe===void 0)return De;switch(ot){case 0:return function(){return De.call(Qe)};case 1:return function(qe){return De.call(Qe,qe)};case 2:return function(qe,it){return De.call(Qe,qe,it)};case 3:return function(qe,it,st){return De.call(Qe,qe,it,st)}}return function(){return De.apply(Qe,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=function(Qe){return typeof Qe=="function"?Qe:void 0};ke.exports=function(Qe,ot){return arguments.length<2?De(Xe[Qe]):Xe[Qe]&&Xe[Qe][ot]}},"./node_modules/core-js/internals/global.js":function(ke){var _e=function(xe){return xe&&xe.Math==Math&&xe};ke.exports=_e(typeof globalThis=="object"&&globalThis)||_e(typeof window=="object"&&window)||_e(typeof self=="object"&&self)||_e(typeof be.g=="object"&&be.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-object.js"),De={}.hasOwnProperty;ke.exports=Object.hasOwn||function(ot,qe){return De.call(Xe(ot),qe)}},"./node_modules/core-js/internals/hidden-keys.js":function(ke){ke.exports={}},"./node_modules/core-js/internals/html.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/get-built-in.js");ke.exports=Xe("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/descriptors.js"),De=xe("./node_modules/core-js/internals/fails.js"),Qe=xe("./node_modules/core-js/internals/document-create-element.js");ke.exports=!Xe&&!De(function(){return Object.defineProperty(Qe("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/fails.js"),De=xe("./node_modules/core-js/internals/classof-raw.js"),Qe="".split;ke.exports=Xe(function(){return!Object("z").propertyIsEnumerable(0)})?function(ot){return De(ot)=="String"?Qe.call(ot,""):Object(ot)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-object.js"),De=xe("./node_modules/core-js/internals/object-set-prototype-of.js");ke.exports=function(Qe,ot,qe){var it,st;return De&&typeof(it=ot.constructor)=="function"&&it!==qe&&Xe(st=it.prototype)&&st!==qe.prototype&&De(Qe,st),Qe}},"./node_modules/core-js/internals/inspect-source.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/shared-store.js"),De=Function.toString;typeof Xe.inspectSource!="function"&&(Xe.inspectSource=function(Qe){return De.call(Qe)}),ke.exports=Xe.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/native-weak-map.js"),De=xe("./node_modules/core-js/internals/global.js"),Qe=xe("./node_modules/core-js/internals/is-object.js"),ot=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),qe=xe("./node_modules/core-js/internals/has.js"),it=xe("./node_modules/core-js/internals/shared-store.js"),st=xe("./node_modules/core-js/internals/shared-key.js"),At=xe("./node_modules/core-js/internals/hidden-keys.js"),Qt="Object already initialized",pt=De.WeakMap,St,rt,ze,gt=function(bt){return ze(bt)?rt(bt):St(bt,{})},Et=function(bt){return function(un){var Ln;if(!Qe(un)||(Ln=rt(un)).type!==bt)throw TypeError("Incompatible receiver, "+bt+" required");return Ln}};if(Xe||it.state){var jt=it.state||(it.state=new pt),mt=jt.get,Yt=jt.has,Tt=jt.set;St=function(bt,un){if(Yt.call(jt,bt))throw new TypeError(Qt);return un.facade=bt,Tt.call(jt,bt,un),un},rt=function(bt){return mt.call(jt,bt)||{}},ze=function(bt){return Yt.call(jt,bt)}}else{var Xt=st("state");At[Xt]=!0,St=function(bt,un){if(qe(bt,Xt))throw new TypeError(Qt);return un.facade=bt,ot(bt,Xt,un),un},rt=function(bt){return qe(bt,Xt)?bt[Xt]:{}},ze=function(bt){return qe(bt,Xt)}}ke.exports={set:St,get:rt,has:ze,enforce:gt,getterFor:Et}},"./node_modules/core-js/internals/is-array.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/classof-raw.js");ke.exports=Array.isArray||function(Qe){return Xe(Qe)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/fails.js"),De=/#|\.prototype\./,Qe=function(At,Qt){var pt=qe[ot(At)];return pt==st?!0:pt==it?!1:typeof Qt=="function"?Xe(Qt):!!Qt},ot=Qe.normalize=function(At){return String(At).replace(De,".").toLowerCase()},qe=Qe.data={},it=Qe.NATIVE="N",st=Qe.POLYFILL="P";ke.exports=Qe},"./node_modules/core-js/internals/is-object.js":function(ke){ke.exports=function(_e){return typeof _e=="object"?_e!==null:typeof _e=="function"}},"./node_modules/core-js/internals/is-pure.js":function(ke){ke.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/get-built-in.js"),De=xe("./node_modules/core-js/internals/use-symbol-as-uid.js");ke.exports=De?function(Qe){return typeof Qe=="symbol"}:function(Qe){var ot=Xe("Symbol");return typeof ot=="function"&&Object(Qe)instanceof ot}},"./node_modules/core-js/internals/iterators-core.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/fails.js"),De=xe("./node_modules/core-js/internals/object-get-prototype-of.js"),Qe=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),ot=xe("./node_modules/core-js/internals/has.js"),qe=xe("./node_modules/core-js/internals/well-known-symbol.js"),it=xe("./node_modules/core-js/internals/is-pure.js"),st=qe("iterator"),At=!1,Qt=function(){return this},pt,St,rt;[].keys&&(rt=[].keys(),"next"in rt?(St=De(De(rt)),St!==Object.prototype&&(pt=St)):At=!0);var ze=pt==null||Xe(function(){var gt={};return pt[st].call(gt)!==gt});ze&&(pt={}),(!it||ze)&&!ot(pt,st)&&Qe(pt,st,Qt),ke.exports={IteratorPrototype:pt,BUGGY_SAFARI_ITERATORS:At}},"./node_modules/core-js/internals/iterators.js":function(ke){ke.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/engine-v8-version.js"),De=xe("./node_modules/core-js/internals/fails.js");ke.exports=!!Object.getOwnPropertySymbols&&!De(function(){var Qe=Symbol();return!String(Qe)||!(Object(Qe)instanceof Symbol)||!Symbol.sham&&Xe&&Xe<41})},"./node_modules/core-js/internals/native-weak-map.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/inspect-source.js"),Qe=Xe.WeakMap;ke.exports=typeof Qe=="function"&&/native code/.test(De(Qe))},"./node_modules/core-js/internals/object-assign.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/descriptors.js"),De=xe("./node_modules/core-js/internals/fails.js"),Qe=xe("./node_modules/core-js/internals/object-keys.js"),ot=xe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),qe=xe("./node_modules/core-js/internals/object-property-is-enumerable.js"),it=xe("./node_modules/core-js/internals/to-object.js"),st=xe("./node_modules/core-js/internals/indexed-object.js"),At=Object.assign,Qt=Object.defineProperty;ke.exports=!At||De(function(){if(Xe&&At({b:1},At(Qt({},"a",{enumerable:!0,get:function(){Qt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var pt={},St={},rt=Symbol(),ze="abcdefghijklmnopqrst";return pt[rt]=7,ze.split("").forEach(function(gt){St[gt]=gt}),At({},pt)[rt]!=7||Qe(At({},St)).join("")!=ze})?function(St,rt){for(var ze=it(St),gt=arguments.length,Et=1,jt=ot.f,mt=qe.f;gt>Et;)for(var Yt=st(arguments[Et++]),Tt=jt?Qe(Yt).concat(jt(Yt)):Qe(Yt),Xt=Tt.length,bt=0,un;Xt>bt;)un=Tt[bt++],(!Xe||mt.call(Yt,un))&&(ze[un]=Yt[un]);return ze}:At},"./node_modules/core-js/internals/object-create.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/an-object.js"),De=xe("./node_modules/core-js/internals/object-define-properties.js"),Qe=xe("./node_modules/core-js/internals/enum-bug-keys.js"),ot=xe("./node_modules/core-js/internals/hidden-keys.js"),qe=xe("./node_modules/core-js/internals/html.js"),it=xe("./node_modules/core-js/internals/document-create-element.js"),st=xe("./node_modules/core-js/internals/shared-key.js"),At=">",Qt="<",pt="prototype",St="script",rt=st("IE_PROTO"),ze=function(){},gt=function(Tt){return Qt+St+At+Tt+Qt+"/"+St+At},Et=function(Tt){Tt.write(gt("")),Tt.close();var Xt=Tt.parentWindow.Object;return Tt=null,Xt},jt=function(){var Tt=it("iframe"),Xt="java"+St+":",bt;if(Tt.style)return Tt.style.display="none",qe.appendChild(Tt),Tt.src=String(Xt),bt=Tt.contentWindow.document,bt.open(),bt.write(gt("document.F=Object")),bt.close(),bt.F},mt,Yt=function(){try{mt=new ActiveXObject("htmlfile")}catch(Xt){}Yt=document.domain&&mt?Et(mt):jt()||Et(mt);for(var Tt=Qe.length;Tt--;)delete Yt[pt][Qe[Tt]];return Yt()};ot[rt]=!0,ke.exports=Object.create||function(Xt,bt){var un;return Xt!==null?(ze[pt]=Xe(Xt),un=new ze,ze[pt]=null,un[rt]=Xt):un=Yt(),bt===void 0?un:De(un,bt)}},"./node_modules/core-js/internals/object-define-properties.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/descriptors.js"),De=xe("./node_modules/core-js/internals/object-define-property.js"),Qe=xe("./node_modules/core-js/internals/an-object.js"),ot=xe("./node_modules/core-js/internals/object-keys.js");ke.exports=Xe?Object.defineProperties:function(it,st){Qe(it);for(var At=ot(st),Qt=At.length,pt=0,St;Qt>pt;)De.f(it,St=At[pt++],st[St]);return it}},"./node_modules/core-js/internals/object-define-property.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/descriptors.js"),De=xe("./node_modules/core-js/internals/ie8-dom-define.js"),Qe=xe("./node_modules/core-js/internals/an-object.js"),ot=xe("./node_modules/core-js/internals/to-property-key.js"),qe=Object.defineProperty;_e.f=Xe?qe:function(st,At,Qt){if(Qe(st),At=ot(At),Qe(Qt),De)try{return qe(st,At,Qt)}catch(pt){}if("get"in Qt||"set"in Qt)throw TypeError("Accessors not supported");return"value"in Qt&&(st[At]=Qt.value),st}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/descriptors.js"),De=xe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Qe=xe("./node_modules/core-js/internals/create-property-descriptor.js"),ot=xe("./node_modules/core-js/internals/to-indexed-object.js"),qe=xe("./node_modules/core-js/internals/to-property-key.js"),it=xe("./node_modules/core-js/internals/has.js"),st=xe("./node_modules/core-js/internals/ie8-dom-define.js"),At=Object.getOwnPropertyDescriptor;_e.f=Xe?At:function(pt,St){if(pt=ot(pt),St=qe(St),st)try{return At(pt,St)}catch(rt){}if(it(pt,St))return Qe(!De.f.call(pt,St),pt[St])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-indexed-object.js"),De=xe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Qe={}.toString,ot=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],qe=function(it){try{return De(it)}catch(st){return ot.slice()}};ke.exports.f=function(st){return ot&&Qe.call(st)=="[object Window]"?qe(st):De(Xe(st))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/object-keys-internal.js"),De=xe("./node_modules/core-js/internals/enum-bug-keys.js"),Qe=De.concat("length","prototype");_e.f=Object.getOwnPropertyNames||function(qe){return Xe(qe,Qe)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(ke,_e){_e.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/has.js"),De=xe("./node_modules/core-js/internals/to-object.js"),Qe=xe("./node_modules/core-js/internals/shared-key.js"),ot=xe("./node_modules/core-js/internals/correct-prototype-getter.js"),qe=Qe("IE_PROTO"),it=Object.prototype;ke.exports=ot?Object.getPrototypeOf:function(st){return st=De(st),Xe(st,qe)?st[qe]:typeof st.constructor=="function"&&st instanceof st.constructor?st.constructor.prototype:st instanceof Object?it:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/has.js"),De=xe("./node_modules/core-js/internals/to-indexed-object.js"),Qe=xe("./node_modules/core-js/internals/array-includes.js").indexOf,ot=xe("./node_modules/core-js/internals/hidden-keys.js");ke.exports=function(qe,it){var st=De(qe),At=0,Qt=[],pt;for(pt in st)!Xe(ot,pt)&&Xe(st,pt)&&Qt.push(pt);for(;it.length>At;)Xe(st,pt=it[At++])&&(~Qe(Qt,pt)||Qt.push(pt));return Qt}},"./node_modules/core-js/internals/object-keys.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/object-keys-internal.js"),De=xe("./node_modules/core-js/internals/enum-bug-keys.js");ke.exports=Object.keys||function(ot){return Xe(ot,De)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(ke,_e){"use strict";var xe={}.propertyIsEnumerable,Xe=Object.getOwnPropertyDescriptor,De=Xe&&!xe.call({1:2},1);_e.f=De?function(ot){var qe=Xe(this,ot);return!!qe&&qe.enumerable}:xe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/an-object.js"),De=xe("./node_modules/core-js/internals/a-possible-prototype.js");ke.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Qe=!1,ot={},qe;try{qe=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,qe.call(ot,[]),Qe=ot instanceof Array}catch(it){}return function(st,At){return Xe(st),De(At),Qe?qe.call(st,At):st.__proto__=At,st}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/to-string-tag-support.js"),De=xe("./node_modules/core-js/internals/classof.js");ke.exports=Xe?{}.toString:function(){return"[object "+De(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-object.js");ke.exports=function(De,Qe){var ot,qe;if(Qe==="string"&&typeof(ot=De.toString)=="function"&&!Xe(qe=ot.call(De))||typeof(ot=De.valueOf)=="function"&&!Xe(qe=ot.call(De))||Qe!=="string"&&typeof(ot=De.toString)=="function"&&!Xe(qe=ot.call(De)))return qe;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/get-built-in.js"),De=xe("./node_modules/core-js/internals/object-get-own-property-names.js"),Qe=xe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ot=xe("./node_modules/core-js/internals/an-object.js");ke.exports=Xe("Reflect","ownKeys")||function(it){var st=De.f(ot(it)),At=Qe.f;return At?st.concat(At(it)):st}},"./node_modules/core-js/internals/path.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js");ke.exports=Xe},"./node_modules/core-js/internals/redefine.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Qe=xe("./node_modules/core-js/internals/has.js"),ot=xe("./node_modules/core-js/internals/set-global.js"),qe=xe("./node_modules/core-js/internals/inspect-source.js"),it=xe("./node_modules/core-js/internals/internal-state.js"),st=it.get,At=it.enforce,Qt=String(String).split("String");(ke.exports=function(pt,St,rt,ze){var gt=ze?!!ze.unsafe:!1,Et=ze?!!ze.enumerable:!1,jt=ze?!!ze.noTargetGet:!1,mt;if(typeof rt=="function"&&(typeof St=="string"&&!Qe(rt,"name")&&De(rt,"name",St),mt=At(rt),mt.source||(mt.source=Qt.join(typeof St=="string"?St:""))),pt===Xe){Et?pt[St]=rt:ot(St,rt);return}else gt?!jt&&pt[St]&&(Et=!0):delete pt[St];Et?pt[St]=rt:De(pt,St,rt)})(Function.prototype,"toString",function(){return typeof this=="function"&&st(this).source||qe(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/an-object.js");ke.exports=function(){var De=Xe(this),Qe="";return De.global&&(Qe+="g"),De.ignoreCase&&(Qe+="i"),De.multiline&&(Qe+="m"),De.dotAll&&(Qe+="s"),De.unicode&&(Qe+="u"),De.sticky&&(Qe+="y"),Qe}},"./node_modules/core-js/internals/require-object-coercible.js":function(ke){ke.exports=function(_e){if(_e==null)throw TypeError("Can't call method on "+_e);return _e}},"./node_modules/core-js/internals/set-global.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js");ke.exports=function(De,Qe){try{Object.defineProperty(Xe,De,{value:Qe,configurable:!0,writable:!0})}catch(ot){Xe[De]=Qe}return Qe}},"./node_modules/core-js/internals/set-to-string-tag.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/object-define-property.js").f,De=xe("./node_modules/core-js/internals/has.js"),Qe=xe("./node_modules/core-js/internals/well-known-symbol.js"),ot=Qe("toStringTag");ke.exports=function(qe,it,st){qe&&!De(qe=st?qe:qe.prototype,ot)&&Xe(qe,ot,{configurable:!0,value:it})}},"./node_modules/core-js/internals/shared-key.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/shared.js"),De=xe("./node_modules/core-js/internals/uid.js"),Qe=Xe("keys");ke.exports=function(ot){return Qe[ot]||(Qe[ot]=De(ot))}},"./node_modules/core-js/internals/shared-store.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/set-global.js"),Qe="__core-js_shared__",ot=Xe[Qe]||De(Qe,{});ke.exports=ot},"./node_modules/core-js/internals/shared.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-pure.js"),De=xe("./node_modules/core-js/internals/shared-store.js");(ke.exports=function(Qe,ot){return De[Qe]||(De[Qe]=ot!==void 0?ot:{})})("versions",[]).push({version:"3.16.0",mode:Xe?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/fails.js");ke.exports=function(De){return Xe(function(){var Qe=""[De]('"');return Qe!==Qe.toLowerCase()||Qe.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-integer.js"),De=xe("./node_modules/core-js/internals/to-string.js"),Qe=xe("./node_modules/core-js/internals/require-object-coercible.js"),ot=function(qe){return function(it,st){var At=De(Qe(it)),Qt=Xe(st),pt=At.length,St,rt;return Qt<0||Qt>=pt?qe?"":void 0:(St=At.charCodeAt(Qt),St<55296||St>56319||Qt+1===pt||(rt=At.charCodeAt(Qt+1))<56320||rt>57343?qe?At.charAt(Qt):St:qe?At.slice(Qt,Qt+2):(St-55296<<10)+(rt-56320)+65536)}};ke.exports={codeAt:ot(!1),charAt:ot(!0)}},"./node_modules/core-js/internals/string-trim.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/require-object-coercible.js"),De=xe("./node_modules/core-js/internals/to-string.js"),Qe=xe("./node_modules/core-js/internals/whitespaces.js"),ot="["+Qe+"]",qe=RegExp("^"+ot+ot+"*"),it=RegExp(ot+ot+"*$"),st=function(At){return function(Qt){var pt=De(Xe(Qt));return At&1&&(pt=pt.replace(qe,"")),At&2&&(pt=pt.replace(it,"")),pt}};ke.exports={start:st(1),end:st(2),trim:st(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-integer.js"),De=Math.max,Qe=Math.min;ke.exports=function(ot,qe){var it=Xe(ot);return it<0?De(it+qe,0):Qe(it,qe)}},"./node_modules/core-js/internals/to-indexed-object.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/indexed-object.js"),De=xe("./node_modules/core-js/internals/require-object-coercible.js");ke.exports=function(Qe){return Xe(De(Qe))}},"./node_modules/core-js/internals/to-integer.js":function(ke){var _e=Math.ceil,xe=Math.floor;ke.exports=function(Xe){return isNaN(Xe=+Xe)?0:(Xe>0?xe:_e)(Xe)}},"./node_modules/core-js/internals/to-length.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-integer.js"),De=Math.min;ke.exports=function(Qe){return Qe>0?De(Xe(Qe),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/require-object-coercible.js");ke.exports=function(De){return Object(Xe(De))}},"./node_modules/core-js/internals/to-primitive.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-object.js"),De=xe("./node_modules/core-js/internals/is-symbol.js"),Qe=xe("./node_modules/core-js/internals/ordinary-to-primitive.js"),ot=xe("./node_modules/core-js/internals/well-known-symbol.js"),qe=ot("toPrimitive");ke.exports=function(it,st){if(!Xe(it)||De(it))return it;var At=it[qe],Qt;if(At!==void 0){if(st===void 0&&(st="default"),Qt=At.call(it,st),!Xe(Qt)||De(Qt))return Qt;throw TypeError("Can't convert object to primitive value")}return st===void 0&&(st="number"),Qe(it,st)}},"./node_modules/core-js/internals/to-property-key.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-primitive.js"),De=xe("./node_modules/core-js/internals/is-symbol.js");ke.exports=function(Qe){var ot=Xe(Qe,"string");return De(ot)?ot:String(ot)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/well-known-symbol.js"),De=Xe("toStringTag"),Qe={};Qe[De]="z",ke.exports=String(Qe)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/is-symbol.js");ke.exports=function(De){if(Xe(De))throw TypeError("Cannot convert a Symbol value to a string");return String(De)}},"./node_modules/core-js/internals/uid.js":function(ke){var _e=0,xe=Math.random();ke.exports=function(Xe){return"Symbol("+String(Xe===void 0?"":Xe)+")_"+(++_e+xe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/native-symbol.js");ke.exports=Xe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/well-known-symbol.js");_e.f=Xe},"./node_modules/core-js/internals/well-known-symbol.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/shared.js"),Qe=xe("./node_modules/core-js/internals/has.js"),ot=xe("./node_modules/core-js/internals/uid.js"),qe=xe("./node_modules/core-js/internals/native-symbol.js"),it=xe("./node_modules/core-js/internals/use-symbol-as-uid.js"),st=De("wks"),At=Xe.Symbol,Qt=it?At:At&&At.withoutSetter||ot;ke.exports=function(pt){return(!Qe(st,pt)||!(qe||typeof st[pt]=="string"))&&(qe&&Qe(At,pt)?st[pt]=At[pt]:st[pt]=Qt("Symbol."+pt)),st[pt]}},"./node_modules/core-js/internals/whitespaces.js":function(ke){ke.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/fails.js"),Qe=xe("./node_modules/core-js/internals/is-array.js"),ot=xe("./node_modules/core-js/internals/is-object.js"),qe=xe("./node_modules/core-js/internals/to-object.js"),it=xe("./node_modules/core-js/internals/to-length.js"),st=xe("./node_modules/core-js/internals/create-property.js"),At=xe("./node_modules/core-js/internals/array-species-create.js"),Qt=xe("./node_modules/core-js/internals/array-method-has-species-support.js"),pt=xe("./node_modules/core-js/internals/well-known-symbol.js"),St=xe("./node_modules/core-js/internals/engine-v8-version.js"),rt=pt("isConcatSpreadable"),ze=9007199254740991,gt="Maximum allowed index exceeded",Et=St>=51||!De(function(){var Tt=[];return Tt[rt]=!1,Tt.concat()[0]!==Tt}),jt=Qt("concat"),mt=function(Tt){if(!ot(Tt))return!1;var Xt=Tt[rt];return Xt!==void 0?!!Xt:Qe(Tt)},Yt=!Et||!jt;Xe({target:"Array",proto:!0,forced:Yt},{concat:function(Xt){var bt=qe(this),un=At(bt,0),Ln=0,Vt,nn,Kt,Ge,Fe;for(Vt=-1,Kt=arguments.length;Vtze)throw TypeError(gt);for(nn=0;nn=ze)throw TypeError(gt);st(un,Ln++,Fe)}return un.length=Ln,un}})},"./node_modules/core-js/modules/es.array.iterator.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/to-indexed-object.js"),De=xe("./node_modules/core-js/internals/add-to-unscopables.js"),Qe=xe("./node_modules/core-js/internals/iterators.js"),ot=xe("./node_modules/core-js/internals/internal-state.js"),qe=xe("./node_modules/core-js/internals/define-iterator.js"),it="Array Iterator",st=ot.set,At=ot.getterFor(it);ke.exports=qe(Array,"Array",function(Qt,pt){st(this,{type:it,target:Xe(Qt),index:0,kind:pt})},function(){var Qt=At(this),pt=Qt.target,St=Qt.kind,rt=Qt.index++;return!pt||rt>=pt.length?(Qt.target=void 0,{value:void 0,done:!0}):St=="keys"?{value:rt,done:!1}:St=="values"?{value:pt[rt],done:!1}:{value:[rt,pt[rt]],done:!1}},"values"),Qe.Arguments=Qe.Array,De("keys"),De("values"),De("entries")},"./node_modules/core-js/modules/es.array.join.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/indexed-object.js"),Qe=xe("./node_modules/core-js/internals/to-indexed-object.js"),ot=xe("./node_modules/core-js/internals/array-method-is-strict.js"),qe=[].join,it=De!=Object,st=ot("join",",");Xe({target:"Array",proto:!0,forced:it||!st},{join:function(Qt){return qe.call(Qe(this),Qt===void 0?",":Qt)}})},"./node_modules/core-js/modules/es.array.map.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/array-iteration.js").map,Qe=xe("./node_modules/core-js/internals/array-method-has-species-support.js"),ot=Qe("map");Xe({target:"Array",proto:!0,forced:!ot},{map:function(it){return De(this,it,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/is-object.js"),Qe=xe("./node_modules/core-js/internals/is-array.js"),ot=xe("./node_modules/core-js/internals/to-absolute-index.js"),qe=xe("./node_modules/core-js/internals/to-length.js"),it=xe("./node_modules/core-js/internals/to-indexed-object.js"),st=xe("./node_modules/core-js/internals/create-property.js"),At=xe("./node_modules/core-js/internals/well-known-symbol.js"),Qt=xe("./node_modules/core-js/internals/array-method-has-species-support.js"),pt=Qt("slice"),St=At("species"),rt=[].slice,ze=Math.max;Xe({target:"Array",proto:!0,forced:!pt},{slice:function(Et,jt){var mt=it(this),Yt=qe(mt.length),Tt=ot(Et,Yt),Xt=ot(jt===void 0?Yt:jt,Yt),bt,un,Ln;if(Qe(mt)&&(bt=mt.constructor,typeof bt=="function"&&(bt===Array||Qe(bt.prototype))?bt=void 0:De(bt)&&(bt=bt[St],bt===null&&(bt=void 0)),bt===Array||bt===void 0))return rt.call(mt,Tt,Xt);for(un=new(bt===void 0?Array:bt)(ze(Xt-Tt,0)),Ln=0;Tt2){if(Kt=Et(Kt),Ge=Kt.charCodeAt(0),Ge===43||Ge===45){if(Fe=Kt.charCodeAt(2),Fe===88||Fe===120)return NaN}else if(Ge===48){switch(Kt.charCodeAt(1)){case 66:case 98:ft=2,sn=49;break;case 79:case 111:ft=8,sn=55;break;default:return+Kt}for($t=Kt.slice(2),Mt=$t.length,_t=0;_tsn)return NaN;return parseInt($t,ft)}}return+Kt};if(Qe(jt,!mt(" 0o1")||!mt("0b1")||mt("+0x1"))){for(var bt=function(Kt){var Ge=arguments.length<1?0:Kt,Fe=this;return Fe instanceof bt&&(Tt?pt(function(){Yt.valueOf.call(Fe)}):it(Fe)!=jt)?st(new mt(Xt(Ge)),Fe,bt):Xt(Ge)},un=Xe?rt(mt):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ln=0,Vt;un.length>Ln;Ln++)qe(mt,Vt=un[Ln])&&!qe(bt,Vt)&>(bt,Vt,ze(mt,Vt));bt.prototype=Yt,Yt.constructor=bt,ot(De,jt,bt)}},"./node_modules/core-js/modules/es.object.assign.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/object-assign.js");Xe({target:"Object",stat:!0,forced:Object.assign!==De},{assign:De})},"./node_modules/core-js/modules/es.object.keys.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/to-object.js"),Qe=xe("./node_modules/core-js/internals/object-keys.js"),ot=xe("./node_modules/core-js/internals/fails.js"),qe=ot(function(){Qe(1)});Xe({target:"Object",stat:!0,forced:qe},{keys:function(st){return Qe(De(st))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/to-string-tag-support.js"),De=xe("./node_modules/core-js/internals/redefine.js"),Qe=xe("./node_modules/core-js/internals/object-to-string.js");Xe||De(Object.prototype,"toString",Qe,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/redefine.js"),De=xe("./node_modules/core-js/internals/an-object.js"),Qe=xe("./node_modules/core-js/internals/to-string.js"),ot=xe("./node_modules/core-js/internals/fails.js"),qe=xe("./node_modules/core-js/internals/regexp-flags.js"),it="toString",st=RegExp.prototype,At=st[it],Qt=ot(function(){return At.call({source:"a",flags:"b"})!="/a/b"}),pt=At.name!=it;(Qt||pt)&&Xe(RegExp.prototype,it,function(){var rt=De(this),ze=Qe(rt.source),gt=rt.flags,Et=Qe(gt===void 0&&rt instanceof RegExp&&!("flags"in st)?qe.call(rt):gt);return"/"+ze+"/"+Et},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/string-multibyte.js").charAt,De=xe("./node_modules/core-js/internals/to-string.js"),Qe=xe("./node_modules/core-js/internals/internal-state.js"),ot=xe("./node_modules/core-js/internals/define-iterator.js"),qe="String Iterator",it=Qe.set,st=Qe.getterFor(qe);ot(String,"String",function(At){it(this,{type:qe,string:De(At),index:0})},function(){var Qt=st(this),pt=Qt.string,St=Qt.index,rt;return St>=pt.length?{value:void 0,done:!0}:(rt=Xe(pt,St),Qt.index+=rt.length,{value:rt,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/create-html.js"),Qe=xe("./node_modules/core-js/internals/string-html-forced.js");Xe({target:"String",proto:!0,forced:Qe("link")},{link:function(qe){return De(this,"a","href",qe)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/descriptors.js"),Qe=xe("./node_modules/core-js/internals/global.js"),ot=xe("./node_modules/core-js/internals/has.js"),qe=xe("./node_modules/core-js/internals/is-object.js"),it=xe("./node_modules/core-js/internals/object-define-property.js").f,st=xe("./node_modules/core-js/internals/copy-constructor-properties.js"),At=Qe.Symbol;if(De&&typeof At=="function"&&(!("description"in At.prototype)||At().description!==void 0)){var Qt={},pt=function(){var jt=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),mt=this instanceof pt?new At(jt):jt===void 0?At():At(jt);return jt===""&&(Qt[mt]=!0),mt};st(pt,At);var St=pt.prototype=At.prototype;St.constructor=pt;var rt=St.toString,ze=String(At("test"))=="Symbol(test)",gt=/^Symbol\((.*)\)[^)]+$/;it(St,"description",{configurable:!0,get:function(){var jt=qe(this)?this.valueOf():this,mt=rt.call(jt);if(ot(Qt,jt))return"";var Yt=ze?mt.slice(7,-1):mt.replace(gt,"$1");return Yt===""?void 0:Yt}}),Xe({global:!0,forced:!0},{Symbol:pt})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/define-well-known-symbol.js");Xe("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(ke,_e,xe){"use strict";var Xe=xe("./node_modules/core-js/internals/export.js"),De=xe("./node_modules/core-js/internals/global.js"),Qe=xe("./node_modules/core-js/internals/get-built-in.js"),ot=xe("./node_modules/core-js/internals/is-pure.js"),qe=xe("./node_modules/core-js/internals/descriptors.js"),it=xe("./node_modules/core-js/internals/native-symbol.js"),st=xe("./node_modules/core-js/internals/fails.js"),At=xe("./node_modules/core-js/internals/has.js"),Qt=xe("./node_modules/core-js/internals/is-array.js"),pt=xe("./node_modules/core-js/internals/is-object.js"),St=xe("./node_modules/core-js/internals/is-symbol.js"),rt=xe("./node_modules/core-js/internals/an-object.js"),ze=xe("./node_modules/core-js/internals/to-object.js"),gt=xe("./node_modules/core-js/internals/to-indexed-object.js"),Et=xe("./node_modules/core-js/internals/to-property-key.js"),jt=xe("./node_modules/core-js/internals/to-string.js"),mt=xe("./node_modules/core-js/internals/create-property-descriptor.js"),Yt=xe("./node_modules/core-js/internals/object-create.js"),Tt=xe("./node_modules/core-js/internals/object-keys.js"),Xt=xe("./node_modules/core-js/internals/object-get-own-property-names.js"),bt=xe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),un=xe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Ln=xe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),Vt=xe("./node_modules/core-js/internals/object-define-property.js"),nn=xe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Kt=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ge=xe("./node_modules/core-js/internals/redefine.js"),Fe=xe("./node_modules/core-js/internals/shared.js"),ft=xe("./node_modules/core-js/internals/shared-key.js"),sn=xe("./node_modules/core-js/internals/hidden-keys.js"),$t=xe("./node_modules/core-js/internals/uid.js"),Mt=xe("./node_modules/core-js/internals/well-known-symbol.js"),_t=xe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),hn=xe("./node_modules/core-js/internals/define-well-known-symbol.js"),Jn=xe("./node_modules/core-js/internals/set-to-string-tag.js"),Kn=xe("./node_modules/core-js/internals/internal-state.js"),Ar=xe("./node_modules/core-js/internals/array-iteration.js").forEach,ln=ft("hidden"),on="Symbol",vn="prototype",Ue=Mt("toPrimitive"),we=Kn.set,pe=Kn.getterFor(on),Ee=Object[vn],Me=De.Symbol,me=Qe("JSON","stringify"),$e=Ln.f,Pt=Vt.f,an=bt.f,An=nn.f,In=Fe("symbols"),En=Fe("op-symbols"),Pn=Fe("string-to-symbol-registry"),Zn=Fe("symbol-to-string-registry"),Cr=Fe("wks"),Bt=De.QObject,dn=!Bt||!Bt[vn]||!Bt[vn].findChild,_n=qe&&st(function(){return Yt(Pt({},"a",{get:function(){return Pt(this,"a",{value:7}).a}})).a!=7})?function(kr,dr,pr){var zr=$e(Ee,dr);zr&&delete Ee[dr],Pt(kr,dr,pr),zr&&kr!==Ee&&Pt(Ee,dr,zr)}:Pt,Ot=function(kr,dr){var pr=In[kr]=Yt(Me[vn]);return we(pr,{type:on,tag:kr,description:dr}),qe||(pr.description=dr),pr},nt=function(dr,pr,zr){dr===Ee&&nt(En,pr,zr),rt(dr);var mi=Et(pr);return rt(zr),At(In,mi)?(zr.enumerable?(At(dr,ln)&&dr[ln][mi]&&(dr[ln][mi]=!1),zr=Yt(zr,{enumerable:mt(0,!1)})):(At(dr,ln)||Pt(dr,ln,mt(1,{})),dr[ln][mi]=!0),_n(dr,mi,zr)):Pt(dr,mi,zr)},Ft=function(dr,pr){rt(dr);var zr=gt(pr),mi=Tt(zr).concat(Nr(zr));return Ar(mi,function(si){(!qe||Vn.call(zr,si))&&nt(dr,si,zr[si])}),dr},Tn=function(dr,pr){return pr===void 0?Yt(dr):Ft(Yt(dr),pr)},Vn=function(dr){var pr=Et(dr),zr=An.call(this,pr);return this===Ee&&At(In,pr)&&!At(En,pr)?!1:zr||!At(this,pr)||!At(In,pr)||At(this,ln)&&this[ln][pr]?zr:!0},tr=function(dr,pr){var zr=gt(dr),mi=Et(pr);if(!(zr===Ee&&At(In,mi)&&!At(En,mi))){var si=$e(zr,mi);return si&&At(In,mi)&&!(At(zr,ln)&&zr[ln][mi])&&(si.enumerable=!0),si}},jr=function(dr){var pr=an(gt(dr)),zr=[];return Ar(pr,function(mi){!At(In,mi)&&!At(sn,mi)&&zr.push(mi)}),zr},Nr=function(dr){var pr=dr===Ee,zr=an(pr?En:gt(dr)),mi=[];return Ar(zr,function(si){At(In,si)&&(!pr||At(Ee,si))&&mi.push(In[si])}),mi};if(it||(Me=function(){if(this instanceof Me)throw TypeError("Symbol is not a constructor");var dr=!arguments.length||arguments[0]===void 0?void 0:jt(arguments[0]),pr=$t(dr),zr=function(mi){this===Ee&&zr.call(En,mi),At(this,ln)&&At(this[ln],pr)&&(this[ln][pr]=!1),_n(this,pr,mt(1,mi))};return qe&&dn&&_n(Ee,pr,{configurable:!0,set:zr}),Ot(pr,dr)},Ge(Me[vn],"toString",function(){return pe(this).tag}),Ge(Me,"withoutSetter",function(kr){return Ot($t(kr),kr)}),nn.f=Vn,Vt.f=nt,Ln.f=tr,Xt.f=bt.f=jr,un.f=Nr,_t.f=function(kr){return Ot(Mt(kr),kr)},qe&&(Pt(Me[vn],"description",{configurable:!0,get:function(){return pe(this).description}}),ot||Ge(Ee,"propertyIsEnumerable",Vn,{unsafe:!0}))),Xe({global:!0,wrap:!0,forced:!it,sham:!it},{Symbol:Me}),Ar(Tt(Cr),function(kr){hn(kr)}),Xe({target:on,stat:!0,forced:!it},{for:function(kr){var dr=jt(kr);if(At(Pn,dr))return Pn[dr];var pr=Me(dr);return Pn[dr]=pr,Zn[pr]=dr,pr},keyFor:function(dr){if(!St(dr))throw TypeError(dr+" is not a symbol");if(At(Zn,dr))return Zn[dr]},useSetter:function(){dn=!0},useSimple:function(){dn=!1}}),Xe({target:"Object",stat:!0,forced:!it,sham:!qe},{create:Tn,defineProperty:nt,defineProperties:Ft,getOwnPropertyDescriptor:tr}),Xe({target:"Object",stat:!0,forced:!it},{getOwnPropertyNames:jr,getOwnPropertySymbols:Nr}),Xe({target:"Object",stat:!0,forced:st(function(){un.f(1)})},{getOwnPropertySymbols:function(dr){return un.f(ze(dr))}}),me){var Kr=!it||st(function(){var kr=Me();return me([kr])!="[null]"||me({a:kr})!="{}"||me(Object(kr))!="{}"});Xe({target:"JSON",stat:!0,forced:Kr},{stringify:function(dr,pr,zr){for(var mi=[dr],si=1,xa;arguments.length>si;)mi.push(arguments[si++]);if(xa=pr,!(!pt(pr)&&dr===void 0||St(dr)))return Qt(pr)||(pr=function(Ti,Wi){if(typeof xa=="function"&&(Wi=xa.call(this,Ti,Wi)),!St(Wi))return Wi}),mi[1]=pr,me.apply(null,mi)}})}Me[vn][Ue]||Kt(Me[vn],Ue,Me[vn].valueOf),Jn(Me,on),sn[ln]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/dom-iterables.js"),Qe=xe("./node_modules/core-js/internals/array-for-each.js"),ot=xe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var qe in De){var it=Xe[qe],st=it&&it.prototype;if(st&&st.forEach!==Qe)try{ot(st,"forEach",Qe)}catch(At){st.forEach=Qe}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(ke,_e,xe){var Xe=xe("./node_modules/core-js/internals/global.js"),De=xe("./node_modules/core-js/internals/dom-iterables.js"),Qe=xe("./node_modules/core-js/modules/es.array.iterator.js"),ot=xe("./node_modules/core-js/internals/create-non-enumerable-property.js"),qe=xe("./node_modules/core-js/internals/well-known-symbol.js"),it=qe("iterator"),st=qe("toStringTag"),At=Qe.values;for(var Qt in De){var pt=Xe[Qt],St=pt&&pt.prototype;if(St){if(St[it]!==At)try{ot(St,it,At)}catch(ze){St[it]=At}if(St[st]||ot(St,st,Qt),De[Qt]){for(var rt in Qe)if(St[rt]!==Qe[rt])try{ot(St,rt,Qe[rt])}catch(ze){St[rt]=Qe[rt]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(ke){(function(_e,xe){ke.exports=xe()})(this,function(){"use strict";function _e(Bt){var dn=typeof Bt;return Bt!==null&&(dn==="object"||dn==="function")}function xe(Bt){return typeof Bt=="function"}var Xe=void 0;Array.isArray?Xe=Array.isArray:Xe=function(Bt){return Object.prototype.toString.call(Bt)==="[object Array]"};var De=Xe,Qe=0,ot=void 0,qe=void 0,it=function(dn,_n){Tt[Qe]=dn,Tt[Qe+1]=_n,Qe+=2,Qe===2&&(qe?qe(Xt):un())};function st(Bt){qe=Bt}function At(Bt){it=Bt}var Qt=typeof window!="undefined"?window:void 0,pt=Qt||{},St=pt.MutationObserver||pt.WebKitMutationObserver,rt=typeof self=="undefined"&&typeof ge!="undefined"&&{}.toString.call(ge)==="[object process]",ze=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function gt(){return function(){return ge.nextTick(Xt)}}function Et(){return typeof ot!="undefined"?function(){ot(Xt)}:Yt()}function jt(){var Bt=0,dn=new St(Xt),_n=document.createTextNode("");return dn.observe(_n,{characterData:!0}),function(){_n.data=Bt=++Bt%2}}function mt(){var Bt=new MessageChannel;return Bt.port1.onmessage=Xt,function(){return Bt.port2.postMessage(0)}}function Yt(){var Bt=setTimeout;return function(){return Bt(Xt,1)}}var Tt=new Array(1e3);function Xt(){for(var Bt=0;Bt>1|(At&21845)<<1;Qt=(Qt&52428)>>2|(Qt&13107)<<2,Qt=(Qt&61680)>>4|(Qt&3855)<<4,st[At]=((Qt&65280)>>8|(Qt&255)<<8)>>1}for(var pt=function(E,ne,te){for(var oe=E.length,ce=0,fe=new We(ne);ce>Te]=Re}else for(Se=new We(oe),ce=0;ce>15-E[ce]);return Se},St=new zt(288),At=0;At<144;++At)St[At]=8;for(var At=144;At<256;++At)St[At]=9;for(var At=256;At<280;++At)St[At]=7;for(var At=280;At<288;++At)St[At]=8;for(var rt=new zt(32),At=0;At<32;++At)rt[At]=5;var ze=pt(St,9,0),gt=null,Et=pt(rt,5,0),jt=null,mt=function(E){for(var ne=E[0],te=1;tene&&(ne=E[te]);return ne},Yt=function(E,ne,te){var oe=ne/8|0;return(E[oe]|E[oe+1]<<8)>>(ne&7)&te},Tt=function(E,ne){var te=ne/8|0;return(E[te]|E[te+1]<<8|E[te+2]<<16)>>(ne&7)},Xt=function(E){return(E+7)/8|0},bt=function(E,ne,te){return(ne==null||ne<0)&&(ne=0),(te==null||te>E.length)&&(te=E.length),new zt(E.subarray(ne,te))},un={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ln=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Vt=function(E,ne,te){var oe=new Error(ne||Ln[E]);if(oe.code=E,Error.captureStackTrace&&Error.captureStackTrace(oe,Vt),!te)throw oe;return oe},nn=function(E,ne,te,oe){var ce=E.length,fe=oe?oe.length:0;if(!ce||ne.f&&!ne.l)return te||new zt(0);var Ie=!te,Se=Ie||ne.i!=2,Te=ne.i;Ie&&(te=new zt(ce*3));var Re=function(Aa){var Ka=te.length;if(Aa>Ka){var Wa=new zt(Math.max(Ka*2,Aa));Wa.set(te),te=Wa}},Ze=ne.f||0,kt=ne.p||0,Nt=ne.b||0,Ve=ne.l,yn=ne.d,fn=ne.m,Cn=ne.n,en=ce*8;do{if(!Ve){Ze=Yt(E,kt,1);var sr=Yt(E,kt+1,3);if(kt+=3,sr)if(sr==1)Ve=gt,yn=jt,fn=9,Cn=5;else if(sr==2){var yi=Yt(E,kt,31)+257,li=Yt(E,kt+10,15)+4,br=yi+Yt(E,kt+5,31)+1;kt+=14;for(var Rn=new zt(br),Or=new zt(19),Jt=0;Jt>4;if(qn<16)Rn[Jt++]=qn;else{var oi=0,hi=0;for(qn==16?(hi=3+Yt(E,kt,3),kt+=2,oi=Rn[Jt-1]):qn==17?(hi=3+Yt(E,kt,7),kt+=3):qn==18&&(hi=11+Yt(E,kt,127),kt+=7);hi--;)Rn[Jt++]=oi}}var Zr=Rn.subarray(0,yi),di=Rn.subarray(yi);fn=mt(Zr),Cn=mt(di),Ve=pt(Zr,fn,1),yn=pt(di,Cn,1)}else Vt(1);else{var qn=Xt(kt)+4,Un=E[qn-4]|E[qn-3]<<8,Gr=qn+Un;if(Gr>ce){Te&&Vt(0);break}Se&&Re(Nt+Un),te.set(E.subarray(qn,Gr),Nt),ne.b=Nt+=Un,ne.p=kt=Gr*8,ne.f=Ze;continue}if(kt>en){Te&&Vt(0);break}}Se&&Re(Nt+131072);for(var ba=(1<>4;if(kt+=oi&15,kt>en){Te&&Vt(0);break}if(oi||Vt(2),Nn<256)te[Nt++]=Nn;else if(Nn==256){Wt=kt,Ve=null;break}else{var Wn=Nn-254;if(Nn>264){var Jt=Nn-257,ur=vt[Jt];Wn=Yt(E,kt,(1<>4;Br||Vt(3),kt+=Br&15;var di=qe[Hr];if(Hr>3){var ur=ke[Hr];di+=Tt(E,kt)&(1<en){Te&&Vt(0);break}Se&&Re(Nt+131072);var ti=Nt+Wn;if(Nt>8},Ge=function(E,ne,te){te<<=ne&7;var oe=ne/8|0;E[oe]|=te,E[oe+1]|=te>>8,E[oe+2]|=te>>16},Fe=function(E,ne){for(var te=[],oe=0;oeNt&&(Nt=fe[oe].s);var Ve=new We(Nt+1),yn=ft(te[Ze-1],Ve,0);if(yn>ne){var oe=0,fn=0,Cn=yn-ne,en=1<ne)fn+=en-(1<>=Cn;fn>0;){var qn=fe[oe].s;Ve[qn]=0&&fn;--oe){var Un=fe[oe].s;Ve[Un]==ne&&(--Ve[Un],++fn)}yn=ne}return{t:new zt(Ve),l:yn}},ft=function(E,ne,te){return E.s==-1?Math.max(ft(E.l,ne,te+1),ft(E.r,ne,te+1)):ne[E.s]=te},sn=function(E){for(var ne=E.length;ne&&!E[--ne];);for(var te=new We(++ne),oe=0,ce=E[0],fe=1,Ie=function(Te){te[oe++]=Te},Se=1;Se<=ne;++Se)if(E[Se]==ce&&Se!=ne)++fe;else{if(!ce&&fe>2){for(;fe>138;fe-=138)Ie(32754);fe>2&&(Ie(fe>10?fe-11<<5|28690:fe-3<<5|12305),fe=0)}else if(fe>3){for(Ie(ce),--fe;fe>6;fe-=6)Ie(8304);fe>2&&(Ie(fe-3<<5|8208),fe=0)}for(;fe--;)Ie(ce);fe=1,ce=E[Se]}return{c:te.subarray(0,oe),n:ne}},$t=function(E,ne){for(var te=0,oe=0;oe>8,E[ce+2]=E[ce]^255,E[ce+3]=E[ce+1]^255;for(var fe=0;fe4&&!Or[_e[Bn-1]];--Bn);var ar=Re+5<<3,nr=$t(ce,St)+$t(fe,rt)+Ie,$r=$t(ce,Nt)+$t(fe,fn)+Ie+14+3*Bn+$t(li,Or)+2*li[16]+3*li[17]+7*li[18];if(Te>=0&&ar<=nr&&ar<=$r)return Mt(ne,Ze,E.subarray(Te,Te+Re));var oi,hi,Zr,di;if(Kt(ne,Ze,1+($r15&&(Kt(ne,Ze,Nn[br]>>5&127),Ze+=Nn[br]>>12)}}else oi=ze,hi=St,Zr=Et,di=rt;for(var br=0;br255){var Wn=ur>>18&31;Ge(ne,Ze,oi[Wn+257]),Ze+=hi[Wn+257],Wn>7&&(Kt(ne,Ze,ur>>23&31),Ze+=vt[Wn]);var Br=ur&31;Ge(ne,Ze,Zr[Br]),Ze+=di[Br],Br>3&&(Ge(ne,Ze,ur>>5&8191),Ze+=ke[Br])}else Ge(ne,Ze,oi[ur]),Ze+=hi[ur]}return Ge(ne,Ze,oi[256]),Ze+hi[256]},hn=new lt([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Jn=new zt(0),Kn=function(E,ne,te,oe,ce,fe){var Ie=fe.z||E.length,Se=new zt(oe+Ie+5*(1+Math.ceil(Ie/7e3))+ce),Te=Se.subarray(oe,Se.length-ce),Re=fe.l,Ze=(fe.r||0)&7;if(ne){Ze&&(Te[0]=fe.r>>3);for(var kt=hn[ne-1],Nt=kt>>13,Ve=kt&8191,yn=(1<7e3||Or>24576)&&(oi>423||!Re)){Ze=_t(E,Te,0,Un,Gr,yi,br,Or,Bn,Rn-Bn,Ze),Or=li=br=0,Bn=Rn;for(var hi=0;hi<286;++hi)Gr[hi]=0;for(var hi=0;hi<30;++hi)yi[hi]=0}var Zr=2,di=0,ba=Ve,Ki=nr-$r&32767;if(oi>2&&ar==qn(Rn-Ki))for(var Wt=Math.min(Nt,oi)-1,Nn=Math.min(32767,Rn),Wn=Math.min(258,oi);Ki<=Nn&&--ba&&nr!=$r;){if(E[Rn+Zr]==E[Rn+Zr-Ki]){for(var ur=0;urZr){if(Zr=ur,di=Ki,ur>Wt)break;for(var Br=Math.min(Ki,ur-2),Hr=0,hi=0;hiHr&&(Hr=Ii,$r=ti)}}}nr=$r,$r=fn[nr],Ki+=nr-$r&32767}if(di){Un[Or++]=268435456|Qe[Zr]<<18|it[di];var Aa=Qe[Zr]&31,Ka=it[di]&31;br+=vt[Aa]+ke[Ka],++Gr[257+Aa],++yi[Ka],Jt=Rn+Zr,++li}else Un[Or++]=E[Rn],++Gr[E[Rn]]}}for(Rn=Math.max(Rn,Jt);Rn=Ie&&(Te[Ze/8|0]=Re,Wa=Ie),Ze=Mt(Te,Ze+1,E.subarray(Rn,Wa))}fe.i=Ie}return bt(Se,0,oe+Xt(Ze)+ce)},Ar=null,ln=function(){var E=-1;return{p:function(ne){for(var te=E,oe=0;oe>>8;E=te},d:function(){return~E}}},on=function(){var E=1,ne=0;return{p:function(te){for(var oe=E,ce=ne,fe=te.length|0,Ie=0;Ie!=fe;){for(var Se=Math.min(Ie+2655,fe);Ie>16),ce=(ce&65535)+15*(ce>>16)}E=oe,ne=ce},d:function(){return E%=65521,ne%=65521,(E&255)<<24|(E&65280)<<8|(ne&255)<<8|ne>>8}}},vn=function(E,ne,te,oe,ce){if(!ce&&(ce={l:1},ne.dictionary)){var fe=ne.dictionary.subarray(-32768),Ie=new zt(fe.length+E.length);Ie.set(fe),Ie.set(E,fe.length),E=Ie,ce.w=fe.length}return Kn(E,ne.level==null?6:ne.level,ne.mem==null?ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(E.length)))*1.5):20:12+ne.mem,te,oe,ce)},Ue=function(E,ne){var te={};for(var oe in E)te[oe]=E[oe];for(var oe in ne)te[oe]=ne[oe];return te},we=function(E,ne,te){for(var oe=E(),ce=E.toString(),fe=ce.slice(ce.indexOf("[")+1,ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ie=0;Ie>>0},Ot=function(E,ne){return _n(E,ne)+_n(E,ne+4)*4294967296},nt=function(E,ne,te){for(;te;++ne)E[ne]=te,te>>>=8},Ft=function(E,ne){var te=ne.filename;if(E[0]=31,E[1]=139,E[2]=8,E[8]=ne.level<2?4:ne.level==9?2:0,E[9]=3,ne.mtime!=0&&nt(E,4,Math.floor(new Date(ne.mtime||Date.now())/1e3)),te){E[3]=8;for(var oe=0;oe<=te.length;++oe)E[oe+10]=te.charCodeAt(oe)}},Tn=function(E){(E[0]!=31||E[1]!=139||E[2]!=8)&&Vt(6,"invalid gzip data");var ne=E[3],te=10;ne&4&&(te+=(E[10]|E[11]<<8)+2);for(var oe=(ne>>3&1)+(ne>>4&1);oe>0;oe-=!E[te++]);return te+(ne&2)},Vn=function(E){var ne=E.length;return(E[ne-4]|E[ne-3]<<8|E[ne-2]<<16|E[ne-1]<<24)>>>0},tr=function(E){return 10+(E.filename?E.filename.length+1:0)},jr=function(E,ne){var te=ne.level,oe=te==0?0:te<6?1:te==9?3:2;if(E[0]=120,E[1]=oe<<6|(ne.dictionary&&32),E[1]|=31-(E[0]<<8|E[1])%31,ne.dictionary){var ce=on();ce.p(ne.dictionary),nt(E,2,ce.d())}},Nr=function(E,ne){return((E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31)&&Vt(6,"invalid zlib data"),(E[1]>>5&1)==+!ne&&Vt(6,"invalid zlib data: "+(E[1]&32?"need":"unexpected")+" dictionary"),(E[1]>>3&4)+2};function Kr(E,ne){return typeof E=="function"&&(ne=E,E={}),this.ondata=ne,E}var kr=null,dr=null;function pr(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),Zn(E,ne,[$e],function(oe){return En(zr(oe.data[0],oe.data[1]))},0,te)}function zr(E,ne){return vn(E,ne||{},0,0)}var mi=null,si=null;function xa(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),Zn(E,ne,[me],function(oe){return En(Ti(oe.data[0],Pn(oe.data[1])))},1,te)}function Ti(E,ne){return nn(E,{i:2},ne&&ne.out,ne&&ne.dictionary)}var Wi=null,Wr=null;function Fa(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),Zn(E,ne,[$e,Pt,function(){return[Oi]}],function(oe){return En(Oi(oe.data[0],oe.data[1]))},2,te)}function Oi(E,ne){ne||(ne={});var te=ln(),oe=E.length;te.p(E);var ce=vn(E,ne,tr(ne),8),fe=ce.length;return Ft(ce,ne),nt(ce,fe-8,te.d()),nt(ce,fe-4,oe),ce}var Yi=null,Da=null;function Qi(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),Zn(E,ne,[me,an,function(){return[Bi]}],function(oe){return En(Bi(oe.data[0],oe.data[1]))},3,te)}function Bi(E,ne){var te=Tn(E);return te+8>E.length&&Vt(6,"invalid gzip data"),nn(E.subarray(te,-8),{i:2},ne&&ne.out||new zt(Vn(E)),ne&&ne.dictionary)}var Hi=null,ci=null;function Vr(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),Zn(E,ne,[$e,An,function(){return[ia]}],function(oe){return En(ia(oe.data[0],oe.data[1]))},4,te)}function ia(E,ne){ne||(ne={});var te=on();te.p(E);var oe=vn(E,ne,ne.dictionary?6:2,4);return jr(oe,ne),nt(oe,oe.length-4,te.d()),oe}var cn=null,tt=null;function yt(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),Zn(E,ne,[me,In,function(){return[ht]}],function(oe){return En(ht(oe.data[0],Pn(oe.data[1])))},5,te)}function ht(E,ne){return nn(E.subarray(Nr(E,ne&&ne.dictionary),-4),{i:2},ne&&ne.out,ne&&ne.dictionary)}var dt=null,xt=null;function Gt(E,ne,te){return te||(te=ne,ne={}),typeof te!="function"&&Vt(7),E[0]==31&&E[1]==139&&E[2]==8?Qi(E,ne,te):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?xa(E,ne,te):yt(E,ne,te)}function Fn(E,ne){return E[0]==31&&E[1]==139&&E[2]==8?Bi(E,ne):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?Ti(E,ne):ht(E,ne)}var Mn=function(E,ne,te,oe){for(var ce in E){var fe=E[ce],Ie=ne+ce,Se=oe;Array.isArray(fe)&&(Se=Ue(oe,fe[1]),fe=fe[0]),fe instanceof zt?te[Ie]=[fe,Se]:(te[Ie+="/"]=[new zt(0),Se],Mn(fe,Ie,te,oe))}},jn=typeof TextEncoder!="undefined"&&new TextEncoder,or=typeof TextDecoder!="undefined"&&new TextDecoder,Sr=0;try{or.decode(Jn,{stream:!0}),Sr=1}catch(E){}var Pr=function(E){for(var ne="",te=0;;){var oe=E[te++],ce=(oe>127)+(oe>223)+(oe>239);if(te+ce>E.length)return{s:ne,r:bt(E,te-1)};ce?ce==3?(oe=((oe&15)<<18|(E[te++]&63)<<12|(E[te++]&63)<<6|E[te++]&63)-65536,ne+=String.fromCharCode(55296|oe>>10,56320|oe&1023)):ce&1?ne+=String.fromCharCode((oe&31)<<6|E[te++]&63):ne+=String.fromCharCode((oe&15)<<12|(E[te++]&63)<<6|E[te++]&63):ne+=String.fromCharCode(oe)}},Qn=null,mr=null;function vi(E,ne){if(ne){for(var te=new zt(E.length),oe=0;oe>1)),Ie=0,Se=function(Ze){fe[Ie++]=Ze},oe=0;oefe.length){var Te=new zt(Ie+8+(ce-oe<<1));Te.set(fe),fe=Te}var Re=E.charCodeAt(oe);Re<128||ne?Se(Re):Re<2048?(Se(192|Re>>6),Se(128|Re&63)):Re>55295&&Re<57344?(Re=65536+(Re&1047552)|E.charCodeAt(++oe)&1023,Se(240|Re>>18),Se(128|Re>>12&63),Se(128|Re>>6&63),Se(128|Re&63)):(Se(224|Re>>12),Se(128|Re>>6&63),Se(128|Re&63))}return bt(fe,0,Ie)}function qr(E,ne){if(ne){for(var te="",oe=0;oe65535&&Vt(9),ne+=oe+4}return ne},tn=function(E,ne,te,oe,ce,fe,Ie,Se){var Te=oe.length,Re=te.extra,Ze=Se&&Se.length,kt=Ri(Re);nt(E,ne,Ie!=null?33639248:67324752),ne+=4,Ie!=null&&(E[ne++]=20,E[ne++]=te.os),E[ne]=20,ne+=2,E[ne++]=te.flag<<1|(fe<0&&8),E[ne++]=ce&&8,E[ne++]=te.compression&255,E[ne++]=te.compression>>8;var Nt=new Date(te.mtime==null?Date.now():te.mtime),Ve=Nt.getFullYear()-1980;if((Ve<0||Ve>119)&&Vt(10),nt(E,ne,Ve<<25|Nt.getMonth()+1<<21|Nt.getDate()<<16|Nt.getHours()<<11|Nt.getMinutes()<<5|Nt.getSeconds()>>1),ne+=4,fe!=-1&&(nt(E,ne,te.crc),nt(E,ne+4,fe<0?-fe-2:fe),nt(E,ne+8,te.size)),nt(E,ne+12,Te),nt(E,ne+14,kt),ne+=16,Ie!=null&&(nt(E,ne,Ze),nt(E,ne+6,te.attrs),nt(E,ne+10,Ie),ne+=14),E.set(oe,ne),ne+=Te,kt)for(var yn in Re){var fn=Re[yn],Cn=fn.length;nt(E,ne,+yn),nt(E,ne+2,Cn),E.set(fn,ne+4),ne+=4+Cn}return Ze&&(E.set(Se,ne),ne+=Ze),ne},Xn=function(E,ne,te,oe,ce){nt(E,ne,101010256),nt(E,ne+8,te),nt(E,ne+10,te),nt(E,ne+12,oe),nt(E,ne+16,ce)},Gn=null,yr=null,$n=null,cr=null;function rr(E,ne,te){te||(te=ne,ne={}),typeof te!="function"&&Vt(7);var oe={};Mn(E,"",oe,ne);var ce=Object.keys(oe),fe=ce.length,Ie=0,Se=0,Te=fe,Re=new Array(fe),Ze=[],kt=function(){for(var Cn=0;Cn65535&&nr(Vt(11,0,1),null),!ar)nr(null,qn);else if(yi<16e4)try{nr(null,zr(qn,Un))}catch($r){nr($r,null)}else Ze.push(pr(qn,Un,nr))},fn=0;fn65535&&Vt(11);var en=Ze?zr(Te,Re):Te,sr=en.length,qn=ln();qn.p(Te),oe.push(Ue(Re,{size:Te.length,crc:qn.d(),c:en,f:kt,m:yn,u:Nt!=Ie.length||yn&&Ve.length!=fn,o:ce,compression:Ze})),ce+=30+Nt+Cn+sr,fe+=76+2*(Nt+Cn)+(fn||0)+sr}for(var Un=new zt(fe+22),Gr=ce,yi=fe-ce,li=0;li65558)return Ie(Vt(13,0,1),null),ce;var Te=dn(E,Se+8);if(Te){var Re=Te,Ze=_n(E,Se+16),kt=Ze==4294967295||Re==65535;if(kt){var Nt=_n(E,Se-12);kt=_n(E,Nt)==101075792,kt&&(Re=Te=_n(E,Nt+32),Ze=_n(E,Nt+48))}for(var Ve=ne&&ne.filter,yn=function(Cn){var en=Xi(E,Ze,kt),sr=en[0],qn=en[1],Un=en[2],Gr=en[3],yi=en[4],li=en[5],br=pi(E,li);Ze=yi;var Rn=function(Jt,Bn){Jt?(ce(),Ie(Jt,null)):(Bn&&(fe[Gr]=Bn),--Te||Ie(null,fe))};if(!Ve||Ve({name:Gr,size:qn,originalSize:Un,compression:sr}))if(!sr)Rn(null,bt(E,br,br+qn));else if(sr==8){var Or=E.subarray(br,br+qn);if(Un<524288||qn>.8*Un)try{Rn(null,Ti(Or,{out:new zt(Un)}))}catch(Jt){Rn(Jt,null)}else oe.push(xa(Or,{size:Un},Rn))}else Rn(Vt(14,"unknown compression type "+sr,1),null);else Rn(null,null)},fn=0;fn65558)&&Vt(13);var ce=dn(E,oe+8);if(!ce)return{};var fe=_n(E,oe+16),Ie=fe==4294967295||ce==65535;if(Ie){var Se=_n(E,oe-12);Ie=_n(E,Se)==101075792,Ie&&(ce=_n(E,Se+32),fe=_n(E,Se+48))}for(var Te=ne&&ne.filter,Re=0;Re{const E=new Uint8Array(4),ne=new Uint32Array(E.buffer);return!((ne[0]=1)&E[0])})(),Vi={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Oa{constructor(ne=aa,te={}){xl(this,"buffer");xl(this,"byteLength");xl(this,"byteOffset");xl(this,"length");xl(this,"offset");xl(this,"lastWrittenByte");xl(this,"littleEndian");xl(this,"_data");xl(this,"_mark");xl(this,"_marks");let oe=!1;typeof ne=="number"?ne=new ArrayBuffer(ne):(oe=!0,this.lastWrittenByte=ne.byteLength);const ce=te.offset?te.offset>>>0:0,fe=ne.byteLength-ce;let Ie=ce;(ArrayBuffer.isView(ne)||ne instanceof Oa)&&(ne.byteLength!==ne.buffer.byteLength&&(Ie=ne.byteOffset+ce),ne=ne.buffer),oe?this.lastWrittenByte=fe:this.lastWrittenByte=0,this.buffer=ne,this.length=fe,this.byteLength=fe,this.byteOffset=Ie,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ie,fe),this._mark=0,this._marks=[]}available(ne=1){return this.offset+ne<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(ne=1){return this.offset+=ne,this}back(ne=1){return this.offset-=ne,this}seek(ne){return this.offset=ne,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const ne=this._marks.pop();if(ne===void 0)throw new Error("Mark stack empty");return this.seek(ne),this}rewind(){return this.offset=0,this}ensureAvailable(ne=1){if(!this.available(ne)){const oe=(this.offset+ne)*2,ce=new Uint8Array(oe);ce.set(new Uint8Array(this.buffer)),this.buffer=ce.buffer,this.length=oe,this.byteLength=oe,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(ne=1){return this.readArray(ne,"uint8")}readArray(ne,te){const oe=Vi[te].BYTES_PER_ELEMENT*ne,ce=this.byteOffset+this.offset,fe=this.buffer.slice(ce,ce+oe);if(this.littleEndian===ma&&te!=="uint8"&&te!=="int8"){const Se=new Uint8Array(this.buffer.slice(ce,ce+oe));Se.reverse();const Te=new Vi[te](Se.buffer);return this.offset+=oe,Te.reverse(),Te}const Ie=new Vi[te](fe);return this.offset+=oe,Ie}readInt16(){const ne=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,ne}readUint16(){const ne=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,ne}readInt32(){const ne=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,ne}readUint32(){const ne=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat32(){const ne=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,ne}readFloat64(){const ne=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigInt64(){const ne=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,ne}readBigUint64(){const ne=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,ne}readChar(){return String.fromCharCode(this.readInt8())}readChars(ne=1){let te="";for(let oe=0;oethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const so=4,ua=0,Ai=1,Xr=2;function na(E){let ne=E.length;for(;--ne>=0;)E[ne]=0}const qi=0,fa=1,Qa=2,_a=3,co=258,za=29,Ko=256,ji=Ko+1+za,Ui=30,Na=19,Ua=2*ji+1,Fo=15,$s=16,Oo=7,Ao=256,zo=16,ts=17,Ni=18,Fi=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ki=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),zi=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ao=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ns=512,No=new Array((ji+2)*2);na(No);const So=new Array(Ui*2);na(So);const mo=new Array(ns);na(mo);const Go=new Array(co-_a+1);na(Go);const Us=new Array(za);na(Us);const bs=new Array(Ui);na(bs);function Cl(E,ne,te,oe,ce){this.static_tree=E,this.extra_bits=ne,this.extra_base=te,this.elems=oe,this.max_length=ce,this.has_stree=E&&E.length}let ol,Is,bc;function Ul(E,ne){this.dyn_tree=E,this.max_code=0,this.stat_desc=ne}const Ml=E=>E<256?mo[E]:mo[256+(E>>>7)],hr=(E,ne)=>{E.pending_buf[E.pending++]=ne&255,E.pending_buf[E.pending++]=ne>>>8&255},zn=(E,ne,te)=>{E.bi_valid>$s-te?(E.bi_buf|=ne<>$s-E.bi_valid,E.bi_valid+=te-$s):(E.bi_buf|=ne<{zn(E,te[ne*2],te[ne*2+1])},Tr=(E,ne)=>{let te=0;do te|=E&1,E>>>=1,te<<=1;while(--ne>0);return te>>>1},ei=E=>{E.bi_valid===16?(hr(E,E.bi_buf),E.bi_buf=0,E.bi_valid=0):E.bi_valid>=8&&(E.pending_buf[E.pending++]=E.bi_buf&255,E.bi_buf>>=8,E.bi_valid-=8)},ai=(E,ne)=>{const te=ne.dyn_tree,oe=ne.max_code,ce=ne.stat_desc.static_tree,fe=ne.stat_desc.has_stree,Ie=ne.stat_desc.extra_bits,Se=ne.stat_desc.extra_base,Te=ne.stat_desc.max_length;let Re,Ze,kt,Nt,Ve,yn,fn=0;for(Nt=0;Nt<=Fo;Nt++)E.bl_count[Nt]=0;for(te[E.heap[E.heap_max]*2+1]=0,Re=E.heap_max+1;ReTe&&(Nt=Te,fn++),te[Ze*2+1]=Nt,!(Ze>oe)&&(E.bl_count[Nt]++,Ve=0,Ze>=Se&&(Ve=Ie[Ze-Se]),yn=te[Ze*2],E.opt_len+=yn*(Nt+Ve),fe&&(E.static_len+=yn*(ce[Ze*2+1]+Ve)));if(fn!==0){do{for(Nt=Te-1;E.bl_count[Nt]===0;)Nt--;E.bl_count[Nt]--,E.bl_count[Nt+1]+=2,E.bl_count[Te]--,fn-=2}while(fn>0);for(Nt=Te;Nt!==0;Nt--)for(Ze=E.bl_count[Nt];Ze!==0;)kt=E.heap[--Re],!(kt>oe)&&(te[kt*2+1]!==Nt&&(E.opt_len+=(Nt-te[kt*2+1])*te[kt*2],te[kt*2+1]=Nt),Ze--)}},Er=(E,ne,te)=>{const oe=new Array(Fo+1);let ce=0,fe,Ie;for(fe=1;fe<=Fo;fe++)ce=ce+te[fe-1]<<1,oe[fe]=ce;for(Ie=0;Ie<=ne;Ie++){let Se=E[Ie*2+1];Se!==0&&(E[Ie*2]=Tr(oe[Se]++,Se))}},Si=()=>{let E,ne,te,oe,ce;const fe=new Array(Fo+1);for(te=0,oe=0;oe>=7;oe{let ne;for(ne=0;ne{E.bi_valid>8?hr(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0},va=(E,ne,te,oe)=>{const ce=ne*2,fe=te*2;return E[ce]{const oe=E.heap[te];let ce=te<<1;for(;ce<=E.heap_len&&(ce{let oe,ce,fe=0,Ie,Se;if(E.sym_next!==0)do oe=E.pending_buf[E.sym_buf+fe++]&255,oe+=(E.pending_buf[E.sym_buf+fe++]&255)<<8,ce=E.pending_buf[E.sym_buf+fe++],oe===0?Hn(E,ce,ne):(Ie=Go[ce],Hn(E,Ie+Ko+1,ne),Se=Fi[Ie],Se!==0&&(ce-=Us[Ie],zn(E,ce,Se)),oe--,Ie=Ml(oe),Hn(E,Ie,te),Se=ki[Ie],Se!==0&&(oe-=bs[Ie],zn(E,oe,Se)));while(fe{const te=ne.dyn_tree,oe=ne.stat_desc.static_tree,ce=ne.stat_desc.has_stree,fe=ne.stat_desc.elems;let Ie,Se,Te=-1,Re;for(E.heap_len=0,E.heap_max=Ua,Ie=0;Ie>1;Ie>=1;Ie--)xi(E,te,Ie);Re=fe;do Ie=E.heap[1],E.heap[1]=E.heap[E.heap_len--],xi(E,te,1),Se=E.heap[1],E.heap[--E.heap_max]=Ie,E.heap[--E.heap_max]=Se,te[Re*2]=te[Ie*2]+te[Se*2],E.depth[Re]=(E.depth[Ie]>=E.depth[Se]?E.depth[Ie]:E.depth[Se])+1,te[Ie*2+1]=te[Se*2+1]=Re,E.heap[1]=Re++,xi(E,te,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],ai(E,ne),Er(te,Te,E.bl_count)},fo=(E,ne,te)=>{let oe,ce=-1,fe,Ie=ne[0*2+1],Se=0,Te=7,Re=4;for(Ie===0&&(Te=138,Re=3),ne[(te+1)*2+1]=65535,oe=0;oe<=te;oe++)fe=Ie,Ie=ne[(oe+1)*2+1],!(++Se{let oe,ce=-1,fe,Ie=ne[0*2+1],Se=0,Te=7,Re=4;for(Ie===0&&(Te=138,Re=3),oe=0;oe<=te;oe++)if(fe=Ie,Ie=ne[(oe+1)*2+1],!(++Se{let ne;for(fo(E,E.dyn_ltree,E.l_desc.max_code),fo(E,E.dyn_dtree,E.d_desc.max_code),ka(E,E.bl_desc),ne=Na-1;ne>=3&&E.bl_tree[ao[ne]*2+1]===0;ne--);return E.opt_len+=3*(ne+1)+5+5+4,ne},to=(E,ne,te,oe)=>{let ce;for(zn(E,ne-257,5),zn(E,te-1,5),zn(E,oe-4,4),ce=0;ce{let ne=4093624447,te;for(te=0;te<=31;te++,ne>>>=1)if(ne&1&&E.dyn_ltree[te*2]!==0)return ua;if(E.dyn_ltree[9*2]!==0||E.dyn_ltree[10*2]!==0||E.dyn_ltree[13*2]!==0)return Ai;for(te=32;te{cs||(Si(),cs=!0),E.l_desc=new Ul(E.dyn_ltree,ol),E.d_desc=new Ul(E.dyn_dtree,Is),E.bl_desc=new Ul(E.bl_tree,bc),E.bi_buf=0,E.bi_valid=0,ha(E)},Fl=(E,ne,te,oe)=>{zn(E,(qi<<1)+(oe?1:0),3),Ha(E),hr(E,te),hr(E,~te),te&&E.pending_buf.set(E.window.subarray(ne,ne+te),E.pending),E.pending+=te},Nc=E=>{zn(E,fa<<1,3),Hn(E,Ao,No),ei(E)},gl=(E,ne,te,oe)=>{let ce,fe,Ie=0;E.level>0?(E.strm.data_type===Xr&&(E.strm.data_type=Ya(E)),ka(E,E.l_desc),ka(E,E.d_desc),Ie=Sa(E),ce=E.opt_len+3+7>>>3,fe=E.static_len+3+7>>>3,fe<=ce&&(ce=fe)):ce=fe=te+5,te+4<=ce&&ne!==-1?Fl(E,ne,te,oe):E.strategy===so||fe===ce?(zn(E,(fa<<1)+(oe?1:0),3),pa(E,No,So)):(zn(E,(Qa<<1)+(oe?1:0),3),to(E,E.l_desc.max_code+1,E.d_desc.max_code+1,Ie+1),pa(E,E.dyn_ltree,E.dyn_dtree)),ha(E),oe&&Ha(E)},Il=(E,ne,te)=>(E.pending_buf[E.sym_buf+E.sym_next++]=ne,E.pending_buf[E.sym_buf+E.sym_next++]=ne>>8,E.pending_buf[E.sym_buf+E.sym_next++]=te,ne===0?E.dyn_ltree[te*2]++:(E.matches++,ne--,E.dyn_ltree[(Go[te]+Ko+1)*2]++,E.dyn_dtree[Ml(ne)*2]++),E.sym_next===E.sym_end);var Rs=el,Qs=Fl,Gl=gl,Hs=Il,su=Nc,Zl={_tr_init:Rs,_tr_stored_block:Qs,_tr_flush_block:Gl,_tr_tally:Hs,_tr_align:su},vo=(E,ne,te,oe)=>{let ce=E&65535|0,fe=E>>>16&65535|0,Ie=0;for(;te!==0;){Ie=te>2e3?2e3:te,te-=Ie;do ce=ce+ne[oe++]|0,fe=fe+ce|0;while(--Ie);ce%=65521,fe%=65521}return ce|fe<<16|0};const hs=()=>{let E,ne=[];for(var te=0;te<256;te++){E=te;for(var oe=0;oe<8;oe++)E=E&1?3988292384^E>>>1:E>>>1;ne[te]=E}return ne},Zc=new Uint32Array(hs());var js=(E,ne,te,oe)=>{const ce=Zc,fe=oe+te;E^=-1;for(let Ie=oe;Ie>>8^ce[(E^ne[Ie])&255];return E^-1},Io={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Eo={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Vs,_tr_stored_block:Gs,_tr_flush_block:Ss,_tr_tally:Zs,_tr_align:Ds}=Zl,{Z_NO_FLUSH:sl,Z_PARTIAL_FLUSH:cc,Z_FULL_FLUSH:Yc,Z_FINISH:fl,Z_BLOCK:Yl,Z_OK:Xl,Z_STREAM_END:lu,Z_STREAM_ERROR:Dl,Z_DATA_ERROR:xh,Z_BUF_ERROR:Zd,Z_DEFAULT_COMPRESSION:AA,Z_FILTERED:Ch,Z_HUFFMAN_ONLY:Wu,Z_RLE:Of,Z_FIXED:uc,Z_DEFAULT_STRATEGY:SA,Z_UNKNOWN:Es,Z_DEFLATED:vs}=Eo,Ks=9,Uc=15,nc=8,rc=256+1+29,Mu=30,ku=19,bu=2*rc+1,EA=15,gs=3,Xc=258,Vu=Xc+gs+1,Y0=32,Gu=42,l0=57,Yd=69,Cd=73,Bh=91,Pf=103,Lu=113,WA=666,Jl=1,kl=2,cu=3,Jc=4,Gp=3,dA=(E,ne)=>(E.msg=Io[ne],ne),Sh=E=>E*2-(E>4?9:0),wu=E=>{let ne=E.length;for(;--ne>=0;)E[ne]=0},MA=E=>{let ne,te,oe,ce=E.w_size;ne=E.hash_size,oe=ne;do te=E.head[--oe],E.head[oe]=te>=ce?te-ce:0;while(--ne);ne=ce,oe=ne;do te=E.prev[--oe],E.prev[oe]=te>=ce?te-ce:0;while(--ne)};let Zu=(E,ne,te)=>(ne<{const ne=E.state;let te=ne.pending;te>E.avail_out&&(te=E.avail_out),te!==0&&(E.output.set(ne.pending_buf.subarray(ne.pending_out,ne.pending_out+te),E.next_out),E.next_out+=te,ne.pending_out+=te,E.total_out+=te,E.avail_out-=te,ne.pending-=te,ne.pending===0&&(ne.pending_out=0))},Ac=(E,ne)=>{Ss(E,E.block_start>=0?E.block_start:-1,E.strstart-E.block_start,ne),E.block_start=E.strstart,uu(E.strm)},Ms=(E,ne)=>{E.pending_buf[E.pending++]=ne},Yu=(E,ne)=>{E.pending_buf[E.pending++]=ne>>>8&255,E.pending_buf[E.pending++]=ne&255},VA=(E,ne,te,oe)=>{let ce=E.avail_in;return ce>oe&&(ce=oe),ce===0?0:(E.avail_in-=ce,ne.set(E.input.subarray(E.next_in,E.next_in+ce),te),E.state.wrap===1?E.adler=vo(E.adler,ne,ce,te):E.state.wrap===2&&(E.adler=js(E.adler,ne,ce,te)),E.next_in+=ce,E.total_in+=ce,ce)},kA=(E,ne)=>{let te=E.max_chain_length,oe=E.strstart,ce,fe,Ie=E.prev_length,Se=E.nice_match;const Te=E.strstart>E.w_size-Vu?E.strstart-(E.w_size-Vu):0,Re=E.window,Ze=E.w_mask,kt=E.prev,Nt=E.strstart+Xc;let Ve=Re[oe+Ie-1],yn=Re[oe+Ie];E.prev_length>=E.good_match&&(te>>=2),Se>E.lookahead&&(Se=E.lookahead);do if(ce=ne,!(Re[ce+Ie]!==yn||Re[ce+Ie-1]!==Ve||Re[ce]!==Re[oe]||Re[++ce]!==Re[oe+1])){oe+=2,ce++;do;while(Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&Re[++oe]===Re[++ce]&&oeIe){if(E.match_start=ne,Ie=fe,fe>=Se)break;Ve=Re[oe+Ie-1],yn=Re[oe+Ie]}}while((ne=kt[ne&Ze])>Te&&--te!==0);return Ie<=E.lookahead?Ie:E.lookahead},wc=E=>{const ne=E.w_size;let te,oe,ce;do{if(oe=E.window_size-E.lookahead-E.strstart,E.strstart>=ne+(ne-Vu)&&(E.window.set(E.window.subarray(ne,ne+ne-oe),0),E.match_start-=ne,E.strstart-=ne,E.block_start-=ne,E.insert>E.strstart&&(E.insert=E.strstart),MA(E),oe+=ne),E.strm.avail_in===0)break;if(te=VA(E.strm,E.window,E.strstart+E.lookahead,oe),E.lookahead+=te,E.lookahead+E.insert>=gs)for(ce=E.strstart-E.insert,E.ins_h=E.window[ce],E.ins_h=Zu(E,E.ins_h,E.window[ce+1]);E.insert&&(E.ins_h=Zu(E,E.ins_h,E.window[ce+gs-1]),E.prev[ce&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=ce,ce++,E.insert--,!(E.lookahead+E.insert{let te=E.pending_buf_size-5>E.w_size?E.w_size:E.pending_buf_size-5,oe,ce,fe,Ie=0,Se=E.strm.avail_in;do{if(oe=65535,fe=E.bi_valid+42>>3,E.strm.avail_outce+E.strm.avail_in&&(oe=ce+E.strm.avail_in),oe>fe&&(oe=fe),oe>8,E.pending_buf[E.pending-2]=~oe,E.pending_buf[E.pending-1]=~oe>>8,uu(E.strm),ce&&(ce>oe&&(ce=oe),E.strm.output.set(E.window.subarray(E.block_start,E.block_start+ce),E.strm.next_out),E.strm.next_out+=ce,E.strm.avail_out-=ce,E.strm.total_out+=ce,E.block_start+=ce,oe-=ce),oe&&(VA(E.strm,E.strm.output,E.strm.next_out,oe),E.strm.next_out+=oe,E.strm.avail_out-=oe,E.strm.total_out+=oe)}while(Ie===0);return Se-=E.strm.avail_in,Se&&(Se>=E.w_size?(E.matches=2,E.window.set(E.strm.input.subarray(E.strm.next_in-E.w_size,E.strm.next_in),0),E.strstart=E.w_size,E.insert=E.strstart):(E.window_size-E.strstart<=Se&&(E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,E.insert>E.strstart&&(E.insert=E.strstart)),E.window.set(E.strm.input.subarray(E.strm.next_in-Se,E.strm.next_in),E.strstart),E.strstart+=Se,E.insert+=Se>E.w_size-E.insert?E.w_size-E.insert:Se),E.block_start=E.strstart),E.high_waterfe&&E.block_start>=E.w_size&&(E.block_start-=E.w_size,E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,fe+=E.w_size,E.insert>E.strstart&&(E.insert=E.strstart)),fe>E.strm.avail_in&&(fe=E.strm.avail_in),fe&&(VA(E.strm,E.window,E.strstart,fe),E.strstart+=fe,E.insert+=fe>E.w_size-E.insert?E.w_size-E.insert:fe),E.high_water>3,fe=E.pending_buf_size-fe>65535?65535:E.pending_buf_size-fe,te=fe>E.w_size?E.w_size:fe,ce=E.strstart-E.block_start,(ce>=te||(ce||ne===fl)&&ne!==sl&&E.strm.avail_in===0&&ce<=fe)&&(oe=ce>fe?fe:ce,Ie=ne===fl&&E.strm.avail_in===0&&oe===ce?1:0,Gs(E,E.block_start,oe,Ie),E.block_start+=oe,uu(E.strm)),Ie?cu:Jl)},Nf=(E,ne)=>{let te,oe;for(;;){if(E.lookahead=gs&&(E.ins_h=Zu(E,E.ins_h,E.window[E.strstart+gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),te!==0&&E.strstart-te<=E.w_size-Vu&&(E.match_length=kA(E,te)),E.match_length>=gs)if(oe=Zs(E,E.strstart-E.match_start,E.match_length-gs),E.lookahead-=E.match_length,E.match_length<=E.max_lazy_match&&E.lookahead>=gs){E.match_length--;do E.strstart++,E.ins_h=Zu(E,E.ins_h,E.window[E.strstart+gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart;while(--E.match_length!==0);E.strstart++}else E.strstart+=E.match_length,E.match_length=0,E.ins_h=E.window[E.strstart],E.ins_h=Zu(E,E.ins_h,E.window[E.strstart+1]);else oe=Zs(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++;if(oe&&(Ac(E,!1),E.strm.avail_out===0))return Jl}return E.insert=E.strstart{let te,oe,ce;for(;;){if(E.lookahead=gs&&(E.ins_h=Zu(E,E.ins_h,E.window[E.strstart+gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),E.prev_length=E.match_length,E.prev_match=E.match_start,E.match_length=gs-1,te!==0&&E.prev_length4096)&&(E.match_length=gs-1)),E.prev_length>=gs&&E.match_length<=E.prev_length){ce=E.strstart+E.lookahead-gs,oe=Zs(E,E.strstart-1-E.prev_match,E.prev_length-gs),E.lookahead-=E.prev_length-1,E.prev_length-=2;do++E.strstart<=ce&&(E.ins_h=Zu(E,E.ins_h,E.window[E.strstart+gs-1]),te=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart);while(--E.prev_length!==0);if(E.match_available=0,E.match_length=gs-1,E.strstart++,oe&&(Ac(E,!1),E.strm.avail_out===0))return Jl}else if(E.match_available){if(oe=Zs(E,0,E.window[E.strstart-1]),oe&&Ac(E,!1),E.strstart++,E.lookahead--,E.strm.avail_out===0)return Jl}else E.match_available=1,E.strstart++,E.lookahead--}return E.match_available&&(oe=Zs(E,0,E.window[E.strstart-1]),E.match_available=0),E.insert=E.strstart{let te,oe,ce,fe;const Ie=E.window;for(;;){if(E.lookahead<=Xc){if(wc(E),E.lookahead<=Xc&&ne===sl)return Jl;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=gs&&E.strstart>0&&(ce=E.strstart-1,oe=Ie[ce],oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce])){fe=E.strstart+Xc;do;while(oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce]&&oe===Ie[++ce]&&ceE.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=gs?(te=Zs(E,1,E.match_length-gs),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(te=Zs(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),te&&(Ac(E,!1),E.strm.avail_out===0))return Jl}return E.insert=0,ne===fl?(Ac(E,!0),E.strm.avail_out===0?cu:Jc):E.sym_next&&(Ac(E,!1),E.strm.avail_out===0)?Jl:kl},Zp=(E,ne)=>{let te;for(;;){if(E.lookahead===0&&(wc(E),E.lookahead===0)){if(ne===sl)return Jl;break}if(E.match_length=0,te=Zs(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,te&&(Ac(E,!1),E.strm.avail_out===0))return Jl}return E.insert=0,ne===fl?(Ac(E,!0),E.strm.avail_out===0?cu:Jc):E.sym_next&&(Ac(E,!1),E.strm.avail_out===0)?Jl:kl};function Rc(E,ne,te,oe,ce){this.good_length=E,this.max_lazy=ne,this.nice_length=te,this.max_chain=oe,this.func=ce}const Fu=[new Rc(0,0,0,0,Xu),new Rc(4,4,8,4,Nf),new Rc(4,5,16,8,Nf),new Rc(4,6,32,32,Nf),new Rc(4,4,16,16,Bd),new Rc(8,16,32,32,Bd),new Rc(8,16,128,128,Bd),new Rc(8,32,128,256,Bd),new Rc(32,128,258,1024,Bd),new Rc(32,258,258,4096,Bd)],Yp=E=>{E.window_size=2*E.w_size,wu(E.head),E.max_lazy_match=Fu[E.level].max_lazy,E.good_match=Fu[E.level].good_length,E.nice_match=Fu[E.level].nice_length,E.max_chain_length=Fu[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=gs-1,E.match_available=0,E.ins_h=0};function Xp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=vs,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(bu*2),this.dyn_dtree=new Uint16Array((2*Mu+1)*2),this.bl_tree=new Uint16Array((2*ku+1)*2),wu(this.dyn_ltree),wu(this.dyn_dtree),wu(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(EA+1),this.heap=new Uint16Array(2*rc+1),wu(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*rc+1),wu(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Uf=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.status!==Gu&&ne.status!==l0&&ne.status!==Yd&&ne.status!==Cd&&ne.status!==Bh&&ne.status!==Pf&&ne.status!==Lu&&ne.status!==WA?1:0},J0=E=>{if(Uf(E))return dA(E,Dl);E.total_in=E.total_out=0,E.data_type=Es;const ne=E.state;return ne.pending=0,ne.pending_out=0,ne.wrap<0&&(ne.wrap=-ne.wrap),ne.status=ne.wrap===2?l0:ne.wrap?Gu:Lu,E.adler=ne.wrap===2?0:1,ne.last_flush=-2,Vs(ne),Xl},Rf=E=>{const ne=J0(E);return ne===Xl&&Yp(E.state),ne},Jp=(E,ne)=>Uf(E)||E.state.wrap!==2?Dl:(E.state.gzhead=ne,Xl),_l=(E,ne,te,oe,ce,fe)=>{if(!E)return Dl;let Ie=1;if(ne===AA&&(ne=6),oe<0?(Ie=0,oe=-oe):oe>15&&(Ie=2,oe-=16),ce<1||ce>Ks||te!==vs||oe<8||oe>15||ne<0||ne>9||fe<0||fe>uc||oe===8&&Ie!==1)return dA(E,Dl);oe===8&&(oe=9);const Se=new Xp;return E.state=Se,Se.strm=E,Se.status=Gu,Se.wrap=Ie,Se.gzhead=null,Se.w_bits=oe,Se.w_size=1<_l(E,ne,vs,Uc,nc,SA),Tl=(E,ne)=>{if(Uf(E)||ne>Yl||ne<0)return E?dA(E,Dl):Dl;const te=E.state;if(!E.output||E.avail_in!==0&&!E.input||te.status===WA&&ne!==fl)return dA(E,E.avail_out===0?Zd:Dl);const oe=te.last_flush;if(te.last_flush=ne,te.pending!==0){if(uu(E),E.avail_out===0)return te.last_flush=-1,Xl}else if(E.avail_in===0&&Sh(ne)<=Sh(oe)&&ne!==fl)return dA(E,Zd);if(te.status===WA&&E.avail_in!==0)return dA(E,Zd);if(te.status===Gu&&te.wrap===0&&(te.status=Lu),te.status===Gu){let ce=vs+(te.w_bits-8<<4)<<8,fe=-1;if(te.strategy>=Wu||te.level<2?fe=0:te.level<6?fe=1:te.level===6?fe=2:fe=3,ce|=fe<<6,te.strstart!==0&&(ce|=Y0),ce+=31-ce%31,Yu(te,ce),te.strstart!==0&&(Yu(te,E.adler>>>16),Yu(te,E.adler&65535)),E.adler=1,te.status=Lu,uu(E),te.pending!==0)return te.last_flush=-1,Xl}if(te.status===l0){if(E.adler=0,Ms(te,31),Ms(te,139),Ms(te,8),te.gzhead)Ms(te,(te.gzhead.text?1:0)+(te.gzhead.hcrc?2:0)+(te.gzhead.extra?4:0)+(te.gzhead.name?8:0)+(te.gzhead.comment?16:0)),Ms(te,te.gzhead.time&255),Ms(te,te.gzhead.time>>8&255),Ms(te,te.gzhead.time>>16&255),Ms(te,te.gzhead.time>>24&255),Ms(te,te.level===9?2:te.strategy>=Wu||te.level<2?4:0),Ms(te,te.gzhead.os&255),te.gzhead.extra&&te.gzhead.extra.length&&(Ms(te,te.gzhead.extra.length&255),Ms(te,te.gzhead.extra.length>>8&255)),te.gzhead.hcrc&&(E.adler=js(E.adler,te.pending_buf,te.pending,0)),te.gzindex=0,te.status=Yd;else if(Ms(te,0),Ms(te,0),Ms(te,0),Ms(te,0),Ms(te,0),Ms(te,te.level===9?2:te.strategy>=Wu||te.level<2?4:0),Ms(te,Gp),te.status=Lu,uu(E),te.pending!==0)return te.last_flush=-1,Xl}if(te.status===Yd){if(te.gzhead.extra){let ce=te.pending,fe=(te.gzhead.extra.length&65535)-te.gzindex;for(;te.pending+fe>te.pending_buf_size;){let Se=te.pending_buf_size-te.pending;if(te.pending_buf.set(te.gzhead.extra.subarray(te.gzindex,te.gzindex+Se),te.pending),te.pending=te.pending_buf_size,te.gzhead.hcrc&&te.pending>ce&&(E.adler=js(E.adler,te.pending_buf,te.pending-ce,ce)),te.gzindex+=Se,uu(E),te.pending!==0)return te.last_flush=-1,Xl;ce=0,fe-=Se}let Ie=new Uint8Array(te.gzhead.extra);te.pending_buf.set(Ie.subarray(te.gzindex,te.gzindex+fe),te.pending),te.pending+=fe,te.gzhead.hcrc&&te.pending>ce&&(E.adler=js(E.adler,te.pending_buf,te.pending-ce,ce)),te.gzindex=0}te.status=Cd}if(te.status===Cd){if(te.gzhead.name){let ce=te.pending,fe;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ce&&(E.adler=js(E.adler,te.pending_buf,te.pending-ce,ce)),uu(E),te.pending!==0)return te.last_flush=-1,Xl;ce=0}te.gzindexce&&(E.adler=js(E.adler,te.pending_buf,te.pending-ce,ce)),te.gzindex=0}te.status=Bh}if(te.status===Bh){if(te.gzhead.comment){let ce=te.pending,fe;do{if(te.pending===te.pending_buf_size){if(te.gzhead.hcrc&&te.pending>ce&&(E.adler=js(E.adler,te.pending_buf,te.pending-ce,ce)),uu(E),te.pending!==0)return te.last_flush=-1,Xl;ce=0}te.gzindexce&&(E.adler=js(E.adler,te.pending_buf,te.pending-ce,ce))}te.status=Pf}if(te.status===Pf){if(te.gzhead.hcrc){if(te.pending+2>te.pending_buf_size&&(uu(E),te.pending!==0))return te.last_flush=-1,Xl;Ms(te,E.adler&255),Ms(te,E.adler>>8&255),E.adler=0}if(te.status=Lu,uu(E),te.pending!==0)return te.last_flush=-1,Xl}if(E.avail_in!==0||te.lookahead!==0||ne!==sl&&te.status!==WA){let ce=te.level===0?Xu(te,ne):te.strategy===Wu?Zp(te,ne):te.strategy===Of?X0(te,ne):Fu[te.level].func(te,ne);if((ce===cu||ce===Jc)&&(te.status=WA),ce===Jl||ce===cu)return E.avail_out===0&&(te.last_flush=-1),Xl;if(ce===kl&&(ne===cc?Ds(te):ne!==Yl&&(Gs(te,0,0,!1),ne===Yc&&(wu(te.head),te.lookahead===0&&(te.strstart=0,te.block_start=0,te.insert=0))),uu(E),E.avail_out===0))return te.last_flush=-1,Xl}return ne!==fl?Xl:te.wrap<=0?lu:(te.wrap===2?(Ms(te,E.adler&255),Ms(te,E.adler>>8&255),Ms(te,E.adler>>16&255),Ms(te,E.adler>>24&255),Ms(te,E.total_in&255),Ms(te,E.total_in>>8&255),Ms(te,E.total_in>>16&255),Ms(te,E.total_in>>24&255)):(Yu(te,E.adler>>>16),Yu(te,E.adler&65535)),uu(E),te.wrap>0&&(te.wrap=-te.wrap),te.pending!==0?Xl:lu)},dc=E=>{if(Uf(E))return Dl;const ne=E.state.status;return E.state=null,ne===Lu?dA(E,xh):Xl},GA=(E,ne)=>{let te=ne.length;if(Uf(E))return Dl;const oe=E.state,ce=oe.wrap;if(ce===2||ce===1&&oe.status!==Gu||oe.lookahead)return Dl;if(ce===1&&(E.adler=vo(E.adler,ne,te,0)),oe.wrap=0,te>=oe.w_size){ce===0&&(wu(oe.head),oe.strstart=0,oe.block_start=0,oe.insert=0);let Te=new Uint8Array(oe.w_size);Te.set(ne.subarray(te-oe.w_size,te),0),ne=Te,te=oe.w_size}const fe=E.avail_in,Ie=E.next_in,Se=E.input;for(E.avail_in=te,E.next_in=0,E.input=ne,wc(oe);oe.lookahead>=gs;){let Te=oe.strstart,Re=oe.lookahead-(gs-1);do oe.ins_h=Zu(oe,oe.ins_h,oe.window[Te+gs-1]),oe.prev[Te&oe.w_mask]=oe.head[oe.ins_h],oe.head[oe.ins_h]=Te,Te++;while(--Re);oe.strstart=Te,oe.lookahead=gs-1,wc(oe)}return oe.strstart+=oe.lookahead,oe.block_start=oe.strstart,oe.insert=oe.lookahead,oe.lookahead=0,oe.match_length=oe.prev_length=gs-1,oe.match_available=0,E.next_in=Ie,E.input=Se,E.avail_in=fe,oe.wrap=ce,Xl};var Qf=ql,Eh=_l,q0=Rf,qp=J0,$p=Jp,c0=Tl,$0=dc,Xd=GA,eg="pako deflate (from Nodeca project)",Sd={deflateInit:Qf,deflateInit2:Eh,deflateReset:q0,deflateResetKeep:qp,deflateSetHeader:$p,deflate:c0,deflateEnd:$0,deflateSetDictionary:Xd,deflateInfo:eg};const u0=(E,ne)=>Object.prototype.hasOwnProperty.call(E,ne);var ep=function(E){const ne=Array.prototype.slice.call(arguments,1);for(;ne.length;){const te=ne.shift();if(te){if(typeof te!="object")throw new TypeError(te+"must be non-object");for(const oe in te)u0(te,oe)&&(E[oe]=te[oe])}}return E},Mh=E=>{let ne=0;for(let oe=0,ce=E.length;oe=252?6:E>=248?5:E>=240?4:E>=224?3:E>=192?2:1;LA[254]=LA[254]=1;var tg=E=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(E);let ne,te,oe,ce,fe,Ie=E.length,Se=0;for(ce=0;ce>>6,ne[fe++]=128|te&63):te<65536?(ne[fe++]=224|te>>>12,ne[fe++]=128|te>>>6&63,ne[fe++]=128|te&63):(ne[fe++]=240|te>>>18,ne[fe++]=128|te>>>12&63,ne[fe++]=128|te>>>6&63,ne[fe++]=128|te&63);return ne};const kh=(E,ne)=>{if(ne<65534&&E.subarray&&A0)return String.fromCharCode.apply(null,E.length===ne?E:E.subarray(0,ne));let te="";for(let oe=0;oe{const te=ne||E.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(E.subarray(0,ne));let oe,ce;const fe=new Array(te*2);for(ce=0,oe=0;oe4){fe[ce++]=65533,oe+=Se-1;continue}for(Ie&=Se===2?31:Se===3?15:7;Se>1&&oe1){fe[ce++]=65533;continue}Ie<65536?fe[ce++]=Ie:(Ie-=65536,fe[ce++]=55296|Ie>>10&1023,fe[ce++]=56320|Ie&1023)}return kh(fe,ce)},qd=(E,ne)=>{ne=ne||E.length,ne>E.length&&(ne=E.length);let te=ne-1;for(;te>=0&&(E[te]&192)===128;)te--;return te<0||te===0?ne:te+LA[E[te]]>ne?te:ne},Ed={string2buf:tg,buf2string:Lc,utf8border:qd};function tp(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Au=tp;const zs=Object.prototype.toString,{Z_NO_FLUSH:qc,Z_SYNC_FLUSH:fA,Z_FULL_FLUSH:ZA,Z_FINISH:d0,Z_OK:$d,Z_STREAM_END:ef,Z_DEFAULT_COMPRESSION:f0,Z_DEFAULT_STRATEGY:h0,Z_DEFLATED:tf}=Eo;function nf(E){this.options=Jd.assign({level:f0,method:tf,chunkSize:16384,windowBits:15,memLevel:8,strategy:h0},E||{});let ne=this.options;ne.raw&&ne.windowBits>0?ne.windowBits=-ne.windowBits:ne.gzip&&ne.windowBits>0&&ne.windowBits<16&&(ne.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Au,this.strm.avail_out=0;let te=Sd.deflateInit2(this.strm,ne.level,ne.method,ne.windowBits,ne.memLevel,ne.strategy);if(te!==$d)throw new Error(Io[te]);if(ne.header&&Sd.deflateSetHeader(this.strm,ne.header),ne.dictionary){let oe;if(typeof ne.dictionary=="string"?oe=Ed.string2buf(ne.dictionary):zs.call(ne.dictionary)==="[object ArrayBuffer]"?oe=new Uint8Array(ne.dictionary):oe=ne.dictionary,te=Sd.deflateSetDictionary(this.strm,oe),te!==$d)throw new Error(Io[te]);this._dict_set=!0}}nf.prototype.push=function(E,ne){const te=this.strm,oe=this.options.chunkSize;let ce,fe;if(this.ended)return!1;for(ne===~~ne?fe=ne:fe=ne===!0?d0:qc,typeof E=="string"?te.input=Ed.string2buf(E):zs.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){if(te.avail_out===0&&(te.output=new Uint8Array(oe),te.next_out=0,te.avail_out=oe),(fe===fA||fe===ZA)&&te.avail_out<=6){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(ce=Sd.deflate(te,fe),ce===ef)return te.next_out>0&&this.onData(te.output.subarray(0,te.next_out)),ce=Sd.deflateEnd(this.strm),this.onEnd(ce),this.ended=!0,ce===$d;if(te.avail_out===0){this.onData(te.output);continue}if(fe>0&&te.next_out>0){this.onData(te.output.subarray(0,te.next_out)),te.avail_out=0;continue}if(te.avail_in===0)break}return!0},nf.prototype.onData=function(E){this.chunks.push(E)},nf.prototype.onEnd=function(E){E===$d&&(this.result=Jd.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function Hf(E,ne){const te=new nf(ne);if(te.push(E,!0),te.err)throw te.msg||Io[te.err];return te.result}function YA(E,ne){return ne=ne||{},ne.raw=!0,Hf(E,ne)}function Rl(E,ne){return ne=ne||{},ne.gzip=!0,Hf(E,ne)}var Lh=nf,p0=Hf,Fh=YA,g0=Rl,np=Eo,Ih={Deflate:Lh,deflate:p0,deflateRaw:Fh,gzip:g0,constants:np};const Md=16209,m0=16191;var v0=function(ne,te){let oe,ce,fe,Ie,Se,Te,Re,Ze,kt,Nt,Ve,yn,fn,Cn,en,sr,qn,Un,Gr,yi,li,br,Rn,Or;const Jt=ne.state;oe=ne.next_in,Rn=ne.input,ce=oe+(ne.avail_in-5),fe=ne.next_out,Or=ne.output,Ie=fe-(te-ne.avail_out),Se=fe+(ne.avail_out-257),Te=Jt.dmax,Re=Jt.wsize,Ze=Jt.whave,kt=Jt.wnext,Nt=Jt.window,Ve=Jt.hold,yn=Jt.bits,fn=Jt.lencode,Cn=Jt.distcode,en=(1<>>24,Ve>>>=Un,yn-=Un,Un=qn>>>16&255,Un===0)Or[fe++]=qn&65535;else if(Un&16){Gr=qn&65535,Un&=15,Un&&(yn>>=Un,yn-=Un),yn<15&&(Ve+=Rn[oe++]<>>24,Ve>>>=Un,yn-=Un,Un=qn>>>16&255,Un&16){if(yi=qn&65535,Un&=15,ynTe){ne.msg="invalid distance too far back",Jt.mode=Md;break e}if(Ve>>>=Un,yn-=Un,Un=fe-Ie,yi>Un){if(Un=yi-Un,Un>Ze&&Jt.sane){ne.msg="invalid distance too far back",Jt.mode=Md;break e}if(li=0,br=Nt,kt===0){if(li+=Re-Un,Un2;)Or[fe++]=br[li++],Or[fe++]=br[li++],Or[fe++]=br[li++],Gr-=3;Gr&&(Or[fe++]=br[li++],Gr>1&&(Or[fe++]=br[li++]))}else{li=fe-yi;do Or[fe++]=Or[li++],Or[fe++]=Or[li++],Or[fe++]=Or[li++],Gr-=3;while(Gr>2);Gr&&(Or[fe++]=Or[li++],Gr>1&&(Or[fe++]=Or[li++]))}}else if(Un&64){ne.msg="invalid distance code",Jt.mode=Md;break e}else{qn=Cn[(qn&65535)+(Ve&(1<>3,oe-=Gr,yn-=Gr<<3,Ve&=(1<{const Te=Se.bits;let Re=0,Ze=0,kt=0,Nt=0,Ve=0,yn=0,fn=0,Cn=0,en=0,sr=0,qn,Un,Gr,yi,li,br=null,Rn;const Or=new Uint16Array(FA+1),Jt=new Uint16Array(FA+1);let Bn=null,ar,nr,$r;for(Re=0;Re<=FA;Re++)Or[Re]=0;for(Ze=0;Ze=1&&Or[Nt]===0;Nt--);if(Ve>Nt&&(Ve=Nt),Nt===0)return ce[fe++]=1<<24|64<<16|0,ce[fe++]=1<<24|64<<16|0,Se.bits=1,0;for(kt=1;kt0&&(E===y0||Nt!==1))return-1;for(Jt[1]=0,Re=1;ReDh||E===kd&&en>_h)return 1;for(;;){ar=Re-fn,Ie[Ze]+1=Rn?(nr=Bn[Ie[Ze]-Rn],$r=br[Ie[Ze]-Rn]):(nr=96,$r=0),qn=1<>fn)+Un]=ar<<24|nr<<16|$r|0;while(Un!==0);for(qn=1<>=1;if(qn!==0?(sr&=qn-1,sr+=qn):sr=0,Ze++,--Or[Re]===0){if(Re===Nt)break;Re=ne[te+Ie[Ze]]}if(Re>Ve&&(sr&yi)!==Gr){for(fn===0&&(fn=Ve),li+=kt,yn=Re-fn,Cn=1<Dh||E===kd&&en>_h)return 1;Gr=sr&yi,ce[Gr]=Ve<<24|yn<<16|li-fe|0}}return sr!==0&&(ce[li+sr]=Re-fn<<24|64<<16|0),Se.bits=Ve,0};const xc=0,$l=1,jf=2,{Z_FINISH:ip,Z_BLOCK:Ld,Z_TREES:Ju,Z_OK:Ol,Z_STREAM_END:w0,Z_NEED_DICT:DA,Z_STREAM_ERROR:xu,Z_DATA_ERROR:rf,Z_MEM_ERROR:JA,Z_BUF_ERROR:ap,Z_DEFLATED:_A}=Eo,af=16180,Fd=16181,op=16182,of=16183,sp=16184,x0=16185,Kf=16186,zf=16187,qA=16188,Id=16189,$A=16190,Du=16191,C0=16192,Th=16193,qu=16194,hA=16195,Xo=16196,hl=16197,TA=16198,sf=16199,Fc=16200,B0=16201,Pl=16202,Oh=16203,lp=16204,S0=16205,Ph=16206,lf=16207,cf=16208,ni=16209,Wf=16210,Nh=16211,E0=852,pA=592,k0=15,Vf=E=>(E>>>24&255)+(E>>>8&65280)+((E&65280)<<8)+((E&255)<<24);function ul(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const uf=E=>{if(!E)return 1;const ne=E.state;return!ne||ne.strm!==E||ne.modeNh?1:0},L0=E=>{if(uf(E))return xu;const ne=E.state;return E.total_in=E.total_out=ne.total=0,E.msg="",ne.wrap&&(E.adler=ne.wrap&1),ne.mode=af,ne.last=0,ne.havedict=0,ne.flags=-1,ne.dmax=32768,ne.head=null,ne.hold=0,ne.bits=0,ne.lencode=ne.lendyn=new Int32Array(E0),ne.distcode=ne.distdyn=new Int32Array(pA),ne.sane=1,ne.back=-1,Ol},gA=E=>{if(uf(E))return xu;const ne=E.state;return ne.wsize=0,ne.whave=0,ne.wnext=0,L0(E)},Gf=(E,ne)=>{let te;if(uf(E))return xu;const oe=E.state;return ne<0?(te=0,ne=-ne):(te=(ne>>4)+5,ne<48&&(ne&=15)),ne&&(ne<8||ne>15)?xu:(oe.window!==null&&oe.wbits!==ne&&(oe.window=null),oe.wrap=te,oe.wbits=ne,gA(E))},mA=(E,ne)=>{if(!E)return xu;const te=new ul;E.state=te,te.strm=E,te.window=null,te.mode=af;const oe=Gf(E,ne);return oe!==Ol&&(E.state=null),oe},Dd=E=>mA(E,k0);let Ys=!0,Ic,fc;const OA=E=>{if(Ys){Ic=new Int32Array(512),fc=new Int32Array(32);let ne=0;for(;ne<144;)E.lens[ne++]=8;for(;ne<256;)E.lens[ne++]=9;for(;ne<280;)E.lens[ne++]=7;for(;ne<288;)E.lens[ne++]=8;for(IA($l,E.lens,0,288,Ic,0,E.work,{bits:9}),ne=0;ne<32;)E.lens[ne++]=5;IA(jf,E.lens,0,32,fc,0,E.work,{bits:5}),Ys=!1}E.lencode=Ic,E.lenbits=9,E.distcode=fc,E.distbits=5},ed=(E,ne,te,oe)=>{let ce;const fe=E.state;return fe.window===null&&(fe.wsize=1<=fe.wsize?(fe.window.set(ne.subarray(te-fe.wsize,te),0),fe.wnext=0,fe.whave=fe.wsize):(ce=fe.wsize-fe.wnext,ce>oe&&(ce=oe),fe.window.set(ne.subarray(te-oe,te-oe+ce),fe.wnext),oe-=ce,oe?(fe.window.set(ne.subarray(te-oe,te),0),fe.wnext=oe,fe.whave=fe.wsize):(fe.wnext+=ce,fe.wnext===fe.wsize&&(fe.wnext=0),fe.whave{let te,oe,ce,fe,Ie,Se,Te,Re,Ze,kt,Nt,Ve,yn,fn,Cn=0,en,sr,qn,Un,Gr,yi,li,br;const Rn=new Uint8Array(4);let Or,Jt;const Bn=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(uf(E)||!E.output||!E.input&&E.avail_in!==0)return xu;te=E.state,te.mode===Du&&(te.mode=C0),Ie=E.next_out,ce=E.output,Te=E.avail_out,fe=E.next_in,oe=E.input,Se=E.avail_in,Re=te.hold,Ze=te.bits,kt=Se,Nt=Te,br=Ol;e:for(;;)switch(te.mode){case af:if(te.wrap===0){te.mode=C0;break}for(;Ze<16;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>8&255,te.check=js(te.check,Rn,2,0),Re=0,Ze=0,te.mode=Fd;break}if(te.head&&(te.head.done=!1),!(te.wrap&1)||(((Re&255)<<8)+(Re>>8))%31){E.msg="incorrect header check",te.mode=ni;break}if((Re&15)!==_A){E.msg="unknown compression method",te.mode=ni;break}if(Re>>>=4,Ze-=4,li=(Re&15)+8,te.wbits===0&&(te.wbits=li),li>15||li>te.wbits){E.msg="invalid window size",te.mode=ni;break}te.dmax=1<>8&1),te.flags&512&&te.wrap&4&&(Rn[0]=Re&255,Rn[1]=Re>>>8&255,te.check=js(te.check,Rn,2,0)),Re=0,Ze=0,te.mode=op;case op:for(;Ze<32;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>8&255,Rn[2]=Re>>>16&255,Rn[3]=Re>>>24&255,te.check=js(te.check,Rn,4,0)),Re=0,Ze=0,te.mode=of;case of:for(;Ze<16;){if(Se===0)break e;Se--,Re+=oe[fe++]<>8),te.flags&512&&te.wrap&4&&(Rn[0]=Re&255,Rn[1]=Re>>>8&255,te.check=js(te.check,Rn,2,0)),Re=0,Ze=0,te.mode=sp;case sp:if(te.flags&1024){for(;Ze<16;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>8&255,te.check=js(te.check,Rn,2,0)),Re=0,Ze=0}else te.head&&(te.head.extra=null);te.mode=x0;case x0:if(te.flags&1024&&(Ve=te.length,Ve>Se&&(Ve=Se),Ve&&(te.head&&(li=te.head.extra_len-te.length,te.head.extra||(te.head.extra=new Uint8Array(te.head.extra_len)),te.head.extra.set(oe.subarray(fe,fe+Ve),li)),te.flags&512&&te.wrap&4&&(te.check=js(te.check,oe,Ve,fe)),Se-=Ve,fe+=Ve,te.length-=Ve),te.length))break e;te.length=0,te.mode=Kf;case Kf:if(te.flags&2048){if(Se===0)break e;Ve=0;do li=oe[fe+Ve++],te.head&&li&&te.length<65536&&(te.head.name+=String.fromCharCode(li));while(li&&Ve>9&1,te.head.done=!0),E.adler=te.check=0,te.mode=Du;break;case Id:for(;Ze<32;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>=Ze&7,Ze-=Ze&7,te.mode=Ph;break}for(;Ze<3;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>=1,Ze-=1,Re&3){case 0:te.mode=Th;break;case 1:if(OA(te),te.mode=sf,ne===Ju){Re>>>=2,Ze-=2;break e}break;case 2:te.mode=Xo;break;case 3:E.msg="invalid block type",te.mode=ni}Re>>>=2,Ze-=2;break;case Th:for(Re>>>=Ze&7,Ze-=Ze&7;Ze<32;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>16^65535)){E.msg="invalid stored block lengths",te.mode=ni;break}if(te.length=Re&65535,Re=0,Ze=0,te.mode=qu,ne===Ju)break e;case qu:te.mode=hA;case hA:if(Ve=te.length,Ve){if(Ve>Se&&(Ve=Se),Ve>Te&&(Ve=Te),Ve===0)break e;ce.set(oe.subarray(fe,fe+Ve),Ie),Se-=Ve,fe+=Ve,Te-=Ve,Ie+=Ve,te.length-=Ve;break}te.mode=Du;break;case Xo:for(;Ze<14;){if(Se===0)break e;Se--,Re+=oe[fe++]<>>=5,Ze-=5,te.ndist=(Re&31)+1,Re>>>=5,Ze-=5,te.ncode=(Re&15)+4,Re>>>=4,Ze-=4,te.nlen>286||te.ndist>30){E.msg="too many length or distance symbols",te.mode=ni;break}te.have=0,te.mode=hl;case hl:for(;te.have>>=3,Ze-=3}for(;te.have<19;)te.lens[Bn[te.have++]]=0;if(te.lencode=te.lendyn,te.lenbits=7,Or={bits:te.lenbits},br=IA(xc,te.lens,0,19,te.lencode,0,te.work,Or),te.lenbits=Or.bits,br){E.msg="invalid code lengths set",te.mode=ni;break}te.have=0,te.mode=TA;case TA:for(;te.have>>24,sr=Cn>>>16&255,qn=Cn&65535,!(en<=Ze);){if(Se===0)break e;Se--,Re+=oe[fe++]<>>=en,Ze-=en,te.lens[te.have++]=qn;else{if(qn===16){for(Jt=en+2;Ze>>=en,Ze-=en,te.have===0){E.msg="invalid bit length repeat",te.mode=ni;break}li=te.lens[te.have-1],Ve=3+(Re&3),Re>>>=2,Ze-=2}else if(qn===17){for(Jt=en+3;Ze>>=en,Ze-=en,li=0,Ve=3+(Re&7),Re>>>=3,Ze-=3}else{for(Jt=en+7;Ze>>=en,Ze-=en,li=0,Ve=11+(Re&127),Re>>>=7,Ze-=7}if(te.have+Ve>te.nlen+te.ndist){E.msg="invalid bit length repeat",te.mode=ni;break}for(;Ve--;)te.lens[te.have++]=li}}if(te.mode===ni)break;if(te.lens[256]===0){E.msg="invalid code -- missing end-of-block",te.mode=ni;break}if(te.lenbits=9,Or={bits:te.lenbits},br=IA($l,te.lens,0,te.nlen,te.lencode,0,te.work,Or),te.lenbits=Or.bits,br){E.msg="invalid literal/lengths set",te.mode=ni;break}if(te.distbits=6,te.distcode=te.distdyn,Or={bits:te.distbits},br=IA(jf,te.lens,te.nlen,te.ndist,te.distcode,0,te.work,Or),te.distbits=Or.bits,br){E.msg="invalid distances set",te.mode=ni;break}if(te.mode=sf,ne===Ju)break e;case sf:te.mode=Fc;case Fc:if(Se>=6&&Te>=258){E.next_out=Ie,E.avail_out=Te,E.next_in=fe,E.avail_in=Se,te.hold=Re,te.bits=Ze,v0(E,Nt),Ie=E.next_out,ce=E.output,Te=E.avail_out,fe=E.next_in,oe=E.input,Se=E.avail_in,Re=te.hold,Ze=te.bits,te.mode===Du&&(te.back=-1);break}for(te.back=0;Cn=te.lencode[Re&(1<>>24,sr=Cn>>>16&255,qn=Cn&65535,!(en<=Ze);){if(Se===0)break e;Se--,Re+=oe[fe++]<>Un)],en=Cn>>>24,sr=Cn>>>16&255,qn=Cn&65535,!(Un+en<=Ze);){if(Se===0)break e;Se--,Re+=oe[fe++]<>>=Un,Ze-=Un,te.back+=Un}if(Re>>>=en,Ze-=en,te.back+=en,te.length=qn,sr===0){te.mode=S0;break}if(sr&32){te.back=-1,te.mode=Du;break}if(sr&64){E.msg="invalid literal/length code",te.mode=ni;break}te.extra=sr&15,te.mode=B0;case B0:if(te.extra){for(Jt=te.extra;Ze>>=te.extra,Ze-=te.extra,te.back+=te.extra}te.was=te.length,te.mode=Pl;case Pl:for(;Cn=te.distcode[Re&(1<>>24,sr=Cn>>>16&255,qn=Cn&65535,!(en<=Ze);){if(Se===0)break e;Se--,Re+=oe[fe++]<>Un)],en=Cn>>>24,sr=Cn>>>16&255,qn=Cn&65535,!(Un+en<=Ze);){if(Se===0)break e;Se--,Re+=oe[fe++]<>>=Un,Ze-=Un,te.back+=Un}if(Re>>>=en,Ze-=en,te.back+=en,sr&64){E.msg="invalid distance code",te.mode=ni;break}te.offset=qn,te.extra=sr&15,te.mode=Oh;case Oh:if(te.extra){for(Jt=te.extra;Ze>>=te.extra,Ze-=te.extra,te.back+=te.extra}if(te.offset>te.dmax){E.msg="invalid distance too far back",te.mode=ni;break}te.mode=lp;case lp:if(Te===0)break e;if(Ve=Nt-Te,te.offset>Ve){if(Ve=te.offset-Ve,Ve>te.whave&&te.sane){E.msg="invalid distance too far back",te.mode=ni;break}Ve>te.wnext?(Ve-=te.wnext,yn=te.wsize-Ve):yn=te.wnext-Ve,Ve>te.length&&(Ve=te.length),fn=te.window}else fn=ce,yn=Ie-te.offset,Ve=te.length;Ve>Te&&(Ve=Te),Te-=Ve,te.length-=Ve;do ce[Ie++]=fn[yn++];while(--Ve);te.length===0&&(te.mode=Fc);break;case S0:if(Te===0)break e;ce[Ie++]=te.length,Te--,te.mode=Fc;break;case Ph:if(te.wrap){for(;Ze<32;){if(Se===0)break e;Se--,Re|=oe[fe++]<{if(uf(E))return xu;let ne=E.state;return ne.window&&(ne.window=null),E.state=null,Ol},cp=(E,ne)=>{if(uf(E))return xu;const te=E.state;return te.wrap&2?(te.head=ne,ne.done=!1,Ol):xu},up=(E,ne)=>{const te=ne.length;let oe,ce,fe;return uf(E)||(oe=E.state,oe.wrap!==0&&oe.mode!==$A)?xu:oe.mode===$A&&(ce=1,ce=vo(ce,ne,te,0),ce!==oe.check)?rf:(fe=ed(E,ne,te,te),fe?(oe.mode=Wf,JA):(oe.havedict=1,Ol))};var ng=gA,ic=Gf,PA=L0,Ug=Dd,Yf=mA,Uh=$u,us=Zf,Af=cp,NA=up,df="pako inflate (from Nodeca project)",Jr={inflateReset:ng,inflateReset2:ic,inflateResetKeep:PA,inflateInit:Ug,inflateInit2:Yf,inflate:Uh,inflateEnd:us,inflateGetHeader:Af,inflateSetDictionary:NA,inflateInfo:df};function rg(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ig=rg;const F0=Object.prototype.toString,{Z_NO_FLUSH:Xf,Z_FINISH:eA,Z_OK:td,Z_STREAM_END:I0,Z_NEED_DICT:ec,Z_STREAM_ERROR:nd,Z_DATA_ERROR:Jf,Z_MEM_ERROR:Rh}=Eo;function Qh(E){this.options=Jd.assign({chunkSize:1024*64,windowBits:15,to:""},E||{});const ne=this.options;ne.raw&&ne.windowBits>=0&&ne.windowBits<16&&(ne.windowBits=-ne.windowBits,ne.windowBits===0&&(ne.windowBits=-15)),ne.windowBits>=0&&ne.windowBits<16&&!(E&&E.windowBits)&&(ne.windowBits+=32),ne.windowBits>15&&ne.windowBits<48&&(ne.windowBits&15||(ne.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Au,this.strm.avail_out=0;let te=Jr.inflateInit2(this.strm,ne.windowBits);if(te!==td)throw new Error(Io[te]);if(this.header=new ig,Jr.inflateGetHeader(this.strm,this.header),ne.dictionary&&(typeof ne.dictionary=="string"?ne.dictionary=Ed.string2buf(ne.dictionary):F0.call(ne.dictionary)==="[object ArrayBuffer]"&&(ne.dictionary=new Uint8Array(ne.dictionary)),ne.raw&&(te=Jr.inflateSetDictionary(this.strm,ne.dictionary),te!==td)))throw new Error(Io[te])}Qh.prototype.push=function(E,ne){const te=this.strm,oe=this.options.chunkSize,ce=this.options.dictionary;let fe,Ie,Se;if(this.ended)return!1;for(ne===~~ne?Ie=ne:Ie=ne===!0?eA:Xf,F0.call(E)==="[object ArrayBuffer]"?te.input=new Uint8Array(E):te.input=E,te.next_in=0,te.avail_in=te.input.length;;){for(te.avail_out===0&&(te.output=new Uint8Array(oe),te.next_out=0,te.avail_out=oe),fe=Jr.inflate(te,Ie),fe===ec&&ce&&(fe=Jr.inflateSetDictionary(te,ce),fe===td?fe=Jr.inflate(te,Ie):fe===Jf&&(fe=ec));te.avail_in>0&&fe===I0&&te.state.wrap>0&&E[te.next_in]!==0;)Jr.inflateReset(te),fe=Jr.inflate(te,Ie);switch(fe){case nd:case Jf:case ec:case Rh:return this.onEnd(fe),this.ended=!0,!1}if(Se=te.avail_out,te.next_out&&(te.avail_out===0||fe===I0))if(this.options.to==="string"){let Te=Ed.utf8border(te.output,te.next_out),Re=te.next_out-Te,Ze=Ed.buf2string(te.output,Te);te.next_out=Re,te.avail_out=oe-Re,Re&&te.output.set(te.output.subarray(Te,Te+Re),0),this.onData(Ze)}else this.onData(te.output.length===te.next_out?te.output:te.output.subarray(0,te.next_out));if(!(fe===td&&Se===0)){if(fe===I0)return fe=Jr.inflateEnd(this.strm),this.onEnd(fe),this.ended=!0,!0;if(te.avail_in===0)break}}return!0},Qh.prototype.onData=function(E){this.chunks.push(E)},Qh.prototype.onEnd=function(E){E===td&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Jd.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function ff(E,ne){const te=new Qh(ne);if(te.push(E),te.err)throw te.msg||Io[te.err];return te.result}function D0(E,ne){return ne=ne||{},ne.raw=!0,ff(E,ne)}var Ap=Qh,Hh=ff,Qc=D0,rd=ff,hf=Eo,jh={Inflate:Ap,inflate:Hh,inflateRaw:Qc,ungzip:rd,constants:hf};const{Deflate:vA,deflate:ag,deflateRaw:_0,gzip:Rg}=Ih,{Inflate:Qg,inflate:dp,inflateRaw:Mo,ungzip:og}=jh;var T0=vA,_u=ag,tA=_0,id=Rg,Kh=Qg,pf=dp,qf=Mo,gf=og,fp=Eo,sg={Deflate:T0,deflate:_u,deflateRaw:tA,gzip:id,Inflate:Kh,inflate:pf,inflateRaw:qf,ungzip:gf,constants:fp};const zh=[];for(let E=0;E<256;E++){let ne=E;for(let te=0;te<8;te++)ne&1?ne=3988292384^ne>>>1:ne=ne>>>1;zh[E]=ne}const $f=4294967295;function lg(E,ne,te){let oe=E;for(let ce=0;ce>>8;return oe}function tl(E,ne){return(lg($f,E,ne)^$f)>>>0}function _d(E,ne,te){const oe=E.readUint32(),ce=tl(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne-4,ne),ne);if(ce!==oe)throw new Error(`CRC mismatch for chunk ${te}. Expected ${oe}, found ${ce}`)}function Hg(E,ne){E.writeUint32(tl(new Uint8Array(E.buffer,E.byteOffset+E.offset-ne,ne),ne))}function vl(E,ne,te){for(let oe=0;oe>1)&255}else{for(;fe>1)&255;for(;fe>1)&255}}function ws(E,ne,te,oe,ce){let fe=0;if(te.length===0){for(;fe=te||yi>=oe))for(let li=0;li>8&255}const ie=new Uint16Array([255]),Be=new Uint8Array(ie.buffer)[0]===255,He=new Uint8Array(0);function Je(E){const{data:ne,width:te,height:oe,channels:ce,depth:fe}=E,Ie=Math.ceil(fe/8)*ce,Se=Math.ceil(fe/8*ce*te),Te=new Uint8Array(oe*Se);let Re=He,Ze=0,kt,Nt;for(let Ve=0;Ve>8&255}const wt=Uint8Array.of(137,80,78,71,13,10,26,10);function wn(E){E.writeBytes(wt)}function Dn(E){if(!xr(E.readBytes(wt.length)))throw new Error("wrong PNG signature")}function xr(E){if(E.length79)throw new Error("keyword length must be between 1 and 79")}const Ea=/^[\u0000-\u00FF]*$/;function Pa(E){if(!Ea.test(E))throw new Error("invalid latin1 text")}function ya(E,ne,te){const oe=io(ne);E[oe]=lo(ne,te-oe.length-1)}function ja(E,ne,te){ra(ne),Pa(te);const oe=ne.length+1+te.length;E.writeUint32(oe),E.writeChars(gr),E.writeChars(ne),E.writeByte(ri),E.writeChars(te),writeCrc(E,oe+4)}function io(E){for(E.mark();E.readByte()!==ri;);const ne=E.offset;E.reset();const te=Li.decode(E.readBytes(ne-E.offset-1));return E.skip(1),ra(te),te}function lo(E,ne){return Li.decode(E.readBytes(ne))}const wo={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},nl={UNKNOWN:-1,DEFLATE:0},hc={UNKNOWN:-1,ADAPTIVE:0},Bl={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Dc={NONE:0,BACKGROUND:1,PREVIOUS:2},Cc={SOURCE:0,OVER:1};class ac extends Oa{constructor(te,oe={}){super(te);xl(this,"_checkCrc");xl(this,"_inflator");xl(this,"_png");xl(this,"_apng");xl(this,"_end");xl(this,"_hasPalette");xl(this,"_palette");xl(this,"_hasTransparency");xl(this,"_transparency");xl(this,"_compressionMethod");xl(this,"_filterMethod");xl(this,"_interlaceMethod");xl(this,"_colorType");xl(this,"_isAnimated");xl(this,"_numberOfFrames");xl(this,"_numberOfPlays");xl(this,"_frames");xl(this,"_writingDataChunks");const{checkCrc:ce=!1}=oe;this._checkCrc=ce,this._inflator=new Kh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=nl.UNKNOWN,this._filterMethod=hc.UNKNOWN,this._interlaceMethod=Bl.UNKNOWN,this._colorType=wo.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Dn(this);!this._end;){const te=this.readUint32(),oe=this.readChars(4);this.decodeChunk(te,oe)}return this.decodeImage(),this._png}decodeApng(){for(Dn(this);!this._end;){const te=this.readUint32(),oe=this.readChars(4);this.decodeApngChunk(te,oe)}return this.decodeApngImage(),this._apng}decodeChunk(te,oe){const ce=this.offset;switch(oe){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(te);break;case"IDAT":this.decodeIDAT(te);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(te);break;case"iCCP":this.decodeiCCP(te);break;case gr:ya(this._png.text,this,te);break;case"pHYs":this.decodepHYs();break;default:this.skip(te);break}if(this.offset-ce!==te)throw new Error(`Length mismatch while decoding chunk ${oe}`);this._checkCrc?_d(this,te+4,oe):this.skip(4)}decodeApngChunk(te,oe){const ce=this.offset;switch(oe!=="fdAT"&&oe!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),oe){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(te);break;default:this.decodeChunk(te,oe),this.offset=ce+te;break}if(this.offset-ce!==te)throw new Error(`Length mismatch while decoding chunk ${oe}`);this._checkCrc?_d(this,te+4,oe):this.skip(4)}decodeIHDR(){const te=this._png;te.width=this.readUint32(),te.height=this.readUint32(),te.depth=Hc(this.readUint8());const oe=this.readUint8();this._colorType=oe;let ce;switch(oe){case wo.GREYSCALE:ce=1;break;case wo.TRUECOLOUR:ce=3;break;case wo.INDEXED_COLOUR:ce=1;break;case wo.GREYSCALE_ALPHA:ce=2;break;case wo.TRUECOLOUR_ALPHA:ce=4;break;case wo.UNKNOWN:default:throw new Error(`Unknown color type: ${oe}`)}if(this._png.channels=ce,this._compressionMethod=this.readUint8(),this._compressionMethod!==nl.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const te={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(te)}decodePLTE(te){if(te%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${te}`);const oe=te/3;this._hasPalette=!0;const ce=[];this._palette=ce;for(let fe=0;fethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${te/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(te/2);for(let oe=0;oethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${te} vs ${this._palette.length})`);let oe=0;for(;oe{const Te=((Ie+oe.yOffset)*this._png.width+oe.xOffset+Se)*this._png.channels,Re=(Ie*oe.width+Se)*this._png.channels;return{index:Te,frameIndex:Re}};switch(oe.blendOp){case Cc.SOURCE:for(let Ie=0;Ieoe.at(-1)!==255);this.writeUint32(te.length),this.writeChars("tRNS");for(const oe of te)this.writeByte(oe.at(-1));writeCrc(this,4+te.length)}encodeIDAT(te){this.writeUint32(te.length),this.writeChars("IDAT"),this.writeBytes(te),writeCrc(this,te.length+4)}encodeData(){const{width:te,height:oe,channels:ce,depth:fe,data:Ie}=this._png,Se=fe<=8?Math.ceil(te*fe/8)*ce:Math.ceil(te*fe/8*ce/2),Te=new IOBuffer().setBigEndian();let Re=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Nt=0;Nt0)return E;throw new TypeError(`${ne} must be a positive integer`)}function Sl(E,ne){const{channels:te=4,depth:oe=8}=E;if(te!==4&&te!==3&&te!==2&&te!==1)throw new RangeError(`unsupported number of channels: ${te}`);const ce={channels:te,depth:oe,colorType:ColorType.UNKNOWN};switch(te){case 4:ce.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ce.colorType=ColorType.TRUECOLOUR;break;case 1:ne?ce.colorType=ColorType.INDEXED_COLOUR:ce.colorType=ColorType.GREYSCALE;break;case 2:ce.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ce}function Xs(E,ne,te,oe){for(let ce=0;ce>8&255),te.writeByte(qn&255)}}return oe}function is(E,ne,te,oe){for(let ce=0;ce=200&&ne.status<=299}function oc(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(te){var ne=document.createEvent("MouseEvents");ne.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(ne)}}var vf=xo.saveAs||((typeof window=="undefined"?"undefined":(0,ge.Z)(window))!=="object"||window!==xo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(E,ne,te){var oe=xo.URL||xo.webkitURL,ce=document.createElement("a");ne=ne||E.name||"download",ce.download=ne,ce.rel="noopener",typeof E=="string"?(ce.href=E,ce.origin!==location.origin?od(ce.href)?Ql(E,ne,te):oc(ce,ce.target="_blank"):oc(ce)):(ce.href=oe.createObjectURL(E),setTimeout(function(){oe.revokeObjectURL(ce.href)},4e4),setTimeout(function(){oc(ce)},0))}:"msSaveOrOpenBlob"in navigator?function(E,ne,te){if(ne=ne||E.name||"download",typeof E=="string")if(od(E))Ql(E,ne,te);else{var oe=document.createElement("a");oe.href=E,oe.target="_blank",setTimeout(function(){oc(oe)})}else navigator.msSaveOrOpenBlob(function(ce,fe){return fe===void 0?fe={autoBom:!1}:(0,ge.Z)(fe)!=="object"&&(ks.warn("Deprecated: Expected third argument to be a object"),fe={autoBom:!fe}),fe.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ce.type)?new Blob(["\uFEFF",ce],{type:ce.type}):ce}(E,te),ne)}:function(E,ne,te,oe){if((oe=oe||open("","_blank"))&&(oe.document.title=oe.document.body.innerText="downloading..."),typeof E=="string")return Ql(E,ne,te);var ce=E.type==="application/octet-stream",fe=/constructor/i.test(xo.HTMLElement)||xo.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||ce&&fe)&&(typeof FileReader=="undefined"?"undefined":(0,ge.Z)(FileReader))==="object"){var Se=new FileReader;Se.onloadend=function(){var Ze=Se.result;Ze=Ie?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),oe?oe.location.href=Ze:location=Ze,oe=null},Se.readAsDataURL(E)}else{var Te=xo.URL||xo.webkitURL,Re=Te.createObjectURL(E);oe?oe.location=Re:location.href=Re,oe=null,setTimeout(function(){Te.revokeObjectURL(Re)},4e4)}});function jg(E){var ne;E=E||"",this.ok=!1,E.charAt(0)=="#"&&(E=E.substr(1,6)),E={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",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",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",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[E=(E=E.replace(/ /g,"")).toLowerCase()]||E;for(var te=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Se){return[parseInt(Se[1]),parseInt(Se[2]),parseInt(Se[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Se){return[parseInt(Se[1],16),parseInt(Se[2],16),parseInt(Se[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Se){return[parseInt(Se[1]+Se[1],16),parseInt(Se[2]+Se[2],16),parseInt(Se[3]+Se[3],16)]}}],oe=0;oe255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Se=this.r.toString(16),Te=this.g.toString(16),Re=this.b.toString(16);return Se.length==1&&(Se="0"+Se),Te.length==1&&(Te="0"+Te),Re.length==1&&(Re="0"+Re),"#"+Se+Te+Re}}var Di=xo.atob.bind(xo),yl=xo.btoa.bind(xo);function cg(E,ne){var te=E[0],oe=E[1],ce=E[2],fe=E[3];te=du(te,oe,ce,fe,ne[0],7,-680876936),fe=du(fe,te,oe,ce,ne[1],12,-389564586),ce=du(ce,fe,te,oe,ne[2],17,606105819),oe=du(oe,ce,fe,te,ne[3],22,-1044525330),te=du(te,oe,ce,fe,ne[4],7,-176418897),fe=du(fe,te,oe,ce,ne[5],12,1200080426),ce=du(ce,fe,te,oe,ne[6],17,-1473231341),oe=du(oe,ce,fe,te,ne[7],22,-45705983),te=du(te,oe,ce,fe,ne[8],7,1770035416),fe=du(fe,te,oe,ce,ne[9],12,-1958414417),ce=du(ce,fe,te,oe,ne[10],17,-42063),oe=du(oe,ce,fe,te,ne[11],22,-1990404162),te=du(te,oe,ce,fe,ne[12],7,1804603682),fe=du(fe,te,oe,ce,ne[13],12,-40341101),ce=du(ce,fe,te,oe,ne[14],17,-1502002290),te=$c(te,oe=du(oe,ce,fe,te,ne[15],22,1236535329),ce,fe,ne[1],5,-165796510),fe=$c(fe,te,oe,ce,ne[6],9,-1069501632),ce=$c(ce,fe,te,oe,ne[11],14,643717713),oe=$c(oe,ce,fe,te,ne[0],20,-373897302),te=$c(te,oe,ce,fe,ne[5],5,-701558691),fe=$c(fe,te,oe,ce,ne[10],9,38016083),ce=$c(ce,fe,te,oe,ne[15],14,-660478335),oe=$c(oe,ce,fe,te,ne[4],20,-405537848),te=$c(te,oe,ce,fe,ne[9],5,568446438),fe=$c(fe,te,oe,ce,ne[14],9,-1019803690),ce=$c(ce,fe,te,oe,ne[3],14,-187363961),oe=$c(oe,ce,fe,te,ne[8],20,1163531501),te=$c(te,oe,ce,fe,ne[13],5,-1444681467),fe=$c(fe,te,oe,ce,ne[2],9,-51403784),ce=$c(ce,fe,te,oe,ne[7],14,1735328473),te=_c(te,oe=$c(oe,ce,fe,te,ne[12],20,-1926607734),ce,fe,ne[5],4,-378558),fe=_c(fe,te,oe,ce,ne[8],11,-2022574463),ce=_c(ce,fe,te,oe,ne[11],16,1839030562),oe=_c(oe,ce,fe,te,ne[14],23,-35309556),te=_c(te,oe,ce,fe,ne[1],4,-1530992060),fe=_c(fe,te,oe,ce,ne[4],11,1272893353),ce=_c(ce,fe,te,oe,ne[7],16,-155497632),oe=_c(oe,ce,fe,te,ne[10],23,-1094730640),te=_c(te,oe,ce,fe,ne[13],4,681279174),fe=_c(fe,te,oe,ce,ne[0],11,-358537222),ce=_c(ce,fe,te,oe,ne[3],16,-722521979),oe=_c(oe,ce,fe,te,ne[6],23,76029189),te=_c(te,oe,ce,fe,ne[9],4,-640364487),fe=_c(fe,te,oe,ce,ne[12],11,-421815835),ce=_c(ce,fe,te,oe,ne[15],16,530742520),te=jc(te,oe=_c(oe,ce,fe,te,ne[2],23,-995338651),ce,fe,ne[0],6,-198630844),fe=jc(fe,te,oe,ce,ne[7],10,1126891415),ce=jc(ce,fe,te,oe,ne[14],15,-1416354905),oe=jc(oe,ce,fe,te,ne[5],21,-57434055),te=jc(te,oe,ce,fe,ne[12],6,1700485571),fe=jc(fe,te,oe,ce,ne[3],10,-1894986606),ce=jc(ce,fe,te,oe,ne[10],15,-1051523),oe=jc(oe,ce,fe,te,ne[1],21,-2054922799),te=jc(te,oe,ce,fe,ne[8],6,1873313359),fe=jc(fe,te,oe,ce,ne[15],10,-30611744),ce=jc(ce,fe,te,oe,ne[6],15,-1560198380),oe=jc(oe,ce,fe,te,ne[13],21,1309151649),te=jc(te,oe,ce,fe,ne[4],6,-145523070),fe=jc(fe,te,oe,ce,ne[11],10,-1120210379),ce=jc(ce,fe,te,oe,ne[2],15,718787259),oe=jc(oe,ce,fe,te,ne[9],21,-343485551),E[0]=Bu(te,E[0]),E[1]=Bu(oe,E[1]),E[2]=Bu(ce,E[2]),E[3]=Bu(fe,E[3])}function ug(E,ne,te,oe,ce,fe){return ne=Bu(Bu(ne,E),Bu(oe,fe)),Bu(ne<>>32-ce,te)}function du(E,ne,te,oe,ce,fe,Ie){return ug(ne&te|~ne&oe,E,ne,ce,fe,Ie)}function $c(E,ne,te,oe,ce,fe,Ie){return ug(ne&oe|te&~oe,E,ne,ce,fe,Ie)}function _c(E,ne,te,oe,ce,fe,Ie){return ug(ne^te^oe,E,ne,ce,fe,Ie)}function jc(E,ne,te,oe,ce,fe,Ie){return ug(te^(ne|~oe),E,ne,ce,fe,Ie)}function dm(E){var ne,te=E.length,oe=[1732584193,-271733879,-1732584194,271733878];for(ne=64;ne<=E.length;ne+=64)cg(oe,Ag(E.substring(ne-64,ne)));E=E.substring(ne-64);var ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ne=0;ne>2]|=E.charCodeAt(ne)<<(ne%4<<3);if(ce[ne>>2]|=128<<(ne%4<<3),ne>55)for(cg(oe,ce),ne=0;ne<16;ne++)ce[ne]=0;return ce[14]=8*te,cg(oe,ce),oe}function Ag(E){var ne,te=[];for(ne=0;ne<64;ne+=4)te[ne>>2]=E.charCodeAt(ne)+(E.charCodeAt(ne+1)<<8)+(E.charCodeAt(ne+2)<<16)+(E.charCodeAt(ne+3)<<24);return te}var rA="0123456789abcdef".split("");function Wh(E){for(var ne="",te=0;te<4;te++)ne+=rA[E>>8*te+4&15]+rA[E>>8*te&15];return ne}function pc(E){return String.fromCharCode(255&E,(65280&E)>>8,(16711680&E)>>16,(4278190080&E)>>24)}function Vh(E){return dm(E).map(pc).join("")}var Kg=function(E){for(var ne=0;ne>16)+(ne>>16)+(te>>16)<<16|65535&te}return E+ne&4294967295}function Kc(E,ne){var te,oe,ce,fe;if(E!==te){for(var Ie=(ce=E,fe=1+(256/E.length|0),new Array(fe+1).join(ce)),Se=[],Te=0;Te<256;Te++)Se[Te]=Te;var Re=0;for(Te=0;Te<256;Te++){var Ze=Se[Te];Re=(Re+Ze+Ie.charCodeAt(Te))%256,Se[Te]=Se[Re],Se[Re]=Ze}te=E,oe=Se}else Se=oe;var kt=ne.length,Nt=0,Ve=0,yn="";for(Te=0;Te\x80/\f\xA9\xFEdSiz";var fe=(ne+this.padding).substr(0,32),Ie=(te+this.padding).substr(0,32);this.O=this.processOwnerPassword(fe,Ie),this.P=-(1+(255^ce)),this.encryptionKey=Vh(fe+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(oe)).substr(0,5),this.U=Kc(this.encryptionKey,this.padding)}function Ou(E){if(/[^\u0000-\u00ff]/.test(E))throw new Error("Invalid PDF Name Object: "+E+", Only accept ASCII characters.");for(var ne="",te=E.length,oe=0;oe126?"#"+("0"+ce.toString(16)).slice(-2):E[oe]}return ne}function zg(E){if((0,ge.Z)(E)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var ne={};this.subscribe=function(te,oe,ce){if(ce=ce||!1,typeof te!="string"||typeof oe!="function"||typeof ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");ne.hasOwnProperty(te)||(ne[te]={});var fe=Math.random().toString(35);return ne[te][fe]=[oe,!!ce],fe},this.unsubscribe=function(te){for(var oe in ne)if(ne[oe][te])return delete ne[oe][te],Object.keys(ne[oe]).length===0&&delete ne[oe],!0;return!1},this.publish=function(te){if(ne.hasOwnProperty(te)){var oe=Array.prototype.slice.call(arguments,1),ce=[];for(var fe in ne[te]){var Ie=ne[te][fe];try{Ie[0].apply(E,oe)}catch(Se){xo.console&&ks.error("jsPDF PubSub Error",Se.message,Se)}Ie[1]&&ce.push(fe)}ce.length&&ce.forEach(this.unsubscribe)}},this.getTopics=function(){return ne}}function pp(E){if(!(this instanceof pp))return new pp(E);var ne="opacity,stroke-opacity".split(",");for(var te in E)E.hasOwnProperty(te)&&ne.indexOf(te)>=0&&(this[te]=E[te]);this.id="",this.objectNumber=-1}function O0(E,ne){this.gState=E,this.matrix=ne,this.id="",this.objectNumber=-1}function th(E,ne,te,oe,ce){if(!(this instanceof th))return new th(E,ne,te,oe,ce);this.type=E==="axial"?2:3,this.coords=ne,this.colors=te,O0.call(this,oe,ce)}function nh(E,ne,te,oe,ce){if(!(this instanceof nh))return new nh(E,ne,te,oe,ce);this.boundingBox=E,this.xStep=ne,this.yStep=te,this.stream="",this.cloneIndex=0,O0.call(this,oe,ce)}function go(E){var ne,te=typeof arguments[0]=="string"?arguments[0]:"p",oe=arguments[1],ce=arguments[2],fe=arguments[3],Ie=[],Se=1,Te=16,Re="S",Ze=null;(0,ge.Z)(E=E||{})==="object"&&(te=E.orientation,oe=E.unit||oe,ce=E.format||ce,fe=E.compress||E.compressPdf||fe,(Ze=E.encryption||null)!==null&&(Ze.userPassword=Ze.userPassword||"",Ze.ownerPassword=Ze.ownerPassword||"",Ze.userPermissions=Ze.userPermissions||[]),Se=typeof E.userUnit=="number"?Math.abs(E.userUnit):1,E.precision!==void 0&&(ne=E.precision),E.floatPrecision!==void 0&&(Te=E.floatPrecision),Re=E.defaultPathOperation||"S"),Ie=E.filters||(fe===!0?["FlateEncode"]:Ie),oe=oe||"mm",te=(""+(te||"P")).toLowerCase();var kt=E.putOnlyUsedFonts||!1,Nt={},Ve={internal:{},__private__:{}};Ve.__private__.PubSub=zg;var yn="1.3",fn=Ve.__private__.getPdfVersion=function(){return yn};Ve.__private__.setPdfVersion=function(Ne){yn=Ne};var Cn={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};Ve.__private__.getPageFormats=function(){return Cn};var en=Ve.__private__.getPageFormat=function(Ne){return Cn[Ne]};ce=ce||"a4";var sr="compat",qn="advanced",Un=sr;function Gr(){this.saveGraphicsState(),bn(new Yo(ys,0,0,-ys,0,U0()*ys).toString()+" cm"),this.setFontSize(this.getFontSize()/ys),Re="n",Un=qn}function yi(){this.restoreGraphicsState(),Re="S",Un=sr}var li=Ve.__private__.combineFontStyleAndFontWeight=function(Ne,Dt){if(Ne=="bold"&&Dt=="normal"||Ne=="bold"&&Dt==400||Ne=="normal"&&Dt=="italic"||Ne=="bold"&&Dt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Dt&&(Ne=Dt==400||Dt==="normal"?Ne==="italic"?"italic":"normal":Dt!=700&&Dt!=="bold"||Ne!=="normal"?(Dt==700?"bold":Dt)+""+Ne:"bold"),Ne};Ve.advancedAPI=function(Ne){var Dt=Un===sr;return Dt&&Gr.call(this),typeof Ne!="function"||(Ne(this),Dt&&yi.call(this)),this},Ve.compatAPI=function(Ne){var Dt=Un===qn;return Dt&&yi.call(this),typeof Ne!="function"||(Ne(this),Dt&&Gr.call(this)),this},Ve.isAdvancedAPI=function(){return Un===qn};var br,Rn=function(Ne){if(Un!==qn)throw new Error(Ne+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Or=Ve.roundToPrecision=Ve.__private__.roundToPrecision=function(Ne,Dt){var kn=ne||Dt;if(isNaN(Ne)||isNaN(kn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ne.toFixed(kn).replace(/0+$/,"")};br=Ve.hpf=Ve.__private__.hpf=typeof Te=="number"?function(Ne){if(isNaN(Ne))throw new Error("Invalid argument passed to jsPDF.hpf");return Or(Ne,Te)}:Te==="smart"?function(Ne){if(isNaN(Ne))throw new Error("Invalid argument passed to jsPDF.hpf");return Or(Ne,Ne>-1&&Ne<1?16:5)}:function(Ne){if(isNaN(Ne))throw new Error("Invalid argument passed to jsPDF.hpf");return Or(Ne,16)};var Jt=Ve.f2=Ve.__private__.f2=function(Ne){if(isNaN(Ne))throw new Error("Invalid argument passed to jsPDF.f2");return Or(Ne,2)},Bn=Ve.__private__.f3=function(Ne){if(isNaN(Ne))throw new Error("Invalid argument passed to jsPDF.f3");return Or(Ne,3)},ar=Ve.scale=Ve.__private__.scale=function(Ne){if(isNaN(Ne))throw new Error("Invalid argument passed to jsPDF.scale");return Un===sr?Ne*ys:Un===qn?Ne:void 0},nr=function(Ne){return ar(function(Dt){return Un===sr?U0()-Dt:Un===qn?Dt:void 0}(Ne))};Ve.__private__.setPrecision=Ve.setPrecision=function(Ne){typeof parseInt(Ne,10)=="number"&&(ne=parseInt(Ne,10))};var $r,oi="00000000000000000000000000000000",hi=Ve.__private__.getFileId=function(){return oi},Zr=Ve.__private__.setFileId=function(Ne){return oi=Ne!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ne)?Ne.toUpperCase():oi.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ze!==null&&(pu=new Od(Ze.userPermissions,Ze.userPassword,Ze.ownerPassword,oi)),oi};Ve.setFileId=function(Ne){return Zr(Ne),this},Ve.getFileId=function(){return hi()};var di=Ve.__private__.convertDateToPDFDate=function(Ne){var Dt=Ne.getTimezoneOffset(),kn=Dt<0?"+":"-",ir=Math.floor(Math.abs(Dt/60)),Fr=Math.abs(Dt%60),Ei=[kn,Wn(ir),"'",Wn(Fr),"'"].join("");return["D:",Ne.getFullYear(),Wn(Ne.getMonth()+1),Wn(Ne.getDate()),Wn(Ne.getHours()),Wn(Ne.getMinutes()),Wn(Ne.getSeconds()),Ei].join("")},ba=Ve.__private__.convertPDFDateToDate=function(Ne){var Dt=parseInt(Ne.substr(2,4),10),kn=parseInt(Ne.substr(6,2),10)-1,ir=parseInt(Ne.substr(8,2),10),Fr=parseInt(Ne.substr(10,2),10),Ei=parseInt(Ne.substr(12,2),10),Gi=parseInt(Ne.substr(14,2),10);return new Date(Dt,kn,ir,Fr,Ei,Gi,0)},Ki=Ve.__private__.setCreationDate=function(Ne){var Dt;if(Ne===void 0&&(Ne=new Date),Ne instanceof Date)Dt=di(Ne);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ne))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Dt=Ne}return $r=Dt},Wt=Ve.__private__.getCreationDate=function(Ne){var Dt=$r;return Ne==="jsDate"&&(Dt=ba($r)),Dt};Ve.setCreationDate=function(Ne){return Ki(Ne),this},Ve.getCreationDate=function(Ne){return Wt(Ne)};var Nn,Wn=Ve.__private__.padd2=function(Ne){return("0"+parseInt(Ne)).slice(-2)},ur=Ve.__private__.padd2Hex=function(Ne){return("00"+(Ne=Ne.toString())).substr(Ne.length)},Br=0,Hr=[],ti=[],ii=0,Ii=[],Aa=[],Ka=!1,Wa=ti;Ve.__private__.setCustomOutputDestination=function(Ne){Ka=!0,Wa=Ne};var Do=function(Ne){Ka||(Wa=Ne)};Ve.__private__.resetCustomOutputDestination=function(){Ka=!1,Wa=ti};var bn=Ve.__private__.out=function(Ne){return Ne=Ne.toString(),ii+=Ne.length+1,Wa.push(Ne),Wa},Ja=Ve.__private__.write=function(Ne){return bn(arguments.length===1?Ne.toString():Array.prototype.join.call(arguments," "))},Ls=Ve.__private__.getArrayBuffer=function(Ne){for(var Dt=Ne.length,kn=new ArrayBuffer(Dt),ir=new Uint8Array(kn);Dt--;)ir[Dt]=Ne.charCodeAt(Dt);return kn},Zo=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];Ve.__private__.getStandardFonts=function(){return Zo};var la=E.fontSize||16;Ve.__private__.setFontSize=Ve.setFontSize=function(Ne){return la=Un===qn?Ne/ys:Ne,this};var Ho,qa=Ve.__private__.getFontSize=Ve.getFontSize=function(){return Un===sr?la:la*ys},ko=E.R2L||!1;Ve.__private__.setR2L=Ve.setR2L=function(Ne){return ko=Ne,this},Ve.__private__.getR2L=Ve.getR2L=function(){return ko};var Ro,Js=Ve.__private__.setZoomMode=function(Ne){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ne))Ho=Ne;else if(isNaN(Ne)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ne)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ne+'" is not recognized.');Ho=Ne}else Ho=parseInt(Ne,10)};Ve.__private__.getZoomMode=function(){return Ho};var qs,qo=Ve.__private__.setPageMode=function(Ne){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ne)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ne+'" is not recognized.');Ro=Ne};Ve.__private__.getPageMode=function(){return Ro};var Ws=Ve.__private__.setLayoutMode=function(Ne){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ne)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ne+'" is not recognized.');qs=Ne};Ve.__private__.getLayoutMode=function(){return qs},Ve.__private__.setDisplayMode=Ve.setDisplayMode=function(Ne,Dt,kn){return Js(Ne),Ws(Dt),qo(kn),this};var _s={title:"",subject:"",author:"",keywords:"",creator:""};Ve.__private__.getDocumentProperty=function(Ne){if(Object.keys(_s).indexOf(Ne)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return _s[Ne]},Ve.__private__.getDocumentProperties=function(){return _s},Ve.__private__.setDocumentProperties=Ve.setProperties=Ve.setDocumentProperties=function(Ne){for(var Dt in _s)_s.hasOwnProperty(Dt)&&Ne[Dt]&&(_s[Dt]=Ne[Dt]);return this},Ve.__private__.setDocumentProperty=function(Ne,Dt){if(Object.keys(_s).indexOf(Ne)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return _s[Ne]=Dt};var yo,ys,Lo,zc,cl,Fs={},Ts={},gc=[],_o={},Hl={},$o={},As={},Ll=null,as=0,jo=[],bl=new zg(Ve),bp=E.hotfixes||[],hu={},Zh={},ah=[],Yo=function Ne(Dt,kn,ir,Fr,Ei,Gi){if(!(this instanceof Ne))return new Ne(Dt,kn,ir,Fr,Ei,Gi);isNaN(Dt)&&(Dt=1),isNaN(kn)&&(kn=0),isNaN(ir)&&(ir=0),isNaN(Fr)&&(Fr=1),isNaN(Ei)&&(Ei=0),isNaN(Gi)&&(Gi=0),this._matrix=[Dt,kn,ir,Fr,Ei,Gi]};Object.defineProperty(Yo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ne){this._matrix[0]=Ne}}),Object.defineProperty(Yo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ne){this._matrix[1]=Ne}}),Object.defineProperty(Yo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ne){this._matrix[2]=Ne}}),Object.defineProperty(Yo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ne){this._matrix[3]=Ne}}),Object.defineProperty(Yo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ne){this._matrix[4]=Ne}}),Object.defineProperty(Yo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ne){this._matrix[5]=Ne}}),Object.defineProperty(Yo.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ne){this._matrix[0]=Ne}}),Object.defineProperty(Yo.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ne){this._matrix[1]=Ne}}),Object.defineProperty(Yo.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ne){this._matrix[2]=Ne}}),Object.defineProperty(Yo.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ne){this._matrix[3]=Ne}}),Object.defineProperty(Yo.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ne){this._matrix[4]=Ne}}),Object.defineProperty(Yo.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ne){this._matrix[5]=Ne}}),Object.defineProperty(Yo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Yo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Yo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Yo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Yo.prototype.join=function(Ne){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(br).join(Ne)},Yo.prototype.multiply=function(Ne){var Dt=Ne.sx*this.sx+Ne.shy*this.shx,kn=Ne.sx*this.shy+Ne.shy*this.sy,ir=Ne.shx*this.sx+Ne.sy*this.shx,Fr=Ne.shx*this.shy+Ne.sy*this.sy,Ei=Ne.tx*this.sx+Ne.ty*this.shx+this.tx,Gi=Ne.tx*this.shy+Ne.ty*this.sy+this.ty;return new Yo(Dt,kn,ir,Fr,Ei,Gi)},Yo.prototype.decompose=function(){var Ne=this.sx,Dt=this.shy,kn=this.shx,ir=this.sy,Fr=this.tx,Ei=this.ty,Gi=Math.sqrt(Ne*Ne+Dt*Dt),uo=(Ne/=Gi)*kn+(Dt/=Gi)*ir;kn-=Ne*uo,ir-=Dt*uo;var bo=Math.sqrt(kn*kn+ir*ir);return uo/=bo,Ne*(ir/=bo)>16&255,ir=bo>>8&255,Fr=255&bo}if(ir===void 0||Ei===void 0&&kn===ir&&ir===Fr)Dt=typeof kn=="string"?kn+" "+Gi[0]:Ne.precision===2?Jt(kn/255)+" "+Gi[0]:Bn(kn/255)+" "+Gi[0];else if(Ei===void 0||(0,ge.Z)(Ei)==="object"){if(Ei&&!isNaN(Ei.a)&&Ei.a===0)return["1.","1.","1.",Gi[1]].join(" ");Dt=typeof kn=="string"?[kn,ir,Fr,Gi[1]].join(" "):Ne.precision===2?[Jt(kn/255),Jt(ir/255),Jt(Fr/255),Gi[1]].join(" "):[Bn(kn/255),Bn(ir/255),Bn(Fr/255),Gi[1]].join(" ")}else Dt=typeof kn=="string"?[kn,ir,Fr,Ei,Gi[2]].join(" "):Ne.precision===2?[Jt(kn),Jt(ir),Jt(Fr),Jt(Ei),Gi[2]].join(" "):[Bn(kn),Bn(ir),Bn(Fr),Bn(Ei),Gi[2]].join(" ");return Dt},gd=Ve.__private__.getFilters=function(){return Ie},Rd=Ve.__private__.putStream=function(Ne){var Dt=(Ne=Ne||{}).data||"",kn=Ne.filters||gd(),ir=Ne.alreadyAppliedFilters||[],Fr=Ne.addLength1||!1,Ei=Dt.length,Gi=Ne.objectId,uo=function(Kl){return Kl};if(Ze!==null&&Gi===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ze!==null&&(uo=pu.encryptor(Gi,0));var bo={};kn===!0&&(kn=["FlateEncode"]);var es=Ne.additionalKeyValues||[],fs=(bo=go.API.processDataByFilters!==void 0?go.API.processDataByFilters(Dt,kn):{data:Dt,reverseChain:[]}).reverseChain+(Array.isArray(ir)?ir.join(" "):ir.toString());if(bo.data.length!==0&&(es.push({key:"Length",value:bo.data.length}),Fr===!0&&es.push({key:"Length1",value:Ei})),fs.length!=0)if(fs.split("/").length-1==1)es.push({key:"Filter",value:fs});else{es.push({key:"Filter",value:"["+fs+"]"});for(var ho=0;ho>"),bo.data.length!==0&&(bn("stream"),bn(uo(bo.data)),bn("endstream"))},wp=Ve.__private__.putPage=function(Ne){var Dt=Ne.number,kn=Ne.data,ir=Ne.objId,Fr=Ne.contentsObjId;jl(ir,!0),bn("<>"),bn("endobj");var Ei=kn.join(` `);return Un===qn&&(Ei+=` Q`),jl(Fr,!0),Rd({data:Ei,filters:gd(),objectId:Fr}),bn("endobj"),ir},lh=Ve.__private__.putPages=function(){var Ne,Dt,kn=[];for(Ne=1;Ne<=as;Ne++)jo[Ne].objId=Al(),jo[Ne].contentsObjId=Al();for(Ne=1;Ne<=as;Ne++)kn.push(wp({number:Ne,data:Aa[Ne],objId:jo[Ne].objId,contentsObjId:jo[Ne].contentsObjId,mediaBox:jo[Ne].mediaBox,cropBox:jo[Ne].cropBox,bleedBox:jo[Ne].bleedBox,trimBox:jo[Ne].trimBox,artBox:jo[Ne].artBox,userUnit:jo[Ne].userUnit,rootDictionaryObjId:sh,resourceDictionaryObjId:Ud}));jl(sh,!0),bn("<>"),bn("endobj"),bl.publish("postPutPages")},xp=function(Ne){bl.publish("putFont",{font:Ne,out:bn,newObject:Tc,putStream:Rd}),Ne.isAlreadyPutted!==!0&&(Ne.objectNumber=Tc(),bn("<<"),bn("/Type /Font"),bn("/BaseFont /"+Ou(Ne.postScriptName)),bn("/Subtype /Type1"),typeof Ne.encoding=="string"&&bn("/Encoding /"+Ne.encoding),bn("/FirstChar 32"),bn("/LastChar 255"),bn(">>"),bn("endobj"))},Cp=function(Ne){Ne.objectNumber=Tc();var Dt=[];Dt.push({key:"Type",value:"/XObject"}),Dt.push({key:"Subtype",value:"/Form"}),Dt.push({key:"BBox",value:"["+[br(Ne.x),br(Ne.y),br(Ne.x+Ne.width),br(Ne.y+Ne.height)].join(" ")+"]"}),Dt.push({key:"Matrix",value:"["+Ne.matrix.toString()+"]"});var kn=Ne.pages[1].join(` `);Rd({data:kn,additionalKeyValues:Dt,objectId:Ne.objectNumber}),bn("endobj")},hg=function(Ne,Dt){Dt||(Dt=21);var kn=Tc(),ir=function(Gi,uo){var bo,es=[],fs=1/(uo-1);for(bo=0;bo<1;bo+=fs)es.push(bo);if(es.push(1),Gi[0].offset!=0){var ho={offset:0,color:Gi[0].color};Gi.unshift(ho)}if(Gi[Gi.length-1].offset!=1){var Ec={offset:1,color:Gi[Gi.length-1].color};Gi.push(Ec)}for(var nu="",tc=0,Kl=0;KlGi[tc+1].offset;)tc++;var ru=Gi[tc].offset,Hu=(bo-ru)/(Gi[tc+1].offset-ru),t0=Gi[tc].color,Ef=Gi[tc+1].color;nu+=ur(Math.round((1-Hu)*t0[0]+Hu*Ef[0]).toString(16))+ur(Math.round((1-Hu)*t0[1]+Hu*Ef[1]).toString(16))+ur(Math.round((1-Hu)*t0[2]+Hu*Ef[2]).toString(16))}return nu.trim()}(Ne.colors,Dt),Fr=[];Fr.push({key:"FunctionType",value:"0"}),Fr.push({key:"Domain",value:"[0.0 1.0]"}),Fr.push({key:"Size",value:"["+Dt+"]"}),Fr.push({key:"BitsPerSample",value:"8"}),Fr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Fr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Rd({data:ir,additionalKeyValues:Fr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:kn}),bn("endobj"),Ne.objectNumber=Tc(),bn("<< /ShadingType "+Ne.type),bn("/ColorSpace /DeviceRGB");var Ei="/Coords ["+br(parseFloat(Ne.coords[0]))+" "+br(parseFloat(Ne.coords[1]))+" ";Ne.type===2?Ei+=br(parseFloat(Ne.coords[2]))+" "+br(parseFloat(Ne.coords[3])):Ei+=br(parseFloat(Ne.coords[2]))+" "+br(parseFloat(Ne.coords[3]))+" "+br(parseFloat(Ne.coords[4]))+" "+br(parseFloat(Ne.coords[5])),bn(Ei+="]"),Ne.matrix&&bn("/Matrix ["+Ne.matrix.toString()+"]"),bn("/Function "+kn+" 0 R"),bn("/Extend [true true]"),bn(">>"),bn("endobj")},Bp=function(Ne,Dt){var kn=Al(),ir=Tc();Dt.push({resourcesOid:kn,objectOid:ir}),Ne.objectNumber=ir;var Fr=[];Fr.push({key:"Type",value:"/Pattern"}),Fr.push({key:"PatternType",value:"1"}),Fr.push({key:"PaintType",value:"1"}),Fr.push({key:"TilingType",value:"1"}),Fr.push({key:"BBox",value:"["+Ne.boundingBox.map(br).join(" ")+"]"}),Fr.push({key:"XStep",value:br(Ne.xStep)}),Fr.push({key:"YStep",value:br(Ne.yStep)}),Fr.push({key:"Resources",value:kn+" 0 R"}),Ne.matrix&&Fr.push({key:"Matrix",value:"["+Ne.matrix.toString()+"]"}),Rd({data:Ne.stream,additionalKeyValues:Fr,objectId:Ne.objectNumber}),bn("endobj")},Zg=function(Ne){for(var Dt in Ne.objectNumber=Tc(),bn("<<"),Ne)switch(Dt){case"opacity":bn("/ca "+Jt(Ne[Dt]));break;case"stroke-opacity":bn("/CA "+Jt(Ne[Dt]))}bn(">>"),bn("endobj")},Yg=function(Ne){jl(Ne.resourcesOid,!0),bn("<<"),bn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var Dt in bn("/Font <<"),Fs)Fs.hasOwnProperty(Dt)&&(kt===!1||kt===!0&&Nt.hasOwnProperty(Dt))&&bn("/"+Dt+" "+Fs[Dt].objectNumber+" 0 R");bn(">>")}(),function(){if(Object.keys(_o).length>0){for(var Dt in bn("/Shading <<"),_o)_o.hasOwnProperty(Dt)&&_o[Dt]instanceof th&&_o[Dt].objectNumber>=0&&bn("/"+Dt+" "+_o[Dt].objectNumber+" 0 R");bl.publish("putShadingPatternDict"),bn(">>")}}(),function(Dt){if(Object.keys(_o).length>0){for(var kn in bn("/Pattern <<"),_o)_o.hasOwnProperty(kn)&&_o[kn]instanceof Ve.TilingPattern&&_o[kn].objectNumber>=0&&_o[kn].objectNumber>")}}(Ne.objectOid),function(){if(Object.keys($o).length>0){var Dt;for(Dt in bn("/ExtGState <<"),$o)$o.hasOwnProperty(Dt)&&$o[Dt].objectNumber>=0&&bn("/"+Dt+" "+$o[Dt].objectNumber+" 0 R");bl.publish("putGStateDict"),bn(">>")}}(),function(){for(var Dt in bn("/XObject <<"),hu)hu.hasOwnProperty(Dt)&&hu[Dt].objectNumber>=0&&bn("/"+Dt+" "+hu[Dt].objectNumber+" 0 R");bl.publish("putXobjectDict"),bn(">>")}(),bn(">>"),bn("endobj")},bm=function(Ne){Ts[Ne.fontName]=Ts[Ne.fontName]||{},Ts[Ne.fontName][Ne.fontStyle]=Ne.id},wm=function(Ne,Dt,kn,ir,Fr){var Ei={id:"F"+(Object.keys(Fs).length+1).toString(10),postScriptName:Ne,fontName:Dt,fontStyle:kn,encoding:ir,isStandardFont:Fr||!1,metadata:{}};return bl.publish("addFont",{font:Ei,instance:this}),Fs[Ei.id]=Ei,bm(Ei),Ei.id},KA=Ve.__private__.pdfEscape=Ve.pdfEscape=function(Ne,Dt){return function(kn,ir){var Fr,Ei,Gi,uo,bo,es,fs,ho,Ec;if(Gi=(ir=ir||{}).sourceEncoding||"Unicode",bo=ir.outputEncoding,(ir.autoencode||bo)&&Fs[yo].metadata&&Fs[yo].metadata[Gi]&&Fs[yo].metadata[Gi].encoding&&(uo=Fs[yo].metadata[Gi].encoding,!bo&&Fs[yo].encoding&&(bo=Fs[yo].encoding),!bo&&uo.codePages&&(bo=uo.codePages[0]),typeof bo=="string"&&(bo=uo[bo]),bo)){for(fs=!1,es=[],Fr=0,Ei=kn.length;Fr>8&&(fs=!0);kn=es.join("")}for(Fr=kn.length;fs===void 0&&Fr!==0;)kn.charCodeAt(Fr-1)>>8&&(fs=!0),Fr--;if(!fs)return kn;for(es=ir.noBOM?[]:[254,255],Fr=0,Ei=kn.length;Fr>8)>>8)throw new Error("Character at position "+Fr+" of string '"+kn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");es.push(Ec),es.push(ho-(Ec<<8))}return String.fromCharCode.apply(void 0,es)}(Ne,Dt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Sp=Ve.__private__.beginPage=function(Ne){Aa[++as]=[],jo[as]={objId:0,contentsObjId:0,userUnit:Number(Se),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ne[0]),topRightY:Number(Ne[1])}},pg(as),Do(Aa[Nn])},Xg=function(Ne,Dt){var kn,ir,Fr;switch(te=Dt||te,typeof Ne=="string"&&(kn=en(Ne.toLowerCase()),Array.isArray(kn)&&(ir=kn[0],Fr=kn[1])),Array.isArray(Ne)&&(ir=Ne[0]*ys,Fr=Ne[1]*ys),isNaN(ir)&&(ir=ce[0],Fr=ce[1]),(ir>14400||Fr>14400)&&(ks.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),ir=Math.min(14400,ir),Fr=Math.min(14400,Fr)),ce=[ir,Fr],te.substr(0,1)){case"l":Fr>ir&&(ce=[Fr,ir]);break;case"p":ir>Fr&&(ce=[Fr,ir])}Sp(ce),ds(wg),bn(xg),Fp!==0&&bn(Fp+" J"),tm!==0&&bn(tm+" j"),bl.publish("addPage",{pageNumber:as})},Jg=function(Ne){Ne>0&&Ne<=as&&(Aa.splice(Ne,1),jo.splice(Ne,1),as--,Nn>as&&(Nn=as),this.setPage(Nn))},pg=function(Ne){Ne>0&&Ne<=as&&(Nn=Ne)},gg=Ve.__private__.getNumberOfPages=Ve.getNumberOfPages=function(){return Aa.length-1},qg=function(Ne,Dt,kn){var ir,Fr=void 0;return kn=kn||{},Ne=Ne!==void 0?Ne:Fs[yo].fontName,Dt=Dt!==void 0?Dt:Fs[yo].fontStyle,ir=Ne.toLowerCase(),Ts[ir]!==void 0&&Ts[ir][Dt]!==void 0?Fr=Ts[ir][Dt]:Ts[Ne]!==void 0&&Ts[Ne][Dt]!==void 0?Fr=Ts[Ne][Dt]:kn.disableWarning===!1&&ks.warn("Unable to look up font label for font '"+Ne+"', '"+Dt+"'. Refer to getFontList() for available fonts."),Fr||kn.noFallback||(Fr=Ts.times[Dt])==null&&(Fr=Ts.times.normal),Fr},oA=Ve.__private__.putInfo=function(){var Ne=Tc(),Dt=function(ir){return ir};for(var kn in Ze!==null&&(Dt=pu.encryptor(Ne,0)),bn("<<"),bn("/Producer ("+KA(Dt("jsPDF "+go.version))+")"),_s)_s.hasOwnProperty(kn)&&_s[kn]&&bn("/"+kn.substr(0,1).toUpperCase()+kn.substr(1)+" ("+KA(Dt(_s[kn]))+")");bn("/CreationDate ("+KA(Dt($r))+")"),bn(">>"),bn("endobj")},ch=Ve.__private__.putCatalog=function(Ne){var Dt=(Ne=Ne||{}).rootDictionaryObjId||sh;switch(Tc(),bn("<<"),bn("/Type /Catalog"),bn("/Pages "+Dt+" 0 R"),Ho||(Ho="fullwidth"),Ho){case"fullwidth":bn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":bn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":bn("/OpenAction [3 0 R /Fit]");break;case"original":bn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var kn=""+Ho;kn.substr(kn.length-1)==="%"&&(Ho=parseInt(Ho)/100),typeof Ho=="number"&&bn("/OpenAction [3 0 R /XYZ null null "+Jt(Ho)+"]")}switch(qs||(qs="continuous"),qs){case"continuous":bn("/PageLayout /OneColumn");break;case"single":bn("/PageLayout /SinglePage");break;case"two":case"twoleft":bn("/PageLayout /TwoColumnLeft");break;case"tworight":bn("/PageLayout /TwoColumnRight")}Ro&&bn("/PageMode /"+Ro),bl.publish("putCatalog"),bn(">>"),bn("endobj")},mg=Ve.__private__.putTrailer=function(){bn("trailer"),bn("<<"),bn("/Size "+(Br+1)),bn("/Root "+Br+" 0 R"),bn("/Info "+(Br-1)+" 0 R"),Ze!==null&&bn("/Encrypt "+pu.oid+" 0 R"),bn("/ID [ <"+oi+"> <"+oi+"> ]"),bn(">>")},Oc=Ve.__private__.putHeader=function(){bn("%PDF-"+yn),bn("%\xBA\xDF\xAC\xE0")},$g=Ve.__private__.putXRef=function(){var Ne="0000000000";bn("xref"),bn("0 "+(Br+1)),bn("0000000000 65535 f ");for(var Dt=1;Dt<=Br;Dt++)typeof Hr[Dt]=="function"?bn((Ne+Hr[Dt]()).slice(-10)+" 00000 n "):Hr[Dt]!==void 0?bn((Ne+Hr[Dt]).slice(-10)+" 00000 n "):bn("0000000000 00000 n ")},uh=Ve.__private__.buildDocument=function(){var Ne;Br=0,ii=0,ti=[],Hr=[],Ii=[],sh=Al(),Ud=Al(),Do(ti),bl.publish("buildDocument"),Oc(),lh(),function(){bl.publish("putAdditionalObjects");for(var kn=0;kn"),bn("/O <"+pu.toHexString(pu.O)+">"),bn("/P "+pu.P),bn(">>"),bn("endobj")),oA(),ch();var Dt=ii;return $g(),mg(),bn("startxref"),bn(""+Dt),bn("%%EOF"),Do(Aa[Nn]),ti.join(` `)},Ep=Ve.__private__.getBlob=function(Ne){return new Blob([Ls(Ne)],{type:"application/pdf"})},xm=Ve.output=Ve.__private__.output=(hd=function(Ne,Dt){switch(typeof(Dt=Dt||{})=="string"?Dt={filename:Dt}:Dt.filename=Dt.filename||"generated.pdf",Ne){case void 0:return uh();case"save":Ve.save(Dt.filename);break;case"arraybuffer":return Ls(uh());case"blob":return Ep(uh());case"bloburi":case"bloburl":if(xo.URL!==void 0&&typeof xo.URL.createObjectURL=="function")return xo.URL&&xo.URL.createObjectURL(Ep(uh()))||void 0;ks.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var kn="",ir=uh();try{kn=yl(ir)}catch(nu){kn=yl(unescape(encodeURIComponent(ir)))}return"data:application/pdf;filename="+Dt.filename+";base64,"+kn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(xo)==="[object Window]"){var Fr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Ei=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Dt.pdfObjectUrl&&(Fr=Dt.pdfObjectUrl,Ei="");var Gi='