|
|
!(function(){var ac=Math.pow;var Kc=(Cn,mn,se)=>new Promise((ae,He)=>{var ze=ke=>{try{Se(se.next(ke))}catch(Oe){He(Oe)}},rt=ke=>{try{Se(se.throw(ke))}catch(Oe){He(Oe)}},Se=ke=>ke.done?ae(ke.value):Promise.resolve(ke.value).then(ze,rt);Se((se=se.apply(Cn,mn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[8679],{40001:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},26227:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},84105:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},41464:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},18785:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},87169:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},73331:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},15277:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},33853:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},62772:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},61485:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},38819:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},47472:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},87395:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(Ze,yt){return He.createElement(Se.Z,(0,ae.Z)({},Ze,{ref:yt,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe},76809:function(){"use strict"},17022:function(){"use strict"},89722:function(Cn,mn){"use strict";mn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},1051:function(Cn,mn){"use strict";mn.Z={flex_box_center:"flex_box_center___IBr6x",flex_space_between:"flex_space_between___n2Iz0",flex_box_vertical_center:"flex_box_vertical_center___1umwO",flex_box_center_end:"flex_box_center_end___SRZYb",flex_box_column:"flex_box_column___b90Da",form:"form___V3fAH",title_icon:"title_icon____uDZy",title:"title___RxKwK",content:"content___vFT5m",pubColSty:"pubColSty___dfLkL",selectSty:"selectSty____Wuek",borderSty:"borderSty___EuFYV",delSty:"delSty___AdEeI",delBorder:"delBorder___vcTJc",copHover:"copHover___JVVXI",multiple_select:"multiple_select___ZMPhl",work_checkbox_group:"work_checkbox_group___sGLxY"}},20063: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 Cn={},mn="5.0",se={},ae=null,He=!1,ze=!1,rt=null,Se=!1,ke=null,Oe=null,xe=0;xe<arguments.length;xe++){var Ee=arguments[xe];if(Ee!==null)switch(typeof Ee){case"number":mn=Ee.toFixed(1);break;case"string":Ee.match(new RegExp("^[0-9]\\.[0-9]+$"))?mn=Ee:rt=Ee;break;case"object":typeof Ee.is3D!="undefined"?ae=Ee:se=Ee;break;case"boolean":He=Ee,ze=!0;break}}ae===null&&(ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},se.material_id!==void 0&&!ze&&(He=!0)),rt!==null&&se.id===void 0&&(se.id=rt);var Ze="",yt="",Be=!1,Te=null,dt=null,ot=null,ft=!1,lt=null,ht=null,Vt=null,st=null,vt=null;se.height!==void 0&&(se.height=Math.round(se.height)),se.width!==void 0&&(se.width=Math.round(se.width));var Ke=function(Ve){return parseFloat(Ve)>4?parseFloat(Ve):5};Cn.setHTML5Codebase=function(Ve,tt){Oe=Ve,nt(Ve,tt)},Cn.setJavaCodebase=Cn.setJavaCodebaseVersion=Cn.isCompiledInstalled=Cn.setPreCompiledScriptPath=Cn.setPreCompiledResourcePath=function(){},Cn.setHTML5CodebaseVersion=function(Ve,tt){var At=parseFloat(Ve);if(At!==NaN&&At<5){console.log("The GeoGebra HTML5 codebase version "+At+" is deprecated. Using version latest instead.");return}ke=Ve,Ce(Ve,tt)},Cn.getHTML5CodebaseVersion=function(){return dt},Cn.getParameters=function(){return se},Cn.setFontsCSSURL=function(Ve){st=Ve},Cn.setGiacJSURL=function(Ve){},Cn.setJNLPFile=function(Ve){Ze=Ve},Cn.setJNLPBaseDir=function(Ve){},Cn.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var tt="auto",At=se.id,fn,Kt=!1,yn=0;yn<arguments.length;yn++){var kt=arguments[yn];typeof kt=="string"?(kt=kt.toLowerCase(),kt.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?tt=kt:At=arguments[yn]):typeof kt=="boolean"?Kt=kt:kt instanceof HTMLElement&&(fn=kt)}Bt();function Bt(){if(!Se){setTimeout(Bt,200);return}tt=jt(tt);var xt=fn||document.getElementById(At);if(!xt){console.log("possibly bug on ajax loading? ");return}if(Cn.removeExistingApplet(xt,!1),se.width===void 0&&xt.clientWidth&&(se.width=xt.clientWidth),se.height===void 0&&xt.clientHeight&&(se.height=xt.clientHeight),!(se.width&&se.height)&&tt==="html5"&&(delete se.width,delete se.height),Te=tt,tt==="screenshot")it(xt,se);else{var ve=!1;se.hasOwnProperty("playButton")&&se.playButton||se.hasOwnProperty("clickToLoad")&&se.clickToLoad?ve=!0:se.hasOwnProperty("playButtonAutoDecide")&&se.playButtonAutoDecide&&(ve=(!pe()||Ve())&&$e()),ve?(Te="screenshot",rn(xt,se,Kt,tt)):Pt(xt,se,Kt)}}};function pe(){try{return window.self!==window.top}catch(Ve){return!0}}function $e(){return se.hasOwnProperty("screenshotGenerator")&&se.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Cn.getViews=function(){return ae},Cn.isJavaInstalled=function(){return!1};var et=function(Ve){var tt=function(yn){var kt=JSON.parse(yn),Bt=function(ce){return ce.type=="G"||ce.type=="E"},xt=kt.elements?kt.elements.filter(Bt)[0]:kt;if(!xt||!xt.url){At();return}se.fileName=xt.url,qe(xt.settings||{}),ae.is3D=!0;var ve="https://www.geogebra.org/images/";Cn.setPreviewImage(lt||xt.previewUrl,ve+"GeoGebra_loading.png",ve+"applet_play.png"),Ve()},At=function(){se.onError&&se.onError(),$t("Error: Fetching material (id "+se.material_id+") failed.",se)},fn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Kt="/materials/"+se.material_id+"?scope=basic";Ye("https://"+fn+"/api/proxy.php?path="+encodeURIComponent(Kt),tt,At)};function qe(Ve){var tt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(At){Ve[At]=!!Ve[At]}),tt.forEach(function(At){se[At]===void 0&&Ve[At]!==void 0&&(se[At]=Ve[At])}),se.showToolBarHelp===void 0&&(se.showToolBarHelp=se.showToolBar)}function Ye(Ve,tt,At){var fn=new XMLHttpRequest;fn.open("GET",Ve),fn.onload=function(){tt(fn.responseText)},fn.onerror=At,fn.send()}Cn.isHTML5Installed=function(){return!0},Cn.getLoadedAppletType=function(){return Te},Cn.setPreviewImage=function(Ve,tt,At){lt=Ve,ht=tt,Vt=At},Cn.removeExistingApplet=function(Ve,tt){var At;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),Te=null;var fn=null;for(At=0;At<Ve.childNodes.length;At++){var Kt=Ve.childNodes[At],yn=Kt.className;yn==="applet_screenshot"?tt?(Kt.style.display="block",Te="screenshot"):Kt.style.display="none":yn!=="applet_scaler prerender"&&(Ve.removeChild(Kt),fn=yn&&yn.indexOf("appletParameters")!=-1?Kt.id:null,At--)}var kt=se.id!==void 0?se.id:fn,Bt=window[kt];Bt&&typeof Bt.getBase64=="function"&&(Bt.remove(),window[kt]=null)},Cn.refreshHitPoints=function(){if(Ke(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ve=Cn.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},Cn.startAnimation=function(){var Ve=Cn.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},Cn.stopAnimation=function(){var Ve=Cn.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},Cn.getAppletObject=function(){var Ve=se.id!==void 0?se.id:"ggbApplet";return window[Ve]},Cn.resize=function(){};var pt=function(Ve,tt,At){var fn=document.createElement("param");fn.setAttribute("name",tt),fn.setAttribute("value",At),Ve.appendChild(fn)},at=function(Ve){return Ve&&Ve!=="false"},Pt=function(Ve,tt,At){Ke(dt)<=4.2&&(At=!0);var fn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==dt||ggbHTML5LoadedCodebaseIsWebSimple&&!ft)&&(fn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Kt=document.createElement("div");Kt.classList.add("appletParameters","notranslate");var yn=tt.width,kt=tt.height;if(tt.disableAutoScale=tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():tt.disableAutoScale,tt.width!==void 0)if(Ke(dt)<=4.4)at(tt.showToolBar)&&(tt.height-=7),at(tt.showAlgebraInput)&&(tt.height-=37),tt.width<605&&at(tt.showToolBar)&&(tt.width=605,yn=605);else{var Bt=100;(at(tt.showToolBar)||at(tt.showMenuBar))&&(tt.hasOwnProperty("customToolBar")&&(tt.customToolbar=tt.customToolBar),Bt=at(tt.showMenuBar)?245:155),yn<Bt&&(tt.width=Bt,yn=Bt)}Kt.style.border="none",Kt.style.display="inline-block";for(var xt in tt)tt.hasOwnProperty(xt)&&xt!=="appletOnLoad"&&Kt.setAttribute("data-param-"+xt,tt[xt]);st&&Kt.setAttribute("data-param-fontscssurl",st),Cn.resize=function(){GGBAppletUtils.responsiveResize(Ve,tt)},window.addEventListener("resize",function(zt){Cn.resize()});var ve=typeof tt.appletOnLoad=="function"?tt.appletOnLoad:function(){};if(!At&&tt.width!==void 0){tt.hasOwnProperty("showSplash")||Kt.setAttribute("data-param-showSplash","false");var ce=Ve.querySelector(".applet_scaler.prerender"),le=ce!==null;if(le)var fe=ce.querySelector(".ggb_preview");else{var fe=un(yn,kt,tt.borderColor,!1);ce=document.createElement("div"),ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.style.width=yn+"px",ce.style.height=kt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ce,"66%"),Ke(dt)>=5?(tt.appletOnLoad=function(zt){var bn=Ve.querySelector(".ggb_preview");bn&&bn.parentNode.removeChild(bn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ce),window.GGBT_wsf_view&&$(window).trigger("resize"),ve(zt)},le||ce.appendChild(fe)):Kt.appendChild(fe),ce.appendChild(Kt),le||Ve.appendChild(ce),setTimeout(function(){Cn.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(Kt),Ve.appendChild(he),tt.appletOnLoad=function(zt){Cn.resize(),ve(zt)}}function ue(zt,bn){bn&&typeof bn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(zt,bn.appletOnLoad):renderGGBElement(zt),$t("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",bn)}function Pe(zt,bn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:zt,params:bn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(In){ue(In.article,In.params)}),html5AppletsToProcess=null)},Ke(dt)<5&&(zt.className+=" geogebraweb")):ue(zt,bn)}if(fn){scriptLoadStarted=!0;for(var _e=0;_e<Kt.childNodes.length;_e++){var Dt=Kt.childNodes[_e].tagName;Dt==="TABLE"&&(Kt.removeChild(Kt.childNodes[_e]),_e--)}if(ggbHTML5LoadedScript!==null){var Lt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Lt!=null&&Lt.parentNode.removeChild(Lt)}var Ht=document.createElement("script"),Qt=function(){Pe(Kt,tt)};Ht.src=yt+ot,ggbHTML5LoadedCodebaseIsWebSimple=ft,ggbHTML5LoadedCodebaseVersion=dt,ggbHTML5LoadedScript=Ht.src,$t("GeoGebra HTML5 codebase loaded: '"+yt+"'.",tt),!Oe&&(!ke||ke=="5.0")?(ft?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Qt()):yt.requirejs?__webpack_require__.e(5795).then(function(){var zt=[__webpack_require__(95795)];Qt.apply(null,zt)}.bind(this)).catch(__webpack_require__.oe):(Ht.onload=Qt,Ve.appendChild(Ht))}else Pe(Kt,tt);tt.height=kt,tt.width=yn},it=function(Ve,tt,At){var fn=un(tt.width,tt.height,tt.borderColor,At),Kt=document.createElement("div");Kt.style.position="relative",Kt.style.display="block",Kt.style.width=tt.width+"px",Kt.style.height=tt.height+"px",Kt.className="applet_screenshot applet_scaler"+(At?" applet_screenshot_play":""),Kt.appendChild(fn);var yn=GGBAppletUtils.getScale(tt,Ve,At);At?(Ve.appendChild(Ut()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Kt,"66%"),Ve.appendChild(Kt),yn!==1&&!isNaN(yn)&&(GGBAppletUtils.scaleElement(Kt,yn),Kt.style.width=tt.width+"px",Kt.style.height=tt.height+"px",Kt.parentNode.style.width=tt.width*yn+"px",Kt.parentNode.style.height=tt.height*yn+"px"),Cn.resize=function(){Nt(Ve,fn,Kt,At)},window.addEventListener("resize",function(kt){Cn.resize()}),Cn.resize()};function Nt(Ve,tt,At,fn){if(Ve.contains(tt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ve)}var Kt=GGBAppletUtils.getScale(se,Ve,fn);At.parentNode!==null&&(!isNaN(Kt)&&Kt!==1?(GGBAppletUtils.scaleElement(At,Kt),At.parentNode.style.width=se.width*Kt+"px",At.parentNode.style.height=se.height*Kt+"px"):(GGBAppletUtils.scaleElement(At,1),At.parentNode.style.width=se.width+"px",At.parentNode.style.height=se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ve),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Cn.onExitFullscreen=function(Ve,tt){tt.appendChild(Ve)};var rn=function(Ve,tt,At,fn){it(Ve,tt,!0);for(var Kt=function(){var Bt=[];for(kt=0;kt<Ve.childNodes.length;kt++)Bt.push(Ve.childNodes[kt]);if(window.GGBT_wsf_view){var xt=window.GGBT_wsf_view.renderFullScreen(Ve,tt.id),ve=document.getElementById("fullscreencontainer"),ce=jQuery(Ve).find(".fullscreencontent");ce.length>0?(xt.remove(),ce.attr("id","fullscreencontent").show(),jQuery(ve).append(ce),window.dispatchEvent(new Event("resize"))):Pt(xt,tt,!1),window.GGBT_wsf_view.launchFullScreen(ve)}else Te=fn,Pt(Ve,tt,!1);if(!window.GGBT_wsf_view)for(kt=0;kt<Bt.length;kt++)Ve.removeChild(Bt[kt])},yn=Ve.getElementsByClassName("ggb_preview_play"),kt=0;kt<yn.length;kt++)yn[kt].addEventListener("click",Kt,!1),yn[kt].addEventListener("ontouchstart",Kt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),$e()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ut=function(){var Ve=document.createElement("div");if(Ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var tt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',At=document.createElement("style");At.styleSheet?At.styleSheet.cssText=tt:At.appendChild(document.createTextNode(tt)),document.getElementsByTagName("head")[0].appendChild(At)}return Ve},un=function(Ve,tt,At,fn){var Kt=document.createElement("div");Kt.className="ggb_preview",Kt.style.position="absolute",Kt.style.zIndex="90",Kt.style.width=Ve-2+"px",Kt.style.height=tt-2+"px",Kt.style.top="0px",Kt.style.left="0px",Kt.style.overflow="hidden",Kt.style.backgroundColor="white";var yn="lightgrey";At!==void 0&&(At==="none"?yn="transparent":yn=At),Kt.style.border="1px solid "+yn;var kt=document.createElement("img");if(kt.style.position="relative",kt.style.zIndex="1000",kt.style.top="-1px",kt.style.left="-1px",lt!==null&&kt.setAttribute("src",lt),kt.style.opacity=.7,ht!==null){var Bt,xt,ve;if(!fn){Bt=document.createElement("img"),Bt.style.position="absolute",Bt.style.zIndex="1001",Bt.style.opacity=1,kt.style.opacity=.3,xt=360,xt>Ve/4*3&&(xt=Ve/4*3),ve=xt/5.8,Bt.setAttribute("src",ht),Bt.setAttribute("width",xt),Bt.setAttribute("height",ve);var ce=(Ve-xt)/2,le=(tt-ve)/2;Bt.style.left=ce+"px",Bt.style.top=le+"px",Kt.appendChild(Bt)}}return Kt.appendChild(kt),Kt},jt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},Qe=["web","webSimple","web3d","tablet","tablet3d","phone"],Ce=function(Ve,tt){if(dt=Ve,tt){nt(dt,!0);return}var At=!He;if(At){var fn=Ke(dt);!isNaN(fn)&&fn<4.4&&(At=!1)}var Kt,yn;window.location.protocol.substr(0,4)==="http"?Kt=window.location.protocol:Kt="http:";var kt=dt.indexOf("//");kt>0?yn=dt:kt===0?yn=Kt+dt:yn="https://www.geogebra.org/apps/5.2.814.0/";for(var Bt in Qe)if(dt.slice(Qe[Bt].length*-1)===Qe[Bt]||dt.slice((Qe[Bt].length+1)*-1)===Qe[Bt]+"/"){nt(yn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&At&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!at(se.showToolBar)&&!at(se.showMenuBar)&&!at(se.showAlgebraInput)&&!at(se.enableRightClick)&&(!se.appName||se.appName=="classic")?yn+="webSimple/":yn+="web3d/",nt(yn,!1)},nt=function(Ve,tt){if(Ve.requirejs){yt=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),yt=Ve,tt===null&&(tt=Ve.indexOf("http")===-1),Be=tt,ot="web.nocache.js",ft=!1;var At=yt.split("/");At.length>1&&(!tt&&At[At.length-2]==="webSimple"?(ot="webSimple.nocache.js",ft=!0):Qe.indexOf(At[At.length-2])>=0&&(ot=At[At.length-2]+".nocache.js")),At=Ve.split("/"),dt=At[At.length-3],dt.substr(0,4)==="test"?dt=dt.substr(4,1)+"."+dt.substr(5,1):(dt.substr(0,3)==="war"||dt.substr(0,4)==="beta")&&(dt="5.0");var fn=parseFloat(dt);fn!==NaN&&fn<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+fn+" is deprecated. Using version latest instead."),Ce("5.0",tt))},$t=function(Ve,tt){window.console&&window.console.log&&(!tt||typeof tt.showLogging=="undefined"||tt.showLogging&&tt.showLogging!=="false")&&console.log(Ve)};se.material_id!==void 0?et(Et):Et();function Et(){var Ve=mn;ke!==null?Ve=ke:parseFloat(Ve)<5&&(Ve="5.0"),Ce(Ve,!1),Oe!==null&&nt(Oe,Be),Se=!0}return Cn},GGBAppletUtils=function(){"use strict";function Cn(){return window.GGBT_wsf_edit!==void 0}function mn(Se,ke){ke!=1?(Se.style.transformOrigin="0% 0% 0px",Se.style.webkitTransformOrigin="0% 0% 0px",Se.style.transform="scale("+ke+","+ke+")",Se.style.webkitTransform="scale("+ke+","+ke+")",Se.style.maxWidth="initial",Se.querySelector(".ggb_preview")!==null&&(Se.querySelector(".ggb_preview").style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Se.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Se.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Se.style.transform="none",Se.style.webkitTransform="none")}function se(Se,ke,Oe,xe,Ee,Ze){var yt=null;if(Ze!=null&&Ze!="")for(var Be=Se.parentNode;Be!=null;)if((" "+Be.className+" ").indexOf(" "+Ze+" ")>-1){yt=Be;break}else Be=Be.parentNode;var Te=0,dt=0,ot=0,ft=0,lt=0,ht=0,Vt=0;if(yt)Te=yt.offsetWidth,dt=Math.max(xe?yt.offsetWidth:0,yt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Te=Math.min(window.innerWidth,document.documentElement.clientWidth),dt=Math.min(window.innerHeight,document.documentElement.clientHeight),ot=Te):(Te=window.innerWidth,dt=window.innerHeight,ot=window.innerWidth),Se){var st=Se.getBoundingClientRect();st.left>0&&st.left<=Te&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(lt=Te-st.width-st.left,ht=ot<=480?10:30):(ht=st.left,lt=ot<=480?10:30),ft=ht+lt)}if(Se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var vt=Se.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ft=40,Vt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ft=0,Vt=40)}}return Se&&((Oe===void 0||!Oe)&&ke>0&&ke+ft<Te?Te=ke:Te-=ft,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Oe===void 0||!Oe)&&(dt-=Vt)),{width:Te,height:dt}}function ae(Se,ke,Oe,xe,Ee){if(Se.isScreenshoGenerator)return 1;var Ze=xe!==void 0&&xe,yt=Se.noScaleMargin!=null&&Se.noScaleMargin,Be=function(vt){return vt&&vt!=="false"},Te=Be(Se.autoHeight),dt=se(ke,Se.width,Oe,Te,Ze&&window.GGBT_wsf_view||yt,Ee),ot=parseInt(dt.width),ft=Se.width,lt=Se.height;if(ft===void 0){var ht=ke.querySelector(".appletParameters");ht&&(ft=ht.offsetWidth,lt=ht.offsetHeight)}var Vt=ot/ft,st=Ze?1:dt.height/lt;return Oe!==void 0&&!Oe&&(Vt=Math.min(1,Vt),st=Math.min(1,st)),Math.min(Vt,st)}function He(Se,ke,Oe){var xe=1,Ee,Ze=!1;if(Se.hasOwnProperty("allowUpscale")&&(Ze=Se.allowUpscale),Se.hasOwnProperty("scale")&&(xe=parseFloat(Se.scale),(isNaN(xe)||xe===null||xe===0)&&(xe=1),xe>1&&(Ze=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ze=!0),!(Se.hasOwnProperty("disableAutoScale")&&Se.disableAutoScale))Ee=ae(Se,ke,Ze,Oe,Se.scaleContainerClass);else return xe;return Ze&&(!Se.hasOwnProperty("scale")||xe===1)?Ee:Math.min(xe,Ee)}function ze(Se){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),Oe=Math.min(window.innerHeight,document.documentElement.clientHeight),xe=Se.getBoundingClientRect(),Ee=(ke-xe.width)/2,Ze=(Oe-xe.height)/2;Ze<0&&(Ze=0),Se.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?Se.style.left="40px":Se.style.left=Ee+"px",Se.style.top=Ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ze<40?Se.style.top="40px":Se.style.top=Ze+"px",Se.style.left=Ee+"px")}function rt(Se,ke){var Oe=Se.querySelector(".appletParameters");if(Oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==Oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Se)}if(Oe.parentElement&&/fullscreen/.test(Oe.parentElement.className))return;var xe=He(ke,Se);Cn()&&Oe.setAttribute("data-param-scale",xe);for(var Ee=null,Ze=0;Ze<Se.childNodes.length;Ze++)if(Se.childNodes[Ze].className!==void 0&&Se.childNodes[Ze].className.match(/^applet_scaler/)){Ee=Se.childNodes[Ze];break}if(Ee!==null&&Ee.querySelector(".noscale")!==null)return;var yt=ke.id!==void 0?ke.id:"ggbApplet",Be=window[yt];(Be==null||!Be.recalculateEnvironments)&&Ee!==null&&!Ee.className.match(/fullscreen/)&&(Ee.parentNode.style.transform="",!isNaN(xe)&&xe!==1?(Ee.parentNode.style.width=ke.width*xe+"px",Ee.parentNode.style.height=ke.height*xe+"px",mn(Ee,xe)):(mn(Ee,1),Ee.parentNode.style.width=ke.width+"px",Ee.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&ze(Se),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Oe).parents(".content-added-content"))}}return{responsiveResize:rt,isFlexibleWorksheetEditor:Cn,positionCenter:ze,getScale:He,scaleElement:mn}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Cn=n.location.search;return Cn.indexOf(J)!=-1||Cn.indexOf(K)!=-1}function q(Cn,mn){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Cn){var mn=s[L].bindings;s[L].bindings=function(){for(var se=mn?mn():{},ae=Cn[webModule.__softPermutationId],He=O;He<ae.length;He++){var ze=ae[He];se[ze[O]]=ze[P]}return se}};var t;function u(){return v(),t}function v(){if(!t){var Cn=o.createElement(Q);if(Cn.id=L,Cn.style.cssText=R+S,Cn.tabIndex=-1,o.body.appendChild(Cn),t=Cn.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var mn=document.compatMode==U?V:W;t.write(mn+X),t.close()}}}function w(Cn){function mn(ae){function He(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var ze=He();if(ze){ae();return}function rt(){if(!ze){if(!He())return;ze=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,rt,!1),Se&&clearInterval(Se)}}o.addEventListener&&o.addEventListener(Z,rt,!1);var Se=setInterval(function(){rt()},$)}function se(ae){var He=u(),ze=He.body,rt=He.createElement(_);rt.language=ab,rt.crossOrigin=W,rt.src=ae,webModule.__errFn&&(rt.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),ze.appendChild(rt)}mn(function(){se(Cn)})}webModule.__startLoadingFragment=function(Cn){return C(Cn)},webModule.__installRunAsyncCode=function(Cn){var mn=u(),se=mn.body,ae=mn.createElement(_);ae.language=ab,ae.text=Cn,se.appendChild(ae),se.removeChild(ae)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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(Cn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Cn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Cn){var mn=c[Cn];return mn==null?null:mn},r=d,webModule.__errFn=e}function B(){function Cn(Se){var ke=Se.lastIndexOf(rb);ke==-1&&(ke=Se.length);var Oe=Se.indexOf(sb);Oe==-1&&(Oe=Se.length);var xe=Se.lastIndexOf(tb,Math.min(Oe,ke));return xe>=O?Se.substring(O,xe+P):W}function mn(Se){if(!Se.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=Se+vb,Se=Cn(ke.src)}return Se}function se(){var Se=__gwt_getMetaProperty(wb);return Se!=null?Se:W}function ae(){for(var Se=o.getElementsByTagName(_),ke=O;ke<Se.length;++ke)if(Se[ke].src.indexOf(xb)!=-1)return Cn(Se[ke].src);return W}function He(){var Se=o.getElementsByTagName(yb);return Se.length>O?Se[Se.length-P].href:W}function ze(){var Se=o.location;return Se.href==Se.protocol+zb+Se.host+Se.pathname+Se.search+Se.hash}var rt=se();return rt==W&&(rt=ae()),rt==W&&(rt=He()),rt==W&&ze()&&(rt=Cn(o.location.href)),rt=mn(rt),rt}function C(Cn){return Cn.match(/^\//)||Cn.match(/^[a-zA-Z]+:\/\//)?Cn:webModule.__moduleBase+Cn}function D(){var Cn=[],mn=O,se=[],ae=[];function He(Se){var ke=ae[Se](),Oe=se[Se];if(ke in Oe)return ke;var xe=[];for(var Ee in Oe)xe[Oe[Ee]]=Ee;throw r&&r(Se,xe,ke),null}if(__gwt_isKnownPropertyValue=function(Se,ke){return ke in se[Se]},webModule.__getPropMap=function(){var Se={};for(var ke in se)se.hasOwnProperty(ke)&&(Se[ke]=He(ke));return Se},webModule.__computePropValue=He,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ze;try{ze=Cb;var rt=ze.indexOf(Db);rt!=-1&&(mn=parseInt(ze.substring(rt+P),$),ze=ze.substring(O,rt))}catch(Se){}return webModule.__softPermutationId=mn,C(ze+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})()},25676:function(Cn,mn,se){"use strict";se.d(mn,{Ax:function(){return rt},Ds:function(){return Se},KI:function(){return Oe},SI:function(){return ze},f1:function(){return He}});var ae=se(11662);function He(xe){let Ee=!0;if(xe.length>0){for(let Ze=0;Ze<xe.length;Ze++)if(xe[Ze].compile_success==0||!xe[Ze].compile_success){Ee=!1;break}}else Ee=!1;return Ee}function ze(xe,Ee=""){let Ze=[];for(let yt=0;yt<xe.length;yt++){let Be=xe[yt],Te=Ee?`${Ee}/${Be.name}`:`${Be.name}`;Ze.push({title:Be.name,type:Be.type,isLeaf:Be.type!=="tree",key:Te})}return Ze}function rt(xe,Ee,Ze){for(let yt=0;yt<xe.length;yt++){let Be=xe[yt];if(Be.key===Ee){Be.children=Ze;break}Be.children&&rt(Be.children,Ee,Ze)}return xe}function Se(xe,Ee,Ze){let yt;return function(){let Be=this,Te=arguments,dt=function(){yt=null,Ze||xe.apply(Be,Te)},ot=Ze&&!yt;clearTimeout(yt),yt=setTimeout(dt,Ee),ot&&xe.apply(Be,Te)}}const ke=!0,Oe=ae.Z.API_SERVER},2781:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return yt}});var ae=se(59301),He={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ze=se(92310),rt=se.n(ze),Se=se(71418),ke=se(2859),Oe=se(64866),xe=se(22566),Ee=(Be,Te,dt)=>new Promise((ot,ft)=>{var lt=st=>{try{Vt(dt.next(st))}catch(vt){ft(vt)}},ht=st=>{try{Vt(dt.throw(st))}catch(vt){ft(vt)}},Vt=st=>st.done?ot(st.value):Promise.resolve(st.value).then(lt,ht);Vt((dt=dt.apply(Be,Te)).next())}),yt=({data:Be,className:Te,fullWidth:dt,style:ot={},onClose:ft,onOk:lt,showFullTools:ht,noAssociationId:Vt})=>{const st=(0,ae.useRef)(null),vt=(0,ae.useRef)(null),Ke=(0,ae.useRef)(null),pe=(0,ae.useRef)(null),[$e,et]=(0,ae.useState)(!1),[qe,Ye]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{Ke.current||(Ke.current=document.createElement("style"),document.head.appendChild(Ke.current)),Be!=null&&Be.visible?(document.body.setAttribute("data-custom","y-hidden"),Ke.current.innerHTML=" html { overflow-y: hidden; }",Be!=null&&Be.src&&pt()):(document.body.removeAttribute("data-custom"),Ke.current&&(document.head.removeChild(Ke.current),Ke.current=null))},[Be==null?void 0:Be.visible]);const pt=()=>Ee(void 0,null,function*(){et(!0),Ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const rn=yield(0,xe.ZJ)(Be==null?void 0:Be.src);st.current.src="",st.current.src=rn,st.current.onload=function(){Nt()},et(!1),Ye("")}),at=()=>{document.body.removeAttribute("data-custom"),Ke.current.innerHTML=" ",ft()},Pt=rn=>Ee(void 0,null,function*(){et(!0),Ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ut=yield(0,Oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Be.title,file:rn.dataUrl}});Ut!=null&&Ut.id&&!Vt?(yield(0,Oe.ZP)(`/api/attachments/${Be.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ut==null?void 0:Ut.id,settings:JSON.stringify(rn.state)}})).status===0&<():Ut!=null&&Ut.id&<(Ut),document.body.removeAttribute("data-custom"),Ke.current.innerHTML=" ",et(!1),Ye("")}),it=()=>{const rn=document.querySelector('a[href="https://markerjs.com/"]');rn&&rn.parentNode&&(rn.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(un=>{const jt=document.querySelector(un.name);jt&&jt.setAttribute("title",un.title)})},Nt=()=>{vt.current=new ke.hP(st.current),vt.current.targetRoot=pe.current,vt.current.addEventListener("render",Pt),vt.current.addEventListener("beforeclose",at),ht&&(vt.current.availableMarkerTypes=vt.current.ALL_MARKER_TYPES,vt.current.uiStyleSettings.redoButtonVisible=!0,vt.current.uiStyleSettings.notesButtonVisible=!0,vt.current.uiStyleSettings.zoomButtonVisible=!0,vt.current.uiStyleSettings.zoomOutButtonVisible=!0,vt.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=vt.current.uiStyleSettings,vt.current.show(),Be!=null&&Be.snapshotData&&vt.current.restoreState(Be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),it()},300)};return ae.createElement(ae.Fragment,null,(Be==null?void 0:Be.visible)&&ae.createElement(Se.Z,{spinning:$e,tip:qe,style:{position:"absolute"}},ae.createElement("div",{ref:pe,className:rt()(He.imageDimensions,Te,dt?He.fullWidth:""),style:ot},ae.createElement("img",{className:He.img,ref:st}))))}},50892:function(Cn,mn,se){"use strict";var ae=se(59301),He=se(95237),ze=se(43604),rt=se(99313),Se=se(3113),ke=se(9200),Oe=se(89722),xe=se(48136),Ee=se(59301);const Ze=(0,ae.forwardRef)(({callback:yt,showSaveButton:Be,value:Te=""},dt)=>{const ot=(0,ae.useRef)(),ft=[{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 "}]}]}],lt=[{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}`}]}]}],ht=vt=>{ot.current.setValue(ot.current.getValue()+" "+vt.value+" ")},Vt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ee.createElement(He.Z,{className:Oe.Z.lists,gutter:[10,10]},ft.map((vt,Ke)=>Ee.createElement(ze.Z,{flex:"110px",className:Oe.Z.item},Ee.createElement("div",null,Ee.createElement(ke.Z,{value:`$$${vt.value}$$`}),vt.name),Ee.createElement("div",{className:Oe.Z.children},vt.children.map((pe,$e)=>Ee.createElement("div",{key:$e},Ee.createElement("h1",null,pe.name),Ee.createElement(He.Z,{gutter:[10,10]},pe.data.map((et,qe)=>Ee.createElement(ze.Z,{key:qe,onClick:()=>ht(et),className:Oe.Z.diamond},Ee.createElement(ke.Z,{value:"`$$"+et.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ee.createElement(He.Z,{className:Oe.Z.lists,gutter:[10,10]},lt.map((vt,Ke)=>Ee.createElement(ze.Z,{flex:"110px",className:Oe.Z.item},Ee.createElement("div",null,Ee.createElement(ke.Z,{value:"`$$"+vt.value+"$$`"}),vt.name),Ee.createElement("div",{className:Oe.Z.children},vt.children.map((pe,$e)=>Ee.createElement("div",{key:$e},pe.name&&Ee.createElement("h1",null,pe.name),Ee.createElement(He.Z,{gutter:[10,10]},pe.data.map((et,qe)=>Ee.createElement(ze.Z,{key:qe,onClick:()=>ht(et),className:Oe.Z.diamond},Ee.createElement(ke.Z,{value:"`$$"+et.value+"$$`"}))))))))))}],st=()=>{var vt=document.createElement("div");vt.innerHTML=ot.current.getValue();var Ke=vt.innerText;return yt&&yt(Ke),Ke};return(0,ae.useImperativeHandle)(dt,()=>({getData:st})),Ee.createElement("div",{className:Oe.Z.mathWrap},Ee.createElement(rt.default,{defaultActiveKey:"1",items:Vt}),Ee.createElement("math-field",{locale:"zh_cn",className:Oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:ot,style:{width:800,marginTop:30,fontSize:18}},Te||""),Be&&Ee.createElement("div",{className:Oe.Z.button},Ee.createElement(Se.ZP,{size:"large",onClick:st,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});mn.Z=Ze},21837:function(Cn,mn,se){"use strict";se.d(mn,{Q:function(){return ke}});var ae=se(59301),He=se(57809),ze=se(5112),rt=se(5871),Se=se(59301),ke=(xe=>(xe[xe.Number=1]="Number",xe[xe.Percent=2]="Percent",xe))(ke||{});const Oe=({value:xe,onChange:Ee,disabled:Ze,hidePercentOption:yt=!1,percentType:Be="select"})=>{const Te=(0,ae.useMemo)(()=>yt?1:2,[yt]),[dt,ot]=(0,ae.useState)(Te);console.log(dt);const ft=ht=>xe.type===1?`${ht}\u5206`:`${ht}%`,lt=(0,ae.useCallback)(ht=>{if(dt===1){const Vt=ht.replace("\u5206","");return isNaN(parseInt(Vt,10))?0:Vt}else return ht.replace("%","")},[dt]);return(0,ae.useEffect)(()=>{ot(xe.type)},[xe]),Se.createElement("div",{style:{display:"flex",alignItems:"center"}},Be=="select"&&Se.createElement(He.default,{size:"large",onChange:ht=>{ot(ht),Ee({type:ht,inputValue:ht===1?5:20})},value:dt||Te,style:{width:100},options:yt?[{label:"\u5206\u503C",value:1}]:[{label:"\u767E\u5206\u6BD4",value:2},{label:"\u5206\u503C",value:1}],disabled:Ze}),Be=="radio"&&Se.createElement(ze.ZP.Group,{size:"large",onChange:ht=>{const Vt=ht.target.value;ot(Vt),Ee({type:Vt,inputValue:Vt===1?5:20})},value:dt||Te,disabled:Ze},!yt&&Se.createElement(ze.ZP,{value:2,style:{marginRight:"50px"}},"\u767E\u5206\u6BD4\u6263\u5206"),Se.createElement(ze.ZP,{value:1},"\u56FA\u5B9A\u5206\u503C")),Be=="radio"&&Se.createElement("div",{style:{marginRight:"10px",color:"#000000"}},xe.type==2?"\u6263\u9664\u8865\u4EA4\u9636\u6BB5\u5F97\u5206\u7684":"\u6263\u9664\u603B\u6210\u7EE9\u7684"),Se.createElement(rt.Z,{size:"large",disabled:Ze,value:xe.inputValue,style:{width:"120px"},parser:lt,addonAfter:xe.type===1?"\u5206":"%",max:dt===2?100:Number.MAX_SAFE_INTEGER,min:0,precision:0,onChange:ht=>{Ee({type:dt,inputValue:ht})}}),Be=="radio"&&xe.type==2&&Se.createElement("div",{style:{marginLeft:"10px",color:"#000000"}},"\u5206\u6570"))};mn.Z=Oe},27350:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(59301),He={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},ze=se(43418),rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(Ee,Ze,yt)=>new Promise((Be,Te)=>{var dt=lt=>{try{ft(yt.next(lt))}catch(ht){Te(ht)}},ot=lt=>{try{ft(yt.throw(lt))}catch(ht){Te(ht)}},ft=lt=>lt.done?Be(lt.value):Promise.resolve(lt.value).then(dt,ot);ft((yt=yt.apply(Ee,Ze)).next())}),xe=({type:Ee,resdata:Ze,onok:yt,oktext:Be,okloading:Te})=>{const[dt,ot]=(0,ae.useState)(!1),{can_copy_list:ft,can_copy_num:lt,challenge_type:ht,course_data_list:Vt,no_copy_list:st,no_copy_num:vt,no_use_list:Ke,no_use_num:pe,repeat_shixun_num:$e,student_count:et,total_num:qe,use_num:Ye}=Ze;let pt=lt>0||Ee==="exercise";(0,ae.useEffect)(()=>{(Ze==null?void 0:Ze.student_count)>0&&ot(!0)},[Ze]),console.log("---11",Te),(0,ae.useEffect)(()=>{Te||ot(!1)},[Te]);const at=()=>{if(Ee==="exercise"&&ht===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:He.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Ee==="exercise"&&ht===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:He.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixun"&&ht===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixun"&&ht===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="subject"&&ht===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:He.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="subject"&&ht===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",ae.createElement("span",{className:He.orangeColor},et)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",ae.createElement("span",{className:He.orangeColor},Ye)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="exercisepush")return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",ae.createElement("span",{className:He.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Ee==="shixunpush"&&ht===1)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",ae.createElement("span",{className:He.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ee==="shixunpush"&&ht===2)return ae.createElement(ae.Fragment,null,"\u8BFE\u5802\u5185\u6709",ae.createElement("span",{className:He.orangeColor},et),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",ae.createElement("span",{className:He.orangeColor},Ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",ae.createElement("span",{className:He.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Pt=()=>{if(Ee==="exercise"||Ee==="subject"||Ee==="exercisepush"||Ee==="shixunpush")return ae.createElement("div",{style:{marginTop:20}},vt>0&&ae.createElement("div",null,ae.createElement("span",{className:He.flex},ae.createElement("img",{src:Se,style:{width:14}}),ae.createElement("span",{className:He.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:He.statusbody},Ee==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ae.createElement("span",{className:He.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Ee==="subject"||Ee==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",pt&&ae.createElement("span",{className:He.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ee==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",pt&&ae.createElement("span",{className:He.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),ae.createElement("div",null,st==null?void 0:st.map((it,Nt)=>ae.createElement("a",{href:`/shixuns/${it.identifier}/challenges`,target:"_blank"},"\u300A",it==null?void 0:it.name,"\u300B",Nt+1!==vt&&"\u3001"))))),lt>0&&ae.createElement("div",{style:{marginTop:20}},ae.createElement("span",{className:He.flex},ae.createElement("img",{src:rt,style:{width:14}}),ae.createElement("span",{className:He.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),ae.createElement("div",{className:He.statusbody},Ee==="exercise"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Ee==="subject"||Ee==="exercisepush")&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ee==="shixunpush"&&ae.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),ae.createElement("div",null,ft==null?void 0:ft.map((it,Nt)=>ae.createElement("a",{href:`/shixuns/${it.identifier}/challenges`,target:"_blank"},"\u300A",it==null?void 0:it.name,"\u300B",Nt+1!==lt&&"\u3001"))))));if(Ee==="shixun")return ae.createElement("div",{style:{marginTop:20}},lt>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return ae.createElement(ze.default,{open:dt,onCancel:()=>{ot(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!pt&&"none"}},zIndex:1003,confirmLoading:Te,okText:pt?Be:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){pt?yield yt([...ft,...Ke]):ot(!1)})},ae.createElement("div",{style:{maxHeight:600,overflow:"auto"}},at(),Pt()))}},62319:function(Cn,mn,se){"use strict";se.d(mn,{h:function(){return vt}});var ae=se(59301),He=se(57809),ze=se(78241),rt=se(3113),Se=se(89780),ke=se.n(Se),Oe=se(76809),xe=se(17022),Ee=Object.defineProperty,Ze=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,ot=(Ke,pe,$e)=>pe in Ke?Ee(Ke,pe,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ke[pe]=$e,ft=(Ke,pe)=>{for(var $e in pe||(pe={}))Te.call(pe,$e)&&ot(Ke,$e,pe[$e]);if(Be)for(var $e of Be(pe))dt.call(pe,$e)&&ot(Ke,$e,pe[$e]);return Ke},lt=(Ke,pe)=>Ze(Ke,yt(pe));const ht=He.default.Option,Vt={labelCol:{span:4},wrapperCol:{span:20}},st={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"]};mn.Z=({callback:Ke,onCancel:pe})=>{const[$e,et]=(0,ae.useState)("python");function qe(pt){et(st[pt][1])}function Ye(pt){Ke(pt)}return ae.createElement(ze.default,lt(ft({},Vt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ye,style:{width:500}}),ae.createElement(ze.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(He.default,{getPopupContainer:pt=>pt.parentNode,onChange:qe},Object.keys(st).map(pt=>ae.createElement(ht,{key:pt,value:pt},st[pt][0])))),ae.createElement(ze.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(vt,{mode:$e})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(rt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(rt.ZP,{type:"ghost",onClick:pe},"\u53D6\u6D88")))};function vt({value:Ke,onChange:pe,mode:$e,options:et={}}){const qe=(0,ae.useRef)(),[Ye,pt]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(Ye){let at=function(Pt){const it=Pt.getValue();pe&&pe(it)};return Ye.on("change",at),()=>{Ye.off("change",at)}}},[Ye,pe]),(0,ae.useEffect)(()=>{Ye&&Ye.setOption("mode",$e)},[Ye,$e]),(0,ae.useEffect)(()=>{Ye&&(Ke!==Ye.getValue()||Ke==="")&&setTimeout(()=>{Ye.setValue(Ke||"")},300)},[Ye,Ke]),(0,ae.useEffect)(()=>{if(qe.current&&!Ye){const at=ke().fromTextArea(qe.current,ft({mode:$e,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},et));pt(at)}},[qe.current,Ye]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:qe}))}},98263:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return fr}});var ae=se(59301),He=se(89780),ze=se.n(He),rt=se(76374),Se=se(76809),ke=se(6313),Oe=se(25717),xe=se(99498),Ee=se(25419),Ze=se(67549),yt=se(9200),Be=({value:sr="",className:Br,showTextOnly:ir,showLines:Bn,style:Cr={}})=>{const wt=(0,ae.useMemo)(()=>"",[sr]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:wt}}))},Te=se(59301),dt=Object.defineProperty,ot=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,st=(sr,Br,ir)=>Br in sr?dt(sr,Br,{enumerable:!0,configurable:!0,writable:!0,value:ir}):sr[Br]=ir,vt=(sr,Br)=>{for(var ir in Br||(Br={}))ht.call(Br,ir)&&st(sr,ir,Br[ir]);if(lt)for(var ir of lt(Br))Vt.call(Br,ir)&&st(sr,ir,Br[ir]);return sr},Ke=(sr,Br)=>ot(sr,ft(Br));let pe=[{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 $e({onActionCallback:sr,title:Br,icon:ir,actionName:Bn,className:Cr="",children:wt}){function Fe(){sr(Bn)}return Te.createElement("a",{title:Br,className:Cr,onClick:Fe},Te.createElement("i",{className:`${ir}`}),wt)}var et=({watch:sr,showNullButton:Br,showNullProgramButton:ir,onActionCallback:Bn,fullScreen:Cr,insertTemp:wt,hidetoolBar:Fe,extraUse:je})=>{const Re=[...pe,{title:`${sr?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${sr?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Te.createElement("ul",{className:"markdown-toolbar-container"},!Fe&&Re.map((Ne,ct)=>Te.createElement("li",{key:ct},Ne.actionName?Te.createElement($e,Ke(vt({},Ne),{onActionCallback:Bn})):Te.createElement("span",{className:"v-line"}))),Br?Te.createElement("li",null,Te.createElement($e,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Bn},Te.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,ir?Te.createElement(Te.Fragment,null,Te.createElement("li",null,Te.createElement($e,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Bn},Te.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Te.createElement("li",null,Te.createElement($e,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Bn},Te.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,wt&&Te.createElement("li",null,Te.createElement($e,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${wt}`,onActionCallback:Bn},Te.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),je&&Te.createElement("li",null,je),Te.createElement("li",{className:"btn-full-screen"},Te.createElement($e,{icon:`${Cr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Cr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Bn})))},qe=se(61569),Ye=se(78241),pt=se(92832),at=se(3113),Pt=Object.defineProperty,it=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,Ut=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,jt=(sr,Br,ir)=>Br in sr?Pt(sr,Br,{enumerable:!0,configurable:!0,writable:!0,value:ir}):sr[Br]=ir,Qe=(sr,Br)=>{for(var ir in Br||(Br={}))Ut.call(Br,ir)&&jt(sr,ir,Br[ir]);if(rn)for(var ir of rn(Br))un.call(Br,ir)&&jt(sr,ir,Br[ir]);return sr},Ce=(sr,Br)=>it(sr,Nt(Br));const nt={labelCol:{span:4},wrapperCol:{span:20}};var $t=({callback:sr,onCancel:Br})=>{function ir(Bn){sr(Bn)}return ae.createElement(Ye.default,Ce(Qe({},nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ir,style:{width:500}}),ae.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(pt.default,null)),ae.createElement(Ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(pt.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(at.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(at.ZP,{type:"ghost",onClick:Br},"\u53D6\u6D88")))},Et=se(62319),Ve=se(52999),tt=se(43418),At=se(95237),fn=se(2781),Kt=se(59301),yn=({callback:sr,onCancel:Br})=>{const ir=document.createElement("canvas"),Bn=ir.getContext("2d");ir.width=1e3,ir.height=800,Bn.fillStyle="#ffffff",Bn.fillRect(0,0,ir.width,ir.height);const Cr=ir.toDataURL("image/png");return Kt.createElement(tt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Kt.createElement(At.Z,{style:{height:"100vh"}},Kt.createElement(fn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Cr,visible:!0,title:String(Date.now())},onOk:wt=>{sr({src:wt.url})},onClose:Br})))},kt=se(43428),Bt=se(43604),xt=se(8591),ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=se(59301),fe=(0,ae.forwardRef)(({onCancel:sr,editImgId:Br,callback:ir},Bn)=>{let Cr=(0,ae.useRef)(),wt=(0,ae.useRef)(),Fe=(0,ae.useRef)(),je=(0,ae.useRef)(!1);const Re=(0,ae.useRef)(!1);console.log("ref:",Bn);const[Ne,ct]=(0,ae.useState)(0),[St,an]=(0,ae.useState)("100vh");return(0,ae.useEffect)(()=>{ct(1);try{indexedDB.databases().then(Gt=>{Gt.forEach(Zt=>indexedDB.deleteDatabase(Zt.name))})}catch(Gt){}},[]),(0,ae.useImperativeHandle)(Bn,()=>({setHeight:an})),ce.createElement("div",{ref:Re,className:"body-overflow-initial"},ce.createElement(kt.Z,{width:"100vw",height:St,footer:null,closable:!0,placement:"bottom",open:!!Ne,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ve.drawerWrap}`,onClose:()=>{window.saveDrawData(Gt=>{ir({src:`/api/attachments/${Gt}`,id:Gt})})},title:ce.createElement(At.Z,{align:"middle"},ce.createElement(Bt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(Bt.Z,{onClick:()=>{an(St==="60px"?"100vh":"60px")}},ce.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ce.createElement(Bt.Z,{onClick:()=>{window.saveDrawData(Gt=>{if(Gt===null){xt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}xt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),ir({src:`/api/attachments/${Gt}`,id:Gt,disabledClose:!0})})}},ce.createElement(at.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ce.createElement("iframe",{src:`${window.ENV==="build"?"/react/build":""}/drawio/src/main/webapp/?id=${Br||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:wt})))}),he=se(11662),ue=se(5112),Pe=se(5871);const _e=ue.ZP.Group,Dt={margin:"0 8px"};var Lt=({callback:sr,onCancel:Br})=>{function ir(Bn){sr(Bn)}return ae.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ir},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Dt},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Dt},"\u884C\u6570"),ae.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(Pe.Z,null)),ae.createElement("span",{style:Dt},"\u5217\u6570"),ae.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(Pe.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Dt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(Ye.default.Item,{name:"align"},ae.createElement(_e,null,ae.createElement(ue.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(ue.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(ue.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(ue.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(at.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(at.ZP,{type:"ghost",onClick:Br},"\u53D6\u6D88")))},Ht=se(78673),Qt=se(20063),zt=se.n(Qt),In=(0,ae.forwardRef)(({use3d:sr,width:Br,height:ir,callback:Bn,showSaveButton:Cr},wt)=>{const Fe=(0,ae.useRef)(),je=(0,ae.useRef)(),[Re,Ne]=(0,ae.useState)(!1),ct=(0,ae.useRef)({id:Fe,appName:"graphing",width:Br||1e3,height:ir||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{je.current=new(zt())(ct.current,!0),window.onload=function(){je.current.inject("applet_container")}},[]);const St=()=>{var an=window.ggbApplet.getPNGBase64(1,!0,72);return Bn&&Bn(an),an};return(0,ae.useEffect)(()=>{ct.current.appName=Re?"3D":"graphing",je.current.inject("applet_container")},[Re]),(0,ae.useEffect)(()=>{Ne(sr)},[sr]),(0,ae.useImperativeHandle)(wt,()=>({getImgData:St})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fe}),ae.createElement(At.Z,{align:"middle"},ae.createElement(Bt.Z,{flex:1},ae.createElement(Ht.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Re,onChange:an=>Ne(an)})),ae.createElement(Bt.Z,null,ae.createElement(at.ZP,{size:"large",onClick:St,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Mt=se(50892),tn=se(1012);const Gn="link",ut="upload-image",We="add-flowchart",Ue="draw-image",nn="add-flowchart",gn="code-block",xn="add-table",Un="------------",Pn={default:Un,left:`:${Un}`,center:`:${Un}:`,right:`${Un}:`};var Vn=se(29152),dr=(sr,Br,ir)=>new Promise((Bn,Cr)=>{var wt=Re=>{try{je(ir.next(Re))}catch(Ne){Cr(Ne)}},Fe=Re=>{try{je(ir.throw(Re))}catch(Ne){Cr(Ne)}},je=Re=>Re.done?Bn(Re.value):Promise.resolve(Re.value).then(wt,Fe);je((ir=ir.apply(sr,Br)).next())});function gr(){}let _n=0;const wr=1e4,Jr="\u2581",pr="@\u2581\u2581@",pi="@\u2581@",Rr=`
|
|
|
**\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`,Qr=["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 pn(sr){return/^\d+$/.test(sr)?`${sr}px`:sr}const rr=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ur={[rr+"-B"]:"bold",[rr+"-I"]:"italic"},nr={[Gn]:"\u6DFB\u52A0\u94FE\u63A5",[gn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ut]:"\u6DFB\u52A0\u56FE\u7247",[Ue]:"\u6DFB\u52A0\u753B\u56FE",[We]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var fr=({defaultValue:sr="",onChange:Br,width:ir="100%",height:Bn=400,miniToolbar:Cr=!1,isFocus:wt=!1,watch:Fe,insertTemp:je,mode:Re="markdown",id:Ne="markdown-editor-id",showResizeBar:ct=!1,noStorage:St=!1,showNullButton:an=!1,showNullProgramButton:Gt=!1,hidetoolBar:Zt=!1,fullScreen:Dn=!1,onBlur:Hn,onCMBeforeChange:jn,onFullScreen:qt,className:Sn="",disablePaste:Ct=!1,disabled:Rt=!1,disabledFill:Xt=!1,placeholder:en="",values:En="",extraUse:Wt,onAddBlank:An})=>{const[Ge,Tt]=(0,ae.useState)(null),[Ot,ln]=(0,ae.useState)(sr),[Jt,dn]=(0,ae.useState)(Fe),[cn,Fn]=(0,ae.useState)(Dn),[Kn,qn]=(0,ae.useState)(""),[br,Tr]=(0,ae.useState)(0),[jr,Fr]=(0,ae.useState)(Bn),[tr,_r]=(0,ae.useState)(!1),Hr=(0,ae.useRef)((0,tn.Z)()),qr=(0,ae.useRef)(!1),Mr=(0,ae.useRef)(),[Ir,$r]=(0,ae.useState)(0),[Wr,wi]=(0,ae.useState)(0),Ii=(0,ae.useRef)(),Zr=(0,ae.useRef)(),Xn=(0,ae.useRef)(),Yn=(0,ae.useRef)(),Xr=(0,ae.useRef)(),Nr=(0,ae.useRef)(),oi=()=>dr(void 0,null,function*(){var Lr;const Dr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Hr.current}});(Lr=Dr==null?void 0:Dr.attachments)!=null&&Lr.length&&(console.log("cm:",Ge,Ii),Dr.attachments.map(kr=>{kr.content_type.indexOf("image")>-1?Ge.replaceSelection(``):kr.content_type.indexOf("video")>-1?Ge.replaceSelection(`<video width="100%" controls src="${he.Z.API_SERVER}/api/attachments/${data.id}"></video>`):kr.content_type.indexOf("pdf")>-1?Ge.replaceSelection(`<a href="${he.Z.API_SERVER}/api/attachments/${kr.id}?type=${kr.content_type}&disposition=inline" target="_blank">${kr.name}</a>`):Ge.replaceSelection(`[${kr.name}](${he.Z.API_SERVER}/api/attachments/${kr.id}?type=${kr.content_type})`)}))});(0,ae.useEffect)(()=>{const Lr=window.scrollY||window.pageYOffset;ln(En),Ge==null||Ge.setValue(En),window.scrollTo(0,Lr)},[En]),(0,ae.useEffect)(()=>{qt==null||qt(cn)},[cn]),(0,ae.useEffect)(()=>{if(Ii.current){let Lr=function(kr,Ur){var Ti;if(Ct){Ur.preventDefault();return}const pa=Ur.clipboardData;if(pa){const ga=pa.types.toString(),ia=pa.items;if(ga==="Files"||pa.types.indexOf("Files")>-1){if(Ur.preventDefault(),Re=="stex")return;try{let Qi=ia[1];((Ti=ia[0])==null?void 0:Ti.kind)==="file"&&(Qi=ia[0]);const ya=Qi.getAsFile(),ja=ya.name.split(".").pop();(0,Ve.I)(ya,Ha=>{var mo,Pi,zi;Ha.id?((mo=ya==null?void 0:ya.type)==null?void 0:mo.indexOf("image"))>-1?Dr.replaceSelection(`<img width="100%" src="/api/attachments/${Ha.id}?type=${Ha.content_type})" alt="" />`):((Pi=ya==null?void 0:ya.type)==null?void 0:Pi.indexOf("video"))>-1?Dr.replaceSelection(`<video width="100%" controls src="/api/attachments/${Ha.id}"></video>`):((zi=ya==null?void 0:ya.type)==null?void 0:zi.indexOf("pdf"))>-1?Dr.replaceSelection(`<a href="/api/attachments/${Ha.id}?type=${ya.type}&disposition=inline" target="_blank">${ya.name}</a>`):Qr.includes(ja)?Dr.replaceSelection(`<a href="/api/attachments/${Ha.id}?type=office&disposition=inline" target="_blank">${ya.name}</a>`):Dr.replaceSelection(`[${ya.name}](/api/attachments/${Ha.id}?type=${Ha.content_type})`):(Ha==null?void 0:Ha.status)===401&&(xt.ZP.warning((Ha==null?void 0:Ha.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Qi){xt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Dr=ze().fromTextArea(Ii.current,{mode:Re,lineNumbers:!Cr,lineWrapping:!0,value:sr,autoCloseTags:!Gt,autoCloseBrackets:!0});return Dr.on("keyup",function(kr,Ur){Ur.keyCode===8&&(kr.getValue()==""?Dr.setOption("placeholder",en):Dr.setOption("placeholder",null))}),Dr.on("keydown",function(kr,Ur){if(Ur.keyCode===8){var Ti=di(kr);Ti&&Ur.preventDefault()}}),wt&&Dr.focus(),Dr.on("paste",Lr),Dr.on("dragleave",function(kr,Ur){Zr.current.classList.remove("mouse-hover-md")}),Rt&&Dr.on("beforeChange",function(kr,Ur){(Ur.origin==="paste"||Ur.origin==="+input")&&Ur.cancel()}),Tt(Dr),()=>{Dr.off("paste",Lr)}}},[]);const ci=(0,ae.useCallback)(()=>{if(Zr.current)try{}catch(Lr){console.log(Lr,"---- to set md editor body height")}},[jr,Zr,cn]);(0,ae.useEffect)(()=>{function Lr(){let Dr=new rt.Z(kr=>{for(let Ur of kr)(Ur.target.offsetHeight>0||Ur.target.offsetWidth>0)&&(ci(),Ge.setSize("100%","100%"),Ge.refresh())});return Dr.observe(Ii.current.parentElement),Dr}if(Ge){const Dr=Lr();return()=>{var kr,Ur;(kr=Ii.current)!=null&&kr.parentElement&&Dr.unobserve((Ur=Ii.current)==null?void 0:Ur.parentElement)}}},[Ge,ci]),(0,ae.useEffect)(()=>{if(Ge){let Lr=[];for(const[Dr,kr]of Object.entries(ur)){let Ur={[Dr]:()=>{Gr(kr)}};Lr.push(Ur),Ge.addKeyMap(Ur)}return Mr.current=setInterval(()=>{qr.current&&oi()},4e3),()=>{clearInterval(Mr.current);for(let Dr of Lr)Ge.removeKeyMap(Dr)}}},[Ge]),(0,ae.useEffect)(()=>{Dn!==cn&&Fn(Dn)},[Dn]),(0,Vn.Z)(()=>{if(!St&&br>0){let Lr=new Date().getTime(),Dr=window.sessionStorage.getItem(Ne);Lr>=br+wr&&(!Dr||Dr!==Ot)&&(window.sessionStorage.setItem(Ne,Ot),_r(!0))}},wr),(0,ae.useEffect)(()=>{dn(Fe)},[Ge,Fe]),(0,ae.useEffect)(()=>{Ge&&wt&&Ge.focus()},[Ge,wt]),(0,ae.useEffect)(()=>{if(Jt&&Ge){let Lr=function(kr){let Ur=kr.target;if(Yn.current){let Ti=Ur.scrollTop/Ur.scrollHeight;Yn.current.scrollTop=Yn.current.scrollHeight*Ti}};const Dr=Ge.getScrollerElement();return Dr.addEventListener("scroll",Lr),()=>{Dr.removeEventListener("scroll",Lr)}}},[Ge,Jt]),(0,ae.useEffect)(()=>{if(Ge&&jn){let Lr=function(Dr,kr){jn(Dr,kr)};return Ge.on("beforeChange",Lr),()=>{Ge.off("beforeChange",Lr)}}},[Ge,jn]),(0,ae.useEffect)(()=>{if(Ge&&Hn){let Lr=function(){Hn(Ge.getValue())};return Ge.on("blur",Lr),()=>{Ge.off("blur",Lr)}}},[Ge,Hn]);function di(Lr,Dr){var kr=Lr.getDoc(),Ur=kr.getCursor(),Ti=kr.getLine(Ur.line),pa=Ti.charAt(Ur.ch-1),ga=Ti.lastIndexOf("@\u2581@",Ur.ch),ia=Ti.lastIndexOf("@\u2581\u2581@",Ur.ch),Qi=ga>ia?ga:ia,ya=ga>ia?3:4;if(pr.indexOf(pa)===-1)return null;if(console.log("change1:",Dr,Lr,Ti,Ur,Qi,ga,ia,pa),Qi>=0&&Ur.ch-Qi<5){var ja=Qi+ya;return kr.replaceRange("",{line:Ur.line,ch:Qi},{line:Ur.line,ch:ja}),{line:Ur.line,ch:ja}}return null}(0,ae.useEffect)(()=>{if(Ge){let Lr=function(Dr,kr){const Ur=Dr.getValue();ln(Ur),Tr(new Date().getTime()),Dr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Br&&(Gt?Br(Ur,Ji(Ur)):Br(Ur))};return Ge.on("change",Lr),()=>{Ge.off("change",Lr)}}},[Ge,Br]),(0,ae.useEffect)(()=>{if(Ge)if(sr==null)Ge.setValue(""),ln("");else{const Lr=window.scrollY||window.pageYOffset;sr!==Ge.getValue()&&(Ge.setValue(sr),ln(sr),Ge.setCursor(Rt?1:Ge.lineCount(),0),window.scrollTo(0,Lr))}},[Ge,sr]);const Gr=(0,ae.useCallback)(Lr=>{const Dr=Ge.getCursor(),kr=Ge.getSelection();let Ur=kr.split(`
|
|
|
`);switch(Lr){case"bold":return Ge.replaceSelection("**"+kr+"**"),kr===""&&Ge.setCursor(Dr.line,Dr.ch+2),Ge.focus();case"italic":return Ge.replaceSelection("*"+kr+"*"),kr===""&&Ge.setCursor(Dr.line,Dr.ch+1),Ge.focus();case"code":return Ge.replaceSelection("`"+kr+"`"),kr===""&&Ge.setCursor(Dr.line,Dr.ch+1),Ge.focus();case"inline-latex":return qn("inline-latex"),Ge.focus();case"latex":return Ge.replaceSelection("```latex\n"+kr+"\n```"),Ge.setCursor(Dr.line+1,kr.length+1),Ge.focus();case"line-break":return Ge.replaceSelection(`<br/>
|
|
|
`),Ge.focus();case"list-ul":return kr===""?Ge.replaceSelection("- "+kr):Ge.replaceSelection(Ur.map(Ti=>Ti===""?"":`- ${Ti}`).join(`
|
|
|
`)),Ge.focus();case"list-ol":return kr===""?Ge.replaceSelection("1. "+kr):Ge.replaceSelection(Ur.map((Ti,pa)=>Ti===""?"":`${pa+1}. ${Ti}`).join(`
|
|
|
`)),Ge.focus();case"add-null-ch":An==null||An();return;case"add-signal":return kr===""&&Ge.setCursor(Dr.line,Dr.ch),Ge.replaceSelection(pi),Ge.focus();case"add-multiple":return kr===""&&Ge.setCursor(Dr.line,Dr.ch),Ge.replaceSelection(pr),Ge.focus();case"inster-template-1":return kr===""&&Ge.setCursor(Dr.line,Dr.ch),Ge.replaceSelection(Rr),Ge.focus();case"eraser":return Ge.setValue(""),Ge.focus();case"trigger-watch":return dn(!Jt),Ge.focus();case"trigger-full-screen":return Fn(!cn),Ge.focus();case Gn:qn(Gn);return;case gn:qn(gn);return;case ut:qn(ut);return;case Ue:qn(Ue);return;case"maths-latex":qn("maths-latex");return;case We:Xr.current="",sessionStorage.removeItem("file_id"),qn(We);return;case xn:qn(xn);return;default:throw new Error}},[Ge,Jt,cn]),ti=(0,ae.useCallback)((Lr,Dr)=>{var kr,Ur,Ti,pa,ga,ia;qn("");const{src:Qi,alt:ya,id:ja}=Lr||{};switch(Kn){case Gn:const{title:Aa,link:Yi}=Lr;return Ge.replaceSelection(`[${Aa}](${Yi})`),Ge.focus();case gn:const{language:$i,content:wn}=Lr;return Ge.replaceSelection(["```"+$i,wn,"```"].join(`
|
|
|
`)),Ge.focus();case"maths-latex":for(var Ha=atob(Lr),mo=new Uint8Array(Ha.length),Pi=0;Pi<Ha.length;Pi++)mo[Pi]=Ha.charCodeAt(Pi);var zi=new Blob([mo],{type:"image/png"});(0,Ve.I)(zi,Er=>{Er.id?Ge.replaceSelection(``):(Er==null?void 0:Er.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ge.replaceSelection("`$$"+Lr+"$$`");break;case nn:if(!ja)return;Ge.focus(),Ge.getValue().indexOf(Qi)===-1?Ge.replaceSelection(`<center><img id="${ja}" width="80%" src="${Qi}" class="draw-flowchart" alt="${ya||""}" /></center>`):document.getElementById(ja).src=he.Z.API_SERVER+Qi+"?t="+Date.now();try{setTimeout(()=>{Hn(Ge.getValue())},100)}catch(Er){}break;case ut:case Ue:const hn=Dr,on=(Ti=(Ur=(kr=hn==null?void 0:hn.name)==null?void 0:kr.split("."))==null?void 0:Ur.pop)==null?void 0:Ti.call(Ur);return((pa=hn==null?void 0:hn.type)==null?void 0:pa.indexOf("image"))>-1||!(hn!=null&&hn.type)?hn!=null&&hn.align||hn!=null&&hn.width?Ge.replaceSelection(`<p style="text-align:${hn.align||"initial"}"><img width="${hn.width?hn.width+"%":"initial"}" src="${Qi}" alt="${ya||""}" /></p>`):Ge.replaceSelection(`<img width="100%" src="${Qi}" alt="${ya||""}" />`):((ga=hn==null?void 0:hn.type)==null?void 0:ga.indexOf("video"))>-1?Ge.replaceSelection(`<video width="100%" controls src="${Qi}"></video>`):((ia=hn==null?void 0:hn.type)==null?void 0:ia.indexOf("pdf"))>-1?Ge.replaceSelection(`<a href="${Qi}?type=${hn.type}&disposition=inline" target="_blank">${hn.name}</a>`):Qr.includes(on)?Ge.replaceSelection(`<a href="${Qi}?type=office&disposition=inline" target="_blank">${hn.name}</a>`):Ge.replaceSelection(`[${hn.name}](${Qi})`),Ge.focus();case xn:const{row:Rn,col:or,align:lr}=Lr;let On=`
|
|
|
`;for(let Er=0;Er<Rn;Er++){let si=[],Di=[];for(let ui=0;ui<or;ui++)Er===1&&Di.push(Pn[lr]),si.push(" ");Er===1&&(On+=`| ${Di.join(" | ")} |
|
|
|
`),On+=`| ${si.join(or===1?"":" | ")} |
|
|
|
`}return Ge.replaceSelection(On+`
|
|
|
`),Ge.focus();default:throw new Error}},[Ge,Kn]),Gi=(0,ae.useMemo)(()=>{switch(Kn){case Gn:return ae.createElement($t,{callback:ti,onCancel:Sr});case gn:return ae.createElement(Et.Z,{callback:ti,onCancel:Sr});case ut:return ae.createElement(Ve.Z,{callback:ti,onCancel:Sr});case We:return ae.createElement(fe,{editImgId:Xr.current,callback:ti,onCancel:Sr});case xn:return ae.createElement(Lt,{callback:ti,onCancel:Sr});case"maths-latex":return ae.createElement(In,{showSaveButton:!0,callback:ti});case"inline-latex":return ae.createElement(Mt.Z,{showSaveButton:!0,callback:ti});default:return null}},[Kn]);function Sr(){qn("")}(0,ae.useEffect)(()=>{if(Xn.current){let Lr=function(ga){Ti=!0,pa=ga.pageY},Dr=function(){Ti=!1},kr=function(ga){if(Ti){let ia=ga.pageY-pa;ia<0&&(ia=0),ia>300&&(ia=300);let Qi=Bn+ia+"px";Fr(Qi)}},Ur=Xn.current,Ti=!1,pa=0;return Ur.addEventListener("mousedown",Lr),document.addEventListener("mousemove",kr),document.addEventListener("mouseup",Dr),()=>{Ur.removeEventListener("mousedown",Lr),document.removeEventListener("mousemove",kr),document.removeEventListener("mouseup",Dr)}}},[Ge,Xn]),(0,ae.useEffect)(()=>{Fr(Bn)},[Bn]);const Or=pn(ir),fi=pn(jr),Ei={width:Or,height:fi},Xi=(0,ae.useMemo)(()=>{if(br){let Lr=new Date(br),Dr=Lr.getHours(),kr=Lr.getMinutes(),Ur=Lr.getSeconds();return Dr=Dr<10?"0"+Dr:Dr,kr=kr<10?"0"+kr:kr,Ur=Ur<10?"0"+Ur:Ur,`${Dr}:${kr}:${Ur}`}return 0},[br]),Ji=Lr=>{const Dr=[];if(Gt){let kr=-1;Lr=Lr.replace(/(@▁▁@|@▁@)/g,function(Ur,Ti,pa){Dr.push({multiLine:Ur!==pi})})}return Dr};function ji(){window.sessionStorage.removeItem(Ne),_r(!1),Tr(0)}function Ni(){_r(!1),Tr(0),Ge.setValue(window.sessionStorage.getItem(Ne))}(0,ae.useEffect)(()=>{nr[Kn]&&Kn!==Ue&&Kn!==We&&setTimeout(()=>{const Lr=document.getElementsByClassName("markdown-popup-form")[0],Dr=window.innerWidth/2-Lr.offsetWidth/2,kr=window.innerHeight/2-Lr.offsetHeight/2;$r(Dr),wi(kr)},0)},[Kn]);const ua=Lr=>{Lr.preventDefault();const Dr=Lr.clientX-Ir,kr=Lr.clientY-Wr;document.body.onmousemove=Ur=>{let Ti=Ur.clientX-Dr,pa=Ur.clientY-kr;const ga=document.getElementsByClassName("markdown-popup-form")[0],ia=window.innerWidth-ga.offsetWidth,Qi=window.innerHeight-ga.offsetHeight;Ti=Math.max(0,Math.min(Ti,ia)),pa=Math.max(0,Math.min(pa,Qi)),ca(Ur.clientX,Ur.clientY,Dr,kr)&&($r(Ti),wi(pa))},document.body.onmouseup=function(){document.body.onmousemove=null}},ca=(Lr,Dr,kr,Ur)=>{const Ti=document.body.clientHeight,pa=document.body.clientWidth;return Lr<20&&kr>Lr||Lr>pa-20&&kr<Lr||Dr<20&&Ur>Dr||Dr>Ti-20&&Ur<Dr?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:Zr},ae.createElement("div",{className:`markdown-editor-container ${Sn} ${Jt?"on-preview":""} ${Cr?"mini":""} ${cn?"full-screen":""}`,style:Ei},ae.createElement(et,{insertTemp:je,watch:Jt,fullScreen:cn,showNullButton:an,showNullProgramButton:Gt,onActionCallback:Gr,hidetoolBar:Zt,extraUse:Wt}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:Ii,placeholder:en})),Jt?ae.createElement("div",{ref:Yn,className:"preview-container"},Re==="stex"&&ae.createElement(Be,{value:Ot}),Re!=="stex"&&ae.createElement(yt.Z,{edit:!0,disabledFill:Xt,showProgramFill:Gt,value:Ot,openEditor:Lr=>{var Dr;Xr.current=Lr,(Dr=Nr.current)==null||Dr.setHeight("100vh"),setTimeout(()=>{qn("add-flowchart")},150)}})):null))),ct?ae.createElement("a",{ref:Xn,className:"editor-resize"}):null,Kn===Ue&&ae.createElement(yn,{callback:ti,onCancel:Sr}),Kn===We&&ae.createElement(fe,{ref:Nr,editImgId:Xr.current,callback:ti,onCancel:Sr}),ae.createElement(qe.Z,null,nr[Kn]&&Kn!==Ue&&Kn!==We?ae.createElement(tt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ir,top:Wr},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:ua},nr[Kn]),open:!0,onCancel:Sr,footer:null,destroyOnClose:!0,width:Kn===We?"1200px":null,height:Kn===We?"80vh":null,className:"markdown-popup-form"},Gi):null))}},52999:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return $e},I:function(){return qe}});var ae=se(78241),He=se(8591),ze=se(92832),rt=se(81327),Se=se(5871),ke=se(5112),Oe=se(3113),xe=se(25676),Ee=se(59301),Ze=se(16624),yt=se(59301),Be=Object.defineProperty,Te=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ht=(Ye,pt,at)=>pt in Ye?Be(Ye,pt,{enumerable:!0,configurable:!0,writable:!0,value:at}):Ye[pt]=at,Vt=(Ye,pt)=>{for(var at in pt||(pt={}))ft.call(pt,at)&&ht(Ye,at,pt[at]);if(ot)for(var at of ot(pt))lt.call(pt,at)&&ht(Ye,at,pt[at]);return Ye},st=(Ye,pt)=>Te(Ye,dt(pt));const{useForm:vt}=ae.default,Ke={width:280,marginRight:10},pe={labelCol:{span:5},wrapperCol:{span:19}};var $e=({callback:Ye,onCancel:pt})=>{const[at]=vt();let Pt=(0,Ee.useRef)();function it(Ut){Pt.current.width=at.getFieldValue("width"),Pt.current.align=at.getFieldValue("align"),Ye(Ut,Pt.current)}function Nt(Ut,un){if(Ut.status===-1){He.ZP.error(Ut.message);return}at.setFieldsValue({src:`/api/attachments/${Ut.id}`,type:un.type})}function rn(Ut){let un=Ut.target.files[0];Pt.current=un,qe(un,Nt)}return yt.createElement(ae.default,st(Vt({form:at},pe),{className:"upload-image-panel",onFinish:it,style:{width:470,overflow:"hidden"}}),yt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},yt.createElement("div",{className:"flex-container"},yt.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},yt.createElement(ze.default,{style:Ke})),yt.createElement(et,{onFileChange:rn}))),yt.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},yt.createElement(ze.default,{style:{width:264}})),yt.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},yt.createElement(rt.Z,null,yt.createElement(ae.default.Item,{name:"width",style:{margin:0}},yt.createElement(Se.Z,{style:{width:264}})),yt.createElement("span",{className:"ml8"},"%"))),yt.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},yt.createElement(ke.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"}]})),yt.createElement("aside",null,yt.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},yt.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),yt.createElement(Oe.ZP,{type:"default",onClick:pt},"\u53D6\u6D88"))))};function et({onFileChange:Ye}){return yt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",yt.createElement("input",{type:"file",onChange:Ye}))}function qe(Ye,pt){if(!Ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ze.bg)())throw He.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let at=new FormData;at.append("editormd-image-file",Ye),at.append("file_param_name","editormd-image-file"),at.append("byxhr","true");var Pt=new window.XMLHttpRequest;Pt.withCredentials=!0,Pt.addEventListener("load",function(it){pt(JSON.parse(it.target.responseText),Ye)},!1),Pt.addEventListener("error",function(it){console.error(it)},!1),Pt.open("POST",`${xe.KI}/api/attachments.json`),Pt.send(at)}},61569:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return ze}});var ae=se(59301),He=se(4676);class ze extends ae.Component{constructor(Se){super(Se);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:Se}=this.props;return(0,He.createPortal)(Se,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23734:function(Cn,mn,se){"use strict";se.d(mn,{i:function(){return pe},Z:function(){return et}});var ae={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"},He=se(71418),ze=se(6848),rt=se(93948),Se=se(92310),ke=se.n(Se),Oe=se(22566),xe=se(21692),Ee=se(16624),Ze=se(79005),yt=se(20345),Be=se(77882),Te=se(31081),dt=se(75309),ot=se(71979),ft=se(47558),lt=se(42922),ht=se(66832),Vt=se(96593),st=se(19664),vt=se(91833),Ke=se(59301);const pe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ze,swimg:yt},{name:"101\u8BA1\u5212",ptimg:Be,swimg:Te},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:dt,swimg:ot},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ft,swimg:lt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ht,swimg:Vt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:st,swimg:vt}];var et=({className:qe,dataSource:Ye=[],col:pt=4,right:at,bottom:Pt=23,precision:it=0,wrapWidth:Nt=1200,trackEventItems:rn,loading:Ut,onRemove:un=()=>{},isCurrent:jt=!0,showAlias:Qe=!1,showProgress:Ce=!1})=>{const nt=Math.floor((Nt-(pt-1)*at)/pt),$t=[{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(Et=>(window.ENV==="build"&&(Et.ptimg=`/react/build${Et.ptimg}`,Et.swimg=`/react/build${Et.swimg}`),Et));return Ke.createElement(He.Z,{spinning:Ut},Ke.createElement("div",{className:ke()(ae.list,qe)},!!(Ye!=null&&Ye.length)&&(Ye==null?void 0:Ye.map((Et,Ve)=>{var tt,At,fn,Kt,yn,kt;const{name:Bt,id:xt,identifier:ve,featured:ce,school_name:le,image_url:fe,excellent:he,is_plan:ue}=Et;return Ke.createElement("div",{key:xt,className:jt&&Ce?ae.wrapisCurrent:ae.wrap,style:{width:nt,marginRight:(1+Ve)%pt===0?0:at+it,marginBottom:Pt}},Ke.createElement("a",{className:ae.li,onClick:Pe=>{Pe.preventDefault(),Pe.stopPropagation(),rn&&(0,Oe.L9)([rn]),(0,Oe.xg)(`/paths/${ve}`)}},Ke.createElement("div",{className:ae.img},Ke.createElement("img",{className:ae.cover,src:`${fe}`}),jt&&(0,Ee.bg)()&&(Et==null?void 0:Et.studying)&&Ke.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:Pe=>{Pe.stopPropagation(),un(Et)}},Ke.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ke.createElement("span",{className:"c-red"},"\u79FB\u9664")),(tt=Et==null?void 0:Et.subject_tags)==null?void 0:tt.map((Pe,_e)=>{var Dt,Lt;if(_e===0){const Qt=(Dt=$t.find(zt=>zt.name==Pe))==null?void 0:Dt.swimg;return Ke.createElement("img",{className:ae.sign,src:Qt,style:{left:"-4px"}})}const Ht=(Lt=$t.find(Qt=>Qt.name==Pe))==null?void 0:Lt.ptimg;return Ke.createElement("img",{className:ae.sign,src:Ht,style:{left:`${48+52*(_e-1)+2*_e}px`}})}),Ke.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Et==null?void 0:Et.excellent)&&Ke.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ke.createElement("div",{className:ae.name},Ke.createElement(ze.Z,{title:Qe&&(Et!=null&&Et.excellent_alias_name)?Ke.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Bt}`,Ke.createElement("br",null),Ke.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Et==null?void 0:Et.excellent_alias_name}`)):Bt},Ke.createElement("span",{className:ae.e},Qe&&(Et==null?void 0:Et.excellent_alias_name)||Bt))),jt&&Ce&&((At=Et==null?void 0:Et.progress)==null?void 0:At.all_score)!=0&&Ke.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ke.createElement(rt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((fn=Et==null?void 0:Et.progress)==null?void 0:fn.my_score)/((Kt=Et==null?void 0:Et.progress)==null?void 0:Kt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(yn=Et==null?void 0:Et.progress)==null?void 0:yn.my_score,"/",(kt=Et==null?void 0:Et.progress)==null?void 0:kt.all_score),(!jt||!Ce)&&Ke.createElement("div",{className:ae.tags},Ke.createElement("div",null,Ke.createElement(ze.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ke.createElement("span",null,Ke.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ke.createElement("span",null,Et.stages_count))),Ke.createElement(ze.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ke.createElement("span",null,Ke.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ke.createElement("span",null,Et.members_count)))))))})),!Ye.length&&Ke.createElement(xe.Z,null)))}},14433:function(Cn,mn,se){"use strict";se.d(mn,{jL:function(){return Se},w9:function(){return nr},vv:function(){return Fe},dN:function(){return ir},QD:function(){return $r},cQ:function(){return _e.Z},vg:function(){return Qr},Oz:function(){return _n},op:function(){return tr},O5:function(){return Ji},_b:function(){return Yn},t7:function(){return Pt},tT:function(){return rn},Gi:function(){return qt},YG:function(){return ct},Ed:function(){return Hn},kT:function(){return Gt},qp:function(){return lt},Um:function(){return pe},K3:function(){return st},vr:function(){return Ii},qE:function(){return qr},Je:function(){return jt},wb:function(){return kt},rC:function(){return Pe},lB:function(){return ve},cq:function(){return En},kO:function(){return Tt},tp:function(){return qe},Si:function(){return ua},k8:function(){return $i},Du:function(){return ga}});var ae=se(59301),He={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"},ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe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yy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Se=({dataSource:wn=[],img:hn,imgWidth:on=346,title:Rn,sunTitle:or,bannerExtraContent:lr})=>ae.createElement("div",{className:He.banner},ae.createElement("div",{className:He.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,Rn),ae.createElement("span",null,or)),wn.length>0&&ae.createElement("div",{className:He.btns},wn.map((On,Er)=>ae.createElement("div",{key:Er,onClick:On.click},On.name,On.sign?ae.createElement("img",{src:ze,width:39}):null))),lr),hn&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:hn,width:on}))),ke={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"},Oe=se(92310),xe=se.n(Oe),Ee=se(89392),Ze=Object.defineProperty,yt=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,dt=(wn,hn,on)=>hn in wn?Ze(wn,hn,{enumerable:!0,configurable:!0,writable:!0,value:on}):wn[hn]=on,ot=(wn,hn)=>{for(var on in hn||(hn={}))Be.call(hn,on)&&dt(wn,on,hn[on]);if(yt)for(var on of yt(hn))Te.call(hn,on)&&dt(wn,on,hn[on]);return wn},lt=({dataSource:wn=[],value:hn,onChange:on,onTitleChange:Rn,className:or,title:lr,titleWidth:On=41,style:Er={},fontColor:si="#6A7283",showCount:Di,classNameActive:ui,styleItem:xr={}})=>{const[li,Ci]=(0,ae.useState)(0),[Ui,Si]=(0,ae.useState)(!1),gi=(0,ae.useRef)(null),Ki=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var da;wn.length!==0&&(((da=gi==null?void 0:gi.current)==null?void 0:da.clientHeight)>97?Ci(1):Ci(0)),wn.length===0&&Ci(0),Si(!1)},[wn]),ae.createElement("div",{className:xe()(ke.row,or),style:Er},ae.createElement("div",{onClick:(0,Ee.throttle)(()=>Rn==null?void 0:Rn(),2e3),style:{width:On,marginTop:Ui?12:4},className:`${ke.title} ${Rn?"current":""}`},lr),ae.createElement("div",{className:Ui?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},ae.createElement("div",{className:ke.bar,ref:Ki,style:li>0?{height:li===1?97:"auto",overflow:li===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:ke.tag,ref:gi},wn==null?void 0:wn.map(da=>ae.createElement("span",{onClick:()=>on(da.id),key:da.id,style:ot(ot({color:si},xr),(da==null?void 0:da.style)||{}),className:hn===da.id?xe()(ui||ke.active,da.classNameActive):""},ae.createElement("span",{title:da.name,className:ke.name},da.name),!!Di&&ae.createElement("span",{className:ke.num},da.count))))),!!li&&ae.createElement(ae.Fragment,null,li===1?ae.createElement("div",{onClick:()=>{var da;Ci(2),((da=gi==null?void 0:gi.current)==null?void 0:da.clientHeight)>245?Si(!0):Si(!1)},className:ke.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Ki.current.scrollTop=0,Ci(1),Si(!1)},className:ke.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ht={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"},st=({dataSource:wn=[],value:hn,onChange:on,onTitleChange:Rn,className:or,title:lr,titleWidth:On=41,style:Er={},fontColor:si="#6A7283",showCount:Di,expand:ui=!0})=>{const[xr,li]=(0,ae.useState)(0),[Ci,Ui]=(0,ae.useState)(!1),Si=(0,ae.useRef)(null),gi=(0,ae.useRef)(null),[Ki,da]=(0,ae.useState)(ui);return ae.createElement("div",{className:xe()(ht.row,or),style:Er},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,Ee.throttle)(()=>Rn==null?void 0:Rn(),2e3),style:{width:On,marginTop:Ci?12:4},className:`${ht.title} ${Rn?"current":""}`},lr),ae.createElement("i",{className:`iconfont ${Ki?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ki?8:10},onClick:()=>da(!Ki)})),Ki&&ae.createElement("div",{className:Ci?`${ht.tagsWrap} ${ht.tagsBorderWrap}`:ht.tagsWrap},ae.createElement("div",{className:ht.fenge}),ae.createElement("div",{className:ht.bar,ref:gi},ae.createElement("div",{className:ht.tag,ref:Si},wn==null?void 0:wn.map(Da=>ae.createElement("span",{onClick:()=>on(Da.id),key:Da.id,style:{color:si},className:hn===Da.id?ht.active:""},ae.createElement("span",{title:Da.name,className:ht.name},Da.name),!!Di&&ae.createElement("span",{className:ht.num},Da.count)))))))},vt={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"},pe=({dataSource:wn=[],value:hn,onChange:on,onTitleChange:Rn,className:or,title:lr,titleWidth:On=41,style:Er={},fontColor:si="#fff",showCount:Di,expand:ui=!0})=>{const[xr,li]=(0,ae.useState)(0),[Ci,Ui]=(0,ae.useState)(!1),Si=(0,ae.useRef)(null),gi=(0,ae.useRef)(null),[Ki,da]=(0,ae.useState)(ui);return ae.createElement("div",{className:xe()(vt.row,or),style:Er},ae.createElement("div",{className:"flex item-center justify-between"},ae.createElement("div",{onClick:(0,Ee.throttle)(()=>Rn==null?void 0:Rn(),2e3),style:{width:On},className:`${vt.title} ${Rn?"current":""}`},lr),ae.createElement("i",{className:`iconfont ${Ki?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Ki?"#00DDC7":"#037F74",fontSize:Ki?10:12},onClick:()=>da(!Ki)})),Ki&&ae.createElement("div",{className:Ci?`${vt.tagsWrap} ${vt.tagsBorderWrap}`:vt.tagsWrap},ae.createElement("div",{className:vt.bar,ref:gi},ae.createElement("div",{className:vt.tag,ref:Si},wn==null?void 0:wn.map(Da=>ae.createElement("span",{onClick:()=>on(Da.id),key:Da.id,style:{color:si},className:hn===Da.id?vt.active:""},ae.createElement("span",{title:Da.name,className:vt.name},Da.name),!!Di&&ae.createElement("span",{className:vt.num},Da.count)))))))},$e={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"},qe=({dataSource:wn=[],value:hn,onChange:on,className:Rn,style:or={}})=>ae.createElement("div",{style:or,className:xe()($e.tabs,Rn)},wn.map(lr=>ae.createElement("span",{onClick:()=>on(lr.id),className:hn===lr.id?$e.active:"",key:lr.id},lr.name))),Ye={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"},pt=se(92832),Pt=({dataSource:wn=[],value:hn="",onChange:on,onInputChange:Rn=()=>{},className:or,style:lr={},placeholder:On,allowClear:Er=!1})=>{var si;const[Di,ui]=(0,ae.useState)(""),[xr,li]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Si;let gi=hn;(Si=JSON.stringify(hn))!=null&&Si.includes("{")&&(ui(hn.id),gi=hn.value||"");try{li(decodeURIComponent(gi||""))}catch(Ki){li(decodeURIComponent(gi||""))}},[hn]);const Ci=()=>{on(encodeURIComponent(xr),Di||null)},Ui=Si=>{Si!==Di&&(ui(Si),on(encodeURIComponent(xr),Si))};return ae.createElement("div",{className:xe()(Ye.input,or),style:lr},!!wn.length&&ae.createElement("div",{className:Ye.dropdown},ae.createElement("div",{className:Ye.text},(si=wn.find(Si=>Si.id===Di))==null?void 0:si.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:Ye.b1}),ae.createElement("b",{className:Ye.b2})),ae.createElement("div",{className:Ye.menu},wn.map((Si,gi)=>ae.createElement("div",{key:gi,onClick:()=>Ui(Si.id)},Si.name)))),ae.createElement(pt.default,{onPressEnter:Ci,value:xr,onChange:Si=>{li(Si.target.value),Rn(encodeURIComponent(Si.target.value),Di||null)},bordered:!1,placeholder:On}),ae.createElement("i",{onClick:Ci,className:"iconfont icon-sousuo9 font14 pl10 current"}))},it={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"},rn=({dataSource:wn=[],value:hn="",onChange:on,onInputChange:Rn=()=>{},className:or,style:lr={},placeholder:On,allowClear:Er=!1})=>{var si;const[Di,ui]=(0,ae.useState)(""),[xr,li]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Si;let gi=hn;(Si=JSON.stringify(hn))!=null&&Si.includes("{")&&(ui(hn.id),gi=hn.value||"");try{li(decodeURIComponent(gi||""))}catch(Ki){li(decodeURIComponent(gi||""))}},[hn]);const Ci=()=>{on(encodeURIComponent(xr),Di||null)},Ui=Si=>{Si!==Di&&(ui(Si),on(encodeURIComponent(xr),Si))};return ae.createElement("div",{className:xe()(it.input,or),style:lr},!!wn.length&&ae.createElement("div",{className:it.dropdown},ae.createElement("div",{className:it.text},(si=wn.find(Si=>Si.id===Di))==null?void 0:si.name,ae.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ae.createElement("div",{className:it.menu},wn.map((Si,gi)=>ae.createElement("div",{key:gi,onClick:()=>Ui(Si.id)},Si.name)))),ae.createElement(pt.default,{onPressEnter:Ci,value:xr,onChange:Si=>{li(Si.target.value),Rn(encodeURIComponent(Si.target.value),Di||null)},bordered:!1,placeholder:On}),ae.createElement("i",{onClick:Ci,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Ut={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"},jt=({value:wn,onChange:hn,className:on,total:Rn,pageSize:or,style:lr={}})=>{const On=wn<2,Er=wn>=Math.ceil(Rn/or);return Rn<=or?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:xe()(Ut.quickPager,on),style:lr},ae.createElement("div",{onClick:()=>{On||hn(wn-1,"prev")},className:On?Ut.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{Er||hn(wn+1,"next")},className:Er?Ut.disabled:""},"\u4E0B\u4E00\u9875"))},Qe={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"},Ce=se(71418),nt=se(6848),$t=se(13570),Et=se(11662),Ve=se(22566),tt=se(96908),At=se(57177),fn=se(81378),Kt=se(21692),kt=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,trackEventItems:Er,loading:si})=>{const Di=Math.floor((On-(on-1)*Rn)/on);return ae.createElement(Ce.Z,{spinning:si},ae.createElement("div",{className:xe()(Qe.list,wn)},!!hn.length&&hn.map((ui,xr)=>{const{name:li,id:Ci,identifier:Ui,power:Si,cover_image_id:gi,pic:Ki}=ui;return ae.createElement("div",{className:Qe.wrap,key:Ci,style:{width:Di,marginRight:(1+xr)%on===0?0:Rn+lr,marginBottom:or}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Ui}/challenges`,className:Qe.li,onClick:da=>{da.preventDefault(),Er&&(0,Ve.L9)([Er]),Si&&(0,Ve.xg)(`/shixuns/${Ui}/challenges`)}},ae.createElement("div",{className:Qe.img},ae.createElement("img",{className:Qe.cover,src:`${Ki}`}),ui.is_jupyter&&ae.createElement("img",{className:Qe.sign,src:tt}),ui.is_jupyter_lab&&ae.createElement("img",{className:Qe.sign,src:At}),ui.is_unity_3d&&ae.createElement("img",{className:Qe.sign,src:fn})),ae.createElement("div",{className:Qe.name},ae.createElement(nt.Z,{title:li||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Qe.e},li||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:Qe.tags},ae.createElement(nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,ui.challenges_count))),!!ui.myshixuns_count&&ae.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,ui.myshixuns_count))),ae.createElement(nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,ui.level))),ae.createElement("div",{className:Qe.rate},ae.createElement($t.Z,{allowHalf:!0,disabled:!0,defaultValue:ui.score_info}),ae.createElement("span",null,"\xA0",ui.score_info?`${ui.score_info}\u5206`:"5\u5206")))),!Si&&ae.createElement("div",{className:Qe.lockWrap},ae.createElement("img",{src:`${Et.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!hn.length&&ae.createElement(Kt.Z,null)))},Bt={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"},ve=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,wrapClassName:Er,trackEventItems:si,loading:Di})=>{const ui=Math.floor((On-(on-1)*Rn)/on);return ae.createElement(Ce.Z,{spinning:Di},ae.createElement("div",{className:xe()(Bt.list,wn)},!!hn.length&&hn.map((xr,li)=>{const{name:Ci,id:Ui,identifier:Si,power:gi,cover_image_id:Ki,pic:da}=xr;return ae.createElement("div",{className:xe()(Bt.wrap,Er),key:Ui,style:{width:ui,marginRight:(1+li)%on===0?0:Rn+lr,marginBottom:or}},ae.createElement("a",{target:"_blank",href:`/shixuns/${Si}/challenges`,className:Bt.li,onClick:Da=>{Da.preventDefault(),si&&(0,Ve.L9)([si]),gi&&(0,Ve.xg)(`/shixuns/${Si}/challenges`)}},ae.createElement("img",{src:se(47621),className:Bt.titleBg}),ae.createElement("div",{className:Bt.name},ae.createElement(nt.Z,{title:Ci||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:Bt.e},Ci||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:Bt.img},ae.createElement("img",{className:Bt.cover,src:Ki?`${Et.Z.API_SERVER}/api/attachments/${Ki}`:`${Et.Z.IMG_SERVER+da}`}),xr.is_jupyter&&ae.createElement("div",{className:Bt.bq},"Jupyter"),xr.is_jupyter_lab&&ae.createElement("div",{className:Bt.bq},"JupyterLab"),xr.is_unity_3d&&ae.createElement("div",{className:Bt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ae.createElement("div",{className:"mt20 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Bt.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Bt.value},xr.myshixuns_count)),ae.createElement("div",null,ae.createElement("span",{className:Bt.text},"\u56F0\u96BE\u7B49\u7EA7"),ae.createElement("span",{className:Bt.value},xr.level))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Bt.text},"\u5173\u5361\u6570"),ae.createElement("span",{className:Bt.value},xr.challenges_count)),ae.createElement("div",{className:Bt.rate},ae.createElement($t.Z,{allowHalf:!0,disabled:!0,defaultValue:xr.score_info}),ae.createElement("span",{className:Bt.value,style:{color:"#FF9C00"}},"\xA0",xr.score_info?`${xr.score_info}\u5206`:"5\u5206"))))),!gi&&ae.createElement("div",{className:Bt.lockWrap},ae.createElement("img",{src:`${Et.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!hn.length&&ae.createElement(Kt.Z,null)))},ce={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:"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dut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Pe=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,trackEventItems:Er,loading:si,wrapClassName:Di,imgClassName:ui})=>{const xr=Math.floor((On-(on-1)*Rn)/on);return ae.createElement(Ce.Z,{spinning:si},ae.createElement("div",{className:xe()(ce.list,wn)},!!hn.length&&hn.map((li,Ci)=>{const{name:Ui,id:Si,identifier:gi,power:Ki,cover_image_id:da,pic:Da}=li;return ae.createElement("div",{className:xe()(ce.wrap,Di),key:Si,style:{width:xr,marginRight:(1+Ci)%on===0?0:Rn+lr,marginBottom:or}},ae.createElement("a",{target:"_blank",href:`/shixuns/${gi}/challenges`,className:ce.li,onClick:no=>{no.preventDefault(),Er&&(0,Ve.L9)([Er]),Ki&&(0,Ve.xg)(`/shixuns/${gi}/challenges`)}},ae.createElement("div",{className:xe()(ce.img,ui)},ae.createElement("img",{className:ce.cover,src:da?`${Et.Z.API_SERVER}/api/attachments/${da}`:`${Et.Z.IMG_SERVER+Da}`}),li.is_jupyter&&ae.createElement("img",{className:ce.sign,src:le}),li.is_jupyter_lab&&ae.createElement("img",{className:ce.sign,src:fe}),li.is_unity_3d&&ae.createElement("img",{className:ce.sign,src:he})),ae.createElement("div",{className:ce.name},ae.createElement(nt.Z,{title:Ui||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:ce.e},Ui||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:ce.tags},ae.createElement(nt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,li.challenges_count))),!!li.myshixuns_count&&ae.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,li.myshixuns_count))),ae.createElement(nt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,li.level))),ae.createElement("div",{className:ce.rate},ae.createElement($t.Z,{allowHalf:!0,disabled:!0,defaultValue:li.score_info}),ae.createElement("span",null,"\xA0",li.score_info?`${li.score_info}\u5206`:"5\u5206")))),!Ki&&ae.createElement("div",{className:ce.lockWrap},ae.createElement("img",{src:`${Et.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!hn.length&&ae.createElement(Kt.Z,null)))},_e=se(23734),Dt={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"},Lt=se(79005),Ht=se(20345),Qt=se(77882),zt=se(31081),bn=se(75309),In=se(71979),Mt=se(47558),tn=se(42922),Gn=se(66832),ut=se(96593),We=se(19664),Ue=se(91833),nn=Object.defineProperty,gn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Pn=(wn,hn,on)=>hn in wn?nn(wn,hn,{enumerable:!0,configurable:!0,writable:!0,value:on}):wn[hn]=on,Vn=(wn,hn)=>{for(var on in hn||(hn={}))xn.call(hn,on)&&Pn(wn,on,hn[on]);if(gn)for(var on of gn(hn))Un.call(hn,on)&&Pn(wn,on,hn[on]);return wn};const dr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Lt,swimg:Ht},{name:"101\u8BA1\u5212",ptimg:Qt,swimg:zt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:bn,swimg:In},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Mt,swimg:tn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Gn,swimg:ut},{name:"\u519B\u961F\u4E00\u6D41",ptimg:We,swimg:Ue}];var _n=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,trackEventItems:Er,loading:si,wrapClassName:Di,imgClassName:ui,isArrow:xr=!1,imgStyle:li={}})=>{const Ci=Math.floor((On-(on-1)*Rn)/on),[Ui,Si]=(0,ae.useState)(),[gi,Ki]=(0,ae.useState)(),da=no=>Si(no),Da=()=>Si(-1);return ae.createElement(Ce.Z,{spinning:si},ae.createElement("div",{className:xe()(Dt.list,wn)},!!(hn!=null&&hn.length)&&(hn==null?void 0:hn.map((no,Ro)=>{var ul;const{name:Vo,id:Mo,identifier:so,featured:Is,school_name:No,image_url:ls,excellent:qs,is_plan:Os}=no;return ae.createElement("div",{key:Mo,className:xe()(Dt.wrap,Di),style:{width:Ci,marginRight:(1+Ro)%on===0?0:Rn+lr,marginBottom:or}},ae.createElement("a",{target:"_blank",href:`/paths/${so}`,className:Dt.li,onClick:go=>{go.preventDefault(),Er&&(0,Ve.L9)([Er]),(0,Ve.xg)(`/paths/${so}`)}},ae.createElement("img",{src:se(39057),className:Dt.titleBg}),ae.createElement("div",{className:Dt.name},ae.createElement(nt.Z,{title:Vo},ae.createElement("span",{className:Dt.e,style:{color:xr&&Ui===Ro?"#145DFF":"#000000"},onMouseEnter:()=>{da(Ro)},onMouseLeave:Da},Vo))),ae.createElement("div",{style:{padding:"14px",paddingBottom:0}},ae.createElement("div",{className:xe()(Dt.img,ui)},ae.createElement("img",{className:Dt.cover,style:Vn({},li),src:`${Et.Z.IMG_SERVER+ls}`}),(ul=no==null?void 0:no.subject_tags)==null?void 0:ul.map((go,Ua)=>{var Ma,js;if(Ua===0){const _o=(Ma=dr.find(va=>va.name==go))==null?void 0:Ma.swimg;return ae.createElement("img",{className:Dt.sign,src:_o,style:{left:"-4px"}})}const xl=(js=dr.find(_o=>_o.name==go))==null?void 0:js.ptimg;return ae.createElement("img",{className:Dt.sign,src:xl,style:{left:`${48+52*(Ua-1)+2*Ua}px`}})}),ae.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(no==null?void 0:no.excellent)&&ae.createElement("div",{className:Dt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ae.createElement("div",null,ae.createElement("span",{className:Dt.text},"\u7AE0\u8282\u6570"),ae.createElement("span",{className:Dt.value},no.stages_count)),ae.createElement("div",null,ae.createElement("span",{className:Dt.text},"\u5B66\u4E60\u4EBA\u6570"),ae.createElement("span",{className:Dt.value},no.members_count))))))})),!hn.length&&ae.createElement(Kt.Z,null)))},wr={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"},Jr=se(16624),pr=se(59301);const pi=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Lt,swimg:Ht},{name:"101\u8BA1\u5212",ptimg:Qt,swimg:zt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:bn,swimg:In},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Mt,swimg:tn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Gn,swimg:ut},{name:"\u519B\u961F\u4E00\u6D41",ptimg:We,swimg:Ue}];var Qr=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,trackEventItems:Er,loading:si,onRemove:Di=()=>{},isCurrent:ui=!0,showAlias:xr=!1,wrapClassName:li,imgClassName:Ci})=>{const Ui=Math.floor((On-(on-1)*Rn)/on),Si=[{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(gi=>(window.ENV==="build"&&(gi.ptimg=`/react/build${gi.ptimg}`,gi.swimg=`/react/build${gi.swimg}`),gi));return pr.createElement(Ce.Z,{spinning:si},pr.createElement("div",{className:xe()(wr.list,wn)},!!(hn!=null&&hn.length)&&(hn==null?void 0:hn.map((gi,Ki)=>{var da;const{name:Da,id:no,identifier:Ro,featured:ul,school_name:Vo,image_url:Mo,excellent:so,is_plan:Is}=gi;return pr.createElement("div",{key:no,className:xe()(wr.wrap,li),style:{width:Ui,marginRight:(1+Ki)%on===0?0:Rn+lr,marginBottom:or}},pr.createElement("a",{className:wr.li,onClick:No=>{No.preventDefault(),No.stopPropagation(),Er&&(0,Ve.L9)([Er]),(0,Ve.xg)(`/paths/${Ro}`)}},pr.createElement("div",{className:xe()(wr.img,Ci)},pr.createElement("img",{className:wr.cover,src:`${Et.Z.IMG_SERVER+Mo}`}),ui&&(0,Jr.bg)()&&(gi==null?void 0:gi.studying)&&pr.createElement("div",{className:`${wr.movebq} user-path-items`,onClick:No=>{No.stopPropagation(),Di(gi)}},pr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),pr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(da=gi==null?void 0:gi.subject_tags)==null?void 0:da.map((No,ls)=>{var qs,Os;if(ls===0){const Ua=(qs=Si.find(Ma=>Ma.name==No))==null?void 0:qs.swimg;return pr.createElement("img",{className:wr.sign,src:Ua,style:{left:"-4px"}})}const go=(Os=Si.find(Ua=>Ua.name==No))==null?void 0:Os.ptimg;return pr.createElement("img",{className:wr.sign,src:go,style:{left:`${48+52*(ls-1)+2*ls}px`}})}),pr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(gi==null?void 0:gi.excellent)&&pr.createElement("div",{className:wr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),pr.createElement("div",{className:wr.name},pr.createElement(nt.Z,{title:xr&&(gi!=null&&gi.excellent_alias_name)?pr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Da}`,pr.createElement("br",null),pr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${gi==null?void 0:gi.excellent_alias_name}`)):Da},pr.createElement("span",{className:wr.e},xr&&(gi==null?void 0:gi.excellent_alias_name)||Da))),pr.createElement("div",{className:wr.tags},pr.createElement("div",null,pr.createElement(nt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},pr.createElement("span",null,pr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),pr.createElement("span",null,gi.stages_count))),pr.createElement(nt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},pr.createElement("span",null,pr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),pr.createElement("span",null,gi.members_count)))))))})),!hn.length&&pr.createElement(Kt.Z,null)))},pn={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"},Zn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QG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dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",rr=se(59301),nr=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,trackEventItems:Er,loading:si})=>{const Di=Math.floor((On-(on-1)*Rn)/on);return rr.createElement(Ce.Z,{spinning:si},rr.createElement("div",{className:xe()(pn.list,wn)},!!hn.length&&hn.map((ui,xr)=>{const{subject_identifier:li,id:Ci,identifier:Ui,power:Si}=ui,gi=ui.is_public!=0&&ui.is_public;return rr.createElement("div",{className:pn.wrap,key:Ci,style:{width:Di,marginRight:(1+xr)%on===0?0:Rn+lr,marginBottom:or}},rr.createElement("a",{className:pn.li,onClick:Ki=>{Ki.preventDefault(),Er&&(0,Ve.L9)([Er]),(0,Ve.xg)(ui.first_category_url)}},rr.createElement("div",{className:pn.top},rr.createElement(nt.Z,{title:ui.name},rr.createElement("div",{className:pn.name},ui.name)),rr.createElement("img",{className:pn.img,src:Et.Z.IMG_SERVER+"/images/"+ui.avatar_url}),rr.createElement("div",{className:pn.text,title:ui.creator},ui.creator),li&&rr.createElement("div",{className:pn.btns},rr.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),rr.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),gi&&rr.createElement("div",{className:pn.sign},"\u516C\u5F00")),rr.createElement("div",{className:pn.bottom},ui.visits>0&&rr.createElement(nt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},rr.createElement("span",null,rr.createElement("i",{className:"iconfont icon-liulanyan"}),rr.createElement("span",null,ui.visits))),ui.course_members_count>0&&rr.createElement(nt.Z,{title:"\u6210\u5458",placement:"bottom"},rr.createElement("span",null,rr.createElement("i",{className:"iconfont icon-chengyuan"}),ui.course_members_count)),ui.tasks_count>0&&rr.createElement(nt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},rr.createElement("span",null,rr.createElement("i",{className:"iconfont icon-zuoye"}),ui.tasks_count)),ui.is_end?rr.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):rr.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ui.is_accessible&&rr.createElement("div",{className:pn.lockWrap},rr.createElement("img",{src:`${Et.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),rr.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!hn.length&&rr.createElement(Kt.Z,null)))},fr={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"},sr="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/BHhkOSe5evqiaaXoTxIx55tExMs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P7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ir=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,wrapClassName:Er,trackEventItems:si,loading:Di})=>{const ui=Math.floor((On-(on-1)*Rn)/on);return ae.createElement(Ce.Z,{spinning:Di},ae.createElement("div",{className:xe()(fr.list,wn)},!!hn.length&&hn.map((xr,li)=>{const{subject_identifier:Ci,id:Ui,identifier:Si,power:gi}=xr,Ki=xr.is_public!=0&&xr.is_public;return ae.createElement("div",{className:xe()(`${fr.wrap} ${xr.is_accessible?"":fr.warpStyle}`,Er),key:Ui,style:{width:ui,marginRight:(1+li)%on===0?0:Rn+lr,marginBottom:or}},ae.createElement("a",{className:fr.li,onClick:da=>{da.preventDefault(),si&&(0,Ve.L9)([si]),(0,Ve.xg)(xr.first_category_url)}},ae.createElement("div",{className:fr.creator},ae.createElement("img",{className:fr.img,src:Et.Z.IMG_SERVER+"/images/"+xr.avatar_url}),ae.createElement("div",{className:fr.text,title:xr.creator},xr.creator)),ae.createElement("div",{className:fr.top},ae.createElement(nt.Z,{title:xr.name},ae.createElement("div",{className:fr.name},xr.name)),Ki&&ae.createElement("div",{className:fr.sign},"\u516C\u5F00")),ae.createElement("div",{className:fr.middle},ae.createElement("div",{className:fr.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:fr.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:fr.value},(xr==null?void 0:xr.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:fr.text},"\u6210\u5458"),ae.createElement("span",{className:fr.value},(xr==null?void 0:xr.course_members_count)||0))),ae.createElement("div",{className:fr.row},ae.createElement("div",null,ae.createElement("span",{className:fr.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:fr.value},(xr==null?void 0:xr.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:fr.text},"\u72B6\u6001"),xr.is_end?ae.createElement("span",{className:fr.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:fr.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Ci&&ae.createElement("div",{className:fr.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!xr.is_accessible&&ae.createElement("div",{className:fr.lockWrap},ae.createElement("img",{src:`${Et.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!hn.length&&ae.createElement(Kt.Z,null)))},Bn={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"},Cr="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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ph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Fe=({className:wn,dataSource:hn=[],col:on=4,right:Rn,bottom:or=23,precision:lr=0,wrapWidth:On=1200,wrapClassName:Er,trackEventItems:si,loading:Di})=>{const ui=Math.floor((On-(on-1)*Rn)/on);return ae.createElement(Ce.Z,{spinning:Di},ae.createElement("div",{className:xe()(Bn.list,wn)},!!hn.length&&hn.map((xr,li)=>{const{subject_identifier:Ci,id:Ui,identifier:Si,power:gi}=xr,Ki=xr.is_public!=0&&xr.is_public;return ae.createElement("div",{className:xe()(`${Bn.wrap} ${xr.is_accessible?"":Bn.warpStyle}`,Er),key:Ui,style:{width:ui,marginRight:(1+li)%on===0?0:Rn+lr,marginBottom:or}},ae.createElement("a",{className:Bn.li,onClick:da=>{da.preventDefault(),si&&(0,Ve.L9)([si]),(0,Ve.xg)(xr.first_category_url)}},ae.createElement("div",{className:Bn.creator},ae.createElement("img",{className:Bn.img,src:Et.Z.IMG_SERVER+"/images/"+xr.avatar_url}),ae.createElement("div",{className:Bn.text,title:xr.creator},xr.creator)),ae.createElement("div",{className:Bn.top},ae.createElement(nt.Z,{title:xr.name},ae.createElement("div",{className:Bn.name},xr.name)),Ki&&ae.createElement("div",{className:Bn.sign})),ae.createElement("div",{className:Bn.middle},ae.createElement("div",{className:Bn.row,style:{marginBottom:6}},ae.createElement("div",null,ae.createElement("span",{className:Bn.text},"\u8BBF\u95EE\u91CF"),ae.createElement("span",{className:Bn.value},(xr==null?void 0:xr.visits)||0)),ae.createElement("div",null,ae.createElement("span",{className:Bn.text},"\u6210\u5458"),ae.createElement("span",{className:Bn.value},(xr==null?void 0:xr.course_members_count)||0))),ae.createElement("div",{className:Bn.row},ae.createElement("div",null,ae.createElement("span",{className:Bn.text,style:{width:42}},"\u4F5C",ae.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ae.createElement("span",{className:Bn.value},(xr==null?void 0:xr.tasks_count)||0)),ae.createElement("div",null,ae.createElement("span",{className:Bn.text},"\u72B6\u6001"),xr.is_end?ae.createElement("span",{className:Bn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ae.createElement("span",{className:Bn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Ci&&ae.createElement("div",{className:Bn.btns},ae.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!xr.is_accessible&&ae.createElement("div",{className:Bn.lockWrap},ae.createElement("img",{src:`${Et.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!hn.length&&ae.createElement(Kt.Z,null)))},je={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"},Re=se(90115),ct=({dataSource:wn=[],value:hn,onChange:on,className:Rn,style:or={},tabBarExtraContent:lr})=>ae.createElement("div",{className:xe()(je.tabs,Rn),style:or},ae.createElement("div",{className:je.tabsWrap},wn.map((On,Er)=>ae.createElement("aside",{className:je.tab,onClick:()=>{on(On.id),On.link&&Re.history.push(On.link)},key:Er},ae.createElement("div",{className:hn===On.id?je.active:""},On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&ae.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&ae.createElement(nt.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",ae.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),ae.createElement("div",{className:je.tabBar},lr)),St={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"},Gt=({dataSource:wn=[],value:hn,onChange:on,className:Rn,style:or={},tabBarExtraContent:lr})=>ae.createElement("div",{className:xe()(St.tabs,Rn),style:or},ae.createElement("div",{className:St.tabsWrap},wn.map((On,Er)=>ae.createElement("aside",{className:St.tab,onClick:()=>{on(On.id),On.link&&Re.history.push(On.link)},key:Er},ae.createElement("div",{className:hn===On.id?St.active:""},On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&ae.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&ae.createElement(nt.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",ae.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),ae.createElement("div",{className:St.tabBar},lr)),Zt={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"},Hn=({dataSource:wn=[],value:hn,onChange:on,className:Rn,style:or={},tabBarExtraContent:lr})=>ae.createElement("div",{className:xe()(Zt.tabs,Rn),style:or},ae.createElement("div",{className:Zt.tabsWrap},wn.map((On,Er)=>ae.createElement("aside",{className:`${Zt.tab} ${hn===On.id?Zt.active:""}`,onClick:()=>{on(On.id),On.link&&Re.history.push(On.link)},key:Er},ae.createElement("div",null,On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&ae.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&ae.createElement(nt.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",ae.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),ae.createElement("div",{className:Zt.tabBar},lr)),qt=({className:wn,style:hn={},children:on})=>ae.createElement("div",{className:xe()(wn),style:hn},on),Sn={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"},Ct=se(38854),Rt=se(20834);const Xt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var En=({sortValue:wn,dropValue:hn,className:on,onSort:Rn,onDrop:or,dataSource:lr=Xt})=>{var On;return ae.createElement("div",{className:xe()(Sn.orderWrap,on)},ae.createElement(Ct.Z,{dropdownRender:()=>ae.createElement(Rt.default,null,lr.map((Er,si)=>ae.createElement(Rt.default.Item,{key:si,onClick:()=>or(Er.id)},Er.name)))},ae.createElement("span",{className:Sn.orderTextWrap},(On=lr.find(Er=>hn===Er.id))==null?void 0:On.name)),ae.createElement("span",{className:Sn.orderIconWrap},ae.createElement("span",{className:Sn.orderAsc},ae.createElement("i",{className:wn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Sn.cursorPointer} ${Sn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Sn.cursorPointer}`,onClick:()=>Rn(wn==="asc"?"desc":"asc")})),ae.createElement("span",{className:Sn.orderDesc},ae.createElement("i",{className:wn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Sn.cursorPointer} ${Sn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Sn.cursorPointer}`,onClick:()=>Rn(wn==="asc"?"desc":"asc")}))))},Wt={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 An=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Tt=({sortValue:wn,dropValue:hn,className:on,onSort:Rn,onDrop:or,dataSource:lr=An})=>{var On;return ae.createElement("div",{className:xe()(Wt.orderWrap,on)},ae.createElement(Ct.Z,{dropdownRender:()=>ae.createElement(Rt.default,null,lr.map((Er,si)=>ae.createElement(Rt.default.Item,{key:si,onClick:()=>or(Er.id)},Er.name)))},ae.createElement("span",{className:Wt.orderTextWrap},(On=lr.find(Er=>hn===Er.id))==null?void 0:On.name)),ae.createElement("span",{className:Wt.orderIconWrap},ae.createElement("span",{className:Wt.orderAsc},ae.createElement("i",{className:wn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Wt.cursorPointer} ${Wt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Wt.cursorPointer}`,onClick:()=>Rn(wn==="asc"?"desc":"asc")})),ae.createElement("span",{className:Wt.orderDesc},ae.createElement("i",{className:wn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Wt.cursorPointer} ${Wt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Wt.cursorPointer}`,onClick:()=>Rn(wn==="asc"?"desc":"asc")}))))},Ot={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"},ln=se(3113),Jt=se(39587),dn=Object.defineProperty,cn=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,qn=(wn,hn,on)=>hn in wn?dn(wn,hn,{enumerable:!0,configurable:!0,writable:!0,value:on}):wn[hn]=on,br=(wn,hn)=>{for(var on in hn||(hn={}))Fn.call(hn,on)&&qn(wn,on,hn[on]);if(cn)for(var on of cn(hn))Kn.call(hn,on)&&qn(wn,on,hn[on]);return wn},Tr=(wn,hn)=>{var on={};for(var Rn in wn)Fn.call(wn,Rn)&&hn.indexOf(Rn)<0&&(on[Rn]=wn[Rn]);if(wn!=null&&cn)for(var Rn of cn(wn))hn.indexOf(Rn)<0&&Kn.call(wn,Rn)&&(on[Rn]=wn[Rn]);return on},jr=(wn,hn,on)=>new Promise((Rn,or)=>{var lr=si=>{try{Er(on.next(si))}catch(Di){or(Di)}},On=si=>{try{Er(on.throw(si))}catch(Di){or(Di)}},Er=si=>si.done?Rn(si.value):Promise.resolve(si.value).then(lr,On);Er((on=on.apply(wn,hn)).next())}),tr=wn=>{var hn=wn,{className:on,style:Rn,children:or,loading:lr=!1,openLoading:On,onClick:Er=()=>{},size:si="middle",shape:Di="round",theme:ui}=hn,xr=Tr(hn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[li,Ci]=(0,ae.useState)(!1),Ui=(0,ae.useMemo)(()=>{switch(ui){case Jt.Fy.THEMEONE:return Ot.ThemeOne;case Jt.Fy.DEFAULT:default:return Ot.btn}},[ui]);return ae.createElement(ln.ZP,br({onClick:(0,Ee.throttle)(Si=>jr(void 0,null,function*(){On&&Ci(!0);try{yield Er(Si)}catch(gi){console.log("error",gi)}On&&Ci(!1)}),2e3,{leading:!0,trailing:!1}),className:xe()(Ui,Ot[`${si}-${Di}`],on),style:Rn,size:si,shape:Di,loading:li||lr},xr),or)},_r={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"},qr=({className:wn,style:hn,children:on=null,onClick:Rn,title:or})=>ae.createElement("div",{className:xe()(_r.head,wn),style:hn},ae.createElement("span",{className:"primary-hover",onClick:Rn},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:or},or),ae.createElement("div",{className:_r.node},on)),Mr={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"},$r=({confirmShow:wn=!0,confirmTitle:hn,confirmClick:on,cancelShow:Rn=!0,cancelTitle:or,cancelClick:lr,className:On,style:Er,confirmLoading:si=!1})=>ae.createElement("div",{className:xe()(Mr.btns,On),style:Er},wn&&ae.createElement(ln.ZP,{loading:si,onClick:on,type:"primary",className:Mr.confirm},hn),Rn&&ae.createElement(ln.ZP,{onClick:lr,className:Mr.cancel},or)),Wr={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"},Ii=({className:wn,style:hn={},LeftContent:on,children:Rn,RightContent:or})=>ae.createElement("div",{className:xe()(Wr.fixedBottom,wn),style:hn},ae.createElement("div",{className:Wr.wrap},ae.createElement("div",{className:Wr.left},on),ae.createElement("div",{className:Wr.center},Rn),ae.createElement("div",{className:Wr.right},or))),Zr={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"},Yn=({className:wn,style:hn={},dataSource:on=[]})=>ae.createElement("div",{className:xe()(Zr.crumbs,wn),style:hn},on.map((Rn,or)=>or<on.length-1?ae.createElement(ae.Fragment,{key:or},Rn.path||Rn.onClick?ae.createElement("span",{className:Zr.hover,onClick:Rn!=null&&Rn.onClick?Rn.onClick:()=>Re.history.push(Rn.path)},Rn.name):ae.createElement("span",null,Rn.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:or,style:{color:"#5F6368"}},Rn.name))),Xr=se(31797),Nr=Object.defineProperty,oi=Object.defineProperties,ci=Object.getOwnPropertyDescriptors,di=Object.getOwnPropertySymbols,Gr=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable,Gi=(wn,hn,on)=>hn in wn?Nr(wn,hn,{enumerable:!0,configurable:!0,writable:!0,value:on}):wn[hn]=on,Sr=(wn,hn)=>{for(var on in hn||(hn={}))Gr.call(hn,on)&&Gi(wn,on,hn[on]);if(di)for(var on of di(hn))ti.call(hn,on)&&Gi(wn,on,hn[on]);return wn},Or=(wn,hn)=>oi(wn,ci(hn)),fi=(wn,hn)=>{var on={};for(var Rn in wn)Gr.call(wn,Rn)&&hn.indexOf(Rn)<0&&(on[Rn]=wn[Rn]);if(wn!=null&&di)for(var Rn of di(wn))hn.indexOf(Rn)<0&&ti.call(wn,Rn)&&(on[Rn]=wn[Rn]);return on};const{Countdown:Ei}=Xr.default;var Ji=wn=>{var hn=wn,{onChange:on}=hn,Rn=fi(hn,["onChange"]);const[or,lr]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof or=="number"&&or>=0&&on(or)},[or]);const On=Er=>{const si=Math.floor(Er/1e3);lr(si)};return ae.createElement(Ei,Or(Sr({},Rn),{onChange:On}))},ji={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ua=({DataProps:wn,className:hn,style:on={}})=>{var Rn;return ae.createElement("div",{className:xe()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ji.ClassRoomItem,hn),style:on,onClick:()=>{(0,Ve.xg)(wn==null?void 0:wn.first_category_url)}},ae.createElement("div",{className:"flex flex-col item-center"},ae.createElement("img",{src:`${(Rn=Et.Z)==null?void 0:Rn.IMG_SERVER}/images/${wn==null?void 0:wn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(wn==null?void 0:wn.subject_identifier)&&ae.createElement("div",{className:"mt-40px"},ae.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ae.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ae.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ae.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(wn!=null&&wn.is_public)&&ae.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"),ae.createElement("span",{className:xe()("text-16px font-medium",ji.TitleDom)},wn==null?void 0:wn.name)),ae.createElement("div",{className:"c-grey-333 font-medium"},wn==null?void 0:wn.creator),ae.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",wn==null?void 0:wn.course_members_count),ae.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ae.createElement("div",null,"\u4F5C\u4E1A\uFF1A",wn==null?void 0:wn.tasks_count),wn!=null&&wn.is_end?ae.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ae.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ca=Object.defineProperty,Lr=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Ur=(wn,hn,on)=>hn in wn?ca(wn,hn,{enumerable:!0,configurable:!0,writable:!0,value:on}):wn[hn]=on,Ti=(wn,hn)=>{for(var on in hn||(hn={}))Dr.call(hn,on)&&Ur(wn,on,hn[on]);if(Lr)for(var on of Lr(hn))kr.call(hn,on)&&Ur(wn,on,hn[on]);return wn},ga=({DataProps:wn=[],selectValue:hn,onChange:on,className:Rn,style:or={},extra:lr,classNameItem:On,styleItem:Er={},barHidden:si})=>{const[Di,ui]=(0,ae.useState)();return(0,ae.useEffect)(()=>{ui(Array.isArray(hn)?hn:[hn])},[hn]),ae.createElement("div",{className:xe()("flex px-20px py-10px gap-40px",Rn),style:Ti({borderBottom:"1px solid #D3F0FF"},or)},wn==null?void 0:wn.map(xr=>ae.createElement("div",{key:xr==null?void 0:xr.id,className:xe()("flex item-center justify-center current c-grey-333 text-16 relative",On,xr==null?void 0:xr.className),style:Ti(Ti({color:Di!=null&&Di.includes(xr==null?void 0:xr.id)?"#1890FF":"",minWidth:88},Er),(xr==null?void 0:xr.style)||{}),onClick:li=>{on==null||on({domEvent:li,item:xr}),xr!=null&&xr.link&&Re.history.push(xr==null?void 0:xr.link)}},xr==null?void 0:xr.name,!si&&(Di==null?void 0:Di.includes(xr==null?void 0:xr.id))&&ae.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ae.createElement("div",{className:"ml-auto"},lr))},ia=Object.defineProperty,Qi=Object.defineProperties,ya=Object.getOwnPropertyDescriptors,ja=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,Pi=(wn,hn,on)=>hn in wn?ia(wn,hn,{enumerable:!0,configurable:!0,writable:!0,value:on}):wn[hn]=on,zi=(wn,hn)=>{for(var on in hn||(hn={}))Ha.call(hn,on)&&Pi(wn,on,hn[on]);if(ja)for(var on of ja(hn))mo.call(hn,on)&&Pi(wn,on,hn[on]);return wn},Aa=(wn,hn)=>Qi(wn,ya(hn)),$i=({value:wn,onChange:hn,onInputChange:on,className:Rn,style:or={},InputProps:lr})=>{const[On,Er]=(0,ae.useState)(wn);return ae.createElement("div",{className:xe()("flex item-center rounded-full px-10px py-2px",Rn),style:zi({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},or)},ae.createElement(pt.default,Aa(zi({bordered:!1},lr),{onChange:si=>{Er(si.target.value),on==null||on(encodeURIComponent(si.target.value))},onPressEnter:si=>{hn==null||hn({domEvent:si,item:{value:On}})}})),ae.createElement("img",{className:"h-22px current",src:se(25365),height:22,onClick:si=>{hn==null||hn({domEvent:si,item:{value:On}})}}))}},29152:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return He}});var ae=se(59301);function He(ze,rt){const Se=(0,ae.useRef)();(0,ae.useEffect)(()=>{Se.current=ze}),(0,ae.useEffect)(()=>{function ke(){Se.current()}if(rt!==null){let Oe=setInterval(ke,rt);return()=>clearInterval(Oe)}},[rt])}},1536:function(Cn,mn,se){"use strict";se.d(mn,{Q8:function(){return Ce},d0:function(){return nt},w6:function(){return Qe}});var ae=se(59301),He=se(5083),ze=se(57809),rt=se(8591),Se=se(43418),ke=se(5112),Oe=se(95237),xe=se(43604),Ee=se(6848),Ze=se(24905),yt=se(3113),Be=se(66649),Te=se.n(Be),dt=se(16624),ot=se(64866),ft=se(89392),lt=se.n(ft),ht=se(22566),Vt=se(1051),st=se(90115),vt=se(21837),Ke=se(91723),pe=se(25920),$e=se(27350),et=se(55159),qe=se(59301),Ye=Object.defineProperty,pt=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,rn=(tt,At,fn)=>At in tt?Ye(tt,At,{enumerable:!0,configurable:!0,writable:!0,value:fn}):tt[At]=fn,Ut=(tt,At)=>{for(var fn in At||(At={}))it.call(At,fn)&&rn(tt,fn,At[fn]);if(Pt)for(var fn of Pt(At))Nt.call(At,fn)&&rn(tt,fn,At[fn]);return tt},un=(tt,At)=>pt(tt,at(At)),jt=(tt,At,fn)=>new Promise((Kt,yn)=>{var kt=ve=>{try{xt(fn.next(ve))}catch(ce){yn(ce)}},Bt=ve=>{try{xt(fn.throw(ve))}catch(ce){yn(ce)}},xt=ve=>ve.done?Kt(ve.value):Promise.resolve(ve.value).then(kt,Bt);xt((fn=fn.apply(tt,At)).next())});function Qe(tt,At){const fn=[];for(let Kt=tt;Kt<At;Kt++)fn.push(Kt);return fn}const Ce=(tt,At,fn)=>{const Kt=tt<Te()().startOf("day"),yn=tt>Te()(At).endOf("day"),kt=tt<Te()(fn).startOf("day");return At?fn?Te()()<=Te()(fn)?kt||yn:Kt||yn:tt&&Kt||yn:fn&&Te()()<=Te()(fn)?kt:Kt},nt=(tt,At)=>{const fn=parseInt(Te()(tt).format("HH")),Kt=parseInt(Te()().format("HH")),yn=parseInt(Te()().format("mm"));if(!tt)return{disabledHours:()=>Qe(0,Kt),disabledMinutes:()=>Qe(0,yn)};if(At){const kt=parseInt(Te()(At).format("HH")),Bt=parseInt(Te()(At).format("mm"));return Te()(tt).isSame(Te()(At),"day")?{disabledHours:()=>Qe(0,kt),disabledMinutes:()=>fn<=kt?Qe(0,Bt):[]}:void 0}if(Te()(tt).isSame(Te()(),"day"))return{disabledHours:()=>Qe(0,Kt),disabledMinutes:()=>Te()(tt).isSame(Te()(),"hour")&&fn<=Kt?Qe(0,yn):[]}},{RangePicker:$t}=He.default,{Option:Et}=ze.default,Ve=({shixunHomeworks:tt,loading:At,dispatch:fn,classroomList:Kt,user:yn})=>{var kt,Bt,xt,ve,ce,le,fe,he,ue;const Pe=(0,st.useParams)(),{workSetting:_e,workList:Dt,shixunWorkList:Lt,headerInfo:Ht,changeData:Qt}=tt,[zt,bn]=(0,ae.useState)(!1),[In,Mt]=(0,ae.useState)(!1);let[tn,Gn]=(0,ae.useState)([]),[ut,We]=(0,ae.useState)([]),[Ue,nn]=(0,ae.useState)({unified_setting:!1,publish_time:"",end_time:"",allow_late:!1,unified_late:!0,late_time:"",late_penalty:0,penalty_type:vt.Q.Percent,challenge_settings:[],work_efficiency:!1,shixun_evaluation:"",answer_open_evaluation:!1,answer_public:!1,score_open:!1,comment_public:!0,total_score:"",eff_score:0,action_analysis:!1,work_end_forbid_evaluate:!1});const[gn,xn]=(0,ae.useState)({}),[Un,Pn]=(0,ae.useState)({});(0,ae.useEffect)(()=>()=>{Gn([])},[]),(0,ae.useEffect)(()=>{bn(!(0,dt.GJ)())},[(0,dt.GJ)()]);const Vn=()=>{fn({type:"shixunHomeworks/getWorkSetting",payload:Ut({},Pe)})};(0,ae.useEffect)(()=>{if(!(_e!=null&&_e.course_id))return;Object.keys(Ue).map(function(Zn){Ue[Zn]=_e[Zn]}),(!Ue.allow_late||!Ue.unified_late)&&(Ue.late_penalty=20,Ue.penalty_type=vt.Q.Percent),Ue.unified_setting||(Ue.unified_late=!1,Ue.unified_anonymous_comment=!1,Ue.unified_anonymous_appeal=!1),tn=JSON.parse(JSON.stringify(_e.group_settings.map(Zn=>un(Ut({},Zn),{group_name:[Zn.group_name]})).filter(Zn=>Zn.publish_time!==null))),ut=JSON.parse(JSON.stringify(_e.allow_late_settings.map(Zn=>un(Ut({},Zn),{group_name:[Zn.group_name]})).filter(Zn=>Zn.late_time!==null))),nn(Ut({},Ue));const pn=(0,ht.QE)((tn==null?void 0:tn.length)>0?tn:[]);Gn([...pn]),(ut==null?void 0:ut.length)<=0?We([{penalty_type:vt.Q.Percent,late_penalty:20}]):We([...ut])},[_e]);const dr=()=>jt(void 0,null,function*(){var pn,Zn;if(((pn=yn==null?void 0:yn.userInfo)==null?void 0:pn.user_status)===2){(0,Ke.Rd)();return}const rr=JSON.parse(JSON.stringify(Ue));if(rr.challenge_settings.filter(nr=>!nr.hide),rr.categoryId=Pe.categoryId,(Zn=rr.challenge_settings)!=null&&Zn.every(nr=>!nr.checked)){rt.ZP.warning("\u5173\u5361\u4E0D\u80FD\u5168\u90E8\u8BBE\u7F6E\u4E3A\u53EF\u4E0D\u505A");return}if(console.log(tn),!Ue.unified_setting)tn=tn==null?void 0:tn.map(nr=>{var fr;if(!nr.publish_time||!nr.end_time)throw rt.ZP.error("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u53D1\u5E03\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!nr.group_name)throw rt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return nr.group_name=typeof(nr==null?void 0:nr.group_name)=="string"?[nr==null?void 0:nr.group_name]:nr==null?void 0:nr.group_name,nr.group_id=(fr=_e.group_settings)==null?void 0:fr.filter(sr=>{var Br;return(Br=nr==null?void 0:nr.group_name)==null?void 0:Br.includes(sr.group_name)}).map(sr=>sr.group_id||sr.id).toString().split(","),nr});else if(!Ue.publish_time||!Ue.end_time)throw rt.ZP.error("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A"),new String("\u53D1\u5E03\u622A\u6B62\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A");if(rr.group_settings=tn,Ue.allow_late)if(Ue.unified_late){if(Ue.late_penalty===null||Ue.late_penalty===void 0||Ue.late_penalty<0||Ue.late_penalty>100)throw rt.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!Ue.late_time)throw rt.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574")}else ut=ut==null?void 0:ut.map(nr=>{var fr,sr;if(nr.late_penalty===null||nr.late_penalty===void 0||nr.late_penalty<0||nr.late_penalty>100)throw rt.ZP.error("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100"),new String("\u8FDF\u4EA4\u6263\u5206\u586B\u5199\u533A\u95F4\u4E3A0~100");if(!nr.late_time)throw rt.ZP.error("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574"),new String("\u8BF7\u628A\u622A\u6B62\u65F6\u95F4\u586B\u5199\u5B8C\u6574");if(!nr.group_name)throw rt.ZP.error("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0"),new String("\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0");return nr.group_name=typeof(nr==null?void 0:nr.group_name)=="string"?[nr==null?void 0:nr.group_name]:nr==null?void 0:nr.group_name,nr.group_id=(sr=(fr=nr==null?void 0:nr.group_name)==null?void 0:fr.map(Br=>{var ir,Bn;let Cr=(Bn=(ir=_e.group_settings)==null?void 0:ir.filter(wt=>(wt==null?void 0:wt.group_name)===Br))==null?void 0:Bn[0];return Cr==null?void 0:Cr.group_id}))==null?void 0:sr.toString().split(","),nr}),rr.allow_late_settings=ut;let ur=yield(0,et.Tr)({homework_common_ids:[parseInt(Pe.categoryId)],course_id:Pe.coursesId,type:"homework_common"});(ur==null?void 0:ur.student_count)===0?gr(rr):(Pn(rr),xn(ur))}),gr=pn=>{var Zn;if(pn.total_score===null){rt.ZP.warning("\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A");return}if(pn!=null&&pn.work_efficiency&&pn.eff_score===null){rt.ZP.warning("\u6548\u7387\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}const rr=pn.challenge_settings.reduce((fr,sr)=>fr+Number(sr.challenge_score),0);if((rr==null?void 0:rr.toFixed(10))!==((Zn=pn.total_score-pn.eff_score)==null?void 0:Zn.toFixed(10))){rt.ZP.warning(`\u6548\u7387\u5206\u52A0\u5173\u5361\u4EFB\u52A1\u603B\u5206\u5FC5\u987B\u7B49\u4E8E\u603B\u5206\u503C\uFF1A${pn.total_score}\u5206`);return}const ur={shixun_evaluation:pn.shixun_evaluation,challenge_settings:pn.challenge_settings};let nr=()=>{var fr;const sr=()=>jt(void 0,null,function*(){Mt(!0),(yield(0,ot.ZP)(`/api/homework_commons/${Pe.categoryId}/publish_setting.json`,{method:"post",body:Ut({},pn)})).status===0&&(rt.ZP.success("\u66F4\u65B0\u6210\u529F"),Vn(),fn({type:"shixunHomeworks/getShixunWorkHeadInfo",payload:Ut({},Pe)})),Mt(!1)});!(0,ft.isEqual)(Qt,ur)&&!((fr=Ht==null?void 0:Ht.homework_status)!=null&&fr.includes("\u672A\u53D1\u5E03"))?Se.default.confirm({title:"\u66F4\u65B0\u6210\u7EE9",content:"\u60A8\u6539\u52A8\u4E86\u672C\u6B21\u4F5C\u4E1A\u7684\u5173\u5361\u5F97\u5206\u8BBE\u7F6E\uFF0C\u8FD9\u53EF\u80FD\u5BFC\u81F4\u5DF2\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\u7684\u6210\u7EE9\u4EA7\u751F\u9519\u8BEF\u3002\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u6309\u94AE\u5C06\u4FDD\u5B58\u6700\u65B0\u8BBE\u7F6E\u5E76\u6309\u6700\u65B0\u8BBE\u7F6E\u66F4\u65B0\u5168\u73ED\u6210\u7EE9\u3002",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:sr}):sr()};_e!=null&&_e.high_resources_consume&&!(_e!=null&&_e.high_resources_consume_permission)?fn({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u4F7F\u7528",id:Pe.coursesId,type:"shixun",type_id:Pe.categoryId,name:_e.homework_name,fn:()=>{nr()}}}):nr()},_n=(pn,Zn,rr="group_id")=>{var ur;return Zn?Zn.find(nr=>nr[rr]===pn):(ur=_e==null?void 0:_e.group_settings)==null?void 0:ur.find(nr=>nr.group_id[0]===pn)},wr=(_e==null?void 0:_e.allow_late)||(_e==null?void 0:_e.anonymous_comment),Jr=pn=>{var Zn,rr;const ur=_n(pn,_e==null?void 0:_e.allow_late_settings,"id"),nr=_n(pn,_e==null?void 0:_e.anonymous_comment_settings),fr=_n(pn);return(_e==null?void 0:_e.allow_late)&&ur&&Te()(ur==null?void 0:ur.late_time)<=Te()()||(_e==null?void 0:_e.anonymous_comment)&&nr&&(nr==null?void 0:nr.evaluation_start)!==null||((rr=(Te()(fr==null?void 0:fr.end_time)<=Te()()&&((Zn=_e==null?void 0:_e.allow_late_settings)==null?void 0:Zn.filter(sr=>sr.group_id.includes(pn))))[0])==null?void 0:rr.late_time)!=null},pr=(0,ae.useMemo)(()=>(_e==null?void 0:_e.allow_late)||(_e==null?void 0:_e.all_group_late),[_e,Ht]),pi=_e==null?void 0:_e.anonymous_comment,Rr=pn=>{if(!pn)return!1;const Zn=_n(pn,_e==null?void 0:_e.anonymous_comment_settings);return(_e==null?void 0:_e.anonymous_comment)&&Zn&&(Zn==null?void 0:Zn.evaluation_start)!==null},Qr=(pn,Zn)=>{var rr,ur,nr;fn({type:"classroomList/setActionTabs",payload:{key:"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",data:pn,index:Zn,rangePickerDisabled:zt||(Te()()<=Te()((ur=_n((rr=pn==null?void 0:pn.group_id)==null?void 0:rr[0]))==null?void 0:ur.publish_time)?!1:[!0,Jr((nr=pn==null?void 0:pn.group_id)==null?void 0:nr[0])]),disabledDate:_e==null?void 0:_e.course_end_date}})};return qe.createElement("section",{className:Vt.Z.form},qe.createElement("div",{className:Vt.Z.title},"\u4F5C\u4E1A\u53D1\u5E03",qe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u4F5C\u4E1A\u4E00\u65E6\u53D1\u5E03\u540E\u4E0D\u53EF\u53D8\u66F4\u8BD5\u9898\u53D1\u5E03\u6A21\u5F0F\uFF09")),qe.createElement("div",null,qe.createElement("div",{style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},qe.createElement(ke.ZP.Group,{disabled:zt||!((kt=Ht==null?void 0:Ht.homework_status)!=null&&kt.includes("\u672A\u53D1\u5E03"))||(0,dt.Rm)()&&!((Bt=Kt.AssistantObject.practice)!=null&&Bt.can_publish),value:Ue.unified_setting,onChange:pn=>{var Zn;if(!((Zn=Ht==null?void 0:Ht.homework_status)!=null&&Zn.includes("\u672A\u53D1\u5E03"))){rt.ZP.error("\u5DF2\u53D1\u5E03\uFF0C\u4E0D\u80FD\u518D\u4FEE\u6539\u7EDF\u4E00\u8BBE\u7F6E");return}if(Ue.unified_setting=!Ue.unified_setting,Ue.unified_setting||(Ue.unified_late=!1,We([{late_penalty:5}])),nn(Object.assign({},Ue)),Ue.unified_setting===!1&&tn==""){Gn(tn.concat({}));return}Ue.unified_setting&&(Gn([]),We([{late_penalty:5}]))}},qe.createElement(ke.ZP,{value:!0,disabled:zt||!(_e!=null&&_e.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u53D1\u5E03"),qe.createElement(ke.ZP,{disabled:zt||!((xt=_e==null?void 0:_e.group_settings)!=null&&xt.length),value:!1},"\u5206\u73ED\u53D1\u5E03")),((ve=_e==null?void 0:_e.group_settings)==null?void 0:ve.length)===0&&qe.createElement("div",{style:{color:"rgba(0, 0, 0, 0.25)",height:"22px"}},"\uFF08\u672C\u8BFE\u5802\u65E0\u5206\u73ED\uFF0C\u4EC5\u652F\u6301\u9009\u62E9\u201C\u7EDF\u4E00\u53D1\u5E03\u201C\uFF09")),Ue.unified_setting&&qe.createElement("div",{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",height:"50px",marginTop:"1px"}},qe.createElement(Oe.Z,{align:"middle"},qe.createElement(xe.Z,{style:{marginLeft:"23px"}},"\u53D1\u5E03\u65F6\u95F4"),qe.createElement(xe.Z,{className:"ml10"},qe.createElement(He.default,{size:"large",disabled:zt||!((ce=Ht==null?void 0:Ht.homework_status)!=null&&ce.includes("\u672A\u53D1\u5E03")||(le=Ht==null?void 0:Ht.homework_status)!=null&&le.includes("\u672A\u5F00\u59CB"))||(0,dt.Rm)()&&!((fe=Kt.AssistantObject.practice)!=null&&fe.can_publish),style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",showTime:{format:"HH:mm"},allowClear:!1,format:"YYYY-MM-DD HH:mm",disabledDate:pn=>Ce(pn,_e==null?void 0:_e.course_end_date),disabledTime:pn=>nt(pn),value:Ue.publish_time?Te()(Ue.publish_time):"",onChange:(pn,Zn)=>{Ue.publish_time=Zn,(Ue.end_time==""||!Ue.end_time)&&Ue.unified_setting&&(Ue.end_time=Te()(pn).add(7,"days").format("YYYY-MM-DD HH:mm:ss")),nn(Object.assign({},Ue))}}))),qe.createElement(Oe.Z,{align:"middle",className:"pl30"},qe.createElement(xe.Z,null,"\u622A\u6B62\u65F6\u95F4"),qe.createElement(xe.Z,{className:"ml10"},qe.createElement(He.default,{size:"large",style:{width:170},allowClear:!1,placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Te()((0,ht.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:(_e==null?void 0:_e.allow_late)&&(_e==null?void 0:_e.homework_status.includes("\u5DF2\u622A\u6B62"))||zt||(_e==null?void 0:_e.allow_late)&&Te()()>=Te()(_e==null?void 0:_e.end_time)||(0,dt.Rm)()&&!((he=Kt.AssistantObject.practice)!=null&&he.can_publish),disabledDate:pn=>Ce(pn,_e==null?void 0:_e.course_end_date,Ue.publish_time),disabledTime:pn=>nt(pn,Ue.publish_time),value:Ue.end_time?Te()(Ue.end_time):"",onChange:(pn,Zn)=>{Ue.end_time=Zn,nn(Object.assign({},Ue))}})))),!Ue.unified_setting&&(tn==null?void 0:tn.length)>0&&qe.createElement(Oe.Z,{style:{display:"flex",color:"#666666",background:"#F6F7F9",padding:"5px 30px",marginTop:"1px"}},tn&&tn.map(function(pn,Zn){var rr,ur,nr,fr,sr,Br,ir;return qe.createElement(xe.Z,{span:24,key:Zn},qe.createElement(Oe.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:Zn==(tn==null?void 0:tn.length)-1?"0px":"10px"}},qe.createElement("div",{style:{minWidth:85,marginRight:"15px",textAlign:"right"}},"\u53D1\u5E03\u89C4\u5219",Zn+1),qe.createElement(ze.default,{disabled:zt||((rr=Ht==null?void 0:Ht.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03")&&pn.id||Te()()<Te()(pn==null?void 0:pn.publish_time)?!1:!!(pn!=null&&pn.publish_time))||(0,dt.Rm)()&&!((ur=Kt.AssistantObject.practice)!=null&&ur.can_publish),mode:"multiple",className:Vt.Z.multiple_select,style:{width:"250px"},value:pn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:Bn=>{var Cr;if((0,dt.Rm)()&&!((Cr=Kt.AssistantObject.practice)!=null&&Cr.can_publish)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}tn[Zn].group_name=Bn,tn[Zn].group_id=pn.group_id;const wt=(0,ft.flattenDeep)(tn.map(je=>je.group_name)),Fe=ut.map(je=>{let Re=(je==null?void 0:je.group_name)||[];return un(Ut({},je),{group_name:(0,ft.remove)(Re,Ne=>wt.includes(Ne))})});We(Fe),Gn(tn.slice())},maxTagCount:4,maxTagPlaceholder:Bn=>qe.createElement("div",{style:{cursor:"pointer"},onClick:()=>Qr(pn,Zn)},"+",Bn==null?void 0:Bn.length)},_e.group_settings&&_e.group_settings.map(function(Bn){if(!tn.map(wt=>wt.group_name).flat().includes(Bn.group_name))return qe.createElement(Et,{value:Bn.group_name,key:Bn.id},Bn.group_name)})),qe.createElement("div",{className:"ml20"},qe.createElement($t,{size:"large",ranges:{\u6B64\u523B:[pn.publish_time?Te()(pn.publish_time):Te()(),Te()()]},allowClear:!1,disabled:zt||(Te()()<=Te()((fr=_n((nr=pn==null?void 0:pn.group_id)==null?void 0:nr[0]))==null?void 0:fr.publish_time)?!1:[!0,Jr((sr=pn==null?void 0:pn.group_id)==null?void 0:sr[0])]),style:{width:605},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Bn=>Ce(Bn,_e==null?void 0:_e.course_end_date),disabledTime:Bn=>nt(Bn),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Te()((0,ht.U6)(),"HH:mm"),Te()((0,ht.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:pn.publish_time&&[Te()(pn.publish_time),pn.end_time?Te()(pn.end_time):void 0],onChange:(Bn,Cr)=>{var wt;if((0,dt.Rm)()&&!((wt=Kt.AssistantObject.practice)!=null&&wt.can_publish)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}tn[Zn].publish_time=Cr[0],!pn.end_time&&Cr[0]?tn[Zn].end_time=Te()(Cr[0]).add(7,"days"):tn[Zn].end_time=Cr[1],Gn([...tn])},onCalendarChange:(Bn,Cr,wt)=>{if(Cr!=null&&Cr[0]&&!Cr[1]){const Fe=Te()(Cr[0]).add(7,"days");tn[Zn].publish_time=Cr[0],tn[Zn].end_time=Fe,Gn([...tn])}}})),!zt&&qe.createElement("div",{style:{display:"flex",width:"50px"}},((Br=pn==null?void 0:pn.group_id)==null?void 0:Br.length)>1&&qe.createElement(Ee.Z,{title:"\u89C4\u5219\u62C6\u5206"},qe.createElement("i",{className:"iconfont icon-chaifen ml10",style:{cursor:"pointer",color:"#3061d0"},onClick:()=>Qr(pn,Zn)})),tn.length<((ir=_e==null?void 0:_e.group_settings)==null?void 0:ir.length)&&qe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var Bn;if((0,dt.Rm)()&&!((Bn=Kt.AssistantObject.practice)!=null&&Bn.can_publish)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Gn(tn.concat({}))}}),((pn==null?void 0:pn.publish_time)&&Te()()<Te()(pn==null?void 0:pn.publish_time)||!(pn!=null&&pn.publish_time))&&Zn!=0&&qe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{const Bn=(0,ft.cloneDeep)(ut);Bn.forEach((Cr,wt)=>{Cr.group_name&&(Cr.group_name=Cr.group_name.filter(Fe=>{var je;return!((je=tn[Zn].group_name)!=null&&je.includes(Fe))}))}),tn=tn.filter((Cr,wt)=>Zn!==wt),We(Bn),Gn(tn.slice()),setTimeout(()=>Gn(tn.slice()),10)}}))))}))),qe.createElement(Oe.Z,null,qe.createElement(xe.Z,null,qe.createElement("div",{className:Vt.Z.title,style:{marginTop:"30px"}},"\u8865\u4EA4\u8BBE\u7F6E",qe.createElement("span",{className:"c-grey-666 font14",style:{fontWeight:400}},"\uFF08\u53EF\u5BF9\u5728\u4F5C\u4E1A\u53D1\u5E03\u65F6\u95F4\u8303\u56F4\u5185\u672A\u5B8C\u6210\u4F5C\u4E1A\u7684\u5B66\u751F\uFF0C\u5EF6\u957F\u65F6\u95F4\u8FDB\u884C\u8865\u4EA4\uFF09"))),qe.createElement(xe.Z,{span:24,style:{background:"#F6F7F9",padding:"13px 30px",display:"flex",alignItems:"center"}},qe.createElement(Ze.default,{checked:Ue.allow_late,disabled:zt||pr,onChange:pn=>{var Zn;if((0,dt.Rm)()&&!((Zn=Kt.AssistantObject.practice)!=null&&Zn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}pn.target.checked&&Se.default.warning({title:"\u5F00\u542F\u8865\u4EA4\u63D0\u793A",centered:!0,width:480,content:qe.createElement("div",{style:{padding:10,background:"#f5f6f9"}},qe.createElement("div",null,"1.\u5F00\u542F\u8865\u4EA4\u540E\u4E0D\u53EF\u5173\u95ED\uFF0C\u8865\u4EA4\u65B9\u5F0F\u63D0\u4EA4\u4FDD\u5B58\u540E\u4E0D\u53EF\u4FEE\u6539\uFF1B"),qe.createElement("div",null,"2.\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\uFF1B"),qe.createElement("div",null,"3.\u73ED\u7EA7\u9636\u6BB5\u8FDB\u5165\u201C\u8865\u4EA4\u4E2D\u201D\u5219\u4E0D\u53EF\u53D8\u66F4\u4F5C\u4E1A\u622A\u6B62\u65F6\u95F4\u3002"))}),Ue.allow_late=!Ue.allow_late,ut==""&&We([{late_penalty:5}]),nn(Object.assign({},Ue))}},qe.createElement("strong",null,"\u5F00\u542F\u8865\u4EA4")))),(Ue==null?void 0:Ue.allow_late)&&qe.createElement("div",{style:{background:"#F6F7F9",padding:"10px 30px",marginTop:"1px",color:"#666666"}},qe.createElement("div",{style:{display:"flex"}},qe.createElement("div",{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u65B9\u5F0F"),qe.createElement(ke.ZP.Group,{style:{marginLeft:"20px"},disabled:zt||(_e==null?void 0:_e.anonymous_comment)||(_e==null?void 0:_e.allow_late),value:Ue.unified_late,onChange:pn=>{var Zn;if((0,dt.Rm)()&&!((Zn=Kt.AssistantObject.practice)!=null&&Zn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ue.unified_late=pn.target.value,ut==""&&!pn.target.value&&We([{penalty_type:vt.Q.Percent,late_penalty:20}]),nn(Ut({},Ue))}},(Ue==null?void 0:Ue.unified_setting)&&qe.createElement(ke.ZP,{value:!0,disabled:!(_e!=null&&_e.manage_all_group),style:{marginRight:"50px"}},"\u7EDF\u4E00\u8865\u4EA4"),((ue=_e==null?void 0:_e.group_settings)==null?void 0:ue.length)>0&&qe.createElement(ke.ZP,{value:!1},"\u5206\u73ED\u8865\u4EA4"))),Ue!=null&&Ue.unified_late?qe.createElement(qe.Fragment,null,qe.createElement(Oe.Z,{align:"middle",style:{marginTop:"10px"}},qe.createElement(xe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u6263\u5206"),qe.createElement(xe.Z,{className:"ml20"},qe.createElement(vt.Z,{disabled:zt||pi,value:{type:Ue.penalty_type,inputValue:Ue.late_penalty},onChange:pn=>{var Zn;if((0,dt.Rm)()&&!((Zn=Kt.AssistantObject.practice)!=null&&Zn.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}nn(un(Ut({},Ue),{late_penalty:pn.inputValue,penalty_type:pn.type}))}})),qe.createElement(xe.Z,{flex:"1",className:"ml5"},qe.createElement("span",{className:"c-grey-c ml10"},Ue.penalty_type===vt.Q.Number?"(\u8865\u4EA4\u65F6\u6309\u7167\u5B66\u751F\u603B\u6210\u7EE9\u6263\u5206)":"(\u5B66\u751F\u6700\u7EC8\u5F97\u5206=\u8865\u4EA4\u524D\u5F97\u5206+\u8865\u4EA4\u9636\u6BB5\u589E\u52A0\u7684\u5206\u503C*\uFF08100%-\u767E\u5206\u6BD4%\uFF09)"))),qe.createElement(Oe.Z,{align:"middle",style:{marginTop:"15px"}},qe.createElement(xe.Z,{style:{width:"110px",textAlign:"right"}},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),qe.createElement(xe.Z,{className:"ml20"},qe.createElement(He.default,{size:"large",allowClear:!1,style:{width:170},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",showTime:{format:"HH:mm",defaultValue:Te()((0,ht.U6)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:zt||pi,value:Ue.late_time?Te()(Ue.late_time):"",disabledDate:pn=>Ce(pn,_e==null?void 0:_e.course_end_date),onChange:(pn,Zn)=>{var rr;if((0,dt.Rm)()&&!((rr=Kt.AssistantObject.practice)!=null&&rr.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ue.late_time=Zn,nn(Object.assign({},Ue))}})))):ut.map(function(pn,Zn){var rr;return qe.createElement(xe.Z,{span:24,key:Zn},qe.createElement(Oe.Z,{style:{display:"flex",alignItems:"center",marginTop:"10px"}},qe.createElement("div",{style:{width:"85px",marginLeft:"27px",textAlign:"right"}},"\u8865\u4EA4\u89C4\u5219",Zn+1),qe.createElement(ze.default,{disabled:zt||!((rr=Ht==null?void 0:Ht.homework_status)!=null&&rr.includes("\u672A\u53D1\u5E03"))&&pn.id||(_e==null?void 0:_e.anonymous_comment),mode:"multiple",className:Vt.Z.multiple_select,style:{width:"212px",marginLeft:"18px"},value:typeof pn.group_name=="string"?[pn.group_name]:pn.group_name,placeholder:"\u8BF7\u9009\u62E9\u5206\u73ED\u540D\u79F0",onChange:ur=>{var nr;if((0,dt.Rm)()&&!((nr=Kt.AssistantObject.practice)!=null&&nr.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut[Zn].group_name=ur,ut[Zn].group_id=pn.group_id,We(ut.slice())}},_e.group_settings&&_e.group_settings.map(function(ur){const nr=ut.map(sr=>sr.group_name).flat(),fr=tn.map(sr=>sr.group_name).flat();if(Ue!=null&&Ue.unified_setting){if(!nr.includes(ur.group_name))return qe.createElement(Et,{value:ur.group_name,key:ur.id},ur.group_name)}else if(fr.includes(ur.group_name)&&!nr.includes(ur.group_name))return qe.createElement(Et,{value:ur.group_name,key:ur.id},ur.group_name)})),qe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u6263\u5206"),qe.createElement(vt.Z,{disabled:zt||Rr(pn.id),value:{type:pn.penalty_type,inputValue:pn.late_penalty},onChange:ur=>{var nr;if((0,dt.Rm)()&&!((nr=Kt.AssistantObject.practice)!=null&&nr.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut[Zn].late_penalty=ur.inputValue,ut[Zn].penalty_type=ur.type,We([...ut])}}),qe.createElement("div",{className:"ml20 mr10"},"\u8865\u4EA4\u622A\u6B62\u65F6\u95F4"),qe.createElement(He.default,{size:"large",disabled:zt||Rr(pn.id),style:{width:225},showTime:{format:"HH:mm",defaultValue:Te()((0,ht.U6)(),"HH:mm")},placeholder:"\u8BF7\u9009\u62E9\u622A\u6B62\u65F6\u95F4",disabledDate:ur=>Ce(ur,_e==null?void 0:_e.course_end_date),format:"YYYY-MM-DD HH:mm",value:pn!=null&&pn.late_time?Te()(pn.late_time):void 0,onChange:(ur,nr)=>{var fr;if((0,dt.Rm)()&&!((fr=Kt.AssistantObject.practice)!=null&&fr.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut[Zn].late_time=nr,We([...ut])}}),!zt&&qe.createElement("div",{style:{display:"flex",width:"50px"}},qe.createElement("i",{className:"iconfont icon-zengjia1 ml10 mr10",style:{cursor:"pointer",color:"#00B187"},onClick:()=>{var ur;if((0,dt.Rm)()&&!((ur=Kt.AssistantObject.practice)!=null&&ur.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}We(ut.concat({penalty_type:vt.Q.Percent,late_penalty:20}))}}),Zn>0&&!pn.id&&qe.createElement("i",{className:"iconfont icon-shanjian1",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{var ur;if((0,dt.Rm)()&&!((ur=Kt.AssistantObject.practice)!=null&&ur.can_late)){rt.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ut=ut.filter((nr,fr)=>Zn!==fr),We(ut.slice()),setTimeout(()=>We(ut.slice()),10)}}))))})),!zt&&qe.createElement(qe.Fragment,null,qe.createElement(yt.ZP,{type:"primary",size:"large",loading:In,style:{width:"138px",marginTop:"30px"},onClick:()=>dr()},"\u4FDD\u5B58")),qe.createElement(pe.Z,{onConfirm:(pn,Zn)=>{tn.splice(pn,0,...Zn),tn.splice(pn+Zn.length,1);const rr=(0,ht.QE)([...tn]);Gn([...rr])}}),qe.createElement($e.Z,{resdata:gn,type:"shixun",okloading:In,oktext:(gn==null?void 0:gn.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:pn=>jt(void 0,null,function*(){Mt(!0);let Zn=yield(0,ot.ZP)(`/api/courses/${Pe.coursesId}/batch_copy_shixuns.json`,{method:"post",body:{type:"homework_common",ids:[parseInt(Pe.categoryId)]}});Mt(!1),(Zn==null?void 0:Zn.status)===0&&gr(Un)})}))};mn.ZP=(0,st.connect)(({shixunHomeworks:tt,classroomList:At,loading:fn,user:Kt})=>({shixunHomeworks:tt,classroomList:At,loading:fn.effects,user:Kt}))(Ve)},25920:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return ft}});var ae=se(59301),He=se(90115),ze=se(5083),rt=se(43418),Se=se(92832),ke=se(95237),Oe=se(43604),xe={title_tooltip:"title_tooltip___LLdrn",multiple_select:"multiple_select___kDXUm",modal_con:"modal_con___ERnkW"},Ee=se(66649),Ze=se.n(Ee),yt=se(22566),Be=se(21692),Te=se(59301);const{RangePicker:dt}=ze.default,ot=({dispatch:lt,classroomList:ht,onConfirm:Vt})=>{const[st,vt]=(0,ae.useState)([]),[Ke,pe]=(0,ae.useState)([]),[$e,et]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var pt;if(ht.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206"){let at=ht.actionTabs.data;console.log("data",at);let Pt=(pt=at==null?void 0:at.group_name)==null?void 0:pt.map((it,Nt)=>{var rn;return{group_id:at==null?void 0:at.group_id[Nt],group_name:at==null?void 0:at.group_name[Nt],is_admin:at==null?void 0:at.is_admin,end_time:at==null?void 0:at.end_time,publish_time:Array.isArray(at==null?void 0:at.publish_time)?(rn=at==null?void 0:at.publish_time)==null?void 0:rn[0]:at==null?void 0:at.publish_time}});Pt&&(vt([...Pt]),pe([...Pt]))}},[ht.actionTabs]);const qe=()=>{lt({type:"classroomList/setActionTabs",payload:{}}),et("")},Ye=pt=>{if(pt){const at=Ke==null?void 0:Ke.filter(Pt=>{var it,Nt;return(Nt=(it=Pt==null?void 0:Pt.group_name)==null?void 0:it.toLowerCase())==null?void 0:Nt.includes(pt==null?void 0:pt.toLowerCase())});vt(at)}else vt(Ke)};return Te.createElement(rt.default,{width:980,title:Te.createElement("div",{style:{fontWeight:"bold",display:"flex"}},Te.createElement("div",null,"\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",Te.createElement("span",{className:xe.title_tooltip},"\uFF08\u5F53\u5206\u73ED\u53D1\u5E03\u65F6\u95F4\u548C\u622A\u6B62\u65F6\u95F4\u4E0D\u76F8\u540C\u65F6\u5019\uFF0C\u73ED\u7EA7\u81EA\u52A8\u62C6\u5206\u51FA\u53BB\u65B0\u8D77\u89C4\u5219\uFF09")),Te.createElement(Se.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22",style:{width:220,marginLeft:"60px"},value:$e,onChange:pt=>{et(pt.target.value.trim()),Ye(pt.target.value.trim())}})),centered:!0,maskClosable:!1,open:ht.actionTabs.key==="\u5206\u73ED\u53D1\u5E03-\u53D1\u5E03\u89C4\u5219\u62C6\u5206",onCancel:()=>qe(),onOk:()=>{var pt;Vt((pt=ht.actionTabs)==null?void 0:pt.index,Ke),qe()}},Te.createElement("div",{className:xe.modal_con},Te.createElement(ke.Z,{style:{display:"flex",color:"#666666",padding:"5px",marginTop:"1px"}},(st==null?void 0:st.length)>0?st.map(function(pt,at){var Pt,it;return Te.createElement(Oe.Z,{span:24,key:at},Te.createElement(ke.Z,{gutter:[8,16],style:{display:"flex",alignItems:"center",marginBottom:at==(st==null?void 0:st.length)-1?"0px":"10px"}},Te.createElement("div",{className:xe.multiple_select,title:pt.group_name},pt.group_name),Te.createElement("div",{className:"ml20"},Te.createElement(dt,{size:"large",ranges:{\u6B64\u523B:[pt.publish_time?Ze()(pt.publish_time):Ze()(),Ze()()]},allowClear:!1,disabled:(Pt=ht.actionTabs)==null?void 0:Pt.rangePickerDisabled,style:{width:600},placeholder:["\u53D1\u5E03\u65F6\u95F4\uFF08\u5B66\u751F\u6536\u5230\u4F5C\u4E1A\u65F6\u95F4\uFF09","\u622A\u6B62\u65F6\u95F4\uFF08\u5B66\u751F\u201C\u6309\u65F6\u201D\u63D0\u4EA4\u4F5C\u54C1\u65F6\u95F4\u622A\u70B9\uFF09"],disabledDate:Nt=>{var rn;return(0,yt.Q8)(Nt,(rn=ht.actionTabs)==null?void 0:rn.disabledDate)},disabledTime:Nt=>(0,yt.d0)(Nt),showTime:{showNow:!0,format:"HH:mm",defaultValue:[Ze()((0,yt.U6)(),"HH:mm"),Ze()((0,yt.U6)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",value:pt.publish_time&&[Ze()(pt.publish_time),pt.end_time?Ze()(pt.end_time):void 0],onChange:(Nt,rn)=>{st[at].publish_time=rn[0],st[at].end_time=rn[1],vt([...st]),Ke.forEach(Ut=>{Ut.group_id===pt.group_id&&(Ut.publish_time=rn[0],Ut.end_time=rn[1])}),pe([...Ke])}})),(it=ht.actionTabs)!=null&&it.rangePickerDisabled?Te.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{color:"#E30000",opacity:"0.2",cursor:"not-allowed"}}):Te.createElement("i",{className:"iconfont icon-shanjian1 ml15",style:{cursor:"pointer",color:"#E30000"},onClick:()=>{st.splice(at,1),vt([...st]),Ke.forEach((Nt,rn)=>{Nt.group_id===pt.group_id&&Ke.splice(rn,1)}),pe([...Ke])}})))}):Te.createElement(Be.Z,null))))};var ft=(0,He.connect)(({classroomList:lt})=>({classroomList:lt}))(ot)},79122:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return et}});var ae=se(59301),He=se(8591),ze=se(54580),rt=se(43418),Se=se(95237),ke=se(5083),Oe={flex_box_center:"flex_box_center___cQ5Sl",flex_space_between:"flex_space_between___BU1Wl",flex_box_vertical_center:"flex_box_vertical_center___jBfz4",flex_box_center_end:"flex_box_center_end___mFYce",flex_box_column:"flex_box_column___jBfuW",wrap:"wrap___npJKs",label:"label___mSlLf"},xe=se(11662),Ee=se(90115),Ze=se(14433),yt=se(64866),Be=se(22566),Te=se(98263),dt=se(66649),ot=se.n(dt),ft=se(1536),lt=Object.defineProperty,ht=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,vt=(qe,Ye,pt)=>Ye in qe?lt(qe,Ye,{enumerable:!0,configurable:!0,writable:!0,value:pt}):qe[Ye]=pt,Ke=(qe,Ye)=>{for(var pt in Ye||(Ye={}))Vt.call(Ye,pt)&&vt(qe,pt,Ye[pt]);if(ht)for(var pt of ht(Ye))st.call(Ye,pt)&&vt(qe,pt,Ye[pt]);return qe},pe=(qe,Ye,pt)=>new Promise((at,Pt)=>{var it=Ut=>{try{rn(pt.next(Ut))}catch(un){Pt(un)}},Nt=Ut=>{try{rn(pt.throw(Ut))}catch(un){Pt(un)}},rn=Ut=>Ut.done?at(Ut.value):Promise.resolve(Ut.value).then(it,Nt);rn((pt=pt.apply(qe,Ye)).next())}),et=({visible:qe,data:Ye,onClose:pt=()=>{},onSuccess:at=()=>{}})=>{const[Pt,it]=(0,ae.useState)([]),[Nt,rn]=(0,ae.useState)(""),[Ut,un]=(0,ae.useState)(""),[jt,Qe]=(0,ae.useState)(""),[Ce,nt]=(0,ae.useState)(!1),$t=(0,Ee.useParams)();(0,ae.useEffect)(()=>{var xt;qe&&(Qe((Ye==null?void 0:Ye.description)||""),rn((Ye==null?void 0:Ye.start_at)||""),un((Ye==null?void 0:Ye.end_at)||""),it(((xt=Ye==null?void 0:Ye.attachments)==null?void 0:xt.map(ve=>({name:ve.name||ve.title,status:"done",response:{id:ve.id}})))||[]))},[qe]);const Et={multiple:!0,withCredentials:!0,fileList:Pt,beforeUpload:xt=>xt.size/1024/1024>150?(He.ZP.error(`\u300A${xt.name}\u300B\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(150M)`),ze.default.LIST_IGNORE):!0,action:`${xe.Z.API_SERVER}/api/attachments.json`,onChange(xt){it((0,Be.uD)(xt))}},Ve=()=>pe(void 0,null,function*(){if(!Nt||!Ut){He.ZP.warning(`\u8BF7\u9009\u62E9${Kt}`);return}nt(!0),console.log(Pt,"fileList");const xt=yield(0,yt.ZP)(`/api/graduations/${$t.id}/graduation_stages/${Ye.id}.json`,{method:"put",body:{start_at:Nt,end_at:Ut,description:jt,attachment_ids:Pt.map(ve=>{var ce;return(ce=ve==null?void 0:ve.response)==null?void 0:ce.id})}});if((xt==null?void 0:xt.status)===0){He.ZP.success("\u4FDD\u5B58\u8BBE\u7F6E\u6210\u529F"),(0,Ee.getDvaApp)()._store.dispatch({type:"graduations/getGraduationsDetails",payload:{id:$t==null?void 0:$t.id}}),at();return}nt(!1)});console.log(Ye,"data");const tt=[{name:"\u5B66\u751F\u9009\u9898",key:"student_selection",timeName:"\u5B66\u751F\u9009\u9898\u8D77\u6B62\u65F6\u95F4",width:460,text:"\u5728\u6B64\u65F6\u95F4\u5185\uFF0C\u5B66\u751F\u53EF\u81EA\u52A9\u64CD\u4F5C\u9009\u9898\u548C\u66F4\u6539\u9009\u9898"},{name:"\u4EFB\u52A1\u4E66",key:"tasks",width:460,timeName:"\u4EFB\u52A1\u4E66\u8D77\u6B62\u65F6\u95F4",text:""},{name:"\u5F00\u9898\u62A5\u544A",key:"opening_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F00\u9898\u62A5\u544A\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u4E2D\u671F\u68C0\u67E5",key:"midterm_report",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u4E2D\u671F\u68C0\u67E5\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u8BBA\u6587",key:"thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u8BBA\u6587\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u6BD5\u4E1A\u7B54\u8FA9",key:"final_defense",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u6BD5\u4E1A\u7B54\u8FA9\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u8BBA\u6587\u5B9A\u7A3F",key:"final_thesis",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u8BBA\u6587\u5B9A\u7A3F\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"},{name:"\u5F52\u6863",key:"archives",width:1146,timeName:"\u5B66\u751F\u63D0\u4EA4\u5F52\u6863\u8D77\u6B62\u65F6\u95F4",text:"\u5728\u8BE5\u9636\u6BB5\u5185\u6216\u8005\u8001\u5E08\u8BC4\u9605\u901A\u8FC7\u4E4B\u524D\uFF0C\u5B66\u751F\u53EF\u4EE5\u81EA\u7531\u63D0\u4EA4\u6587\u6863\uFF0C\u4E00\u65E6\u8FC7\u4E86\u622A\u6B62\u65F6\u95F4\uFF0C\u5219\u9700\u8981\u7BA1\u7406\u5458\u6388\u6743\u8865\u4EA4"}],At=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"],fn=Pt.some(xt=>!(xt!=null&&xt.response)),{timeName:Kt,text:yn,width:kt,key:Bt}=(tt==null?void 0:tt.find(xt=>xt.key===(Ye==null?void 0:Ye.clazz)))||{};return ae.createElement(rt.default,{centered:!0,destroyOnClose:!0,confirmLoading:Ce,okButtonProps:{disabled:fn},onCancel:pt,onOk:Ve,open:qe,title:`${Ye.name}\u8BBE\u7F6E`,width:kt,afterClose:()=>{it([]),rn(""),Qe(""),un(""),nt(!1)},okText:"\u4FDD\u5B58\u8BBE\u7F6E",cancelText:"\u53D6\u6D88"},ae.createElement("div",{className:Oe.wrap},ae.createElement("div",{className:Oe.label},ae.createElement("span",null,"*"),Kt),ae.createElement(Se.Z,{align:"middle",className:At.includes(Bt)?"mb20":""},ae.createElement(ke.default,{format:"YYYY-MM-DD HH:mm",value:Nt?ot()(Nt):"",disabledDate:xt=>(0,ft.Q8)(xt,"",Ye==null?void 0:Ye.disabled_time),disabledTime:xt=>(0,ft.d0)(xt,Ye==null?void 0:Ye.disabled_time),showTime:{format:"HH:mm"},onChange:(xt,ve)=>{rn(ve)}}),ae.createElement("span",{className:"ml10 mr10"},"\u81F3"),ae.createElement(ke.default,{format:"YYYY-MM-DD HH:mm",value:Ut?ot()(Ut):"",disabledDate:xt=>(0,ft.Q8)(xt,"",Ye==null?void 0:Ye.disabled_time),disabledTime:xt=>(0,ft.d0)(xt,Ye==null?void 0:Ye.disabled_time),showTime:{format:"HH:mm"},onChange:(xt,ve)=>{un(ve)}}),ae.createElement("span",{className:`${Bt==="student_selection"?"mt10":"ml10"} font14`,style:{color:"#9096A3"}},yn)),At.includes(Bt)&&ae.createElement(ae.Fragment,null,ae.createElement("div",{className:Oe.label},"\u9636\u6BB5\u63CF\u8FF0"),ae.createElement(Te.Z,{height:140,defaultValue:jt,onChange:xt=>{Qe(xt)}}),ae.createElement(ze.default,Ke({},Et),ae.createElement(Se.Z,{align:"middle",className:"mt10"},ae.createElement(Ze.op,{style:{borderRadius:2}},ae.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6587\u6863"),ae.createElement("div",{className:"ml10 font14",style:{color:"#5F6367"},onClick:xt=>{xt.stopPropagation()}},"\u4E0A\u4F20\u6B64\u9636\u6BB5\u7684\u6587\u6863\u6A21\u7248\u3001\u6279\u9605\u8981\u6C42\u7B49\u6587\u6863\uFF0C\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u4E0D\u8D85\u8FC7150M"))))))}},91723:function(Cn,mn,se){"use strict";se.d(mn,{rX:function(){return vt},pW:function(){return Ke},gy:function(){return pe},xY:function(){return st},O5:function(){return Vt},tJ:function(){return dt},o1:function(){return ot},Rd:function(){return ht}});var ae=se(90115),He=se(43418),ze=se(28103),rt=se(8591),Se=se(16624),ke=se(22566),Oe=se(87169),xe=se(25510),Ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK9kQDLrkY8h5jxPEiNxs7TzHrdVAvYBnGAR+wYBOR7OPOb4B8DV6mn01RxBoW3O8YmjsXUGNU2t7/w2uPzHxtHHHq+aByofSnPtvu1Mxs/NN9q/WR9ptVq9VNqDYapV0upFhc/O1yR5enwIRI9DPiU6txrSHmNMBEIr9TxVCOO+Bt34JGIsSMfWlDgFH8hJeKH8UuKVCe8Naqn+Vq9MzMc/OcPHmn9yhjFoeeLwoEvmYb+yOnUPtdpfXertd1qbnXSTL2JoIziopUhPFlQdnJhWsgAKZGVR6EKQSwSZzgCptspoBEUP+Z5laMx5AYAgqBDgZ7AXYULIY8/cNmglucXZkeD7b/xYDoU6Kt4+woHfMkE+uNPnmukO1ca3T7aE5nbGiE0I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3/jr2yvv7myu3z3eeoo7/54gu1wqy1uBhdHyeOBqPyJhhao059VywoKJZTN/RcYGxBTPNTUCW0Vyf0rGjR1g8WNa/ow/a7IkZbh02shKusyCzmKUdMTr0hN3srzVRWlpS7PS11HT8EVJdVe06nd5b2Jq4CSgddRwbCd5GUt3YIzukjEqYazBu7NvmdiTIbdbLBzSIezzHnFva310//r4zv1XfmF+8I+vP3/ey4FOAlfrvHKFvlr2emq9BC4ngU5fcjnEHrqXwCxKoFfoWSyVnqepJdAr9NSi6xFnUQK9Qs9iqfQ8TS2BXqGnFl2POIsS6BV6Fkul52lqCfQKPbXoesRZlECv0LNYKj1PU0ugV+ipRdcjzqIEeoWexVLpeZpaAr1CTy26HnEWJdAr9CyWSs/T1BLoFXpq0fWIsyiBXqFnsVR6nqaWQK/QU4uuR5xFCfQKPYul0vM0tQR6hZ5adD3iLEqgV+hZLJWep6kl0Cv01KLrEWdRAr1Cz2Kp9DxNLYFeoacWXY84ixLoFXoWS6XnaWoJ9Ao9teh6xFmUwP8BvOeeqRbgzD0AAAAASUVORK5CYII=",Ze=se.p+"static/newqrcode.a8740efb.png",yt=se(32637),Be=se(59301),Te=($e,et,qe)=>new Promise((Ye,pt)=>{var at=Nt=>{try{it(qe.next(Nt))}catch(rn){pt(rn)}},Pt=Nt=>{try{it(qe.throw(Nt))}catch(rn){pt(rn)}},it=Nt=>Nt.done?Ye(Nt.value):Promise.resolve(Nt.value).then(at,Pt);it((qe=qe.apply($e,et)).next())});const dt=($e,et=!1)=>!!(ot($e)&&ft(et)),ot=$e=>(0,Se.bg)()?!0:($e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),ft=($e=!1)=>{var et;const{user:qe}=(0,ae.getDvaApp)()._store.getState();return(et=qe.userInfo)!=null&&et.profile_completed?!0:(He.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ke.xg)("/account/profile/edit"),lt()}}),!1)},lt=()=>{He.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},ht=()=>{He.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:Be.createElement("div",{style:{textAlign:"center"}},Be.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),Be.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:yt}),Be.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},Vt=()=>{var $e;const{user:et}=(0,ae.getDvaApp)()._store.getState();return($e=et.userInfo)!=null&&$e.professional_certification?!0:(He.default.confirm({title:"\u63D0\u793A",centered:!0,content:Be.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ke.xg)("/account/certification")}}),!1)},st=()=>(0,Se.V9)()?!0:(He.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),Be.createElement("img",{src:Ze,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),vt=($e,et)=>$e?!0:(He.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("p",null,et||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),Be.createElement("div",{style:{marginLeft:"110px"}},Be.createElement("img",{src:Ee,width:200}),Be.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ke.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),Ke=$e=>{He.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:Be.createElement("div",null,Be.createElement("div",null,Be.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),Be.createElement(ze.Z,null),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",Be.createElement("a",null,$e),"\u5929\u3002"),Be.createElement("p",{style:{color:"#666666",fontSize:12}}," ",Be.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),Be.createElement("div",{style:{textAlign:"center",marginTop:30}},Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:xe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},pe=($e,et="")=>{const{shixunsDetail:{detail:qe}}=(0,ae.getDvaApp)()._store.getState();if((qe==null?void 0:qe.public)===2||(qe==null?void 0:qe.public)===1||(qe==null?void 0:qe.shixun_status)===3){let Ye="";return(qe==null?void 0:qe.public)===2&&(Ye="\u5DF2\u516C\u5F00"),(qe==null?void 0:qe.public)===1&&(Ye="\u5F85\u5BA1\u6838"),(qe==null?void 0:qe.shixun_status)===3&&(Ye="\u5DF2\u5173\u95ED"),He.default.info({centered:!0,icon:Be.createElement(Oe.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:Be.createElement("div",{className:"tc",style:{marginLeft:-38}},Be.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ye,"\uFF0C",et,"\u3002"),Be.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),Be.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:xe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(qe==null?void 0:qe.shixun_status)===2?(He.default.confirm({centered:!0,icon:Be.createElement(Oe.Z,null),title:"\u63D0\u793A",content:Be.createElement("div",null,Be.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",et,"\u3002"),Be.createElement("br",null),Be.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{He.default.confirm({width:440,centered:!0,icon:Be.createElement(Oe.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Te(void 0,null,function*(){(yield $e({type:"shixunsDetail/cancelRelease",payload:{id:qe==null?void 0:qe.identifier}})).status!==401&&(rt.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),$e({type:"shixunsDetail/getShixunsDetail",payload:{id:qe==null?void 0:qe.identifier}}),$e({type:"practiceSetting/getCommonData",payload:{id:qe==null?void 0:qe.identifier}}))})})}}),!0):!1}},56762:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return He}});var ae=se(59301);function He(){const[,ze]=ae.useReducer(rt=>rt+1,0);return ze}},19080:function(Cn,mn,se){"use strict";se.d(mn,{F:function(){return Se},Z:function(){return rt}});var ae=se(92310),He=se.n(ae);const ze=null;function rt(ke,Oe,xe){return He()({[`${ke}-status-success`]:Oe==="success",[`${ke}-status-warning`]:Oe==="warning",[`${ke}-status-error`]:Oe==="error",[`${ke}-status-validating`]:Oe==="validating",[`${ke}-has-feedback`]:xe})}const Se=(ke,Oe)=>Oe||ke},24905:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return $e}});var ae=se(92310),He=se.n(ae),ze=se(5630),rt=se(59301),Se=se(36355),ke=se(1684),Oe=se(32441),Ee=rt.createContext(null),Ze=se(98447),yt=se(14088),Be=se(4572),Te=function(et,qe){var Ye={};for(var pt in et)Object.prototype.hasOwnProperty.call(et,pt)&&qe.indexOf(pt)<0&&(Ye[pt]=et[pt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,pt=Object.getOwnPropertySymbols(et);at<pt.length;at++)qe.indexOf(pt[at])<0&&Object.prototype.propertyIsEnumerable.call(et,pt[at])&&(Ye[pt[at]]=et[pt[at]]);return Ye};const dt=(et,qe)=>{var Ye;const{prefixCls:pt,className:at,rootClassName:Pt,children:it,indeterminate:Nt=!1,style:rn,onMouseEnter:Ut,onMouseLeave:un,skipGroup:jt=!1,disabled:Qe}=et,Ce=Te(et,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:nt,direction:$t,checkbox:Et}=rt.useContext(Se.E_),Ve=rt.useContext(Ee),{isFormItemInput:tt}=rt.useContext(Oe.aM),At=rt.useContext(ke.Z),fn=(Ye=(Ve==null?void 0:Ve.disabled)||Qe)!==null&&Ye!==void 0?Ye:At,Kt=rt.useRef(Ce.value);rt.useEffect(()=>{Ve==null||Ve.registerValue(Ce.value)},[]),rt.useEffect(()=>{if(!jt)return Ce.value!==Kt.current&&(Ve==null||Ve.cancelValue(Kt.current),Ve==null||Ve.registerValue(Ce.value),Kt.current=Ce.value),()=>Ve==null?void 0:Ve.cancelValue(Ce.value)},[Ce.value]);const yn=nt("checkbox",pt),[kt,Bt]=(0,Ze.ZP)(yn),xt=Object.assign({},Ce);Ve&&!jt&&(xt.onChange=function(){Ce.onChange&&Ce.onChange.apply(Ce,arguments),Ve.toggleOption&&Ve.toggleOption({label:it,value:Ce.value})},xt.name=Ve.name,xt.checked=Ve.value.includes(Ce.value));const ve=He()(`${yn}-wrapper`,{[`${yn}-rtl`]:$t==="rtl",[`${yn}-wrapper-checked`]:xt.checked,[`${yn}-wrapper-disabled`]:fn,[`${yn}-wrapper-in-form-item`]:tt},Et==null?void 0:Et.className,at,Pt,Bt),ce=He()({[`${yn}-indeterminate`]:Nt},Be.A,Bt),le=Nt?"mixed":void 0;return kt(rt.createElement(yt.Z,{component:"Checkbox",disabled:fn},rt.createElement("label",{className:ve,style:Object.assign(Object.assign({},Et==null?void 0:Et.style),rn),onMouseEnter:Ut,onMouseLeave:un},rt.createElement(ze.Z,Object.assign({"aria-checked":le},xt,{prefixCls:yn,className:ce,disabled:fn,ref:qe})),it!==void 0&&rt.createElement("span",null,it))))};var ft=rt.forwardRef(dt),lt=se(94480),ht=se(2738),Vt=function(et,qe){var Ye={};for(var pt in et)Object.prototype.hasOwnProperty.call(et,pt)&&qe.indexOf(pt)<0&&(Ye[pt]=et[pt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,pt=Object.getOwnPropertySymbols(et);at<pt.length;at++)qe.indexOf(pt[at])<0&&Object.prototype.propertyIsEnumerable.call(et,pt[at])&&(Ye[pt[at]]=et[pt[at]]);return Ye};const st=(et,qe)=>{const{defaultValue:Ye,children:pt,options:at=[],prefixCls:Pt,className:it,rootClassName:Nt,style:rn,onChange:Ut}=et,un=Vt(et,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:jt,direction:Qe}=rt.useContext(Se.E_),[Ce,nt]=rt.useState(un.value||Ye||[]),[$t,Et]=rt.useState([]);rt.useEffect(()=>{"value"in un&&nt(un.value||[])},[un.value]);const Ve=rt.useMemo(()=>at.map(fe=>typeof fe=="string"||typeof fe=="number"?{label:fe,value:fe}:fe),[at]),tt=fe=>{Et(he=>he.filter(ue=>ue!==fe))},At=fe=>{Et(he=>[].concat((0,lt.Z)(he),[fe]))},fn=fe=>{const he=Ce.indexOf(fe.value),ue=(0,lt.Z)(Ce);he===-1?ue.push(fe.value):ue.splice(he,1),"value"in un||nt(ue),Ut==null||Ut(ue.filter(Pe=>$t.includes(Pe)).sort((Pe,_e)=>{const Dt=Ve.findIndex(Ht=>Ht.value===Pe),Lt=Ve.findIndex(Ht=>Ht.value===_e);return Dt-Lt}))},Kt=jt("checkbox",Pt),yn=`${Kt}-group`,[kt,Bt]=(0,Ze.ZP)(Kt),xt=(0,ht.Z)(un,["value","disabled"]),ve=at.length?Ve.map(fe=>rt.createElement(ft,{prefixCls:Kt,key:fe.value.toString(),disabled:"disabled"in fe?fe.disabled:un.disabled,value:fe.value,checked:Ce.includes(fe.value),onChange:fe.onChange,className:`${yn}-item`,style:fe.style,title:fe.title},fe.label)):pt,ce={toggleOption:fn,value:Ce,disabled:un.disabled,name:un.name,registerValue:At,cancelValue:tt},le=He()(yn,{[`${yn}-rtl`]:Qe==="rtl"},it,Nt,Bt);return kt(rt.createElement("div",Object.assign({className:le,style:rn},xt,{ref:qe}),rt.createElement(Ee.Provider,{value:ce},ve)))},vt=rt.forwardRef(st);var Ke=rt.memo(vt);const pe=ft;pe.Group=Ke,pe.__ANT_CHECKBOX=!0;var $e=pe},98447:function(Cn,mn,se){"use strict";se.d(mn,{C2:function(){return Se}});var ae=se(17313),He=se(37613),ze=se(83116);const rt=ke=>{const{checkboxCls:Oe}=ke,xe=`${Oe}-wrapper`;return[{[`${Oe}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[xe]:Object.assign(Object.assign({},(0,ae.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${xe}`]:{marginInlineStart:0},[`&${xe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Oe]:Object.assign(Object.assign({},(0,ae.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${Oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Oe}-inner`]:Object.assign({},(0,ae.oN)(ke))},[`${Oe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
|
|
|
${xe}:not(${xe}-disabled),
|
|
|
${Oe}:not(${Oe}-disabled)
|
|
|
`]:{[`&:hover ${Oe}-inner`]:{borderColor:ke.colorPrimary}},[`${xe}:not(${xe}-disabled)`]:{[`&:hover ${Oe}-checked:not(${Oe}-disabled) ${Oe}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Oe}-checked:not(${Oe}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${Oe}-checked`]:{[`${Oe}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
|
|
|
${xe}-checked:not(${xe}-disabled),
|
|
|
${Oe}-checked:not(${Oe}-disabled)
|
|
|
`]:{[`&:hover ${Oe}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[Oe]:{"&-indeterminate":{[`${Oe}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${xe}-disabled`]:{cursor:"not-allowed"},[`${Oe}-disabled`]:{[`&, ${Oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Oe}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${Oe}-indeterminate ${Oe}-inner::after`]:{background:ke.colorTextDisabled}}}]};function Se(ke,Oe){const xe=(0,He.TS)(Oe,{checkboxCls:`.${ke}`,checkboxSize:Oe.controlInteractiveSize});return[rt(xe)]}mn.ZP=(0,ze.Z)("Checkbox",(ke,Oe)=>{let{prefixCls:xe}=Oe;return[Se(xe,ke)]})},93891:function(Cn,mn,se){"use strict";var ae=se(59301),He=se(36355),ze=se(64165);const rt=Se=>{const{componentName:ke}=Se,{getPrefixCls:Oe}=(0,ae.useContext)(He.E_),xe=Oe("empty");switch(ke){case"Table":case"List":return ae.createElement(ze.Z,{image:ze.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ae.createElement(ze.Z,{image:ze.Z.PRESENTED_IMAGE_SIMPLE,className:`${xe}-small`});default:return ae.createElement(ze.Z,null)}};mn.Z=rt},5083:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return fl}});var ae=se(66649),He=se.n(ae),ze=se(48736),rt=se(9007),Se=se.n(rt),ke=se(50991),Oe=se.n(ke),xe=se(9084),Ee=se.n(xe),Ze=se(58626),yt=se.n(Ze),Be=se(13477),Te=se.n(Be),dt=se(64796),ot=se.n(dt);He().extend(ot()),He().extend(Te()),He().extend(Se()),He().extend(Oe()),He().extend(Ee()),He().extend(yt()),He().extend(function(ye,Ae){var Le=Ae.prototype,gt=Le.format;Le.format=function(vn){var sn=(vn||"").replace("Wo","wo");return gt.bind(this)(sn)}});var ft={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},lt=function(Ae){var Le=ft[Ae];return Le||Ae.split("_")[0]},ht=function(){(0,ze.ET)(!1,"Not match any format. Please help to fire a issue about this.")},Vt={getNow:function(){return He()()},getFixedDate:function(Ae){return He()(Ae,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Ae){return Ae.endOf("month")},getWeekDay:function(Ae){var Le=Ae.locale("en");return Le.weekday()+Le.localeData().firstDayOfWeek()},getYear:function(Ae){return Ae.year()},getMonth:function(Ae){return Ae.month()},getDate:function(Ae){return Ae.date()},getHour:function(Ae){return Ae.hour()},getMinute:function(Ae){return Ae.minute()},getSecond:function(Ae){return Ae.second()},addYear:function(Ae,Le){return Ae.add(Le,"year")},addMonth:function(Ae,Le){return Ae.add(Le,"month")},addDate:function(Ae,Le){return Ae.add(Le,"day")},setYear:function(Ae,Le){return Ae.year(Le)},setMonth:function(Ae,Le){return Ae.month(Le)},setDate:function(Ae,Le){return Ae.date(Le)},setHour:function(Ae,Le){return Ae.hour(Le)},setMinute:function(Ae,Le){return Ae.minute(Le)},setSecond:function(Ae,Le){return Ae.second(Le)},isAfter:function(Ae,Le){return Ae.isAfter(Le)},isValidate:function(Ae){return Ae.isValid()},locale:{getWeekFirstDay:function(Ae){return He()().locale(lt(Ae)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Ae,Le){return Le.locale(lt(Ae)).weekday(0)},getWeek:function(Ae,Le){return Le.locale(lt(Ae)).week()},getShortWeekDays:function(Ae){return He()().locale(lt(Ae)).localeData().weekdaysMin()},getShortMonths:function(Ae){return He()().locale(lt(Ae)).localeData().monthsShort()},format:function(Ae,Le,gt){return Le.locale(lt(Ae)).format(gt)},parse:function(Ae,Le,gt){for(var bt=lt(Ae),vn=0;vn<gt.length;vn+=1){var sn=gt[vn],Nn=Le;if(sn.includes("wo")||sn.includes("Wo")){for(var Tn=Nn.split("-")[0],Qn=Nn.split("-")[1],zr=He()(Tn,"YYYY").startOf("year").locale(bt),$n=0;$n<=52;$n+=1){var er=zr.add($n,"week");if(er.format("Wo")===Qn)return er}return ht(),null}var mr=He()(Nn,sn,!0).locale(bt);if(mr.isValid())return mr}return Le&&ht(),null}}},st=Vt,vt=se(53487),Ke=se(54476),pe=se(59301),$e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},et=$e,qe=se(7657),Ye=function(Ae,Le){return pe.createElement(qe.Z,(0,Ke.Z)({},Ae,{ref:Le,icon:et}))},pt=pe.forwardRef(Ye),at=pt,Pt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},it=Pt,Nt=function(Ae,Le){return pe.createElement(qe.Z,(0,Ke.Z)({},Ae,{ref:Le,icon:it}))},rn=pe.forwardRef(Nt),Ut=rn,un=se(19248),jt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Qe=jt,Ce=function(Ae,Le){return pe.createElement(qe.Z,(0,Ke.Z)({},Ae,{ref:Le,icon:Qe}))},nt=pe.forwardRef(Ce),$t=nt,Et=se(92310),Ve=se.n(Et),tt=se(67732),At=se(83652),fn=se(31226),Kt=se(42403),yn=se(158),kt=se(20068),Bt=se(33885),xt=se(42978),ve=se(18929),ce=se(26112),le=se(80547),fe=se(13697),he=10,ue=he*10,Pe=7;function _e(ye,Ae){if(!ye&&!Ae)return!0;if(!ye||!Ae)return!1}function Dt(ye,Ae,Le){var gt=_e(Ae,Le);if(typeof gt=="boolean")return gt;var bt=Math.floor(ye.getYear(Ae)/10),vn=Math.floor(ye.getYear(Le)/10);return bt===vn}function Lt(ye,Ae,Le){var gt=_e(Ae,Le);return typeof gt=="boolean"?gt:ye.getYear(Ae)===ye.getYear(Le)}function Ht(ye,Ae){var Le=Math.floor(ye.getMonth(Ae)/3);return Le+1}function Qt(ye,Ae,Le){var gt=_e(Ae,Le);return typeof gt=="boolean"?gt:Lt(ye,Ae,Le)&&Ht(ye,Ae)===Ht(ye,Le)}function zt(ye,Ae,Le){var gt=_e(Ae,Le);return typeof gt=="boolean"?gt:Lt(ye,Ae,Le)&&ye.getMonth(Ae)===ye.getMonth(Le)}function bn(ye,Ae,Le){var gt=_e(Ae,Le);return typeof gt=="boolean"?gt:ye.getYear(Ae)===ye.getYear(Le)&&ye.getMonth(Ae)===ye.getMonth(Le)&&ye.getDate(Ae)===ye.getDate(Le)}function In(ye,Ae,Le){var gt=_e(Ae,Le);return typeof gt=="boolean"?gt:ye.getHour(Ae)===ye.getHour(Le)&&ye.getMinute(Ae)===ye.getMinute(Le)&&ye.getSecond(Ae)===ye.getSecond(Le)}function Mt(ye,Ae,Le,gt){var bt=_e(Le,gt);return typeof bt=="boolean"?bt:Lt(ye,Le,gt)&&ye.locale.getWeek(Ae,Le)===ye.locale.getWeek(Ae,gt)}function tn(ye,Ae,Le){return bn(ye,Ae,Le)&&In(ye,Ae,Le)}function Gn(ye,Ae,Le,gt){return!Ae||!Le||!gt?!1:!bn(ye,Ae,gt)&&!bn(ye,Le,gt)&&ye.isAfter(gt,Ae)&&ye.isAfter(Le,gt)}function ut(ye,Ae,Le){var gt=Ae.locale.getWeekFirstDay(ye),bt=Ae.setDate(Le,1),vn=Ae.getWeekDay(bt),sn=Ae.addDate(bt,gt-vn);return Ae.getMonth(sn)===Ae.getMonth(Le)&&Ae.getDate(sn)>1&&(sn=Ae.addDate(sn,-7)),sn}function We(ye,Ae,Le){var gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Ae){case"year":return Le.addYear(ye,gt*10);case"quarter":case"month":return Le.addYear(ye,gt);default:return Le.addMonth(ye,gt)}}function Ue(ye,Ae){var Le=Ae.generateConfig,gt=Ae.locale,bt=Ae.format;return typeof bt=="function"?bt(ye):Le.locale.format(gt.locale,ye,bt)}function nn(ye,Ae){var Le=Ae.generateConfig,gt=Ae.locale,bt=Ae.formatList;return!ye||typeof bt[0]=="function"?null:Le.locale.parse(gt.locale,ye,bt)}function gn(ye){var Ae=ye.cellDate,Le=ye.mode,gt=ye.disabledDate,bt=ye.generateConfig;if(!gt)return!1;var vn=function(yr,kn,Jn){for(var vr=kn;vr<=Jn;){var bi=void 0;switch(yr){case"date":{if(bi=bt.setDate(Ae,vr),!gt(bi))return!1;break}case"month":{if(bi=bt.setMonth(Ae,vr),!gn({cellDate:bi,mode:"month",generateConfig:bt,disabledDate:gt}))return!1;break}case"year":{if(bi=bt.setYear(Ae,vr),!gn({cellDate:bi,mode:"year",generateConfig:bt,disabledDate:gt}))return!1;break}}vr+=1}return!0};switch(Le){case"date":case"week":return gt(Ae);case"month":{var sn=1,Nn=bt.getDate(bt.getEndDate(Ae));return vn("date",sn,Nn)}case"quarter":{var Tn=Math.floor(bt.getMonth(Ae)/3)*3,Qn=Tn+2;return vn("month",Tn,Qn)}case"year":return vn("month",0,11);case"decade":{var zr=bt.getYear(Ae),$n=Math.floor(zr/he)*he,er=$n+he-1;return vn("year",$n,er)}}}function xn(ye,Ae){var Le=Ae.formatList,gt=Ae.generateConfig,bt=Ae.locale;return(0,le.Z)(function(){if(!ye)return[[""],""];for(var vn="",sn=[],Nn=0;Nn<Le.length;Nn+=1){var Tn=Le[Nn],Qn=Ue(ye,{generateConfig:gt,locale:bt,format:Tn});sn.push(Qn),Nn===0&&(vn=Qn)}return[sn,vn]},[ye,Le,bt],function(vn,sn){return!tn(gt,vn[0],sn[0])||!(0,fe.Z)(vn[1],sn[1],!0)||!(0,fe.Z)(vn[2],sn[2],!0)})}function Un(ye,Ae){var Le=Ae.formatList,gt=Ae.generateConfig,bt=Ae.locale,vn=(0,pe.useState)(null),sn=(0,xt.Z)(vn,2),Nn=sn[0],Tn=sn[1],Qn=(0,pe.useRef)(null);function zr(Jn){var vr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(Qn.current),vr){Tn(Jn);return}Qn.current=requestAnimationFrame(function(){Tn(Jn)})}var $n=xn(Nn,{formatList:Le,generateConfig:gt,locale:bt}),er=(0,xt.Z)($n,2),mr=er[1];function yr(Jn){zr(Jn)}function kn(){var Jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;zr(null,Jn)}return(0,pe.useEffect)(function(){kn(!0)},[ye]),(0,pe.useEffect)(function(){return function(){return cancelAnimationFrame(Qn.current)}},[]),[mr,yr,kn]}var Pn=se(10228),Vn=se(16089),dr=se(94480),gr=se(29194),_n=new Map;function wr(ye,Ae){var Le;function gt(){(0,gr.Z)(ye)?Ae():Le=(0,Vn.Z)(function(){gt()})}return gt(),function(){Vn.Z.cancel(Le)}}function Jr(ye,Ae,Le){if(_n.get(ye)&&cancelAnimationFrame(_n.get(ye)),Le<=0){_n.set(ye,requestAnimationFrame(function(){ye.scrollTop=Ae}));return}var gt=Ae-ye.scrollTop,bt=gt/Le*10;_n.set(ye,requestAnimationFrame(function(){ye.scrollTop+=bt,ye.scrollTop!==Ae&&Jr(ye,Ae,Le-10)}))}function pr(ye,Ae){var Le=Ae.onLeftRight,gt=Ae.onCtrlLeftRight,bt=Ae.onUpDown,vn=Ae.onPageUpDown,sn=Ae.onEnter,Nn=ye.which,Tn=ye.ctrlKey,Qn=ye.metaKey;switch(Nn){case Pn.Z.LEFT:if(Tn||Qn){if(gt)return gt(-1),!0}else if(Le)return Le(-1),!0;break;case Pn.Z.RIGHT:if(Tn||Qn){if(gt)return gt(1),!0}else if(Le)return Le(1),!0;break;case Pn.Z.UP:if(bt)return bt(-1),!0;break;case Pn.Z.DOWN:if(bt)return bt(1),!0;break;case Pn.Z.PAGE_UP:if(vn)return vn(-1),!0;break;case Pn.Z.PAGE_DOWN:if(vn)return vn(1),!0;break;case Pn.Z.ENTER:if(sn)return sn(),!0;break}return!1}function pi(ye,Ae,Le,gt){var bt=ye;if(!bt)switch(Ae){case"time":bt=gt?"hh:mm:ss a":"HH:mm:ss";break;case"week":bt="gggg-wo";break;case"month":bt="YYYY-MM";break;case"quarter":bt="YYYY-[Q]Q";break;case"year":bt="YYYY";break;default:bt=Le?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return bt}function Rr(ye,Ae,Le){var gt=ye==="time"?8:10,bt=typeof Ae=="function"?Ae(Le.getNow()).length:Ae.length;return Math.max(gt,bt)+2}var Qr=null,pn=new Set;function Zn(ye){return!Qr&&typeof window!="undefined"&&window.addEventListener&&(Qr=function(Le){(0,dr.Z)(pn).forEach(function(gt){gt(Le)})},window.addEventListener("mousedown",Qr)),pn.add(ye),function(){pn.delete(ye),pn.size===0&&(window.removeEventListener("mousedown",Qr),Qr=null)}}function rr(ye){var Ae=ye.target;if(ye.composed&&Ae.shadowRoot){var Le;return((Le=ye.composedPath)===null||Le===void 0?void 0:Le.call(ye)[0])||Ae}return Ae}var ur=function(Ae){return Ae==="month"||Ae==="date"?"year":Ae},nr=function(Ae){return Ae==="date"?"month":Ae},fr=function(Ae){return Ae==="month"||Ae==="date"?"quarter":Ae},sr=function(Ae){return Ae==="date"?"week":Ae},Br={year:ur,month:nr,quarter:fr,week:sr,time:null,date:null};function ir(ye,Ae){return ye.some(function(Le){return Le&&Le.contains(Ae)})}function Bn(ye){var Ae=ye.open,Le=ye.value,gt=ye.isClickOutside,bt=ye.triggerOpen,vn=ye.forwardKeyDown,sn=ye.onKeyDown,Nn=ye.blurToCancel,Tn=ye.onSubmit,Qn=ye.onCancel,zr=ye.onFocus,$n=ye.onBlur,er=ye.changeOnBlur,mr=(0,pe.useState)(!1),yr=(0,xt.Z)(mr,2),kn=yr[0],Jn=yr[1],vr=(0,pe.useState)(!1),bi=(0,xt.Z)(vr,2),ri=bi[0],vi=bi[1],xi=(0,pe.useRef)(!1),mi=(0,pe.useRef)(!1),ai=(0,pe.useRef)(!1),ta={onMouseDown:function(){Jn(!0),bt(!0)},onKeyDown:function(ea){var Ca=function(){ai.current=!0};if(sn(ea,Ca),!ai.current){switch(ea.which){case Pn.Z.ENTER:{Ae?Tn()!==!1&&Jn(!0):bt(!0),ea.preventDefault();return}case Pn.Z.TAB:{kn&&Ae&&!ea.shiftKey?(Jn(!1),ea.preventDefault()):!kn&&Ae&&!vn(ea)&&ea.shiftKey&&(Jn(!0),ea.preventDefault());return}case Pn.Z.ESC:{Jn(!0),Qn();return}}!Ae&&![Pn.Z.SHIFT].includes(ea.which)?bt(!0):kn||vn(ea)}},onFocus:function(ea){Jn(!0),vi(!0),zr&&zr(ea)},onBlur:function(ea){if(xi.current||!gt(document.activeElement)){xi.current=!1;return}Nn?setTimeout(function(){for(var Ca=document,Ba=Ca.activeElement;Ba&&Ba.shadowRoot;)Ba=Ba.shadowRoot.activeElement;gt(Ba)&&Qn()},0):Ae&&(bt(!1),mi.current&&Tn()),vi(!1),$n==null||$n(ea)}};return(0,pe.useEffect)(function(){mi.current=!1},[Ae]),(0,pe.useEffect)(function(){mi.current=!0},[Le]),(0,pe.useEffect)(function(){return Zn(function(Zi){var ea=rr(Zi),Ca=gt(ea);Ae&&(Ca?!er&&(!ri||Ca)&&bt(!1):(xi.current=!0,(0,Vn.Z)(function(){xi.current=!1})))})}),[ta,{focused:ri,typing:kn}]}function Cr(ye,Ae){return pe.useMemo(function(){return ye||(Ae?((0,ze.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Ae).map(function(Le){var gt=(0,xt.Z)(Le,2),bt=gt[0],vn=gt[1];return{label:bt,value:vn}})):[])},[ye,Ae])}var wt=se(34280);function Fe(ye){var Ae=ye.valueTexts,Le=ye.onTextChange,gt=pe.useState(""),bt=(0,xt.Z)(gt,2),vn=bt[0],sn=bt[1],Nn=pe.useRef([]);Nn.current=Ae;function Tn(zr){sn(zr),Le(zr)}function Qn(){sn(Nn.current[0])}return(0,wt.Z)(function(){Ae.every(function(zr){return zr!==vn})&&Qn()},[Ae.join("||")]),[vn,Tn,Qn]}var je=pe.createContext({}),Re=je,Ne=se(76190);function ct(ye){var Ae=ye.cellRender,Le=ye.monthCellRender,gt=ye.dateRender,bt=pe.useMemo(function(){if(Ae)return Ae;if(!(!Le&&!gt))return function(vn,sn){var Nn=vn;return gt&&sn.type==="date"?gt(Nn,sn.today):Le&&sn.type==="month"?Le(Nn,sn.locale):sn.originNode}},[Ae,Le,gt]);return bt}function St(ye,Ae){for(var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",gt=String(ye);gt.length<Ae;)gt="".concat(Le).concat(ye);return gt}var an=function(){for(var Ae=arguments.length,Le=new Array(Ae),gt=0;gt<Ae;gt++)Le[gt]=arguments[gt];return Le};function Gt(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function Zt(ye,Ae){return ye?ye[Ae]:null}function Dn(ye,Ae,Le){var gt=[Zt(ye,0),Zt(ye,1)];return gt[Le]=typeof Ae=="function"?Ae(gt[Le]):Ae,!gt[0]&&!gt[1]?null:gt}function Hn(ye){return typeof ye=="function"?ye():ye}function jn(ye){var Ae=ye.cellPrefixCls,Le=ye.generateConfig,gt=ye.rangedValue,bt=ye.hoverRangedValue,vn=ye.isInView,sn=ye.isSameCell,Nn=ye.offsetCell,Tn=ye.today,Qn=ye.value;function zr($n){var er,mr=Nn($n,-1),yr=Nn($n,1),kn=Zt(gt,0),Jn=Zt(gt,1),vr=Zt(bt,0),bi=Zt(bt,1),ri=Gn(Le,vr,bi,$n);function vi(ea){return sn(kn,ea)}function xi(ea){return sn(Jn,ea)}var mi=sn(vr,$n),ai=sn(bi,$n),ta=(ri||ai)&&(!vn(mr)||xi(mr)),Zi=(ri||mi)&&(!vn(yr)||vi(yr));return er={},(0,kt.Z)(er,"".concat(Ae,"-in-view"),vn($n)),(0,kt.Z)(er,"".concat(Ae,"-in-range"),Gn(Le,kn,Jn,$n)),(0,kt.Z)(er,"".concat(Ae,"-range-start"),vi($n)),(0,kt.Z)(er,"".concat(Ae,"-range-end"),xi($n)),(0,kt.Z)(er,"".concat(Ae,"-range-start-single"),vi($n)&&!Jn),(0,kt.Z)(er,"".concat(Ae,"-range-end-single"),xi($n)&&!kn),(0,kt.Z)(er,"".concat(Ae,"-range-start-near-hover"),vi($n)&&(sn(mr,vr)||Gn(Le,vr,bi,mr))),(0,kt.Z)(er,"".concat(Ae,"-range-end-near-hover"),xi($n)&&(sn(yr,bi)||Gn(Le,vr,bi,yr))),(0,kt.Z)(er,"".concat(Ae,"-range-hover"),ri),(0,kt.Z)(er,"".concat(Ae,"-range-hover-start"),mi),(0,kt.Z)(er,"".concat(Ae,"-range-hover-end"),ai),(0,kt.Z)(er,"".concat(Ae,"-range-hover-edge-start"),ta),(0,kt.Z)(er,"".concat(Ae,"-range-hover-edge-end"),Zi),(0,kt.Z)(er,"".concat(Ae,"-range-hover-edge-start-near-range"),ta&&sn(mr,Jn)),(0,kt.Z)(er,"".concat(Ae,"-range-hover-edge-end-near-range"),Zi&&sn(yr,kn)),(0,kt.Z)(er,"".concat(Ae,"-today"),sn(Tn,$n)),(0,kt.Z)(er,"".concat(Ae,"-selected"),sn(Qn,$n)),er}return zr}var qt=pe.createContext({}),Sn=qt;function Ct(ye,Ae,Le,gt,bt){var vn=ye.setHour(Ae,Le);return vn=ye.setMinute(vn,gt),vn=ye.setSecond(vn,bt),vn}function Rt(ye,Ae,Le){if(!Le)return Ae;var gt=Ae;return gt=ye.setHour(gt,ye.getHour(Le)),gt=ye.setMinute(gt,ye.getMinute(Le)),gt=ye.setSecond(gt,ye.getSecond(Le)),gt}function Xt(ye,Ae,Le,gt,bt,vn){var sn=Math.floor(ye/gt)*gt;if(sn<ye)return[sn,60-bt,60-vn];var Nn=Math.floor(Ae/bt)*bt;if(Nn<Ae)return[sn,Nn,60-vn];var Tn=Math.floor(Le/vn)*vn;return[sn,Nn,Tn]}function en(ye,Ae){var Le=ye.getYear(Ae),gt=ye.getMonth(Ae)+1,bt=ye.getEndDate(ye.getFixedDate("".concat(Le,"-").concat(gt,"-01"))),vn=ye.getDate(bt),sn=gt<10?"0".concat(gt):"".concat(gt);return"".concat(Le,"-").concat(sn,"-").concat(vn)}function En(ye){for(var Ae=ye.prefixCls,Le=ye.disabledDate,gt=ye.onSelect,bt=ye.picker,vn=ye.rowNum,sn=ye.colNum,Nn=ye.prefixColumn,Tn=ye.rowClassName,Qn=ye.baseDate,zr=ye.getCellClassName,$n=ye.getCellText,er=ye.getCellNode,mr=ye.getCellDate,yr=ye.generateConfig,kn=ye.titleCell,Jn=ye.headerCells,vr=pe.useContext(Re),bi=vr.onDateMouseEnter,ri=vr.onDateMouseLeave,vi=vr.mode,xi="".concat(Ae,"-cell"),mi=[],ai=0;ai<vn;ai+=1){for(var ta=[],Zi=void 0,ea=function(){var Fa,Va=ai*sn+Ca,oa=mr(Qn,Va),sa=gn({cellDate:oa,mode:vi,disabledDate:Le,generateConfig:yr});Ca===0&&(Zi=oa,Nn&&ta.push(Nn(Zi)));var ba=kn&&kn(oa),Wa=pe.createElement("div",{className:"".concat(xi,"-inner")},$n(oa));ta.push(pe.createElement("td",{key:Ca,title:ba,className:Ve()(xi,(0,Bt.Z)((Fa={},(0,kt.Z)(Fa,"".concat(xi,"-disabled"),sa),(0,kt.Z)(Fa,"".concat(xi,"-start"),$n(oa)===1||bt==="year"&&Number(ba)%10===0),(0,kt.Z)(Fa,"".concat(xi,"-end"),ba===en(yr,oa)||bt==="year"&&Number(ba)%10===9),Fa),zr(oa))),onClick:function(){sa||gt(oa)},onMouseEnter:function(){!sa&&bi&&bi(oa)},onMouseLeave:function(){!sa&&ri&&ri(oa)}},er?er(oa,Wa):Wa))},Ca=0;Ca<sn;Ca+=1)ea();mi.push(pe.createElement("tr",{key:ai,className:Tn&&Tn(Zi)},ta))}return pe.createElement("div",{className:"".concat(Ae,"-body")},pe.createElement("table",{className:"".concat(Ae,"-content")},Jn&&pe.createElement("thead",null,pe.createElement("tr",null,Jn)),pe.createElement("tbody",null,mi)))}function Wt(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.prefixColumn,bt=ye.locale,vn=ye.rowCount,sn=ye.viewDate,Nn=ye.value,Tn=ye.cellRender,Qn=ye.isSameCell,zr=pe.useContext(Sn),$n=zr.rangedValue,er=zr.hoverRangedValue,mr=ut(bt.locale,Le,sn),yr="".concat(Ae,"-cell"),kn=Le.locale.getWeekFirstDay(bt.locale),Jn=Le.getNow(),vr=[],bi=bt.shortWeekDays||(Le.locale.getShortWeekDays?Le.locale.getShortWeekDays(bt.locale):[]);gt&&vr.push(pe.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var ri=0;ri<Pe;ri+=1)vr.push(pe.createElement("th",{key:ri},bi[(ri+kn)%Pe]));var vi=jn({cellPrefixCls:yr,today:Jn,value:Nn,generateConfig:Le,rangedValue:gt?null:$n,hoverRangedValue:gt?null:er,isSameCell:Qn||function(mi,ai){return bn(Le,mi,ai)},isInView:function(ai){return zt(Le,ai,sn)},offsetCell:function(ai,ta){return Le.addDate(ai,ta)}}),xi=Tn?function(mi,ai){return Tn(mi,{originNode:ai,today:Jn,type:"date",locale:bt})}:void 0;return pe.createElement(En,(0,Ke.Z)({},ye,{rowNum:vn,colNum:Pe,baseDate:mr,getCellNode:xi,getCellText:Le.getDate,getCellClassName:vi,getCellDate:Le.addDate,titleCell:function(ai){return Ue(ai,{locale:bt,format:"YYYY-MM-DD",generateConfig:Le})},headerCells:vr}))}var An=Wt,Ge={visibility:"hidden"};function Tt(ye){var Ae=ye.prefixCls,Le=ye.prevIcon,gt=Le===void 0?"\u2039":Le,bt=ye.nextIcon,vn=bt===void 0?"\u203A":bt,sn=ye.superPrevIcon,Nn=sn===void 0?"\xAB":sn,Tn=ye.superNextIcon,Qn=Tn===void 0?"\xBB":Tn,zr=ye.onSuperPrev,$n=ye.onSuperNext,er=ye.onPrev,mr=ye.onNext,yr=ye.children,kn=pe.useContext(Re),Jn=kn.hideNextBtn,vr=kn.hidePrevBtn;return pe.createElement("div",{className:Ae},zr&&pe.createElement("button",{type:"button",onClick:zr,tabIndex:-1,className:"".concat(Ae,"-super-prev-btn"),style:vr?Ge:{}},Nn),er&&pe.createElement("button",{type:"button",onClick:er,tabIndex:-1,className:"".concat(Ae,"-prev-btn"),style:vr?Ge:{}},gt),pe.createElement("div",{className:"".concat(Ae,"-view")},yr),mr&&pe.createElement("button",{type:"button",onClick:mr,tabIndex:-1,className:"".concat(Ae,"-next-btn"),style:Jn?Ge:{}},vn),$n&&pe.createElement("button",{type:"button",onClick:$n,tabIndex:-1,className:"".concat(Ae,"-super-next-btn"),style:Jn?Ge:{}},Qn))}var Ot=Tt;function ln(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.locale,bt=ye.viewDate,vn=ye.onNextMonth,sn=ye.onPrevMonth,Nn=ye.onNextYear,Tn=ye.onPrevYear,Qn=ye.onYearClick,zr=ye.onMonthClick,$n=pe.useContext(Re),er=$n.hideHeader;if(er)return null;var mr="".concat(Ae,"-header"),yr=gt.shortMonths||(Le.locale.getShortMonths?Le.locale.getShortMonths(gt.locale):[]),kn=Le.getMonth(bt),Jn=pe.createElement("button",{type:"button",key:"year",onClick:Qn,tabIndex:-1,className:"".concat(Ae,"-year-btn")},Ue(bt,{locale:gt,format:gt.yearFormat,generateConfig:Le})),vr=pe.createElement("button",{type:"button",key:"month",onClick:zr,tabIndex:-1,className:"".concat(Ae,"-month-btn")},gt.monthFormat?Ue(bt,{locale:gt,format:gt.monthFormat,generateConfig:Le}):yr[kn]),bi=gt.monthBeforeYear?[vr,Jn]:[Jn,vr];return pe.createElement(Ot,(0,Ke.Z)({},ye,{prefixCls:mr,onSuperPrev:Tn,onPrev:sn,onNext:vn,onSuperNext:Nn}),bi)}var Jt=ln,dn=6;function cn(ye){var Ae=ye.prefixCls,Le=ye.panelName,gt=Le===void 0?"date":Le,bt=ye.keyboardConfig,vn=ye.active,sn=ye.operationRef,Nn=ye.generateConfig,Tn=ye.value,Qn=ye.viewDate,zr=ye.onViewDateChange,$n=ye.onPanelChange,er=ye.onSelect,mr="".concat(Ae,"-").concat(gt,"-panel");sn.current={onKeyDown:function(vr){return pr(vr,(0,Bt.Z)({onLeftRight:function(ri){er(Nn.addDate(Tn||Qn,ri),"key")},onCtrlLeftRight:function(ri){er(Nn.addYear(Tn||Qn,ri),"key")},onUpDown:function(ri){er(Nn.addDate(Tn||Qn,ri*Pe),"key")},onPageUpDown:function(ri){er(Nn.addMonth(Tn||Qn,ri),"key")}},bt))}};var yr=function(vr){var bi=Nn.addYear(Qn,vr);zr(bi),$n(null,bi)},kn=function(vr){var bi=Nn.addMonth(Qn,vr);zr(bi),$n(null,bi)};return pe.createElement("div",{className:Ve()(mr,(0,kt.Z)({},"".concat(mr,"-active"),vn))},pe.createElement(Jt,(0,Ke.Z)({},ye,{prefixCls:Ae,value:Tn,viewDate:Qn,onPrevYear:function(){yr(-1)},onNextYear:function(){yr(1)},onPrevMonth:function(){kn(-1)},onNextMonth:function(){kn(1)},onMonthClick:function(){$n("month",Qn)},onYearClick:function(){$n("year",Qn)}})),pe.createElement(An,(0,Ke.Z)({},ye,{onSelect:function(vr){return er(vr,"mouse")},prefixCls:Ae,value:Tn,viewDate:Qn,rowCount:dn})))}var Fn=cn;function Kn(ye){var Ae=pe.useContext(Re),Le=Ae.hideHeader;if(Le)return null;var gt=ye.prefixCls,bt=ye.generateConfig,vn=ye.locale,sn=ye.value,Nn=ye.format,Tn="".concat(gt,"-header");return pe.createElement(Ot,{prefixCls:Tn},sn?Ue(sn,{locale:vn,format:Nn,generateConfig:bt}):"\xA0")}var qn=Kn;function br(ye){var Ae=ye.value,Le=ye.generateConfig,gt=ye.disabledMinutes,bt=ye.disabledSeconds,vn=ye.minutes,sn=ye.seconds,Nn=ye.use12Hours,Tn=function(zr,$n,er,mr){var yr=Le.getNow(),kn=Ae||yr,Jn=$n<0?Le.getHour(yr):$n,vr=er<0?Le.getMinute(yr):er,bi=mr<0?Le.getSecond(yr):mr,ri=gt&>(Jn);if(ri!=null&&ri.includes(vr)){var vi=vn.find(function(ai){return!ri.includes(ai.value)});if(vi)vr=vi.value;else return null}var xi=bt&&bt(Jn,vr);if(xi!=null&&xi.includes(bi)){var mi=sn.find(function(ai){return!xi.includes(ai.value)});if(mi)bi=mi.value;else return null}return kn=Ct(Le,kn,!Nn||!zr?Jn:Jn+12,vr,bi),kn};return Tn}function Tr(ye){var Ae=ye.prefixCls,Le=ye.units,gt=ye.onSelect,bt=ye.value,vn=ye.active,sn=ye.hideDisabledOptions,Nn=ye.info,Tn=ye.type,Qn="".concat(Ae,"-cell"),zr=pe.useContext(Re),$n=zr.open,er=(0,pe.useRef)(null),mr=(0,pe.useRef)(new Map),yr=(0,pe.useRef)();return(0,pe.useLayoutEffect)(function(){var kn=mr.current.get(bt);kn&&$n!==!1&&Jr(er.current,kn.offsetTop,120)},[bt]),(0,pe.useLayoutEffect)(function(){if($n){var kn=mr.current.get(bt);kn&&(yr.current=wr(kn,function(){Jr(er.current,kn.offsetTop,0)}))}return function(){var Jn;(Jn=yr.current)===null||Jn===void 0||Jn.call(yr)}},[$n]),pe.createElement("ul",{className:Ve()("".concat(Ae,"-column"),(0,kt.Z)({},"".concat(Ae,"-column-active"),vn)),ref:er,style:{position:"relative"}},Le.map(function(kn){var Jn;return sn&&kn.disabled?null:pe.createElement("li",{key:kn.value,ref:function(bi){mr.current.set(kn.value,bi)},className:Ve()(Qn,(Jn={},(0,kt.Z)(Jn,"".concat(Qn,"-disabled"),kn.disabled),(0,kt.Z)(Jn,"".concat(Qn,"-selected"),bt===kn.value),Jn)),onClick:function(){kn.disabled||gt(kn.value)}},Nn.cellRender?Nn.cellRender(kn.value,{today:Nn.today,locale:Nn.locale,originNode:pe.createElement("div",{className:"".concat(Qn,"-inner")},kn.label),type:"time",subType:Tn}):pe.createElement("div",{className:"".concat(Qn,"-inner")},kn.label))}))}var jr=Tr;function Fr(ye,Ae){if(ye.length!==Ae.length)return!0;for(var Le=0;Le<ye.length;Le+=1)if(ye[Le].disabled!==Ae[Le].disabled)return!0;return!1}function tr(ye,Ae,Le,gt){for(var bt=[],vn=Le>=1?Le|0:1,sn=ye;sn<=Ae;sn+=vn)bt.push({label:St(sn,2),value:sn,disabled:(gt||[]).includes(sn)});return bt}function _r(ye){var Ae=ye.generateConfig,Le=ye.prefixCls,gt=ye.operationRef,bt=ye.activeColumnIndex,vn=ye.value,sn=ye.showHour,Nn=ye.showMinute,Tn=ye.showSecond,Qn=ye.use12Hours,zr=ye.hourStep,$n=zr===void 0?1:zr,er=ye.minuteStep,mr=er===void 0?1:er,yr=ye.secondStep,kn=yr===void 0?1:yr,Jn=ye.disabledHours,vr=ye.disabledMinutes,bi=ye.disabledSeconds,ri=ye.disabledTime,vi=ye.hideDisabledOptions,xi=ye.onSelect,mi=ye.cellRender,ai=ye.locale,ta=[],Zi="".concat(Le,"-content"),ea="".concat(Le,"-time-panel"),Ca,Ba=vn?Ae.getHour(vn):-1,Fa=Ba,Va=vn?Ae.getMinute(vn):-1,oa=vn?Ae.getSecond(vn):-1,sa=Ae.getNow(),ba=pe.useMemo(function(){if(ri){var ma=ri(sa);return[ma.disabledHours,ma.disabledMinutes,ma.disabledSeconds]}return[Jn,vr,bi]},[Jn,vr,bi,ri,sa]),Wa=(0,xt.Z)(ba,3),Ya=Wa[0],Ia=Wa[1],Za=Wa[2],io=tr(0,23,$n,Ya&&Ya()),Bo=(0,le.Z)(function(){return io},io,Fr);Qn&&(Ca=Fa>=12,Fa%=12);var $o=pe.useMemo(function(){if(!Qn)return[!1,!1];var ma=[!0,!0];return Bo.forEach(function(vo){var Eo=vo.disabled,ts=vo.value;Eo||(ts>=12?ma[1]=!1:ma[0]=!1)}),ma},[Qn,Bo]),So=(0,xt.Z)($o,2),es=So[0],lo=So[1],Lo=pe.useMemo(function(){return Qn?Bo.filter(Ca?function(ma){return ma.value>=12}:function(ma){return ma.value<12}).map(function(ma){var vo=ma.value%12,Eo=vo===0?"12":St(vo,2);return(0,Bt.Z)((0,Bt.Z)({},ma),{},{label:Eo,value:vo})}):Bo},[Qn,Ca,Bo]),Sa=tr(0,59,mr,Ia&&Ia(Ba)),Oa=tr(0,59,kn,Za&&Za(Ba,Va)),xa=br({value:vn,generateConfig:Ae,disabledMinutes:Ia,disabledSeconds:Za,minutes:Sa,seconds:Oa,use12Hours:Qn});gt.current={onUpDown:function(vo){var Eo=ta[bt];if(Eo)for(var ts=Eo.units.findIndex(function($s){return $s.value===Eo.value}),fs=Eo.units.length,uo=1;uo<fs;uo+=1){var Ho=Eo.units[(ts+vo*uo+fs)%fs];if(Ho.disabled!==!0){Eo.onSelect(Ho.value);break}}}};function _a(ma,vo,Eo,ts,fs){ma!==!1&&ta.push({node:pe.cloneElement(vo,{prefixCls:ea,value:Eo,active:bt===ta.length,onSelect:fs,units:ts,hideDisabledOptions:vi}),onSelect:fs,value:Eo,units:ts})}_a(sn,pe.createElement(jr,{key:"hour",type:"hour",info:{today:sa,locale:ai,cellRender:mi}}),Fa,Lo,function(ma){xi(xa(Ca,ma,Va,oa),"mouse")}),_a(Nn,pe.createElement(jr,{key:"minute",type:"minute",info:{today:sa,locale:ai,cellRender:mi}}),Va,Sa,function(ma){xi(xa(Ca,Fa,ma,oa),"mouse")}),_a(Tn,pe.createElement(jr,{key:"second",type:"second",info:{today:sa,locale:ai,cellRender:mi}}),oa,Oa,function(ma){xi(xa(Ca,Fa,Va,ma),"mouse")});var ds=-1;return typeof Ca=="boolean"&&(ds=Ca?1:0),_a(Qn===!0,pe.createElement(jr,{key:"meridiem",type:"meridiem",info:{today:sa,locale:ai,cellRender:mi}}),ds,[{label:"AM",value:0,disabled:es},{label:"PM",value:1,disabled:lo}],function(ma){xi(xa(!!ma,Fa,Va,oa),"mouse")}),pe.createElement("div",{className:Zi},ta.map(function(ma){var vo=ma.node;return vo}))}var Hr=_r,qr=function(Ae){return Ae.filter(function(Le){return Le!==!1}).length};function Mr(ye){var Ae=ye.generateConfig,Le=ye.format,gt=Le===void 0?"HH:mm:ss":Le,bt=ye.prefixCls,vn=ye.active,sn=ye.operationRef,Nn=ye.showHour,Tn=ye.showMinute,Qn=ye.showSecond,zr=ye.use12Hours,$n=zr===void 0?!1:zr,er=ye.onSelect,mr=ye.value,yr="".concat(bt,"-time-panel"),kn=pe.useRef(),Jn=pe.useState(-1),vr=(0,xt.Z)(Jn,2),bi=vr[0],ri=vr[1],vi=qr([Nn,Tn,Qn,$n]);return sn.current={onKeyDown:function(mi){return pr(mi,{onLeftRight:function(ta){ri((bi+ta+vi)%vi)},onUpDown:function(ta){bi===-1?ri(0):kn.current&&kn.current.onUpDown(ta)},onEnter:function(){er(mr||Ae.getNow(),"key"),ri(-1)}})},onBlur:function(){ri(-1)}},pe.createElement("div",{className:Ve()(yr,(0,kt.Z)({},"".concat(yr,"-active"),vn))},pe.createElement(qn,(0,Ke.Z)({},ye,{format:gt,prefixCls:bt})),pe.createElement(Hr,(0,Ke.Z)({},ye,{prefixCls:bt,activeColumnIndex:bi,operationRef:kn})))}var Ir=Mr,$r=an("date","time");function Wr(ye){var Ae=ye.prefixCls,Le=ye.operationRef,gt=ye.generateConfig,bt=ye.value,vn=ye.defaultValue,sn=ye.disabledTime,Nn=ye.showTime,Tn=ye.onSelect,Qn=ye.cellRender,zr="".concat(Ae,"-datetime-panel"),$n=pe.useState(null),er=(0,xt.Z)($n,2),mr=er[0],yr=er[1],kn=pe.useRef({}),Jn=pe.useRef({}),vr=(0,Ne.Z)(Nn)==="object"?(0,Bt.Z)({},Nn):{};function bi(mi){var ai=$r.indexOf(mr)+mi,ta=$r[ai]||null;return ta}var ri=function(ai){Jn.current.onBlur&&Jn.current.onBlur(ai),yr(null)};Le.current={onKeyDown:function(ai){if(ai.which===Pn.Z.TAB){var ta=bi(ai.shiftKey?-1:1);return yr(ta),ta&&ai.preventDefault(),!0}if(mr){var Zi=mr==="date"?kn:Jn;return Zi.current&&Zi.current.onKeyDown&&Zi.current.onKeyDown(ai),!0}return[Pn.Z.LEFT,Pn.Z.RIGHT,Pn.Z.UP,Pn.Z.DOWN].includes(ai.which)?(yr("date"),!0):!1},onBlur:ri,onClose:ri};var vi=function(ai,ta){var Zi=ai;ta==="date"&&!bt&&vr.defaultValue?(Zi=gt.setHour(Zi,gt.getHour(vr.defaultValue)),Zi=gt.setMinute(Zi,gt.getMinute(vr.defaultValue)),Zi=gt.setSecond(Zi,gt.getSecond(vr.defaultValue))):ta==="time"&&!bt&&vn&&(Zi=gt.setYear(Zi,gt.getYear(vn)),Zi=gt.setMonth(Zi,gt.getMonth(vn)),Zi=gt.setDate(Zi,gt.getDate(vn))),Tn&&Tn(Zi,"mouse")},xi=sn?sn(bt||null):{};return pe.createElement("div",{className:Ve()(zr,(0,kt.Z)({},"".concat(zr,"-active"),mr))},pe.createElement(Fn,(0,Ke.Z)({},ye,{cellRender:Qn,operationRef:kn,active:mr==="date",onSelect:function(ai){vi(Rt(gt,ai,!bt&&(0,Ne.Z)(Nn)==="object"?Nn.defaultValue:null),"date")}})),pe.createElement(Ir,(0,Ke.Z)({},ye,{cellRender:Qn?function(mi,ai){return Qn(mi,(0,Bt.Z)((0,Bt.Z)({},ai),{},{type:"time"}))}:void 0,format:void 0},vr,xi,{disabledTime:null,defaultValue:void 0,operationRef:Jn,active:mr==="time",onSelect:function(ai){vi(ai,"time")}})))}var wi=Wr;function Ii(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.viewDate,bt=ye.onPrevDecades,vn=ye.onNextDecades,sn=pe.useContext(Re),Nn=sn.hideHeader;if(Nn)return null;var Tn="".concat(Ae,"-header"),Qn=Le.getYear(gt),zr=Math.floor(Qn/ue)*ue,$n=zr+ue-1;return pe.createElement(Ot,(0,Ke.Z)({},ye,{prefixCls:Tn,onSuperPrev:bt,onSuperNext:vn}),zr,"-",$n)}var Zr=Ii,Xn=3,Yn=4;function Xr(ye){var Ae=he-1,Le=ye.prefixCls,gt=ye.viewDate,bt=ye.generateConfig,vn=ye.cellRender,sn=ye.locale,Nn="".concat(Le,"-cell"),Tn=bt.getYear(gt),Qn=Math.floor(Tn/he)*he,zr=Math.floor(Tn/ue)*ue,$n=zr+ue-1,er=bt.setYear(gt,zr-Math.ceil((Xn*Yn*he-ue)/2)),mr=function(Jn){var vr,bi=bt.getYear(Jn),ri=bi+Ae;return vr={},(0,kt.Z)(vr,"".concat(Nn,"-in-view"),zr<=bi&&ri<=$n),(0,kt.Z)(vr,"".concat(Nn,"-selected"),bi===Qn),vr},yr=vn?function(kn,Jn){return vn(kn,{originNode:Jn,today:bt.getNow(),type:"decade",locale:sn})}:void 0;return pe.createElement(En,(0,Ke.Z)({},ye,{rowNum:Yn,colNum:Xn,baseDate:er,getCellNode:yr,getCellText:function(Jn){var vr=bt.getYear(Jn);return"".concat(vr,"-").concat(vr+Ae)},getCellClassName:mr,getCellDate:function(Jn,vr){return bt.addYear(Jn,vr*he)}}))}var Nr=Xr;function oi(ye){var Ae=ye.prefixCls,Le=ye.onViewDateChange,gt=ye.generateConfig,bt=ye.viewDate,vn=ye.operationRef,sn=ye.onSelect,Nn=ye.onPanelChange,Tn="".concat(Ae,"-decade-panel");vn.current={onKeyDown:function(er){return pr(er,{onLeftRight:function(yr){sn(gt.addYear(bt,yr*he),"key")},onCtrlLeftRight:function(yr){sn(gt.addYear(bt,yr*ue),"key")},onUpDown:function(yr){sn(gt.addYear(bt,yr*he*Xn),"key")},onEnter:function(){Nn("year",bt)}})}};var Qn=function(er){var mr=gt.addYear(bt,er*ue);Le(mr),Nn(null,mr)},zr=function(er){sn(er,"mouse"),Nn("year",er)};return pe.createElement("div",{className:Tn},pe.createElement(Zr,(0,Ke.Z)({},ye,{prefixCls:Ae,onPrevDecades:function(){Qn(-1)},onNextDecades:function(){Qn(1)}})),pe.createElement(Nr,(0,Ke.Z)({},ye,{prefixCls:Ae,onSelect:zr})))}var ci=oi;function di(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.locale,bt=ye.viewDate,vn=ye.onNextYear,sn=ye.onPrevYear,Nn=ye.onYearClick,Tn=pe.useContext(Re),Qn=Tn.hideHeader;if(Qn)return null;var zr="".concat(Ae,"-header");return pe.createElement(Ot,(0,Ke.Z)({},ye,{prefixCls:zr,onSuperPrev:sn,onSuperNext:vn}),pe.createElement("button",{type:"button",onClick:Nn,className:"".concat(Ae,"-year-btn")},Ue(bt,{locale:gt,format:gt.yearFormat,generateConfig:Le})))}var Gr=di,ti=3,Gi=4;function Sr(ye){var Ae=ye.prefixCls,Le=ye.locale,gt=ye.value,bt=ye.viewDate,vn=ye.generateConfig,sn=ye.cellRender,Nn=pe.useContext(Sn),Tn=Nn.rangedValue,Qn=Nn.hoverRangedValue,zr="".concat(Ae,"-cell"),$n=jn({cellPrefixCls:zr,value:gt,generateConfig:vn,rangedValue:Tn,hoverRangedValue:Qn,isSameCell:function(Jn,vr){return zt(vn,Jn,vr)},isInView:function(){return!0},offsetCell:function(Jn,vr){return vn.addMonth(Jn,vr)}}),er=Le.shortMonths||(vn.locale.getShortMonths?vn.locale.getShortMonths(Le.locale):[]),mr=vn.setMonth(bt,0),yr=sn?function(kn,Jn){return sn(kn,{originNode:Jn,locale:Le,today:vn.getNow(),type:"month"})}:void 0;return pe.createElement(En,(0,Ke.Z)({},ye,{rowNum:Gi,colNum:ti,baseDate:mr,getCellNode:yr,getCellText:function(Jn){return Le.monthFormat?Ue(Jn,{locale:Le,format:Le.monthFormat,generateConfig:vn}):er[vn.getMonth(Jn)]},getCellClassName:$n,getCellDate:vn.addMonth,titleCell:function(Jn){return Ue(Jn,{locale:Le,format:"YYYY-MM",generateConfig:vn})}}))}var Or=Sr;function fi(ye){var Ae=ye.prefixCls,Le=ye.operationRef,gt=ye.onViewDateChange,bt=ye.generateConfig,vn=ye.value,sn=ye.viewDate,Nn=ye.onPanelChange,Tn=ye.onSelect,Qn="".concat(Ae,"-month-panel");Le.current={onKeyDown:function(er){return pr(er,{onLeftRight:function(yr){Tn(bt.addMonth(vn||sn,yr),"key")},onCtrlLeftRight:function(yr){Tn(bt.addYear(vn||sn,yr),"key")},onUpDown:function(yr){Tn(bt.addMonth(vn||sn,yr*ti),"key")},onEnter:function(){Nn("date",vn||sn)}})}};var zr=function(er){var mr=bt.addYear(sn,er);gt(mr),Nn(null,mr)};return pe.createElement("div",{className:Qn},pe.createElement(Gr,(0,Ke.Z)({},ye,{prefixCls:Ae,onPrevYear:function(){zr(-1)},onNextYear:function(){zr(1)},onYearClick:function(){Nn("year",sn)}})),pe.createElement(Or,(0,Ke.Z)({},ye,{prefixCls:Ae,onSelect:function(er){Tn(er,"mouse"),Nn("date",er)}})))}var Ei=fi;function Xi(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.locale,bt=ye.viewDate,vn=ye.onNextYear,sn=ye.onPrevYear,Nn=ye.onYearClick,Tn=pe.useContext(Re),Qn=Tn.hideHeader;if(Qn)return null;var zr="".concat(Ae,"-header");return pe.createElement(Ot,(0,Ke.Z)({},ye,{prefixCls:zr,onSuperPrev:sn,onSuperNext:vn}),pe.createElement("button",{type:"button",onClick:Nn,className:"".concat(Ae,"-year-btn")},Ue(bt,{locale:gt,format:gt.yearFormat,generateConfig:Le})))}var Ji=Xi,ji=4,Ni=1;function ua(ye){var Ae=ye.prefixCls,Le=ye.locale,gt=ye.value,bt=ye.viewDate,vn=ye.generateConfig,sn=ye.cellRender,Nn=pe.useContext(Sn),Tn=Nn.rangedValue,Qn=Nn.hoverRangedValue,zr="".concat(Ae,"-cell"),$n=jn({cellPrefixCls:zr,value:gt,generateConfig:vn,rangedValue:Tn,hoverRangedValue:Qn,isSameCell:function(kn,Jn){return Qt(vn,kn,Jn)},isInView:function(){return!0},offsetCell:function(kn,Jn){return vn.addMonth(kn,Jn*3)}}),er=vn.setDate(vn.setMonth(bt,0),1),mr=sn?function(yr,kn){return sn(yr,{originNode:kn,locale:Le,today:vn.getNow(),type:"quarter"})}:void 0;return pe.createElement(En,(0,Ke.Z)({},ye,{rowNum:Ni,colNum:ji,baseDate:er,getCellNode:mr,getCellText:function(kn){return Ue(kn,{locale:Le,format:Le.quarterFormat||"[Q]Q",generateConfig:vn})},getCellClassName:$n,getCellDate:function(kn,Jn){return vn.addMonth(kn,Jn*3)},titleCell:function(kn){return Ue(kn,{locale:Le,format:"YYYY-[Q]Q",generateConfig:vn})}}))}var ca=ua;function Lr(ye){var Ae=ye.prefixCls,Le=ye.operationRef,gt=ye.onViewDateChange,bt=ye.generateConfig,vn=ye.value,sn=ye.viewDate,Nn=ye.onPanelChange,Tn=ye.onSelect,Qn="".concat(Ae,"-quarter-panel");Le.current={onKeyDown:function(er){return pr(er,{onLeftRight:function(yr){Tn(bt.addMonth(vn||sn,yr*3),"key")},onCtrlLeftRight:function(yr){Tn(bt.addYear(vn||sn,yr),"key")},onUpDown:function(yr){Tn(bt.addYear(vn||sn,yr),"key")}})}};var zr=function(er){var mr=bt.addYear(sn,er);gt(mr),Nn(null,mr)};return pe.createElement("div",{className:Qn},pe.createElement(Ji,(0,Ke.Z)({},ye,{prefixCls:Ae,onPrevYear:function(){zr(-1)},onNextYear:function(){zr(1)},onYearClick:function(){Nn("year",sn)}})),pe.createElement(ca,(0,Ke.Z)({},ye,{prefixCls:Ae,onSelect:function(er){Tn(er,"mouse")}})))}var Dr=Lr;function kr(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.locale,bt=ye.value,vn=ye.disabledDate,sn=ye.onSelect,Nn=pe.useContext(Sn),Tn=Nn.rangedValue,Qn=Nn.hoverRangedValue,zr=pe.useContext(Re),$n=zr.onDateMouseEnter,er=zr.onDateMouseLeave,mr=(Qn==null?void 0:Qn[0])||(Tn==null?void 0:Tn[0]),yr=(Qn==null?void 0:Qn[1])||(Tn==null?void 0:Tn[1]),kn="".concat(Ae,"-cell"),Jn=function(vi){var xi=gn({cellDate:vi,mode:"week",disabledDate:vn,generateConfig:Le});return pe.createElement("td",{key:"week",className:Ve()(kn,"".concat(kn,"-week")),onClick:function(){xi||sn(vi,"mouse")},onMouseEnter:function(){!xi&&$n&&$n(vi)},onMouseLeave:function(){!xi&&er&&er(vi)}},pe.createElement("div",{className:"".concat(kn,"-inner")},Le.locale.getWeek(gt.locale,vi)))},vr="".concat(Ae,"-week-panel-row"),bi=function(vi){var xi,mi=Mt(Le,gt.locale,mr,vi),ai=Mt(Le,gt.locale,yr,vi);return Ve()(vr,(xi={},(0,kt.Z)(xi,"".concat(vr,"-selected"),!Tn&&Mt(Le,gt.locale,bt,vi)),(0,kt.Z)(xi,"".concat(vr,"-range-start"),mi),(0,kt.Z)(xi,"".concat(vr,"-range-end"),ai),(0,kt.Z)(xi,"".concat(vr,"-range-hover"),!mi&&!ai&&Gn(Le,mr,yr,vi)),xi))};return pe.createElement(Fn,(0,Ke.Z)({},ye,{panelName:"week",prefixColumn:Jn,rowClassName:bi,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Ur=kr,Ti=10;function pa(ye){var Ae=ye.prefixCls,Le=ye.generateConfig,gt=ye.viewDate,bt=ye.onPrevDecade,vn=ye.onNextDecade,sn=ye.onDecadeClick,Nn=pe.useContext(Re),Tn=Nn.hideHeader;if(Tn)return null;var Qn="".concat(Ae,"-header"),zr=Le.getYear(gt),$n=Math.floor(zr/Ti)*Ti,er=$n+Ti-1;return pe.createElement(Ot,(0,Ke.Z)({},ye,{prefixCls:Qn,onSuperPrev:bt,onSuperNext:vn}),pe.createElement("button",{type:"button",onClick:sn,className:"".concat(Ae,"-decade-btn")},$n,"-",er))}var ga=pa,ia=3,Qi=4;function ya(ye){var Ae=ye.prefixCls,Le=ye.value,gt=ye.viewDate,bt=ye.locale,vn=ye.generateConfig,sn=ye.cellRender,Nn=pe.useContext(Sn),Tn=Nn.rangedValue,Qn=Nn.hoverRangedValue,zr="".concat(Ae,"-cell"),$n=vn.getYear(gt),er=Math.floor($n/Ti)*Ti,mr=er+Ti-1,yr=vn.setYear(gt,er-Math.ceil((ia*Qi-Ti)/2)),kn=vn.getNow(),Jn=function(vi){var xi=vn.getYear(vi);return er<=xi&&xi<=mr},vr=jn({cellPrefixCls:zr,value:Le,generateConfig:vn,rangedValue:Tn,hoverRangedValue:Qn,isSameCell:function(vi,xi){return Lt(vn,vi,xi)},isInView:Jn,offsetCell:function(vi,xi){return vn.addYear(vi,xi)}}),bi=sn?function(ri,vi){return sn(ri,{originNode:vi,today:kn,type:"year",locale:bt})}:void 0;return pe.createElement(En,(0,Ke.Z)({},ye,{rowNum:Qi,colNum:ia,baseDate:yr,getCellNode:bi,getCellText:vn.getYear,getCellClassName:vr,getCellDate:vn.addYear,titleCell:function(vi){return Ue(vi,{locale:bt,format:"YYYY",generateConfig:vn})}}))}var ja=ya;function Ha(ye){var Ae=ye.prefixCls,Le=ye.operationRef,gt=ye.onViewDateChange,bt=ye.generateConfig,vn=ye.value,sn=ye.viewDate,Nn=ye.sourceMode,Tn=ye.onSelect,Qn=ye.onPanelChange,zr="".concat(Ae,"-year-panel");Le.current={onKeyDown:function(mr){return pr(mr,{onLeftRight:function(kn){Tn(bt.addYear(vn||sn,kn),"key")},onCtrlLeftRight:function(kn){Tn(bt.addYear(vn||sn,kn*Ti),"key")},onUpDown:function(kn){Tn(bt.addYear(vn||sn,kn*ia),"key")},onEnter:function(){Qn(Nn==="date"?"date":"month",vn||sn)}})}};var $n=function(mr){var yr=bt.addYear(sn,mr*10);gt(yr),Qn(null,yr)};return pe.createElement("div",{className:zr},pe.createElement(ga,(0,Ke.Z)({},ye,{prefixCls:Ae,onPrevDecade:function(){$n(-1)},onNextDecade:function(){$n(1)},onDecadeClick:function(){Qn("decade",sn)}})),pe.createElement(ja,(0,Ke.Z)({},ye,{prefixCls:Ae,onSelect:function(mr){Qn(Nn==="date"?"date":"month",mr),Tn(mr,"mouse")}})))}var mo=Ha;function Pi(ye,Ae,Le){return Le?pe.createElement("div",{className:"".concat(ye,"-footer-extra")},Le(Ae)):null}function zi(ye){var Ae=ye.prefixCls,Le=ye.components,gt=Le===void 0?{}:Le,bt=ye.needConfirmButton,vn=ye.onNow,sn=ye.onOk,Nn=ye.okDisabled,Tn=ye.showNow,Qn=ye.locale,zr,$n;if(bt){var er=gt.button||"button";vn&&Tn!==!1&&(zr=pe.createElement("li",{className:"".concat(Ae,"-now")},pe.createElement("a",{className:"".concat(Ae,"-now-btn"),onClick:vn},Qn.now))),$n=bt&&pe.createElement("li",{className:"".concat(Ae,"-ok")},pe.createElement(er,{disabled:Nn,onClick:sn},Qn.ok))}return!zr&&!$n?null:pe.createElement("ul",{className:"".concat(Ae,"-ranges")},zr,$n)}var Aa=["date","month"];function Yi(ye){var Ae,Le=ye,gt=Le.prefixCls,bt=gt===void 0?"rc-picker":gt,vn=Le.className,sn=Le.style,Nn=Le.locale,Tn=Le.generateConfig,Qn=Le.value,zr=Le.defaultValue,$n=Le.pickerValue,er=Le.defaultPickerValue,mr=Le.disabledDate,yr=Le.mode,kn=Le.picker,Jn=kn===void 0?"date":kn,vr=Le.tabIndex,bi=vr===void 0?0:vr,ri=Le.showNow,vi=Le.showTime,xi=Le.showToday,mi=Le.renderExtraFooter,ai=Le.hideHeader,ta=Le.onSelect,Zi=Le.onChange,ea=Le.onPanelChange,Ca=Le.onMouseDown,Ba=Le.onPickerValueChange,Fa=Le.onOk,Va=Le.components,oa=Le.direction,sa=Le.hourStep,ba=sa===void 0?1:sa,Wa=Le.minuteStep,Ya=Wa===void 0?1:Wa,Ia=Le.secondStep,Za=Ia===void 0?1:Ia,io=Le.dateRender,Bo=Le.monthCellRender,$o=Le.cellRender,So=Jn==="date"&&!!vi||Jn==="time",es=24%ba===0,lo=60%Ya===0,Lo=60%Za===0,Sa=pe.useContext(Re),Oa=Sa.operationRef,xa=Sa.onSelect,_a=Sa.hideRanges,ds=Sa.defaultOpenValue,ma=pe.useContext(Sn),vo=ma.inRange,Eo=ma.panelPosition,ts=ma.rangedValue,fs=ma.hoverRangedValue,uo=pe.useRef({}),Ho=pe.useRef(!0),$s=(0,ve.Z)(null,{value:Qn,defaultValue:zr,postState:function(ki){return!ki&&ds&&Jn==="time"?ds:ki}}),tl=(0,xt.Z)($s,2),hs=tl[0],wl=tl[1],au=(0,ve.Z)(null,{value:$n,defaultValue:er||hs,postState:function(ki){var ha=Tn.getNow();if(!ki)return ha;if(!hs&&vi){var fo=(0,Ne.Z)(vi)==="object"?vi.defaultValue:zr;return Rt(Tn,Array.isArray(ki)?ki[0]:ki,fo||ha)}return Array.isArray(ki)?ki[0]:ki}}),Cl=(0,xt.Z)(au,2),ns=Cl[0],el=Cl[1],ps=function(ki){el(ki),Ba&&Ba(ki)},ou=function(ki){var ha=Br[Jn];return ha?ha(ki):ki},nl=(0,ve.Z)(function(){return Jn==="time"?"time":ou("date")},{value:yr}),$a=(0,xt.Z)(nl,2),eo=$a[0],Ls=$a[1];pe.useEffect(function(){Ls(Jn)},[Jn]);var hl=pe.useState(function(){return eo}),Io=(0,xt.Z)(hl,2),fa=Io[0],Po=Io[1],Uo=function(ki,ha){var fo=ou(ki||eo);Po(eo),Ls(fo),ea&&(eo!==fo||tn(Tn,ns,ns))&&ea(ha,fo)},ao=function(ki,ha){var fo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(eo===Jn||fo)&&(wl(ki),ta&&ta(ki),xa&&xa(ki,ha),Zi&&!tn(Tn,ki,hs)&&!(mr!=null&&mr(ki))&&Zi(ki))},Cs=function(ki){if(Aa.includes(eo)){var ha,fo,Us=eo==="date";switch(ki===Pn.Z.PAGE_UP||ki===Pn.Z.PAGE_DOWN?fo=Us?Tn.addMonth:Tn.addYear:fo=Us?Tn.addDate:Tn.addMonth,ki){case Pn.Z.LEFT:case Pn.Z.PAGE_UP:ha=fo(ns,-1);break;case Pn.Z.RIGHT:case Pn.Z.PAGE_DOWN:ha=fo(ns,1);break;case Pn.Z.UP:case Pn.Z.DOWN:ha=fo(ns,Number("".concat(ki===Pn.Z.UP?"-":"").concat(Us?Pe:ti)));break}if(ha)return!(mr!=null&&mr(ha))}return!0},pl=function(ki){if(uo.current&&uo.current.onKeyDown){var ha=!0,fo=ki.which;if([Pn.Z.LEFT,Pn.Z.RIGHT,Pn.Z.UP,Pn.Z.DOWN,Pn.Z.PAGE_UP,Pn.Z.PAGE_DOWN,Pn.Z.ENTER].includes(fo)&&(ki.preventDefault(),fo!==Pn.Z.ENTER&&bi===0&&(ha=Cs(fo))),ha)return uo.current.onKeyDown(ki)}return(0,ze.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},co=function(ki){uo.current&&uo.current.onBlur&&uo.current.onBlur(ki)};Oa&&Eo!=="right"&&(Oa.current={onKeyDown:pl,onClose:function(){uo.current&&uo.current.onClose&&uo.current.onClose()}}),pe.useEffect(function(){Qn&&!Ho.current&&el(Qn)},[Qn]),pe.useEffect(function(){Ho.current=!1},[]);var Ss,rl=ct({cellRender:$o,monthCellRender:Bo,dateRender:io}),Ta=(0,Bt.Z)((0,Bt.Z)({},ye),{},{cellRender:rl,operationRef:uo,prefixCls:bt,viewDate:ns,value:hs,onViewDateChange:ps,sourceMode:fa,onPanelChange:Uo,disabledDate:mr});switch(delete Ta.onChange,delete Ta.onSelect,eo){case"decade":Ss=pe.createElement(ci,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}));break;case"year":Ss=pe.createElement(mo,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}));break;case"month":Ss=pe.createElement(Ei,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}));break;case"quarter":Ss=pe.createElement(Dr,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}));break;case"week":Ss=pe.createElement(Ur,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}));break;case"time":delete Ta.showTime,Ss=pe.createElement(Ir,(0,Ke.Z)({},Ta,(0,Ne.Z)(vi)==="object"?vi:null,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}));break;default:vi?Ss=pe.createElement(wi,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}})):Ss=pe.createElement(Fn,(0,Ke.Z)({},Ta,{onSelect:function(ki,ha){ps(ki),ao(ki,ha)}}))}var ml,Gs,rs=function(){var ki=Tn.getNow(),ha=Xt(Tn.getHour(ki),Tn.getMinute(ki),Tn.getSecond(ki),es?ba:1,lo?Ya:1,Lo?Za:1),fo=Ct(Tn,ki,ha[0],ha[1],ha[2]);ao(fo,"submit")};_a||(ml=Pi(bt,eo,mi),vi&&eo!=="date"?Gs=null:Gs=zi({prefixCls:bt,components:Va,needConfirmButton:So,okDisabled:!hs||mr&&mr(hs),locale:Nn,showNow:ri,onNow:So&&rs,onOk:function(){hs&&(ao(hs,"submit",!0),Fa&&Fa(hs))}}));var Sl;if(xi&&eo==="date"&&Jn==="date"&&!vi){var il=Tn.getNow(),Zl="".concat(bt,"-today-btn"),gl=mr&&mr(il);Sl=pe.createElement("a",{className:Ve()(Zl,gl&&"".concat(Zl,"-disabled")),"aria-disabled":gl,onClick:function(){gl||ao(il,"mouse",!0)}},Nn.today)}return pe.createElement(Re.Provider,{value:(0,Bt.Z)((0,Bt.Z)({},Sa),{},{mode:eo,hideHeader:"hideHeader"in ye?ai:Sa.hideHeader,hidePrevBtn:vo&&Eo==="right",hideNextBtn:vo&&Eo==="left"})},pe.createElement("div",{tabIndex:bi,className:Ve()("".concat(bt,"-panel"),vn,(Ae={},(0,kt.Z)(Ae,"".concat(bt,"-panel-has-range"),ts&&ts[0]&&ts[1]),(0,kt.Z)(Ae,"".concat(bt,"-panel-has-range-hover"),fs&&fs[0]&&fs[1]),(0,kt.Z)(Ae,"".concat(bt,"-panel-rtl"),oa==="rtl"),Ae)),style:sn,onKeyDown:pl,onBlur:co,onMouseDown:Ca},Ss,ml||Gs||Sl?pe.createElement("div",{className:"".concat(bt,"-footer")},ml,Gs,Sl):null))}var $i=Yi,wn=se(35593),hn={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function on(ye){var Ae,Le=ye.prefixCls,gt=ye.popupElement,bt=ye.popupStyle,vn=ye.visible,sn=ye.dropdownClassName,Nn=ye.dropdownAlign,Tn=ye.transitionName,Qn=ye.getPopupContainer,zr=ye.children,$n=ye.range,er=ye.popupPlacement,mr=ye.direction,yr="".concat(Le,"-dropdown"),kn=function(){return er!==void 0?er:mr==="rtl"?"bottomRight":"bottomLeft"};return pe.createElement(wn.Z,{showAction:[],hideAction:[],popupPlacement:kn(),builtinPlacements:hn,prefixCls:yr,popupTransitionName:Tn,popup:gt,popupAlign:Nn,popupVisible:vn,popupClassName:Ve()(sn,(Ae={},(0,kt.Z)(Ae,"".concat(yr,"-range"),$n),(0,kt.Z)(Ae,"".concat(yr,"-rtl"),mr==="rtl"),Ae)),popupStyle:bt,getPopupContainer:Qn},zr)}var Rn=on;function or(ye){var Ae=ye.prefixCls,Le=ye.presets,gt=ye.onClick,bt=ye.onHover;return Le.length?pe.createElement("div",{className:"".concat(Ae,"-presets")},pe.createElement("ul",null,Le.map(function(vn,sn){var Nn=vn.label,Tn=vn.value;return pe.createElement("li",{key:sn,onClick:function(){return gt==null?void 0:gt(Hn(Tn))},onMouseEnter:function(){return bt==null?void 0:bt(Hn(Tn))},onMouseLeave:function(){return bt==null?void 0:bt(null)}},Nn)}))):null}function lr(ye){var Ae=ye.picker,Le=ye.disabledHours,gt=ye.disabledMinutes,bt=ye.disabledSeconds;Ae==="time"&&(Le||gt||bt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function On(ye,Ae,Le){var gt=(0,Ne.Z)(Ae)==="object"?Ae.clearIcon:Le;return gt||pe.createElement("span",{className:"".concat(ye,"-clear-btn")})}function Er(ye){var Ae,Le=ye,gt=Le.prefixCls,bt=gt===void 0?"rc-picker":gt,vn=Le.id,sn=Le.name,Nn=Le.tabIndex,Tn=Le.style,Qn=Le.className,zr=Le.dropdownClassName,$n=Le.dropdownAlign,er=Le.popupStyle,mr=Le.transitionName,yr=Le.generateConfig,kn=Le.locale,Jn=Le.inputReadOnly,vr=Le.allowClear,bi=Le.autoFocus,ri=Le.showTime,vi=Le.picker,xi=vi===void 0?"date":vi,mi=Le.format,ai=Le.use12Hours,ta=Le.value,Zi=Le.defaultValue,ea=Le.presets,Ca=Le.open,Ba=Le.defaultOpen,Fa=Le.defaultOpenValue,Va=Le.suffixIcon,oa=Le.clearIcon,sa=Le.disabled,ba=Le.disabledDate,Wa=Le.placeholder,Ya=Le.getPopupContainer,Ia=Le.pickerRef,Za=Le.panelRender,io=Le.onChange,Bo=Le.onOpenChange,$o=Le.onFocus,So=Le.onBlur,es=Le.onMouseDown,lo=Le.onMouseUp,Lo=Le.onMouseEnter,Sa=Le.onMouseLeave,Oa=Le.onContextMenu,xa=Le.onClick,_a=Le.onKeyDown,ds=Le.onSelect,ma=Le.direction,vo=Le.autoComplete,Eo=vo===void 0?"off":vo,ts=Le.inputRender,fs=Le.changeOnBlur,uo=pe.useRef(null),Ho=xi==="date"&&!!ri||xi==="time",$s=Cr(ea),tl=Gt(pi(mi,xi,ri,ai)),hs=pe.useRef(null),wl=pe.useRef(null),au=pe.useRef(null),Cl=(0,ve.Z)(null,{value:ta,defaultValue:Zi}),ns=(0,xt.Z)(Cl,2),el=ns[0],ps=ns[1],ou=pe.useState(el),nl=(0,xt.Z)(ou,2),$a=nl[0],eo=nl[1],Ls=pe.useRef(null),hl=(0,ve.Z)(!1,{value:Ca,defaultValue:Ba,postState:function(Vi){return sa?!1:Vi},onChange:function(Vi){Bo&&Bo(Vi),!Vi&&Ls.current&&Ls.current.onClose&&Ls.current.onClose()}}),Io=(0,xt.Z)(hl,2),fa=Io[0],Po=Io[1],Uo=xn($a,{formatList:tl,generateConfig:yr,locale:kn}),ao=(0,xt.Z)(Uo,2),Cs=ao[0],pl=ao[1],co=Fe({valueTexts:Cs,onTextChange:function(Vi){var Ko=nn(Vi,{locale:kn,formatList:tl,generateConfig:yr});Ko&&(!ba||!ba(Ko))&&eo(Ko)}}),Ss=(0,xt.Z)(co,3),rl=Ss[0],Ta=Ss[1],ml=Ss[2],Gs=function(Vi){eo(Vi),ps(Vi),io&&!tn(yr,el,Vi)&&io(Vi,Vi?Ue(Vi,{generateConfig:yr,locale:kn,format:tl[0]}):"")},rs=function(Vi){sa&&Vi||Po(Vi)},Sl=function(Vi){return fa&&Ls.current&&Ls.current.onKeyDown?Ls.current.onKeyDown(Vi):((0,ze.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},il=function(){for(var Vi=arguments.length,Ko=new Array(Vi),to=0;to<Vi;to++)Ko[to]=arguments[to];xa==null||xa.apply(void 0,Ko),uo.current&&(uo.current.focus(),rs(!0))},Zl=function(Vi){fs&&Gs($a),So==null||So(Vi)},gl=Bn({blurToCancel:Ho,open:fa,value:rl,triggerOpen:rs,forwardKeyDown:Sl,isClickOutside:function(Vi){return!ir([hs.current,wl.current,au.current],Vi)},onSubmit:function(){return!$a||ba&&ba($a)?!1:(Gs($a),rs(!1),ml(),!0)},onCancel:function(){rs(!1),eo(el),ml()},onKeyDown:function(Vi,Ko){_a==null||_a(Vi,Ko)},onFocus:$o,onBlur:Zl,changeOnBlur:fs}),qi=(0,xt.Z)(gl,2),ki=qi[0],ha=qi[1],fo=ha.focused,Us=ha.typing;pe.useEffect(function(){fa||(eo(el),!Cs.length||Cs[0]===""?Ta(""):pl!==rl&&ml())},[fa,Cs]),pe.useEffect(function(){fa||ml()},[xi]),pe.useEffect(function(){eo(el)},[el]),Ia&&(Ia.current={focus:function(){var Vi;(Vi=uo.current)===null||Vi===void 0||Vi.focus()},blur:function(){var Vi;(Vi=uo.current)===null||Vi===void 0||Vi.blur()}});var Au=Un(rl,{formatList:tl,generateConfig:yr,locale:kn}),jl=(0,xt.Z)(Au,3),Mu=jl[0],Vl=jl[1],is=jl[2],na=(0,Bt.Z)((0,Bt.Z)({},ye),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),El=pe.createElement("div",{className:"".concat(bt,"-panel-layout")},pe.createElement(or,{prefixCls:bt,presets:$s,onClick:function(Vi){Gs(Vi),rs(!1)}}),pe.createElement($i,(0,Ke.Z)({},na,{generateConfig:yr,className:Ve()((0,kt.Z)({},"".concat(bt,"-panel-focused"),!Us)),value:$a,locale:kn,tabIndex:-1,onSelect:function(Vi){ds==null||ds(Vi),eo(Vi)},direction:ma,onPanelChange:function(Vi,Ko){var to=ye.onPanelChange;is(!0),to==null||to(Vi,Ko)}})));Za&&(El=Za(El));var Ys=pe.createElement("div",{className:"".concat(bt,"-panel-container"),ref:hs,onMouseDown:function(Vi){Vi.preventDefault()}},El),Pl;Va&&(Pl=pe.createElement("span",{className:"".concat(bt,"-suffix"),onMouseDown:function(Vi){Vi.preventDefault()}},Va));var Ai=On(bt,vr,oa),Qs=pe.createElement("span",{onMouseDown:function(Vi){Vi.preventDefault(),Vi.stopPropagation()},onMouseUp:function(Vi){Vi.preventDefault(),Vi.stopPropagation(),Gs(null),rs(!1)},className:"".concat(bt,"-clear"),role:"button"},Ai),Nu=!!vr&&el&&!sa,zu=(0,Bt.Z)((0,Bt.Z)((0,Bt.Z)({id:vn,tabIndex:Nn,disabled:sa,readOnly:Jn||typeof tl[0]=="function"||!Us,value:Mu||rl,onChange:function(Vi){Ta(Vi.target.value)},autoFocus:bi,placeholder:Wa,ref:uo,title:rl},ki),{},{size:Rr(xi,tl[0],yr),name:sn},(0,ce.Z)(ye,{aria:!0,data:!0})),{},{autoComplete:Eo}),ms=ts?ts(zu):pe.createElement("input",zu),Oo=function(Vi,Ko){(Ko==="submit"||Ko!=="key"&&!Ho)&&(Gs(Vi),rs(!1))},su=ma==="rtl"?"bottomRight":"bottomLeft";return pe.createElement(Re.Provider,{value:{operationRef:Ls,hideHeader:xi==="time",onSelect:Oo,open:fa,defaultOpenValue:Fa,onDateMouseEnter:Vl,onDateMouseLeave:is}},pe.createElement(Rn,{visible:fa,popupElement:Ys,popupStyle:er,prefixCls:bt,dropdownClassName:zr,dropdownAlign:$n,getPopupContainer:Ya,transitionName:mr,popupPlacement:su,direction:ma},pe.createElement("div",{ref:au,className:Ve()(bt,Qn,(Ae={},(0,kt.Z)(Ae,"".concat(bt,"-disabled"),sa),(0,kt.Z)(Ae,"".concat(bt,"-focused"),fo),(0,kt.Z)(Ae,"".concat(bt,"-rtl"),ma==="rtl"),Ae)),style:Tn,onMouseDown:es,onMouseUp:lo,onMouseEnter:Lo,onMouseLeave:Sa,onContextMenu:Oa,onClick:il},pe.createElement("div",{className:Ve()("".concat(bt,"-input"),(0,kt.Z)({},"".concat(bt,"-input-placeholder"),!!Mu)),ref:wl},ms,Pl,Nu&&Qs))))}var si=function(ye){(0,Kt.Z)(Le,ye);var Ae=(0,yn.Z)(Le);function Le(){var gt;(0,tt.Z)(this,Le);for(var bt=arguments.length,vn=new Array(bt),sn=0;sn<bt;sn++)vn[sn]=arguments[sn];return gt=Ae.call.apply(Ae,[this].concat(vn)),(0,kt.Z)((0,fn.Z)(gt),"pickerRef",pe.createRef()),(0,kt.Z)((0,fn.Z)(gt),"focus",function(){gt.pickerRef.current&>.pickerRef.current.focus()}),(0,kt.Z)((0,fn.Z)(gt),"blur",function(){gt.pickerRef.current&>.pickerRef.current.blur()}),gt}return(0,At.Z)(Le,[{key:"render",value:function(){return pe.createElement(Er,(0,Ke.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Le}(pe.Component),Di=si;function ui(ye,Ae){var Le=ye.picker,gt=ye.locale,bt=ye.selectedValue,vn=ye.disabledDate,sn=ye.disabled,Nn=ye.generateConfig,Tn=Zt(bt,0),Qn=Zt(bt,1);function zr(kn){return Nn.locale.getWeekFirstDate(gt.locale,kn)}function $n(kn){var Jn=Nn.getYear(kn),vr=Nn.getMonth(kn);return Jn*100+vr}function er(kn){var Jn=Nn.getYear(kn),vr=Ht(Nn,kn);return Jn*10+vr}var mr=pe.useCallback(function(kn){if(sn[0]||vn&&vn(kn))return!0;if(sn[1]&&Qn)return!bn(Nn,kn,Qn)&&Nn.isAfter(kn,Qn);if(!Ae&&Qn)switch(Le){case"quarter":return er(kn)>er(Qn);case"month":return $n(kn)>$n(Qn);case"week":return zr(kn)>zr(Qn);default:return!bn(Nn,kn,Qn)&&Nn.isAfter(kn,Qn)}return!1},[vn,sn[1],Qn,Ae]),yr=pe.useCallback(function(kn){if(sn[1]||vn&&vn(kn))return!0;if(sn[0]&&Tn)return!bn(Nn,kn,Qn)&&Nn.isAfter(Tn,kn);if(!Ae&&Tn)switch(Le){case"quarter":return er(kn)<er(Tn);case"month":return $n(kn)<$n(Tn);case"week":return zr(kn)<zr(Tn);default:return!bn(Nn,kn,Tn)&&Nn.isAfter(Tn,kn)}return!1},[vn,sn[0],Tn,Ae]);return[mr,yr]}var xr=se(70425),li=se(6089);function Ci(ye,Ae,Le,gt,bt,vn,sn,Nn,Tn,Qn){var zr=pe.useState(!1),$n=(0,xt.Z)(zr,2),er=$n[0],mr=$n[1],yr=(0,xr.useMergedState)(ye||!1,{value:Ae}),kn=(0,xt.Z)(yr,2),Jn=kn[0],vr=kn[1],bi=(0,xr.useMergedState)(ye||!1,{value:Ae,onChange:function(ba){Qn==null||Qn(ba)}}),ri=(0,xt.Z)(bi,2),vi=ri[0],xi=ri[1],mi=(0,xr.useMergedState)(0,{value:Le}),ai=(0,xt.Z)(mi,2),ta=ai[0],Zi=ai[1],ea=pe.useState(null),Ca=(0,xt.Z)(ea,2),Ba=Ca[0],Fa=Ca[1];pe.useEffect(function(){vi&&mr(!0)},[vi]);var Va=function(ba){return ba===0?1:0},oa=(0,li.Z)(function(sa,ba,Wa){if(ba===!1)xi(sa);else if(sa){Zi(ba),xi(sa);var Ya=Va(ba);!vi||![sn,Nn][Ya]?Fa(Ya):(mr(!1),Ba!==null&&Fa(null))}else if(Wa==="confirm"||Wa==="blur"&>){var Ia=Jn?Va(ba):Ba;Ia!==null&&(mr(!1),Zi(Ia)),Fa(null),Ia!==null&&!Tn[Ia]?(0,Vn.Z)(function(){var Za,io=[bt,vn][Ia];(Za=io.current)===null||Za===void 0||Za.focus()}):xi(!1)}else xi(!1),vr(!1)});return[vi,ta,er,oa]}function Ui(ye,Ae,Le,gt){var bt=We(ye,Le,gt,1);function vn(sn){return sn(ye,Ae)?"same":sn(bt,Ae)?"closing":"far"}switch(Le){case"year":return vn(function(sn,Nn){return Dt(gt,sn,Nn)});case"quarter":case"month":return vn(function(sn,Nn){return Lt(gt,sn,Nn)});default:return vn(function(sn,Nn){return zt(gt,sn,Nn)})}}function Si(ye,Ae,Le,gt){var bt=Zt(ye,0),vn=Zt(ye,1);if(Ae===0)return bt;if(bt&&vn){var sn=Ui(bt,vn,Le,gt);switch(sn){case"same":return bt;case"closing":return bt;default:return We(vn,Le,gt,-1)}}return bt}function gi(ye){var Ae=ye.values,Le=ye.picker,gt=ye.defaultDates,bt=ye.generateConfig,vn=pe.useState(function(){return[Zt(gt,0),Zt(gt,1)]}),sn=(0,xt.Z)(vn,2),Nn=sn[0],Tn=sn[1],Qn=pe.useState(null),zr=(0,xt.Z)(Qn,2),$n=zr[0],er=zr[1],mr=Zt(Ae,0),yr=Zt(Ae,1);function kn(vr){return Nn[vr]?Nn[vr]:Zt($n,vr)||Si(Ae,vr,Le,bt)||mr||yr||bt.getNow()}function Jn(vr,bi){if(vr){var ri=Dn($n,vr,bi);Tn(Dn(Nn,null,bi)||[null,null]);var vi=(bi+1)%2;Zt(Ae,vi)||(ri=Dn(ri,vr,vi)),er(ri)}else(mr||yr)&&er(null)}return[kn,Jn]}function Ki(ye,Ae){return ye&&ye[0]&&ye[1]&&Ae.isAfter(ye[0],ye[1])?[ye[1],ye[0]]:ye}function da(ye,Ae,Le,gt){return!!(ye||gt&>[Ae]||Le[(Ae+1)%2])}function Da(ye){var Ae,Le,gt,bt=ye,vn=bt.prefixCls,sn=vn===void 0?"rc-picker":vn,Nn=bt.id,Tn=bt.style,Qn=bt.className,zr=bt.popupStyle,$n=bt.dropdownClassName,er=bt.transitionName,mr=bt.dropdownAlign,yr=bt.getPopupContainer,kn=bt.generateConfig,Jn=bt.locale,vr=bt.placeholder,bi=bt.autoFocus,ri=bt.disabled,vi=bt.format,xi=bt.picker,mi=xi===void 0?"date":xi,ai=bt.showTime,ta=bt.use12Hours,Zi=bt.separator,ea=Zi===void 0?"~":Zi,Ca=bt.value,Ba=bt.defaultValue,Fa=bt.defaultPickerValue,Va=bt.open,oa=bt.defaultOpen,sa=bt.disabledDate,ba=bt.disabledTime,Wa=bt.dateRender,Ya=bt.monthCellRender,Ia=bt.cellRender,Za=bt.panelRender,io=bt.presets,Bo=bt.ranges,$o=bt.allowEmpty,So=bt.allowClear,es=bt.suffixIcon,lo=bt.clearIcon,Lo=bt.pickerRef,Sa=bt.inputReadOnly,Oa=bt.mode,xa=bt.renderExtraFooter,_a=bt.onChange,ds=bt.onOpenChange,ma=bt.onPanelChange,vo=bt.onCalendarChange,Eo=bt.onFocus,ts=bt.onBlur,fs=bt.onMouseDown,uo=bt.onMouseUp,Ho=bt.onMouseEnter,$s=bt.onMouseLeave,tl=bt.onClick,hs=bt.onOk,wl=bt.onKeyDown,au=bt.components,Cl=bt.order,ns=bt.direction,el=bt.activePickerIndex,ps=bt.autoComplete,ou=ps===void 0?"off":ps,nl=bt.changeOnBlur,$a=mi==="date"&&!!ai||mi==="time",eo=(0,pe.useRef)(null),Ls=(0,pe.useRef)(null),hl=(0,pe.useRef)(null),Io=(0,pe.useRef)(null),fa=(0,pe.useRef)(null),Po=(0,pe.useRef)(null),Uo=(0,pe.useRef)(null),ao=(0,pe.useRef)(null),Cs=Gt(pi(vi,mi,ai,ta)),pl=(0,pe.useRef)(null),co=pe.useMemo(function(){return Array.isArray(ri)?ri:[ri||!1,ri||!1]},[ri]),Ss=(0,ve.Z)(null,{value:Ca,defaultValue:Ba,postState:function(Fi){return mi==="time"&&!Cl?Fi:Ki(Fi,kn)}}),rl=(0,xt.Z)(Ss,2),Ta=rl[0],ml=rl[1],Gs=gi({values:Ta,picker:mi,defaultDates:Fa,generateConfig:kn}),rs=(0,xt.Z)(Gs,2),Sl=rs[0],il=rs[1],Zl=(0,ve.Z)(Ta,{postState:function(Fi){var Oi=Fi;if(co[0]&&co[1])return Oi;for(var Ea=0;Ea<2;Ea+=1)co[Ea]&&!Oi&&!Zt(Oi,Ea)&&!Zt($o,Ea)&&(Oi=Dn(Oi,kn.getNow(),Ea));return Oi}}),gl=(0,xt.Z)(Zl,2),qi=gl[0],ki=gl[1],ha=(0,ve.Z)([mi,mi],{value:Oa}),fo=(0,xt.Z)(ha,2),Us=fo[0],Au=fo[1];(0,pe.useEffect)(function(){Au([mi,mi])},[mi]);var jl=function(Fi,Oi){Au(Fi),ma&&ma(Oi,Fi)},Mu=Ci(oa,Va,el,nl,Po,Uo,Zt(qi,0),Zt(qi,1),co,ds),Vl=(0,xt.Z)(Mu,4),is=Vl[0],na=Vl[1],El=Vl[2],Ys=Vl[3],Pl=is&&na===0,Ai=is&&na===1,Qs=ui({picker:mi,selectedValue:qi,locale:Jn,disabled:co,disabledDate:sa,generateConfig:kn},!is||El),Nu=(0,xt.Z)(Qs,2),zu=Nu[0],ms=Nu[1],Oo=(0,pe.useState)(0),su=(0,xt.Z)(Oo,2),ko=su[0],Vi=su[1];(0,pe.useEffect)(function(){!is&&eo.current&&Vi(eo.current.offsetWidth)},[is]);function Ko(Ra){Ys(!0,Ra,"open"),(0,Vn.Z)(function(){var Fi,Oi=[Po,Uo][Ra];(Fi=Oi.current)===null||Fi===void 0||Fi.focus()},0)}function to(Ra,Fi){var Oi=Ra,Ea=Zt(Oi,0),Ao=Zt(Oi,1);Ea&&Ao&&kn.isAfter(Ea,Ao)&&(mi==="week"&&!Mt(kn,Jn.locale,Ea,Ao)||mi==="quarter"&&!Qt(kn,Ea,Ao)||mi!=="week"&&mi!=="quarter"&&mi!=="time"&&!bn(kn,Ea,Ao)?Fi===0?(Oi=[Ea,null],Ao=null):(Ea=null,Oi=[null,Ao]):(mi!=="time"||Cl!==!1)&&(Oi=Ki(Oi,kn))),ki(Oi);var vu=Oi&&Oi[0]?Ue(Oi[0],{generateConfig:kn,locale:Jn,format:Cs[0]}):"",Ms=Oi&&Oi[1]?Ue(Oi[1],{generateConfig:kn,locale:Jn,format:Cs[0]}):"";if(vo){var Ql={range:Fi===0?"start":"end"};vo(Oi,[vu,Ms],Ql)}var kl=da(Ea,0,co,$o),gc=da(Ao,1,co,$o),Lu=Oi===null||kl&&gc;Lu&&(ml(Oi),_a&&(!tn(kn,Zt(Ta,0),Ea)||!tn(kn,Zt(Ta,1),Ao))&&_a(Oi,[vu,Ms]))}var Ac=function(Fi){return is&&pl.current&&pl.current.onKeyDown?pl.current.onKeyDown(Fi):((0,ze.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Fl={formatList:Cs,generateConfig:kn,locale:Jn},Wc=xn(Zt(qi,0),Fl),oc=(0,xt.Z)(Wc,2),Al=oc[0],Zc=oc[1],_l=xn(Zt(qi,1),Fl),sc=(0,xt.Z)(_l,2),Il=sc[0],pd=sc[1],ku=function(Fi,Oi){var Ea=nn(Fi,{locale:Jn,formatList:Cs,generateConfig:kn}),Ao=Oi===0?zu:ms;Ea&&!Ao(Ea)&&(ki(Dn(qi,Ea,Oi)),il(Ea,Oi))},md=Fe({valueTexts:Al,onTextChange:function(Fi){return ku(Fi,0)}}),Mc=(0,xt.Z)(md,3),lu=Mc[0],Hu=Mc[1],Gl=Mc[2],Ku=Fe({valueTexts:Il,onTextChange:function(Fi){return ku(Fi,1)}}),uu=(0,xt.Z)(Ku,3),lc=uu[0],jc=uu[1],Vc=uu[2],cu=(0,pe.useState)(null),Ol=(0,xt.Z)(cu,2),wa=Ol[0],yo=Ol[1],du=(0,pe.useState)(null),_c=(0,xt.Z)(du,2),Es=_c[0],Gc=_c[1],Wo=Un(lu,{formatList:Cs,generateConfig:kn,locale:Jn}),uc=(0,xt.Z)(Wo,3),gd=uc[0],Wd=uc[1],cc=uc[2],Wu=Un(lc,{formatList:Cs,generateConfig:kn,locale:Jn}),fu=(0,xt.Z)(Wu,3),Vr=fu[0],Uc=fu[1],Zu=fu[2],kc=function(Fi){Gc(Dn(qi,Fi,na)),na===0?Wd(Fi):Uc(Fi)},Ml=function(){Gc(Dn(qi,null,na)),na===0?cc():Zu()},dc=pe.useState(is),fc=(0,xt.Z)(dc,2),hc=fc[0],oo=fc[1];pe.useEffect(function(){oo(is)},[is]);var Zd=function(Fi){if(nl&&hc){var Oi=Zt(qi,na);Oi&&to(qi,na)}return ts==null?void 0:ts(Fi)},Dc=function(Fi,Oi){return{blurToCancel:!nl&&$a,forwardKeyDown:Ac,onBlur:Zd,isClickOutside:function(Ao){return!ir([Ls.current,hl.current,Io.current,eo.current],Ao)},onFocus:function(Ao){Eo&&Eo(Ao)},triggerOpen:function(Ao){Ao?Ys(Ao,Fi,"open"):Ys(Ao,Zt(qi,Fi)?Fi:!1,"blur")},onSubmit:function(){if(!qi||sa&&sa(qi[Fi]))return!1;to(qi,Fi),Oi(),Ys(!1,na,"confirm")},onCancel:function(){Ys(!1,Fi,"cancel"),ki(Ta),Oi()}}},Tl={onKeyDown:function(Fi,Oi){wl==null||wl(Fi,Oi)},changeOnBlur:nl},pc=Bn((0,Bt.Z)((0,Bt.Z)({},Dc(0,Gl)),{},{open:Pl,value:lu},Tl)),Ul=(0,xt.Z)(pc,2),Du=Ul[0],Ps=Ul[1],al=Ps.focused,gs=Ps.typing,Rl=Bn((0,Bt.Z)((0,Bt.Z)({},Dc(1,Vc)),{},{open:Ai,value:lc},Tl)),hu=(0,xt.Z)(Rl,2),Nl=hu[0],Bu=hu[1],Bc=Bu.focused,Lc=Bu.typing,vd=function(Fi){tl&&tl(Fi),!is&&!Po.current.contains(Fi.target)&&!Uo.current.contains(Fi.target)&&(co[0]?co[1]||Ko(1):Ko(0))},Yo=function(Fi){fs&&fs(Fi),is&&(al||Bc)&&!Po.current.contains(Fi.target)&&!Uo.current.contains(Fi.target)&&Fi.preventDefault()},zl=Ta&&Ta[0]?Ue(Ta[0],{locale:Jn,format:"YYYYMMDDHHmmss",generateConfig:kn}):"",jd=Ta&&Ta[1]?Ue(Ta[1],{locale:Jn,format:"YYYYMMDDHHmmss",generateConfig:kn}):"";(0,pe.useEffect)(function(){is||(ki(Ta),!Al.length||Al[0]===""?Hu(""):Zc!==lu&&Gl(),!Il.length||Il[0]===""?jc(""):pd!==lc&&Vc())},[is,Al,Il]),(0,pe.useEffect)(function(){ki(Ta)},[zl,jd]);var pu=ct({cellRender:Ia,monthCellRender:Ya,dateRender:Wa}),Pc=pe.useMemo(function(){if(pu)return function(Ra,Fi){return pu(Ra,(0,Bt.Z)((0,Bt.Z)({},Fi),{},{range:na?"end":"start"}))}},[na,pu]);Lo&&(Lo.current={focus:function(){Po.current&&Po.current.focus()},blur:function(){Po.current&&Po.current.blur(),Uo.current&&Uo.current.blur()}});var La=Cr(io,Bo);function mu(){var Ra=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Fi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oi=null;is&&Es&&Es[0]&&Es[1]&&kn.isAfter(Es[1],Es[0])&&(Oi=Es);var Ea=ai;if(ai&&(0,Ne.Z)(ai)==="object"&&ai.defaultValue){var Ao=ai.defaultValue;Ea=(0,Bt.Z)((0,Bt.Z)({},ai),{},{defaultValue:Zt(Ao,na)||void 0})}return pe.createElement(Sn.Provider,{value:{inRange:!0,panelPosition:Ra,rangedValue:wa||qi,hoverRangedValue:Oi}},pe.createElement($i,(0,Ke.Z)({},ye,Fi,{cellRender:Pc,showTime:Ea,mode:Us[na],generateConfig:kn,style:void 0,direction:ns,disabledDate:na===0?zu:ms,disabledTime:function(Ms){return ba?ba(Ms,na===0?"start":"end"):!1},className:Ve()((0,kt.Z)({},"".concat(sn,"-panel-focused"),na===0?!gs:!Lc)),value:Zt(qi,na),locale:Jn,tabIndex:-1,onPanelChange:function(Ms,Ql){na===0&&cc(!0),na===1&&Zu(!0),jl(Dn(Us,Ql,na),Dn(qi,Ms,na));var kl=Ms;Ra==="right"&&Us[na]===Ql&&(kl=We(kl,Ql,kn,-1)),il(kl,na)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:na===0?Zt(qi,1):Zt(qi,0)})))}var Ns=0,ju=0;if(na&&hl.current&&fa.current&&Ls.current&&ao.current){Ns=hl.current.offsetWidth+fa.current.offsetWidth;var ar=ao.current.offsetLeft>Ns?ao.current.offsetLeft-Ns:ao.current.offsetLeft,Yc=Ls.current.offsetWidth,Qc=ao.current.offsetWidth;Yc&&Qc&&Ns>Yc-Qc-(ns==="rtl"?0:ar)&&(ju=Ns)}var Xc=ns==="rtl"?{right:Ns}:{left:Ns};function Jc(){var Ra,Fi=Pi(sn,Us[na],xa),Oi=zi({prefixCls:sn,components:au,needConfirmButton:$a,okDisabled:!Zt(qi,na)||sa&&sa(qi[na]),locale:Jn,onOk:function(){var vl=Zt(qi,na);vl&&(to(qi,na),hs==null||hs(qi),Ys(!1,na,"confirm"))}});if(mi!=="time"&&!ai){var Ea=Sl(na),Ao=We(Ea,mi,kn),vu=Us[na],Ms=vu===mi,Ql=mu(Ms?"left":!1,{pickerValue:Ea,onPickerValueChange:function(vl){il(vl,na)}}),kl=mu("right",{pickerValue:Ao,onPickerValueChange:function(vl){il(We(vl,mi,kn,-1),na)}});ns==="rtl"?Ra=pe.createElement(pe.Fragment,null,kl,Ms&&Ql):Ra=pe.createElement(pe.Fragment,null,Ql,Ms&&kl)}else Ra=mu();var gc=pe.createElement("div",{className:"".concat(sn,"-panel-layout")},pe.createElement(or,{prefixCls:sn,presets:La,onClick:function(vl){to(vl,null),Ys(!1,na,"preset")},onHover:function(vl){yo(vl)}}),pe.createElement("div",null,pe.createElement("div",{className:"".concat(sn,"-panels")},Ra),(Fi||Oi)&&pe.createElement("div",{className:"".concat(sn,"-footer")},Fi,Oi)));return Za&&(gc=Za(gc)),pe.createElement("div",{className:"".concat(sn,"-panel-container"),style:{marginLeft:ju},ref:Ls,onMouseDown:function(vl){vl.preventDefault()}},gc)}var Yl=pe.createElement("div",{className:Ve()("".concat(sn,"-range-wrapper"),"".concat(sn,"-").concat(mi,"-range-wrapper")),style:{minWidth:ko}},pe.createElement("div",{ref:ao,className:"".concat(sn,"-range-arrow"),style:Xc}),Jc()),Vu;es&&(Vu=pe.createElement("span",{className:"".concat(sn,"-suffix"),onMouseDown:function(Fi){Fi.preventDefault()}},es));var Vd=On(sn,So,lo),As=pe.createElement("span",{onMouseDown:function(Fi){Fi.preventDefault(),Fi.stopPropagation()},onMouseUp:function(Fi){Fi.preventDefault(),Fi.stopPropagation();var Oi=Ta;co[0]||(Oi=Dn(Oi,null,0)),co[1]||(Oi=Dn(Oi,null,1)),to(Oi,null),Ys(!1,na,"clear")},className:"".concat(sn,"-clear"),role:"button"},Vd),gu=So&&(Zt(Ta,0)&&!co[0]||Zt(Ta,1)&&!co[1]),mc={size:Rr(mi,Cs[0],kn)},_u=0,qc=0;hl.current&&Io.current&&fa.current&&(na===0?qc=hl.current.offsetWidth:(_u=Ns,qc=Io.current.offsetWidth));var yd=ns==="rtl"?{right:_u}:{left:_u},$c=function(Fi,Oi){var Ea=Dn(qi,Fi,na);if(Oi==="submit"||Oi!=="key"&&!$a){to(Ea,na),na===0?cc():Zu();var Ao=na===0?1:0;co[Ao]?Ys(!1,!1,"confirm"):Ys(!1,na,"confirm")}else ki(Ea)};return pe.createElement(Re.Provider,{value:{operationRef:pl,hideHeader:mi==="time",onDateMouseEnter:kc,onDateMouseLeave:Ml,hideRanges:!0,onSelect:$c,open:is}},pe.createElement(Rn,{visible:is,popupElement:Yl,popupStyle:zr,prefixCls:sn,dropdownClassName:$n,dropdownAlign:mr,getPopupContainer:yr,transitionName:er,range:!0,direction:ns},pe.createElement("div",(0,Ke.Z)({ref:eo,className:Ve()(sn,"".concat(sn,"-range"),Qn,(Ae={},(0,kt.Z)(Ae,"".concat(sn,"-disabled"),co[0]&&co[1]),(0,kt.Z)(Ae,"".concat(sn,"-focused"),na===0?al:Bc),(0,kt.Z)(Ae,"".concat(sn,"-rtl"),ns==="rtl"),Ae)),style:Tn,onClick:vd,onMouseEnter:Ho,onMouseLeave:$s,onMouseDown:Yo,onMouseUp:uo},(0,ce.Z)(ye,{aria:!0,data:!0})),pe.createElement("div",{className:Ve()("".concat(sn,"-input"),(Le={},(0,kt.Z)(Le,"".concat(sn,"-input-active"),na===0),(0,kt.Z)(Le,"".concat(sn,"-input-placeholder"),!!gd),Le)),ref:hl},pe.createElement("input",(0,Ke.Z)({id:Nn,disabled:co[0],readOnly:Sa||typeof Cs[0]=="function"||!gs,value:gd||lu,onChange:function(Fi){Hu(Fi.target.value)},autoFocus:bi,placeholder:Zt(vr,0)||"",ref:Po},Du,mc,{autoComplete:ou}))),pe.createElement("div",{className:"".concat(sn,"-range-separator"),ref:fa},ea),pe.createElement("div",{className:Ve()("".concat(sn,"-input"),(gt={},(0,kt.Z)(gt,"".concat(sn,"-input-active"),na===1),(0,kt.Z)(gt,"".concat(sn,"-input-placeholder"),!!Vr),gt)),ref:Io},pe.createElement("input",(0,Ke.Z)({disabled:co[1],readOnly:Sa||typeof Cs[0]=="function"||!Lc,value:Vr||lc,onChange:function(Fi){jc(Fi.target.value)},placeholder:Zt(vr,1)||"",ref:Uo},Nl,mc,{autoComplete:ou}))),pe.createElement("div",{className:"".concat(sn,"-active-bar"),style:(0,Bt.Z)((0,Bt.Z)({},yd),{},{width:qc,position:"absolute"})}),Vu,gu&&As)))}var no=function(ye){(0,Kt.Z)(Le,ye);var Ae=(0,yn.Z)(Le);function Le(){var gt;(0,tt.Z)(this,Le);for(var bt=arguments.length,vn=new Array(bt),sn=0;sn<bt;sn++)vn[sn]=arguments[sn];return gt=Ae.call.apply(Ae,[this].concat(vn)),(0,kt.Z)((0,fn.Z)(gt),"pickerRef",pe.createRef()),(0,kt.Z)((0,fn.Z)(gt),"focus",function(){gt.pickerRef.current&>.pickerRef.current.focus()}),(0,kt.Z)((0,fn.Z)(gt),"blur",function(){gt.pickerRef.current&>.pickerRef.current.blur()}),gt}return(0,At.Z)(Le,[{key:"render",value:function(){return pe.createElement(Da,(0,Ke.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),Le}(pe.Component),Ro=no,ul=Di,Vo=se(19080),Mo=se(36355),so=se(1684),Is=se(19716),No=se(32441),ls=se(9763),qs=se(33234),Os=se(48183),go=se(64993),Ua=se(9937),Ma=se(17313),js=se(47585),xl=se(74207),_o=se(13826),va=se(92899),aa=se(37613),Qa=se(83116);const zo=(ye,Ae,Le,gt)=>{const{lineHeight:bt}=ye,vn=Math.floor(Le*bt)+2,sn=Math.max((Ae-vn)/2,0),Nn=Math.max(Ae-vn-sn,0);return{padding:`${sn}px ${gt}px ${Nn}px`}},ro=ye=>{const{componentCls:Ae,pickerCellCls:Le,pickerCellInnerCls:gt,cellHeight:bt,motionDurationSlow:vn,borderRadiusSM:sn,motionDurationMid:Nn,cellHoverBg:Tn,lineWidth:Qn,lineType:zr,colorPrimary:$n,cellActiveWithRangeBg:er,colorTextLightSolid:mr,controlHeightSM:yr,cellRangeBorderColor:kn,pickerCellBorderGap:Jn,cellHoverWithRangeBg:vr,cellWidth:bi,colorTextDisabled:ri,cellBgDisabled:vi}=ye;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:bt,transform:"translateY(-50%)",transition:`all ${vn}`,content:'""'},[gt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:bt,height:bt,lineHeight:`${bt}px`,borderRadius:sn,transition:`background ${Nn}, border ${Nn}`},"&-range-hover-start, &-range-hover-end":{[gt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${Le}-in-view),
|
|
|
&:hover:not(${Le}-selected):not(${Le}-range-start):not(${Le}-range-end):not(${Le}-range-hover-start):not(${Le}-range-hover-end)`]:{[gt]:{background:Tn}},[`&-in-view${Le}-today ${gt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Qn}px ${zr} ${$n}`,borderRadius:sn,content:'""'}},[`&-in-view${Le}-in-range`]:{position:"relative","&::before":{background:er}},[`&-in-view${Le}-selected ${gt},
|
|
|
&-in-view${Le}-range-start ${gt},
|
|
|
&-in-view${Le}-range-end ${gt}`]:{color:mr,background:$n},[`&-in-view${Le}-range-start:not(${Le}-range-start-single),
|
|
|
&-in-view${Le}-range-end:not(${Le}-range-end-single)`]:{"&::before":{background:er}},[`&-in-view${Le}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${Le}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${Le}-range-hover-start:not(${Le}-in-range):not(${Le}-range-start):not(${Le}-range-end),
|
|
|
&-in-view${Le}-range-hover-end:not(${Le}-in-range):not(${Le}-range-start):not(${Le}-range-end),
|
|
|
&-in-view${Le}-range-hover-start${Le}-range-start-single,
|
|
|
&-in-view${Le}-range-hover-start${Le}-range-start${Le}-range-end${Le}-range-end-near-hover,
|
|
|
&-in-view${Le}-range-hover-end${Le}-range-start${Le}-range-end${Le}-range-start-near-hover,
|
|
|
&-in-view${Le}-range-hover-end${Le}-range-end-single,
|
|
|
&-in-view${Le}-range-hover:not(${Le}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:yr,borderTop:`${Qn}px dashed ${kn}`,borderBottom:`${Qn}px dashed ${kn}`,transform:"translateY(-50%)",transition:`all ${vn}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Jn},[`&-in-view${Le}-in-range${Le}-range-hover::before,
|
|
|
&-in-view${Le}-in-range${Le}-range-hover-start::before,
|
|
|
&-in-view${Le}-in-range${Le}-range-hover-end::before,
|
|
|
&-in-view${Le}-range-start${Le}-range-hover::before,
|
|
|
&-in-view${Le}-range-end${Le}-range-hover::before,
|
|
|
&-in-view${Le}-range-start:not(${Le}-range-start-single)${Le}-range-hover-start::before,
|
|
|
&-in-view${Le}-range-end:not(${Le}-range-end-single)${Le}-range-hover-end::before,
|
|
|
${Ae}-panel
|
|
|
> :not(${Ae}-date-panel)
|
|
|
&-in-view${Le}-in-range${Le}-range-hover-start::before,
|
|
|
${Ae}-panel
|
|
|
> :not(${Ae}-date-panel)
|
|
|
&-in-view${Le}-in-range${Le}-range-hover-end::before`]:{background:vr},[`&-in-view${Le}-range-start:not(${Le}-range-start-single):not(${Le}-range-end) ${gt}`]:{borderStartStartRadius:sn,borderEndStartRadius:sn,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Le}-range-end:not(${Le}-range-end-single):not(${Le}-range-start) ${gt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:sn,borderEndEndRadius:sn},[`&-range-hover${Le}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${Le}-range-hover:first-child::after,
|
|
|
tr > &-in-view${Le}-range-hover-end:first-child::after,
|
|
|
&-in-view${Le}-start${Le}-range-hover-edge-start${Le}-range-hover-edge-start-near-range::after,
|
|
|
&-in-view${Le}-range-hover-edge-start:not(${Le}-range-hover-edge-start-near-range)::after,
|
|
|
&-in-view${Le}-range-hover-start::after`]:{insetInlineStart:(bi-bt)/2,borderInlineStart:`${Qn}px dashed ${kn}`,borderStartStartRadius:sn,borderEndStartRadius:sn},[`tr > &-in-view${Le}-range-hover:last-child::after,
|
|
|
tr > &-in-view${Le}-range-hover-start:last-child::after,
|
|
|
&-in-view${Le}-end${Le}-range-hover-edge-end${Le}-range-hover-edge-end-near-range::after,
|
|
|
&-in-view${Le}-range-hover-edge-end:not(${Le}-range-hover-edge-end-near-range)::after,
|
|
|
&-in-view${Le}-range-hover-end::after`]:{insetInlineEnd:(bi-bt)/2,borderInlineEnd:`${Qn}px dashed ${kn}`,borderStartEndRadius:sn,borderEndEndRadius:sn},"&-disabled":{color:ri,pointerEvents:"none",[gt]:{background:"transparent"},"&::before":{background:vi}},[`&-disabled${Le}-today ${gt}::before`]:{borderColor:ri}}},us=ye=>{const{componentCls:Ae,pickerCellCls:Le,pickerCellInnerCls:gt,pickerYearMonthCellWidth:bt,pickerControlIconSize:vn,cellWidth:sn,paddingSM:Nn,paddingXS:Tn,paddingXXS:Qn,colorBgContainer:zr,lineWidth:$n,lineType:er,borderRadiusLG:mr,colorPrimary:yr,colorTextHeading:kn,colorSplit:Jn,pickerControlIconBorderWidth:vr,colorIcon:bi,textHeight:ri,motionDurationMid:vi,colorIconHover:xi,fontWeightStrong:mi,cellHeight:ai,pickerCellPaddingVertical:ta,colorTextDisabled:Zi,colorText:ea,fontSize:Ca,cellHoverWithRangeBg:Ba,motionDurationSlow:Fa,withoutTimeCellHeight:Va,pickerQuarterPanelContentHeight:oa,colorLink:sa,colorLinkActive:ba,colorLinkHover:Wa,cellRangeBorderColor:Ya,borderRadiusSM:Ia,colorTextLightSolid:Za,cellHoverBg:io,timeColumnHeight:Bo,timeColumnWidth:$o,timeCellHeight:So,controlItemBgActive:es,marginXXS:lo,pickerDatePanelPaddingHorizontal:Lo}=ye,Sa=sn*7+Lo*2,Oa=(Sa-Tn*2)/3-bt-Nn,xa=(Sa-Tn*2)/4-bt;return{[Ae]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:zr,border:`${$n}px ${er} ${Jn}`,borderRadius:mr,outline:"none","&-focused":{borderColor:yr},"&-rtl":{direction:"rtl",[`${Ae}-prev-icon,
|
|
|
${Ae}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Ae}-next-icon,
|
|
|
${Ae}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Sa},"&-header":{display:"flex",padding:`0 ${Tn}px`,color:kn,borderBottom:`${$n}px ${er} ${Jn}`,"> *":{flex:"none"},button:{padding:0,color:bi,lineHeight:`${ri}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${vi}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:Ca,"&:hover":{color:xi}},"&-view":{flex:"auto",fontWeight:mi,lineHeight:`${ri}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Tn},"&:hover":{color:yr}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:vn,height:vn,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:vr,borderBlockEndWidth:0,borderInlineStartWidth:vr,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(vn/2),insetInlineStart:Math.ceil(vn/2),display:"inline-block",width:vn,height:vn,border:"0 solid currentcolor",borderBlockStartWidth:vr,borderBlockEndWidth:0,borderInlineStartWidth:vr,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:ai,fontWeight:"normal"},th:{height:ai+ta*2,color:ea,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ta}px 0`,color:Zi,cursor:"pointer","&-in-view":{color:ea}},ro(ye)),[`&-date-panel ${Ae}-cell-in-view${Ae}-cell-in-range${Ae}-cell-range-hover-start ${gt},
|
|
|
&-date-panel ${Ae}-cell-in-view${Ae}-cell-in-range${Ae}-cell-range-hover-end ${gt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:Ba,transition:`all ${Fa}`,content:'""'}},[`&-date-panel
|
|
|
${Ae}-cell-in-view${Ae}-cell-in-range${Ae}-cell-range-hover-start
|
|
|
${gt}::after`]:{insetInlineEnd:-(sn-ai)/2,insetInlineStart:0},[`&-date-panel ${Ae}-cell-in-view${Ae}-cell-in-range${Ae}-cell-range-hover-end ${gt}::after`]:{insetInlineEnd:0,insetInlineStart:-(sn-ai)/2},[`&-range-hover${Ae}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ae}-content`]:{height:Va*4},[gt]:{padding:`0 ${Tn}px`}},"&-quarter-panel":{[`${Ae}-content`]:{height:oa},[`${Ae}-cell-range-hover-start::after`]:{insetInlineStart:xa,borderInlineStart:`${$n}px dashed ${Ya}`,[`${Ae}-panel-rtl &`]:{insetInlineEnd:xa,borderInlineEnd:`${$n}px dashed ${Ya}`}},[`${Ae}-cell-range-hover-end::after`]:{insetInlineEnd:xa,borderInlineEnd:`${$n}px dashed ${Ya}`,[`${Ae}-panel-rtl &`]:{insetInlineStart:xa,borderInlineStart:`${$n}px dashed ${Ya}`}}},[`&-panel ${Ae}-footer`]:{borderTop:`${$n}px ${er} ${Jn}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${ri-2*$n}px`,textAlign:"center","&-extra":{padding:`0 ${Nn}px`,lineHeight:`${ri-2*$n}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${$n}px ${er} ${Jn}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:sa,"&:hover":{color:Wa},"&:active":{color:ba},[`&${Ae}-today-btn-disabled`]:{color:Zi,cursor:"not-allowed"}},"&-decade-panel":{[gt]:{padding:`0 ${Tn/2}px`},[`${Ae}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ae}-body`]:{padding:`0 ${Tn}px`},[gt]:{width:bt},[`${Ae}-cell-range-hover-start::after`]:{borderStartStartRadius:Ia,borderEndStartRadius:Ia,borderStartEndRadius:0,borderEndEndRadius:0,[`${Ae}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ia,borderEndEndRadius:Ia}},[`${Ae}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ia,borderEndEndRadius:Ia,[`${Ae}-panel-rtl &`]:{borderStartStartRadius:Ia,borderEndStartRadius:Ia,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Ae}-cell-range-hover-start::after`]:{insetInlineStart:Oa,borderInlineStart:`${$n}px dashed ${Ya}`,[`${Ae}-panel-rtl &`]:{insetInlineEnd:Oa,borderInlineEnd:`${$n}px dashed ${Ya}`}},[`${Ae}-cell-range-hover-end::after`]:{insetInlineEnd:Oa,borderInlineEnd:`${$n}px dashed ${Ya}`,[`${Ae}-panel-rtl &`]:{insetInlineStart:Oa,borderInlineStart:`${$n}px dashed ${Ya}`}}},"&-week-panel":{[`${Ae}-body`]:{padding:`${Tn}px ${Nn}px`},[`${Ae}-cell`]:{[`&:hover ${gt},
|
|
|
&-selected ${gt},
|
|
|
${gt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${vi}`},"&:first-child:before":{borderStartStartRadius:Ia,borderEndStartRadius:Ia},"&:last-child:before":{borderStartEndRadius:Ia,borderEndEndRadius:Ia}},"&:hover td":{"&:before":{background:io}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${Le}`]:{"&:before":{background:yr},[`&${Ae}-cell-week`]:{color:new go.C(Za).setAlpha(.5).toHexString()},[gt]:{color:Za}}},"&-range-hover td:before":{background:es}}},"&-date-panel":{[`${Ae}-body`]:{padding:`${Tn}px ${Lo}px`},[`${Ae}-content`]:{width:sn*7,th:{width:sn,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Ae}-time-panel`]:{borderInlineStart:`${$n}px ${er} ${Jn}`},[`${Ae}-date-panel,
|
|
|
${Ae}-time-panel`]:{transition:`opacity ${Fa}`},"&-active":{[`${Ae}-date-panel,
|
|
|
${Ae}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Ae}-content`]:{display:"flex",flex:"auto",height:Bo},"&-column":{flex:"1 0 auto",width:$o,margin:`${Qn}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${vi}`,overflowX:"hidden","&::after":{display:"block",height:Bo-So,content:'""'},"&:not(:first-child)":{borderInlineStart:`${$n}px ${er} ${Jn}`},"&-active":{background:new go.C(es).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Ae}-time-panel-cell`]:{marginInline:lo,[`${Ae}-time-panel-cell-inner`]:{display:"block",width:$o-2*lo,height:So,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:($o-So)/2,color:ea,lineHeight:`${So}px`,borderRadius:Ia,cursor:"pointer",transition:`background ${vi}`,"&:hover":{background:io}},"&-selected":{[`${Ae}-time-panel-cell-inner`]:{background:es}},"&-disabled":{[`${Ae}-time-panel-cell-inner`]:{color:Zi,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Ae}-time-panel-column:after`]:{height:Bo-So+Qn*2}}}},bs=ye=>{const{componentCls:Ae,colorBgContainer:Le,colorError:gt,errorActiveShadow:bt,colorWarning:vn,warningActiveShadow:sn}=ye;return{[`${Ae}:not(${Ae}-disabled)`]:{[`&${Ae}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:Le,borderColor:gt},[`&${Ae}-focused, &:focus`]:Object.assign({},(0,Ua.M1)((0,aa.TS)(ye,{activeBorderColor:gt,activeShadow:bt}))),[`${Ae}-active-bar`]:{background:gt}},[`&${Ae}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:Le,borderColor:vn},[`&${Ae}-focused, &:focus`]:Object.assign({},(0,Ua.M1)((0,aa.TS)(ye,{activeBorderColor:vn,activeShadow:sn}))),[`${Ae}-active-bar`]:{background:vn}}}}},Ts=ye=>{const{componentCls:Ae,antCls:Le,controlHeight:gt,fontSize:bt,paddingInline:vn,colorBgContainer:sn,lineWidth:Nn,lineType:Tn,colorBorder:Qn,borderRadius:zr,motionDurationMid:$n,colorBgContainerDisabled:er,colorTextDisabled:mr,colorTextPlaceholder:yr,controlHeightLG:kn,fontSizeLG:Jn,controlHeightSM:vr,paddingInlineSM:bi,paddingXS:ri,marginXS:vi,colorTextDescription:xi,lineWidthBold:mi,lineHeight:ai,colorPrimary:ta,motionDurationSlow:Zi,zIndexPopup:ea,paddingXXS:Ca,paddingSM:Ba,textHeight:Fa,cellActiveWithRangeBg:Va,colorPrimaryBorder:oa,sizePopupArrow:sa,borderRadiusXS:ba,borderRadiusOuter:Wa,colorBgElevated:Ya,borderRadiusLG:Ia,boxShadowSecondary:Za,borderRadiusSM:io,colorSplit:Bo,cellHoverBg:$o,presetsWidth:So,presetsMaxWidth:es,boxShadowPopoverArrow:lo,colorTextQuaternary:Lo}=ye;return[{[Ae]:Object.assign(Object.assign(Object.assign({},(0,Ma.Wf)(ye)),zo(ye,gt,bt,vn)),{position:"relative",display:"inline-flex",alignItems:"center",background:sn,lineHeight:1,border:`${Nn}px ${Tn} ${Qn}`,borderRadius:zr,transition:`border ${$n}, box-shadow ${$n}`,"&:hover, &-focused":Object.assign({},(0,Ua.pU)(ye)),"&-focused":Object.assign({},(0,Ua.M1)(ye)),[`&${Ae}-disabled`]:{background:er,borderColor:Qn,cursor:"not-allowed",[`${Ae}-suffix`]:{color:Lo}},[`&${Ae}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Ae}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Ua.ik)(ye)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Ae}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:yr}}},"&-large":Object.assign(Object.assign({},zo(ye,kn,Jn,vn)),{[`${Ae}-input > input`]:{fontSize:Jn}}),"&-small":Object.assign({},zo(ye,vr,bt,bi)),[`${Ae}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:ri/2,color:mr,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:vi}}},[`${Ae}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:mr,lineHeight:1,background:sn,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${$n}, color ${$n}`,"> *":{verticalAlign:"top"},"&:hover":{color:xi}},[`${Ae}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Jn,color:mr,fontSize:Jn,verticalAlign:"top",cursor:"default",[`${Ae}-focused &`]:{color:xi},[`${Ae}-range-separator &`]:{[`${Ae}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Ae}-clear`]:{insetInlineEnd:vn},"&:hover":{[`${Ae}-clear`]:{opacity:1}},[`${Ae}-active-bar`]:{bottom:-Nn,height:mi,marginInlineStart:vn,background:ta,opacity:0,transition:`all ${Zi} ease-out`,pointerEvents:"none"},[`&${Ae}-focused`]:{[`${Ae}-active-bar`]:{opacity:1}},[`${Ae}-range-separator`]:{alignItems:"center",padding:`0 ${ri}px`,lineHeight:1},[`&${Ae}-small`]:{[`${Ae}-clear`]:{insetInlineEnd:bi},[`${Ae}-active-bar`]:{marginInlineStart:bi}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Ma.Wf)(ye)),us(ye)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ea,[`&${Ae}-dropdown-hidden`]:{display:"none"},[`&${Ae}-dropdown-placement-bottomLeft`]:{[`${Ae}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Ae}-dropdown-placement-topLeft`]:{[`${Ae}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Le}-slide-up-enter${Le}-slide-up-enter-active${Ae}-dropdown-placement-topLeft,
|
|
|
&${Le}-slide-up-enter${Le}-slide-up-enter-active${Ae}-dropdown-placement-topRight,
|
|
|
&${Le}-slide-up-appear${Le}-slide-up-appear-active${Ae}-dropdown-placement-topLeft,
|
|
|
&${Le}-slide-up-appear${Le}-slide-up-appear-active${Ae}-dropdown-placement-topRight`]:{animationName:_o.Qt},[`&${Le}-slide-up-enter${Le}-slide-up-enter-active${Ae}-dropdown-placement-bottomLeft,
|
|
|
&${Le}-slide-up-enter${Le}-slide-up-enter-active${Ae}-dropdown-placement-bottomRight,
|
|
|
&${Le}-slide-up-appear${Le}-slide-up-appear-active${Ae}-dropdown-placement-bottomLeft,
|
|
|
&${Le}-slide-up-appear${Le}-slide-up-appear-active${Ae}-dropdown-placement-bottomRight`]:{animationName:_o.fJ},[`&${Le}-slide-up-leave${Le}-slide-up-leave-active${Ae}-dropdown-placement-topLeft,
|
|
|
&${Le}-slide-up-leave${Le}-slide-up-leave-active${Ae}-dropdown-placement-topRight`]:{animationName:_o.ly},[`&${Le}-slide-up-leave${Le}-slide-up-leave-active${Ae}-dropdown-placement-bottomLeft,
|
|
|
&${Le}-slide-up-leave${Le}-slide-up-leave-active${Ae}-dropdown-placement-bottomRight`]:{animationName:_o.Uw},[`${Ae}-panel > ${Ae}-time-panel`]:{paddingTop:Ca},[`${Ae}-ranges`]:{marginBottom:0,padding:`${Ca}px ${Ba}px`,overflow:"hidden",lineHeight:`${Fa-2*Nn-ri/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Ae}-preset > ${Le}-tag-blue`]:{color:ta,background:Va,borderColor:oa,cursor:"pointer"},[`${Ae}-ok`]:{marginInlineStart:"auto"}},[`${Ae}-range-wrapper`]:{display:"flex",position:"relative"},[`${Ae}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:vn*1.5,transition:`left ${Zi} ease-out`},(0,js.r)(sa,ba,Wa,Ya,lo)),[`${Ae}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ya,borderRadius:Ia,boxShadow:Za,transition:`margin ${Zi}`,[`${Ae}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Ae}-presets`]:{display:"flex",flexDirection:"column",minWidth:So,maxWidth:es,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:ri,borderInlineEnd:`${Nn}px ${Tn} ${Bo}`,li:Object.assign(Object.assign({},Ma.vS),{borderRadius:io,paddingInline:ri,paddingBlock:(vr-Math.round(bt*ai))/2,cursor:"pointer",transition:`all ${Zi}`,"+ li":{marginTop:vi},"&:hover":{background:$o}})}},[`${Ae}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Ae}-panel`]:{borderWidth:`0 0 ${Nn}px`},"&:last-child":{[`${Ae}-panel`]:{borderWidth:0}}},[`${Ae}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Ae}-content,
|
|
|
table`]:{textAlign:"center"},"&-focused":{borderColor:Qn}}}}),"&-dropdown-range":{padding:`${sa*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Ae}-separator`]:{transform:"rotate(180deg)"},[`${Ae}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,_o.oN)(ye,"slide-up"),(0,_o.oN)(ye,"slide-down"),(0,va.Fm)(ye,"move-up"),(0,va.Fm)(ye,"move-down")]},cs=ye=>{const{componentCls:Ae,controlHeightLG:Le,paddingXXS:gt,padding:bt}=ye;return{pickerCellCls:`${Ae}-cell`,pickerCellInnerCls:`${Ae}-cell-inner`,pickerYearMonthCellWidth:Le*1.5,pickerQuarterPanelContentHeight:Le*1.4,pickerCellPaddingVertical:gt+gt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:bt+gt/2}},Vs=ye=>({cellHoverBg:ye.controlItemBgHover,cellActiveWithRangeBg:ye.controlItemBgActive,cellHoverWithRangeBg:new go.C(ye.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new go.C(ye.colorPrimary).lighten(20).toHexString(),cellBgDisabled:ye.colorBgContainerDisabled,timeColumnWidth:ye.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:ye.controlHeightSM*1.5,cellHeight:ye.controlHeightSM,textHeight:ye.controlHeightLG,withoutTimeCellHeight:ye.controlHeightLG*1.65});var Rs=(0,Qa.Z)("DatePicker",ye=>{const Ae=(0,aa.TS)((0,Ua.e5)(ye),cs(ye));return[Ts(Ae),bs(Ae),(0,xl.c)(ye,{focusElCls:`${ye.componentCls}-focused`})]},ye=>Object.assign(Object.assign(Object.assign({},(0,Ua.TM)(ye)),Vs(ye)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:ye.zIndexPopupBase+50}));function qo(ye,Ae,Le){return Le!==void 0?Le:Ae==="year"&&ye.lang.yearPlaceholder?ye.lang.yearPlaceholder:Ae==="quarter"&&ye.lang.quarterPlaceholder?ye.lang.quarterPlaceholder:Ae==="month"&&ye.lang.monthPlaceholder?ye.lang.monthPlaceholder:Ae==="week"&&ye.lang.weekPlaceholder?ye.lang.weekPlaceholder:Ae==="time"&&ye.timePickerLocale.placeholder?ye.timePickerLocale.placeholder:ye.lang.placeholder}function Tu(ye,Ae,Le){return Le!==void 0?Le:Ae==="year"&&ye.lang.yearPlaceholder?ye.lang.rangeYearPlaceholder:Ae==="quarter"&&ye.lang.quarterPlaceholder?ye.lang.rangeQuarterPlaceholder:Ae==="month"&&ye.lang.monthPlaceholder?ye.lang.rangeMonthPlaceholder:Ae==="week"&&ye.lang.weekPlaceholder?ye.lang.rangeWeekPlaceholder:Ae==="time"&&ye.timePickerLocale.placeholder?ye.timePickerLocale.rangePlaceholder:ye.lang.rangePlaceholder}function cl(ye,Ae){const Le={adjustX:1,adjustY:1};switch(Ae){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:Le};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:Le};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:Le};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:Le};default:return{points:ye==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:Le}}}function Su(ye){return ye?Array.isArray(ye)?ye:[ye]:[]}function nu(ye){const{format:Ae,picker:Le,showHour:gt,showMinute:bt,showSecond:vn,use12Hours:sn}=ye,Nn=Su(Ae)[0],Tn=Object.assign({},ye);return Ae&&Array.isArray(Ae)&&(Tn.format=Nn),Nn&&typeof Nn=="string"&&(!Nn.includes("s")&&vn===void 0&&(Tn.showSecond=!1),!Nn.includes("m")&&bt===void 0&&(Tn.showMinute=!1),!Nn.includes("H")&&!Nn.includes("h")&&!Nn.includes("K")&&!Nn.includes("k")&>===void 0&&(Tn.showHour=!1),(Nn.includes("a")||Nn.includes("A"))&&sn===void 0&&(Tn.use12Hours=!0)),Le==="time"?Tn:(typeof Nn=="function"&&delete Tn.format,{showTime:Tn})}function Ru(ye,Ae,Le){if(ye===!1)return!1;const gt={clearIcon:Ae!=null?Ae:Le};return typeof ye=="object"?Object.assign(Object.assign({},gt),ye):gt}var ru=se(3113);function Ec(ye){return pe.createElement(ru.ZP,Object.assign({size:"small",type:"primary"},ye))}var Eu={button:Ec},Ll=function(ye,Ae){var Le={};for(var gt in ye)Object.prototype.hasOwnProperty.call(ye,gt)&&Ae.indexOf(gt)<0&&(Le[gt]=ye[gt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,gt=Object.getOwnPropertySymbols(ye);bt<gt.length;bt++)Ae.indexOf(gt[bt])<0&&Object.prototype.propertyIsEnumerable.call(ye,gt[bt])&&(Le[gt[bt]]=ye[gt[bt]]);return Le};function Wl(ye){return(0,pe.forwardRef)((Le,gt)=>{const{prefixCls:bt,getPopupContainer:vn,className:sn,placement:Nn,size:Tn,disabled:Qn,bordered:zr=!0,placeholder:$n,popupClassName:er,dropdownClassName:mr,status:yr,clearIcon:kn,allowClear:Jn,rootClassName:vr}=Le,bi=Ll(Le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),ri=pe.useRef(null),{getPrefixCls:vi,direction:xi,getPopupContainer:mi}=(0,pe.useContext)(Mo.E_),ai=vi("picker",bt),{compactSize:ta,compactItemClassnames:Zi}=(0,qs.ri)(ai,xi),{format:ea,showTime:Ca,picker:Ba}=Le,Fa=vi(),[Va,oa]=Rs(ai),sa=Object.assign(Object.assign({},Ca?nu(Object.assign({format:ea,picker:Ba},Ca)):{}),Ba==="time"?nu(Object.assign(Object.assign({format:ea},Le),{picker:Ba})):{}),ba=(0,Is.Z)(lo=>{var Lo;return(Lo=Tn!=null?Tn:ta)!==null&&Lo!==void 0?Lo:lo}),Wa=pe.useContext(so.Z),Ya=Qn!=null?Qn:Wa,Ia=(0,pe.useContext)(No.aM),{hasFeedback:Za,status:io,feedbackIcon:Bo}=Ia,$o=pe.createElement(pe.Fragment,null,Ba==="time"?pe.createElement(Ut,null):pe.createElement(at,null),Za&&Bo);(0,pe.useImperativeHandle)(gt,()=>({focus:()=>{var lo;return(lo=ri.current)===null||lo===void 0?void 0:lo.focus()},blur:()=>{var lo;return(lo=ri.current)===null||lo===void 0?void 0:lo.blur()}}));const[So]=(0,ls.Z)("Calendar",Os.Z),es=Object.assign(Object.assign({},So),Le.locale);return Va(pe.createElement(Ro,Object.assign({separator:pe.createElement("span",{"aria-label":"to",className:`${ai}-separator`},pe.createElement($t,null)),disabled:Ya,ref:ri,dropdownAlign:cl(xi,Nn),placeholder:Tu(es,Ba,$n),suffixIcon:$o,prevIcon:pe.createElement("span",{className:`${ai}-prev-icon`}),nextIcon:pe.createElement("span",{className:`${ai}-next-icon`}),superPrevIcon:pe.createElement("span",{className:`${ai}-super-prev-icon`}),superNextIcon:pe.createElement("span",{className:`${ai}-super-next-icon`}),transitionName:`${Fa}-slide-up`},bi,sa,{className:Ve()({[`${ai}-${ba}`]:ba,[`${ai}-borderless`]:!zr},(0,Vo.Z)(ai,(0,Vo.F)(io,yr),Za),oa,Zi,sn,vr),locale:es.lang,prefixCls:ai,getPopupContainer:vn||mi,generateConfig:ye,components:Eu,direction:xi,dropdownClassName:Ve()(oa,er||mr,vr),allowClear:Ru(Jn,kn,pe.createElement(un.Z,null))})))})}var za=function(ye,Ae){var Le={};for(var gt in ye)Object.prototype.hasOwnProperty.call(ye,gt)&&Ae.indexOf(gt)<0&&(Le[gt]=ye[gt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,gt=Object.getOwnPropertySymbols(ye);bt<gt.length;bt++)Ae.indexOf(gt[bt])<0&&Object.prototype.propertyIsEnumerable.call(ye,gt[bt])&&(Le[gt[bt]]=ye[gt[bt]]);return Le};function Ka(ye){function Ae(Tn,Qn){const zr=Qn==="TimePicker"?"timePicker":"datePicker",$n=(0,pe.forwardRef)((er,mr)=>{const{prefixCls:yr,getPopupContainer:kn,style:Jn,className:vr,rootClassName:bi,size:ri,bordered:vi=!0,placement:xi,placeholder:mi,popupClassName:ai,dropdownClassName:ta,disabled:Zi,status:ea,clearIcon:Ca,allowClear:Ba}=er,Fa=za(er,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Va,direction:oa,getPopupContainer:sa,[zr]:ba}=(0,pe.useContext)(Mo.E_),Wa=Va("picker",yr),{compactSize:Ya,compactItemClassnames:Ia}=(0,qs.ri)(Wa,oa),Za=pe.useRef(null),{format:io,showTime:Bo}=er,[$o,So]=Rs(Wa);(0,pe.useImperativeHandle)(mr,()=>({focus:()=>{var Ho;return(Ho=Za.current)===null||Ho===void 0?void 0:Ho.focus()},blur:()=>{var Ho;return(Ho=Za.current)===null||Ho===void 0?void 0:Ho.blur()}}));const es={showToday:!0};let lo={};Tn&&(lo.picker=Tn);const Lo=Tn||er.picker;lo=Object.assign(Object.assign(Object.assign({},lo),Bo?nu(Object.assign({format:io,picker:Lo},Bo)):{}),Lo==="time"?nu(Object.assign(Object.assign({format:io},er),{picker:Lo})):{});const Sa=Va(),Oa=(0,Is.Z)(Ho=>{var $s;return($s=ri!=null?ri:Ya)!==null&&$s!==void 0?$s:Ho}),xa=pe.useContext(so.Z),_a=Zi!=null?Zi:xa,ds=(0,pe.useContext)(No.aM),{hasFeedback:ma,status:vo,feedbackIcon:Eo}=ds,ts=pe.createElement(pe.Fragment,null,Lo==="time"?pe.createElement(Ut,null):pe.createElement(at,null),ma&&Eo),[fs]=(0,ls.Z)("DatePicker",Os.Z),uo=Object.assign(Object.assign({},fs),er.locale);return $o(pe.createElement(ul,Object.assign({ref:Za,placeholder:qo(uo,Lo,mi),suffixIcon:ts,dropdownAlign:cl(oa,xi),prevIcon:pe.createElement("span",{className:`${Wa}-prev-icon`}),nextIcon:pe.createElement("span",{className:`${Wa}-next-icon`}),superPrevIcon:pe.createElement("span",{className:`${Wa}-super-prev-icon`}),superNextIcon:pe.createElement("span",{className:`${Wa}-super-next-icon`}),transitionName:`${Sa}-slide-up`},es,Fa,lo,{locale:uo.lang,className:Ve()({[`${Wa}-${Oa}`]:Oa,[`${Wa}-borderless`]:!vi},(0,Vo.Z)(Wa,(0,Vo.F)(vo,ea),ma),So,Ia,ba==null?void 0:ba.className,vr,bi),style:Object.assign(Object.assign({},ba==null?void 0:ba.style),Jn),prefixCls:Wa,getPopupContainer:kn||sa,generateConfig:ye,components:Eu,direction:oa,disabled:_a,dropdownClassName:Ve()(So,bi,ai||ta),allowClear:Ru(Ba,Ca,pe.createElement(un.Z,null))})))});return Qn&&($n.displayName=Qn),$n}const Le=Ae(),gt=Ae("week","WeekPicker"),bt=Ae("month","MonthPicker"),vn=Ae("year","YearPicker"),sn=Ae("time","TimePicker"),Nn=Ae("quarter","QuarterPicker");return{DatePicker:Le,WeekPicker:gt,MonthPicker:bt,YearPicker:vn,TimePicker:sn,QuarterPicker:Nn}}const qa=null;function Bs(ye){const{DatePicker:Ae,WeekPicker:Le,MonthPicker:gt,YearPicker:bt,TimePicker:vn,QuarterPicker:sn}=Ka(ye),Nn=Wl(ye),Tn=Ae;return Tn.WeekPicker=Le,Tn.MonthPicker=gt,Tn.YearPicker=bt,Tn.RangePicker=Nn,Tn.TimePicker=vn,Tn.QuarterPicker=sn,Tn}var Go=Bs;const xs=Go(st);function _s(ye){const Ae=cl(ye.direction,ye.placement);return Ae.overflow.adjustY=!1,Ae.overflow.adjustX=!1,Object.assign(Object.assign({},ye),{dropdownAlign:Ae})}const ws=(0,vt.Z)(xs,"picker",null,_s);xs._InternalPanelDoNotUseOrYouWillBeFired=ws;const dl=(0,vt.Z)(xs.RangePicker,"picker",null,_s);xs._InternalRangePanelDoNotUseOrYouWillBeFired=dl,xs.generatePicker=Go;var fl=xs},28103:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return Be}});var ae=se(92310),He=se.n(ae),ze=se(59301),rt=se(36355),Se=se(17313),ke=se(83116),Oe=se(37613);const xe=Te=>{const{componentCls:dt,sizePaddingEdgeHorizontal:ot,colorSplit:ft,lineWidth:lt,textPaddingInline:ht,orientationMargin:Vt,verticalMarginInline:st}=Te;return{[dt]:Object.assign(Object.assign({},(0,Se.Wf)(Te)),{borderBlockStart:`${lt}px solid ${ft}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:st,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${lt}px solid ${ft}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Te.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${dt}-with-text`]:{display:"flex",alignItems:"center",margin:`${Te.dividerHorizontalWithTextGutterMargin}px 0`,color:Te.colorTextHeading,fontWeight:500,fontSize:Te.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${ft}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${lt}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${dt}-with-text-left`]:{"&::before":{width:`${Vt*100}%`},"&::after":{width:`${100-Vt*100}%`}},[`&-horizontal${dt}-with-text-right`]:{"&::before":{width:`${100-Vt*100}%`},"&::after":{width:`${Vt*100}%`}},[`${dt}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ht},"&-dashed":{background:"none",borderColor:ft,borderStyle:"dashed",borderWidth:`${lt}px 0 0`},[`&-horizontal${dt}-with-text${dt}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${dt}-dashed`]:{borderInlineStartWidth:lt,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${dt}-with-text`]:{color:Te.colorText,fontWeight:"normal",fontSize:Te.fontSize},[`&-horizontal${dt}-with-text-left${dt}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${dt}-inner-text`]:{paddingInlineStart:ot}},[`&-horizontal${dt}-with-text-right${dt}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${dt}-inner-text`]:{paddingInlineEnd:ot}}})}};var Ee=(0,ke.Z)("Divider",Te=>{const dt=(0,Oe.TS)(Te,{dividerHorizontalWithTextGutterMargin:Te.margin,dividerHorizontalGutterMargin:Te.marginLG,sizePaddingEdgeHorizontal:0});return[xe(dt)]},Te=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Te.marginXS})),Ze=function(Te,dt){var ot={};for(var ft in Te)Object.prototype.hasOwnProperty.call(Te,ft)&&dt.indexOf(ft)<0&&(ot[ft]=Te[ft]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,ft=Object.getOwnPropertySymbols(Te);lt<ft.length;lt++)dt.indexOf(ft[lt])<0&&Object.prototype.propertyIsEnumerable.call(Te,ft[lt])&&(ot[ft[lt]]=Te[ft[lt]]);return ot},Be=Te=>{const{getPrefixCls:dt,direction:ot,divider:ft}=ze.useContext(rt.E_),{prefixCls:lt,type:ht="horizontal",orientation:Vt="center",orientationMargin:st,className:vt,rootClassName:Ke,children:pe,dashed:$e,plain:et,style:qe}=Te,Ye=Ze(Te,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),pt=dt("divider",lt),[at,Pt]=Ee(pt),it=Vt.length>0?`-${Vt}`:Vt,Nt=!!pe,rn=Vt==="left"&&st!=null,Ut=Vt==="right"&&st!=null,un=He()(pt,ft==null?void 0:ft.className,Pt,`${pt}-${ht}`,{[`${pt}-with-text`]:Nt,[`${pt}-with-text${it}`]:Nt,[`${pt}-dashed`]:!!$e,[`${pt}-plain`]:!!et,[`${pt}-rtl`]:ot==="rtl",[`${pt}-no-default-orientation-margin-left`]:rn,[`${pt}-no-default-orientation-margin-right`]:Ut},vt,Ke),jt=ze.useMemo(()=>typeof st=="number"?st:/^\d+$/.test(st)?Number(st):st,[st]),Qe=Object.assign(Object.assign({},rn&&{marginLeft:jt}),Ut&&{marginRight:jt});return at(ze.createElement("div",Object.assign({className:un,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),qe)},Ye,{role:"separator"}),pe&&ht!=="vertical"&&ze.createElement("span",{className:`${pt}-inner-text`,style:Qe},pe)))}},43428:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return kt}});var ae=se(92310),He=se.n(ae),ze=se(33885),rt=se(42978),Se=se(43403),ke=se(34280),Oe=se(59301),xe=Oe.createContext(null),Ee=Oe.createContext({}),Ze=xe,yt=se(20068),Be=se(54476),Te=se(77900),dt=se(10228),ot=se(26112),ft=se(70425),lt=function(xt){var ve=xt.prefixCls,ce=xt.className,le=xt.style,fe=xt.children,he=xt.containerRef,ue=xt.id,Pe=xt.onMouseEnter,_e=xt.onMouseOver,Dt=xt.onMouseLeave,Lt=xt.onClick,Ht=xt.onKeyDown,Qt=xt.onKeyUp,zt={onMouseEnter:Pe,onMouseOver:_e,onMouseLeave:Dt,onClick:Lt,onKeyDown:Ht,onKeyUp:Qt},bn=Oe.useContext(Ee),In=bn.panel,Mt=(0,ft.useComposeRef)(In,he);return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",(0,Be.Z)({id:ue,className:He()("".concat(ve,"-content"),ce),style:(0,ze.Z)({},le),"aria-modal":"true",role:"dialog",ref:Mt},zt),fe))},ht=lt,Vt=se(48736);function st(Bt){return typeof Bt=="string"&&String(Number(Bt))===Bt?((0,Vt.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Bt)):Bt}function vt(Bt){warning(!("wrapperClassName"in Bt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Bt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ke={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function pe(Bt,xt){var ve,ce,le,fe,he=Bt.prefixCls,ue=Bt.open,Pe=Bt.placement,_e=Bt.inline,Dt=Bt.push,Lt=Bt.forceRender,Ht=Bt.autoFocus,Qt=Bt.keyboard,zt=Bt.rootClassName,bn=Bt.rootStyle,In=Bt.zIndex,Mt=Bt.className,tn=Bt.id,Gn=Bt.style,ut=Bt.motion,We=Bt.width,Ue=Bt.height,nn=Bt.children,gn=Bt.contentWrapperStyle,xn=Bt.mask,Un=Bt.maskClosable,Pn=Bt.maskMotion,Vn=Bt.maskClassName,dr=Bt.maskStyle,gr=Bt.afterOpenChange,_n=Bt.onClose,wr=Bt.onMouseEnter,Jr=Bt.onMouseOver,pr=Bt.onMouseLeave,pi=Bt.onClick,Rr=Bt.onKeyDown,Qr=Bt.onKeyUp,pn=Oe.useRef(),Zn=Oe.useRef(),rr=Oe.useRef();Oe.useImperativeHandle(xt,function(){return pn.current});var ur=function(Gt){var Zt=Gt.keyCode,Dn=Gt.shiftKey;switch(Zt){case dt.Z.TAB:{if(Zt===dt.Z.TAB){if(!Dn&&document.activeElement===rr.current){var Hn;(Hn=Zn.current)===null||Hn===void 0||Hn.focus({preventScroll:!0})}else if(Dn&&document.activeElement===Zn.current){var jn;(jn=rr.current)===null||jn===void 0||jn.focus({preventScroll:!0})}}break}case dt.Z.ESC:{_n&&Qt&&(Gt.stopPropagation(),_n(Gt));break}}};Oe.useEffect(function(){if(ue&&Ht){var an;(an=pn.current)===null||an===void 0||an.focus({preventScroll:!0})}},[ue]);var nr=Oe.useState(!1),fr=(0,rt.Z)(nr,2),sr=fr[0],Br=fr[1],ir=Oe.useContext(Ze),Bn;Dt===!1?Bn={distance:0}:Dt===!0?Bn={}:Bn=Dt||{};var Cr=(ve=(ce=(le=Bn)===null||le===void 0?void 0:le.distance)!==null&&ce!==void 0?ce:ir==null?void 0:ir.pushDistance)!==null&&ve!==void 0?ve:180,wt=Oe.useMemo(function(){return{pushDistance:Cr,push:function(){Br(!0)},pull:function(){Br(!1)}}},[Cr]);Oe.useEffect(function(){if(ue){var an;ir==null||(an=ir.push)===null||an===void 0||an.call(ir)}else{var Gt;ir==null||(Gt=ir.pull)===null||Gt===void 0||Gt.call(ir)}},[ue]),Oe.useEffect(function(){return function(){var an;ir==null||(an=ir.pull)===null||an===void 0||an.call(ir)}},[]);var Fe=xn&&Oe.createElement(Te.default,(0,Be.Z)({key:"mask"},Pn,{visible:ue}),function(an,Gt){var Zt=an.className,Dn=an.style;return Oe.createElement("div",{className:He()("".concat(he,"-mask"),Zt,Vn),style:(0,ze.Z)((0,ze.Z)({},Dn),dr),onClick:Un&&ue?_n:void 0,ref:Gt})}),je=typeof ut=="function"?ut(Pe):ut,Re={};if(sr&&Cr)switch(Pe){case"top":Re.transform="translateY(".concat(Cr,"px)");break;case"bottom":Re.transform="translateY(".concat(-Cr,"px)");break;case"left":Re.transform="translateX(".concat(Cr,"px)");break;default:Re.transform="translateX(".concat(-Cr,"px)");break}Pe==="left"||Pe==="right"?Re.width=st(We):Re.height=st(Ue);var Ne={onMouseEnter:wr,onMouseOver:Jr,onMouseLeave:pr,onClick:pi,onKeyDown:Rr,onKeyUp:Qr},ct=Oe.createElement(Te.default,(0,Be.Z)({key:"panel"},je,{visible:ue,forceRender:Lt,onVisibleChanged:function(Gt){gr==null||gr(Gt)},removeOnLeave:!1,leavedClassName:"".concat(he,"-content-wrapper-hidden")}),function(an,Gt){var Zt=an.className,Dn=an.style;return Oe.createElement("div",(0,Be.Z)({className:He()("".concat(he,"-content-wrapper"),Zt),style:(0,ze.Z)((0,ze.Z)((0,ze.Z)({},Re),Dn),gn)},(0,ot.Z)(Bt,{data:!0})),Oe.createElement(ht,(0,Be.Z)({id:tn,containerRef:Gt,prefixCls:he,className:Mt,style:Gn},Ne),nn))}),St=(0,ze.Z)({},bn);return In&&(St.zIndex=In),Oe.createElement(Ze.Provider,{value:wt},Oe.createElement("div",{className:He()(he,"".concat(he,"-").concat(Pe),zt,(fe={},(0,yt.Z)(fe,"".concat(he,"-open"),ue),(0,yt.Z)(fe,"".concat(he,"-inline"),_e),fe)),style:St,tabIndex:-1,ref:pn,onKeyDown:ur},Fe,Oe.createElement("div",{tabIndex:0,ref:Zn,style:Ke,"aria-hidden":"true","data-sentinel":"start"}),ct,Oe.createElement("div",{tabIndex:0,ref:rr,style:Ke,"aria-hidden":"true","data-sentinel":"end"})))}var $e=Oe.forwardRef(pe),et=$e,qe=function(xt){var ve=xt.open,ce=ve===void 0?!1:ve,le=xt.prefixCls,fe=le===void 0?"rc-drawer":le,he=xt.placement,ue=he===void 0?"right":he,Pe=xt.autoFocus,_e=Pe===void 0?!0:Pe,Dt=xt.keyboard,Lt=Dt===void 0?!0:Dt,Ht=xt.width,Qt=Ht===void 0?378:Ht,zt=xt.mask,bn=zt===void 0?!0:zt,In=xt.maskClosable,Mt=In===void 0?!0:In,tn=xt.getContainer,Gn=xt.forceRender,ut=xt.afterOpenChange,We=xt.destroyOnClose,Ue=xt.onMouseEnter,nn=xt.onMouseOver,gn=xt.onMouseLeave,xn=xt.onClick,Un=xt.onKeyDown,Pn=xt.onKeyUp,Vn=xt.panelRef,dr=Oe.useState(!1),gr=(0,rt.Z)(dr,2),_n=gr[0],wr=gr[1],Jr=Oe.useState(!1),pr=(0,rt.Z)(Jr,2),pi=pr[0],Rr=pr[1];(0,ke.Z)(function(){Rr(!0)},[]);var Qr=pi?ce:!1,pn=Oe.useRef(),Zn=Oe.useRef();(0,ke.Z)(function(){Qr&&(Zn.current=document.activeElement)},[Qr]);var rr=function(Br){var ir;if(wr(Br),ut==null||ut(Br),!Br&&Zn.current&&!((ir=pn.current)!==null&&ir!==void 0&&ir.contains(Zn.current))){var Bn;(Bn=Zn.current)===null||Bn===void 0||Bn.focus({preventScroll:!0})}},ur=Oe.useMemo(function(){return{panel:Vn}},[Vn]);if(!Gn&&!_n&&!Qr&&We)return null;var nr={onMouseEnter:Ue,onMouseOver:nn,onMouseLeave:gn,onClick:xn,onKeyDown:Un,onKeyUp:Pn},fr=(0,ze.Z)((0,ze.Z)({},xt),{},{open:Qr,prefixCls:fe,placement:ue,autoFocus:_e,keyboard:Lt,width:Qt,mask:bn,maskClosable:Mt,inline:tn===!1,afterOpenChange:rr,ref:pn},nr);return Oe.createElement(Ee.Provider,{value:ur},Oe.createElement(Se.Z,{open:Qr||Gn||_n,autoDestroy:!1,getContainer:tn,autoLock:bn&&(Qr||_n)},Oe.createElement(et,fr)))},Ye=qe,pt=Ye,at=se(62892),Pt=se(36355),it=se(32441),Nt=se(47729),Ut=Bt=>{const{prefixCls:xt,title:ve,footer:ce,extra:le,closeIcon:fe,closable:he,onClose:ue,headerStyle:Pe,drawerStyle:_e,bodyStyle:Dt,footerStyle:Lt,children:Ht}=Bt,Qt=Oe.useCallback(tn=>Oe.createElement("button",{type:"button",onClick:ue,"aria-label":"Close",className:`${xt}-close`},tn),[ue]),[zt,bn]=(0,Nt.Z)(he,fe,Qt,void 0,!0),In=Oe.useMemo(()=>!ve&&!zt?null:Oe.createElement("div",{style:Pe,className:He()(`${xt}-header`,{[`${xt}-header-close-only`]:zt&&!ve&&!le})},Oe.createElement("div",{className:`${xt}-header-title`},bn,ve&&Oe.createElement("div",{className:`${xt}-title`},ve)),le&&Oe.createElement("div",{className:`${xt}-extra`},le)),[zt,bn,le,Pe,xt,ve]),Mt=Oe.useMemo(()=>{if(!ce)return null;const tn=`${xt}-footer`;return Oe.createElement("div",{className:tn,style:Lt},ce)},[ce,Lt,xt]);return Oe.createElement("div",{className:`${xt}-wrapper-body`,style:_e},In,Oe.createElement("div",{className:`${xt}-body`,style:Dt},Ht),Mt)},un=se(33234),jt=se(83116),Qe=se(37613),nt=Bt=>{const{componentCls:xt,motionDurationSlow:ve}=Bt,ce={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${ve}`}}};return{[xt]:{[`${xt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${ve}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${xt}-panel-motion`]:{"&-left":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ce,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const $t=Bt=>{const{componentCls:xt,zIndexPopup:ve,colorBgMask:ce,colorBgElevated:le,motionDurationSlow:fe,motionDurationMid:he,padding:ue,paddingLG:Pe,fontSizeLG:_e,lineHeightLG:Dt,lineWidth:Lt,lineType:Ht,colorSplit:Qt,marginSM:zt,colorIcon:bn,colorIconHover:In,colorText:Mt,fontWeightStrong:tn,footerPaddingBlock:Gn,footerPaddingInline:ut}=Bt,We=`${xt}-content-wrapper`;return{[xt]:{position:"fixed",inset:0,zIndex:ve,pointerEvents:"none","&-pure":{position:"relative",background:le,[`&${xt}-left`]:{boxShadow:Bt.boxShadowDrawerLeft},[`&${xt}-right`]:{boxShadow:Bt.boxShadowDrawerRight},[`&${xt}-top`]:{boxShadow:Bt.boxShadowDrawerUp},[`&${xt}-bottom`]:{boxShadow:Bt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${xt}-mask`]:{position:"absolute",inset:0,zIndex:ve,background:ce,pointerEvents:"auto"},[We]:{position:"absolute",zIndex:ve,maxWidth:"100vw",transition:`all ${fe}`,"&-hidden":{display:"none"}},[`&-left > ${We}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Bt.boxShadowDrawerLeft},[`&-right > ${We}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Bt.boxShadowDrawerRight},[`&-top > ${We}`]:{top:0,insetInline:0,boxShadow:Bt.boxShadowDrawerUp},[`&-bottom > ${We}`]:{bottom:0,insetInline:0,boxShadow:Bt.boxShadowDrawerDown},[`${xt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:le,pointerEvents:"auto"},[`${xt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${xt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ue}px ${Pe}px`,fontSize:_e,lineHeight:Dt,borderBottom:`${Lt}px ${Ht} ${Qt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${xt}-extra`]:{flex:"none"},[`${xt}-close`]:{display:"inline-block",marginInlineEnd:zt,color:bn,fontWeight:tn,fontSize:_e,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${he}`,textRendering:"auto","&:focus, &:hover":{color:In,textDecoration:"none"}},[`${xt}-title`]:{flex:1,margin:0,color:Mt,fontWeight:Bt.fontWeightStrong,fontSize:_e,lineHeight:Dt},[`${xt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Pe,overflow:"auto"},[`${xt}-footer`]:{flexShrink:0,padding:`${Gn}px ${ut}px`,borderTop:`${Lt}px ${Ht} ${Qt}`},"&-rtl":{direction:"rtl"}}}};var Et=(0,jt.Z)("Drawer",Bt=>{const xt=(0,Qe.TS)(Bt,{});return[$t(xt),nt(xt)]},Bt=>({zIndexPopup:Bt.zIndexPopupBase,footerPaddingBlock:Bt.paddingXS,footerPaddingInline:Bt.padding})),Ve=se(11575),tt=function(Bt,xt){var ve={};for(var ce in Bt)Object.prototype.hasOwnProperty.call(Bt,ce)&&xt.indexOf(ce)<0&&(ve[ce]=Bt[ce]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ce=Object.getOwnPropertySymbols(Bt);le<ce.length;le++)xt.indexOf(ce[le])<0&&Object.prototype.propertyIsEnumerable.call(Bt,ce[le])&&(ve[ce[le]]=Bt[ce[le]]);return ve};const At=null,fn={distance:180},Kt=Bt=>{var xt;const{rootClassName:ve,width:ce,height:le,size:fe="default",mask:he=!0,push:ue=fn,open:Pe,afterOpenChange:_e,onClose:Dt,prefixCls:Lt,getContainer:Ht,style:Qt,className:zt,visible:bn,afterVisibleChange:In}=Bt,Mt=tt(Bt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:tn,getPrefixCls:Gn,direction:ut,drawer:We}=Oe.useContext(Pt.E_),Ue=Gn("drawer",Lt),[nn,gn]=Et(Ue),xn=Ht===void 0&&tn?()=>tn(document.body):Ht,Un=He()({"no-mask":!he,[`${Ue}-rtl`]:ut==="rtl"},ve,gn),Pn=Oe.useMemo(()=>ce!=null?ce:fe==="large"?736:378,[ce,fe]),Vn=Oe.useMemo(()=>le!=null?le:fe==="large"?736:378,[le,fe]),dr={motionName:(0,at.m)(Ue,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},gr=wr=>({motionName:(0,at.m)(Ue,`panel-motion-${wr}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),_n=(0,Ve.H)();return nn(Oe.createElement(un.BR,null,Oe.createElement(it.Ux,{status:!0,override:!0},Oe.createElement(pt,Object.assign({prefixCls:Ue,onClose:Dt,maskMotion:dr,motion:gr},Mt,{open:Pe!=null?Pe:bn,mask:he,push:ue,width:Pn,height:Vn,style:Object.assign(Object.assign({},We==null?void 0:We.style),Qt),className:He()(We==null?void 0:We.className,zt),rootClassName:Un,getContainer:xn,afterOpenChange:_e!=null?_e:In,panelRef:_n}),Oe.createElement(Ut,Object.assign({prefixCls:Ue},Mt,{onClose:Dt}))))))},yn=Bt=>{const{prefixCls:xt,style:ve,className:ce,placement:le="right"}=Bt,fe=tt(Bt,["prefixCls","style","className","placement"]),{getPrefixCls:he}=Oe.useContext(Pt.E_),ue=he("drawer",xt),[Pe,_e]=Et(ue),Dt=He()(ue,`${ue}-pure`,`${ue}-${le}`,_e,ce);return Pe(Oe.createElement("div",{className:Dt,style:ve},Oe.createElement(Ut,Object.assign({prefixCls:ue},fe))))};Kt._InternalPanelDoNotUseOrYouWillBeFired=yn;var kt=Kt},91857:function(Cn,mn,se){"use strict";var ae=se(59301),He=se(38819),ze=se(92310),rt=se.n(ze),Se=se(31561),ke=se(70425),Oe=se(18929),xe=se(2738),Ee=se(79676),Ze=se(53487),yt=se(92343),Be=se(36355),Te=se(20834),dt=se(40875),ot=se(88088),ft=se(47211);const lt=null,ht=Ke=>{const{menu:pe,arrow:$e,prefixCls:et,children:qe,trigger:Ye,disabled:pt,dropdownRender:at,getPopupContainer:Pt,overlayClassName:it,rootClassName:Nt,open:rn,onOpenChange:Ut,visible:un,onVisibleChange:jt,mouseEnterDelay:Qe=.15,mouseLeaveDelay:Ce=.1,autoAdjustOverflow:nt=!0,placement:$t="",overlay:Et,transitionName:Ve}=Ke,{getPopupContainer:tt,getPrefixCls:At,direction:fn}=ae.useContext(Be.E_),Kt=ae.useMemo(()=>{const zt=At();return Ve!==void 0?Ve:$t.includes("top")?`${zt}-slide-down`:`${zt}-slide-up`},[At,$t,Ve]),yn=ae.useMemo(()=>$t?$t.includes("Center")?$t.slice(0,$t.indexOf("Center")):$t:fn==="rtl"?"bottomRight":"bottomLeft",[$t,fn]),kt=At("dropdown",et),[Bt,xt]=(0,ft.Z)(kt),[,ve]=(0,ot.Z)(),ce=ae.Children.only(qe),le=(0,yt.Tm)(ce,{className:rt()(`${kt}-trigger`,{[`${kt}-rtl`]:fn==="rtl"},ce.props.className),disabled:pt}),fe=pt?[]:Ye;let he;fe&&fe.includes("contextMenu")&&(he=!0);const[ue,Pe]=(0,Oe.Z)(!1,{value:rn!=null?rn:un}),_e=(0,ke.useEvent)(zt=>{Ut==null||Ut(zt),jt==null||jt(zt),Pe(zt)}),Dt=rt()(it,Nt,xt,{[`${kt}-rtl`]:fn==="rtl"}),Lt=(0,Ee.Z)({arrowPointAtCenter:typeof $e=="object"&&$e.pointAtCenter,autoAdjustOverflow:nt,offset:ve.marginXXS,arrowWidth:$e?ve.sizePopupArrow:0,borderRadius:ve.borderRadius}),Ht=ae.useCallback(()=>{Pe(!1)},[]),Qt=()=>{let zt;return pe!=null&&pe.items?zt=ae.createElement(Te.default,Object.assign({},pe)):typeof Et=="function"?zt=Et():zt=Et,at&&(zt=at(zt)),zt=ae.Children.only(typeof zt=="string"?ae.createElement("span",null,zt):zt),ae.createElement(dt.J,{prefixCls:`${kt}-menu`,expandIcon:ae.createElement("span",{className:`${kt}-menu-submenu-arrow`},ae.createElement(He.Z,{className:`${kt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ht,validator:bn=>{let{mode:In}=bn}},zt)};return Bt(ae.createElement(Se.Z,Object.assign({alignPoint:he},(0,xe.Z)(Ke,["rootClassName"]),{mouseEnterDelay:Qe,mouseLeaveDelay:Ce,visible:ue,builtinPlacements:Lt,arrow:!!$e,overlayClassName:Dt,prefixCls:kt,getPopupContainer:Pt||tt,transitionName:Kt,trigger:fe,overlay:Qt,placement:yn,onVisibleChange:_e}),le))};function Vt(Ke){return Object.assign(Object.assign({},Ke),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const st=(0,Ze.Z)(ht,"dropdown",Ke=>Ke,Vt),vt=Ke=>ae.createElement(st,Object.assign({},Ke),ae.createElement("span",null));ht._InternalPanelDoNotUseOrYouWillBeFired=vt,mn.Z=ht},38854:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return ot}});var ae=se(91857),He=se(92310),ze=se.n(He),rt=se(59301),Se=se(18785),ke=se(3113),Oe=se(36355),xe=se(81327),Ee=se(33234),Ze=se(47211),yt=function(ft,lt){var ht={};for(var Vt in ft)Object.prototype.hasOwnProperty.call(ft,Vt)&<.indexOf(Vt)<0&&(ht[Vt]=ft[Vt]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Vt=Object.getOwnPropertySymbols(ft);st<Vt.length;st++)lt.indexOf(Vt[st])<0&&Object.prototype.propertyIsEnumerable.call(ft,Vt[st])&&(ht[Vt[st]]=ft[Vt[st]]);return ht};const Be=ft=>{const{getPopupContainer:lt,getPrefixCls:ht,direction:Vt}=rt.useContext(Oe.E_),{prefixCls:st,type:vt="default",danger:Ke,disabled:pe,loading:$e,onClick:et,htmlType:qe,children:Ye,className:pt,menu:at,arrow:Pt,autoFocus:it,overlay:Nt,trigger:rn,align:Ut,open:un,onOpenChange:jt,placement:Qe,getPopupContainer:Ce,href:nt,icon:$t=rt.createElement(Se.Z,null),title:Et,buttonsRender:Ve=Qt=>Qt,mouseEnterDelay:tt,mouseLeaveDelay:At,overlayClassName:fn,overlayStyle:Kt,destroyPopupOnHide:yn,dropdownRender:kt}=ft,Bt=yt(ft,["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"]),xt=ht("dropdown",st),ve=`${xt}-button`,[ce,le]=(0,Ze.Z)(xt),fe={menu:at,arrow:Pt,autoFocus:it,align:Ut,disabled:pe,trigger:pe?[]:rn,onOpenChange:jt,getPopupContainer:Ce||lt,mouseEnterDelay:tt,mouseLeaveDelay:At,overlayClassName:fn,overlayStyle:Kt,destroyPopupOnHide:yn,dropdownRender:kt},{compactSize:he,compactItemClassnames:ue}=(0,Ee.ri)(xt,Vt),Pe=ze()(ve,ue,pt,le);"overlay"in ft&&(fe.overlay=Nt),"open"in ft&&(fe.open=un),"placement"in ft?fe.placement=Qe:fe.placement=Vt==="rtl"?"bottomLeft":"bottomRight";const _e=rt.createElement(ke.ZP,{type:vt,danger:Ke,disabled:pe,loading:$e,onClick:et,htmlType:qe,href:nt,title:Et},Ye),Dt=rt.createElement(ke.ZP,{type:vt,danger:Ke,icon:$t}),[Lt,Ht]=Ve([_e,Dt]);return ce(rt.createElement(xe.Z.Compact,Object.assign({className:Pe,size:he,block:!0},Bt),Lt,rt.createElement(ae.Z,Object.assign({},fe),Ht)))};Be.__ANT_BUTTON=!0;var Te=Be;const dt=ae.Z;dt.Button=Te;var ot=dt},47211:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return yt}});var ae=se(17313),He=se(13826),ze=se(92899),rt=se(29878),Se=se(19447),ke=se(83116),Oe=se(37613),Ee=Be=>{const{componentCls:Te,menuCls:dt,colorError:ot,colorTextLightSolid:ft}=Be,lt=`${dt}-item`;return{[`${Te}, ${Te}-menu-submenu`]:{[`${dt} ${lt}`]:{[`&${lt}-danger:not(${lt}-disabled)`]:{color:ot,"&:hover":{color:ft,backgroundColor:ot}}}}}};const Ze=Be=>{const{componentCls:Te,menuCls:dt,zIndexPopup:ot,dropdownArrowDistance:ft,sizePopupArrow:lt,antCls:ht,iconCls:Vt,motionDurationMid:st,dropdownPaddingVertical:vt,fontSize:Ke,dropdownEdgeChildPadding:pe,colorTextDisabled:$e,fontSizeIcon:et,controlPaddingHorizontal:qe,colorBgElevated:Ye}=Be;return[{[Te]:Object.assign(Object.assign({},(0,ae.Wf)(Be)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ot,display:"block","&::before":{position:"absolute",insetBlock:-ft+lt/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${ht}-btn`]:{[`& > ${Vt}-down, & > ${ht}-btn-icon > ${Vt}-down`]:{fontSize:et}},[`${Te}-wrap`]:{position:"relative",[`${ht}-btn > ${Vt}-down`]:{fontSize:et},[`${Vt}-down::before`]:{transition:`transform ${st}`}},[`${Te}-wrap-open`]:{[`${Vt}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ht}-slide-down-enter${ht}-slide-down-enter-active${Te}-placement-bottomLeft,
|
|
|
&${ht}-slide-down-appear${ht}-slide-down-appear-active${Te}-placement-bottomLeft,
|
|
|
&${ht}-slide-down-enter${ht}-slide-down-enter-active${Te}-placement-bottom,
|
|
|
&${ht}-slide-down-appear${ht}-slide-down-appear-active${Te}-placement-bottom,
|
|
|
&${ht}-slide-down-enter${ht}-slide-down-enter-active${Te}-placement-bottomRight,
|
|
|
&${ht}-slide-down-appear${ht}-slide-down-appear-active${Te}-placement-bottomRight`]:{animationName:He.fJ},[`&${ht}-slide-up-enter${ht}-slide-up-enter-active${Te}-placement-topLeft,
|
|
|
&${ht}-slide-up-appear${ht}-slide-up-appear-active${Te}-placement-topLeft,
|
|
|
&${ht}-slide-up-enter${ht}-slide-up-enter-active${Te}-placement-top,
|
|
|
&${ht}-slide-up-appear${ht}-slide-up-appear-active${Te}-placement-top,
|
|
|
&${ht}-slide-up-enter${ht}-slide-up-enter-active${Te}-placement-topRight,
|
|
|
&${ht}-slide-up-appear${ht}-slide-up-appear-active${Te}-placement-topRight`]:{animationName:He.Qt},[`&${ht}-slide-down-leave${ht}-slide-down-leave-active${Te}-placement-bottomLeft,
|
|
|
&${ht}-slide-down-leave${ht}-slide-down-leave-active${Te}-placement-bottom,
|
|
|
&${ht}-slide-down-leave${ht}-slide-down-leave-active${Te}-placement-bottomRight`]:{animationName:He.Uw},[`&${ht}-slide-up-leave${ht}-slide-up-leave-active${Te}-placement-topLeft,
|
|
|
&${ht}-slide-up-leave${ht}-slide-up-leave-active${Te}-placement-top,
|
|
|
&${ht}-slide-up-leave${ht}-slide-up-leave-active${Te}-placement-topRight`]:{animationName:He.ly}})},(0,Se.ZP)(Be,{colorBg:Ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Te} ${dt}`]:{position:"relative",margin:0},[`${dt}-submenu-popup`]:{position:"absolute",zIndex:ot,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Te}, ${Te}-menu-submenu`]:{[dt]:Object.assign(Object.assign({padding:pe,listStyleType:"none",backgroundColor:Ye,backgroundClip:"padding-box",borderRadius:Be.borderRadiusLG,outline:"none",boxShadow:Be.boxShadowSecondary},(0,ae.Qy)(Be)),{[`${dt}-item-group-title`]:{padding:`${vt}px ${qe}px`,color:Be.colorTextDescription,transition:`all ${st}`},[`${dt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${dt}-item-icon`]:{minWidth:Ke,marginInlineEnd:Be.marginXS,fontSize:Be.fontSizeSM},[`${dt}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${st}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${dt}-item, ${dt}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${vt}px ${qe}px`,color:Be.colorText,fontWeight:"normal",fontSize:Ke,lineHeight:Be.lineHeight,cursor:"pointer",transition:`all ${st}`,borderRadius:Be.borderRadiusSM,"&:hover, &-active":{backgroundColor:Be.controlItemBgHover}},(0,ae.Qy)(Be)),{"&-selected":{color:Be.colorPrimary,backgroundColor:Be.controlItemBgActive,"&:hover, &-active":{backgroundColor:Be.controlItemBgActiveHover}},"&-disabled":{color:$e,cursor:"not-allowed","&:hover":{color:$e,backgroundColor:Ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Be.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Be.colorSplit},[`${Te}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Be.paddingXS,[`${Te}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Be.colorTextDescription,fontSize:et,fontStyle:"normal"}}}),[`${dt}-item-group-list`]:{margin:`0 ${Be.marginXS}px`,padding:0,listStyle:"none"},[`${dt}-submenu-title`]:{paddingInlineEnd:qe+Be.fontSizeSM},[`${dt}-submenu-vertical`]:{position:"relative"},[`${dt}-submenu${dt}-submenu-disabled ${Te}-menu-submenu-title`]:{[`&, ${Te}-menu-submenu-arrow-icon`]:{color:$e,backgroundColor:Ye,cursor:"not-allowed"}},[`${dt}-submenu-selected ${Te}-menu-submenu-title`]:{color:Be.colorPrimary}})}},[(0,He.oN)(Be,"slide-up"),(0,He.oN)(Be,"slide-down"),(0,ze.Fm)(Be,"move-up"),(0,ze.Fm)(Be,"move-down"),(0,rt._y)(Be,"zoom-big")]]};var yt=(0,ke.Z)("Dropdown",(Be,Te)=>{let{rootPrefixCls:dt}=Te;const{marginXXS:ot,sizePopupArrow:ft,controlHeight:lt,fontSize:ht,lineHeight:Vt,paddingXXS:st,componentCls:vt,borderRadiusLG:Ke}=Be,pe=(lt-ht*Vt)/2,{dropdownArrowOffset:$e}=(0,Se.fS)({contentRadius:Ke}),et=(0,Oe.TS)(Be,{menuCls:`${vt}-menu`,rootPrefixCls:dt,dropdownArrowDistance:ft/2+ot,dropdownArrowOffset:$e,dropdownPaddingVertical:pe,dropdownEdgeChildPadding:st});return[Ze(et),Ee(et)]},Be=>({zIndexPopup:Be.zIndexPopupBase+50}))},64165:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return st}});var ae=se(92310),He=se.n(ae),ze=se(59301),rt=se(36355),Se=se(9763),ke=se(64993),Oe=se(88088),Ee=()=>{const[,vt]=(0,Oe.Z)(),pe=new ke.C(vt.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return ze.createElement("svg",{style:pe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},ze.createElement("g",{fill:"none",fillRule:"evenodd"},ze.createElement("g",{transform:"translate(24 31.67)"},ze.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),ze.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"}),ze.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)"}),ze.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"}),ze.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"})),ze.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"}),ze.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},ze.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),ze.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},yt=()=>{const[,vt]=(0,Oe.Z)(),{colorFill:Ke,colorFillTertiary:pe,colorFillQuaternary:$e,colorBgContainer:et}=vt,{borderColor:qe,shadowColor:Ye,contentColor:pt}=(0,ze.useMemo)(()=>({borderColor:new ke.C(Ke).onBackground(et).toHexShortString(),shadowColor:new ke.C(pe).onBackground(et).toHexShortString(),contentColor:new ke.C($e).onBackground(et).toHexShortString()}),[Ke,pe,$e,et]);return ze.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},ze.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},ze.createElement("ellipse",{fill:Ye,cx:"32",cy:"33",rx:"32",ry:"7"}),ze.createElement("g",{fillRule:"nonzero",stroke:qe},ze.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"}),ze.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:pt}))))},Be=se(83116),Te=se(37613);const dt=vt=>{const{componentCls:Ke,margin:pe,marginXS:$e,marginXL:et,fontSize:qe,lineHeight:Ye}=vt;return{[Ke]:{marginInline:$e,fontSize:qe,lineHeight:Ye,textAlign:"center",[`${Ke}-image`]:{height:vt.emptyImgHeight,marginBottom:$e,opacity:vt.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Ke}-description`]:{color:vt.colorText},[`${Ke}-footer`]:{marginTop:pe},"&-normal":{marginBlock:et,color:vt.colorTextDisabled,[`${Ke}-description`]:{color:vt.colorTextDisabled},[`${Ke}-image`]:{height:vt.emptyImgHeightMD}},"&-small":{marginBlock:$e,color:vt.colorTextDisabled,[`${Ke}-image`]:{height:vt.emptyImgHeightSM}}}}};var ot=(0,Be.Z)("Empty",vt=>{const{componentCls:Ke,controlHeightLG:pe}=vt,$e=(0,Te.TS)(vt,{emptyImgCls:`${Ke}-img`,emptyImgHeight:pe*2.5,emptyImgHeightMD:pe,emptyImgHeightSM:pe*.875});return[dt($e)]}),ft=function(vt,Ke){var pe={};for(var $e in vt)Object.prototype.hasOwnProperty.call(vt,$e)&&Ke.indexOf($e)<0&&(pe[$e]=vt[$e]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,$e=Object.getOwnPropertySymbols(vt);et<$e.length;et++)Ke.indexOf($e[et])<0&&Object.prototype.propertyIsEnumerable.call(vt,$e[et])&&(pe[$e[et]]=vt[$e[et]]);return pe};const lt=ze.createElement(Ee,null),ht=ze.createElement(yt,null),Vt=vt=>{var{className:Ke,rootClassName:pe,prefixCls:$e,image:et=lt,description:qe,children:Ye,imageStyle:pt,style:at}=vt,Pt=ft(vt,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:it,direction:Nt,empty:rn}=ze.useContext(rt.E_),Ut=it("empty",$e),[un,jt]=ot(Ut),[Qe]=(0,Se.Z)("Empty"),Ce=typeof qe!="undefined"?qe:Qe==null?void 0:Qe.description,nt=typeof Ce=="string"?Ce:"empty";let $t=null;return typeof et=="string"?$t=ze.createElement("img",{alt:nt,src:et}):$t=et,un(ze.createElement("div",Object.assign({className:He()(jt,Ut,rn==null?void 0:rn.className,{[`${Ut}-normal`]:et===ht,[`${Ut}-rtl`]:Nt==="rtl"},Ke,pe),style:Object.assign(Object.assign({},rn==null?void 0:rn.style),at)},Pt),ze.createElement("div",{className:`${Ut}-image`,style:pt},$t),Ce&&ze.createElement("div",{className:`${Ut}-description`},Ce),Ye&&ze.createElement("div",{className:`${Ut}-footer`},Ye)))};Vt.PRESENTED_IMAGE_DEFAULT=lt,Vt.PRESENTED_IMAGE_SIMPLE=ht;var st=Vt},78241:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return Cr}});var ae=se(94480),He=se(92310),ze=se.n(He),rt=se(77900),Se=se(59301),ke=se(62892),Oe=se(32441);function xe(wt){const[Fe,je]=Se.useState(wt);return Se.useEffect(()=>{const Re=setTimeout(()=>{je(wt)},wt.length?0:10);return()=>{clearTimeout(Re)}},[wt]),Fe}var Ee=se(17313),Ze=se(29878),yt=se(8378),Be=se(37613),Te=se(83116),ot=wt=>{const{componentCls:Fe}=wt,je=`${Fe}-show-help`,Re=`${Fe}-show-help-item`;return{[je]:{transition:`opacity ${wt.motionDurationSlow} ${wt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Re]:{overflow:"hidden",transition:`height ${wt.motionDurationSlow} ${wt.motionEaseInOut},
|
|
|
opacity ${wt.motionDurationSlow} ${wt.motionEaseInOut},
|
|
|
transform ${wt.motionDurationSlow} ${wt.motionEaseInOut} !important`,[`&${Re}-appear, &${Re}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Re}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ft=wt=>({legend:{display:"block",width:"100%",marginBottom:wt.marginLG,padding:0,color:wt.colorTextDescription,fontSize:wt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${wt.lineWidth}px ${wt.lineType} ${wt.colorBorder}`},label:{fontSize:wt.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 ${wt.controlOutlineWidth}px ${wt.controlOutline}`},output:{display:"block",paddingTop:15,color:wt.colorText,fontSize:wt.fontSize,lineHeight:wt.lineHeight}}),lt=(wt,Fe)=>{const{formItemCls:je}=wt;return{[je]:{[`${je}-label > label`]:{height:Fe},[`${je}-control-input`]:{minHeight:Fe}}}},ht=wt=>{const{componentCls:Fe}=wt;return{[wt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ee.Wf)(wt)),ft(wt)),{[`${Fe}-text`]:{display:"inline-block",paddingInlineEnd:wt.paddingSM},"&-small":Object.assign({},lt(wt,wt.controlHeightSM)),"&-large":Object.assign({},lt(wt,wt.controlHeightLG))})}},Vt=wt=>{const{formItemCls:Fe,iconCls:je,componentCls:Re,rootPrefixCls:Ne,labelRequiredMarkColor:ct,labelColor:St,labelFontSize:an,labelHeight:Gt,labelColonMarginInlineStart:Zt,labelColonMarginInlineEnd:Dn,itemMarginBottom:Hn}=wt;return{[Fe]:Object.assign(Object.assign({},(0,Ee.Wf)(wt)),{marginBottom:Hn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${Ne}-row`]:{display:"none"},"&-has-warning":{[`${Fe}-split`]:{color:wt.colorError}},"&-has-error":{[`${Fe}-split`]:{color:wt.colorWarning}},[`${Fe}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${wt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Gt,color:St,fontSize:an,[`> ${je}`]:{fontSize:wt.fontSize,verticalAlign:"top"},[`&${Fe}-required:not(${Fe}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:wt.marginXXS,color:ct,fontSize:wt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Re}-hide-required-mark &`]:{display:"none"}},[`${Fe}-optional`]:{display:"inline-block",marginInlineStart:wt.marginXXS,color:wt.colorTextDescription,[`${Re}-hide-required-mark &`]:{display:"none"}},[`${Fe}-tooltip`]:{color:wt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:wt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Zt,marginInlineEnd:Dn},[`&${Fe}-no-colon::after`]:{content:'"\\a0"'}}},[`${Fe}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ne}-col-'"]):not([class*="' ${Ne}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:wt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Fe]:{"&-explain, &-extra":{clear:"both",color:wt.colorTextDescription,fontSize:wt.fontSize,lineHeight:wt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:wt.controlHeightSM,transition:`color ${wt.motionDurationMid} ${wt.motionEaseOut}`},"&-explain":{"&-error":{color:wt.colorError},"&-warning":{color:wt.colorWarning}}},[`&-with-help ${Fe}-explain`]:{height:"auto",opacity:1},[`${Fe}-feedback-icon`]:{fontSize:wt.fontSize,textAlign:"center",visibility:"visible",animationName:Ze.kr,animationDuration:wt.motionDurationMid,animationTimingFunction:wt.motionEaseOutBack,pointerEvents:"none","&-success":{color:wt.colorSuccess},"&-error":{color:wt.colorError},"&-warning":{color:wt.colorWarning},"&-validating":{color:wt.colorPrimary}}})}},st=wt=>{const{componentCls:Fe,formItemCls:je}=wt;return{[`${Fe}-horizontal`]:{[`${je}-label`]:{flexGrow:0},[`${je}-control`]:{flex:"1 1 0",minWidth:0},[`${je}-label[class$='-24'], ${je}-label[class*='-24 ']`]:{[`& + ${je}-control`]:{minWidth:"unset"}}}}},vt=wt=>{const{componentCls:Fe,formItemCls:je}=wt;return{[`${Fe}-inline`]:{display:"flex",flexWrap:"wrap",[je]:{flex:"none",marginInlineEnd:wt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${je}-label,
|
|
|
> ${je}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${je}-label`]:{flex:"none"},[`${Fe}-text`]:{display:"inline-block"},[`${je}-has-feedback`]:{display:"inline-block"}}}}},Ke=wt=>({padding:wt.verticalLabelPadding,margin:wt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),pe=wt=>{const{componentCls:Fe,formItemCls:je,rootPrefixCls:Re}=wt;return{[`${je} ${je}-label`]:Ke(wt),[Fe]:{[je]:{flexWrap:"wrap",[`${je}-label, ${je}-control`]:{[`&:not([class*=" ${Re}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},$e=wt=>{const{componentCls:Fe,formItemCls:je,rootPrefixCls:Re}=wt;return{[`${Fe}-vertical`]:{[je]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Fe}-item-control`]:{width:"100%"}}},[`${Fe}-vertical ${je}-label,
|
|
|
.${Re}-col-24${je}-label,
|
|
|
.${Re}-col-xl-24${je}-label`]:Ke(wt),[`@media (max-width: ${wt.screenXSMax}px)`]:[pe(wt),{[Fe]:{[`.${Re}-col-xs-24${je}-label`]:Ke(wt)}}],[`@media (max-width: ${wt.screenSMMax}px)`]:{[Fe]:{[`.${Re}-col-sm-24${je}-label`]:Ke(wt)}},[`@media (max-width: ${wt.screenMDMax}px)`]:{[Fe]:{[`.${Re}-col-md-24${je}-label`]:Ke(wt)}},[`@media (max-width: ${wt.screenLGMax}px)`]:{[Fe]:{[`.${Re}-col-lg-24${je}-label`]:Ke(wt)}}}},et=(wt,Fe)=>(0,Be.TS)(wt,{formItemCls:`${wt.componentCls}-item`,rootPrefixCls:Fe});var qe=(0,Te.Z)("Form",(wt,Fe)=>{let{rootPrefixCls:je}=Fe;const Re=et(wt,je);return[ht(Re),Vt(Re),ot(Re),st(Re),vt(Re),$e(Re),(0,yt.Z)(Re),Ze.kr]},wt=>({labelRequiredMarkColor:wt.colorError,labelColor:wt.colorTextHeading,labelFontSize:wt.fontSize,labelHeight:wt.controlHeight,labelColonMarginInlineStart:wt.marginXXS/2,labelColonMarginInlineEnd:wt.marginXS,itemMarginBottom:wt.marginLG,verticalLabelPadding:`0 0 ${wt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const Ye=[];function pt(wt,Fe,je){let Re=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof wt=="string"?wt:`${Fe}-${Re}`,error:wt,errorStatus:je}}var Pt=wt=>{let{help:Fe,helpStatus:je,errors:Re=Ye,warnings:Ne=Ye,className:ct,fieldId:St,onVisibleChanged:an}=wt;const{prefixCls:Gt}=Se.useContext(Oe.Rk),Zt=`${Gt}-item-explain`,[,Dn]=qe(Gt),Hn=(0,Se.useMemo)(()=>(0,ke.Z)(Gt),[Gt]),jn=xe(Re),qt=xe(Ne),Sn=Se.useMemo(()=>Fe!=null?[pt(Fe,"help",je)]:[].concat((0,ae.Z)(jn.map((Rt,Xt)=>pt(Rt,"error","error",Xt))),(0,ae.Z)(qt.map((Rt,Xt)=>pt(Rt,"warning","warning",Xt)))),[Fe,je,jn,qt]),Ct={};return St&&(Ct.id=`${St}_help`),Se.createElement(rt.default,{motionDeadline:Hn.motionDeadline,motionName:`${Gt}-show-help`,visible:!!Sn.length,onVisibleChanged:an},Rt=>{const{className:Xt,style:en}=Rt;return Se.createElement("div",Object.assign({},Ct,{className:ze()(Zt,Xt,ct,Dn),style:en,role:"alert"}),Se.createElement(rt.CSSMotionList,Object.assign({keys:Sn},(0,ke.Z)(Gt),{motionName:`${Gt}-show-help-item`,component:!1}),En=>{const{key:Wt,error:An,errorStatus:Ge,className:Tt,style:Ot}=En;return Se.createElement("div",{key:Wt,className:ze()(Tt,{[`${Zt}-${Ge}`]:Ge}),style:Ot},An)}))})},it=se(95013),Nt=se(36355),rn=se(1684),Ut=se(52946),un=se(19716),jt=se(16722);const Qe=["parentNode"],Ce="form_item";function nt(wt){return wt===void 0||wt===!1?[]:Array.isArray(wt)?wt:[wt]}function $t(wt,Fe){if(!wt.length)return;const je=wt.join("_");return Fe?`${Fe}_${je}`:Qe.includes(je)?`${Ce}_${je}`:je}function Et(wt,Fe,je,Re,Ne,ct){let St=Re;return ct!==void 0?St=ct:je.validating?St="validating":wt.length?St="error":Fe.length?St="warning":(je.touched||Ne&&je.validated)&&(St="success"),St}function Ve(wt){return nt(wt).join("_")}function tt(wt){const[Fe]=(0,it.useForm)(),je=Se.useRef({}),Re=Se.useMemo(()=>wt!=null?wt:Object.assign(Object.assign({},Fe),{__INTERNAL__:{itemRef:Ne=>ct=>{const St=Ve(Ne);ct?je.current[St]=ct:delete je.current[St]}},scrollToField:function(Ne){let ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const St=nt(Ne),an=$t(St,Re.__INTERNAL__.name),Gt=an?document.getElementById(an):null;Gt&&(0,jt.Z)(Gt,Object.assign({scrollMode:"if-needed",block:"nearest"},ct))},getFieldInstance:Ne=>{const ct=Ve(Ne);return je.current[ct]}}),[wt,Fe]);return[Re]}var At=se(28726),fn=function(wt,Fe){var je={};for(var Re in wt)Object.prototype.hasOwnProperty.call(wt,Re)&&Fe.indexOf(Re)<0&&(je[Re]=wt[Re]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Re=Object.getOwnPropertySymbols(wt);Ne<Re.length;Ne++)Fe.indexOf(Re[Ne])<0&&Object.prototype.propertyIsEnumerable.call(wt,Re[Ne])&&(je[Re[Ne]]=wt[Re[Ne]]);return je};const Kt=(wt,Fe)=>{const je=Se.useContext(rn.Z),{getPrefixCls:Re,direction:Ne,form:ct}=Se.useContext(Nt.E_),{prefixCls:St,className:an,rootClassName:Gt,size:Zt,disabled:Dn=je,form:Hn,colon:jn,labelAlign:qt,labelWrap:Sn,labelCol:Ct,wrapperCol:Rt,hideRequiredMark:Xt,layout:en="horizontal",scrollToFirstError:En,requiredMark:Wt,onFinishFailed:An,name:Ge,style:Tt,feedbackIcons:Ot}=wt,ln=fn(wt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Jt=(0,un.Z)(Zt),dn=Se.useContext(At.Z),cn=(0,Se.useMemo)(()=>Wt!==void 0?Wt:ct&&ct.requiredMark!==void 0?ct.requiredMark:!Xt,[Xt,Wt,ct]),Fn=jn!=null?jn:ct==null?void 0:ct.colon,Kn=Re("form",St),[qn,br]=qe(Kn),Tr=ze()(Kn,`${Kn}-${en}`,{[`${Kn}-hide-required-mark`]:cn===!1,[`${Kn}-rtl`]:Ne==="rtl",[`${Kn}-${Jt}`]:Jt},br,ct==null?void 0:ct.className,an,Gt),[jr]=tt(Hn),{__INTERNAL__:Fr}=jr;Fr.name=Ge;const tr=(0,Se.useMemo)(()=>({name:Ge,labelAlign:qt,labelCol:Ct,labelWrap:Sn,wrapperCol:Rt,vertical:en==="vertical",colon:Fn,requiredMark:cn,itemRef:Fr.itemRef,form:jr,feedbackIcons:Ot}),[Ge,qt,Ct,Rt,en,Fn,cn,jr,Ot]);Se.useImperativeHandle(Fe,()=>jr);const _r=(qr,Mr)=>{if(qr){let Ir={block:"nearest"};typeof qr=="object"&&(Ir=qr),jr.scrollToField(Mr,Ir)}},Hr=qr=>{if(An==null||An(qr),qr.errorFields.length){const Mr=qr.errorFields[0].name;if(En!==void 0){_r(En,Mr);return}ct&&ct.scrollToFirstError!==void 0&&_r(ct.scrollToFirstError,Mr)}};return qn(Se.createElement(rn.n,{disabled:Dn},Se.createElement(Ut.q,{size:Jt},Se.createElement(Oe.RV,Object.assign({},{validateMessages:dn}),Se.createElement(Oe.q3.Provider,{value:tr},Se.createElement(it.default,Object.assign({id:Ge},ln,{name:Ge,onFinishFailed:Hr,form:jr,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),Tt),className:Tr})))))))};var kt=Se.forwardRef(Kt),Bt=se(41799),xt=se(8654),ve=se(92343),ce=se(11592);function le(wt){if(typeof wt=="function")return wt;const Fe=(0,ce.Z)(wt);return Fe.length<=1?Fe[0]:Fe}const fe=()=>{const{status:wt,errors:Fe=[],warnings:je=[]}=(0,Se.useContext)(Oe.aM);return{status:wt,errors:Fe,warnings:je}};fe.Context=Oe.aM;var he=fe,ue=se(16089);function Pe(wt){const[Fe,je]=Se.useState(wt),Re=(0,Se.useRef)(null),Ne=(0,Se.useRef)([]),ct=(0,Se.useRef)(!1);Se.useEffect(()=>(ct.current=!1,()=>{ct.current=!0,ue.Z.cancel(Re.current),Re.current=null}),[]);function St(an){ct.current||(Re.current===null&&(Ne.current=[],Re.current=(0,ue.Z)(()=>{Re.current=null,je(Gt=>{let Zt=Gt;return Ne.current.forEach(Dn=>{Zt=Dn(Zt)}),Zt})})),Ne.current.push(an))}return[Fe,St]}function _e(){const{itemRef:wt}=Se.useContext(Oe.q3),Fe=Se.useRef({});function je(Re,Ne){const ct=Ne&&typeof Ne=="object"&&Ne.ref,St=Re.join("_");return(Fe.current.name!==St||Fe.current.originRef!==ct)&&(Fe.current.name=St,Fe.current.originRef=ct,Fe.current.ref=(0,xt.sQ)(wt(Re),ct)),Fe.current.ref}return je}var Dt=se(29194),Lt=se(34280),Ht=se(2738),Qt=se(27382),zt=se(37028);const bn=wt=>{const{formItemCls:Fe}=wt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Fe}-control`]:{display:"flex"}}}};var In=(0,Te.b)(["Form","item-item"],(wt,Fe)=>{let{rootPrefixCls:je}=Fe;const Re=et(wt,je);return[bn(Re)]}),tn=wt=>{const{prefixCls:Fe,status:je,wrapperCol:Re,children:Ne,errors:ct,warnings:St,_internalItemRender:an,extra:Gt,help:Zt,fieldId:Dn,marginBottom:Hn,onErrorVisibleChanged:jn}=wt,qt=`${Fe}-item`,Sn=Se.useContext(Oe.q3),Ct=Re||Sn.wrapperCol||{},Rt=ze()(`${qt}-control`,Ct.className),Xt=Se.useMemo(()=>Object.assign({},Sn),[Sn]);delete Xt.labelCol,delete Xt.wrapperCol;const en=Se.createElement("div",{className:`${qt}-control-input`},Se.createElement("div",{className:`${qt}-control-input-content`},Ne)),En=Se.useMemo(()=>({prefixCls:Fe,status:je}),[Fe,je]),Wt=Hn!==null||ct.length||St.length?Se.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},Se.createElement(Oe.Rk.Provider,{value:En},Se.createElement(Pt,{fieldId:Dn,errors:ct,warnings:St,help:Zt,helpStatus:je,className:`${qt}-explain-connected`,onVisibleChanged:jn})),!!Hn&&Se.createElement("div",{style:{width:0,height:Hn}})):null,An={};Dn&&(An.id=`${Dn}_extra`);const Ge=Gt?Se.createElement("div",Object.assign({},An,{className:`${qt}-extra`}),Gt):null,Tt=an&&an.mark==="pro_table_render"&&an.render?an.render(wt,{input:en,errorList:Wt,extra:Ge}):Se.createElement(Se.Fragment,null,en,Wt,Ge);return Se.createElement(Oe.q3.Provider,{value:Xt},Se.createElement(zt.Z,Object.assign({},Ct,{className:Rt}),Tt),Se.createElement(In,{prefixCls:Fe}))},Gn=se(61485),ut=se(31724),We=se(9763),Ue=se(6848),nn=function(wt,Fe){var je={};for(var Re in wt)Object.prototype.hasOwnProperty.call(wt,Re)&&Fe.indexOf(Re)<0&&(je[Re]=wt[Re]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Re=Object.getOwnPropertySymbols(wt);Ne<Re.length;Ne++)Fe.indexOf(Re[Ne])<0&&Object.prototype.propertyIsEnumerable.call(wt,Re[Ne])&&(je[Re[Ne]]=wt[Re[Ne]]);return je};function gn(wt){return wt?typeof wt=="object"&&!Se.isValidElement(wt)?wt:{title:wt}:null}var Un=wt=>{let{prefixCls:Fe,label:je,htmlFor:Re,labelCol:Ne,labelAlign:ct,colon:St,required:an,requiredMark:Gt,tooltip:Zt}=wt;var Dn;const[Hn]=(0,We.Z)("Form"),{vertical:jn,labelAlign:qt,labelCol:Sn,labelWrap:Ct,colon:Rt}=Se.useContext(Oe.q3);if(!je)return null;const Xt=Ne||Sn||{},en=ct||qt,En=`${Fe}-item-label`,Wt=ze()(En,en==="left"&&`${En}-left`,Xt.className,{[`${En}-wrap`]:!!Ct});let An=je;const Ge=St===!0||Rt!==!1&&St!==!1;Ge&&!jn&&typeof je=="string"&&je.trim()!==""&&(An=je.replace(/[:|:]\s*$/,""));const Ot=gn(Zt);if(Ot){const{icon:cn=Se.createElement(Gn.Z,null)}=Ot,Fn=nn(Ot,["icon"]),Kn=Se.createElement(Ue.Z,Object.assign({},Fn),Se.cloneElement(cn,{className:`${Fe}-item-tooltip`,title:""}));An=Se.createElement(Se.Fragment,null,An,Kn)}const ln=Gt==="optional",Jt=typeof Gt=="function";Jt?An=Gt(An,{required:!!an}):ln&&!an&&(An=Se.createElement(Se.Fragment,null,An,Se.createElement("span",{className:`${Fe}-item-optional`,title:""},(Hn==null?void 0:Hn.optional)||((Dn=ut.Z.Form)===null||Dn===void 0?void 0:Dn.optional))));const dn=ze()({[`${Fe}-item-required`]:an,[`${Fe}-item-required-mark-optional`]:ln||Jt,[`${Fe}-item-no-colon`]:!Ge});return Se.createElement(zt.Z,Object.assign({},Xt,{className:Wt}),Se.createElement("label",{htmlFor:Re,className:dn,title:typeof je=="string"?je:""},An))},Pn=se(29679),Vn=se(19248),dr=se(96512),gr=se(58617);const _n={success:Pn.Z,warning:dr.Z,error:Vn.Z,validating:gr.Z};function wr(wt){let{children:Fe,errors:je,warnings:Re,hasFeedback:Ne,validateStatus:ct,prefixCls:St,meta:an,noStyle:Gt}=wt;const Zt=`${St}-item`,{feedbackIcons:Dn}=Se.useContext(Oe.q3),Hn=Et(je,Re,an,null,!!Ne,ct),{isFormItemInput:jn,status:qt}=Se.useContext(Oe.aM),Sn=Se.useMemo(()=>{var Ct;let Rt;if(Ne){const En=Ne!==!0&&Ne.icons||Dn,Wt=Hn&&((Ct=En==null?void 0:En({status:Hn,errors:je,warnings:Re}))===null||Ct===void 0?void 0:Ct[Hn]),An=Hn&&_n[Hn];Rt=Wt!==!1&&An?Se.createElement("span",{className:ze()(`${Zt}-feedback-icon`,`${Zt}-feedback-icon-${Hn}`)},Wt||Se.createElement(An,null)):null}let Xt=!0,en=Hn||"";return Gt&&(Xt=jn,en=(Hn!=null?Hn:qt)||""),{status:en,errors:je,warnings:Re,hasFeedback:!!Ne,feedbackIcon:Rt,isFormItemInput:Xt}},[Hn,Ne,Gt,jn,qt]);return Se.createElement(Oe.aM.Provider,{value:Sn},Fe)}var Jr=function(wt,Fe){var je={};for(var Re in wt)Object.prototype.hasOwnProperty.call(wt,Re)&&Fe.indexOf(Re)<0&&(je[Re]=wt[Re]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Re=Object.getOwnPropertySymbols(wt);Ne<Re.length;Ne++)Fe.indexOf(Re[Ne])<0&&Object.prototype.propertyIsEnumerable.call(wt,Re[Ne])&&(je[Re[Ne]]=wt[Re[Ne]]);return je};function pr(wt){const{prefixCls:Fe,className:je,rootClassName:Re,style:Ne,help:ct,errors:St,warnings:an,validateStatus:Gt,meta:Zt,hasFeedback:Dn,hidden:Hn,children:jn,fieldId:qt,required:Sn,isRequired:Ct,onSubItemMetaChange:Rt}=wt,Xt=Jr(wt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),en=`${Fe}-item`,{requiredMark:En}=Se.useContext(Oe.q3),Wt=Se.useRef(null),An=xe(St),Ge=xe(an),Tt=ct!=null,Ot=!!(Tt||St.length||an.length),ln=!!Wt.current&&(0,Dt.Z)(Wt.current),[Jt,dn]=Se.useState(null);(0,Lt.Z)(()=>{if(Ot&&Wt.current){const br=getComputedStyle(Wt.current);dn(parseInt(br.marginBottom,10))}},[Ot,ln]);const cn=br=>{br||dn(null)},Kn=function(){let br=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Tr=br?An:Zt.errors,jr=br?Ge:Zt.warnings;return Et(Tr,jr,Zt,"",!!Dn,Gt)}(),qn=ze()(en,je,Re,{[`${en}-with-help`]:Tt||An.length||Ge.length,[`${en}-has-feedback`]:Kn&&Dn,[`${en}-has-success`]:Kn==="success",[`${en}-has-warning`]:Kn==="warning",[`${en}-has-error`]:Kn==="error",[`${en}-is-validating`]:Kn==="validating",[`${en}-hidden`]:Hn});return Se.createElement("div",{className:qn,style:Ne,ref:Wt},Se.createElement(Qt.Z,Object.assign({className:`${en}-row`},(0,Ht.Z)(Xt,["_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"])),Se.createElement(Un,Object.assign({htmlFor:qt},wt,{requiredMark:En,required:Sn!=null?Sn:Ct,prefixCls:Fe})),Se.createElement(tn,Object.assign({},wt,Zt,{errors:An,warnings:Ge,prefixCls:Fe,status:Kn,help:ct,marginBottom:Jt,onErrorVisibleChanged:cn}),Se.createElement(Oe.qI.Provider,{value:Rt},Se.createElement(wr,{prefixCls:Fe,meta:Zt,errors:Zt.errors,warnings:Zt.warnings,hasFeedback:Dn,validateStatus:Kn},jn)))),!!Jt&&Se.createElement("div",{className:`${en}-margin-offset`,style:{marginBottom:-Jt}}))}const pi="__SPLIT__",Rr=null,Qr=Se.memo(wt=>{let{children:Fe}=wt;return Fe},(wt,Fe)=>wt.value===Fe.value&&wt.update===Fe.update&&wt.childProps.length===Fe.childProps.length&&wt.childProps.every((je,Re)=>je===Fe.childProps[Re]));function pn(wt){return wt!=null}function Zn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function rr(wt){const{name:Fe,noStyle:je,className:Re,dependencies:Ne,prefixCls:ct,shouldUpdate:St,rules:an,children:Gt,required:Zt,label:Dn,messageVariables:Hn,trigger:jn="onChange",validateTrigger:qt,hidden:Sn,help:Ct}=wt,{getPrefixCls:Rt}=Se.useContext(Nt.E_),{name:Xt}=Se.useContext(Oe.q3),en=le(Gt),En=typeof en=="function",Wt=Se.useContext(Oe.qI),{validateTrigger:An}=Se.useContext(it.FieldContext),Ge=qt!==void 0?qt:An,Tt=pn(Fe),Ot=Rt("form",ct),[ln,Jt]=qe(Ot),dn=Se.useContext(it.ListContext),cn=Se.useRef(),[Fn,Kn]=Pe({}),[qn,br]=(0,Bt.Z)(()=>Zn()),Tr=Mr=>{const Ir=dn==null?void 0:dn.getKey(Mr.name);if(br(Mr.destroy?Zn():Mr,!0),je&&Ct!==!1&&Wt){let $r=Mr.name;if(Mr.destroy)$r=cn.current||$r;else if(Ir!==void 0){const[Wr,wi]=Ir;$r=[Wr].concat((0,ae.Z)(wi)),cn.current=$r}Wt(Mr,$r)}},jr=(Mr,Ir)=>{Kn($r=>{const Wr=Object.assign({},$r),Ii=[].concat((0,ae.Z)(Mr.name.slice(0,-1)),(0,ae.Z)(Ir)).join(pi);return Mr.destroy?delete Wr[Ii]:Wr[Ii]=Mr,Wr})},[Fr,tr]=Se.useMemo(()=>{const Mr=(0,ae.Z)(qn.errors),Ir=(0,ae.Z)(qn.warnings);return Object.values(Fn).forEach($r=>{Mr.push.apply(Mr,(0,ae.Z)($r.errors||[])),Ir.push.apply(Ir,(0,ae.Z)($r.warnings||[]))}),[Mr,Ir]},[Fn,qn.errors,qn.warnings]),_r=_e();function Hr(Mr,Ir,$r){return je&&!Sn?Se.createElement(wr,{prefixCls:Ot,hasFeedback:wt.hasFeedback,validateStatus:wt.validateStatus,meta:qn,errors:Fr,warnings:tr,noStyle:!0},Mr):Se.createElement(pr,Object.assign({key:"row"},wt,{className:ze()(Re,Jt),prefixCls:Ot,fieldId:Ir,isRequired:$r,errors:Fr,warnings:tr,meta:qn,onSubItemMetaChange:jr}),Mr)}if(!Tt&&!En&&!Ne)return ln(Hr(en));let qr={};return typeof Dn=="string"?qr.label=Dn:Fe&&(qr.label=String(Fe)),Hn&&(qr=Object.assign(Object.assign({},qr),Hn)),ln(Se.createElement(it.Field,Object.assign({},wt,{messageVariables:qr,trigger:jn,validateTrigger:Ge,onMetaChange:Tr}),(Mr,Ir,$r)=>{const Wr=nt(Fe).length&&Ir?Ir.name:[],wi=$t(Wr,Xt),Ii=Zt!==void 0?Zt:!!(an&&an.some(Yn=>{if(Yn&&typeof Yn=="object"&&Yn.required&&!Yn.warningOnly)return!0;if(typeof Yn=="function"){const Xr=Yn($r);return Xr&&Xr.required&&!Xr.warningOnly}return!1})),Zr=Object.assign({},Mr);let Xn=null;if(Array.isArray(en)&&Tt)Xn=en;else if(!(En&&(!(St||Ne)||Tt))){if(!(Ne&&!En&&!Tt))if((0,ve.l$)(en)){const Yn=Object.assign(Object.assign({},en.props),Zr);if(Yn.id||(Yn.id=wi),Ct||Fr.length>0||tr.length>0||wt.extra){const oi=[];(Ct||Fr.length>0)&&oi.push(`${wi}_help`),wt.extra&&oi.push(`${wi}_extra`),Yn["aria-describedby"]=oi.join(" ")}Fr.length>0&&(Yn["aria-invalid"]="true"),Ii&&(Yn["aria-required"]="true"),(0,xt.Yr)(en)&&(Yn.ref=_r(Wr,en)),new Set([].concat((0,ae.Z)(nt(jn)),(0,ae.Z)(nt(Ge)))).forEach(oi=>{Yn[oi]=function(){for(var ci,di,Gr,ti,Gi,Sr=arguments.length,Or=new Array(Sr),fi=0;fi<Sr;fi++)Or[fi]=arguments[fi];(Gr=Zr[oi])===null||Gr===void 0||(ci=Gr).call.apply(ci,[Zr].concat(Or)),(Gi=(ti=en.props)[oi])===null||Gi===void 0||(di=Gi).call.apply(di,[ti].concat(Or))}});const Nr=[Yn["aria-required"],Yn["aria-invalid"],Yn["aria-describedby"]];Xn=Se.createElement(Qr,{value:Zr[wt.valuePropName||"value"],update:en,childProps:Nr},(0,ve.Tm)(en,Yn))}else En&&(St||Ne)&&!Tt?Xn=en($r):Xn=en}return Hr(Xn,wi,Ii)}))}const ur=rr;ur.useStatus=he;var nr=ur,fr=function(wt,Fe){var je={};for(var Re in wt)Object.prototype.hasOwnProperty.call(wt,Re)&&Fe.indexOf(Re)<0&&(je[Re]=wt[Re]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Re=Object.getOwnPropertySymbols(wt);Ne<Re.length;Ne++)Fe.indexOf(Re[Ne])<0&&Object.prototype.propertyIsEnumerable.call(wt,Re[Ne])&&(je[Re[Ne]]=wt[Re[Ne]]);return je},Br=wt=>{var{prefixCls:Fe,children:je}=wt,Re=fr(wt,["prefixCls","children"]);const{getPrefixCls:Ne}=Se.useContext(Nt.E_),ct=Ne("form",Fe),St=Se.useMemo(()=>({prefixCls:ct,status:"error"}),[ct]);return Se.createElement(it.List,Object.assign({},Re),(an,Gt,Zt)=>Se.createElement(Oe.Rk.Provider,{value:St},je(an.map(Dn=>Object.assign(Object.assign({},Dn),{fieldKey:Dn.key})),Gt,{errors:Zt.errors,warnings:Zt.warnings})))};function ir(){const{form:wt}=(0,Se.useContext)(Oe.q3);return wt}const Bn=kt;Bn.Item=nr,Bn.List=Br,Bn.ErrorList=Pt,Bn.useForm=tt,Bn.useFormInstance=ir,Bn.useWatch=it.useWatch,Bn.Provider=Oe.RV,Bn.create=()=>{};var Cr=Bn},5871:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return Gn}});var ae=se(84105),He=se(87395),ze=se(92310),rt=se.n(ze),Se=se(54476),ke=se(20068),Oe=se(76190),xe=se(42978),Ee=se(75931),Ze=se(67732),yt=se(83652);function Be(){return typeof BigInt=="function"}function Te(ut){return!ut&&ut!==0&&!Number.isNaN(ut)||!String(ut).trim()}function dt(ut){var We=ut.trim(),Ue=We.startsWith("-");Ue&&(We=We.slice(1)),We=We.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),We.startsWith(".")&&(We="0".concat(We));var nn=We||"0",gn=nn.split("."),xn=gn[0]||"0",Un=gn[1]||"0";xn==="0"&&Un==="0"&&(Ue=!1);var Pn=Ue?"-":"";return{negative:Ue,negativeStr:Pn,trimStr:nn,integerStr:xn,decimalStr:Un,fullStr:"".concat(Pn).concat(nn)}}function ot(ut){var We=String(ut);return!Number.isNaN(Number(We))&&We.includes("e")}function ft(ut){var We=String(ut);if(ot(ut)){var Ue=Number(We.slice(We.indexOf("e-")+2)),nn=We.match(/\.(\d+)/);return nn!=null&&nn[1]&&(Ue+=nn[1].length),Ue}return We.includes(".")&&ht(We)?We.length-We.indexOf(".")-1:0}function lt(ut){var We=String(ut);if(ot(ut)){if(ut>Number.MAX_SAFE_INTEGER)return String(Be()?BigInt(ut).toString():Number.MAX_SAFE_INTEGER);if(ut<Number.MIN_SAFE_INTEGER)return String(Be()?BigInt(ut).toString():Number.MIN_SAFE_INTEGER);We=ut.toFixed(ft(We))}return dt(We).fullStr}function ht(ut){return typeof ut=="number"?!Number.isNaN(ut):ut?/^\s*-?\d+(\.\d+)?\s*$/.test(ut)||/^\s*-?\d+\.\s*$/.test(ut)||/^\s*-?\.\d+\s*$/.test(ut):!1}var Vt=function(){function ut(We){if((0,Ze.Z)(this,ut),(0,ke.Z)(this,"origin",""),(0,ke.Z)(this,"negative",void 0),(0,ke.Z)(this,"integer",void 0),(0,ke.Z)(this,"decimal",void 0),(0,ke.Z)(this,"decimalLen",void 0),(0,ke.Z)(this,"empty",void 0),(0,ke.Z)(this,"nan",void 0),Te(We)){this.empty=!0;return}if(this.origin=String(We),We==="-"||Number.isNaN(We)){this.nan=!0;return}var Ue=We;if(ot(Ue)&&(Ue=Number(Ue)),Ue=typeof Ue=="string"?Ue:lt(Ue),ht(Ue)){var nn=dt(Ue);this.negative=nn.negative;var gn=nn.trimStr.split(".");this.integer=BigInt(gn[0]);var xn=gn[1]||"0";this.decimal=BigInt(xn),this.decimalLen=xn.length}else this.nan=!0}return(0,yt.Z)(ut,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Ue){var nn="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Ue,"0"));return BigInt(nn)}},{key:"negate",value:function(){var Ue=new ut(this.toString());return Ue.negative=!Ue.negative,Ue}},{key:"cal",value:function(Ue,nn,gn){var xn=Math.max(this.getDecimalStr().length,Ue.getDecimalStr().length),Un=this.alignDecimal(xn),Pn=Ue.alignDecimal(xn),Vn=nn(Un,Pn).toString(),dr=gn(xn),gr=dt(Vn),_n=gr.negativeStr,wr=gr.trimStr,Jr="".concat(_n).concat(wr.padStart(dr+1,"0"));return new ut("".concat(Jr.slice(0,-dr),".").concat(Jr.slice(-dr)))}},{key:"add",value:function(Ue){if(this.isInvalidate())return new ut(Ue);var nn=new ut(Ue);return nn.isInvalidate()?this:this.cal(nn,function(gn,xn){return gn+xn},function(gn){return gn})}},{key:"multi",value:function(Ue){var nn=new ut(Ue);return this.isInvalidate()||nn.isInvalidate()?new ut(NaN):this.cal(nn,function(gn,xn){return gn*xn},function(gn){return gn*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Ue){return this.toString()===(Ue==null?void 0:Ue.toString())}},{key:"lessEquals",value:function(Ue){return this.add(Ue.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Ue?this.isInvalidate()?"":dt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),ut}(),st=function(){function ut(We){if((0,Ze.Z)(this,ut),(0,ke.Z)(this,"origin",""),(0,ke.Z)(this,"number",void 0),(0,ke.Z)(this,"empty",void 0),Te(We)){this.empty=!0;return}this.origin=String(We),this.number=Number(We)}return(0,yt.Z)(ut,[{key:"negate",value:function(){return new ut(-this.toNumber())}},{key:"add",value:function(Ue){if(this.isInvalidate())return new ut(Ue);var nn=Number(Ue);if(Number.isNaN(nn))return this;var gn=this.number+nn;if(gn>Number.MAX_SAFE_INTEGER)return new ut(Number.MAX_SAFE_INTEGER);if(gn<Number.MIN_SAFE_INTEGER)return new ut(Number.MIN_SAFE_INTEGER);var xn=Math.max(ft(this.number),ft(nn));return new ut(gn.toFixed(xn))}},{key:"multi",value:function(Ue){var nn=Number(Ue);if(this.isInvalidate()||Number.isNaN(nn))return new ut(NaN);var gn=this.number*nn;if(gn>Number.MAX_SAFE_INTEGER)return new ut(Number.MAX_SAFE_INTEGER);if(gn<Number.MIN_SAFE_INTEGER)return new ut(Number.MIN_SAFE_INTEGER);var xn=Math.max(ft(this.number),ft(nn));return new ut(gn.toFixed(xn))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Ue){return this.toNumber()===(Ue==null?void 0:Ue.toNumber())}},{key:"lessEquals",value:function(Ue){return this.add(Ue.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Ue?this.isInvalidate()?"":lt(this.number):this.origin}}]),ut}();function vt(ut){return Be()?new Vt(ut):new st(ut)}function Ke(ut,We,Ue){var nn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(ut==="")return"";var gn=dt(ut),xn=gn.negativeStr,Un=gn.integerStr,Pn=gn.decimalStr,Vn="".concat(We).concat(Pn),dr="".concat(xn).concat(Un);if(Ue>=0){var gr=Number(Pn[Ue]);if(gr>=5&&!nn){var _n=vt(ut).add("".concat(xn,"0.").concat("0".repeat(Ue)).concat(10-gr));return Ke(_n.toString(),We,Ue,nn)}return Ue===0?dr:"".concat(dr).concat(We).concat(Pn.padEnd(Ue,"0").slice(0,Ue))}return Vn===".0"?dr:"".concat(dr).concat(Vn)}var pe=vt,$e=se(93681),et=se(34280),qe=se(8654),Ye=se(59301),pt=se(48736);function at(ut,We){var Ue=(0,Ye.useRef)(null);function nn(){try{var xn=ut.selectionStart,Un=ut.selectionEnd,Pn=ut.value,Vn=Pn.substring(0,xn),dr=Pn.substring(Un);Ue.current={start:xn,end:Un,value:Pn,beforeTxt:Vn,afterTxt:dr}}catch(gr){}}function gn(){if(ut&&Ue.current&&We)try{var xn=ut.value,Un=Ue.current,Pn=Un.beforeTxt,Vn=Un.afterTxt,dr=Un.start,gr=xn.length;if(xn.endsWith(Vn))gr=xn.length-Ue.current.afterTxt.length;else if(xn.startsWith(Pn))gr=Pn.length;else{var _n=Pn[dr-1],wr=xn.indexOf(_n,dr-1);wr!==-1&&(gr=wr+1)}ut.setSelectionRange(gr,gr)}catch(Jr){(0,pt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Jr.message))}}return[nn,gn]}var Pt=se(49658),it=function(){var We=(0,Ye.useState)(!1),Ue=(0,xe.Z)(We,2),nn=Ue[0],gn=Ue[1];return(0,et.Z)(function(){gn((0,Pt.Z)())},[]),nn},Nt=it,rn=se(16089),Ut=200,un=600;function jt(ut){var We=ut.prefixCls,Ue=ut.upNode,nn=ut.downNode,gn=ut.upDisabled,xn=ut.downDisabled,Un=ut.onStep,Pn=Ye.useRef(),Vn=Ye.useRef([]),dr=Ye.useRef();dr.current=Un;var gr=function(){clearTimeout(Pn.current)},_n=function(Zn,rr){Zn.preventDefault(),gr(),dr.current(rr);function ur(){dr.current(rr),Pn.current=setTimeout(ur,Ut)}Pn.current=setTimeout(ur,un)};Ye.useEffect(function(){return function(){gr(),Vn.current.forEach(function(pn){return rn.Z.cancel(pn)})}},[]);var wr=Nt();if(wr)return null;var Jr="".concat(We,"-handler"),pr=rt()(Jr,"".concat(Jr,"-up"),(0,ke.Z)({},"".concat(Jr,"-up-disabled"),gn)),pi=rt()(Jr,"".concat(Jr,"-down"),(0,ke.Z)({},"".concat(Jr,"-down-disabled"),xn)),Rr=function(){return Vn.current.push((0,rn.Z)(gr))},Qr={unselectable:"on",role:"button",onMouseUp:Rr,onMouseLeave:Rr};return Ye.createElement("div",{className:"".concat(Jr,"-wrap")},Ye.createElement("span",(0,Se.Z)({},Qr,{onMouseDown:function(Zn){_n(Zn,!0)},"aria-label":"Increase Value","aria-disabled":gn,className:pr}),Ue||Ye.createElement("span",{unselectable:"on",className:"".concat(We,"-handler-up-inner")})),Ye.createElement("span",(0,Se.Z)({},Qr,{onMouseDown:function(Zn){_n(Zn,!1)},"aria-label":"Decrease Value","aria-disabled":xn,className:pi}),nn||Ye.createElement("span",{unselectable:"on",className:"".concat(We,"-handler-down-inner")})))}function Qe(ut){var We=typeof ut=="number"?lt(ut):dt(ut).fullStr,Ue=We.includes(".");return Ue?dt(We.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:ut+"0"}var Ce=se(5643),nt=function(){var ut=(0,Ye.useRef)(0),We=function(){rn.Z.cancel(ut.current)};return(0,Ye.useEffect)(function(){return We},[]),function(Ue){We(),ut.current=(0,rn.Z)(function(){Ue()})}},$t=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Et=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Ve=function(We,Ue){return We||Ue.isEmpty()?Ue.toString():Ue.toNumber()},tt=function(We){var Ue=pe(We);return Ue.isInvalidate()?null:Ue},At=Ye.forwardRef(function(ut,We){var Ue,nn=ut.prefixCls,gn=nn===void 0?"rc-input-number":nn,xn=ut.className,Un=ut.style,Pn=ut.min,Vn=ut.max,dr=ut.step,gr=dr===void 0?1:dr,_n=ut.defaultValue,wr=ut.value,Jr=ut.disabled,pr=ut.readOnly,pi=ut.upHandler,Rr=ut.downHandler,Qr=ut.keyboard,pn=ut.controls,Zn=pn===void 0?!0:pn,rr=ut.classNames,ur=ut.stringMode,nr=ut.parser,fr=ut.formatter,sr=ut.precision,Br=ut.decimalSeparator,ir=ut.onChange,Bn=ut.onInput,Cr=ut.onPressEnter,wt=ut.onStep,Fe=(0,Ee.Z)(ut,$t),je="".concat(gn,"-input"),Re=Ye.useRef(null),Ne=Ye.useState(!1),ct=(0,xe.Z)(Ne,2),St=ct[0],an=ct[1],Gt=Ye.useRef(!1),Zt=Ye.useRef(!1),Dn=Ye.useRef(!1),Hn=Ye.useState(function(){return pe(wr!=null?wr:_n)}),jn=(0,xe.Z)(Hn,2),qt=jn[0],Sn=jn[1];function Ct(Xn){wr===void 0&&Sn(Xn)}var Rt=Ye.useCallback(function(Xn,Yn){if(!Yn)return sr>=0?sr:Math.max(ft(Xn),ft(gr))},[sr,gr]),Xt=Ye.useCallback(function(Xn){var Yn=String(Xn);if(nr)return nr(Yn);var Xr=Yn;return Br&&(Xr=Xr.replace(Br,".")),Xr.replace(/[^\w.-]+/g,"")},[nr,Br]),en=Ye.useRef(""),En=Ye.useCallback(function(Xn,Yn){if(fr)return fr(Xn,{userTyping:Yn,input:String(en.current)});var Xr=typeof Xn=="number"?lt(Xn):Xn;if(!Yn){var Nr=Rt(Xr,Yn);if(ht(Xr)&&(Br||Nr>=0)){var oi=Br||".";Xr=Ke(Xr,oi,Nr)}}return Xr},[fr,Rt,Br]),Wt=Ye.useState(function(){var Xn=_n!=null?_n:wr;return qt.isInvalidate()&&["string","number"].includes((0,Oe.Z)(Xn))?Number.isNaN(Xn)?"":Xn:En(qt.toString(),!1)}),An=(0,xe.Z)(Wt,2),Ge=An[0],Tt=An[1];en.current=Ge;function Ot(Xn,Yn){Tt(En(Xn.isInvalidate()?Xn.toString(!1):Xn.toString(!Yn),Yn))}var ln=Ye.useMemo(function(){return tt(Vn)},[Vn,sr]),Jt=Ye.useMemo(function(){return tt(Pn)},[Pn,sr]),dn=Ye.useMemo(function(){return!ln||!qt||qt.isInvalidate()?!1:ln.lessEquals(qt)},[ln,qt]),cn=Ye.useMemo(function(){return!Jt||!qt||qt.isInvalidate()?!1:qt.lessEquals(Jt)},[Jt,qt]),Fn=at(Re.current,St),Kn=(0,xe.Z)(Fn,2),qn=Kn[0],br=Kn[1],Tr=function(Yn){return ln&&!Yn.lessEquals(ln)?ln:Jt&&!Jt.lessEquals(Yn)?Jt:null},jr=function(Yn){return!Tr(Yn)},Fr=function(Yn,Xr){var Nr=Yn,oi=jr(Nr)||Nr.isEmpty();if(!Nr.isEmpty()&&!Xr&&(Nr=Tr(Nr)||Nr,oi=!0),!pr&&!Jr&&oi){var ci=Nr.toString(),di=Rt(ci,Xr);return di>=0&&(Nr=pe(Ke(ci,".",di)),jr(Nr)||(Nr=pe(Ke(ci,".",di,!0)))),Nr.equals(qt)||(Ct(Nr),ir==null||ir(Nr.isEmpty()?null:Ve(ur,Nr)),wr===void 0&&Ot(Nr,Xr)),Nr}return qt},tr=nt(),_r=function Xn(Yn){if(qn(),en.current=Yn,Tt(Yn),!Zt.current){var Xr=Xt(Yn),Nr=pe(Xr);Nr.isNaN()||Fr(Nr,!0)}Bn==null||Bn(Yn),tr(function(){var oi=Yn;nr||(oi=Yn.replace(/。/g,".")),oi!==Yn&&Xn(oi)})},Hr=function(){Zt.current=!0},qr=function(){Zt.current=!1,_r(Re.current.value)},Mr=function(Yn){_r(Yn.target.value)},Ir=function(Yn){var Xr;if(!(Yn&&dn||!Yn&&cn)){Gt.current=!1;var Nr=pe(Dn.current?Qe(gr):gr);Yn||(Nr=Nr.negate());var oi=(qt||pe(0)).add(Nr.toString()),ci=Fr(oi,!1);wt==null||wt(Ve(ur,ci),{offset:Dn.current?Qe(gr):gr,type:Yn?"up":"down"}),(Xr=Re.current)===null||Xr===void 0||Xr.focus()}},$r=function(Yn){var Xr=pe(Xt(Ge)),Nr=Xr;Xr.isNaN()?Nr=Fr(qt,Yn):Nr=Fr(Xr,Yn),wr!==void 0?Ot(qt,!1):Nr.isNaN()||Ot(Nr,!1)},Wr=function(){Gt.current=!0},wi=function(Yn){var Xr=Yn.key,Nr=Yn.shiftKey;Gt.current=!0,Dn.current=Nr,Xr==="Enter"&&(Zt.current||(Gt.current=!1),$r(!1),Cr==null||Cr(Yn)),Qr!==!1&&!Zt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Xr)&&(Ir(Xr==="Up"||Xr==="ArrowUp"),Yn.preventDefault())},Ii=function(){Gt.current=!1,Dn.current=!1},Zr=function(){$r(!1),an(!1),Gt.current=!1};return(0,et.o)(function(){qt.isInvalidate()||Ot(qt,!1)},[sr]),(0,et.o)(function(){var Xn=pe(wr);Sn(Xn);var Yn=pe(Xt(Ge));(!Xn.equals(Yn)||!Gt.current||fr)&&Ot(Xn,Gt.current)},[wr]),(0,et.o)(function(){fr&&br()},[Ge]),Ye.createElement("div",{className:rt()(gn,rr==null?void 0:rr.input,xn,(Ue={},(0,ke.Z)(Ue,"".concat(gn,"-focused"),St),(0,ke.Z)(Ue,"".concat(gn,"-disabled"),Jr),(0,ke.Z)(Ue,"".concat(gn,"-readonly"),pr),(0,ke.Z)(Ue,"".concat(gn,"-not-a-number"),qt.isNaN()),(0,ke.Z)(Ue,"".concat(gn,"-out-of-range"),!qt.isInvalidate()&&!jr(qt)),Ue)),style:Un,onFocus:function(){an(!0)},onBlur:Zr,onKeyDown:wi,onKeyUp:Ii,onCompositionStart:Hr,onCompositionEnd:qr,onBeforeInput:Wr},Zn&&Ye.createElement(jt,{prefixCls:gn,upNode:pi,downNode:Rr,upDisabled:dn,downDisabled:cn,onStep:Ir}),Ye.createElement("div",{className:"".concat(je,"-wrap")},Ye.createElement("input",(0,Se.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Pn,"aria-valuemax":Vn,"aria-valuenow":qt.isInvalidate()?null:qt.toString(),step:gr},Fe,{ref:(0,qe.sQ)(Re,We),className:je,value:Ge,onChange:Mr,disabled:Jr,readOnly:pr}))))}),fn=Ye.forwardRef(function(ut,We){var Ue=ut.disabled,nn=ut.style,gn=ut.prefixCls,xn=ut.value,Un=ut.prefix,Pn=ut.suffix,Vn=ut.addonBefore,dr=ut.addonAfter,gr=ut.classes,_n=ut.className,wr=ut.classNames,Jr=(0,Ee.Z)(ut,Et),pr=Ye.useRef(null),pi=function(Qr){pr.current&&(0,Ce.nH)(pr.current,Qr)};return Ye.createElement($e.BaseInput,{inputElement:Ye.createElement(At,(0,Se.Z)({prefixCls:gn,disabled:Ue,classNames:wr,ref:(0,qe.sQ)(pr,We)},Jr)),className:_n,triggerFocus:pi,prefixCls:gn,value:xn,disabled:Ue,style:nn,prefix:Un,suffix:Pn,addonAfter:dr,addonBefore:Vn,classes:gr,classNames:wr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});fn.displayName="InputNumber";var Kt=fn,yn=Kt,kt=se(19080),Bt=se(36355),xt=se(92736),ve=se(1684),ce=se(19716),le=se(32441),fe=se(33234),he=se(9937),ue=se(17313),Pe=se(74207),_e=se(83116),Dt=se(37613);const Lt=(ut,We)=>{let{componentCls:Ue,borderRadiusSM:nn,borderRadiusLG:gn}=ut;const xn=We==="lg"?gn:nn;return{[`&-${We}`]:{[`${Ue}-handler-wrap`]:{borderStartEndRadius:xn,borderEndEndRadius:xn},[`${Ue}-handler-up`]:{borderStartEndRadius:xn},[`${Ue}-handler-down`]:{borderEndEndRadius:xn}}}},Ht=ut=>{const{componentCls:We,lineWidth:Ue,lineType:nn,colorBorder:gn,borderRadius:xn,fontSizeLG:Un,controlHeightLG:Pn,controlHeightSM:Vn,colorError:dr,paddingInlineSM:gr,colorTextDescription:_n,motionDurationMid:wr,handleHoverColor:Jr,paddingInline:pr,paddingBlock:pi,handleBg:Rr,handleActiveBg:Qr,colorTextDisabled:pn,borderRadiusSM:Zn,borderRadiusLG:rr,controlWidth:ur,handleVisible:nr,handleBorderColor:fr}=ut;return[{[We]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ue.Wf)(ut)),(0,he.ik)(ut)),(0,he.bi)(ut,We)),{display:"inline-block",width:ur,margin:0,padding:0,border:`${Ue}px ${nn} ${gn}`,borderRadius:xn,"&-rtl":{direction:"rtl",[`${We}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Un,borderRadius:rr,[`input${We}-input`]:{height:Pn-2*Ue}},"&-sm":{padding:0,borderRadius:Zn,[`input${We}-input`]:{height:Vn-2*Ue,padding:`0 ${gr}px`}},"&:hover":Object.assign({},(0,he.pU)(ut)),"&-focused":Object.assign({},(0,he.M1)(ut)),"&-out-of-range":{[`${We}-input-wrap`]:{input:{color:dr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ue.Wf)(ut)),(0,he.s7)(ut)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${We}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${We}-group-addon`]:{borderRadius:rr,fontSize:ut.fontSizeLG}},"&-sm":{[`${We}-group-addon`]:{borderRadius:Zn}},[`${We}-wrapper-disabled > ${We}-group-addon`]:Object.assign({},(0,he.Xy)(ut))}}),[`&-disabled ${We}-input`]:{cursor:"not-allowed"},[We]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ue.Wf)(ut)),{width:"100%",padding:`${pi}px ${pr}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:xn,outline:0,transition:`all ${wr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,he.nz)(ut.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[We]:Object.assign(Object.assign(Object.assign({[`&:hover ${We}-handler-wrap, &-focused ${We}-handler-wrap`]:{opacity:1},[`${We}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:ut.handleWidth,height:"100%",background:Rr,borderStartStartRadius:0,borderStartEndRadius:xn,borderEndEndRadius:xn,borderEndStartRadius:0,opacity:nr===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${wr} linear ${wr}`,[`${We}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${We}-handler-up-inner,
|
|
|
${We}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:ut.handleFontSize}}},[`${We}-handler`]:{height:"50%",overflow:"hidden",color:_n,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Ue}px ${nn} ${fr}`,transition:`all ${wr} linear`,"&:active":{background:Qr},"&:hover":{height:"60%",[`
|
|
|
${We}-handler-up-inner,
|
|
|
${We}-handler-down-inner
|
|
|
`]:{color:Jr}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ue.Ro)()),{color:_n,transition:`all ${wr} linear`,userSelect:"none"})},[`${We}-handler-up`]:{borderStartEndRadius:xn},[`${We}-handler-down`]:{borderBlockStart:`${Ue}px ${nn} ${fr}`,borderEndEndRadius:xn}},Lt(ut,"lg")),Lt(ut,"sm")),{"&-disabled, &-readonly":{[`${We}-handler-wrap`]:{display:"none"},[`${We}-input`]:{color:"inherit"}},[`
|
|
|
${We}-handler-up-disabled,
|
|
|
${We}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${We}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${We}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:pn}})},{[`${We}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${We}-handler-down`]:{borderBlockStartWidth:0}}}]},Qt=ut=>{const{componentCls:We,paddingBlock:Ue,paddingInline:nn,inputAffixPadding:gn,controlWidth:xn,borderRadiusLG:Un,borderRadiusSM:Pn}=ut;return{[`${We}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,he.ik)(ut)),(0,he.bi)(ut,`${We}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:xn,padding:0,paddingInlineStart:nn,"&-lg":{borderRadius:Un},"&-sm":{borderRadius:Pn},[`&:not(${We}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,he.pU)(ut)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${We}-disabled`]:{background:"transparent"},[`> div${We}`]:{width:"100%",border:"none",outline:"none",[`&${We}-focused`]:{boxShadow:"none !important"}},[`input${We}-input`]:{padding:`${Ue}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${We}-handler-wrap`]:{zIndex:2},[We]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:gn},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:nn,marginInlineStart:gn}}})}};var zt=(0,_e.Z)("InputNumber",ut=>{const We=(0,Dt.TS)(ut,(0,he.e5)(ut));return[Ht(We),Qt(We),(0,Pe.c)(We)]},ut=>Object.assign(Object.assign({},(0,he.TM)(ut)),{controlWidth:90,handleWidth:ut.controlHeightSM-ut.lineWidth*2,handleFontSize:ut.fontSize/2,handleVisible:"auto",handleActiveBg:ut.colorFillAlter,handleBg:ut.colorBgContainer,handleHoverColor:ut.colorPrimary,handleBorderColor:ut.colorBorder})),bn=function(ut,We){var Ue={};for(var nn in ut)Object.prototype.hasOwnProperty.call(ut,nn)&&We.indexOf(nn)<0&&(Ue[nn]=ut[nn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gn=0,nn=Object.getOwnPropertySymbols(ut);gn<nn.length;gn++)We.indexOf(nn[gn])<0&&Object.prototype.propertyIsEnumerable.call(ut,nn[gn])&&(Ue[nn[gn]]=ut[nn[gn]]);return Ue};const In=Ye.forwardRef((ut,We)=>{const{getPrefixCls:Ue,direction:nn}=Ye.useContext(Bt.E_),gn=Ye.useRef(null);Ye.useImperativeHandle(We,()=>gn.current);const{className:xn,rootClassName:Un,size:Pn,disabled:Vn,prefixCls:dr,addonBefore:gr,addonAfter:_n,prefix:wr,bordered:Jr=!0,readOnly:pr,status:pi,controls:Rr}=ut,Qr=bn(ut,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),pn=Ue("input-number",dr),[Zn,rr]=zt(pn),{compactSize:ur,compactItemClassnames:nr}=(0,fe.ri)(pn,nn);let fr=Ye.createElement(He.Z,{className:`${pn}-handler-up-inner`}),sr=Ye.createElement(ae.Z,{className:`${pn}-handler-down-inner`});const Br=typeof Rr=="boolean"?Rr:void 0;typeof Rr=="object"&&(fr=typeof Rr.upIcon=="undefined"?fr:Ye.createElement("span",{className:`${pn}-handler-up-inner`},Rr.upIcon),sr=typeof Rr.downIcon=="undefined"?sr:Ye.createElement("span",{className:`${pn}-handler-down-inner`},Rr.downIcon));const{hasFeedback:ir,status:Bn,isFormItemInput:Cr,feedbackIcon:wt}=Ye.useContext(le.aM),Fe=(0,kt.F)(Bn,pi),je=(0,ce.Z)(Gt=>{var Zt;return(Zt=Pn!=null?Pn:ur)!==null&&Zt!==void 0?Zt:Gt}),Re=Ye.useContext(ve.Z),Ne=Vn!=null?Vn:Re,ct=rt()({[`${pn}-lg`]:je==="large",[`${pn}-sm`]:je==="small",[`${pn}-rtl`]:nn==="rtl",[`${pn}-borderless`]:!Jr,[`${pn}-in-form-item`]:Cr},(0,kt.Z)(pn,Fe),nr,rr),St=`${pn}-group`,an=Ye.createElement(yn,Object.assign({ref:gn,disabled:Ne,className:rt()(xn,Un),upHandler:fr,downHandler:sr,prefixCls:pn,readOnly:pr,controls:Br,prefix:wr,suffix:ir&&wt,addonAfter:_n&&Ye.createElement(fe.BR,null,Ye.createElement(le.Ux,{override:!0,status:!0},_n)),addonBefore:gr&&Ye.createElement(fe.BR,null,Ye.createElement(le.Ux,{override:!0,status:!0},gr)),classNames:{input:ct},classes:{affixWrapper:rt()((0,kt.Z)(`${pn}-affix-wrapper`,Fe,ir),{[`${pn}-affix-wrapper-sm`]:je==="small",[`${pn}-affix-wrapper-lg`]:je==="large",[`${pn}-affix-wrapper-rtl`]:nn==="rtl",[`${pn}-affix-wrapper-borderless`]:!Jr},rr),wrapper:rt()({[`${St}-rtl`]:nn==="rtl",[`${pn}-wrapper-disabled`]:Ne},rr),group:rt()({[`${pn}-group-wrapper-sm`]:je==="small",[`${pn}-group-wrapper-lg`]:je==="large",[`${pn}-group-wrapper-rtl`]:nn==="rtl"},(0,kt.Z)(`${pn}-group-wrapper`,Fe,ir),rr)}},Qr));return Zn(an)}),Mt=In,tn=ut=>Ye.createElement(xt.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Ye.createElement(In,Object.assign({},ut)));Mt._InternalPanelDoNotUseOrYouWillBeFired=tn;var Gn=Mt},9432:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return Vt},n:function(){return lt}});var ae=se(19248),He=se(92310),ze=se.n(He),rt=se(93681),Se=se(8654),ke=se(59301),Oe=se(19080),xe=se(36355),Ee=se(1684),Ze=se(19716),yt=se(32441),Be=se(33234),Te=se(59412),dt=se(9937);function ot(st){return!!(st.prefix||st.suffix||st.allowClear)}var ft=function(st,vt){var Ke={};for(var pe in st)Object.prototype.hasOwnProperty.call(st,pe)&&vt.indexOf(pe)<0&&(Ke[pe]=st[pe]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,pe=Object.getOwnPropertySymbols(st);$e<pe.length;$e++)vt.indexOf(pe[$e])<0&&Object.prototype.propertyIsEnumerable.call(st,pe[$e])&&(Ke[pe[$e]]=st[pe[$e]]);return Ke};function lt(st,vt){if(!st)return;st.focus(vt);const{cursor:Ke}=vt||{};if(Ke){const pe=st.value.length;switch(Ke){case"start":st.setSelectionRange(0,0);break;case"end":st.setSelectionRange(pe,pe);break;default:st.setSelectionRange(0,pe);break}}}var Vt=(0,ke.forwardRef)((st,vt)=>{var Ke;const{prefixCls:pe,bordered:$e=!0,status:et,size:qe,disabled:Ye,onBlur:pt,onFocus:at,suffix:Pt,allowClear:it,addonAfter:Nt,addonBefore:rn,className:Ut,style:un,styles:jt,rootClassName:Qe,onChange:Ce,classNames:nt}=st,$t=ft(st,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Et,direction:Ve,input:tt}=ke.useContext(xe.E_),At=Et("input",pe),fn=(0,ke.useRef)(null),[Kt,yn]=(0,dt.ZP)(At),{compactSize:kt,compactItemClassnames:Bt}=(0,Be.ri)(At,Ve),xt=(0,Ze.Z)(In=>{var Mt;return(Mt=qe!=null?qe:kt)!==null&&Mt!==void 0?Mt:In}),ve=ke.useContext(Ee.Z),ce=Ye!=null?Ye:ve,{status:le,hasFeedback:fe,feedbackIcon:he}=(0,ke.useContext)(yt.aM),ue=(0,Oe.F)(le,et),Pe=ot(st)||!!fe,_e=(0,ke.useRef)(Pe);(0,ke.useEffect)(()=>{var In;Pe&&_e.current,_e.current=Pe},[Pe]);const Dt=(0,Te.Z)(fn,!0),Lt=In=>{Dt(),pt==null||pt(In)},Ht=In=>{Dt(),at==null||at(In)},Qt=In=>{Dt(),Ce==null||Ce(In)},zt=(fe||Pt)&&ke.createElement(ke.Fragment,null,Pt,fe&&he);let bn;return typeof it=="object"&&(it!=null&&it.clearIcon)?bn=it:it&&(bn={clearIcon:ke.createElement(ae.Z,null)}),Kt(ke.createElement(rt.default,Object.assign({ref:(0,Se.sQ)(vt,fn),prefixCls:At,autoComplete:tt==null?void 0:tt.autoComplete},$t,{disabled:ce,onBlur:Lt,onFocus:Ht,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),un),styles:Object.assign(Object.assign({},tt==null?void 0:tt.styles),jt),suffix:zt,allowClear:bn,className:ze()(Ut,Qe,Bt,tt==null?void 0:tt.className),onChange:Qt,addonAfter:Nt&&ke.createElement(Be.BR,null,ke.createElement(yt.Ux,{override:!0,status:!0},Nt)),addonBefore:rn&&ke.createElement(Be.BR,null,ke.createElement(yt.Ux,{override:!0,status:!0},rn)),classNames:Object.assign(Object.assign(Object.assign({},nt),tt==null?void 0:tt.classNames),{input:ze()({[`${At}-sm`]:xt==="small",[`${At}-lg`]:xt==="large",[`${At}-rtl`]:Ve==="rtl",[`${At}-borderless`]:!$e},!Pe&&(0,Oe.Z)(At,ue),nt==null?void 0:nt.input,(Ke=tt==null?void 0:tt.classNames)===null||Ke===void 0?void 0:Ke.input,yn)}),classes:{affixWrapper:ze()({[`${At}-affix-wrapper-sm`]:xt==="small",[`${At}-affix-wrapper-lg`]:xt==="large",[`${At}-affix-wrapper-rtl`]:Ve==="rtl",[`${At}-affix-wrapper-borderless`]:!$e},(0,Oe.Z)(`${At}-affix-wrapper`,ue,fe),yn),wrapper:ze()({[`${At}-group-rtl`]:Ve==="rtl"},yn),group:ze()({[`${At}-group-wrapper-sm`]:xt==="small",[`${At}-group-wrapper-lg`]:xt==="large",[`${At}-group-wrapper-rtl`]:Ve==="rtl",[`${At}-group-wrapper-disabled`]:ce},(0,Oe.Z)(`${At}-group-wrapper`,ue,fe),yn)}})))})},1643:function(Cn,mn,se){"use strict";var ae=se(19248),He=se(92310),ze=se.n(He),rt=se(9296),Se=se(59301),ke=se(19080),Oe=se(36355),xe=se(1684),Ee=se(19716),Ze=se(32441),yt=se(9432),Be=se(9937),Te=function(ot,ft){var lt={};for(var ht in ot)Object.prototype.hasOwnProperty.call(ot,ht)&&ft.indexOf(ht)<0&&(lt[ht]=ot[ht]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,ht=Object.getOwnPropertySymbols(ot);Vt<ht.length;Vt++)ft.indexOf(ht[Vt])<0&&Object.prototype.propertyIsEnumerable.call(ot,ht[Vt])&&(lt[ht[Vt]]=ot[ht[Vt]]);return lt};const dt=(0,Se.forwardRef)((ot,ft)=>{const{prefixCls:lt,bordered:ht=!0,size:Vt,disabled:st,status:vt,allowClear:Ke,showCount:pe,classNames:$e,rootClassName:et,className:qe}=ot,Ye=Te(ot,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:pt,direction:at}=Se.useContext(Oe.E_),Pt=(0,Ee.Z)(Vt),it=Se.useContext(xe.Z),Nt=st!=null?st:it,{status:rn,hasFeedback:Ut,feedbackIcon:un}=Se.useContext(Ze.aM),jt=(0,ke.F)(rn,vt),Qe=Se.useRef(null);Se.useImperativeHandle(ft,()=>{var Ve;return{resizableTextArea:(Ve=Qe.current)===null||Ve===void 0?void 0:Ve.resizableTextArea,focus:tt=>{var At,fn;(0,yt.n)((fn=(At=Qe.current)===null||At===void 0?void 0:At.resizableTextArea)===null||fn===void 0?void 0:fn.textArea,tt)},blur:()=>{var tt;return(tt=Qe.current)===null||tt===void 0?void 0:tt.blur()}}});const Ce=pt("input",lt);let nt;typeof Ke=="object"&&(Ke!=null&&Ke.clearIcon)?nt=Ke:Ke&&(nt={clearIcon:Se.createElement(ae.Z,null)});const[$t,Et]=(0,Be.ZP)(Ce);return $t(Se.createElement(rt.default,Object.assign({},Ye,{disabled:Nt,allowClear:nt,className:ze()(qe,et),classes:{affixWrapper:ze()(`${Ce}-textarea-affix-wrapper`,{[`${Ce}-affix-wrapper-rtl`]:at==="rtl",[`${Ce}-affix-wrapper-borderless`]:!ht,[`${Ce}-affix-wrapper-sm`]:Pt==="small",[`${Ce}-affix-wrapper-lg`]:Pt==="large",[`${Ce}-textarea-show-count`]:pe},(0,ke.Z)(`${Ce}-affix-wrapper`,jt),Et)},classNames:Object.assign(Object.assign({},$e),{textarea:ze()({[`${Ce}-borderless`]:!ht,[`${Ce}-sm`]:Pt==="small",[`${Ce}-lg`]:Pt==="large"},(0,ke.Z)(Ce,jt),Et,$e==null?void 0:$e.textarea)}),prefixCls:Ce,suffix:Ut&&Se.createElement("span",{className:`${Ce}-textarea-suffix`},un),showCount:pe,ref:Qe})))});mn.Z=dt},59412:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return He}});var ae=se(59301);function He(ze,rt){const Se=(0,ae.useRef)([]),ke=()=>{Se.current.push(setTimeout(()=>{var Oe,xe,Ee,Ze;!((Oe=ze.current)===null||Oe===void 0)&&Oe.input&&((xe=ze.current)===null||xe===void 0?void 0:xe.input.getAttribute("type"))==="password"&&(!((Ee=ze.current)===null||Ee===void 0)&&Ee.input.hasAttribute("value"))&&((Ze=ze.current)===null||Ze===void 0||Ze.input.removeAttribute("value"))}))};return(0,ae.useEffect)(()=>(rt&&ke(),()=>Se.current.forEach(Oe=>{Oe&&clearTimeout(Oe)})),[]),ke}},92832:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return Pt}});var ae=se(92310),He=se.n(ae),ze=se(59301),rt=se(36355),Se=se(32441),ke=se(9937),xe=it=>{const{getPrefixCls:Nt,direction:rn}=(0,ze.useContext)(rt.E_),{prefixCls:Ut,className:un}=it,jt=Nt("input-group",Ut),Qe=Nt("input"),[Ce,nt]=(0,ke.ZP)(Qe),$t=He()(jt,{[`${jt}-lg`]:it.size==="large",[`${jt}-sm`]:it.size==="small",[`${jt}-compact`]:it.compact,[`${jt}-rtl`]:rn==="rtl"},nt,un),Et=(0,ze.useContext)(Se.aM),Ve=(0,ze.useMemo)(()=>Object.assign(Object.assign({},Et),{isFormItemInput:!1}),[Et]);return Ce(ze.createElement("span",{className:$t,style:it.style,onMouseEnter:it.onMouseEnter,onMouseLeave:it.onMouseLeave,onFocus:it.onFocus,onBlur:it.onBlur},ze.createElement(Se.aM.Provider,{value:Ve},it.children)))},Ee=se(9432),Ze=se(73331),yt=se(15277),Be=se(2738),Te=se(8654),dt=se(59412),ot=function(it,Nt){var rn={};for(var Ut in it)Object.prototype.hasOwnProperty.call(it,Ut)&&Nt.indexOf(Ut)<0&&(rn[Ut]=it[Ut]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Ut=Object.getOwnPropertySymbols(it);un<Ut.length;un++)Nt.indexOf(Ut[un])<0&&Object.prototype.propertyIsEnumerable.call(it,Ut[un])&&(rn[Ut[un]]=it[Ut[un]]);return rn};const ft=it=>it?ze.createElement(yt.Z,null):ze.createElement(Ze.Z,null),lt={click:"onClick",hover:"onMouseOver"};var Vt=ze.forwardRef((it,Nt)=>{const{visibilityToggle:rn=!0}=it,Ut=typeof rn=="object"&&rn.visible!==void 0,[un,jt]=(0,ze.useState)(()=>Ut?rn.visible:!1),Qe=(0,ze.useRef)(null);ze.useEffect(()=>{Ut&&jt(rn.visible)},[Ut,rn]);const Ce=(0,dt.Z)(Qe),nt=()=>{const{disabled:ce}=it;ce||(un&&Ce(),jt(le=>{var fe;const he=!le;return typeof rn=="object"&&((fe=rn.onVisibleChange)===null||fe===void 0||fe.call(rn,he)),he}))},$t=ce=>{const{action:le="click",iconRender:fe=ft}=it,he=lt[le]||"",ue=fe(un),Pe={[he]:nt,className:`${ce}-icon`,key:"passwordIcon",onMouseDown:_e=>{_e.preventDefault()},onMouseUp:_e=>{_e.preventDefault()}};return ze.cloneElement(ze.isValidElement(ue)?ue:ze.createElement("span",null,ue),Pe)},{className:Et,prefixCls:Ve,inputPrefixCls:tt,size:At}=it,fn=ot(it,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Kt}=ze.useContext(rt.E_),yn=Kt("input",tt),kt=Kt("input-password",Ve),Bt=rn&&$t(kt),xt=He()(kt,Et,{[`${kt}-${At}`]:!!At}),ve=Object.assign(Object.assign({},(0,Be.Z)(fn,["suffix","iconRender","visibilityToggle"])),{type:un?"text":"password",className:xt,prefixCls:yn,suffix:Bt});return At&&(ve.size=At),ze.createElement(Ee.Z,Object.assign({ref:(0,Te.sQ)(Nt,Qe)},ve))}),st=se(47472),vt=se(92343),Ke=se(3113),pe=se(19716),$e=se(33234),et=function(it,Nt){var rn={};for(var Ut in it)Object.prototype.hasOwnProperty.call(it,Ut)&&Nt.indexOf(Ut)<0&&(rn[Ut]=it[Ut]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Ut=Object.getOwnPropertySymbols(it);un<Ut.length;un++)Nt.indexOf(Ut[un])<0&&Object.prototype.propertyIsEnumerable.call(it,Ut[un])&&(rn[Ut[un]]=it[Ut[un]]);return rn},Ye=ze.forwardRef((it,Nt)=>{const{prefixCls:rn,inputPrefixCls:Ut,className:un,size:jt,suffix:Qe,enterButton:Ce=!1,addonAfter:nt,loading:$t,disabled:Et,onSearch:Ve,onChange:tt,onCompositionStart:At,onCompositionEnd:fn}=it,Kt=et(it,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:yn,direction:kt}=ze.useContext(rt.E_),Bt=ze.useRef(!1),xt=yn("input-search",rn),ve=yn("input",Ut),{compactSize:ce}=(0,$e.ri)(xt,kt),le=(0,pe.Z)(tn=>{var Gn;return(Gn=jt!=null?jt:ce)!==null&&Gn!==void 0?Gn:tn}),fe=ze.useRef(null),he=tn=>{tn&&tn.target&&tn.type==="click"&&Ve&&Ve(tn.target.value,tn,{source:"clear"}),tt&&tt(tn)},ue=tn=>{var Gn;document.activeElement===((Gn=fe.current)===null||Gn===void 0?void 0:Gn.input)&&tn.preventDefault()},Pe=tn=>{var Gn,ut;Ve&&Ve((ut=(Gn=fe.current)===null||Gn===void 0?void 0:Gn.input)===null||ut===void 0?void 0:ut.value,tn,{source:"input"})},_e=tn=>{Bt.current||$t||Pe(tn)},Dt=typeof Ce=="boolean"?ze.createElement(st.Z,null):null,Lt=`${xt}-button`;let Ht;const Qt=Ce||{},zt=Qt.type&&Qt.type.__ANT_BUTTON===!0;zt||Qt.type==="button"?Ht=(0,vt.Tm)(Qt,Object.assign({onMouseDown:ue,onClick:tn=>{var Gn,ut;(ut=(Gn=Qt==null?void 0:Qt.props)===null||Gn===void 0?void 0:Gn.onClick)===null||ut===void 0||ut.call(Gn,tn),Pe(tn)},key:"enterButton"},zt?{className:Lt,size:le}:{})):Ht=ze.createElement(Ke.ZP,{className:Lt,type:Ce?"primary":void 0,size:le,disabled:Et,key:"enterButton",onMouseDown:ue,onClick:Pe,loading:$t,icon:Dt},Ce),nt&&(Ht=[Ht,(0,vt.Tm)(nt,{key:"addonAfter"})]);const bn=He()(xt,{[`${xt}-rtl`]:kt==="rtl",[`${xt}-${le}`]:!!le,[`${xt}-with-button`]:!!Ce},un),In=tn=>{Bt.current=!0,At==null||At(tn)},Mt=tn=>{Bt.current=!1,fn==null||fn(tn)};return ze.createElement(Ee.Z,Object.assign({ref:(0,Te.sQ)(fe,Nt),onPressEnter:_e},Kt,{size:le,onCompositionStart:In,onCompositionEnd:Mt,prefixCls:ve,addonAfter:Ht,suffix:Qe,onChange:he,className:bn,disabled:Et}))}),pt=se(1643);const at=Ee.Z;at.Group=xe,at.Search=Ye,at.TextArea=pt.Z,at.Password=Vt;var Pt=at},9937:function(Cn,mn,se){"use strict";se.d(mn,{M1:function(){return Oe},TM:function(){return vt},Xy:function(){return xe},bi:function(){return yt},e5:function(){return st},ik:function(){return Be},nz:function(){return Se},pU:function(){return ke},s7:function(){return Te},x0:function(){return Ze}});var ae=se(17313),He=se(74207),ze=se(37613),rt=se(83116);const Se=Ke=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:Ke,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),ke=Ke=>({borderColor:Ke.hoverBorderColor}),Oe=Ke=>({borderColor:Ke.activeBorderColor,boxShadow:Ke.activeShadow,outline:0}),xe=Ke=>({color:Ke.colorTextDisabled,backgroundColor:Ke.colorBgContainerDisabled,borderColor:Ke.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},ke((0,ze.TS)(Ke,{hoverBorderColor:Ke.colorBorder})))}),Ee=Ke=>{const{paddingBlockLG:pe,fontSizeLG:$e,lineHeightLG:et,borderRadiusLG:qe,paddingInlineLG:Ye}=Ke;return{padding:`${pe}px ${Ye}px`,fontSize:$e,lineHeight:et,borderRadius:qe}},Ze=Ke=>({padding:`${Ke.paddingBlockSM}px ${Ke.paddingInlineSM}px`,borderRadius:Ke.borderRadiusSM}),yt=(Ke,pe)=>{const{componentCls:$e,colorError:et,colorWarning:qe,errorActiveShadow:Ye,warningActiveShadow:pt,colorErrorBorderHover:at,colorWarningBorderHover:Pt}=Ke;return{[`&-status-error:not(${pe}-disabled):not(${pe}-borderless)${pe}`]:{borderColor:et,"&:hover":{borderColor:at},"&:focus, &-focused":Object.assign({},Oe((0,ze.TS)(Ke,{activeBorderColor:et,activeShadow:Ye}))),[`${$e}-prefix, ${$e}-suffix`]:{color:et}},[`&-status-warning:not(${pe}-disabled):not(${pe}-borderless)${pe}`]:{borderColor:qe,"&:hover":{borderColor:Pt},"&:focus, &-focused":Object.assign({},Oe((0,ze.TS)(Ke,{activeBorderColor:qe,activeShadow:pt}))),[`${$e}-prefix, ${$e}-suffix`]:{color:qe}}}},Be=Ke=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Ke.paddingBlock}px ${Ke.paddingInline}px`,color:Ke.colorText,fontSize:Ke.fontSize,lineHeight:Ke.lineHeight,backgroundColor:Ke.colorBgContainer,backgroundImage:"none",borderWidth:Ke.lineWidth,borderStyle:Ke.lineType,borderColor:Ke.colorBorder,borderRadius:Ke.borderRadius,transition:`all ${Ke.motionDurationMid}`},Se(Ke.colorTextPlaceholder)),{"&:hover":Object.assign({},ke(Ke)),"&:focus, &-focused":Object.assign({},Oe(Ke)),"&-disabled, &[disabled]":Object.assign({},xe(Ke)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:Ke.controlHeight,lineHeight:Ke.lineHeight,verticalAlign:"bottom",transition:`all ${Ke.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},Ee(Ke)),"&-sm":Object.assign({},Ze(Ke)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),Te=Ke=>{const{componentCls:pe,antCls:$e}=Ke;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:Ke.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${pe}, &-lg > ${pe}-group-addon`]:Object.assign({},Ee(Ke)),[`&-sm ${pe}, &-sm > ${pe}-group-addon`]:Object.assign({},Ze(Ke)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:Ke.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:Ke.controlHeightSM},[`> ${pe}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${pe}-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 ${Ke.paddingInline}px`,color:Ke.colorText,fontWeight:"normal",fontSize:Ke.fontSize,textAlign:"center",backgroundColor:Ke.colorFillAlter,border:`${Ke.lineWidth}px ${Ke.lineType} ${Ke.colorBorder}`,borderRadius:Ke.borderRadius,transition:`all ${Ke.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`-${Ke.paddingBlock+1}px -${Ke.paddingInline}px`,[`&${$e}-select-single:not(${$e}-select-customize-input)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${Ke.lineWidth}px ${Ke.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${$e}-select-selector`]:{color:Ke.colorPrimary}}},[`${$e}-cascader-picker`]:{margin:`-9px -${Ke.paddingInline}px`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${pe}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${pe}-search-with-button &`]:{zIndex:0}}},[`> ${pe}:first-child, ${pe}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${pe}-affix-wrapper`]:{[`&:not(:first-child) ${pe}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${pe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${pe}:last-child, ${pe}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${pe}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${pe}-search &`]:{borderStartStartRadius:Ke.borderRadius,borderEndStartRadius:Ke.borderRadius}},[`&:not(:first-child), ${pe}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${pe}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ae.dF)()),{[`${pe}-group-addon, ${pe}-group-wrap, > ${pe}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:Ke.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${pe}-affix-wrapper,
|
|
|
& > ${pe}-number-affix-wrapper,
|
|
|
& > ${$e}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-Ke.lineWidth,borderInlineEndWidth:Ke.lineWidth},[`${pe}`]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector,
|
|
|
& > ${$e}-select-auto-complete ${pe},
|
|
|
& > ${$e}-cascader-picker ${pe},
|
|
|
& > ${pe}-group-wrapper ${pe}`]:{borderInlineEndWidth:Ke.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${$e}-select:first-child > ${$e}-select-selector,
|
|
|
& > ${$e}-select-auto-complete:first-child ${pe},
|
|
|
& > ${$e}-cascader-picker:first-child ${pe}`]:{borderStartStartRadius:Ke.borderRadius,borderEndStartRadius:Ke.borderRadius},[`& > *:last-child,
|
|
|
& > ${$e}-select:last-child > ${$e}-select-selector,
|
|
|
& > ${$e}-cascader-picker:last-child ${pe},
|
|
|
& > ${$e}-cascader-picker-focused:last-child ${pe}`]:{borderInlineEndWidth:Ke.lineWidth,borderStartEndRadius:Ke.borderRadius,borderEndEndRadius:Ke.borderRadius},[`& > ${$e}-select-auto-complete ${pe}`]:{verticalAlign:"top"},[`${pe}-group-wrapper + ${pe}-group-wrapper`]:{marginInlineStart:-Ke.lineWidth,[`${pe}-affix-wrapper`]:{borderRadius:0}},[`${pe}-group-wrapper:not(:last-child)`]:{[`&${pe}-search > ${pe}-group`]:{[`& > ${pe}-group-addon > ${pe}-search-button`]:{borderRadius:0},[`& > ${pe}`]:{borderStartStartRadius:Ke.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ke.borderRadius}}}})}},dt=Ke=>{const{componentCls:pe,controlHeightSM:$e,lineWidth:et}=Ke,Ye=($e-et*2-16)/2;return{[pe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(Ke)),Be(Ke)),yt(Ke,pe)),{'&[type="color"]':{height:Ke.controlHeight,[`&${pe}-lg`]:{height:Ke.controlHeightLG},[`&${pe}-sm`]:{height:$e,paddingTop:Ye,paddingBottom:Ye}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},ot=Ke=>{const{componentCls:pe}=Ke;return{[`${pe}-clear-icon`]:{margin:0,color:Ke.colorTextQuaternary,fontSize:Ke.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${Ke.motionDurationSlow}`,"&:hover":{color:Ke.colorTextTertiary},"&:active":{color:Ke.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Ke.inputAffixPadding}px`}}}},ft=Ke=>{const{componentCls:pe,inputAffixPadding:$e,colorTextDescription:et,motionDurationSlow:qe,colorIcon:Ye,colorIconHover:pt,iconCls:at}=Ke;return{[`${pe}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Be(Ke)),{display:"inline-flex",[`&:not(${pe}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},ke(Ke)),{zIndex:1,[`${pe}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${pe}[disabled]`]:{background:"transparent"}},[`> input${pe}`]:{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"'},[`${pe}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:Ke.paddingXS}},"&-show-count-suffix":{color:et},"&-show-count-has-suffix":{marginInlineEnd:Ke.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),ot(Ke)),{[`${at}${pe}-password-icon`]:{color:Ye,cursor:"pointer",transition:`all ${qe}`,"&:hover":{color:pt}}}),yt(Ke,`${pe}-affix-wrapper`))}},lt=Ke=>{const{componentCls:pe,colorError:$e,colorWarning:et,borderRadiusLG:qe,borderRadiusSM:Ye}=Ke;return{[`${pe}-group`]:Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(Ke)),Te(Ke)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${pe}-group-addon`]:{borderRadius:qe,fontSize:Ke.fontSizeLG}},"&-sm":{[`${pe}-group-addon`]:{borderRadius:Ye}},"&-status-error":{[`${pe}-group-addon`]:{color:$e,borderColor:$e}},"&-status-warning":{[`${pe}-group-addon`]:{color:et,borderColor:et}},"&-disabled":{[`${pe}-group-addon`]:Object.assign({},xe(Ke))},[`&:not(${pe}-compact-first-item):not(${pe}-compact-last-item)${pe}-compact-item`]:{[`${pe}, ${pe}-group-addon`]:{borderRadius:0}},[`&:not(${pe}-compact-last-item)${pe}-compact-first-item`]:{[`${pe}, ${pe}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${pe}-compact-first-item)${pe}-compact-last-item`]:{[`${pe}, ${pe}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},ht=Ke=>{const{componentCls:pe,antCls:$e}=Ke,et=`${pe}-search`;return{[et]:{[`${pe}`]:{"&:hover, &:focus":{borderColor:Ke.colorPrimaryHover,[`+ ${pe}-group-addon ${et}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:Ke.colorPrimaryHover}}},[`${pe}-affix-wrapper`]:{borderRadius:0},[`${pe}-lg`]:{lineHeight:Ke.lineHeightLG-2e-4},[`> ${pe}-group`]:{[`> ${pe}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${et}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:Ke.borderRadius,borderEndEndRadius:Ke.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${et}-button:not(${$e}-btn-primary)`]:{color:Ke.colorTextDescription,"&:hover":{color:Ke.colorPrimaryHover},"&:active":{color:Ke.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${et}-button`]:{height:Ke.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${et}-button`]:{height:Ke.controlHeightLG},[`&-small ${et}-button`]:{height:Ke.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${pe}-compact-item`]:{[`&:not(${pe}-compact-last-item)`]:{[`${pe}-group-addon`]:{[`${pe}-search-button`]:{marginInlineEnd:-Ke.lineWidth,borderRadius:0}}},[`&:not(${pe}-compact-first-item)`]:{[`${pe},${pe}-affix-wrapper`]:{borderRadius:0}},[`> ${pe}-group-addon ${pe}-search-button,
|
|
|
> ${pe},
|
|
|
${pe}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${pe}-affix-wrapper-focused`]:{zIndex:2}}}}},Vt=Ke=>{const{componentCls:pe,paddingLG:$e}=Ke,et=`${pe}-textarea`;return{[et]:{position:"relative","&-show-count":{[`> ${pe}`]:{height:"100%"},[`${pe}-data-count`]:{position:"absolute",bottom:-Ke.fontSize*Ke.lineHeight,insetInlineEnd:0,color:Ke.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${pe}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${et}-has-feedback`]:{[`${pe}`]:{paddingInlineEnd:$e}},[`&-affix-wrapper${pe}-affix-wrapper`]:{padding:0,[`> textarea${pe}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${pe}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${pe}-clear-icon`]:{position:"absolute",insetInlineEnd:Ke.paddingXS,insetBlockStart:Ke.paddingXS},[`${et}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ke.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function st(Ke){return(0,ze.TS)(Ke,{inputAffixPadding:Ke.paddingXXS})}const vt=Ke=>{const{controlHeight:pe,fontSize:$e,lineHeight:et,lineWidth:qe,controlHeightSM:Ye,controlHeightLG:pt,fontSizeLG:at,lineHeightLG:Pt,paddingSM:it,controlPaddingHorizontalSM:Nt,controlPaddingHorizontal:rn,colorFillAlter:Ut,colorPrimaryHover:un,controlOutlineWidth:jt,controlOutline:Qe,colorErrorOutline:Ce,colorWarningOutline:nt}=Ke;return{paddingBlock:Math.max(Math.round((pe-$e*et)/2*10)/10-qe,3),paddingBlockSM:Math.max(Math.round((Ye-$e*et)/2*10)/10-qe,0),paddingBlockLG:Math.ceil((pt-at*Pt)/2*10)/10-qe,paddingInline:it-qe,paddingInlineSM:Nt-qe,paddingInlineLG:rn-qe,addonBg:Ut,activeBorderColor:un,hoverBorderColor:un,activeShadow:`0 0 0 ${jt}px ${Qe}`,errorActiveShadow:`0 0 0 ${jt}px ${Ce}`,warningActiveShadow:`0 0 0 ${jt}px ${nt}`}};mn.ZP=(0,rt.Z)("Input",Ke=>{const pe=(0,ze.TS)(Ke,st(Ke));return[dt(pe),Vt(pe),ft(pe),lt(pe),ht(pe),(0,He.c)(pe)]},vt)},45818:function(Cn,mn,se){"use strict";se.d(mn,{D:function(){return st},Z:function(){return pe}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function(et,qe){return He.createElement(Se.Z,(0,ae.Z)({},et,{ref:qe,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe,Ee=se(33853),Ze=se(38819),yt=se(92310),Be=se.n(yt),Te=se(2738),ot=$e=>!isNaN(parseFloat($e))&&isFinite($e),ft=se(36355),lt=se(84966),ht=function($e,et){var qe={};for(var Ye in $e)Object.prototype.hasOwnProperty.call($e,Ye)&&et.indexOf(Ye)<0&&(qe[Ye]=$e[Ye]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Ye=Object.getOwnPropertySymbols($e);pt<Ye.length;pt++)et.indexOf(Ye[pt])<0&&Object.prototype.propertyIsEnumerable.call($e,Ye[pt])&&(qe[Ye[pt]]=$e[Ye[pt]]);return qe};const Vt={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},st=He.createContext({}),vt=(()=>{let $e=0;return function(){let et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $e+=1,`${et}${$e}`}})();var pe=He.forwardRef(($e,et)=>{const{prefixCls:qe,className:Ye,trigger:pt,children:at,defaultCollapsed:Pt=!1,theme:it="dark",style:Nt={},collapsible:rn=!1,reverseArrow:Ut=!1,width:un=200,collapsedWidth:jt=80,zeroWidthTriggerStyle:Qe,breakpoint:Ce,onCollapse:nt,onBreakpoint:$t}=$e,Et=ht($e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ve}=(0,He.useContext)(lt.Gs),[tt,At]=(0,He.useState)("collapsed"in $e?$e.collapsed:Pt),[fn,Kt]=(0,He.useState)(!1);(0,He.useEffect)(()=>{"collapsed"in $e&&At($e.collapsed)},[$e.collapsed]);const yn=(le,fe)=>{"collapsed"in $e||At(le),nt==null||nt(le,fe)},kt=(0,He.useRef)();kt.current=le=>{Kt(le.matches),$t==null||$t(le.matches),tt!==le.matches&&yn(le.matches,"responsive")},(0,He.useEffect)(()=>{function le(he){return kt.current(he)}let fe;if(typeof window!="undefined"){const{matchMedia:he}=window;if(he&&Ce&&Ce in Vt){fe=he(`(max-width: ${Vt[Ce]})`);try{fe.addEventListener("change",le)}catch(ue){fe.addListener(le)}le(fe)}}return()=>{try{fe==null||fe.removeEventListener("change",le)}catch(he){fe==null||fe.removeListener(le)}}},[Ce]),(0,He.useEffect)(()=>{const le=vt("ant-sider-");return Ve.addSider(le),()=>Ve.removeSider(le)},[]);const Bt=()=>{yn(!tt,"clickTrigger")},{getPrefixCls:xt}=(0,He.useContext)(ft.E_),ve=()=>{const le=xt("layout-sider",qe),fe=(0,Te.Z)(Et,["collapsed"]),he=tt?jt:un,ue=ot(he)?`${he}px`:String(he),Pe=parseFloat(String(jt||0))===0?He.createElement("span",{onClick:Bt,className:Be()(`${le}-zero-width-trigger`,`${le}-zero-width-trigger-${Ut?"right":"left"}`),style:Qe},pt||He.createElement(xe,null)):null,Lt={expanded:Ut?He.createElement(Ze.Z,null):He.createElement(Ee.Z,null),collapsed:Ut?He.createElement(Ee.Z,null):He.createElement(Ze.Z,null)}[tt?"collapsed":"expanded"],Ht=pt!==null?Pe||He.createElement("div",{className:`${le}-trigger`,onClick:Bt,style:{width:ue}},pt||Lt):null,Qt=Object.assign(Object.assign({},Nt),{flex:`0 0 ${ue}`,maxWidth:ue,minWidth:ue,width:ue}),zt=Be()(le,`${le}-${it}`,{[`${le}-collapsed`]:!!tt,[`${le}-has-trigger`]:rn&&pt!==null&&!Pe,[`${le}-below`]:!!fn,[`${le}-zero-width`]:parseFloat(ue)===0},Ye);return He.createElement("aside",Object.assign({className:zt},fe,{style:Qt,ref:et}),He.createElement("div",{className:`${le}-children`},at),rn||fn&&Pe?Ht:null)},ce=He.useMemo(()=>({siderCollapsed:tt}),[tt]);return He.createElement(st.Provider,{value:ce},ve())})},84966:function(Cn,mn,se){"use strict";se.d(mn,{VY:function(){return st},$_:function(){return Vt},h4:function(){return ht},Gs:function(){return Te},ZP:function(){return vt}});var ae=se(94480),He=se(92310),ze=se.n(He),rt=se(2738),Se=se(59301),ke=se(36355),Oe=se(83116),Ee=Ke=>{const{componentCls:pe,bodyBg:$e,lightSiderBg:et,lightTriggerBg:qe,lightTriggerColor:Ye}=Ke;return{[`${pe}-sider-light`]:{background:et,[`${pe}-sider-trigger`]:{color:Ye,background:qe},[`${pe}-sider-zero-width-trigger`]:{color:Ye,background:qe,border:`1px solid ${$e}`,borderInlineStart:0}}}};const Ze=Ke=>{const{antCls:pe,componentCls:$e,colorText:et,triggerColor:qe,footerBg:Ye,triggerBg:pt,headerHeight:at,headerPadding:Pt,headerColor:it,footerPadding:Nt,triggerHeight:rn,zeroTriggerHeight:Ut,zeroTriggerWidth:un,motionDurationMid:jt,motionDurationSlow:Qe,fontSize:Ce,borderRadius:nt,bodyBg:$t,headerBg:Et,siderBg:Ve}=Ke;return{[$e]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:$t,"&, *":{boxSizing:"border-box"},[`&${$e}-has-sider`]:{flexDirection:"row",[`> ${$e}, > ${$e}-content`]:{width:0}},[`${$e}-header, &${$e}-footer`]:{flex:"0 0 auto"},[`${$e}-sider`]:{position:"relative",minWidth:0,background:Ve,transition:`all ${jt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${pe}-menu${pe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:rn},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:rn,color:qe,lineHeight:`${rn}px`,textAlign:"center",background:pt,cursor:"pointer",transition:`all ${jt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:at,insetInlineEnd:-un,zIndex:1,width:un,height:Ut,color:qe,fontSize:Ke.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ve,borderStartStartRadius:0,borderStartEndRadius:nt,borderEndEndRadius:nt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-un,borderStartStartRadius:nt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:nt}}}}},Ee(Ke)),{"&-rtl":{direction:"rtl"}}),[`${$e}-header`]:{height:at,padding:Pt,color:it,lineHeight:`${at}px`,background:Et,[`${pe}-menu`]:{lineHeight:"inherit"}},[`${$e}-footer`]:{padding:Nt,color:et,fontSize:Ce,background:Ye},[`${$e}-content`]:{flex:"auto",minHeight:0}}};var yt=(0,Oe.Z)("Layout",Ke=>[Ze(Ke)],Ke=>{const{colorBgLayout:pe,controlHeight:$e,controlHeightLG:et,colorText:qe,controlHeightSM:Ye,marginXXS:pt,colorTextLightSolid:at,colorBgContainer:Pt}=Ke,it=et*1.25;return{colorBgHeader:"#001529",colorBgBody:pe,colorBgTrigger:"#002140",bodyBg:pe,headerBg:"#001529",headerHeight:$e*2,headerPadding:`0 ${it}px`,headerColor:qe,footerPadding:`${Ye}px ${it}px`,footerBg:pe,siderBg:"#001529",triggerHeight:et+pt*2,triggerBg:"#002140",triggerColor:at,zeroTriggerWidth:et,zeroTriggerHeight:et,lightSiderBg:Pt,lightTriggerBg:Pt,lightTriggerColor:qe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Be=function(Ke,pe){var $e={};for(var et in Ke)Object.prototype.hasOwnProperty.call(Ke,et)&&pe.indexOf(et)<0&&($e[et]=Ke[et]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,et=Object.getOwnPropertySymbols(Ke);qe<et.length;qe++)pe.indexOf(et[qe])<0&&Object.prototype.propertyIsEnumerable.call(Ke,et[qe])&&($e[et[qe]]=Ke[et[qe]]);return $e};const Te=Se.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function dt(Ke){let{suffixCls:pe,tagName:$e,displayName:et}=Ke;return qe=>Se.forwardRef((pt,at)=>Se.createElement(qe,Object.assign({ref:at,suffixCls:pe,tagName:$e},pt)))}const ot=Se.forwardRef((Ke,pe)=>{const{prefixCls:$e,suffixCls:et,className:qe,tagName:Ye}=Ke,pt=Be(Ke,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:at}=Se.useContext(ke.E_),Pt=at("layout",$e),[it,Nt]=yt(Pt),rn=et?`${Pt}-${et}`:Pt;return it(Se.createElement(Ye,Object.assign({className:ze()($e||rn,qe,Nt),ref:pe},pt)))}),ft=Se.forwardRef((Ke,pe)=>{const{direction:$e}=Se.useContext(ke.E_),[et,qe]=Se.useState([]),{prefixCls:Ye,className:pt,rootClassName:at,children:Pt,hasSider:it,tagName:Nt,style:rn}=Ke,Ut=Be(Ke,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),un=(0,rt.Z)(Ut,["suffixCls"]),{getPrefixCls:jt,layout:Qe}=Se.useContext(ke.E_),Ce=jt("layout",Ye),[nt,$t]=yt(Ce),Et=ze()(Ce,{[`${Ce}-has-sider`]:typeof it=="boolean"?it:et.length>0,[`${Ce}-rtl`]:$e==="rtl"},Qe==null?void 0:Qe.className,pt,at,$t),Ve=Se.useMemo(()=>({siderHook:{addSider:tt=>{qe(At=>[].concat((0,ae.Z)(At),[tt]))},removeSider:tt=>{qe(At=>At.filter(fn=>fn!==tt))}}}),[]);return nt(Se.createElement(Te.Provider,{value:Ve},Se.createElement(Nt,Object.assign({ref:pe,className:Et,style:Object.assign(Object.assign({},Qe==null?void 0:Qe.style),rn)},un),Pt)))}),lt=dt({tagName:"div",displayName:"Layout"})(ft),ht=dt({suffixCls:"header",tagName:"header",displayName:"Header"})(ot),Vt=dt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(ot),st=dt({suffixCls:"content",tagName:"main",displayName:"Content"})(ot);var vt=lt},40875:function(Cn,mn,se){"use strict";se.d(mn,{J:function(){return ke}});var ae=se(59301),He=se(33234),ze=se(70425),rt=function(Oe,xe){var Ee={};for(var Ze in Oe)Object.prototype.hasOwnProperty.call(Oe,Ze)&&xe.indexOf(Ze)<0&&(Ee[Ze]=Oe[Ze]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Ze=Object.getOwnPropertySymbols(Oe);yt<Ze.length;yt++)xe.indexOf(Ze[yt])<0&&Object.prototype.propertyIsEnumerable.call(Oe,Ze[yt])&&(Ee[Ze[yt]]=Oe[Ze[yt]]);return Ee};const Se=ae.createContext(null),ke=ae.forwardRef((Oe,xe)=>{const{children:Ee}=Oe,Ze=rt(Oe,["children"]),yt=ae.useContext(Se),Be=ae.useMemo(()=>Object.assign(Object.assign({},yt),Ze),[yt,Ze.prefixCls,Ze.mode,Ze.selectable]);return ae.createElement(Se.Provider,{value:Be},ae.createElement(He.BR,null,(0,ze.supportNodeRef)(Ee)?ae.cloneElement(Ee,{ref:xe}):Ee))});mn.Z=Se},20834:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return ce}});var ae=se(15285),He=se(59301),ze=se(45818),rt=se(92310),Se=se.n(rt),ke=se(36355),Oe=function(le,fe){var he={};for(var ue in le)Object.prototype.hasOwnProperty.call(le,ue)&&fe.indexOf(ue)<0&&(he[ue]=le[ue]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ue=Object.getOwnPropertySymbols(le);Pe<ue.length;Pe++)fe.indexOf(ue[Pe])<0&&Object.prototype.propertyIsEnumerable.call(le,ue[Pe])&&(he[ue[Pe]]=le[ue[Pe]]);return he},Ee=le=>{const{prefixCls:fe,className:he,dashed:ue}=le,Pe=Oe(le,["prefixCls","className","dashed"]),{getPrefixCls:_e}=He.useContext(ke.E_),Dt=_e("menu",fe),Lt=Se()({[`${Dt}-item-divider-dashed`]:!!ue},he);return He.createElement(ae.iz,Object.assign({className:Lt},Pe))},Ze=se(11592),yt=se(2738),Be=se(6848),Te=se(92343),ot=(0,He.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),lt=le=>{var fe;const{className:he,children:ue,icon:Pe,title:_e,danger:Dt}=le,{prefixCls:Lt,firstLevel:Ht,direction:Qt,disableMenuItemTitleTooltip:zt,inlineCollapsed:bn}=He.useContext(ot),In=Ue=>{const nn=He.createElement("span",{className:`${Lt}-title-content`},ue);return(!Pe||(0,Te.l$)(ue)&&ue.type==="span")&&ue&&Ue&&Ht&&typeof ue=="string"?He.createElement("div",{className:`${Lt}-inline-collapsed-noicon`},ue.charAt(0)):nn},{siderCollapsed:Mt}=He.useContext(ze.D);let tn=_e;typeof _e=="undefined"?tn=Ht?ue:"":_e===!1&&(tn="");const Gn={title:tn};!Mt&&!bn&&(Gn.title=null,Gn.open=!1);const ut=(0,Ze.Z)(ue).length;let We=He.createElement(ae.ck,Object.assign({},(0,yt.Z)(le,["title","icon","danger"]),{className:Se()({[`${Lt}-item-danger`]:Dt,[`${Lt}-item-only-child`]:(Pe?ut+1:ut)===1},he),title:typeof _e=="string"?_e:void 0}),(0,Te.Tm)(Pe,{className:Se()((0,Te.l$)(Pe)?(fe=Pe.props)===null||fe===void 0?void 0:fe.className:"",`${Lt}-item-icon`)}),In(bn));return zt||(We=He.createElement(Be.Z,Object.assign({},Gn,{placement:Qt==="rtl"?"left":"right",overlayClassName:`${Lt}-inline-collapsed-tooltip`}),We)),We},Vt=le=>{var fe;const{popupClassName:he,icon:ue,title:Pe,theme:_e}=le,Dt=He.useContext(ot),{prefixCls:Lt,inlineCollapsed:Ht,theme:Qt}=Dt,zt=(0,ae.Xl)();let bn;if(!ue)bn=Ht&&!zt.length&&Pe&&typeof Pe=="string"?He.createElement("div",{className:`${Lt}-inline-collapsed-noicon`},Pe.charAt(0)):He.createElement("span",{className:`${Lt}-title-content`},Pe);else{const Mt=(0,Te.l$)(Pe)&&Pe.type==="span";bn=He.createElement(He.Fragment,null,(0,Te.Tm)(ue,{className:Se()((0,Te.l$)(ue)?(fe=ue.props)===null||fe===void 0?void 0:fe.className:"",`${Lt}-item-icon`)}),Mt?Pe:He.createElement("span",{className:`${Lt}-title-content`},Pe))}const In=He.useMemo(()=>Object.assign(Object.assign({},Dt),{firstLevel:!1}),[Dt]);return He.createElement(ot.Provider,{value:In},He.createElement(ae.Wd,Object.assign({},(0,yt.Z)(le,["icon"]),{title:bn,popupClassName:Se()(Lt,he,`${Lt}-${_e||Qt}`)})))},st=se(18785),vt=se(70425),Ke=se(62892),pe=se(40875),$e=function(le,fe){var he={};for(var ue in le)Object.prototype.hasOwnProperty.call(le,ue)&&fe.indexOf(ue)<0&&(he[ue]=le[ue]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ue=Object.getOwnPropertySymbols(le);Pe<ue.length;Pe++)fe.indexOf(ue[Pe])<0&&Object.prototype.propertyIsEnumerable.call(le,ue[Pe])&&(he[ue[Pe]]=le[ue[Pe]]);return he};function et(le){return(le||[]).map((fe,he)=>{if(fe&&typeof fe=="object"){const ue=fe,{label:Pe,children:_e,key:Dt,type:Lt}=ue,Ht=$e(ue,["label","children","key","type"]),Qt=Dt!=null?Dt:`tmp-${he}`;return _e||Lt==="group"?Lt==="group"?He.createElement(ae.BW,Object.assign({key:Qt},Ht,{title:Pe}),et(_e)):He.createElement(Vt,Object.assign({key:Qt},Ht,{title:Pe}),et(_e)):Lt==="divider"?He.createElement(Ee,Object.assign({key:Qt},Ht)):He.createElement(lt,Object.assign({key:Qt},Ht),Pe)}return null}).filter(fe=>fe)}function qe(le){return He.useMemo(()=>le&&et(le),[le])}var Ye=se(64993),pt=se(17313),at=se(8378),Pt=se(13826),it=se(29878),Nt=se(83116),rn=se(37613),un=le=>{const{componentCls:fe,motionDurationSlow:he,horizontalLineHeight:ue,colorSplit:Pe,lineWidth:_e,lineType:Dt,itemPaddingInline:Lt}=le;return{[`${fe}-horizontal`]:{lineHeight:ue,border:0,borderBottom:`${_e}px ${Dt} ${Pe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${fe}-item, ${fe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Lt},[`> ${fe}-item:hover,
|
|
|
> ${fe}-item-active,
|
|
|
> ${fe}-submenu ${fe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${fe}-item, ${fe}-submenu-title`]:{transition:[`border-color ${he}`,`background ${he}`].join(",")},[`${fe}-submenu-arrow`]:{display:"none"}}}},Qe=le=>{let{componentCls:fe,menuArrowOffset:he}=le;return{[`${fe}-rtl`]:{direction:"rtl"},[`${fe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${fe}-rtl${fe}-vertical,
|
|
|
${fe}-submenu-rtl ${fe}-vertical`]:{[`${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${he})`},"&::after":{transform:`rotate(45deg) translateY(${he})`}}}}};const Ce=le=>Object.assign({},(0,pt.oN)(le));var $t=(le,fe)=>{const{componentCls:he,itemColor:ue,itemSelectedColor:Pe,groupTitleColor:_e,itemBg:Dt,subMenuItemBg:Lt,itemSelectedBg:Ht,activeBarHeight:Qt,activeBarWidth:zt,activeBarBorderWidth:bn,motionDurationSlow:In,motionEaseInOut:Mt,motionEaseOut:tn,itemPaddingInline:Gn,motionDurationMid:ut,itemHoverColor:We,lineType:Ue,colorSplit:nn,itemDisabledColor:gn,dangerItemColor:xn,dangerItemHoverColor:Un,dangerItemSelectedColor:Pn,dangerItemActiveBg:Vn,dangerItemSelectedBg:dr,itemHoverBg:gr,itemActiveBg:_n,menuSubMenuBg:wr,horizontalItemSelectedColor:Jr,horizontalItemSelectedBg:pr,horizontalItemBorderRadius:pi,horizontalItemHoverBg:Rr,popupBg:Qr}=le;return{[`${he}-${fe}, ${he}-${fe} > ${he}`]:{color:ue,background:Dt,[`&${he}-root:focus-visible`]:Object.assign({},Ce(le)),[`${he}-item-group-title`]:{color:_e},[`${he}-submenu-selected`]:{[`> ${he}-submenu-title`]:{color:Pe}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{color:`${gn} !important`},[`${he}-item:not(${he}-item-selected):not(${he}-submenu-selected)`]:{[`&:hover, > ${he}-submenu-title:hover`]:{color:We}},[`&:not(${he}-horizontal)`]:{[`${he}-item:not(${he}-item-selected)`]:{"&:hover":{backgroundColor:gr},"&:active":{backgroundColor:_n}},[`${he}-submenu-title`]:{"&:hover":{backgroundColor:gr},"&:active":{backgroundColor:_n}}},[`${he}-item-danger`]:{color:xn,[`&${he}-item:hover`]:{[`&:not(${he}-item-selected):not(${he}-submenu-selected)`]:{color:Un}},[`&${he}-item:active`]:{background:Vn}},[`${he}-item a`]:{"&, &:hover":{color:"inherit"}},[`${he}-item-selected`]:{color:Pe,[`&${he}-item-danger`]:{color:Pn},"a, a:hover":{color:"inherit"}},[`& ${he}-item-selected`]:{backgroundColor:Ht,[`&${he}-item-danger`]:{backgroundColor:dr}},[`${he}-item, ${he}-submenu-title`]:{[`&:not(${he}-item-disabled):focus-visible`]:Object.assign({},Ce(le))},[`&${he}-submenu > ${he}`]:{backgroundColor:wr},[`&${he}-popup > ${he}`]:{backgroundColor:Qr},[`&${he}-horizontal`]:Object.assign(Object.assign({},fe==="dark"?{borderBottom:0}:{}),{[`> ${he}-item, > ${he}-submenu`]:{top:bn,marginTop:-bn,marginBottom:0,borderRadius:pi,"&::after":{position:"absolute",insetInline:Gn,bottom:0,borderBottom:`${Qt}px solid transparent`,transition:`border-color ${In} ${Mt}`,content:'""'},"&:hover, &-active, &-open":{background:Rr,"&::after":{borderBottomWidth:Qt,borderBottomColor:Jr}},"&-selected":{color:Jr,backgroundColor:pr,"&:hover":{backgroundColor:pr},"&::after":{borderBottomWidth:Qt,borderBottomColor:Jr}}}}),[`&${he}-root`]:{[`&${he}-inline, &${he}-vertical`]:{borderInlineEnd:`${bn}px ${Ue} ${nn}`}},[`&${he}-inline`]:{[`${he}-sub${he}-inline`]:{background:Lt},[`${he}-item, ${he}-submenu-title`]:bn&&zt?{width:`calc(100% + ${bn}px)`}:{},[`${he}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${zt}px solid ${Pe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${ut} ${tn}`,`opacity ${ut} ${tn}`].join(","),content:'""'},[`&${he}-item-danger`]:{"&::after":{borderInlineEndColor:Pn}}},[`${he}-selected, ${he}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ut} ${Mt}`,`opacity ${ut} ${Mt}`].join(",")}}}}}};const Et=le=>{const{componentCls:fe,itemHeight:he,itemMarginInline:ue,padding:Pe,menuArrowSize:_e,marginXS:Dt,itemMarginBlock:Lt}=le,Ht=Pe+_e+Dt;return{[`${fe}-item`]:{position:"relative",overflow:"hidden"},[`${fe}-item, ${fe}-submenu-title`]:{height:he,lineHeight:`${he}px`,paddingInline:Pe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ue,marginBlock:Lt,width:`calc(100% - ${ue*2}px)`},[`> ${fe}-item,
|
|
|
> ${fe}-submenu > ${fe}-submenu-title`]:{height:he,lineHeight:`${he}px`},[`${fe}-item-group-list ${fe}-submenu-title,
|
|
|
${fe}-submenu-title`]:{paddingInlineEnd:Ht}}};var tt=le=>{const{componentCls:fe,iconCls:he,itemHeight:ue,colorTextLightSolid:Pe,dropdownWidth:_e,controlHeightLG:Dt,motionDurationMid:Lt,motionEaseOut:Ht,paddingXL:Qt,itemMarginInline:zt,fontSizeLG:bn,motionDurationSlow:In,paddingXS:Mt,boxShadowSecondary:tn,collapsedWidth:Gn,collapsedIconSize:ut}=le,We={height:ue,lineHeight:`${ue}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[fe]:{"&-inline, &-vertical":Object.assign({[`&${fe}-root`]:{boxShadow:"none"}},Et(le))},[`${fe}-submenu-popup`]:{[`${fe}-vertical`]:Object.assign(Object.assign({},Et(le)),{boxShadow:tn})}},{[`${fe}-submenu-popup ${fe}-vertical${fe}-sub`]:{minWidth:_e,maxHeight:`calc(100vh - ${Dt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${fe}-inline`]:{width:"100%",[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${In}`,`background ${In}`,`padding ${Lt} ${Ht}`].join(","),[`> ${fe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${fe}-sub${fe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${fe}-submenu > ${fe}-submenu-title`]:We,[`& ${fe}-item-group-title`]:{paddingInlineStart:Qt}},[`${fe}-item`]:We}},{[`${fe}-inline-collapsed`]:{width:Gn,[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu ${fe}-submenu-title`]:{[`> ${fe}-inline-collapsed-noicon`]:{fontSize:bn,textAlign:"center"}}},[`> ${fe}-item,
|
|
|
> ${fe}-item-group > ${fe}-item-group-list > ${fe}-item,
|
|
|
> ${fe}-item-group > ${fe}-item-group-list > ${fe}-submenu > ${fe}-submenu-title,
|
|
|
> ${fe}-submenu > ${fe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${bn/2}px - ${zt}px)`,textOverflow:"clip",[`
|
|
|
${fe}-submenu-arrow,
|
|
|
${fe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${fe}-item-icon, ${he}`]:{margin:0,fontSize:ut,lineHeight:`${ue}px`,"+ span":{display:"inline-block",opacity:0}}},[`${fe}-item-icon, ${he}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${fe}-item-icon, ${he}`]:{display:"none"},"a, a:hover":{color:Pe}},[`${fe}-item-group-title`]:Object.assign(Object.assign({},pt.vS),{paddingInline:Mt})}}]};const At=le=>{const{componentCls:fe,motionDurationSlow:he,motionDurationMid:ue,motionEaseInOut:Pe,motionEaseOut:_e,iconCls:Dt,iconSize:Lt,iconMarginInlineEnd:Ht}=le;return{[`${fe}-item, ${fe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${he}`,`background ${he}`,`padding ${he} ${Pe}`].join(","),[`${fe}-item-icon, ${Dt}`]:{minWidth:Lt,fontSize:Lt,transition:[`font-size ${ue} ${_e}`,`margin ${he} ${Pe}`,`color ${he}`].join(","),"+ span":{marginInlineStart:Ht,opacity:1,transition:[`opacity ${he} ${Pe}`,`margin ${he}`,`color ${he}`].join(",")}},[`${fe}-item-icon`]:Object.assign({},(0,pt.Ro)()),[`&${fe}-item-only-child`]:{[`> ${Dt}, > ${fe}-item-icon`]:{marginInlineEnd:0}}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${fe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},fn=le=>{const{componentCls:fe,motionDurationSlow:he,motionEaseInOut:ue,borderRadius:Pe,menuArrowSize:_e,menuArrowOffset:Dt}=le;return{[`${fe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:le.margin,width:_e,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${he} ${ue}, opacity ${he}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:_e*.6,height:_e*.15,backgroundColor:"currentcolor",borderRadius:Pe,transition:[`background ${he} ${ue}`,`transform ${he} ${ue}`,`top ${he} ${ue}`,`color ${he} ${ue}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Dt})`},"&::after":{transform:`rotate(-45deg) translateY(${Dt})`}}}}},Kt=le=>{const{antCls:fe,componentCls:he,fontSize:ue,motionDurationSlow:Pe,motionDurationMid:_e,motionEaseInOut:Dt,paddingXS:Lt,padding:Ht,colorSplit:Qt,lineWidth:zt,zIndexPopup:bn,borderRadiusLG:In,subMenuItemBorderRadius:Mt,menuArrowSize:tn,menuArrowOffset:Gn,lineType:ut,menuPanelMaskInset:We,groupTitleLineHeight:Ue,groupTitleFontSize:nn}=le;return[{"":{[`${he}`]:Object.assign(Object.assign({},(0,pt.dF)()),{"&-hidden":{display:"none"}})},[`${he}-submenu-hidden`]:{display:"none"}},{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pt.Wf)(le)),(0,pt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ue,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Pe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${he}-item`]:{flex:"none"}},[`${he}-item, ${he}-submenu, ${he}-submenu-title`]:{borderRadius:le.itemBorderRadius},[`${he}-item-group-title`]:{padding:`${Lt}px ${Ht}px`,fontSize:nn,lineHeight:Ue,transition:`all ${Pe}`},[`&-horizontal ${he}-submenu`]:{transition:[`border-color ${Pe} ${Dt}`,`background ${Pe} ${Dt}`].join(",")},[`${he}-submenu, ${he}-submenu-inline`]:{transition:[`border-color ${Pe} ${Dt}`,`background ${Pe} ${Dt}`,`padding ${_e} ${Dt}`].join(",")},[`${he}-submenu ${he}-sub`]:{cursor:"initial",transition:[`background ${Pe} ${Dt}`,`padding ${Pe} ${Dt}`].join(",")},[`${he}-title-content`]:{transition:`color ${Pe}`},[`${he}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${he}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Qt,borderStyle:ut,borderWidth:0,borderTopWidth:zt,marginBlock:zt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),At(le)),{[`${he}-item-group`]:{[`${he}-item-group-list`]:{margin:0,padding:0,[`${he}-item, ${he}-submenu-title`]:{paddingInline:`${ue*2}px ${Ht}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:bn,borderRadius:In,boxShadow:"none",transformOrigin:"0 0",[`&${he}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${We}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:We},"\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:le.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:le.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:le.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:le.paddingXS},[`> ${he}`]:Object.assign(Object.assign(Object.assign({borderRadius:In},At(le)),fn(le)),{[`${he}-item, ${he}-submenu > ${he}-submenu-title`]:{borderRadius:Mt},[`${he}-submenu-title::after`]:{transition:`transform ${Pe} ${Dt}`}})}}),fn(le)),{[`&-inline-collapsed ${he}-submenu-arrow,
|
|
|
&-inline ${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Gn})`},"&::after":{transform:`rotate(45deg) translateX(-${Gn})`}},[`${he}-submenu-open${he}-submenu-inline > ${he}-submenu-title > ${he}-submenu-arrow`]:{transform:`translateY(-${tn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Gn})`},"&::before":{transform:`rotate(45deg) translateX(${Gn})`}}})},{[`${fe}-layout-header`]:{[he]:{lineHeight:"inherit"}}}]};var yn=(le,fe)=>(0,Nt.Z)("Menu",ue=>{if(fe===!1)return[];const{colorBgElevated:Pe,colorPrimary:_e,colorTextLightSolid:Dt,controlHeightLG:Lt,fontSize:Ht,darkItemColor:Qt,darkDangerItemColor:zt,darkItemBg:bn,darkSubMenuItemBg:In,darkItemSelectedColor:Mt,darkItemSelectedBg:tn,darkDangerItemSelectedBg:Gn,darkItemHoverBg:ut,darkGroupTitleColor:We,darkItemHoverColor:Ue,darkItemDisabledColor:nn,darkDangerItemHoverColor:gn,darkDangerItemSelectedColor:xn,darkDangerItemActiveBg:Un}=ue,Pn=Ht/7*5,Vn=(0,rn.TS)(ue,{menuArrowSize:Pn,menuHorizontalHeight:Lt*1.15,menuArrowOffset:`${Pn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Pe}),dr=(0,rn.TS)(Vn,{itemColor:Qt,itemHoverColor:Ue,groupTitleColor:We,itemSelectedColor:Mt,itemBg:bn,popupBg:bn,subMenuItemBg:In,itemActiveBg:"transparent",itemSelectedBg:tn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ut,itemDisabledColor:nn,dangerItemColor:zt,dangerItemHoverColor:gn,dangerItemSelectedColor:xn,dangerItemActiveBg:Un,dangerItemSelectedBg:Gn,menuSubMenuBg:In,horizontalItemSelectedColor:Dt,horizontalItemSelectedBg:_e});return[Kt(Vn),un(Vn),tt(Vn),$t(Vn,"light"),$t(dr,"dark"),Qe(Vn),(0,at.Z)(Vn),(0,Pt.oN)(Vn,"slide-up"),(0,Pt.oN)(Vn,"slide-down"),(0,it._y)(Vn,"zoom-big")]},ue=>{const{colorPrimary:Pe,colorError:_e,colorTextDisabled:Dt,colorErrorBg:Lt,colorText:Ht,colorTextDescription:Qt,colorBgContainer:zt,colorFillAlter:bn,colorFillContent:In,lineWidth:Mt,lineWidthBold:tn,controlItemBgActive:Gn,colorBgTextHover:ut,controlHeightLG:We,lineHeight:Ue,colorBgElevated:nn,marginXXS:gn,padding:xn,fontSize:Un,controlHeightSM:Pn,fontSizeLG:Vn,colorTextLightSolid:dr,colorErrorHover:gr}=ue,_n=new Ye.C(dr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ue.zIndexPopupBase+50,radiusItem:ue.borderRadiusLG,itemBorderRadius:ue.borderRadiusLG,radiusSubMenuItem:ue.borderRadiusSM,subMenuItemBorderRadius:ue.borderRadiusSM,colorItemText:Ht,itemColor:Ht,colorItemTextHover:Ht,itemHoverColor:Ht,colorItemTextHoverHorizontal:Pe,horizontalItemHoverColor:Pe,colorGroupTitle:Qt,groupTitleColor:Qt,colorItemTextSelected:Pe,itemSelectedColor:Pe,colorItemTextSelectedHorizontal:Pe,horizontalItemSelectedColor:Pe,colorItemBg:zt,itemBg:zt,colorItemBgHover:ut,itemHoverBg:ut,colorItemBgActive:In,itemActiveBg:Gn,colorSubItemBg:bn,subMenuItemBg:bn,colorItemBgSelected:Gn,itemSelectedBg:Gn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:tn,activeBarHeight:tn,colorActiveBarBorderSize:Mt,activeBarBorderWidth:Mt,colorItemTextDisabled:Dt,itemDisabledColor:Dt,colorDangerItemText:_e,dangerItemColor:_e,colorDangerItemTextHover:_e,dangerItemHoverColor:_e,colorDangerItemTextSelected:_e,dangerItemSelectedColor:_e,colorDangerItemBgActive:Lt,dangerItemActiveBg:Lt,colorDangerItemBgSelected:Lt,dangerItemSelectedBg:Lt,itemMarginInline:ue.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:We,groupTitleLineHeight:Ue,collapsedWidth:We*2,popupBg:nn,itemMarginBlock:gn,itemPaddingInline:xn,horizontalLineHeight:`${We*1.15}px`,iconSize:Un,iconMarginInlineEnd:Pn-Un,collapsedIconSize:Vn,groupTitleFontSize:Un,darkItemDisabledColor:new Ye.C(dr).setAlpha(.25).toRgbString(),darkItemColor:_n,darkDangerItemColor:_e,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dr,darkItemSelectedBg:Pe,darkDangerItemSelectedBg:_e,darkItemHoverBg:"transparent",darkGroupTitleColor:_n,darkItemHoverColor:dr,darkDangerItemHoverColor:gr,darkDangerItemSelectedColor:dr,darkDangerItemActiveBg:_e}},{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"]]})(le),kt=function(le,fe){var he={};for(var ue in le)Object.prototype.hasOwnProperty.call(le,ue)&&fe.indexOf(ue)<0&&(he[ue]=le[ue]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ue=Object.getOwnPropertySymbols(le);Pe<ue.length;Pe++)fe.indexOf(ue[Pe])<0&&Object.prototype.propertyIsEnumerable.call(le,ue[Pe])&&(he[ue[Pe]]=le[ue[Pe]]);return he},xt=(0,He.forwardRef)((le,fe)=>{var he,ue;const Pe=He.useContext(pe.Z),_e=Pe||{},{getPrefixCls:Dt,getPopupContainer:Lt,direction:Ht,menu:Qt}=He.useContext(ke.E_),zt=Dt(),{prefixCls:bn,className:In,style:Mt,theme:tn="light",expandIcon:Gn,_internalDisableMenuItemTitleTooltip:ut,inlineCollapsed:We,siderCollapsed:Ue,items:nn,children:gn,rootClassName:xn,mode:Un,selectable:Pn,onClick:Vn,overflowedIndicatorPopupClassName:dr}=le,gr=kt(le,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),_n=(0,yt.Z)(gr,["collapsedWidth"]),wr=qe(nn)||gn;(he=_e.validator)===null||he===void 0||he.call(_e,{mode:Un});const Jr=(0,vt.useEvent)(function(){var sr;Vn==null||Vn.apply(void 0,arguments),(sr=_e.onClick)===null||sr===void 0||sr.call(_e)}),pr=_e.mode||Un,pi=Pn!=null?Pn:_e.selectable,Rr=He.useMemo(()=>Ue!==void 0?Ue:We,[We,Ue]),Qr={horizontal:{motionName:`${zt}-slide-up`},inline:(0,Ke.Z)(zt),other:{motionName:`${zt}-zoom-big`}},pn=Dt("menu",bn||_e.prefixCls),[Zn,rr]=yn(pn,!Pe),ur=Se()(`${pn}-${tn}`,Qt==null?void 0:Qt.className,In);let nr;if(typeof Gn=="function")nr=Gn;else if(Gn===null||Gn===!1)nr=null;else if(_e.expandIcon===null||_e.expandIcon===!1)nr=null;else{const sr=Gn!=null?Gn:_e.expandIcon;nr=(0,Te.Tm)(sr,{className:Se()(`${pn}-submenu-expand-icon`,(0,Te.l$)(sr)?(ue=sr.props)===null||ue===void 0?void 0:ue.className:"")})}const fr=He.useMemo(()=>({prefixCls:pn,inlineCollapsed:Rr||!1,direction:Ht,firstLevel:!0,theme:tn,mode:pr,disableMenuItemTitleTooltip:ut}),[pn,Rr,Ht,ut,tn]);return Zn(He.createElement(pe.Z.Provider,{value:null},He.createElement(ot.Provider,{value:fr},He.createElement(ae.ZP,Object.assign({getPopupContainer:Lt,overflowedIndicator:He.createElement(st.Z,null),overflowedIndicatorPopupClassName:Se()(pn,`${pn}-${tn}`,dr),mode:pr,selectable:pi,onClick:Jr},_n,{inlineCollapsed:Rr,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Mt),className:ur,prefixCls:pn,direction:Ht,defaultMotions:Qr,expandIcon:nr,ref:fe,rootClassName:Se()(xn,rr)}),wr))))});const ve=(0,He.forwardRef)((le,fe)=>{const he=(0,He.useRef)(null),ue=He.useContext(ze.D);return(0,He.useImperativeHandle)(fe,()=>({menu:he.current,focus:Pe=>{var _e;(_e=he.current)===null||_e===void 0||_e.focus(Pe)}})),He.createElement(xt,Object.assign({ref:he},le,ue))});ve.Item=lt,ve.SubMenu=Vt,ve.Divider=Ee,ve.ItemGroup=ae.BW;var ce=ve},93948:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return ut}});var ae=se(59301),He=se(29679),ze=se(40001),rt=se(19248),Se=se(99267),ke=se(92310),Oe=se.n(ke),xe=se(2738),Ee=se(36355),Ze=se(54476),yt=se(33885),Be=se(75931),Te={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},dt=function(){var Ue=(0,ae.useRef)([]),nn=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var gn=Date.now(),xn=!1;Ue.current.forEach(function(Un){if(Un){xn=!0;var Pn=Un.style;Pn.transitionDuration=".3s, .3s, .3s, .06s",nn.current&&gn-nn.current<100&&(Pn.transitionDuration="0s, 0s")}}),xn&&(nn.current=Date.now())}),Ue.current},ot=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],ft=function(Ue){var nn=(0,yt.Z)((0,yt.Z)({},Te),Ue),gn=nn.className,xn=nn.percent,Un=nn.prefixCls,Pn=nn.strokeColor,Vn=nn.strokeLinecap,dr=nn.strokeWidth,gr=nn.style,_n=nn.trailColor,wr=nn.trailWidth,Jr=nn.transition,pr=(0,Be.Z)(nn,ot);delete pr.gapPosition;var pi=Array.isArray(xn)?xn:[xn],Rr=Array.isArray(Pn)?Pn:[Pn],Qr=dt(),pn=dr/2,Zn=100-dr/2,rr="M ".concat(Vn==="round"?pn:0,",").concat(pn,`
|
|
|
L `).concat(Vn==="round"?Zn:100,",").concat(pn),ur="0 0 100 ".concat(dr),nr=0;return ae.createElement("svg",(0,Ze.Z)({className:Oe()("".concat(Un,"-line"),gn),viewBox:ur,preserveAspectRatio:"none",style:gr},pr),ae.createElement("path",{className:"".concat(Un,"-line-trail"),d:rr,strokeLinecap:Vn,stroke:_n,strokeWidth:wr||dr,fillOpacity:"0"}),pi.map(function(fr,sr){var Br=1;switch(Vn){case"round":Br=1-dr/100;break;case"square":Br=1-dr/2/100;break;default:Br=1;break}var ir={strokeDasharray:"".concat(fr*Br,"px, 100px"),strokeDashoffset:"-".concat(nr,"px"),transition:Jr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Bn=Rr[sr]||Rr[Rr.length-1];return nr+=fr,ae.createElement("path",{key:sr,className:"".concat(Un,"-line-path"),d:rr,strokeLinecap:Vn,stroke:Bn,strokeWidth:dr,fillOpacity:"0",ref:function(wt){Qr[sr]=wt},style:ir})}))},lt=ft,ht=se(76190),Vt=se(42978),st=se(47273),vt=0,Ke=(0,st.Z)();function pe(){var We;return Ke?(We=vt,vt+=1):We="TEST_OR_SSR",We}var $e=function(We){var Ue=ae.useState(),nn=(0,Vt.Z)(Ue,2),gn=nn[0],xn=nn[1];return ae.useEffect(function(){xn("rc_progress_".concat(pe()))},[]),We||gn},et=function(Ue){var nn=Ue.bg,gn=Ue.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:nn}},gn)};function qe(We,Ue){return Object.keys(We).map(function(nn){var gn=parseFloat(nn),xn="".concat(Math.floor(gn*Ue),"%");return"".concat(We[nn]," ").concat(xn)})}var Ye=ae.forwardRef(function(We,Ue){var nn=We.prefixCls,gn=We.color,xn=We.gradientId,Un=We.radius,Pn=We.style,Vn=We.ptg,dr=We.strokeLinecap,gr=We.strokeWidth,_n=We.size,wr=We.gapDegree,Jr=gn&&(0,ht.Z)(gn)==="object",pr=Jr?"#FFF":void 0,pi=_n/2,Rr=ae.createElement("circle",{className:"".concat(nn,"-circle-path"),r:Un,cx:pi,cy:pi,stroke:pr,strokeLinecap:dr,strokeWidth:gr,opacity:Vn===0?0:1,style:Pn,ref:Ue});if(!Jr)return Rr;var Qr="".concat(xn,"-conic"),pn=wr?"".concat(180+wr/2,"deg"):"0deg",Zn=qe(gn,(360-wr)/360),rr=qe(gn,1),ur="conic-gradient(from ".concat(pn,", ").concat(Zn.join(", "),")"),nr="linear-gradient(to ".concat(wr?"bottom":"top",", ").concat(rr.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:Qr},Rr),ae.createElement("foreignObject",{x:0,y:0,width:_n,height:_n,mask:"url(#".concat(Qr,")")},ae.createElement(et,{bg:nr},ae.createElement(et,{bg:ur}))))}),pt=Ye,at=100,Pt=function(Ue,nn,gn,xn,Un,Pn,Vn,dr,gr,_n){var wr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Jr=gn/100*360*((360-Pn)/360),pr=Pn===0?0:{bottom:0,top:180,left:90,right:-90}[Vn],pi=(100-xn)/100*nn;gr==="round"&&xn!==100&&(pi+=_n/2,pi>=nn&&(pi=nn-.01));var Rr=at/2;return{stroke:typeof dr=="string"?dr:void 0,strokeDasharray:"".concat(nn,"px ").concat(Ue),strokeDashoffset:pi+wr,transform:"rotate(".concat(Un+Jr+pr,"deg)"),transformOrigin:"".concat(Rr,"px ").concat(Rr,"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}},it=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Nt(We){var Ue=We!=null?We:[];return Array.isArray(Ue)?Ue:[Ue]}var rn=function(Ue){var nn=(0,yt.Z)((0,yt.Z)({},Te),Ue),gn=nn.id,xn=nn.prefixCls,Un=nn.steps,Pn=nn.strokeWidth,Vn=nn.trailWidth,dr=nn.gapDegree,gr=dr===void 0?0:dr,_n=nn.gapPosition,wr=nn.trailColor,Jr=nn.strokeLinecap,pr=nn.style,pi=nn.className,Rr=nn.strokeColor,Qr=nn.percent,pn=(0,Be.Z)(nn,it),Zn=at/2,rr=$e(gn),ur="".concat(rr,"-gradient"),nr=Zn-Pn/2,fr=Math.PI*2*nr,sr=gr>0?90+gr/2:-90,Br=fr*((360-gr)/360),ir=(0,ht.Z)(Un)==="object"?Un:{count:Un,space:2},Bn=ir.count,Cr=ir.space,wt=Nt(Qr),Fe=Nt(Rr),je=Fe.find(function(Zt){return Zt&&(0,ht.Z)(Zt)==="object"}),Re=je&&(0,ht.Z)(je)==="object",Ne=Re?"butt":Jr,ct=Pt(fr,Br,0,100,sr,gr,_n,wr,Ne,Pn),St=dt(),an=function(){var Dn=0;return wt.map(function(Hn,jn){var qt=Fe[jn]||Fe[Fe.length-1],Sn=Pt(fr,Br,Dn,Hn,sr,gr,_n,qt,Ne,Pn);return Dn+=Hn,ae.createElement(pt,{key:jn,color:qt,ptg:Hn,radius:nr,prefixCls:xn,gradientId:ur,style:Sn,strokeLinecap:Ne,strokeWidth:Pn,gapDegree:gr,ref:function(Rt){St[jn]=Rt},size:at})}).reverse()},Gt=function(){var Dn=Math.round(Bn*(wt[0]/100)),Hn=100/Bn,jn=0;return new Array(Bn).fill(null).map(function(qt,Sn){var Ct=Sn<=Dn-1?Fe[0]:wr,Rt=Ct&&(0,ht.Z)(Ct)==="object"?"url(#".concat(ur,")"):void 0,Xt=Pt(fr,Br,jn,Hn,sr,gr,_n,Ct,"butt",Pn,Cr);return jn+=(Br-Xt.strokeDashoffset+Cr)*100/Br,ae.createElement("circle",{key:Sn,className:"".concat(xn,"-circle-path"),r:nr,cx:Zn,cy:Zn,stroke:Rt,strokeWidth:Pn,opacity:1,style:Xt,ref:function(En){St[Sn]=En}})})};return ae.createElement("svg",(0,Ze.Z)({className:Oe()("".concat(xn,"-circle"),pi),viewBox:"0 0 ".concat(at," ").concat(at),style:pr,id:gn,role:"presentation"},pn),!Bn&&ae.createElement("circle",{className:"".concat(xn,"-circle-trail"),r:nr,cx:Zn,cy:Zn,stroke:wr,strokeLinecap:Ne,strokeWidth:Vn||Pn,style:ct}),Bn?Gt():an())},Ut=rn,un={Line:lt,Circle:Ut},jt=se(6848),Qe=se(30071);function Ce(We){return!We||We<0?0:We>100?100:We}function nt(We){let{success:Ue,successPercent:nn}=We,gn=nn;return Ue&&"progress"in Ue&&(gn=Ue.progress),Ue&&"percent"in Ue&&(gn=Ue.percent),gn}const $t=We=>{let{percent:Ue,success:nn,successPercent:gn}=We;const xn=Ce(nt({success:nn,successPercent:gn}));return[xn,Ce(Ce(Ue)-xn)]},Et=We=>{let{success:Ue={},strokeColor:nn}=We;const{strokeColor:gn}=Ue;return[gn||Qe.presetPrimaryColors.green,nn||null]},Ve=(We,Ue,nn)=>{var gn,xn,Un,Pn;let Vn=-1,dr=-1;if(Ue==="step"){const gr=nn.steps,_n=nn.strokeWidth;typeof We=="string"||typeof We=="undefined"?(Vn=We==="small"?2:14,dr=_n!=null?_n:8):typeof We=="number"?[Vn,dr]=[We,We]:[Vn=14,dr=8]=We,Vn*=gr}else if(Ue==="line"){const gr=nn==null?void 0:nn.strokeWidth;typeof We=="string"||typeof We=="undefined"?dr=gr||(We==="small"?6:8):typeof We=="number"?[Vn,dr]=[We,We]:[Vn=-1,dr=8]=We}else(Ue==="circle"||Ue==="dashboard")&&(typeof We=="string"||typeof We=="undefined"?[Vn,dr]=We==="small"?[60,60]:[120,120]:typeof We=="number"?[Vn,dr]=[We,We]:(Vn=(xn=(gn=We[0])!==null&&gn!==void 0?gn:We[1])!==null&&xn!==void 0?xn:120,dr=(Pn=(Un=We[0])!==null&&Un!==void 0?Un:We[1])!==null&&Pn!==void 0?Pn:120));return[Vn,dr]},tt=3,At=We=>tt/We*100;var Kt=We=>{const{prefixCls:Ue,trailColor:nn=null,strokeLinecap:gn="round",gapPosition:xn,gapDegree:Un,width:Pn=120,type:Vn,children:dr,success:gr,size:_n=Pn}=We,[wr,Jr]=Ve(_n,"circle");let{strokeWidth:pr}=We;pr===void 0&&(pr=Math.max(At(wr),6));const pi={width:wr,height:Jr,fontSize:wr*.15+6},Rr=ae.useMemo(()=>{if(Un||Un===0)return Un;if(Vn==="dashboard")return 75},[Un,Vn]),Qr=xn||Vn==="dashboard"&&"bottom"||void 0,pn=Object.prototype.toString.call(We.strokeColor)==="[object Object]",Zn=Et({success:gr,strokeColor:We.strokeColor}),rr=Oe()(`${Ue}-inner`,{[`${Ue}-circle-gradient`]:pn}),ur=ae.createElement(Ut,{percent:$t(We),strokeWidth:pr,trailWidth:pr,strokeColor:Zn,strokeLinecap:gn,trailColor:nn,prefixCls:Ue,gapDegree:Rr,gapPosition:Qr});return ae.createElement("div",{className:rr,style:pi},wr<=20?ae.createElement(jt.Z,{title:dr},ae.createElement("span",null,ur)):ae.createElement(ae.Fragment,null,ur,dr))},yn=function(We,Ue){var nn={};for(var gn in We)Object.prototype.hasOwnProperty.call(We,gn)&&Ue.indexOf(gn)<0&&(nn[gn]=We[gn]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,gn=Object.getOwnPropertySymbols(We);xn<gn.length;xn++)Ue.indexOf(gn[xn])<0&&Object.prototype.propertyIsEnumerable.call(We,gn[xn])&&(nn[gn[xn]]=We[gn[xn]]);return nn};const kt=We=>{let Ue=[];return Object.keys(We).forEach(nn=>{const gn=parseFloat(nn.replace(/%/g,""));isNaN(gn)||Ue.push({key:gn,value:We[nn]})}),Ue=Ue.sort((nn,gn)=>nn.key-gn.key),Ue.map(nn=>{let{key:gn,value:xn}=nn;return`${xn} ${gn}%`}).join(", ")},Bt=(We,Ue)=>{const{from:nn=Qe.presetPrimaryColors.blue,to:gn=Qe.presetPrimaryColors.blue,direction:xn=Ue==="rtl"?"to left":"to right"}=We,Un=yn(We,["from","to","direction"]);if(Object.keys(Un).length!==0){const Pn=kt(Un);return{backgroundImage:`linear-gradient(${xn}, ${Pn})`}}return{backgroundImage:`linear-gradient(${xn}, ${nn}, ${gn})`}};var ve=We=>{const{prefixCls:Ue,direction:nn,percent:gn,size:xn,strokeWidth:Un,strokeColor:Pn,strokeLinecap:Vn="round",children:dr,trailColor:gr=null,success:_n}=We,wr=Pn&&typeof Pn!="string"?Bt(Pn,nn):{backgroundColor:Pn},Jr=Vn==="square"||Vn==="butt"?0:void 0,pr={backgroundColor:gr||void 0,borderRadius:Jr},pi=xn!=null?xn:[-1,Un||(xn==="small"?6:8)],[Rr,Qr]=Ve(pi,"line",{strokeWidth:Un}),pn=Object.assign({width:`${Ce(gn)}%`,height:Qr,borderRadius:Jr},wr),Zn=nt(We),rr={width:`${Ce(Zn)}%`,height:Qr,borderRadius:Jr,backgroundColor:_n==null?void 0:_n.strokeColor},ur={width:Rr<0?"100%":Rr,height:Qr};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${Ue}-outer`,style:ur},ae.createElement("div",{className:`${Ue}-inner`,style:pr},ae.createElement("div",{className:`${Ue}-bg`,style:pn}),Zn!==void 0?ae.createElement("div",{className:`${Ue}-success-bg`,style:rr}):null)),dr)},le=We=>{const{size:Ue,steps:nn,percent:gn=0,strokeWidth:xn=8,strokeColor:Un,trailColor:Pn=null,prefixCls:Vn,children:dr}=We,gr=Math.round(nn*(gn/100)),_n=Ue==="small"?2:14,wr=Ue!=null?Ue:[_n,xn],[Jr,pr]=Ve(wr,"step",{steps:nn,strokeWidth:xn}),pi=Jr/nn,Rr=new Array(nn);for(let Qr=0;Qr<nn;Qr++){const pn=Array.isArray(Un)?Un[Qr]:Un;Rr[Qr]=ae.createElement("div",{key:Qr,className:Oe()(`${Vn}-steps-item`,{[`${Vn}-steps-item-active`]:Qr<=gr-1}),style:{backgroundColor:Qr<=gr-1?pn:Pn,width:pi,height:pr}})}return ae.createElement("div",{className:`${Vn}-steps-outer`},Rr,dr)},fe=se(36237),he=se(17313),ue=se(83116),Pe=se(37613);const _e=We=>{const Ue=We?"100%":"-100%";return new fe.Keyframes(`antProgress${We?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ue}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ue}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Dt=We=>{const{componentCls:Ue,iconCls:nn}=We;return{[Ue]:Object.assign(Object.assign({},(0,he.Wf)(We)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:We.fontSize,marginInlineEnd:We.marginXS,marginBottom:We.marginXS},[`${Ue}-outer`]:{display:"inline-block",width:"100%"},[`&${Ue}-show-info`]:{[`${Ue}-outer`]:{marginInlineEnd:`calc(-2em - ${We.marginXS}px)`,paddingInlineEnd:`calc(2em + ${We.paddingXS}px)`}},[`${Ue}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:We.remainingColor,borderRadius:We.lineBorderRadius},[`${Ue}-inner:not(${Ue}-circle-gradient)`]:{[`${Ue}-circle-path`]:{stroke:We.defaultColor}},[`${Ue}-success-bg, ${Ue}-bg`]:{position:"relative",backgroundColor:We.defaultColor,borderRadius:We.lineBorderRadius,transition:`all ${We.motionDurationSlow} ${We.motionEaseInOutCirc}`},[`${Ue}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:We.colorSuccess},[`${Ue}-text`]:{display:"inline-block",width:"2em",marginInlineStart:We.marginXS,color:We.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[nn]:{fontSize:We.fontSize}},[`&${Ue}-status-active`]:{[`${Ue}-bg::before`]:{position:"absolute",inset:0,backgroundColor:We.colorBgContainer,borderRadius:We.lineBorderRadius,opacity:0,animationName:_e(),animationDuration:We.progressActiveMotionDuration,animationTimingFunction:We.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ue}-rtl${Ue}-status-active`]:{[`${Ue}-bg::before`]:{animationName:_e(!0)}},[`&${Ue}-status-exception`]:{[`${Ue}-bg`]:{backgroundColor:We.colorError},[`${Ue}-text`]:{color:We.colorError}},[`&${Ue}-status-exception ${Ue}-inner:not(${Ue}-circle-gradient)`]:{[`${Ue}-circle-path`]:{stroke:We.colorError}},[`&${Ue}-status-success`]:{[`${Ue}-bg`]:{backgroundColor:We.colorSuccess},[`${Ue}-text`]:{color:We.colorSuccess}},[`&${Ue}-status-success ${Ue}-inner:not(${Ue}-circle-gradient)`]:{[`${Ue}-circle-path`]:{stroke:We.colorSuccess}}})}},Lt=We=>{const{componentCls:Ue,iconCls:nn}=We;return{[Ue]:{[`${Ue}-circle-trail`]:{stroke:We.remainingColor},[`&${Ue}-circle ${Ue}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ue}-circle ${Ue}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:We.circleTextColor,fontSize:We.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[nn]:{fontSize:`${We.fontSize/We.fontSizeSM}em`}},[`${Ue}-circle&-status-exception`]:{[`${Ue}-text`]:{color:We.colorError}},[`${Ue}-circle&-status-success`]:{[`${Ue}-text`]:{color:We.colorSuccess}}},[`${Ue}-inline-circle`]:{lineHeight:1,[`${Ue}-inner`]:{verticalAlign:"bottom"}}}},Ht=We=>{const{componentCls:Ue}=We;return{[Ue]:{[`${Ue}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:We.progressStepMinWidth,marginInlineEnd:We.progressStepMarginInlineEnd,backgroundColor:We.remainingColor,transition:`all ${We.motionDurationSlow}`,"&-active":{backgroundColor:We.defaultColor}}}}}},Qt=We=>{const{componentCls:Ue,iconCls:nn}=We;return{[Ue]:{[`${Ue}-small&-line, ${Ue}-small&-line ${Ue}-text ${nn}`]:{fontSize:We.fontSizeSM}}}};var zt=(0,ue.Z)("Progress",We=>{const Ue=We.marginXXS/2,nn=(0,Pe.TS)(We,{progressStepMarginInlineEnd:Ue,progressStepMinWidth:Ue,progressActiveMotionDuration:"2.4s"});return[Dt(nn),Lt(nn),Ht(nn),Qt(nn)]},We=>({circleTextColor:We.colorText,defaultColor:We.colorInfo,remainingColor:We.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),bn=function(We,Ue){var nn={};for(var gn in We)Object.prototype.hasOwnProperty.call(We,gn)&&Ue.indexOf(gn)<0&&(nn[gn]=We[gn]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xn=0,gn=Object.getOwnPropertySymbols(We);xn<gn.length;xn++)Ue.indexOf(gn[xn])<0&&Object.prototype.propertyIsEnumerable.call(We,gn[xn])&&(nn[gn[xn]]=We[gn[xn]]);return nn};const In=null,Mt=["normal","exception","active","success"];var Gn=ae.forwardRef((We,Ue)=>{const{prefixCls:nn,className:gn,rootClassName:xn,steps:Un,strokeColor:Pn,percent:Vn=0,size:dr="default",showInfo:gr=!0,type:_n="line",status:wr,format:Jr,style:pr}=We,pi=bn(We,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Rr=ae.useMemo(()=>{var wt,Fe;const je=nt(We);return parseInt(je!==void 0?(wt=je!=null?je:0)===null||wt===void 0?void 0:wt.toString():(Fe=Vn!=null?Vn:0)===null||Fe===void 0?void 0:Fe.toString(),10)},[Vn,We.success,We.successPercent]),Qr=ae.useMemo(()=>!Mt.includes(wr)&&Rr>=100?"success":wr||"normal",[wr,Rr]),{getPrefixCls:pn,direction:Zn,progress:rr}=ae.useContext(Ee.E_),ur=pn("progress",nn),[nr,fr]=zt(ur),sr=ae.useMemo(()=>{if(!gr)return null;const wt=nt(We);let Fe;const je=Jr||(Ne=>`${Ne}%`),Re=_n==="line";return Jr||Qr!=="exception"&&Qr!=="success"?Fe=je(Ce(Vn),Ce(wt)):Qr==="exception"?Fe=Re?ae.createElement(rt.Z,null):ae.createElement(Se.Z,null):Qr==="success"&&(Fe=Re?ae.createElement(He.Z,null):ae.createElement(ze.Z,null)),ae.createElement("span",{className:`${ur}-text`,title:typeof Fe=="string"?Fe:void 0},Fe)},[gr,Vn,Rr,Qr,_n,ur,Jr]),Br=Array.isArray(Pn)?Pn[0]:Pn,ir=typeof Pn=="string"||Array.isArray(Pn)?Pn:void 0;let Bn;_n==="line"?Bn=Un?ae.createElement(le,Object.assign({},We,{strokeColor:ir,prefixCls:ur,steps:Un}),sr):ae.createElement(ve,Object.assign({},We,{strokeColor:Br,prefixCls:ur,direction:Zn}),sr):(_n==="circle"||_n==="dashboard")&&(Bn=ae.createElement(Kt,Object.assign({},We,{strokeColor:Br,prefixCls:ur,progressStatus:Qr}),sr));const Cr=Oe()(ur,`${ur}-status-${Qr}`,`${ur}-${_n==="dashboard"&&"circle"||Un&&"steps"||_n}`,{[`${ur}-inline-circle`]:_n==="circle"&&Ve(dr,"circle")[0]<=20,[`${ur}-show-info`]:gr,[`${ur}-${dr}`]:typeof dr=="string",[`${ur}-rtl`]:Zn==="rtl"},rr==null?void 0:rr.className,gn,xn,fr);return nr(ae.createElement("div",Object.assign({ref:Ue,style:Object.assign(Object.assign({},rr==null?void 0:rr.style),pr),className:Cr,role:"progressbar","aria-valuenow":Rr},(0,xe.Z)(pi,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Bn))}),ut=Gn},5112:function(Cn,mn,se){"use strict";se.d(mn,{ZP:function(){return Qe}});var ae=se(92310),He=se.n(ae),ze=se(18929),rt=se(26112),Se=se(59301),ke=se(36355),Oe=se(19716);const xe=Se.createContext(null),Ee=xe.Provider;var Ze=xe;const yt=Se.createContext(null),Be=yt.Provider;var Te=se(5630),dt=se(8654),ot=se(1684),ft=se(32441),lt=se(17313),ht=se(83116),Vt=se(37613);const st=Ce=>{const{componentCls:nt,antCls:$t}=Ce,Et=`${nt}-group`;return{[Et]:Object.assign(Object.assign({},(0,lt.Wf)(Ce)),{display:"inline-block",fontSize:0,[`&${Et}-rtl`]:{direction:"rtl"},[`${$t}-badge ${$t}-badge-count`]:{zIndex:1},[`> ${$t}-badge:not(:first-child) > ${$t}-button-wrapper`]:{borderInlineStart:"none"}})}},vt=Ce=>{const{componentCls:nt,wrapperMarginInlineEnd:$t,colorPrimary:Et,radioSize:Ve,motionDurationSlow:tt,motionDurationMid:At,motionEaseInOutCirc:fn,colorBgContainer:Kt,colorBorder:yn,lineWidth:kt,dotSize:Bt,colorBgContainerDisabled:xt,colorTextDisabled:ve,paddingXS:ce,dotColorDisabled:le,lineType:fe,radioDotDisabledSize:he,wireframe:ue,colorWhite:Pe}=Ce,_e=`${nt}-inner`;return{[`${nt}-wrapper`]:Object.assign(Object.assign({},(0,lt.Wf)(Ce)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:$t,cursor:"pointer",[`&${nt}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Ce.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${nt}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${kt}px ${fe} ${Et}`,borderRadius:"50%",visibility:"hidden",content:'""'},[nt]:Object.assign(Object.assign({},(0,lt.Wf)(Ce)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${nt}-wrapper:hover &,
|
|
|
&:hover ${_e}`]:{borderColor:Et},[`${nt}-input:focus-visible + ${_e}`]:Object.assign({},(0,lt.oN)(Ce)),[`${nt}:hover::after, ${nt}-wrapper:hover &::after`]:{visibility:"visible"},[`${nt}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Ve,height:Ve,marginBlockStart:Ve/-2,marginInlineStart:Ve/-2,backgroundColor:ue?Et:Pe,borderBlockStart:0,borderInlineStart:0,borderRadius:Ve,transform:"scale(0)",opacity:0,transition:`all ${tt} ${fn}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ve,height:Ve,backgroundColor:Kt,borderColor:yn,borderStyle:"solid",borderWidth:kt,borderRadius:"50%",transition:`all ${At}`},[`${nt}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${nt}-checked`]:{[_e]:{borderColor:Et,backgroundColor:ue?Kt:Et,"&::after":{transform:`scale(${Bt/Ve})`,opacity:1,transition:`all ${tt} ${fn}`}}},[`${nt}-disabled`]:{cursor:"not-allowed",[_e]:{backgroundColor:xt,borderColor:yn,cursor:"not-allowed","&::after":{backgroundColor:le}},[`${nt}-input`]:{cursor:"not-allowed"},[`${nt}-disabled + span`]:{color:ve,cursor:"not-allowed"},[`&${nt}-checked`]:{[_e]:{"&::after":{transform:`scale(${he/Ve})`}}}},[`span${nt} + *`]:{paddingInlineStart:ce,paddingInlineEnd:ce}})}},Ke=Ce=>{const{buttonColor:nt,controlHeight:$t,componentCls:Et,lineWidth:Ve,lineType:tt,colorBorder:At,motionDurationSlow:fn,motionDurationMid:Kt,buttonPaddingInline:yn,fontSize:kt,buttonBg:Bt,fontSizeLG:xt,controlHeightLG:ve,controlHeightSM:ce,paddingXS:le,borderRadius:fe,borderRadiusSM:he,borderRadiusLG:ue,buttonCheckedBg:Pe,buttonSolidCheckedColor:_e,colorTextDisabled:Dt,colorBgContainerDisabled:Lt,buttonCheckedBgDisabled:Ht,buttonCheckedColorDisabled:Qt,colorPrimary:zt,colorPrimaryHover:bn,colorPrimaryActive:In,buttonSolidCheckedBg:Mt,buttonSolidCheckedHoverBg:tn,buttonSolidCheckedActiveBg:Gn}=Ce;return{[`${Et}-button-wrapper`]:{position:"relative",display:"inline-block",height:$t,margin:0,paddingInline:yn,paddingBlock:0,color:nt,fontSize:kt,lineHeight:`${$t-Ve*2}px`,background:Bt,border:`${Ve}px ${tt} ${At}`,borderBlockStartWidth:Ve+.02,borderInlineStartWidth:0,borderInlineEndWidth:Ve,cursor:"pointer",transition:[`color ${Kt}`,`background ${Kt}`,`box-shadow ${Kt}`].join(","),a:{color:nt},[`> ${Et}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Ve,insetInlineStart:-Ve,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Ve,paddingInline:0,backgroundColor:At,transition:`background-color ${fn}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ve}px ${tt} ${At}`,borderStartStartRadius:fe,borderEndStartRadius:fe},"&:last-child":{borderStartEndRadius:fe,borderEndEndRadius:fe},"&:first-child:last-child":{borderRadius:fe},[`${Et}-group-large &`]:{height:ve,fontSize:xt,lineHeight:`${ve-Ve*2}px`,"&:first-child":{borderStartStartRadius:ue,borderEndStartRadius:ue},"&:last-child":{borderStartEndRadius:ue,borderEndEndRadius:ue}},[`${Et}-group-small &`]:{height:ce,paddingInline:le-Ve,paddingBlock:0,lineHeight:`${ce-Ve*2}px`,"&:first-child":{borderStartStartRadius:he,borderEndStartRadius:he},"&:last-child":{borderStartEndRadius:he,borderEndEndRadius:he}},"&:hover":{position:"relative",color:zt},"&:has(:focus-visible)":Object.assign({},(0,lt.oN)(Ce)),[`${Et}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Et}-button-wrapper-disabled)`]:{zIndex:1,color:zt,background:Pe,borderColor:zt,"&::before":{backgroundColor:zt},"&:first-child":{borderColor:zt},"&:hover":{color:bn,borderColor:bn,"&::before":{backgroundColor:bn}},"&:active":{color:In,borderColor:In,"&::before":{backgroundColor:In}}},[`${Et}-group-solid &-checked:not(${Et}-button-wrapper-disabled)`]:{color:_e,background:Mt,borderColor:Mt,"&:hover":{color:_e,background:tn,borderColor:tn},"&:active":{color:_e,background:Gn,borderColor:Gn}},"&-disabled":{color:Dt,backgroundColor:Lt,borderColor:At,cursor:"not-allowed","&:first-child, &:hover":{color:Dt,backgroundColor:Lt,borderColor:At}},[`&-disabled${Et}-button-wrapper-checked`]:{color:Qt,backgroundColor:Ht,borderColor:At,boxShadow:"none"}}}},pe=Ce=>Ce-4*2;var $e=(0,ht.Z)("Radio",Ce=>{const{controlOutline:nt,controlOutlineWidth:$t,radioSize:Et}=Ce,Ve=`0 0 0 ${$t}px ${nt}`,tt=Ve,At=pe(Et),fn=(0,Vt.TS)(Ce,{radioDotDisabledSize:At,radioFocusShadow:Ve,radioButtonFocusShadow:tt});return[st(fn),vt(fn),Ke(fn)]},Ce=>{const{wireframe:nt,padding:$t,marginXS:Et,lineWidth:Ve,fontSizeLG:tt,colorText:At,colorBgContainer:fn,colorTextDisabled:Kt,controlItemBgActiveDisabled:yn,colorTextLightSolid:kt,colorPrimary:Bt,colorPrimaryHover:xt,colorPrimaryActive:ve}=Ce,ce=4,le=tt,fe=nt?pe(le):le-(ce+Ve)*2;return{radioSize:le,dotSize:fe,dotColorDisabled:Kt,buttonSolidCheckedColor:kt,buttonSolidCheckedBg:Bt,buttonSolidCheckedHoverBg:xt,buttonSolidCheckedActiveBg:ve,buttonBg:fn,buttonCheckedBg:fn,buttonColor:At,buttonCheckedBgDisabled:yn,buttonCheckedColorDisabled:Kt,buttonPaddingInline:$t-Ve,wrapperMarginInlineEnd:Et}}),et=se(14088),qe=se(4572),Ye=function(Ce,nt){var $t={};for(var Et in Ce)Object.prototype.hasOwnProperty.call(Ce,Et)&&nt.indexOf(Et)<0&&($t[Et]=Ce[Et]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Et=Object.getOwnPropertySymbols(Ce);Ve<Et.length;Ve++)nt.indexOf(Et[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Et[Ve])&&($t[Et[Ve]]=Ce[Et[Ve]]);return $t};const pt=(Ce,nt)=>{var $t,Et;const Ve=Se.useContext(Ze),tt=Se.useContext(yt),{getPrefixCls:At,direction:fn,radio:Kt}=Se.useContext(ke.E_),yn=Se.useRef(null),kt=(0,dt.sQ)(nt,yn),{isFormItemInput:Bt}=Se.useContext(ft.aM),xt=In=>{var Mt,tn;(Mt=Ce.onChange)===null||Mt===void 0||Mt.call(Ce,In),(tn=Ve==null?void 0:Ve.onChange)===null||tn===void 0||tn.call(Ve,In)},{prefixCls:ve,className:ce,rootClassName:le,children:fe,style:he}=Ce,ue=Ye(Ce,["prefixCls","className","rootClassName","children","style"]),Pe=At("radio",ve),_e=((Ve==null?void 0:Ve.optionType)||tt)==="button",Dt=_e?`${Pe}-button`:Pe,[Lt,Ht]=$e(Pe),Qt=Object.assign({},ue),zt=Se.useContext(ot.Z);Ve&&(Qt.name=Ve.name,Qt.onChange=xt,Qt.checked=Ce.value===Ve.value,Qt.disabled=($t=Qt.disabled)!==null&&$t!==void 0?$t:Ve.disabled),Qt.disabled=(Et=Qt.disabled)!==null&&Et!==void 0?Et:zt;const bn=He()(`${Dt}-wrapper`,{[`${Dt}-wrapper-checked`]:Qt.checked,[`${Dt}-wrapper-disabled`]:Qt.disabled,[`${Dt}-wrapper-rtl`]:fn==="rtl",[`${Dt}-wrapper-in-form-item`]:Bt},Kt==null?void 0:Kt.className,ce,le,Ht);return Lt(Se.createElement(et.Z,{component:"Radio",disabled:Qt.disabled},Se.createElement("label",{className:bn,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),he),onMouseEnter:Ce.onMouseEnter,onMouseLeave:Ce.onMouseLeave},Se.createElement(Te.Z,Object.assign({},Qt,{className:He()(Qt.className,!_e&&qe.A),type:"radio",prefixCls:Dt,ref:kt})),fe!==void 0?Se.createElement("span",null,fe):null)))};var Pt=Se.forwardRef(pt);const it=Se.forwardRef((Ce,nt)=>{const{getPrefixCls:$t,direction:Et}=Se.useContext(ke.E_),[Ve,tt]=(0,ze.Z)(Ce.defaultValue,{value:Ce.value}),At=Mt=>{const tn=Ve,Gn=Mt.target.value;"value"in Ce||tt(Gn);const{onChange:ut}=Ce;ut&&Gn!==tn&&ut(Mt)},{prefixCls:fn,className:Kt,rootClassName:yn,options:kt,buttonStyle:Bt="outline",disabled:xt,children:ve,size:ce,style:le,id:fe,onMouseEnter:he,onMouseLeave:ue,onFocus:Pe,onBlur:_e}=Ce,Dt=$t("radio",fn),Lt=`${Dt}-group`,[Ht,Qt]=$e(Dt);let zt=ve;kt&&kt.length>0&&(zt=kt.map(Mt=>typeof Mt=="string"||typeof Mt=="number"?Se.createElement(Pt,{key:Mt.toString(),prefixCls:Dt,disabled:xt,value:Mt,checked:Ve===Mt},Mt):Se.createElement(Pt,{key:`radio-group-value-options-${Mt.value}`,prefixCls:Dt,disabled:Mt.disabled||xt,value:Mt.value,checked:Ve===Mt.value,title:Mt.title,style:Mt.style},Mt.label)));const bn=(0,Oe.Z)(ce),In=He()(Lt,`${Lt}-${Bt}`,{[`${Lt}-${bn}`]:bn,[`${Lt}-rtl`]:Et==="rtl"},Kt,yn,Qt);return Ht(Se.createElement("div",Object.assign({},(0,rt.Z)(Ce,{aria:!0,data:!0}),{className:In,style:le,onMouseEnter:he,onMouseLeave:ue,onFocus:Pe,onBlur:_e,id:fe,ref:nt}),Se.createElement(Ee,{value:{onChange:At,value:Ve,disabled:Ce.disabled,name:Ce.name,optionType:Ce.optionType}},zt)))});var Nt=Se.memo(it),rn=function(Ce,nt){var $t={};for(var Et in Ce)Object.prototype.hasOwnProperty.call(Ce,Et)&&nt.indexOf(Et)<0&&($t[Et]=Ce[Et]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Et=Object.getOwnPropertySymbols(Ce);Ve<Et.length;Ve++)nt.indexOf(Et[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ce,Et[Ve])&&($t[Et[Ve]]=Ce[Et[Ve]]);return $t};const Ut=(Ce,nt)=>{const{getPrefixCls:$t}=Se.useContext(ke.E_),{prefixCls:Et}=Ce,Ve=rn(Ce,["prefixCls"]),tt=$t("radio",Et);return Se.createElement(Be,{value:"button"},Se.createElement(Pt,Object.assign({prefixCls:tt},Ve,{type:"radio",ref:nt})))};var un=Se.forwardRef(Ut);const jt=Pt;jt.Button=un,jt.Group=Nt,jt.__ANT_RADIO=!0;var Qe=jt},13570:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return Ce}});var ae=se(54476),He=se(59301),ze={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"},rt=ze,Se=se(7657),ke=function($t,Et){return He.createElement(Se.Z,(0,ae.Z)({},$t,{ref:Et,icon:rt}))},Oe=He.forwardRef(ke),xe=Oe,Ee=se(92310),Ze=se.n(Ee),yt=se(20068),Be=se(42978),Te=se(75931),dt=se(18929),ot=se(10228),ft=se(26112);function lt(nt,$t){var Et=nt.disabled,Ve=nt.prefixCls,tt=nt.character,At=nt.characterRender,fn=nt.index,Kt=nt.count,yn=nt.value,kt=nt.allowHalf,Bt=nt.focused,xt=nt.onHover,ve=nt.onClick,ce=function(Lt){xt(Lt,fn)},le=function(Lt){ve(Lt,fn)},fe=function(Lt){Lt.keyCode===ot.Z.ENTER&&ve(Lt,fn)},he=fn+1,ue=new Set([Ve]);yn===0&&fn===0&&Bt?ue.add("".concat(Ve,"-focused")):kt&&yn+.5>=he&&yn<he?(ue.add("".concat(Ve,"-half")),ue.add("".concat(Ve,"-active")),Bt&&ue.add("".concat(Ve,"-focused"))):(he<=yn?ue.add("".concat(Ve,"-full")):ue.add("".concat(Ve,"-zero")),he===yn&&Bt&&ue.add("".concat(Ve,"-focused")));var Pe=typeof tt=="function"?tt(nt):tt,_e=He.createElement("li",{className:Ze()(Array.from(ue)),ref:$t},He.createElement("div",{onClick:Et?null:le,onKeyDown:Et?null:fe,onMouseMove:Et?null:ce,role:"radio","aria-checked":yn>fn?"true":"false","aria-posinset":fn+1,"aria-setsize":Kt,tabIndex:Et?-1:0},He.createElement("div",{className:"".concat(Ve,"-first")},Pe),He.createElement("div",{className:"".concat(Ve,"-second")},Pe)));return At&&(_e=At(_e,nt)),_e}var ht=He.forwardRef(lt);function Vt(){var nt=He.useRef({});function $t(Ve){return nt.current[Ve]}function Et(Ve){return function(tt){nt.current[Ve]=tt}}return[$t,Et]}function st(nt){var $t=nt.pageXOffset,Et="scrollLeft";if(typeof $t!="number"){var Ve=nt.document;$t=Ve.documentElement[Et],typeof $t!="number"&&($t=Ve.body[Et])}return $t}function vt(nt){var $t,Et,Ve=nt.ownerDocument,tt=Ve.body,At=Ve&&Ve.documentElement,fn=nt.getBoundingClientRect();return $t=fn.left,Et=fn.top,$t-=At.clientLeft||tt.clientLeft||0,Et-=At.clientTop||tt.clientTop||0,{left:$t,top:Et}}function Ke(nt){var $t=vt(nt),Et=nt.ownerDocument,Ve=Et.defaultView||Et.parentWindow;return $t.left+=st(Ve),$t.left}var pe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function $e(nt,$t){var Et,Ve=nt.prefixCls,tt=Ve===void 0?"rc-rate":Ve,At=nt.className,fn=nt.defaultValue,Kt=nt.value,yn=nt.count,kt=yn===void 0?5:yn,Bt=nt.allowHalf,xt=Bt===void 0?!1:Bt,ve=nt.allowClear,ce=ve===void 0?!0:ve,le=nt.character,fe=le===void 0?"\u2605":le,he=nt.characterRender,ue=nt.disabled,Pe=nt.direction,_e=Pe===void 0?"ltr":Pe,Dt=nt.tabIndex,Lt=Dt===void 0?0:Dt,Ht=nt.autoFocus,Qt=nt.onHoverChange,zt=nt.onChange,bn=nt.onFocus,In=nt.onBlur,Mt=nt.onKeyDown,tn=nt.onMouseLeave,Gn=(0,Te.Z)(nt,pe),ut=Vt(),We=(0,Be.Z)(ut,2),Ue=We[0],nn=We[1],gn=He.useRef(null),xn=function(){if(!ue){var Ne;(Ne=gn.current)===null||Ne===void 0||Ne.focus()}};He.useImperativeHandle($t,function(){return{focus:xn,blur:function(){if(!ue){var Ne;(Ne=gn.current)===null||Ne===void 0||Ne.blur()}}}});var Un=(0,dt.Z)(fn||0,{value:Kt}),Pn=(0,Be.Z)(Un,2),Vn=Pn[0],dr=Pn[1],gr=(0,dt.Z)(null),_n=(0,Be.Z)(gr,2),wr=_n[0],Jr=_n[1],pr=function(Ne,ct){var St=_e==="rtl",an=Ne+1;if(xt){var Gt=Ue(Ne),Zt=Ke(Gt),Dn=Gt.clientWidth;(St&&ct-Zt>Dn/2||!St&&ct-Zt<Dn/2)&&(an-=.5)}return an},pi=function(Ne){dr(Ne),zt==null||zt(Ne)},Rr=He.useState(!1),Qr=(0,Be.Z)(Rr,2),pn=Qr[0],Zn=Qr[1],rr=function(){Zn(!0),bn==null||bn()},ur=function(){Zn(!1),In==null||In()},nr=He.useState(null),fr=(0,Be.Z)(nr,2),sr=fr[0],Br=fr[1],ir=function(Ne,ct){var St=pr(ct,Ne.pageX);St!==wr&&(Br(St),Jr(null)),Qt==null||Qt(St)},Bn=function(Ne){ue||(Br(null),Jr(null),Qt==null||Qt(void 0)),Ne&&(tn==null||tn(Ne))},Cr=function(Ne,ct){var St=pr(ct,Ne.pageX),an=!1;ce&&(an=St===Vn),Bn(),pi(an?0:St),Jr(an?St:null)},wt=function(Ne){var ct=Ne.keyCode,St=_e==="rtl",an=Vn;ct===ot.Z.RIGHT&&an<kt&&!St?(xt?an+=.5:an+=1,pi(an),Ne.preventDefault()):ct===ot.Z.LEFT&&an>0&&!St||ct===ot.Z.RIGHT&&an>0&&St?(xt?an-=.5:an-=1,pi(an),Ne.preventDefault()):ct===ot.Z.LEFT&&an<kt&&St&&(xt?an+=.5:an+=1,pi(an),Ne.preventDefault()),Mt==null||Mt(Ne)};He.useEffect(function(){Ht&&!ue&&xn()},[]);var Fe=new Array(kt).fill(0).map(function(Re,Ne){return He.createElement(ht,{ref:nn(Ne),index:Ne,count:kt,disabled:ue,prefixCls:"".concat(tt,"-star"),allowHalf:xt,value:sr===null?Vn:sr,onClick:Cr,onHover:ir,key:Re||Ne,character:fe,characterRender:he,focused:pn})}),je=Ze()(tt,At,(Et={},(0,yt.Z)(Et,"".concat(tt,"-disabled"),ue),(0,yt.Z)(Et,"".concat(tt,"-rtl"),_e==="rtl"),Et));return He.createElement("ul",(0,ae.Z)({className:je,onMouseLeave:Bn,tabIndex:ue?-1:Lt,onFocus:ue?null:rr,onBlur:ue?null:ur,onKeyDown:ue?null:wt,ref:gn,role:"radiogroup"},(0,ft.Z)(Gn,{aria:!0,data:!0,attr:!0})),Fe)}var et=He.forwardRef($e),qe=et,Ye=se(36355),pt=se(6848),at=se(17313),Pt=se(83116),it=se(37613);const Nt=nt=>{const{componentCls:$t}=nt;return{[`${$t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:nt.marginXS},"> div":{transition:`all ${nt.motionDurationMid}, outline 0s`,"&:hover":{transform:nt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${nt.lineWidth}px dashed ${nt.starColor}`,transform:nt.starHoverScale}},"&-first, &-second":{color:nt.starBg,transition:`all ${nt.motionDurationMid}`,userSelect:"none",[nt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${$t}-star-first, &-half ${$t}-star-second`]:{opacity:1},[`&-half ${$t}-star-first, &-full ${$t}-star-second`]:{color:"inherit"}}}},rn=nt=>({[`&-rtl${nt.componentCls}`]:{direction:"rtl"}}),Ut=nt=>{const{componentCls:$t}=nt;return{[$t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,at.Wf)(nt)),{display:"inline-block",margin:0,padding:0,color:nt.starColor,fontSize:nt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${$t} ${$t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Nt(nt)),{[`+ ${$t}-text`]:{display:"inline-block",marginInlineStart:nt.marginXS,fontSize:nt.fontSize}}),rn(nt))}};var un=(0,Pt.Z)("Rate",nt=>{const $t=(0,it.TS)(nt,{});return[Ut($t)]},nt=>({starColor:nt.yellow6,starSize:nt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:nt.colorFillContent})),jt=function(nt,$t){var Et={};for(var Ve in nt)Object.prototype.hasOwnProperty.call(nt,Ve)&&$t.indexOf(Ve)<0&&(Et[Ve]=nt[Ve]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Ve=Object.getOwnPropertySymbols(nt);tt<Ve.length;tt++)$t.indexOf(Ve[tt])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ve[tt])&&(Et[Ve[tt]]=nt[Ve[tt]]);return Et},Ce=He.forwardRef((nt,$t)=>{const{prefixCls:Et,className:Ve,rootClassName:tt,style:At,tooltips:fn,character:Kt=He.createElement(xe,null)}=nt,yn=jt(nt,["prefixCls","className","rootClassName","style","tooltips","character"]),kt=(ue,Pe)=>{let{index:_e}=Pe;return fn?He.createElement(pt.Z,{title:fn[_e]},ue):ue},{getPrefixCls:Bt,direction:xt,rate:ve}=He.useContext(Ye.E_),ce=Bt("rate",Et),[le,fe]=un(ce),he=Object.assign(Object.assign({},ve==null?void 0:ve.style),At);return le(He.createElement(qe,Object.assign({ref:$t,character:Kt,characterRender:kt},yn,{className:Ze()(Ve,tt,fe,ve==null?void 0:ve.className),style:he,prefixCls:ce,direction:xt})))})},57809:function(Cn,mn,se){"use strict";var ae=se(92310),He=se.n(ae),ze=se(77861),rt=se(2738),Se=se(59301),ke=se(53487),Oe=se(62892),xe=se(19080),Ee=se(36355),Ze=se(1684),yt=se(93891),Be=se(19716),Te=se(32441),dt=se(33234),ot=se(14154),ft=se(58582),lt=se(84443),ht=se(66339),Vt=function($e,et){var qe={};for(var Ye in $e)Object.prototype.hasOwnProperty.call($e,Ye)&&et.indexOf(Ye)<0&&(qe[Ye]=$e[Ye]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,Ye=Object.getOwnPropertySymbols($e);pt<Ye.length;pt++)et.indexOf(Ye[pt])<0&&Object.prototype.propertyIsEnumerable.call($e,Ye[pt])&&(qe[Ye[pt]]=$e[Ye[pt]]);return qe};const st="SECRET_COMBOBOX_MODE_DO_NOT_USE",vt=($e,et)=>{var qe,{prefixCls:Ye,bordered:pt=!0,className:at,rootClassName:Pt,getPopupContainer:it,popupClassName:Nt,dropdownClassName:rn,listHeight:Ut=256,placement:un,listItemHeight:jt=24,size:Qe,disabled:Ce,notFoundContent:nt,status:$t,builtinPlacements:Et,dropdownMatchSelectWidth:Ve,popupMatchSelectWidth:tt,direction:At,style:fn,allowClear:Kt}=$e,yn=Vt($e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:kt,getPrefixCls:Bt,renderEmpty:xt,direction:ve,virtual:ce,popupMatchSelectWidth:le,popupOverflow:fe,select:he}=Se.useContext(Ee.E_),ue=Bt("select",Ye),Pe=Bt(),_e=At!=null?At:ve,{compactSize:Dt,compactItemClassnames:Lt}=(0,dt.ri)(ue,_e),[Ht,Qt]=(0,ot.Z)(ue),zt=Se.useMemo(()=>{const{mode:Qr}=yn;if(Qr!=="combobox")return Qr===st?"combobox":Qr},[yn.mode]),bn=zt==="multiple"||zt==="tags",In=(0,lt.Z)(yn.suffixIcon,yn.showArrow),Mt=(qe=tt!=null?tt:Ve)!==null&&qe!==void 0?qe:le,{status:tn,hasFeedback:Gn,isFormItemInput:ut,feedbackIcon:We}=Se.useContext(Te.aM),Ue=(0,xe.F)(tn,$t);let nn;nt!==void 0?nn=nt:zt==="combobox"?nn=null:nn=(xt==null?void 0:xt("Select"))||Se.createElement(yt.Z,{componentName:"Select"});const{suffixIcon:gn,itemIcon:xn,removeIcon:Un,clearIcon:Pn}=(0,ht.Z)(Object.assign(Object.assign({},yn),{multiple:bn,hasFeedback:Gn,feedbackIcon:We,showSuffixIcon:In,prefixCls:ue,showArrow:yn.showArrow,componentName:"Select"})),Vn=Kt===!0?{clearIcon:Pn}:Kt,dr=(0,rt.Z)(yn,["suffixIcon","itemIcon"]),gr=He()(Nt||rn,{[`${ue}-dropdown-${_e}`]:_e==="rtl"},Pt,Qt),_n=(0,Be.Z)(Qr=>{var pn;return(pn=Qe!=null?Qe:Dt)!==null&&pn!==void 0?pn:Qr}),wr=Se.useContext(Ze.Z),Jr=Ce!=null?Ce:wr,pr=He()({[`${ue}-lg`]:_n==="large",[`${ue}-sm`]:_n==="small",[`${ue}-rtl`]:_e==="rtl",[`${ue}-borderless`]:!pt,[`${ue}-in-form-item`]:ut},(0,xe.Z)(ue,Ue,Gn),Lt,he==null?void 0:he.className,at,Pt,Qt),pi=Se.useMemo(()=>un!==void 0?un:_e==="rtl"?"bottomRight":"bottomLeft",[un,_e]),Rr=(0,ft.Z)(Et,fe);return Ht(Se.createElement(ze.ZP,Object.assign({ref:et,virtual:ce,showSearch:he==null?void 0:he.showSearch},dr,{style:Object.assign(Object.assign({},he==null?void 0:he.style),fn),dropdownMatchSelectWidth:Mt,builtinPlacements:Rr,transitionName:(0,Oe.m)(Pe,"slide-up",yn.transitionName),listHeight:Ut,listItemHeight:jt,mode:zt,prefixCls:ue,placement:pi,direction:_e,suffixIcon:gn,menuItemSelectedIcon:xn,removeIcon:Un,allowClear:Vn,notFoundContent:nn,className:pr,getPopupContainer:it||kt,dropdownClassName:gr,disabled:Jr})))},Ke=Se.forwardRef(vt),pe=(0,ke.Z)(Ke);Ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=st,Ke.Option=ze.Wx,Ke.OptGroup=ze.Xo,Ke._InternalPanelDoNotUseOrYouWillBeFired=pe,mn.default=Ke},14154:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return Ke}});var ae=se(17313),He=se(74207),ze=se(37613),rt=se(83116),Se=se(13826),ke=se(92899);const Oe=pe=>{const{optionHeight:$e,optionFontSize:et,optionLineHeight:qe,optionPadding:Ye}=pe;return{position:"relative",display:"block",minHeight:$e,padding:Ye,color:pe.colorText,fontWeight:"normal",fontSize:et,lineHeight:qe,boxSizing:"border-box"}};var Ee=pe=>{const{antCls:$e,componentCls:et}=pe,qe=`${et}-item`,Ye=`&${$e}-slide-up-enter${$e}-slide-up-enter-active`,pt=`&${$e}-slide-up-appear${$e}-slide-up-appear-active`,at=`&${$e}-slide-up-leave${$e}-slide-up-leave-active`,Pt=`${et}-dropdown-placement-`;return[{[`${et}-dropdown`]:Object.assign(Object.assign({},(0,ae.Wf)(pe)),{position:"absolute",top:-9999,zIndex:pe.zIndexPopup,boxSizing:"border-box",padding:pe.paddingXXS,overflow:"hidden",fontSize:pe.fontSize,fontVariant:"initial",backgroundColor:pe.colorBgElevated,borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary,[`
|
|
|
${Ye}${Pt}bottomLeft,
|
|
|
${pt}${Pt}bottomLeft
|
|
|
`]:{animationName:Se.fJ},[`
|
|
|
${Ye}${Pt}topLeft,
|
|
|
${pt}${Pt}topLeft,
|
|
|
${Ye}${Pt}topRight,
|
|
|
${pt}${Pt}topRight
|
|
|
`]:{animationName:Se.Qt},[`${at}${Pt}bottomLeft`]:{animationName:Se.Uw},[`
|
|
|
${at}${Pt}topLeft,
|
|
|
${at}${Pt}topRight
|
|
|
`]:{animationName:Se.ly},"&-hidden":{display:"none"},[`${qe}`]:Object.assign(Object.assign({},Oe(pe)),{cursor:"pointer",transition:`background ${pe.motionDurationSlow} ease`,borderRadius:pe.borderRadiusSM,"&-group":{color:pe.colorTextDescription,fontSize:pe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ae.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${qe}-option-disabled)`]:{backgroundColor:pe.optionActiveBg},[`&-selected:not(${qe}-option-disabled)`]:{color:pe.optionSelectedColor,fontWeight:pe.optionSelectedFontWeight,backgroundColor:pe.optionSelectedBg,[`${qe}-option-state`]:{color:pe.colorPrimary}},"&-disabled":{[`&${qe}-option-selected`]:{backgroundColor:pe.colorBgContainerDisabled},color:pe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:pe.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Se.oN)(pe,"slide-up"),(0,Se.oN)(pe,"slide-down"),(0,ke.Fm)(pe,"move-up"),(0,ke.Fm)(pe,"move-down")]};const Ze=2,yt=pe=>{let{controlHeightSM:$e,controlHeight:et,lineWidth:qe}=pe;const Ye=(et-$e)/2-qe,pt=Math.ceil(Ye/2);return[Ye,pt]};function Be(pe,$e){const{componentCls:et,iconCls:qe}=pe,Ye=`${et}-selection-overflow`,pt=pe.multipleSelectItemHeight,[at]=yt(pe),Pt=$e?`${et}-${$e}`:"";return{[`${et}-multiple${Pt}`]:{fontSize:pe.fontSize,[Ye]:{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:`${at-Ze}px ${Ze*2}px`,borderRadius:pe.borderRadius,[`${et}-show-search&`]:{cursor:"text"},[`${et}-disabled&`]:{background:pe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Ze}px 0`,lineHeight:`${pt}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${et}-show-arrow ${et}-selector,
|
|
|
&${et}-allow-clear ${et}-selector
|
|
|
`]:{paddingInlineEnd:pe.fontSizeIcon+pe.controlPaddingHorizontal},[`${et}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:pt,marginTop:Ze,marginBottom:Ze,lineHeight:`${pt-pe.lineWidth*2}px`,background:pe.multipleItemBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.multipleItemBorderColor}`,borderRadius:pe.borderRadiusSM,cursor:"default",transition:`font-size ${pe.motionDurationSlow}, line-height ${pe.motionDurationSlow}, height ${pe.motionDurationSlow}`,userSelect:"none",marginInlineEnd:Ze*2,paddingInlineStart:pe.paddingXS,paddingInlineEnd:pe.paddingXS/2,[`${et}-disabled&`]:{color:pe.multipleItemColorDisabled,borderColor:pe.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:pe.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ae.Ro)()),{display:"inline-flex",alignItems:"center",color:pe.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${qe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:pe.colorIconHover}})},[`${Ye}-item + ${Ye}-item`]:{[`${et}-selection-search`]:{marginInlineStart:0}},[`${et}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:pe.inputPaddingHorizontalBase-at,"\n &-input,\n &-mirror\n ":{height:pt,fontFamily:pe.fontFamily,lineHeight:`${pt}px`,transition:`all ${pe.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:pe.inputPaddingHorizontalBase,insetInlineEnd:pe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${pe.motionDurationSlow}`}}}}var dt=pe=>{const{componentCls:$e}=pe,et=(0,ze.TS)(pe,{controlHeight:pe.controlHeightSM,multipleSelectItemHeight:pe.controlHeightXS,borderRadius:pe.borderRadiusSM,borderRadiusSM:pe.borderRadiusXS}),qe=(0,ze.TS)(pe,{fontSize:pe.fontSizeLG,controlHeight:pe.controlHeightLG,multipleSelectItemHeight:pe.multipleItemHeightLG,borderRadius:pe.borderRadiusLG,borderRadiusSM:pe.borderRadius}),[,Ye]=yt(pe);return[Be(pe),Be(et,"sm"),{[`${$e}-multiple${$e}-sm`]:{[`${$e}-selection-placeholder`]:{insetInline:pe.controlPaddingHorizontalSM-pe.lineWidth},[`${$e}-selection-search`]:{marginInlineStart:Ye}}},Be(qe,"lg")]};function ot(pe,$e){const{componentCls:et,inputPaddingHorizontalBase:qe,borderRadius:Ye}=pe,pt=pe.controlHeight-pe.lineWidth*2,at=Math.ceil(pe.fontSize*1.25),Pt=$e?`${et}-${$e}`:"";return{[`${et}-single${Pt}`]:{fontSize:pe.fontSize,[`${et}-selector`]:Object.assign(Object.assign({},(0,ae.Wf)(pe)),{display:"flex",borderRadius:Ye,[`${et}-selection-search`]:{position:"absolute",top:0,insetInlineStart:qe,insetInlineEnd:qe,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${et}-selection-item,
|
|
|
${et}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${pt}px`,transition:`all ${pe.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${pt}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:at},[`&${et}-open ${et}-selection-item`]:{color:pe.colorTextPlaceholder},[`&:not(${et}-customize-input)`]:{[`${et}-selector`]:{width:"100%",height:pe.controlHeight,padding:`0 ${qe}px`,[`${et}-selection-search-input`]:{height:pt},"&:after":{lineHeight:`${pt}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 ${qe}px`,"&:after":{display:"none"}}}}}}}function ft(pe){const{componentCls:$e}=pe,et=pe.controlPaddingHorizontalSM-pe.lineWidth;return[ot(pe),ot((0,ze.TS)(pe,{controlHeight:pe.controlHeightSM,borderRadius:pe.borderRadiusSM}),"sm"),{[`${$e}-single${$e}-sm`]:{[`&:not(${$e}-customize-input)`]:{[`${$e}-selection-search`]:{insetInlineStart:et,insetInlineEnd:et},[`${$e}-selector`]:{padding:`0 ${et}px`},[`&${$e}-show-arrow ${$e}-selection-search`]:{insetInlineEnd:et+pe.fontSize*1.5},[`
|
|
|
&${$e}-show-arrow ${$e}-selection-item,
|
|
|
&${$e}-show-arrow ${$e}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:pe.fontSize*1.5}}}},ot((0,ze.TS)(pe,{controlHeight:pe.singleItemHeightLG,fontSize:pe.fontSizeLG,borderRadius:pe.borderRadiusLG}),"lg")]}const lt=pe=>{const{componentCls:$e,selectorBg:et}=pe;return{position:"relative",backgroundColor:et,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,transition:`all ${pe.motionDurationMid} ${pe.motionEaseInOut}`,input:{cursor:"pointer"},[`${$e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${$e}-disabled&`]:{color:pe.colorTextDisabled,background:pe.colorBgContainerDisabled,cursor:"not-allowed",[`${$e}-multiple&`]:{background:pe.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},ht=function(pe,$e){let et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:qe,borderHoverColor:Ye,outlineColor:pt,antCls:at}=$e,Pt=et?{[`${qe}-selector`]:{borderColor:Ye}}:{};return{[pe]:{[`&:not(${qe}-disabled):not(${qe}-customize-input):not(${at}-pagination-size-changer)`]:Object.assign(Object.assign({},Pt),{[`${qe}-focused& ${qe}-selector`]:{borderColor:Ye,boxShadow:`0 0 0 ${$e.controlOutlineWidth}px ${pt}`,outline:0},[`&:hover ${qe}-selector`]:{borderColor:Ye}})}}},Vt=pe=>{const{componentCls:$e}=pe;return{[`${$e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},st=pe=>{const{componentCls:$e,inputPaddingHorizontalBase:et,iconCls:qe}=pe;return{[$e]:Object.assign(Object.assign({},(0,ae.Wf)(pe)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${$e}-customize-input) ${$e}-selector`]:Object.assign(Object.assign({},lt(pe)),Vt(pe)),[`${$e}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ae.vS),[`${$e}-selection-placeholder`]:Object.assign(Object.assign({},ae.vS),{flex:1,color:pe.colorTextPlaceholder,pointerEvents:"none"}),[`${$e}-arrow`]:Object.assign(Object.assign({},(0,ae.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:et,height:pe.fontSizeIcon,marginTop:-pe.fontSizeIcon/2,color:pe.colorTextQuaternary,fontSize:pe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[qe]:{verticalAlign:"top",transition:`transform ${pe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$e}-suffix)`]:{pointerEvents:"auto"}},[`${$e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:et,zIndex:1,display:"inline-block",width:pe.fontSizeIcon,height:pe.fontSizeIcon,marginTop:-pe.fontSizeIcon/2,color:pe.colorTextQuaternary,fontSize:pe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:pe.clearBg,cursor:"pointer",opacity:0,transition:`color ${pe.motionDurationMid} ease, opacity ${pe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:pe.colorTextTertiary}},"&:hover":{[`${$e}-clear`]:{opacity:1}}}),[`${$e}-has-feedback`]:{[`${$e}-clear`]:{insetInlineEnd:et+pe.fontSize+pe.paddingXS}}}},vt=pe=>{const{componentCls:$e}=pe;return[{[$e]:{[`&-borderless ${$e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${$e}-in-form-item`]:{width:"100%"}}},st(pe),ft(pe),dt(pe),Ee(pe),{[`${$e}-rtl`]:{direction:"rtl"}},ht($e,(0,ze.TS)(pe,{borderHoverColor:pe.colorPrimaryHover,outlineColor:pe.controlOutline})),ht(`${$e}-status-error`,(0,ze.TS)(pe,{borderHoverColor:pe.colorErrorHover,outlineColor:pe.colorErrorOutline}),!0),ht(`${$e}-status-warning`,(0,ze.TS)(pe,{borderHoverColor:pe.colorWarningHover,outlineColor:pe.colorWarningOutline}),!0),(0,He.c)(pe,{borderElCls:`${$e}-selector`,focusElCls:`${$e}-focused`})]};var Ke=(0,rt.Z)("Select",(pe,$e)=>{let{rootPrefixCls:et}=$e;const qe=(0,ze.TS)(pe,{rootPrefixCls:et,inputPaddingHorizontalBase:pe.paddingSM-1,multipleSelectItemHeight:pe.multipleItemHeight});return[vt(qe)]},pe=>{const{fontSize:$e,lineHeight:et,controlHeight:qe,controlPaddingHorizontal:Ye,zIndexPopupBase:pt,colorText:at,fontWeightStrong:Pt,controlItemBgActive:it,controlItemBgHover:Nt,colorBgContainer:rn,colorFillSecondary:Ut,controlHeightLG:un,controlHeightSM:jt,colorBgContainerDisabled:Qe,colorTextDisabled:Ce}=pe;return{zIndexPopup:pt+50,optionSelectedColor:at,optionSelectedFontWeight:Pt,optionSelectedBg:it,optionActiveBg:Nt,optionPadding:`${(qe-$e*et)/2}px ${Ye}px`,optionFontSize:$e,optionLineHeight:et,optionHeight:qe,selectorBg:rn,clearBg:rn,singleItemHeightLG:un,multipleItemBg:Ut,multipleItemBorderColor:"transparent",multipleItemHeight:jt,multipleItemHeightLG:qe,multipleSelectorBgDisabled:Qe,multipleItemColorDisabled:Ce,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return He}});const ae=ze=>{const Se={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ze==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Se),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Se),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Se),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Se),{points:["br","tr"],offset:[0,-4]})}};function He(ze,rt){return ze||ae(rt)}},84443:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return ae}});function ae(He,ze){return ze!==void 0?ze:He!==null}},66339:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});var ae=se(40001),He=se(19248),ze=se(99267),rt=se(84105),Se=se(58617),ke=se(47472),Oe=se(59301);function xe(Ee){let{suffixIcon:Ze,clearIcon:yt,menuItemSelectedIcon:Be,removeIcon:Te,loading:dt,multiple:ot,hasFeedback:ft,prefixCls:lt,showSuffixIcon:ht,feedbackIcon:Vt,showArrow:st,componentName:vt}=Ee;const Ke=yt!=null?yt:Oe.createElement(He.Z,null),pe=Ye=>Ze===null&&!ft&&!st?null:Oe.createElement(Oe.Fragment,null,ht!==!1&&Ye,ft&&Vt);let $e=null;if(Ze!==void 0)$e=pe(Ze);else if(dt)$e=pe(Oe.createElement(Se.Z,{spin:!0}));else{const Ye=`${lt}-suffix`;$e=pt=>{let{open:at,showSearch:Pt}=pt;return pe(at&&Pt?Oe.createElement(ke.Z,{className:Ye}):Oe.createElement(rt.Z,{className:Ye}))}}let et=null;Be!==void 0?et=Be:ot?et=Oe.createElement(ae.Z,null):et=null;let qe=null;return Te!==void 0?qe=Te:qe=Oe.createElement(ze.Z,null),{clearIcon:Ke,suffixIcon:$e,itemIcon:et,removeIcon:qe}}},61621:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return fe}});var ae=se(92310),He=se.n(ae),ze=se(59301),rt=se(36355),Se=se(2738),Oe=he=>{const{prefixCls:ue,className:Pe,style:_e,size:Dt,shape:Lt}=he,Ht=He()({[`${ue}-lg`]:Dt==="large",[`${ue}-sm`]:Dt==="small"}),Qt=He()({[`${ue}-circle`]:Lt==="circle",[`${ue}-square`]:Lt==="square",[`${ue}-round`]:Lt==="round"}),zt=ze.useMemo(()=>typeof Dt=="number"?{width:Dt,height:Dt,lineHeight:`${Dt}px`}:{},[Dt]);return ze.createElement("span",{className:He()(ue,Ht,Qt,Pe),style:Object.assign(Object.assign({},zt),_e)})},xe=se(36237),Ee=se(83116),Ze=se(37613);const yt=new xe.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Be=he=>({height:he,lineHeight:`${he}px`}),Te=he=>Object.assign({width:he},Be(he)),dt=he=>({background:he.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:yt,animationDuration:he.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),ot=he=>Object.assign({width:he*5,minWidth:he*5},Be(he)),ft=he=>{const{skeletonAvatarCls:ue,gradientFromColor:Pe,controlHeight:_e,controlHeightLG:Dt,controlHeightSM:Lt}=he;return{[`${ue}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pe},Te(_e)),[`${ue}${ue}-circle`]:{borderRadius:"50%"},[`${ue}${ue}-lg`]:Object.assign({},Te(Dt)),[`${ue}${ue}-sm`]:Object.assign({},Te(Lt))}},lt=he=>{const{controlHeight:ue,borderRadiusSM:Pe,skeletonInputCls:_e,controlHeightLG:Dt,controlHeightSM:Lt,gradientFromColor:Ht}=he;return{[`${_e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ht,borderRadius:Pe},ot(ue)),[`${_e}-lg`]:Object.assign({},ot(Dt)),[`${_e}-sm`]:Object.assign({},ot(Lt))}},ht=he=>Object.assign({width:he},Be(he)),Vt=he=>{const{skeletonImageCls:ue,imageSizeBase:Pe,gradientFromColor:_e,borderRadiusSM:Dt}=he;return{[`${ue}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:_e,borderRadius:Dt},ht(Pe*2)),{[`${ue}-path`]:{fill:"#bfbfbf"},[`${ue}-svg`]:Object.assign(Object.assign({},ht(Pe)),{maxWidth:Pe*4,maxHeight:Pe*4}),[`${ue}-svg${ue}-svg-circle`]:{borderRadius:"50%"}}),[`${ue}${ue}-circle`]:{borderRadius:"50%"}}},st=(he,ue,Pe)=>{const{skeletonButtonCls:_e}=he;return{[`${Pe}${_e}-circle`]:{width:ue,minWidth:ue,borderRadius:"50%"},[`${Pe}${_e}-round`]:{borderRadius:ue}}},vt=he=>Object.assign({width:he*2,minWidth:he*2},Be(he)),Ke=he=>{const{borderRadiusSM:ue,skeletonButtonCls:Pe,controlHeight:_e,controlHeightLG:Dt,controlHeightSM:Lt,gradientFromColor:Ht}=he;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Pe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ht,borderRadius:ue,width:_e*2,minWidth:_e*2},vt(_e))},st(he,_e,Pe)),{[`${Pe}-lg`]:Object.assign({},vt(Dt))}),st(he,Dt,`${Pe}-lg`)),{[`${Pe}-sm`]:Object.assign({},vt(Lt))}),st(he,Lt,`${Pe}-sm`))},pe=he=>{const{componentCls:ue,skeletonAvatarCls:Pe,skeletonTitleCls:_e,skeletonParagraphCls:Dt,skeletonButtonCls:Lt,skeletonInputCls:Ht,skeletonImageCls:Qt,controlHeight:zt,controlHeightLG:bn,controlHeightSM:In,gradientFromColor:Mt,padding:tn,marginSM:Gn,borderRadius:ut,titleHeight:We,blockRadius:Ue,paragraphLiHeight:nn,controlHeightXS:gn,paragraphMarginTop:xn}=he;return{[`${ue}`]:{display:"table",width:"100%",[`${ue}-header`]:{display:"table-cell",paddingInlineEnd:tn,verticalAlign:"top",[`${Pe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Mt},Te(zt)),[`${Pe}-circle`]:{borderRadius:"50%"},[`${Pe}-lg`]:Object.assign({},Te(bn)),[`${Pe}-sm`]:Object.assign({},Te(In))},[`${ue}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${_e}`]:{width:"100%",height:We,background:Mt,borderRadius:Ue,[`+ ${Dt}`]:{marginBlockStart:In}},[`${Dt}`]:{padding:0,"> li":{width:"100%",height:nn,listStyle:"none",background:Mt,borderRadius:Ue,"+ li":{marginBlockStart:gn}}},[`${Dt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ue}-content`]:{[`${_e}, ${Dt} > li`]:{borderRadius:ut}}},[`${ue}-with-avatar ${ue}-content`]:{[`${_e}`]:{marginBlockStart:Gn,[`+ ${Dt}`]:{marginBlockStart:xn}}},[`${ue}${ue}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Ke(he)),ft(he)),lt(he)),Vt(he)),[`${ue}${ue}-block`]:{width:"100%",[`${Lt}`]:{width:"100%"},[`${Ht}`]:{width:"100%"}},[`${ue}${ue}-active`]:{[`
|
|
|
${_e},
|
|
|
${Dt} > li,
|
|
|
${Pe},
|
|
|
${Lt},
|
|
|
${Ht},
|
|
|
${Qt}
|
|
|
`]:Object.assign({},dt(he))}}};var $e=(0,Ee.Z)("Skeleton",he=>{const{componentCls:ue}=he,Pe=(0,Ze.TS)(he,{skeletonAvatarCls:`${ue}-avatar`,skeletonTitleCls:`${ue}-title`,skeletonParagraphCls:`${ue}-paragraph`,skeletonButtonCls:`${ue}-button`,skeletonInputCls:`${ue}-input`,skeletonImageCls:`${ue}-image`,imageSizeBase:he.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${he.gradientFromColor} 25%, ${he.gradientToColor} 37%, ${he.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[pe(Pe)]},he=>{const{colorFillContent:ue,colorFill:Pe}=he,_e=ue,Dt=Pe;return{color:_e,colorGradientEnd:Dt,gradientFromColor:_e,gradientToColor:Dt,titleHeight:he.controlHeight/2,blockRadius:he.borderRadiusSM,paragraphMarginTop:he.marginLG+he.marginXXS,paragraphLiHeight:he.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),qe=he=>{const{prefixCls:ue,className:Pe,rootClassName:_e,active:Dt,shape:Lt="circle",size:Ht="default"}=he,{getPrefixCls:Qt}=ze.useContext(rt.E_),zt=Qt("skeleton",ue),[bn,In]=$e(zt),Mt=(0,Se.Z)(he,["prefixCls","className"]),tn=He()(zt,`${zt}-element`,{[`${zt}-active`]:Dt},Pe,_e,In);return bn(ze.createElement("div",{className:tn},ze.createElement(Oe,Object.assign({prefixCls:`${zt}-avatar`,shape:Lt,size:Ht},Mt))))},pt=he=>{const{prefixCls:ue,className:Pe,rootClassName:_e,active:Dt,block:Lt=!1,size:Ht="default"}=he,{getPrefixCls:Qt}=ze.useContext(rt.E_),zt=Qt("skeleton",ue),[bn,In]=$e(zt),Mt=(0,Se.Z)(he,["prefixCls"]),tn=He()(zt,`${zt}-element`,{[`${zt}-active`]:Dt,[`${zt}-block`]:Lt},Pe,_e,In);return bn(ze.createElement("div",{className:tn},ze.createElement(Oe,Object.assign({prefixCls:`${zt}-button`,size:Ht},Mt))))};const at="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 it=he=>{const{prefixCls:ue,className:Pe,rootClassName:_e,style:Dt,active:Lt}=he,{getPrefixCls:Ht}=ze.useContext(rt.E_),Qt=Ht("skeleton",ue),[zt,bn]=$e(Qt),In=He()(Qt,`${Qt}-element`,{[`${Qt}-active`]:Lt},Pe,_e,bn);return zt(ze.createElement("div",{className:In},ze.createElement("div",{className:He()(`${Qt}-image`,Pe),style:Dt},ze.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Qt}-image-svg`},ze.createElement("path",{d:at,className:`${Qt}-image-path`})))))},rn=he=>{const{prefixCls:ue,className:Pe,rootClassName:_e,active:Dt,block:Lt,size:Ht="default"}=he,{getPrefixCls:Qt}=ze.useContext(rt.E_),zt=Qt("skeleton",ue),[bn,In]=$e(zt),Mt=(0,Se.Z)(he,["prefixCls"]),tn=He()(zt,`${zt}-element`,{[`${zt}-active`]:Dt,[`${zt}-block`]:Lt},Pe,_e,In);return bn(ze.createElement("div",{className:tn},ze.createElement(Oe,Object.assign({prefixCls:`${zt}-input`,size:Ht},Mt))))},Ut=se(54476),un={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"},jt=un,Qe=se(7657),Ce=function(ue,Pe){return ze.createElement(Qe.Z,(0,Ut.Z)({},ue,{ref:Pe,icon:jt}))},nt=ze.forwardRef(Ce),$t=nt,Ve=he=>{const{prefixCls:ue,className:Pe,rootClassName:_e,style:Dt,active:Lt,children:Ht}=he,{getPrefixCls:Qt}=ze.useContext(rt.E_),zt=Qt("skeleton",ue),[bn,In]=$e(zt),Mt=He()(zt,`${zt}-element`,{[`${zt}-active`]:Lt},In,Pe,_e),tn=Ht!=null?Ht:ze.createElement($t,null);return bn(ze.createElement("div",{className:Mt},ze.createElement("div",{className:He()(`${zt}-image`,Pe),style:Dt},tn)))},tt=se(94480),fn=he=>{const ue=Qt=>{const{width:zt,rows:bn=2}=he;if(Array.isArray(zt))return zt[Qt];if(bn-1===Qt)return zt},{prefixCls:Pe,className:_e,style:Dt,rows:Lt}=he,Ht=(0,tt.Z)(Array(Lt)).map((Qt,zt)=>ze.createElement("li",{key:zt,style:{width:ue(zt)}}));return ze.createElement("ul",{className:He()(Pe,_e),style:Dt},Ht)},yn=he=>{let{prefixCls:ue,className:Pe,width:_e,style:Dt}=he;return ze.createElement("h3",{className:He()(ue,Pe),style:Object.assign({width:_e},Dt)})};function kt(he){return he&&typeof he=="object"?he:{}}function Bt(he,ue){return he&&!ue?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function xt(he,ue){return!he&&ue?{width:"38%"}:he&&ue?{width:"50%"}:{}}function ve(he,ue){const Pe={};return(!he||!ue)&&(Pe.width="61%"),!he&&ue?Pe.rows=3:Pe.rows=2,Pe}const ce=he=>{const{prefixCls:ue,loading:Pe,className:_e,rootClassName:Dt,style:Lt,children:Ht,avatar:Qt=!1,title:zt=!0,paragraph:bn=!0,active:In,round:Mt}=he,{getPrefixCls:tn,direction:Gn,skeleton:ut}=ze.useContext(rt.E_),We=tn("skeleton",ue),[Ue,nn]=$e(We);if(Pe||!("loading"in he)){const gn=!!Qt,xn=!!zt,Un=!!bn;let Pn;if(gn){const gr=Object.assign(Object.assign({prefixCls:`${We}-avatar`},Bt(xn,Un)),kt(Qt));Pn=ze.createElement("div",{className:`${We}-header`},ze.createElement(Oe,Object.assign({},gr)))}let Vn;if(xn||Un){let gr;if(xn){const wr=Object.assign(Object.assign({prefixCls:`${We}-title`},xt(gn,Un)),kt(zt));gr=ze.createElement(yn,Object.assign({},wr))}let _n;if(Un){const wr=Object.assign(Object.assign({prefixCls:`${We}-paragraph`},ve(gn,xn)),kt(bn));_n=ze.createElement(fn,Object.assign({},wr))}Vn=ze.createElement("div",{className:`${We}-content`},gr,_n)}const dr=He()(We,{[`${We}-with-avatar`]:gn,[`${We}-active`]:In,[`${We}-rtl`]:Gn==="rtl",[`${We}-round`]:Mt},ut==null?void 0:ut.className,_e,Dt,nn);return Ue(ze.createElement("div",{className:dr,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),Lt)},Pn,Vn))}return typeof Ht!="undefined"?Ht:null};ce.Button=pt,ce.Avatar=qe,ce.Input=rn,ce.Image=it,ce.Node=Ve;var le=ce,fe=le},31797:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return $e}});var ae=se(59301),He=se(56762),ze=se(92343),rt=se(92310),Se=se.n(rt),ke=se(36355),Oe=se(61621),Ee=et=>{const{value:qe,formatter:Ye,precision:pt,decimalSeparator:at,groupSeparator:Pt="",prefixCls:it}=et;let Nt;if(typeof Ye=="function")Nt=Ye(qe);else{const rn=String(qe),Ut=rn.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Ut||rn==="-")Nt=rn;else{const un=Ut[1];let jt=Ut[2]||"0",Qe=Ut[4]||"";jt=jt.replace(/\B(?=(\d{3})+(?!\d))/g,Pt),typeof pt=="number"&&(Qe=Qe.padEnd(pt,"0").slice(0,pt>0?pt:0)),Qe&&(Qe=`${at}${Qe}`),Nt=[ae.createElement("span",{key:"int",className:`${it}-content-value-int`},un,jt),Qe&&ae.createElement("span",{key:"decimal",className:`${it}-content-value-decimal`},Qe)]}}return ae.createElement("span",{className:`${it}-content-value`},Nt)},Ze=se(17313),yt=se(83116),Be=se(37613);const Te=et=>{const{componentCls:qe,marginXXS:Ye,padding:pt,colorTextDescription:at,titleFontSize:Pt,colorTextHeading:it,contentFontSize:Nt,fontFamily:rn}=et;return{[`${qe}`]:Object.assign(Object.assign({},(0,Ze.Wf)(et)),{[`${qe}-title`]:{marginBottom:Ye,color:at,fontSize:Pt},[`${qe}-skeleton`]:{paddingTop:pt},[`${qe}-content`]:{color:it,fontSize:Nt,fontFamily:rn,[`${qe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${qe}-content-prefix, ${qe}-content-suffix`]:{display:"inline-block"},[`${qe}-content-prefix`]:{marginInlineEnd:Ye},[`${qe}-content-suffix`]:{marginInlineStart:Ye}}})}};var dt=(0,yt.Z)("Statistic",et=>{const qe=(0,Be.TS)(et,{});return[Te(qe)]},et=>{const{fontSizeHeading3:qe,fontSize:Ye}=et;return{titleFontSize:Ye,contentFontSize:qe}}),ft=et=>{const{prefixCls:qe,className:Ye,rootClassName:pt,style:at,valueStyle:Pt,value:it=0,title:Nt,valueRender:rn,prefix:Ut,suffix:un,loading:jt=!1,onMouseEnter:Qe,onMouseLeave:Ce,decimalSeparator:nt=".",groupSeparator:$t=","}=et,{getPrefixCls:Et,direction:Ve,statistic:tt}=ae.useContext(ke.E_),At=Et("statistic",qe),[fn,Kt]=dt(At),yn=ae.createElement(Ee,Object.assign({decimalSeparator:nt,groupSeparator:$t,prefixCls:At},et,{value:it})),kt=Se()(At,{[`${At}-rtl`]:Ve==="rtl"},tt==null?void 0:tt.className,Ye,pt,Kt);return fn(ae.createElement("div",{className:kt,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),at),onMouseEnter:Qe,onMouseLeave:Ce},Nt&&ae.createElement("div",{className:`${At}-title`},Nt),ae.createElement(Oe.Z,{paragraph:!1,loading:jt,className:`${At}-skeleton`},ae.createElement("div",{style:Pt,className:`${At}-content`},Ut&&ae.createElement("span",{className:`${At}-content-prefix`},Ut),rn?rn(yn):yn,un&&ae.createElement("span",{className:`${At}-content-suffix`},un)))))};const lt=[["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 ht(et,qe){let Ye=et;const pt=/\[[^\]]*]/g,at=(qe.match(pt)||[]).map(rn=>rn.slice(1,-1)),Pt=qe.replace(pt,"[]"),it=lt.reduce((rn,Ut)=>{let[un,jt]=Ut;if(rn.includes(un)){const Qe=Math.floor(Ye/jt);return Ye-=Qe*jt,rn.replace(new RegExp(`${un}+`,"g"),Ce=>{const nt=Ce.length;return Qe.toString().padStart(nt,"0")})}return rn},Pt);let Nt=0;return it.replace(pt,()=>{const rn=at[Nt];return Nt+=1,rn})}function Vt(et,qe){const{format:Ye=""}=qe,pt=new Date(et).getTime(),at=Date.now(),Pt=Math.max(pt-at,0);return ht(Pt,Ye)}const st=1e3/30;function vt(et){return new Date(et).getTime()}const Ke=et=>{const{value:qe,format:Ye="HH:mm:ss",onChange:pt,onFinish:at}=et,Pt=(0,He.Z)(),it=ae.useRef(null),Nt=()=>{at==null||at(),it.current&&(clearInterval(it.current),it.current=null)},rn=()=>{const jt=vt(qe);jt>=Date.now()&&(it.current=setInterval(()=>{Pt(),pt==null||pt(jt-Date.now()),jt<Date.now()&&Nt()},st))};ae.useEffect(()=>(rn(),()=>{it.current&&(clearInterval(it.current),it.current=null)}),[qe]);const Ut=(jt,Qe)=>Vt(jt,Object.assign(Object.assign({},Qe),{format:Ye})),un=jt=>(0,ze.Tm)(jt,{title:void 0});return ae.createElement(ft,Object.assign({},et,{valueRender:un,formatter:Ut}))};var pe=ae.memo(Ke);ft.Countdown=pe;var $e=ft},8378:function(Cn,mn){"use strict";const se=ae=>({[ae.componentCls]:{[`${ae.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ae.motionDurationMid} ${ae.motionEaseInOut},
|
|
|
opacity ${ae.motionDurationMid} ${ae.motionEaseInOut} !important`}},[`${ae.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ae.motionDurationMid} ${ae.motionEaseInOut},
|
|
|
opacity ${ae.motionDurationMid} ${ae.motionEaseInOut} !important`}}});mn.Z=se},92899:function(Cn,mn,se){"use strict";se.d(mn,{Fm:function(){return Be}});var ae=se(36237),He=se(95406);const ze=new ae.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),rt=new ae.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Se=new ae.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ke=new ae.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Oe=new ae.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xe=new ae.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Ee=new ae.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ze=new ae.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),yt={"move-up":{inKeyframes:Ee,outKeyframes:Ze},"move-down":{inKeyframes:ze,outKeyframes:rt},"move-left":{inKeyframes:Se,outKeyframes:ke},"move-right":{inKeyframes:Oe,outKeyframes:xe}},Be=(Te,dt)=>{const{antCls:ot}=Te,ft=`${ot}-${dt}`,{inKeyframes:lt,outKeyframes:ht}=yt[dt];return[(0,He.R)(ft,lt,ht,Te.motionDurationMid),{[`
|
|
|
${ft}-enter,
|
|
|
${ft}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:Te.motionEaseOutCirc},[`${ft}-leave`]:{animationTimingFunction:Te.motionEaseInOutCirc}}]}},13826:function(Cn,mn,se){"use strict";se.d(mn,{Qt:function(){return Se},Uw:function(){return rt},fJ:function(){return ze},ly:function(){return ke},oN:function(){return Be}});var ae=se(36237),He=se(95406);const ze=new ae.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),rt=new ae.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Se=new ae.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ke=new ae.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Oe=new ae.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),xe=new ae.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ee=new ae.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Ze=new ae.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),yt={"slide-up":{inKeyframes:ze,outKeyframes:rt},"slide-down":{inKeyframes:Se,outKeyframes:ke},"slide-left":{inKeyframes:Oe,outKeyframes:xe},"slide-right":{inKeyframes:Ee,outKeyframes:Ze}},Be=(Te,dt)=>{const{antCls:ot}=Te,ft=`${ot}-${dt}`,{inKeyframes:lt,outKeyframes:ht}=yt[dt];return[(0,He.R)(ft,lt,ht,Te.motionDurationMid),{[`
|
|
|
${ft}-enter,
|
|
|
${ft}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:Te.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ft}-leave`]:{animationTimingFunction:Te.motionEaseInQuint}}]}},78673:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return Pt}});var ae=se(58617),He=se(92310),ze=se.n(He),rt=se(54476),Se=se(20068),ke=se(42978),Oe=se(75931),xe=se(59301),Ee=se(18929),Ze=se(10228),yt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Be=xe.forwardRef(function(it,Nt){var rn,Ut=it.prefixCls,un=Ut===void 0?"rc-switch":Ut,jt=it.className,Qe=it.checked,Ce=it.defaultChecked,nt=it.disabled,$t=it.loadingIcon,Et=it.checkedChildren,Ve=it.unCheckedChildren,tt=it.onClick,At=it.onChange,fn=it.onKeyDown,Kt=(0,Oe.Z)(it,yt),yn=(0,Ee.Z)(!1,{value:Qe,defaultValue:Ce}),kt=(0,ke.Z)(yn,2),Bt=kt[0],xt=kt[1];function ve(he,ue){var Pe=Bt;return nt||(Pe=he,xt(Pe),At==null||At(Pe,ue)),Pe}function ce(he){he.which===Ze.Z.LEFT?ve(!1,he):he.which===Ze.Z.RIGHT&&ve(!0,he),fn==null||fn(he)}function le(he){var ue=ve(!Bt,he);tt==null||tt(ue,he)}var fe=ze()(un,jt,(rn={},(0,Se.Z)(rn,"".concat(un,"-checked"),Bt),(0,Se.Z)(rn,"".concat(un,"-disabled"),nt),rn));return xe.createElement("button",(0,rt.Z)({},Kt,{type:"button",role:"switch","aria-checked":Bt,disabled:nt,className:fe,ref:Nt,onKeyDown:ce,onClick:le}),$t,xe.createElement("span",{className:"".concat(un,"-inner")},xe.createElement("span",{className:"".concat(un,"-inner-checked")},Et),xe.createElement("span",{className:"".concat(un,"-inner-unchecked")},Ve)))});Be.displayName="Switch";var Te=Be,dt=se(14088),ot=se(36355),ft=se(1684),lt=se(19716),ht=se(64993),Vt=se(17313),st=se(83116),vt=se(37613);const Ke=it=>{const{componentCls:Nt,trackHeightSM:rn,trackPadding:Ut,trackMinWidthSM:un,innerMinMarginSM:jt,innerMaxMarginSM:Qe,handleSizeSM:Ce}=it,nt=`${Nt}-inner`;return{[Nt]:{[`&${Nt}-small`]:{minWidth:un,height:rn,lineHeight:`${rn}px`,[`${Nt}-inner`]:{paddingInlineStart:Qe,paddingInlineEnd:jt,[`${nt}-checked`]:{marginInlineStart:`calc(-100% + ${Ce+Ut*2}px - ${Qe*2}px)`,marginInlineEnd:`calc(100% - ${Ce+Ut*2}px + ${Qe*2}px)`},[`${nt}-unchecked`]:{marginTop:-rn,marginInlineStart:0,marginInlineEnd:0}},[`${Nt}-handle`]:{width:Ce,height:Ce},[`${Nt}-loading-icon`]:{top:(Ce-it.switchLoadingIconSize)/2,fontSize:it.switchLoadingIconSize},[`&${Nt}-checked`]:{[`${Nt}-inner`]:{paddingInlineStart:jt,paddingInlineEnd:Qe,[`${nt}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${nt}-unchecked`]:{marginInlineStart:`calc(100% - ${Ce+Ut*2}px + ${Qe*2}px)`,marginInlineEnd:`calc(-100% + ${Ce+Ut*2}px - ${Qe*2}px)`}},[`${Nt}-handle`]:{insetInlineStart:`calc(100% - ${Ce+Ut}px)`}},[`&:not(${Nt}-disabled):active`]:{[`&:not(${Nt}-checked) ${nt}`]:{[`${nt}-unchecked`]:{marginInlineStart:it.marginXXS/2,marginInlineEnd:-it.marginXXS/2}},[`&${Nt}-checked ${nt}`]:{[`${nt}-checked`]:{marginInlineStart:-it.marginXXS/2,marginInlineEnd:it.marginXXS/2}}}}}}},pe=it=>{const{componentCls:Nt,handleSize:rn}=it;return{[Nt]:{[`${Nt}-loading-icon${it.iconCls}`]:{position:"relative",top:(rn-it.fontSize)/2,color:it.switchLoadingIconColor,verticalAlign:"top"},[`&${Nt}-checked ${Nt}-loading-icon`]:{color:it.switchColor}}}},$e=it=>{const{componentCls:Nt,motion:rn,trackPadding:Ut,handleBg:un,handleShadow:jt,handleSize:Qe}=it,Ce=`${Nt}-handle`;return{[Nt]:{[Ce]:{position:"absolute",top:Ut,insetInlineStart:Ut,width:Qe,height:Qe,transition:`all ${it.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:un,borderRadius:Qe/2,boxShadow:jt,transition:`all ${it.switchDuration} ease-in-out`,content:'""'}},[`&${Nt}-checked ${Ce}`]:{insetInlineStart:`calc(100% - ${Qe+Ut}px)`},[`&:not(${Nt}-disabled):active`]:rn?{[`${Ce}::before`]:{insetInlineEnd:it.switchHandleActiveInset,insetInlineStart:0},[`&${Nt}-checked ${Ce}::before`]:{insetInlineEnd:0,insetInlineStart:it.switchHandleActiveInset}}:{}}}},et=it=>{const{componentCls:Nt,trackHeight:rn,trackPadding:Ut,innerMinMargin:un,innerMaxMargin:jt,handleSize:Qe}=it,Ce=`${Nt}-inner`;return{[Nt]:{[Ce]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:jt,paddingInlineEnd:un,transition:`padding-inline-start ${it.switchDuration} ease-in-out, padding-inline-end ${it.switchDuration} ease-in-out`,[`${Ce}-checked, ${Ce}-unchecked`]:{display:"block",color:it.colorTextLightSolid,fontSize:it.fontSizeSM,transition:`margin-inline-start ${it.switchDuration} ease-in-out, margin-inline-end ${it.switchDuration} ease-in-out`,pointerEvents:"none"},[`${Ce}-checked`]:{marginInlineStart:`calc(-100% + ${Qe+Ut*2}px - ${jt*2}px)`,marginInlineEnd:`calc(100% - ${Qe+Ut*2}px + ${jt*2}px)`},[`${Ce}-unchecked`]:{marginTop:-rn,marginInlineStart:0,marginInlineEnd:0}},[`&${Nt}-checked ${Ce}`]:{paddingInlineStart:un,paddingInlineEnd:jt,[`${Ce}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ce}-unchecked`]:{marginInlineStart:`calc(100% - ${Qe+Ut*2}px + ${jt*2}px)`,marginInlineEnd:`calc(-100% + ${Qe+Ut*2}px - ${jt*2}px)`}},[`&:not(${Nt}-disabled):active`]:{[`&:not(${Nt}-checked) ${Ce}`]:{[`${Ce}-unchecked`]:{marginInlineStart:Ut*2,marginInlineEnd:-Ut*2}},[`&${Nt}-checked ${Ce}`]:{[`${Ce}-checked`]:{marginInlineStart:-Ut*2,marginInlineEnd:Ut*2}}}}}},qe=it=>{const{componentCls:Nt,trackHeight:rn,trackMinWidth:Ut}=it;return{[Nt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Vt.Wf)(it)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ut,height:rn,lineHeight:`${rn}px`,verticalAlign:"middle",background:it.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${it.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Nt}-disabled)`]:{background:it.colorTextTertiary}}),(0,Vt.Qy)(it)),{[`&${Nt}-checked`]:{background:it.switchColor,[`&:hover:not(${Nt}-disabled)`]:{background:it.colorPrimaryHover}},[`&${Nt}-loading, &${Nt}-disabled`]:{cursor:"not-allowed",opacity:it.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Nt}-rtl`]:{direction:"rtl"}})}};var Ye=(0,st.Z)("Switch",it=>{const Nt=(0,vt.TS)(it,{switchDuration:it.motionDurationMid,switchColor:it.colorPrimary,switchDisabledOpacity:it.opacityLoading,switchLoadingIconSize:it.fontSizeIcon*.75,switchLoadingIconColor:`rgba(0, 0, 0, ${it.opacityLoading})`,switchHandleActiveInset:"-30%"});return[qe(Nt),et(Nt),$e(Nt),pe(Nt),Ke(Nt)]},it=>{const{fontSize:Nt,lineHeight:rn,controlHeight:Ut,colorWhite:un}=it,jt=Nt*rn,Qe=Ut/2,Ce=2,nt=jt-Ce*2,$t=Qe-Ce*2;return{trackHeight:jt,trackHeightSM:Qe,trackMinWidth:nt*2+Ce*4,trackMinWidthSM:$t*2+Ce*2,trackPadding:Ce,handleBg:un,handleSize:nt,handleSizeSM:$t,handleShadow:`0 2px 4px 0 ${new ht.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:nt/2,innerMaxMargin:nt+Ce+Ce*2,innerMinMarginSM:$t/2,innerMaxMarginSM:$t+Ce+Ce*2}}),pt=function(it,Nt){var rn={};for(var Ut in it)Object.prototype.hasOwnProperty.call(it,Ut)&&Nt.indexOf(Ut)<0&&(rn[Ut]=it[Ut]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,Ut=Object.getOwnPropertySymbols(it);un<Ut.length;un++)Nt.indexOf(Ut[un])<0&&Object.prototype.propertyIsEnumerable.call(it,Ut[un])&&(rn[Ut[un]]=it[Ut[un]]);return rn};const at=xe.forwardRef((it,Nt)=>{const{prefixCls:rn,size:Ut,disabled:un,loading:jt,className:Qe,rootClassName:Ce,style:nt}=it,$t=pt(it,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:Et,direction:Ve,switch:tt}=xe.useContext(ot.E_),At=xe.useContext(ft.Z),fn=(un!=null?un:At)||jt,Kt=Et("switch",rn),yn=xe.createElement("div",{className:`${Kt}-handle`},jt&&xe.createElement(ae.Z,{className:`${Kt}-loading-icon`})),[kt,Bt]=Ye(Kt),xt=(0,lt.Z)(Ut),ve=ze()(tt==null?void 0:tt.className,{[`${Kt}-small`]:xt==="small",[`${Kt}-loading`]:jt,[`${Kt}-rtl`]:Ve==="rtl"},Qe,Ce,Bt),ce=Object.assign(Object.assign({},tt==null?void 0:tt.style),nt);return kt(xe.createElement(dt.Z,{component:"Switch"},xe.createElement(Te,Object.assign({},$t,{prefixCls:Kt,className:ve,style:ce,disabled:fn,ref:Nt,loadingIcon:yn}))))});at.__ANT_SWITCH=!0;var Pt=at},99313:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return wt}});var ae=se(99267),He=se(18785),ze=se(62772),rt=se(92310),Se=se.n(rt),ke=se(54476),Oe=se(20068),xe=se(33885),Ee=se(42978),Ze=se(76190),yt=se(75931),Be=se(59301),Te=se(49658),dt=se(18929),ot=se(77900),ft=(0,Be.createContext)(null),lt=Be.forwardRef(function(Fe,je){var Re=Fe.prefixCls,Ne=Fe.className,ct=Fe.style,St=Fe.id,an=Fe.active,Gt=Fe.tabKey,Zt=Fe.children;return Be.createElement("div",{id:St&&"".concat(St,"-panel-").concat(Gt),role:"tabpanel",tabIndex:an?0:-1,"aria-labelledby":St&&"".concat(St,"-tab-").concat(Gt),"aria-hidden":!an,style:ct,className:Se()(Re,an&&"".concat(Re,"-active"),Ne),ref:je},Zt)}),ht=lt,Vt=["key","forceRender","style","className"];function st(Fe){var je=Fe.id,Re=Fe.activeKey,Ne=Fe.animated,ct=Fe.tabPosition,St=Fe.destroyInactiveTabPane,an=Be.useContext(ft),Gt=an.prefixCls,Zt=an.tabs,Dn=Ne.tabPane,Hn="".concat(Gt,"-tabpane");return Be.createElement("div",{className:Se()("".concat(Gt,"-content-holder"))},Be.createElement("div",{className:Se()("".concat(Gt,"-content"),"".concat(Gt,"-content-").concat(ct),(0,Oe.Z)({},"".concat(Gt,"-content-animated"),Dn))},Zt.map(function(jn){var qt=jn.key,Sn=jn.forceRender,Ct=jn.style,Rt=jn.className,Xt=(0,yt.Z)(jn,Vt),en=qt===Re;return Be.createElement(ot.default,(0,ke.Z)({key:qt,visible:en,forceRender:Sn,removeOnLeave:!!St,leavedClassName:"".concat(Hn,"-hidden")},Ne.tabPaneMotion),function(En,Wt){var An=En.style,Ge=En.className;return Be.createElement(ht,(0,ke.Z)({},Xt,{prefixCls:Hn,id:je,tabKey:qt,animated:Dn,active:en,style:(0,xe.Z)((0,xe.Z)({},Ct),An),className:Se()(Rt,Ge),ref:Wt}))})})))}var vt=se(94480),Ke=se(29301),pe=se(6089),$e=se(8654),et={width:0,height:0,left:0,top:0};function qe(Fe,je,Re){return(0,Be.useMemo)(function(){for(var Ne,ct=new Map,St=je.get((Ne=Fe[0])===null||Ne===void 0?void 0:Ne.key)||et,an=St.left+St.width,Gt=0;Gt<Fe.length;Gt+=1){var Zt=Fe[Gt].key,Dn=je.get(Zt);if(!Dn){var Hn;Dn=je.get((Hn=Fe[Gt-1])===null||Hn===void 0?void 0:Hn.key)||et}var jn=ct.get(Zt)||(0,xe.Z)({},Dn);jn.right=an-jn.left-jn.width,ct.set(Zt,jn)}return ct},[Fe.map(function(Ne){return Ne.key}).join("_"),je,Re])}function Ye(Fe,je){var Re=Be.useRef(Fe),Ne=Be.useState({}),ct=(0,Ee.Z)(Ne,2),St=ct[1];function an(Gt){var Zt=typeof Gt=="function"?Gt(Re.current):Gt;Zt!==Re.current&&je(Zt,Re.current),Re.current=Zt,St({})}return[Re.current,an]}var pt=.1,at=.01,Pt=20,it=Math.pow(.995,Pt);function Nt(Fe,je){var Re=(0,Be.useState)(),Ne=(0,Ee.Z)(Re,2),ct=Ne[0],St=Ne[1],an=(0,Be.useState)(0),Gt=(0,Ee.Z)(an,2),Zt=Gt[0],Dn=Gt[1],Hn=(0,Be.useState)(0),jn=(0,Ee.Z)(Hn,2),qt=jn[0],Sn=jn[1],Ct=(0,Be.useState)(),Rt=(0,Ee.Z)(Ct,2),Xt=Rt[0],en=Rt[1],En=(0,Be.useRef)();function Wt(Jt){var dn=Jt.touches[0],cn=dn.screenX,Fn=dn.screenY;St({x:cn,y:Fn}),window.clearInterval(En.current)}function An(Jt){if(ct){Jt.preventDefault();var dn=Jt.touches[0],cn=dn.screenX,Fn=dn.screenY;St({x:cn,y:Fn});var Kn=cn-ct.x,qn=Fn-ct.y;je(Kn,qn);var br=Date.now();Dn(br),Sn(br-Zt),en({x:Kn,y:qn})}}function Ge(){if(ct&&(St(null),en(null),Xt)){var Jt=Xt.x/qt,dn=Xt.y/qt,cn=Math.abs(Jt),Fn=Math.abs(dn);if(Math.max(cn,Fn)<pt)return;var Kn=Jt,qn=dn;En.current=window.setInterval(function(){if(Math.abs(Kn)<at&&Math.abs(qn)<at){window.clearInterval(En.current);return}Kn*=it,qn*=it,je(Kn*Pt,qn*Pt)},Pt)}}var Tt=(0,Be.useRef)();function Ot(Jt){var dn=Jt.deltaX,cn=Jt.deltaY,Fn=0,Kn=Math.abs(dn),qn=Math.abs(cn);Kn===qn?Fn=Tt.current==="x"?dn:cn:Kn>qn?(Fn=dn,Tt.current="x"):(Fn=cn,Tt.current="y"),je(-Fn,-Fn)&&Jt.preventDefault()}var ln=(0,Be.useRef)(null);ln.current={onTouchStart:Wt,onTouchMove:An,onTouchEnd:Ge,onWheel:Ot},Be.useEffect(function(){function Jt(Kn){ln.current.onTouchStart(Kn)}function dn(Kn){ln.current.onTouchMove(Kn)}function cn(Kn){ln.current.onTouchEnd(Kn)}function Fn(Kn){ln.current.onWheel(Kn)}return document.addEventListener("touchmove",dn,{passive:!1}),document.addEventListener("touchend",cn,{passive:!1}),Fe.current.addEventListener("touchstart",Jt,{passive:!1}),Fe.current.addEventListener("wheel",Fn),function(){document.removeEventListener("touchmove",dn),document.removeEventListener("touchend",cn)}},[])}var rn=se(34280);function Ut(Fe){var je=(0,Be.useState)(0),Re=(0,Ee.Z)(je,2),Ne=Re[0],ct=Re[1],St=(0,Be.useRef)(0),an=(0,Be.useRef)();return an.current=Fe,(0,rn.o)(function(){var Gt;(Gt=an.current)===null||Gt===void 0||Gt.call(an)},[Ne]),function(){St.current===Ne&&(St.current+=1,ct(St.current))}}function un(Fe){var je=(0,Be.useRef)([]),Re=(0,Be.useState)({}),Ne=(0,Ee.Z)(Re,2),ct=Ne[1],St=(0,Be.useRef)(typeof Fe=="function"?Fe():Fe),an=Ut(function(){var Zt=St.current;je.current.forEach(function(Dn){Zt=Dn(Zt)}),je.current=[],St.current=Zt,ct({})});function Gt(Zt){je.current.push(Zt),an()}return[St.current,Gt]}var jt={width:0,height:0,left:0,top:0,right:0};function Qe(Fe,je,Re,Ne,ct,St,an){var Gt=an.tabs,Zt=an.tabPosition,Dn=an.rtl,Hn,jn,qt;return["top","bottom"].includes(Zt)?(Hn="width",jn=Dn?"right":"left",qt=Math.abs(Re)):(Hn="height",jn="top",qt=-Re),(0,Be.useMemo)(function(){if(!Gt.length)return[0,0];for(var Sn=Gt.length,Ct=Sn,Rt=0;Rt<Sn;Rt+=1){var Xt=Fe.get(Gt[Rt].key)||jt;if(Xt[jn]+Xt[Hn]>qt+je){Ct=Rt-1;break}}for(var en=0,En=Sn-1;En>=0;En-=1){var Wt=Fe.get(Gt[En].key)||jt;if(Wt[jn]<qt){en=En+1;break}}return en>=Ct?[0,0]:[en,Ct]},[Fe,je,Ne,ct,St,qt,Zt,Gt.map(function(Sn){return Sn.key}).join("_"),Dn])}function Ce(Fe){var je;return Fe instanceof Map?(je={},Fe.forEach(function(Re,Ne){je[Ne]=Re})):je=Fe,JSON.stringify(je)}var nt="TABS_DQ";function $t(Fe){return String(Fe).replace(/"/g,nt)}function Et(Fe,je,Re,Ne){return!(!Re||Ne||Fe===!1||Fe===void 0&&(je===!1||je===null))}function Ve(Fe,je){var Re=Fe.prefixCls,Ne=Fe.editable,ct=Fe.locale,St=Fe.style;return!Ne||Ne.showAdd===!1?null:Be.createElement("button",{ref:je,type:"button",className:"".concat(Re,"-nav-add"),style:St,"aria-label":(ct==null?void 0:ct.addAriaLabel)||"Add tab",onClick:function(Gt){Ne.onEdit("add",{event:Gt})}},Ne.addIcon||"+")}var tt=Be.forwardRef(Ve),At=Be.forwardRef(function(Fe,je){var Re=Fe.position,Ne=Fe.prefixCls,ct=Fe.extra;if(!ct)return null;var St,an={};return(0,Ze.Z)(ct)==="object"&&!Be.isValidElement(ct)?an=ct:an.right=ct,Re==="right"&&(St=an.right),Re==="left"&&(St=an.left),St?Be.createElement("div",{className:"".concat(Ne,"-extra-content"),ref:je},St):null}),fn=At,Kt=se(31561),yn=se(15285),kt=se(10228);function Bt(Fe,je){var Re=Fe.prefixCls,Ne=Fe.id,ct=Fe.tabs,St=Fe.locale,an=Fe.mobile,Gt=Fe.moreIcon,Zt=Gt===void 0?"More":Gt,Dn=Fe.moreTransitionName,Hn=Fe.style,jn=Fe.className,qt=Fe.editable,Sn=Fe.tabBarGutter,Ct=Fe.rtl,Rt=Fe.removeAriaLabel,Xt=Fe.onTabClick,en=Fe.getPopupContainer,En=Fe.popupClassName,Wt=(0,Be.useState)(!1),An=(0,Ee.Z)(Wt,2),Ge=An[0],Tt=An[1],Ot=(0,Be.useState)(null),ln=(0,Ee.Z)(Ot,2),Jt=ln[0],dn=ln[1],cn="".concat(Ne,"-more-popup"),Fn="".concat(Re,"-dropdown"),Kn=Jt!==null?"".concat(cn,"-").concat(Jt):null,qn=St==null?void 0:St.dropdownAriaLabel;function br(qr,Mr){qr.preventDefault(),qr.stopPropagation(),qt.onEdit("remove",{key:Mr,event:qr})}var Tr=Be.createElement(yn.ZP,{onClick:function(Mr){var Ir=Mr.key,$r=Mr.domEvent;Xt(Ir,$r),Tt(!1)},prefixCls:"".concat(Fn,"-menu"),id:cn,tabIndex:-1,role:"listbox","aria-activedescendant":Kn,selectedKeys:[Jt],"aria-label":qn!==void 0?qn:"expanded dropdown"},ct.map(function(qr){var Mr=qr.closable,Ir=qr.disabled,$r=qr.closeIcon,Wr=qr.key,wi=qr.label,Ii=Et(Mr,$r,qt,Ir);return Be.createElement(yn.sN,{key:Wr,id:"".concat(cn,"-").concat(Wr),role:"option","aria-controls":Ne&&"".concat(Ne,"-panel-").concat(Wr),disabled:Ir},Be.createElement("span",null,wi),Ii&&Be.createElement("button",{type:"button","aria-label":Rt||"remove",tabIndex:0,className:"".concat(Fn,"-menu-item-remove"),onClick:function(Xn){Xn.stopPropagation(),br(Xn,Wr)}},$r||qt.removeIcon||"\xD7"))}));function jr(qr){for(var Mr=ct.filter(function(Ii){return!Ii.disabled}),Ir=Mr.findIndex(function(Ii){return Ii.key===Jt})||0,$r=Mr.length,Wr=0;Wr<$r;Wr+=1){Ir=(Ir+qr+$r)%$r;var wi=Mr[Ir];if(!wi.disabled){dn(wi.key);return}}}function Fr(qr){var Mr=qr.which;if(!Ge){[kt.Z.DOWN,kt.Z.SPACE,kt.Z.ENTER].includes(Mr)&&(Tt(!0),qr.preventDefault());return}switch(Mr){case kt.Z.UP:jr(-1),qr.preventDefault();break;case kt.Z.DOWN:jr(1),qr.preventDefault();break;case kt.Z.ESC:Tt(!1);break;case kt.Z.SPACE:case kt.Z.ENTER:Jt!==null&&Xt(Jt,qr);break}}(0,Be.useEffect)(function(){var qr=document.getElementById(Kn);qr&&qr.scrollIntoView&&qr.scrollIntoView(!1)},[Jt]),(0,Be.useEffect)(function(){Ge||dn(null)},[Ge]);var tr=(0,Oe.Z)({},Ct?"marginRight":"marginLeft",Sn);ct.length||(tr.visibility="hidden",tr.order=1);var _r=Se()((0,Oe.Z)({},"".concat(Fn,"-rtl"),Ct)),Hr=an?null:Be.createElement(Kt.Z,{prefixCls:Fn,overlay:Tr,trigger:["hover"],visible:ct.length?Ge:!1,transitionName:Dn,onVisibleChange:Tt,overlayClassName:Se()(_r,En),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:en},Be.createElement("button",{type:"button",className:"".concat(Re,"-nav-more"),style:tr,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":cn,id:"".concat(Ne,"-more"),"aria-expanded":Ge,onKeyDown:Fr},Zt));return Be.createElement("div",{className:Se()("".concat(Re,"-nav-operations"),jn),style:Hn,ref:je},Hr,Be.createElement(tt,{prefixCls:Re,locale:St,editable:qt}))}var xt=Be.memo(Be.forwardRef(Bt),function(Fe,je){return je.tabMoving});function ve(Fe){var je,Re=Fe.prefixCls,Ne=Fe.id,ct=Fe.active,St=Fe.tab,an=St.key,Gt=St.label,Zt=St.disabled,Dn=St.closeIcon,Hn=Fe.closable,jn=Fe.renderWrapper,qt=Fe.removeAriaLabel,Sn=Fe.editable,Ct=Fe.onClick,Rt=Fe.onFocus,Xt=Fe.style,en="".concat(Re,"-tab"),En=Et(Hn,Dn,Sn,Zt);function Wt(Tt){Zt||Ct(Tt)}function An(Tt){Tt.preventDefault(),Tt.stopPropagation(),Sn.onEdit("remove",{key:an,event:Tt})}var Ge=Be.createElement("div",{key:an,"data-node-key":$t(an),className:Se()(en,(je={},(0,Oe.Z)(je,"".concat(en,"-with-remove"),En),(0,Oe.Z)(je,"".concat(en,"-active"),ct),(0,Oe.Z)(je,"".concat(en,"-disabled"),Zt),je)),style:Xt,onClick:Wt},Be.createElement("div",{role:"tab","aria-selected":ct,id:Ne&&"".concat(Ne,"-tab-").concat(an),className:"".concat(en,"-btn"),"aria-controls":Ne&&"".concat(Ne,"-panel-").concat(an),"aria-disabled":Zt,tabIndex:Zt?null:0,onClick:function(Ot){Ot.stopPropagation(),Wt(Ot)},onKeyDown:function(Ot){[kt.Z.SPACE,kt.Z.ENTER].includes(Ot.which)&&(Ot.preventDefault(),Wt(Ot))},onFocus:Rt},Gt),En&&Be.createElement("button",{type:"button","aria-label":qt||"remove",tabIndex:0,className:"".concat(en,"-remove"),onClick:function(Ot){Ot.stopPropagation(),An(Ot)}},Dn||Sn.removeIcon||"\xD7"));return jn?jn(Ge):Ge}var ce=ve,le=se(16089),fe=function(je){var Re=je.activeTabOffset,Ne=je.horizontal,ct=je.rtl,St=je.indicatorSize,an=(0,Be.useState)(),Gt=(0,Ee.Z)(an,2),Zt=Gt[0],Dn=Gt[1],Hn=(0,Be.useRef)(),jn=function(Ct){return typeof St=="function"?St(Ct):typeof St=="number"?St:Ct};function qt(){le.Z.cancel(Hn.current)}return(0,Be.useEffect)(function(){var Sn={};return Re&&(Ne?(ct?(Sn.right=Re.right+Re.width/2,Sn.transform="translateX(50%)"):(Sn.left=Re.left+Re.width/2,Sn.transform="translateX(-50%)"),Sn.width=jn(Re.width)):(Sn.top=Re.top+Re.height/2,Sn.transform="translateY(-50%)",Sn.height=jn(Re.height))),qt(),Hn.current=(0,le.Z)(function(){Dn(Sn)}),qt},[Re,Ne,ct,St]),{style:Zt}},he=fe,ue=function(je){var Re=je.current||{},Ne=Re.offsetWidth,ct=Ne===void 0?0:Ne,St=Re.offsetHeight,an=St===void 0?0:St;return[ct,an]},Pe=function(je,Re){return je[Re?0:1]};function _e(Fe,je){var Re,Ne=Be.useContext(ft),ct=Ne.prefixCls,St=Ne.tabs,an=Fe.className,Gt=Fe.style,Zt=Fe.id,Dn=Fe.animated,Hn=Fe.activeKey,jn=Fe.rtl,qt=Fe.extra,Sn=Fe.editable,Ct=Fe.locale,Rt=Fe.tabPosition,Xt=Fe.tabBarGutter,en=Fe.children,En=Fe.onTabClick,Wt=Fe.onTabScroll,An=Fe.indicatorSize,Ge=(0,Be.useRef)(),Tt=(0,Be.useRef)(),Ot=(0,Be.useRef)(),ln=(0,Be.useRef)(),Jt=(0,Be.useRef)(),dn=(0,Be.useRef)(),cn=(0,Be.useRef)(),Fn=Rt==="top"||Rt==="bottom",Kn=Ye(0,function(li,Ci){Fn&&Wt&&Wt({direction:li>Ci?"left":"right"})}),qn=(0,Ee.Z)(Kn,2),br=qn[0],Tr=qn[1],jr=Ye(0,function(li,Ci){!Fn&&Wt&&Wt({direction:li>Ci?"top":"bottom"})}),Fr=(0,Ee.Z)(jr,2),tr=Fr[0],_r=Fr[1],Hr=(0,Be.useState)([0,0]),qr=(0,Ee.Z)(Hr,2),Mr=qr[0],Ir=qr[1],$r=(0,Be.useState)([0,0]),Wr=(0,Ee.Z)($r,2),wi=Wr[0],Ii=Wr[1],Zr=(0,Be.useState)([0,0]),Xn=(0,Ee.Z)(Zr,2),Yn=Xn[0],Xr=Xn[1],Nr=(0,Be.useState)([0,0]),oi=(0,Ee.Z)(Nr,2),ci=oi[0],di=oi[1],Gr=un(new Map),ti=(0,Ee.Z)(Gr,2),Gi=ti[0],Sr=ti[1],Or=qe(St,Gi,wi[0]),fi=Pe(Mr,Fn),Ei=Pe(wi,Fn),Xi=Pe(Yn,Fn),Ji=Pe(ci,Fn),ji=fi<Ei+Xi,Ni=ji?fi-Ji:fi-Xi,ua="".concat(ct,"-nav-operations-hidden"),ca=0,Lr=0;Fn&&jn?(ca=0,Lr=Math.max(0,Ei-Ni)):(ca=Math.min(0,Ni-Ei),Lr=0);function Dr(li){return li<ca?ca:li>Lr?Lr:li}var kr=(0,Be.useRef)(),Ur=(0,Be.useState)(),Ti=(0,Ee.Z)(Ur,2),pa=Ti[0],ga=Ti[1];function ia(){ga(Date.now())}function Qi(){window.clearTimeout(kr.current)}Nt(ln,function(li,Ci){function Ui(Si,gi){Si(function(Ki){var da=Dr(Ki+gi);return da})}return ji?(Fn?Ui(Tr,li):Ui(_r,Ci),Qi(),ia(),!0):!1}),(0,Be.useEffect)(function(){return Qi(),pa&&(kr.current=window.setTimeout(function(){ga(0)},100)),Qi},[pa]);var ya=Qe(Or,Ni,Fn?br:tr,Ei,Xi,Ji,(0,xe.Z)((0,xe.Z)({},Fe),{},{tabs:St})),ja=(0,Ee.Z)(ya,2),Ha=ja[0],mo=ja[1],Pi=(0,pe.Z)(function(){var li=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hn,Ci=Or.get(li)||{width:0,height:0,left:0,right:0,top:0};if(Fn){var Ui=br;jn?Ci.right<br?Ui=Ci.right:Ci.right+Ci.width>br+Ni&&(Ui=Ci.right+Ci.width-Ni):Ci.left<-br?Ui=-Ci.left:Ci.left+Ci.width>-br+Ni&&(Ui=-(Ci.left+Ci.width-Ni)),_r(0),Tr(Dr(Ui))}else{var Si=tr;Ci.top<-tr?Si=-Ci.top:Ci.top+Ci.height>-tr+Ni&&(Si=-(Ci.top+Ci.height-Ni)),Tr(0),_r(Dr(Si))}}),zi={};Rt==="top"||Rt==="bottom"?zi[jn?"marginRight":"marginLeft"]=Xt:zi.marginTop=Xt;var Aa=St.map(function(li,Ci){var Ui=li.key;return Be.createElement(ce,{id:Zt,prefixCls:ct,key:Ui,tab:li,style:Ci===0?void 0:zi,closable:li.closable,editable:Sn,active:Ui===Hn,renderWrapper:en,removeAriaLabel:Ct==null?void 0:Ct.removeAriaLabel,onClick:function(gi){En(Ui,gi)},onFocus:function(){Pi(Ui),ia(),ln.current&&(jn||(ln.current.scrollLeft=0),ln.current.scrollTop=0)}})}),Yi=function(){return Sr(function(){var Ci=new Map;return St.forEach(function(Ui){var Si,gi=Ui.key,Ki=(Si=Jt.current)===null||Si===void 0?void 0:Si.querySelector('[data-node-key="'.concat($t(gi),'"]'));Ki&&Ci.set(gi,{width:Ki.offsetWidth,height:Ki.offsetHeight,left:Ki.offsetLeft,top:Ki.offsetTop})}),Ci})};(0,Be.useEffect)(function(){Yi()},[St.map(function(li){return li.key}).join("_")]);var $i=Ut(function(){var li=ue(Ge),Ci=ue(Tt),Ui=ue(Ot);Ir([li[0]-Ci[0]-Ui[0],li[1]-Ci[1]-Ui[1]]);var Si=ue(cn);Xr(Si);var gi=ue(dn);di(gi);var Ki=ue(Jt);Ii([Ki[0]-Si[0],Ki[1]-Si[1]]),Yi()}),wn=St.slice(0,Ha),hn=St.slice(mo+1),on=[].concat((0,vt.Z)(wn),(0,vt.Z)(hn)),Rn=Or.get(Hn),or=he({activeTabOffset:Rn,horizontal:Fn,rtl:jn,indicatorSize:An}),lr=or.style;(0,Be.useEffect)(function(){Pi()},[Hn,ca,Lr,Ce(Rn),Ce(Or),Fn]),(0,Be.useEffect)(function(){$i()},[jn]);var On=!!on.length,Er="".concat(ct,"-nav-wrap"),si,Di,ui,xr;return Fn?jn?(Di=br>0,si=br!==Lr):(si=br<0,Di=br!==ca):(ui=tr<0,xr=tr!==ca),Be.createElement(Ke.Z,{onResize:$i},Be.createElement("div",{ref:(0,$e.x1)(je,Ge),role:"tablist",className:Se()("".concat(ct,"-nav"),an),style:Gt,onKeyDown:function(){ia()}},Be.createElement(fn,{ref:Tt,position:"left",extra:qt,prefixCls:ct}),Be.createElement(Ke.Z,{onResize:$i},Be.createElement("div",{className:Se()(Er,(Re={},(0,Oe.Z)(Re,"".concat(Er,"-ping-left"),si),(0,Oe.Z)(Re,"".concat(Er,"-ping-right"),Di),(0,Oe.Z)(Re,"".concat(Er,"-ping-top"),ui),(0,Oe.Z)(Re,"".concat(Er,"-ping-bottom"),xr),Re)),ref:ln},Be.createElement(Ke.Z,{onResize:$i},Be.createElement("div",{ref:Jt,className:"".concat(ct,"-nav-list"),style:{transform:"translate(".concat(br,"px, ").concat(tr,"px)"),transition:pa?"none":void 0}},Aa,Be.createElement(tt,{ref:cn,prefixCls:ct,locale:Ct,editable:Sn,style:(0,xe.Z)((0,xe.Z)({},Aa.length===0?void 0:zi),{},{visibility:On?"hidden":null})}),Be.createElement("div",{className:Se()("".concat(ct,"-ink-bar"),(0,Oe.Z)({},"".concat(ct,"-ink-bar-animated"),Dn.inkBar)),style:lr}))))),Be.createElement(xt,(0,ke.Z)({},Fe,{removeAriaLabel:Ct==null?void 0:Ct.removeAriaLabel,ref:dn,prefixCls:ct,tabs:on,className:!On&&ua,tabMoving:!!pa})),Be.createElement(fn,{ref:Ot,position:"right",extra:qt,prefixCls:ct})))}var Dt=Be.forwardRef(_e),Lt=["renderTabBar"],Ht=["label","key"];function Qt(Fe){var je=Fe.renderTabBar,Re=(0,yt.Z)(Fe,Lt),Ne=Be.useContext(ft),ct=Ne.tabs;if(je){var St=(0,xe.Z)((0,xe.Z)({},Re),{},{panes:ct.map(function(an){var Gt=an.label,Zt=an.key,Dn=(0,yt.Z)(an,Ht);return Be.createElement(ht,(0,ke.Z)({tab:Gt,key:Zt,tabKey:Zt},Dn))})});return je(St,Dt)}return Be.createElement(Dt,Re)}var zt=se(48736);function bn(){var Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},je;return Fe===!1?je={inkBar:!1,tabPane:!1}:Fe===!0?je={inkBar:!0,tabPane:!1}:je=(0,xe.Z)({inkBar:!0},(0,Ze.Z)(Fe)==="object"?Fe:{}),je.tabPaneMotion&&je.tabPane===void 0&&(je.tabPane=!0),!je.tabPaneMotion&&je.tabPane&&(je.tabPane=!1),je}var In=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],Mt=0;function tn(Fe,je){var Re,Ne=Fe.id,ct=Fe.prefixCls,St=ct===void 0?"rc-tabs":ct,an=Fe.className,Gt=Fe.items,Zt=Fe.direction,Dn=Fe.activeKey,Hn=Fe.defaultActiveKey,jn=Fe.editable,qt=Fe.animated,Sn=Fe.tabPosition,Ct=Sn===void 0?"top":Sn,Rt=Fe.tabBarGutter,Xt=Fe.tabBarStyle,en=Fe.tabBarExtraContent,En=Fe.locale,Wt=Fe.moreIcon,An=Fe.moreTransitionName,Ge=Fe.destroyInactiveTabPane,Tt=Fe.renderTabBar,Ot=Fe.onChange,ln=Fe.onTabClick,Jt=Fe.onTabScroll,dn=Fe.getPopupContainer,cn=Fe.popupClassName,Fn=Fe.indicatorSize,Kn=(0,yt.Z)(Fe,In),qn=Be.useMemo(function(){return(Gt||[]).filter(function(di){return di&&(0,Ze.Z)(di)==="object"&&"key"in di})},[Gt]),br=Zt==="rtl",Tr=bn(qt),jr=(0,Be.useState)(!1),Fr=(0,Ee.Z)(jr,2),tr=Fr[0],_r=Fr[1];(0,Be.useEffect)(function(){_r((0,Te.Z)())},[]);var Hr=(0,dt.Z)(function(){var di;return(di=qn[0])===null||di===void 0?void 0:di.key},{value:Dn,defaultValue:Hn}),qr=(0,Ee.Z)(Hr,2),Mr=qr[0],Ir=qr[1],$r=(0,Be.useState)(function(){return qn.findIndex(function(di){return di.key===Mr})}),Wr=(0,Ee.Z)($r,2),wi=Wr[0],Ii=Wr[1];(0,Be.useEffect)(function(){var di=qn.findIndex(function(ti){return ti.key===Mr});if(di===-1){var Gr;di=Math.max(0,Math.min(wi,qn.length-1)),Ir((Gr=qn[di])===null||Gr===void 0?void 0:Gr.key)}Ii(di)},[qn.map(function(di){return di.key}).join("_"),Mr,wi]);var Zr=(0,dt.Z)(null,{value:Ne}),Xn=(0,Ee.Z)(Zr,2),Yn=Xn[0],Xr=Xn[1];(0,Be.useEffect)(function(){Ne||(Xr("rc-tabs-".concat(Mt)),Mt+=1)},[]);function Nr(di,Gr){ln==null||ln(di,Gr);var ti=di!==Mr;Ir(di),ti&&(Ot==null||Ot(di))}var oi={id:Yn,activeKey:Mr,animated:Tr,tabPosition:Ct,rtl:br,mobile:tr},ci=(0,xe.Z)((0,xe.Z)({},oi),{},{editable:jn,locale:En,moreIcon:Wt,moreTransitionName:An,tabBarGutter:Rt,onTabClick:Nr,onTabScroll:Jt,extra:en,style:Xt,panes:null,getPopupContainer:dn,popupClassName:cn,indicatorSize:Fn});return Be.createElement(ft.Provider,{value:{tabs:qn,prefixCls:St}},Be.createElement("div",(0,ke.Z)({ref:je,id:Ne,className:Se()(St,"".concat(St,"-").concat(Ct),(Re={},(0,Oe.Z)(Re,"".concat(St,"-mobile"),tr),(0,Oe.Z)(Re,"".concat(St,"-editable"),jn),(0,Oe.Z)(Re,"".concat(St,"-rtl"),br),Re),an)},Kn),Be.createElement(Qt,(0,ke.Z)({},ci,{renderTabBar:Tt})),Be.createElement(st,(0,ke.Z)({destroyInactiveTabPane:Ge},oi,{animated:Tr}))))}var Gn=Be.forwardRef(tn),ut=Gn,We=ut,Ue=se(36355),nn=se(19716),xn=()=>null,Un=se(62892);const Pn={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Vn(Fe){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Re;return je===!1?Re={inkBar:!1,tabPane:!1}:je===!0?Re={inkBar:!0,tabPane:!0}:Re=Object.assign({inkBar:!0},typeof je=="object"?je:{}),Re.tabPane&&(Re.tabPaneMotion=Object.assign(Object.assign({},Pn),{motionName:(0,Un.m)(Fe,"switch")})),Re}var dr=se(11592),gr=function(Fe,je){var Re={};for(var Ne in Fe)Object.prototype.hasOwnProperty.call(Fe,Ne)&&je.indexOf(Ne)<0&&(Re[Ne]=Fe[Ne]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Ne=Object.getOwnPropertySymbols(Fe);ct<Ne.length;ct++)je.indexOf(Ne[ct])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ne[ct])&&(Re[Ne[ct]]=Fe[Ne[ct]]);return Re};function _n(Fe){return Fe.filter(je=>je)}function wr(Fe,je){if(Fe)return Fe;const Re=(0,dr.Z)(je).map(Ne=>{if(Be.isValidElement(Ne)){const{key:ct,props:St}=Ne,an=St||{},{tab:Gt}=an,Zt=gr(an,["tab"]);return Object.assign(Object.assign({key:String(ct)},Zt),{label:Gt})}return null});return _n(Re)}var Jr=se(17313),pr=se(83116),pi=se(37613),Rr=se(13826),pn=Fe=>{const{componentCls:je,motionDurationSlow:Re}=Fe;return[{[je]:{[`${je}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Re}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Re}`}}}}},[(0,Rr.oN)(Fe,"slide-up"),(0,Rr.oN)(Fe,"slide-down")]]};const Zn=Fe=>{const{componentCls:je,tabsCardPadding:Re,cardBg:Ne,cardGutter:ct,colorBorderSecondary:St,itemSelectedColor:an}=Fe;return{[`${je}-card`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab`]:{margin:0,padding:Re,background:Ne,border:`${Fe.lineWidth}px ${Fe.lineType} ${St}`,transition:`all ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}`},[`${je}-tab-active`]:{color:an,background:Fe.colorBgContainer},[`${je}-ink-bar`]:{visibility:"hidden"}},[`&${je}-top, &${je}-bottom`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab + ${je}-tab`]:{marginLeft:{_skip_check_:!0,value:`${ct}px`}}}},[`&${je}-top`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab`]:{borderRadius:`${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px 0 0`},[`${je}-tab-active`]:{borderBottomColor:Fe.colorBgContainer}}},[`&${je}-bottom`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab`]:{borderRadius:`0 0 ${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px`},[`${je}-tab-active`]:{borderTopColor:Fe.colorBgContainer}}},[`&${je}-left, &${je}-right`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab + ${je}-tab`]:{marginTop:`${ct}px`}}},[`&${je}-left`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Fe.borderRadiusLG}px 0 0 ${Fe.borderRadiusLG}px`}},[`${je}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Fe.colorBgContainer}}}},[`&${je}-right`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px 0`}},[`${je}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Fe.colorBgContainer}}}}}}},rr=Fe=>{const{componentCls:je,itemHoverColor:Re,dropdownEdgeChildVerticalPadding:Ne}=Fe;return{[`${je}-dropdown`]:Object.assign(Object.assign({},(0,Jr.Wf)(Fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Fe.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${je}-dropdown-menu`]:{maxHeight:Fe.tabsDropdownHeight,margin:0,padding:`${Ne}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Fe.colorBgContainer,backgroundClip:"padding-box",borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Jr.vS),{display:"flex",alignItems:"center",minWidth:Fe.tabsDropdownWidth,margin:0,padding:`${Fe.paddingXXS}px ${Fe.paddingSM}px`,color:Fe.colorText,fontWeight:"normal",fontSize:Fe.fontSize,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${Fe.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Fe.marginSM},color:Fe.colorTextDescription,fontSize:Fe.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Re}},"&:hover":{background:Fe.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Fe.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ur=Fe=>{const{componentCls:je,margin:Re,colorBorderSecondary:Ne,horizontalMargin:ct,verticalItemPadding:St,verticalItemMargin:an}=Fe;return{[`${je}-top, ${je}-bottom`]:{flexDirection:"column",[`> ${je}-nav, > div > ${je}-nav`]:{margin:ct,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Fe.lineWidth}px ${Fe.lineType} ${Ne}`,content:"''"},[`${je}-ink-bar`]:{height:Fe.lineWidthBold,"&-animated":{transition:`width ${Fe.motionDurationSlow}, left ${Fe.motionDurationSlow},
|
|
|
right ${Fe.motionDurationSlow}`}},[`${je}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Fe.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Fe.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Fe.boxShadowTabsOverflowRight},[`&${je}-nav-wrap-ping-left::before`]:{opacity:1},[`&${je}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${je}-top`]:{[`> ${je}-nav,
|
|
|
> div > ${je}-nav`]:{"&::before":{bottom:0},[`${je}-ink-bar`]:{bottom:0}}},[`${je}-bottom`]:{[`> ${je}-nav, > div > ${je}-nav`]:{order:1,marginTop:`${Re}px`,marginBottom:0,"&::before":{top:0},[`${je}-ink-bar`]:{top:0}},[`> ${je}-content-holder, > div > ${je}-content-holder`]:{order:0}},[`${je}-left, ${je}-right`]:{[`> ${je}-nav, > div > ${je}-nav`]:{flexDirection:"column",minWidth:Fe.controlHeight*1.25,[`${je}-tab`]:{padding:St,textAlign:"center"},[`${je}-tab + ${je}-tab`]:{margin:an},[`${je}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Fe.controlHeight},"&::before":{top:0,boxShadow:Fe.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Fe.boxShadowTabsOverflowBottom},[`&${je}-nav-wrap-ping-top::before`]:{opacity:1},[`&${je}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${je}-ink-bar`]:{width:Fe.lineWidthBold,"&-animated":{transition:`height ${Fe.motionDurationSlow}, top ${Fe.motionDurationSlow}`}},[`${je}-nav-list, ${je}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${je}-left`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${je}-content-holder, > div > ${je}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Fe.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`},[`> ${je}-content > ${je}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Fe.paddingLG}}}},[`${je}-right`]:{[`> ${je}-nav, > div > ${je}-nav`]:{order:1,[`${je}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${je}-content-holder, > div > ${je}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Fe.lineWidth},borderRight:{_skip_check_:!0,value:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`},[`> ${je}-content > ${je}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Fe.paddingLG}}}}}},nr=Fe=>{const{componentCls:je,cardPaddingSM:Re,cardPaddingLG:Ne,horizontalItemPaddingSM:ct,horizontalItemPaddingLG:St}=Fe;return{[je]:{"&-small":{[`> ${je}-nav`]:{[`${je}-tab`]:{padding:ct,fontSize:Fe.titleFontSizeSM}}},"&-large":{[`> ${je}-nav`]:{[`${je}-tab`]:{padding:St,fontSize:Fe.titleFontSizeLG}}}},[`${je}-card`]:{[`&${je}-small`]:{[`> ${je}-nav`]:{[`${je}-tab`]:{padding:Re}},[`&${je}-bottom`]:{[`> ${je}-nav ${je}-tab`]:{borderRadius:`0 0 ${Fe.borderRadius}px ${Fe.borderRadius}px`}},[`&${je}-top`]:{[`> ${je}-nav ${je}-tab`]:{borderRadius:`${Fe.borderRadius}px ${Fe.borderRadius}px 0 0`}},[`&${je}-right`]:{[`> ${je}-nav ${je}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Fe.borderRadius}px ${Fe.borderRadius}px 0`}}},[`&${je}-left`]:{[`> ${je}-nav ${je}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Fe.borderRadius}px 0 0 ${Fe.borderRadius}px`}}}},[`&${je}-large`]:{[`> ${je}-nav`]:{[`${je}-tab`]:{padding:Ne}}}}}},fr=Fe=>{const{componentCls:je,itemActiveColor:Re,itemHoverColor:Ne,iconCls:ct,tabsHorizontalItemMargin:St,horizontalItemPadding:an,itemSelectedColor:Gt,itemColor:Zt}=Fe,Dn=`${je}-tab`;return{[Dn]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:an,fontSize:Fe.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Zt,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:Re}},(0,Jr.Qy)(Fe)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Fe.marginXXS},marginLeft:{_skip_check_:!0,value:Fe.marginXS},color:Fe.colorTextDescription,fontSize:Fe.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Fe.motionDurationSlow}`,"&:hover":{color:Fe.colorTextHeading}},"&:hover":{color:Ne},[`&${Dn}-active ${Dn}-btn`]:{color:Gt,textShadow:Fe.tabsActiveTextShadow},[`&${Dn}-disabled`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"},[`&${Dn}-disabled ${Dn}-btn, &${Dn}-disabled ${je}-remove`]:{"&:focus, &:active":{color:Fe.colorTextDisabled}},[`& ${Dn}-remove ${ct}`]:{margin:0},[ct]:{marginRight:{_skip_check_:!0,value:Fe.marginSM}}},[`${Dn} + ${Dn}`]:{margin:{_skip_check_:!0,value:St}}}},sr=Fe=>{const{componentCls:je,tabsHorizontalItemMarginRTL:Re,iconCls:Ne,cardGutter:ct}=Fe;return{[`${je}-rtl`]:{direction:"rtl",[`${je}-nav`]:{[`${je}-tab`]:{margin:{_skip_check_:!0,value:Re},[`${je}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Ne]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Fe.marginSM}px`}},[`${je}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Fe.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Fe.marginXXS}px`},[Ne]:{margin:0}}}},[`&${je}-left`]:{[`> ${je}-nav`]:{order:1},[`> ${je}-content-holder`]:{order:0}},[`&${je}-right`]:{[`> ${je}-nav`]:{order:0},[`> ${je}-content-holder`]:{order:1}},[`&${je}-card${je}-top, &${je}-card${je}-bottom`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-tab + ${je}-tab`]:{marginRight:{_skip_check_:!0,value:ct},marginLeft:{_skip_check_:!0,value:0}}}}},[`${je}-dropdown-rtl`]:{direction:"rtl"},[`${je}-menu-item`]:{[`${je}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Br=Fe=>{const{componentCls:je,tabsCardPadding:Re,cardHeight:Ne,cardGutter:ct,itemHoverColor:St,itemActiveColor:an,colorBorderSecondary:Gt}=Fe;return{[je]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Jr.Wf)(Fe)),{display:"flex",[`> ${je}-nav, > div > ${je}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${je}-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 ${Fe.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${je}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Fe.motionDurationSlow}`},[`${je}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${je}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${je}-nav-more`]:{position:"relative",padding:Re,background:"transparent",border:0,color:Fe.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Fe.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${je}-nav-add`]:Object.assign({minWidth:Ne,marginLeft:{_skip_check_:!0,value:ct},padding:`0 ${Fe.paddingXS}px`,background:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} ${Gt}`,borderRadius:`${Fe.borderRadiusLG}px ${Fe.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Fe.colorText,transition:`all ${Fe.motionDurationSlow} ${Fe.motionEaseInOut}`,"&:hover":{color:St},"&:active, &:focus:not(:focus-visible)":{color:an}},(0,Jr.Qy)(Fe))},[`${je}-extra-content`]:{flex:"none"},[`${je}-ink-bar`]:{position:"absolute",background:Fe.inkBarColor,pointerEvents:"none"}}),fr(Fe)),{[`${je}-content`]:{position:"relative",width:"100%"},[`${je}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${je}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${je}-centered`]:{[`> ${je}-nav, > div > ${je}-nav`]:{[`${je}-nav-wrap`]:{[`&:not([class*='${je}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var ir=(0,pr.Z)("Tabs",Fe=>{const je=(0,pi.TS)(Fe,{tabsCardPadding:Fe.cardPadding||`${(Fe.cardHeight-Math.round(Fe.fontSize*Fe.lineHeight))/2-Fe.lineWidth}px ${Fe.padding}px`,dropdownEdgeChildVerticalPadding:Fe.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Fe.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Fe.horizontalItemGutter}px`});return[nr(je),sr(je),ur(je),rr(je),Zn(je),Br(je),pn(je)]},Fe=>{const je=Fe.controlHeightLG;return{zIndexPopup:Fe.zIndexPopupBase+50,cardBg:Fe.colorFillAlter,cardHeight:je,cardPadding:"",cardPaddingSM:`${Fe.paddingXXS*1.5}px ${Fe.padding}px`,cardPaddingLG:`${Fe.paddingXS}px ${Fe.padding}px ${Fe.paddingXXS*1.5}px`,titleFontSize:Fe.fontSize,titleFontSizeLG:Fe.fontSizeLG,titleFontSizeSM:Fe.fontSize,inkBarColor:Fe.colorPrimary,horizontalMargin:`0 0 ${Fe.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Fe.paddingSM}px 0`,horizontalItemPaddingSM:`${Fe.paddingXS}px 0`,horizontalItemPaddingLG:`${Fe.padding}px 0`,verticalItemPadding:`${Fe.paddingXS}px ${Fe.paddingLG}px`,verticalItemMargin:`${Fe.margin}px 0 0 0`,itemColor:Fe.colorText,itemSelectedColor:Fe.colorPrimary,itemHoverColor:Fe.colorPrimaryHover,itemActiveColor:Fe.colorPrimaryActive,cardGutter:Fe.marginXXS/2}}),Bn=function(Fe,je){var Re={};for(var Ne in Fe)Object.prototype.hasOwnProperty.call(Fe,Ne)&&je.indexOf(Ne)<0&&(Re[Ne]=Fe[Ne]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Ne=Object.getOwnPropertySymbols(Fe);ct<Ne.length;ct++)je.indexOf(Ne[ct])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Ne[ct])&&(Re[Ne[ct]]=Fe[Ne[ct]]);return Re};const Cr=Fe=>{const{type:je,className:Re,rootClassName:Ne,size:ct,onEdit:St,hideAdd:an,centered:Gt,addIcon:Zt,popupClassName:Dn,children:Hn,items:jn,animated:qt,style:Sn,indicatorSize:Ct}=Fe,Rt=Bn(Fe,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Xt,moreIcon:en=Be.createElement(He.Z,null)}=Rt,{direction:En,tabs:Wt,getPrefixCls:An,getPopupContainer:Ge}=Be.useContext(Ue.E_),Tt=An("tabs",Xt),[Ot,ln]=ir(Tt);let Jt;je==="editable-card"&&(Jt={onEdit:(br,Tr)=>{let{key:jr,event:Fr}=Tr;St==null||St(br==="add"?Fr:jr,br)},removeIcon:Be.createElement(ae.Z,null),addIcon:Zt||Be.createElement(ze.Z,null),showAdd:an!==!0});const dn=An(),cn=wr(jn,Hn),Fn=Vn(Tt,qt),Kn=(0,nn.Z)(ct),qn=Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Sn);return Ot(Be.createElement(We,Object.assign({direction:En,getPopupContainer:Ge,moreTransitionName:`${dn}-slide-up`},Rt,{items:cn,className:Se()({[`${Tt}-${Kn}`]:Kn,[`${Tt}-card`]:["card","editable-card"].includes(je),[`${Tt}-editable-card`]:je==="editable-card",[`${Tt}-centered`]:Gt},Wt==null?void 0:Wt.className,Re,Ne,ln),popupClassName:Se()(Dn,ln),style:qn,editable:Jt,moreIcon:en,prefixCls:Tt,animated:Fn,indicatorSize:Ct!=null?Ct:Wt==null?void 0:Wt.indicatorSize})))};Cr.TabPane=xn;var wt=Cr},54580:function(Cn,mn,se){"use strict";se.d(mn,{default:function(){return Sn}});var ae=se(59301),He=se(94480),ze=se(92310),rt=se.n(ze),Se=se(54476),ke=se(67732),Oe=se(83652),xe=se(42403),Ee=se(158),Ze=se(20068),yt=se(75931),Be=se(75044),Te=se(76190),dt=se(3202),ot=se(26112);function ft(Ct,Rt){var Xt="cannot ".concat(Ct.method," ").concat(Ct.action," ").concat(Rt.status,"'"),en=new Error(Xt);return en.status=Rt.status,en.method=Ct.method,en.url=Ct.action,en}function lt(Ct){var Rt=Ct.responseText||Ct.response;if(!Rt)return Rt;try{return JSON.parse(Rt)}catch(Xt){return Rt}}function ht(Ct){var Rt=new XMLHttpRequest;Ct.onProgress&&Rt.upload&&(Rt.upload.onprogress=function(Wt){Wt.total>0&&(Wt.percent=Wt.loaded/Wt.total*100),Ct.onProgress(Wt)});var Xt=new FormData;Ct.data&&Object.keys(Ct.data).forEach(function(En){var Wt=Ct.data[En];if(Array.isArray(Wt)){Wt.forEach(function(An){Xt.append("".concat(En,"[]"),An)});return}Xt.append(En,Wt)}),Ct.file instanceof Blob?Xt.append(Ct.filename,Ct.file,Ct.file.name):Xt.append(Ct.filename,Ct.file),Rt.onerror=function(Wt){Ct.onError(Wt)},Rt.onload=function(){return Rt.status<200||Rt.status>=300?Ct.onError(ft(Ct,Rt),lt(Rt)):Ct.onSuccess(lt(Rt),Rt)},Rt.open(Ct.method,Ct.action,!0),Ct.withCredentials&&"withCredentials"in Rt&&(Rt.withCredentials=!0);var en=Ct.headers||{};return en["X-Requested-With"]!==null&&Rt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(en).forEach(function(En){en[En]!==null&&Rt.setRequestHeader(En,en[En])}),Rt.send(Xt),{abort:function(){Rt.abort()}}}var Vt=+new Date,st=0;function vt(){return"rc-upload-".concat(Vt,"-").concat(++st)}var Ke=se(48736),pe=function(Ct,Rt){if(Ct&&Rt){var Xt=Array.isArray(Rt)?Rt:Rt.split(","),en=Ct.name||"",En=Ct.type||"",Wt=En.replace(/\/.*$/,"");return Xt.some(function(An){var Ge=An.trim();if(/^\*(\/\*)?$/.test(An))return!0;if(Ge.charAt(0)==="."){var Tt=en.toLowerCase(),Ot=Ge.toLowerCase(),ln=[Ot];return(Ot===".jpg"||Ot===".jpeg")&&(ln=[".jpg",".jpeg"]),ln.some(function(Jt){return Tt.endsWith(Jt)})}return/\/\*$/.test(Ge)?Wt===Ge.replace(/\/.*$/,""):En===Ge?!0:/^\w+$/.test(Ge)?((0,Ke.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Ge,"'.Skip for check.")),!0):!1})}return!0};function $e(Ct,Rt){var Xt=Ct.createReader(),en=[];function En(){Xt.readEntries(function(Wt){var An=Array.prototype.slice.apply(Wt);en=en.concat(An);var Ge=!An.length;Ge?Rt(en):En()})}En()}var et=function(Rt,Xt,en){var En=function Wt(An,Ge){An&&(An.path=Ge||"",An.isFile?An.file(function(Tt){en(Tt)&&(An.fullPath&&!Tt.webkitRelativePath&&(Object.defineProperties(Tt,{webkitRelativePath:{writable:!0}}),Tt.webkitRelativePath=An.fullPath.replace(/^\//,""),Object.defineProperties(Tt,{webkitRelativePath:{writable:!1}})),Xt([Tt]))}):An.isDirectory&&$e(An,function(Tt){Tt.forEach(function(Ot){Wt(Ot,"".concat(Ge).concat(An.name,"/"))})}))};Rt.forEach(function(Wt){En(Wt.webkitGetAsEntry())})},qe=et,Ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],pt=function(Ct){(0,xe.Z)(Xt,Ct);var Rt=(0,Ee.Z)(Xt);function Xt(){var en;(0,ke.Z)(this,Xt);for(var En=arguments.length,Wt=new Array(En),An=0;An<En;An++)Wt[An]=arguments[An];return en=Rt.call.apply(Rt,[this].concat(Wt)),en.state={uid:vt()},en.reqs={},en.fileInput=void 0,en._isMounted=void 0,en.onChange=function(Ge){var Tt=en.props,Ot=Tt.accept,ln=Tt.directory,Jt=Ge.target.files,dn=(0,He.Z)(Jt).filter(function(cn){return!ln||pe(cn,Ot)});en.uploadFiles(dn),en.reset()},en.onClick=function(Ge){var Tt=en.fileInput;if(Tt){var Ot=Ge.target,ln=en.props.onClick;if(Ot&&Ot.tagName==="BUTTON"){var Jt=Tt.parentNode;Jt.focus(),Ot.blur()}Tt.click(),ln&&ln(Ge)}},en.onKeyDown=function(Ge){Ge.key==="Enter"&&en.onClick(Ge)},en.onFileDrop=function(Ge){var Tt=en.props.multiple;if(Ge.preventDefault(),Ge.type!=="dragover")if(en.props.directory)qe(Array.prototype.slice.call(Ge.dataTransfer.items),en.uploadFiles,function(ln){return pe(ln,en.props.accept)});else{var Ot=(0,He.Z)(Ge.dataTransfer.files).filter(function(ln){return pe(ln,en.props.accept)});Tt===!1&&(Ot=Ot.slice(0,1)),en.uploadFiles(Ot)}},en.uploadFiles=function(Ge){var Tt=(0,He.Z)(Ge),Ot=Tt.map(function(ln){return ln.uid=vt(),en.processFile(ln,Tt)});Promise.all(Ot).then(function(ln){var Jt=en.props.onBatchStart;Jt==null||Jt(ln.map(function(dn){var cn=dn.origin,Fn=dn.parsedFile;return{file:cn,parsedFile:Fn}})),ln.filter(function(dn){return dn.parsedFile!==null}).forEach(function(dn){en.post(dn)})})},en.processFile=function(){var Ge=(0,dt.Z)((0,Be.Z)().mark(function Tt(Ot,ln){var Jt,dn,cn,Fn,Kn,qn,br,Tr,jr;return(0,Be.Z)().wrap(function(tr){for(;;)switch(tr.prev=tr.next){case 0:if(Jt=en.props.beforeUpload,dn=Ot,!Jt){tr.next=14;break}return tr.prev=3,tr.next=6,Jt(Ot,ln);case 6:dn=tr.sent,tr.next=12;break;case 9:tr.prev=9,tr.t0=tr.catch(3),dn=!1;case 12:if(dn!==!1){tr.next=14;break}return tr.abrupt("return",{origin:Ot,parsedFile:null,action:null,data:null});case 14:if(cn=en.props.action,typeof cn!="function"){tr.next=21;break}return tr.next=18,cn(Ot);case 18:Fn=tr.sent,tr.next=22;break;case 21:Fn=cn;case 22:if(Kn=en.props.data,typeof Kn!="function"){tr.next=29;break}return tr.next=26,Kn(Ot);case 26:qn=tr.sent,tr.next=30;break;case 29:qn=Kn;case 30:return br=((0,Te.Z)(dn)==="object"||typeof dn=="string")&&dn?dn:Ot,br instanceof File?Tr=br:Tr=new File([br],Ot.name,{type:Ot.type}),jr=Tr,jr.uid=Ot.uid,tr.abrupt("return",{origin:Ot,data:qn,parsedFile:jr,action:Fn});case 35:case"end":return tr.stop()}},Tt,null,[[3,9]])}));return function(Tt,Ot){return Ge.apply(this,arguments)}}(),en.saveFileInput=function(Ge){en.fileInput=Ge},en}return(0,Oe.Z)(Xt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(En){var Wt=this,An=En.data,Ge=En.origin,Tt=En.action,Ot=En.parsedFile;if(this._isMounted){var ln=this.props,Jt=ln.onStart,dn=ln.customRequest,cn=ln.name,Fn=ln.headers,Kn=ln.withCredentials,qn=ln.method,br=Ge.uid,Tr=dn||ht,jr={action:Tt,filename:cn,data:An,file:Ot,headers:Fn,withCredentials:Kn,method:qn||"post",onProgress:function(tr){var _r=Wt.props.onProgress;_r==null||_r(tr,Ot)},onSuccess:function(tr,_r){var Hr=Wt.props.onSuccess;Hr==null||Hr(tr,Ot,_r),delete Wt.reqs[br]},onError:function(tr,_r){var Hr=Wt.props.onError;Hr==null||Hr(tr,_r,Ot),delete Wt.reqs[br]}};Jt(Ge),this.reqs[br]=Tr(jr)}}},{key:"reset",value:function(){this.setState({uid:vt()})}},{key:"abort",value:function(En){var Wt=this.reqs;if(En){var An=En.uid?En.uid:En;Wt[An]&&Wt[An].abort&&Wt[An].abort(),delete Wt[An]}else Object.keys(Wt).forEach(function(Ge){Wt[Ge]&&Wt[Ge].abort&&Wt[Ge].abort(),delete Wt[Ge]})}},{key:"render",value:function(){var En=this.props,Wt=En.component,An=En.prefixCls,Ge=En.className,Tt=En.disabled,Ot=En.id,ln=En.style,Jt=En.multiple,dn=En.accept,cn=En.capture,Fn=En.children,Kn=En.directory,qn=En.openFileDialogOnClick,br=En.onMouseEnter,Tr=En.onMouseLeave,jr=(0,yt.Z)(En,Ye),Fr=rt()((0,Ze.Z)((0,Ze.Z)((0,Ze.Z)({},An,!0),"".concat(An,"-disabled"),Tt),Ge,Ge)),tr=Kn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},_r=Tt?{}:{onClick:qn?this.onClick:function(){},onKeyDown:qn?this.onKeyDown:function(){},onMouseEnter:br,onMouseLeave:Tr,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ae.createElement(Wt,(0,Se.Z)({},_r,{className:Fr,role:"button",style:ln}),ae.createElement("input",(0,Se.Z)({},(0,ot.Z)(jr,{aria:!0,data:!0}),{id:Ot,disabled:Tt,type:"file",ref:this.saveFileInput,onClick:function(qr){return qr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:dn},tr,{multiple:Jt,onChange:this.onChange},cn!=null?{capture:cn}:{})),Fn)}}]),Xt}(ae.Component),at=pt;function Pt(){}var it=function(Ct){(0,xe.Z)(Xt,Ct);var Rt=(0,Ee.Z)(Xt);function Xt(){var en;(0,ke.Z)(this,Xt);for(var En=arguments.length,Wt=new Array(En),An=0;An<En;An++)Wt[An]=arguments[An];return en=Rt.call.apply(Rt,[this].concat(Wt)),en.uploader=void 0,en.saveUploader=function(Ge){en.uploader=Ge},en}return(0,Oe.Z)(Xt,[{key:"abort",value:function(En){this.uploader.abort(En)}},{key:"render",value:function(){return ae.createElement(at,(0,Se.Z)({},this.props,{ref:this.saveUploader}))}}]),Xt}(ae.Component);it.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Pt,onError:Pt,onSuccess:Pt,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Nt=it,rn=Nt,Ut=se(18929),un=se(4676),jt=se(36355),Qe=se(1684),Ce=se(9763),nt=se(31724),$t={icon:function(Rt,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Xt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Rt}}]}},name:"file",theme:"twotone"},Et=$t,Ve=se(7657),tt=function(Rt,Xt){return ae.createElement(Ve.Z,(0,Se.Z)({},Rt,{ref:Xt,icon:Et}))},At=ae.forwardRef(tt),fn=At,Kt=se(58617),yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},kt=yn,Bt=function(Rt,Xt){return ae.createElement(Ve.Z,(0,Se.Z)({},Rt,{ref:Xt,icon:kt}))},xt=ae.forwardRef(Bt),ve=xt,ce={icon:function(Rt,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Rt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Xt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Xt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Xt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Rt}}]}},name:"picture",theme:"twotone"},le=ce,fe=function(Rt,Xt){return ae.createElement(Ve.Z,(0,Se.Z)({},Rt,{ref:Xt,icon:le}))},he=ae.forwardRef(fe),ue=he,Pe=se(77900),_e=se(56762),Dt=se(62892),Lt=se(92343),Ht=se(3113);function Qt(Ct){return Object.assign(Object.assign({},Ct),{lastModified:Ct.lastModified,lastModifiedDate:Ct.lastModifiedDate,name:Ct.name,size:Ct.size,type:Ct.type,uid:Ct.uid,percent:0,originFileObj:Ct})}function zt(Ct,Rt){const Xt=(0,He.Z)(Rt),en=Xt.findIndex(En=>{let{uid:Wt}=En;return Wt===Ct.uid});return en===-1?Xt.push(Ct):Xt[en]=Ct,Xt}function bn(Ct,Rt){const Xt=Ct.uid!==void 0?"uid":"name";return Rt.filter(en=>en[Xt]===Ct[Xt])[0]}function In(Ct,Rt){const Xt=Ct.uid!==void 0?"uid":"name",en=Rt.filter(En=>En[Xt]!==Ct[Xt]);return en.length===Rt.length?null:en}const Mt=function(){const Rt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),en=Rt[Rt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(en)||[""])[0]},tn=Ct=>Ct.indexOf("image/")===0,Gn=Ct=>{if(Ct.type&&!Ct.thumbUrl)return tn(Ct.type);const Rt=Ct.thumbUrl||Ct.url||"",Xt=Mt(Rt);return/^data:image\//.test(Rt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(Rt)||Xt)},ut=200;function We(Ct){return new Promise(Rt=>{if(!Ct.type||!tn(Ct.type)){Rt("");return}const Xt=document.createElement("canvas");Xt.width=ut,Xt.height=ut,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${ut}px; height: ${ut}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const en=Xt.getContext("2d"),En=new Image;if(En.onload=()=>{const{width:Wt,height:An}=En;let Ge=ut,Tt=ut,Ot=0,ln=0;Wt>An?(Tt=An*(ut/Wt),ln=-(Tt-Ge)/2):(Ge=Wt*(ut/An),Ot=-(Ge-Tt)/2),en.drawImage(En,Ot,ln,Ge,Tt);const Jt=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(En.src),Rt(Jt)},En.crossOrigin="anonymous",Ct.type.startsWith("image/svg+xml")){const Wt=new FileReader;Wt.onload=()=>{Wt.result&&(En.src=Wt.result)},Wt.readAsDataURL(Ct)}else if(Ct.type.startsWith("image/gif")){const Wt=new FileReader;Wt.onload=()=>{Wt.result&&Rt(Wt.result)},Wt.readAsDataURL(Ct)}else En.src=window.URL.createObjectURL(Ct)})}var Ue=se(26227),nn=se(41464),gn=se(15277),xn=se(93948),Un=se(6848),Vn=ae.forwardRef((Ct,Rt)=>{let{prefixCls:Xt,className:en,style:En,locale:Wt,listType:An,file:Ge,items:Tt,progress:Ot,iconRender:ln,actionIconRender:Jt,itemRender:dn,isImgUrl:cn,showPreviewIcon:Fn,showRemoveIcon:Kn,showDownloadIcon:qn,previewIcon:br,removeIcon:Tr,downloadIcon:jr,onPreview:Fr,onDownload:tr,onClose:_r}=Ct;var Hr,qr;const{status:Mr}=Ge,[Ir,$r]=ae.useState(Mr);ae.useEffect(()=>{Mr!=="removed"&&$r(Mr)},[Mr]);const[Wr,wi]=ae.useState(!1);ae.useEffect(()=>{const Ji=setTimeout(()=>{wi(!0)},300);return()=>{clearTimeout(Ji)}},[]);const Ii=ln(Ge);let Zr=ae.createElement("div",{className:`${Xt}-icon`},Ii);if(An==="picture"||An==="picture-card"||An==="picture-circle")if(Ir==="uploading"||!Ge.thumbUrl&&!Ge.url){const Ji=rt()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Ir!=="uploading"});Zr=ae.createElement("div",{className:Ji},Ii)}else{const Ji=cn!=null&&cn(Ge)?ae.createElement("img",{src:Ge.thumbUrl||Ge.url,alt:Ge.name,className:`${Xt}-list-item-image`,crossOrigin:Ge.crossOrigin}):Ii,ji=rt()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:cn&&!cn(Ge)});Zr=ae.createElement("a",{className:ji,onClick:Ni=>Fr(Ge,Ni),href:Ge.url||Ge.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ji)}const Xn=rt()(`${Xt}-list-item`,`${Xt}-list-item-${Ir}`),Yn=typeof Ge.linkProps=="string"?JSON.parse(Ge.linkProps):Ge.linkProps,Xr=Kn?Jt((typeof Tr=="function"?Tr(Ge):Tr)||ae.createElement(Ue.Z,null),()=>_r(Ge),Xt,Wt.removeFile):null,Nr=qn&&Ir==="done"?Jt((typeof jr=="function"?jr(Ge):jr)||ae.createElement(nn.Z,null),()=>tr(Ge),Xt,Wt.downloadFile):null,oi=An!=="picture-card"&&An!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:rt()(`${Xt}-list-item-actions`,{picture:An==="picture"})},Nr,Xr),ci=rt()(`${Xt}-list-item-name`),di=Ge.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ci,title:Ge.name},Yn,{href:Ge.url,onClick:Ji=>Fr(Ge,Ji)}),Ge.name),oi]:[ae.createElement("span",{key:"view",className:ci,onClick:Ji=>Fr(Ge,Ji),title:Ge.name},Ge.name),oi],Gr={pointerEvents:"none",opacity:.5},ti=Fn?ae.createElement("a",{href:Ge.url||Ge.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Ge.url||Ge.thumbUrl?void 0:Gr,onClick:Ji=>Fr(Ge,Ji),title:Wt.previewFile},typeof br=="function"?br(Ge):br||ae.createElement(gn.Z,null)):null,Gi=(An==="picture-card"||An==="picture-circle")&&Ir!=="uploading"&&ae.createElement("span",{className:`${Xt}-list-item-actions`},ti,Ir==="done"&&Nr,Xr),{getPrefixCls:Sr}=ae.useContext(jt.E_),Or=Sr(),fi=ae.createElement("div",{className:Xn},Zr,di,Gi,Wr&&ae.createElement(Pe.default,{motionName:`${Or}-fade`,visible:Ir==="uploading",motionDeadline:2e3},Ji=>{let{className:ji}=Ji;const Ni="percent"in Ge?ae.createElement(xn.Z,Object.assign({},Ot,{type:"line",percent:Ge.percent,"aria-label":Ge["aria-label"],"aria-labelledby":Ge["aria-labelledby"]})):null;return ae.createElement("div",{className:rt()(`${Xt}-list-item-progress`,ji)},Ni)})),Ei=Ge.response&&typeof Ge.response=="string"?Ge.response:((Hr=Ge.error)===null||Hr===void 0?void 0:Hr.statusText)||((qr=Ge.error)===null||qr===void 0?void 0:qr.message)||Wt.uploadError,Xi=Ir==="error"?ae.createElement(Un.Z,{title:Ei,getPopupContainer:Ji=>Ji.parentNode},fi):fi;return ae.createElement("div",{className:rt()(`${Xt}-list-item-container`,en),style:En,ref:Rt},dn?dn(Xi,Ge,Tt,{download:tr.bind(null,Ge),preview:Fr.bind(null,Ge),remove:_r.bind(null,Ge)}):Xi)});const dr=(Ct,Rt)=>{const{listType:Xt="text",previewFile:en=We,onPreview:En,onDownload:Wt,onRemove:An,locale:Ge,iconRender:Tt,isImageUrl:Ot=Gn,prefixCls:ln,items:Jt=[],showPreviewIcon:dn=!0,showRemoveIcon:cn=!0,showDownloadIcon:Fn=!1,removeIcon:Kn,previewIcon:qn,downloadIcon:br,progress:Tr={size:[-1,2],showInfo:!1},appendAction:jr,appendActionVisible:Fr=!0,itemRender:tr,disabled:_r}=Ct,Hr=(0,_e.Z)(),[qr,Mr]=ae.useState(!1);ae.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(Jt||[]).forEach(Gr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Gr.originFileObj instanceof File||Gr.originFileObj instanceof Blob)||Gr.thumbUrl!==void 0||(Gr.thumbUrl="",en&&en(Gr.originFileObj).then(ti=>{Gr.thumbUrl=ti||"",Hr()}))})},[Xt,Jt,en]),ae.useEffect(()=>{Mr(!0)},[]);const Ir=(Gr,ti)=>{if(En)return ti==null||ti.preventDefault(),En(Gr)},$r=Gr=>{typeof Wt=="function"?Wt(Gr):Gr.url&&window.open(Gr.url)},Wr=Gr=>{An==null||An(Gr)},wi=Gr=>{if(Tt)return Tt(Gr,Xt);const ti=Gr.status==="uploading",Gi=Ot&&Ot(Gr)?ae.createElement(ue,null):ae.createElement(fn,null);let Sr=ti?ae.createElement(Kt.Z,null):ae.createElement(ve,null);return Xt==="picture"?Sr=ti?ae.createElement(Kt.Z,null):Gi:(Xt==="picture-card"||Xt==="picture-circle")&&(Sr=ti?Ge.uploading:Gi),Sr},Ii=(Gr,ti,Gi,Sr)=>{const Or={type:"text",size:"small",title:Sr,onClick:fi=>{ti(),(0,Lt.l$)(Gr)&&Gr.props.onClick&&Gr.props.onClick(fi)},className:`${Gi}-list-item-action`,disabled:_r};if((0,Lt.l$)(Gr)){const fi=(0,Lt.Tm)(Gr,Object.assign(Object.assign({},Gr.props),{onClick:()=>{}}));return ae.createElement(Ht.ZP,Object.assign({},Or,{icon:fi}))}return ae.createElement(Ht.ZP,Object.assign({},Or),ae.createElement("span",null,Gr))};ae.useImperativeHandle(Rt,()=>({handlePreview:Ir,handleDownload:$r}));const{getPrefixCls:Zr}=ae.useContext(jt.E_),Xn=Zr("upload",ln),Yn=Zr(),Xr=rt()(`${Xn}-list`,`${Xn}-list-${Xt}`),Nr=(0,He.Z)(Jt.map(Gr=>({key:Gr.uid,file:Gr})));let ci={motionDeadline:2e3,motionName:`${Xn}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:Nr,motionAppear:qr};const di=ae.useMemo(()=>{const Gr=Object.assign({},(0,Dt.Z)(Yn));return delete Gr.onAppearEnd,delete Gr.onEnterEnd,delete Gr.onLeaveEnd,Gr},[Yn]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(ci=Object.assign(Object.assign({},di),ci)),ae.createElement("div",{className:Xr},ae.createElement(Pe.CSSMotionList,Object.assign({},ci,{component:!1}),Gr=>{let{key:ti,file:Gi,className:Sr,style:Or}=Gr;return ae.createElement(Vn,{key:ti,locale:Ge,prefixCls:Xn,className:Sr,style:Or,file:Gi,items:Jt,progress:Tr,listType:Xt,isImgUrl:Ot,showPreviewIcon:dn,showRemoveIcon:cn,showDownloadIcon:Fn,removeIcon:Kn,previewIcon:qn,downloadIcon:br,iconRender:wi,actionIconRender:Ii,itemRender:tr,onPreview:Ir,onDownload:$r,onClose:Wr})}),jr&&ae.createElement(Pe.default,Object.assign({},ci,{visible:Fr,forceRender:!0}),Gr=>{let{className:ti,style:Gi}=Gr;return(0,Lt.Tm)(jr,Sr=>({className:rt()(Sr.className,ti),style:Object.assign(Object.assign(Object.assign({},Gi),{pointerEvents:ti?"none":void 0}),Sr.style)}))}))};var _n=ae.forwardRef(dr),wr=se(17313),Jr=se(8378),pr=se(83116),pi=se(37613),Qr=Ct=>{const{componentCls:Rt,iconCls:Xt}=Ct;return{[`${Rt}-wrapper`]:{[`${Rt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ct.colorFillAlter,border:`${Ct.lineWidth}px dashed ${Ct.colorBorder}`,borderRadius:Ct.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ct.motionDurationSlow}`,[Rt]:{padding:`${Ct.padding}px 0`},[`${Rt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Rt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Rt}-disabled):hover`]:{borderColor:Ct.colorPrimaryHover},[`p${Rt}-drag-icon`]:{marginBottom:Ct.margin,[Xt]:{color:Ct.colorPrimary,fontSize:Ct.uploadThumbnailSize}},[`p${Rt}-text`]:{margin:`0 0 ${Ct.marginXXS}px`,color:Ct.colorTextHeading,fontSize:Ct.fontSizeLG},[`p${Rt}-hint`]:{color:Ct.colorTextDescription,fontSize:Ct.fontSize},[`&${Rt}-disabled`]:{cursor:"not-allowed",[`p${Rt}-drag-icon ${Xt},
|
|
|
p${Rt}-text,
|
|
|
p${Rt}-hint
|
|
|
`]:{color:Ct.colorTextDisabled}}}}}},Zn=Ct=>{const{componentCls:Rt,antCls:Xt,iconCls:en,fontSize:En,lineHeight:Wt}=Ct,An=`${Rt}-list-item`,Ge=`${An}-actions`,Tt=`${An}-action`,Ot=Math.round(En*Wt);return{[`${Rt}-wrapper`]:{[`${Rt}-list`]:Object.assign(Object.assign({},(0,wr.dF)()),{lineHeight:Ct.lineHeight,[An]:{position:"relative",height:Ct.lineHeight*En,marginTop:Ct.marginXS,fontSize:En,display:"flex",alignItems:"center",transition:`background-color ${Ct.motionDurationSlow}`,"&:hover":{backgroundColor:Ct.controlItemBgHover},[`${An}-name`]:Object.assign(Object.assign({},wr.vS),{padding:`0 ${Ct.paddingXS}px`,lineHeight:Wt,flex:"auto",transition:`all ${Ct.motionDurationSlow}`}),[Ge]:{[Tt]:{opacity:0},[`${Tt}${Xt}-btn-sm`]:{height:Ot,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
|
${Tt}:focus-visible,
|
|
|
&.picture ${Tt}
|
|
|
`]:{opacity:1},[en]:{color:Ct.actionsColor,transition:`all ${Ct.motionDurationSlow}`},[`&:hover ${en}`]:{color:Ct.colorText}},[`${Rt}-icon ${en}`]:{color:Ct.colorTextDescription,fontSize:En},[`${An}-progress`]:{position:"absolute",bottom:-Ct.uploadProgressOffset,width:"100%",paddingInlineStart:En+Ct.paddingXS,fontSize:En,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${An}:hover ${Tt}`]:{opacity:1,color:Ct.colorText},[`${An}-error`]:{color:Ct.colorError,[`${An}-name, ${Rt}-icon ${en}`]:{color:Ct.colorError},[Ge]:{[`${en}, ${en}:hover`]:{color:Ct.colorError},[Tt]:{opacity:1}}},[`${Rt}-list-item-container`]:{transition:`opacity ${Ct.motionDurationSlow}, height ${Ct.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},rr=se(36237),ur=se(1950);const nr=new rr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),fr=new rr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Br=Ct=>{const{componentCls:Rt}=Ct,Xt=`${Rt}-animate-inline`;return[{[`${Rt}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:Ct.motionDurationSlow,animationTimingFunction:Ct.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:nr},[`${Xt}-leave`]:{animationName:fr}}},{[`${Rt}-wrapper`]:(0,ur.J$)(Ct)},nr,fr]},ir=se(30071),Bn=se(64993);const Cr=Ct=>{const{componentCls:Rt,iconCls:Xt,uploadThumbnailSize:en,uploadProgressOffset:En}=Ct,Wt=`${Rt}-list`,An=`${Wt}-item`;return{[`${Rt}-wrapper`]:{[`
|
|
|
${Wt}${Wt}-picture,
|
|
|
${Wt}${Wt}-picture-card,
|
|
|
${Wt}${Wt}-picture-circle
|
|
|
`]:{[An]:{position:"relative",height:en+Ct.lineWidth*2+Ct.paddingXS*2,padding:Ct.paddingXS,border:`${Ct.lineWidth}px ${Ct.lineType} ${Ct.colorBorder}`,borderRadius:Ct.borderRadiusLG,"&:hover":{background:"transparent"},[`${An}-thumbnail`]:Object.assign(Object.assign({},wr.vS),{width:en,height:en,lineHeight:`${en+Ct.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:Ct.fontSizeHeading2,color:Ct.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${An}-progress`]:{bottom:En,width:`calc(100% - ${Ct.paddingSM*2}px)`,marginTop:0,paddingInlineStart:en+Ct.paddingXS}},[`${An}-error`]:{borderColor:Ct.colorError,[`${An}-thumbnail ${Xt}`]:{[`svg path[fill='${ir.blue[0]}']`]:{fill:Ct.colorErrorBg},[`svg path[fill='${ir.blue.primary}']`]:{fill:Ct.colorError}}},[`${An}-uploading`]:{borderStyle:"dashed",[`${An}-name`]:{marginBottom:En}}},[`${Wt}${Wt}-picture-circle ${An}`]:{[`&, &::before, ${An}-thumbnail`]:{borderRadius:"50%"}}}}},wt=Ct=>{const{componentCls:Rt,iconCls:Xt,fontSizeLG:en,colorTextLightSolid:En}=Ct,Wt=`${Rt}-list`,An=`${Wt}-item`,Ge=Ct.uploadPicCardSize;return{[`
|
|
|
${Rt}-wrapper${Rt}-picture-card-wrapper,
|
|
|
${Rt}-wrapper${Rt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,wr.dF)()),{display:"inline-block",width:"100%",[`${Rt}${Rt}-select`]:{width:Ge,height:Ge,marginInlineEnd:Ct.marginXS,marginBottom:Ct.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ct.colorFillAlter,border:`${Ct.lineWidth}px dashed ${Ct.colorBorder}`,borderRadius:Ct.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ct.motionDurationSlow}`,[`> ${Rt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Rt}-disabled):hover`]:{borderColor:Ct.colorPrimary}},[`${Wt}${Wt}-picture-card, ${Wt}${Wt}-picture-circle`]:{[`${Wt}-item-container`]:{display:"inline-block",width:Ge,height:Ge,marginBlock:`0 ${Ct.marginXS}px`,marginInline:`0 ${Ct.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[An]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ct.paddingXS*2}px)`,height:`calc(100% - ${Ct.paddingXS*2}px)`,backgroundColor:Ct.colorBgMask,opacity:0,transition:`all ${Ct.motionDurationSlow}`,content:'" "'}},[`${An}:hover`]:{[`&::before, ${An}-actions`]:{opacity:1}},[`${An}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ct.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:en,margin:`0 ${Ct.marginXXS}px`,fontSize:en,cursor:"pointer",transition:`all ${Ct.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${An}-actions, ${An}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new Bn.C(En).setAlpha(.65).toRgbString(),"&:hover":{color:En}}},[`${An}-thumbnail, ${An}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${An}-name`]:{display:"none",textAlign:"center"},[`${An}-file + ${An}-name`]:{position:"absolute",bottom:Ct.margin,display:"block",width:`calc(100% - ${Ct.paddingXS*2}px)`},[`${An}-uploading`]:{[`&${An}`]:{backgroundColor:Ct.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${An}-progress`]:{bottom:Ct.marginXL,width:`calc(100% - ${Ct.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Rt}-wrapper${Rt}-picture-circle-wrapper`]:{[`${Rt}${Rt}-select`]:{borderRadius:"50%"}}}};var je=Ct=>{const{componentCls:Rt}=Ct;return{[`${Rt}-rtl`]:{direction:"rtl"}}};const Re=Ct=>{const{componentCls:Rt,colorTextDisabled:Xt}=Ct;return{[`${Rt}-wrapper`]:Object.assign(Object.assign({},(0,wr.Wf)(Ct)),{[Rt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Rt}-select`]:{display:"inline-block"},[`${Rt}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var Ne=(0,pr.Z)("Upload",Ct=>{const{fontSizeHeading3:Rt,fontSize:Xt,lineHeight:en,lineWidth:En,controlHeightLG:Wt}=Ct,An=Math.round(Xt*en),Ge=(0,pi.TS)(Ct,{uploadThumbnailSize:Rt*2,uploadProgressOffset:An/2+En,uploadPicCardSize:Wt*2.55});return[Re(Ge),Qr(Ge),Cr(Ge),wt(Ge),Zn(Ge),Br(Ge),je(Ge),(0,Jr.Z)(Ge)]},Ct=>({actionsColor:Ct.colorTextDescription})),ct=function(Ct,Rt,Xt,en){function En(Wt){return Wt instanceof Xt?Wt:new Xt(function(An){An(Wt)})}return new(Xt||(Xt=Promise))(function(Wt,An){function Ge(ln){try{Ot(en.next(ln))}catch(Jt){An(Jt)}}function Tt(ln){try{Ot(en.throw(ln))}catch(Jt){An(Jt)}}function Ot(ln){ln.done?Wt(ln.value):En(ln.value).then(Ge,Tt)}Ot((en=en.apply(Ct,Rt||[])).next())})};const St=`__LIST_IGNORE_${Date.now()}__`,an=(Ct,Rt)=>{const{fileList:Xt,defaultFileList:en,onRemove:En,showUploadList:Wt=!0,listType:An="text",onPreview:Ge,onDownload:Tt,onChange:Ot,onDrop:ln,previewFile:Jt,disabled:dn,locale:cn,iconRender:Fn,isImageUrl:Kn,progress:qn,prefixCls:br,className:Tr,type:jr="select",children:Fr,style:tr,itemRender:_r,maxCount:Hr,data:qr={},multiple:Mr=!1,action:Ir="",accept:$r="",supportServerRender:Wr=!0,rootClassName:wi}=Ct,Ii=ae.useContext(Qe.Z),Zr=dn!=null?dn:Ii,[Xn,Yn]=(0,Ut.Z)(en||[],{value:Xt,postState:Pi=>Pi!=null?Pi:[]}),[Xr,Nr]=ae.useState("drop"),oi=ae.useRef(null);ae.useMemo(()=>{const Pi=Date.now();(Xt||[]).forEach((zi,Aa)=>{!zi.uid&&!Object.isFrozen(zi)&&(zi.uid=`__AUTO__${Pi}_${Aa}__`)})},[Xt]);const ci=(Pi,zi,Aa)=>{let Yi=(0,He.Z)(zi),$i=!1;Hr===1?Yi=Yi.slice(-1):Hr&&($i=Yi.length>Hr,Yi=Yi.slice(0,Hr)),(0,un.flushSync)(()=>{Yn(Yi)});const wn={file:Pi,fileList:Yi};Aa&&(wn.event=Aa),(!$i||Yi.some(hn=>hn.uid===Pi.uid))&&(0,un.flushSync)(()=>{Ot==null||Ot(wn)})},di=(Pi,zi)=>ct(void 0,void 0,void 0,function*(){const{beforeUpload:Aa,transformFile:Yi}=Ct;let $i=Pi;if(Aa){const wn=yield Aa(Pi,zi);if(wn===!1)return!1;if(delete Pi[St],wn===St)return Object.defineProperty(Pi,St,{value:!0,configurable:!0}),!1;typeof wn=="object"&&wn&&($i=wn)}return Yi&&($i=yield Yi($i)),$i}),Gr=Pi=>{const zi=Pi.filter($i=>!$i.file[St]);if(!zi.length)return;const Aa=zi.map($i=>Qt($i.file));let Yi=(0,He.Z)(Xn);Aa.forEach($i=>{Yi=zt($i,Yi)}),Aa.forEach(($i,wn)=>{let hn=$i;if(zi[wn].parsedFile)$i.status="uploading";else{const{originFileObj:on}=$i;let Rn;try{Rn=new File([on],on.name,{type:on.type})}catch(or){Rn=new Blob([on],{type:on.type}),Rn.name=on.name,Rn.lastModifiedDate=new Date,Rn.lastModified=new Date().getTime()}Rn.uid=$i.uid,hn=Rn}ci(hn,Yi)})},ti=(Pi,zi,Aa)=>{try{typeof Pi=="string"&&(Pi=JSON.parse(Pi))}catch(wn){}if(!bn(zi,Xn))return;const Yi=Qt(zi);Yi.status="done",Yi.percent=100,Yi.response=Pi,Yi.xhr=Aa;const $i=zt(Yi,Xn);ci(Yi,$i)},Gi=(Pi,zi)=>{if(!bn(zi,Xn))return;const Aa=Qt(zi);Aa.status="uploading",Aa.percent=Pi.percent;const Yi=zt(Aa,Xn);ci(Aa,Yi,Pi)},Sr=(Pi,zi,Aa)=>{if(!bn(Aa,Xn))return;const Yi=Qt(Aa);Yi.error=Pi,Yi.response=zi,Yi.status="error";const $i=zt(Yi,Xn);ci(Yi,$i)},Or=Pi=>{let zi;Promise.resolve(typeof En=="function"?En(Pi):En).then(Aa=>{var Yi;if(Aa===!1)return;const $i=In(Pi,Xn);$i&&(zi=Object.assign(Object.assign({},Pi),{status:"removed"}),Xn==null||Xn.forEach(wn=>{const hn=zi.uid!==void 0?"uid":"name";wn[hn]===zi[hn]&&!Object.isFrozen(wn)&&(wn.status="removed")}),(Yi=oi.current)===null||Yi===void 0||Yi.abort(zi),ci(zi,$i))})},fi=Pi=>{Nr(Pi.type),Pi.type==="drop"&&(ln==null||ln(Pi))};ae.useImperativeHandle(Rt,()=>({onBatchStart:Gr,onSuccess:ti,onProgress:Gi,onError:Sr,fileList:Xn,upload:oi.current}));const{getPrefixCls:Ei,direction:Xi,upload:Ji}=ae.useContext(jt.E_),ji=Ei("upload",br),Ni=Object.assign(Object.assign({onBatchStart:Gr,onError:Sr,onProgress:Gi,onSuccess:ti},Ct),{data:qr,multiple:Mr,action:Ir,accept:$r,supportServerRender:Wr,prefixCls:ji,disabled:Zr,beforeUpload:di,onChange:void 0});delete Ni.className,delete Ni.style,(!Fr||Zr)&&delete Ni.id;const[ua,ca]=Ne(ji),[Lr]=(0,Ce.Z)("Upload",nt.Z.Upload),{showRemoveIcon:Dr,showPreviewIcon:kr,showDownloadIcon:Ur,removeIcon:Ti,previewIcon:pa,downloadIcon:ga}=typeof Wt=="boolean"?{}:Wt,ia=(Pi,zi)=>Wt?ae.createElement(_n,{prefixCls:ji,listType:An,items:Xn,previewFile:Jt,onPreview:Ge,onDownload:Tt,onRemove:Or,showRemoveIcon:!Zr&&Dr,showPreviewIcon:kr,showDownloadIcon:Ur,removeIcon:Ti,previewIcon:pa,downloadIcon:ga,iconRender:Fn,locale:Object.assign(Object.assign({},Lr),cn),isImageUrl:Kn,progress:qn,appendAction:Pi,appendActionVisible:zi,itemRender:_r,disabled:Zr}):Pi,Qi=rt()(`${ji}-wrapper`,Tr,wi,ca,Ji==null?void 0:Ji.className,{[`${ji}-rtl`]:Xi==="rtl",[`${ji}-picture-card-wrapper`]:An==="picture-card",[`${ji}-picture-circle-wrapper`]:An==="picture-circle"}),ya=Object.assign(Object.assign({},Ji==null?void 0:Ji.style),tr);if(jr==="drag"){const Pi=rt()(ca,ji,`${ji}-drag`,{[`${ji}-drag-uploading`]:Xn.some(zi=>zi.status==="uploading"),[`${ji}-drag-hover`]:Xr==="dragover",[`${ji}-disabled`]:Zr,[`${ji}-rtl`]:Xi==="rtl"});return ua(ae.createElement("span",{className:Qi},ae.createElement("div",{className:Pi,style:ya,onDrop:fi,onDragOver:fi,onDragLeave:fi},ae.createElement(rn,Object.assign({},Ni,{ref:oi,className:`${ji}-btn`}),ae.createElement("div",{className:`${ji}-drag-container`},Fr))),ia()))}const ja=rt()(ji,`${ji}-select`,{[`${ji}-disabled`]:Zr}),mo=(Pi=>ae.createElement("div",{className:ja,style:Pi},ae.createElement(rn,Object.assign({},Ni,{ref:oi}))))(Fr?void 0:{display:"none"});return ua(An==="picture-card"||An==="picture-circle"?ae.createElement("span",{className:Qi},ia(mo,!!Fr)):ae.createElement("span",{className:Qi},mo,ia()))};var Zt=ae.forwardRef(an),Dn=function(Ct,Rt){var Xt={};for(var en in Ct)Object.prototype.hasOwnProperty.call(Ct,en)&&Rt.indexOf(en)<0&&(Xt[en]=Ct[en]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var En=0,en=Object.getOwnPropertySymbols(Ct);En<en.length;En++)Rt.indexOf(en[En])<0&&Object.prototype.propertyIsEnumerable.call(Ct,en[En])&&(Xt[en[En]]=Ct[en[En]]);return Xt},jn=ae.forwardRef((Ct,Rt)=>{var{style:Xt,height:en}=Ct,En=Dn(Ct,["style","height"]);return ae.createElement(Zt,Object.assign({ref:Rt},En,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:en})}))});const qt=Zt;qt.Dragger=jn,qt.LIST_IGNORE=St;var Sn=qt},99498:function(Cn,mn,se){(function(ae){ae(se(89780))})(function(ae){ae.defineOption("placeholder","",function(xe,Ee,Ze){var yt=Ze&&Ze!=ae.Init;if(Ee&&!yt)xe.on("blur",Se),xe.on("change",ke),xe.on("swapDoc",ke),ae.on(xe.getInputField(),"compositionupdate",xe.state.placeholderCompose=function(){rt(xe)}),ke(xe);else if(!Ee&&yt){xe.off("blur",Se),xe.off("change",ke),xe.off("swapDoc",ke),ae.off(xe.getInputField(),"compositionupdate",xe.state.placeholderCompose),He(xe);var Be=xe.getWrapperElement();Be.className=Be.className.replace(" CodeMirror-empty","")}Ee&&!xe.hasFocus()&&Se(xe)});function He(xe){xe.state.placeholder&&(xe.state.placeholder.parentNode.removeChild(xe.state.placeholder),xe.state.placeholder=null)}function ze(xe){He(xe);var Ee=xe.state.placeholder=document.createElement("pre");Ee.style.cssText="height: 0; overflow: visible",Ee.style.direction=xe.getOption("direction"),Ee.className="CodeMirror-placeholder CodeMirror-line-like";var Ze=xe.getOption("placeholder");typeof Ze=="string"&&(Ze=document.createTextNode(Ze)),Ee.appendChild(Ze),xe.display.lineSpace.insertBefore(Ee,xe.display.lineSpace.firstChild)}function rt(xe){setTimeout(function(){var Ee=!1,Ze=xe.getInputField();Ze.nodeName=="TEXTAREA"?Ee=!Ze.value:xe.lineCount()==1&&(Ee=!/[^\u200b]/.test(Ze.querySelector(".CodeMirror-line").textContent)),Ee?ze(xe):He(xe)},20)}function Se(xe){Oe(xe)&&ze(xe)}function ke(xe){var Ee=xe.getWrapperElement(),Ze=Oe(xe);Ee.className=Ee.className.replace(" CodeMirror-empty","")+(Ze?" CodeMirror-empty":""),Ze?ze(xe):He(xe)}function Oe(xe){return xe.lineCount()===1&&xe.getLine(0)===""}})},25717:function(Cn,mn,se){(function(ae){ae(se(89780))})(function(ae){var He={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ze=ae.Pos;ae.defineOption("autoCloseBrackets",!1,function(ot,ft,lt){lt&<!=ae.Init&&(ot.removeKeyMap(Se),ot.state.closeBrackets=null),ft&&(ke(rt(ft,"pairs")),ot.state.closeBrackets=ft,ot.addKeyMap(Se))});function rt(ot,ft){return ft=="pairs"&&typeof ot=="string"?ot:typeof ot=="object"&&ot[ft]!=null?ot[ft]:He[ft]}var Se={Backspace:Ee,Enter:Ze};function ke(ot){for(var ft=0;ft<ot.length;ft++){var lt=ot.charAt(ft),ht="'"+lt+"'";Se[ht]||(Se[ht]=Oe(lt))}}ke(He.pairs+"`");function Oe(ot){return function(ft){return Be(ft,ot)}}function xe(ot){var ft=ot.state.closeBrackets;if(!ft||ft.override)return ft;var lt=ot.getModeAt(ot.getCursor());return lt.closeBrackets||ft}function Ee(ot){var ft=xe(ot);if(!ft||ot.getOption("disableInput"))return ae.Pass;for(var lt=rt(ft,"pairs"),ht=ot.listSelections(),Vt=0;Vt<ht.length;Vt++){if(!ht[Vt].empty())return ae.Pass;var st=Te(ot,ht[Vt].head);if(!st||lt.indexOf(st)%2!=0)return ae.Pass}for(var Vt=ht.length-1;Vt>=0;Vt--){var vt=ht[Vt].head;ot.replaceRange("",ze(vt.line,vt.ch-1),ze(vt.line,vt.ch+1),"+delete")}}function Ze(ot){var ft=xe(ot),lt=ft&&rt(ft,"explode");if(!lt||ot.getOption("disableInput"))return ae.Pass;for(var ht=ot.listSelections(),Vt=0;Vt<ht.length;Vt++){if(!ht[Vt].empty())return ae.Pass;var st=Te(ot,ht[Vt].head);if(!st||lt.indexOf(st)%2!=0)return ae.Pass}ot.operation(function(){var vt=ot.lineSeparator()||`
|
|
|
`;ot.replaceSelection(vt+vt,null),ot.execCommand("goCharLeft"),ht=ot.listSelections();for(var Ke=0;Ke<ht.length;Ke++){var pe=ht[Ke].head.line;ot.indentLine(pe,null,!0),ot.indentLine(pe+1,null,!0)}})}function yt(ot){var ft=ae.cmpPos(ot.anchor,ot.head)>0;return{anchor:new ze(ot.anchor.line,ot.anchor.ch+(ft?-1:1)),head:new ze(ot.head.line,ot.head.ch+(ft?1:-1))}}function Be(ot,ft){var lt=xe(ot);if(!lt||ot.getOption("disableInput"))return ae.Pass;var ht=rt(lt,"pairs"),Vt=ht.indexOf(ft);if(Vt==-1)return ae.Pass;for(var st=rt(lt,"closeBefore"),vt=rt(lt,"triples"),Ke=ht.charAt(Vt+1)==ft,pe=ot.listSelections(),$e=Vt%2==0,et,qe=0;qe<pe.length;qe++){var Ye=pe[qe],pt=Ye.head,at,Pt=ot.getRange(pt,ze(pt.line,pt.ch+1));if($e&&!Ye.empty())at="surround";else if((Ke||!$e)&&Pt==ft)Ke&&dt(ot,pt)?at="both":vt.indexOf(ft)>=0&&ot.getRange(pt,ze(pt.line,pt.ch+3))==ft+ft+ft?at="skipThree":at="skip";else if(Ke&&pt.ch>1&&vt.indexOf(ft)>=0&&ot.getRange(ze(pt.line,pt.ch-2),pt)==ft+ft){if(pt.ch>2&&/\bstring/.test(ot.getTokenTypeAt(ze(pt.line,pt.ch-2))))return ae.Pass;at="addFour"}else if(Ke){var it=pt.ch==0?" ":ot.getRange(ze(pt.line,pt.ch-1),pt);if(!ae.isWordChar(Pt)&&it!=ft&&!ae.isWordChar(it))at="both";else return ae.Pass}else if($e&&(Pt.length===0||/\s/.test(Pt)||st.indexOf(Pt)>-1))at="both";else return ae.Pass;if(!et)et=at;else if(et!=at)return ae.Pass}var Nt=Vt%2?ht.charAt(Vt-1):ft,rn=Vt%2?ft:ht.charAt(Vt+1);ot.operation(function(){if(et=="skip")ot.execCommand("goCharRight");else if(et=="skipThree")for(var Ut=0;Ut<3;Ut++)ot.execCommand("goCharRight");else if(et=="surround"){for(var un=ot.getSelections(),Ut=0;Ut<un.length;Ut++)un[Ut]=Nt+un[Ut]+rn;ot.replaceSelections(un,"around"),un=ot.listSelections().slice();for(var Ut=0;Ut<un.length;Ut++)un[Ut]=yt(un[Ut]);ot.setSelections(un)}else et=="both"?(ot.replaceSelection(Nt+rn,null),ot.triggerElectric(Nt+rn),ot.execCommand("goCharLeft")):et=="addFour"&&(ot.replaceSelection(Nt+Nt+Nt+Nt,"before"),ot.execCommand("goCharRight"))})}function Te(ot,ft){var lt=ot.getRange(ze(ft.line,ft.ch-1),ze(ft.line,ft.ch+1));return lt.length==2?lt:null}function dt(ot,ft){var lt=ot.getTokenAt(ze(ft.line,ft.ch+1));return/\bstring/.test(lt.type)&<.start==ft.ch&&(ft.ch==0||!/\bstring/.test(ot.getTokenTypeAt(ft)))}})},6313:function(Cn,mn,se){(function(ae){ae(se(89780),se(32855))})(function(ae){ae.defineOption("autoCloseTags",!1,function(Ee,Ze,yt){if(yt!=ae.Init&&yt&&Ee.removeKeyMap("autoCloseTags"),!!Ze){var Be={name:"autoCloseTags"};(typeof Ze!="object"||Ze.whenClosing!==!1)&&(Be["'/'"]=function(Te){return ke(Te)}),(typeof Ze!="object"||Ze.whenOpening!==!1)&&(Be["'>'"]=function(Te){return rt(Te)}),Ee.addKeyMap(Be)}});var He=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ze=["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 rt(Ee){if(Ee.getOption("disableInput"))return ae.Pass;for(var Ze=Ee.listSelections(),yt=[],Be=Ee.getOption("autoCloseTags"),Te=0;Te<Ze.length;Te++){if(!Ze[Te].empty())return ae.Pass;var dt=Ze[Te].head,ot=Ee.getTokenAt(dt),ft=ae.innerMode(Ee.getMode(),ot.state),lt=ft.state,ht=ft.mode.xmlCurrentTag&&ft.mode.xmlCurrentTag(lt),Vt=ht&&ht.name;if(!Vt)return ae.Pass;var st=ft.mode.configuration=="html",vt=typeof Be=="object"&&Be.dontCloseTags||st&&He,Ke=typeof Be=="object"&&Be.indentTags||st&&ze;ot.end>dt.ch&&(Vt=Vt.slice(0,Vt.length-ot.end+dt.ch));var pe=Vt.toLowerCase();if(!Vt||ot.type=="string"&&(ot.end!=dt.ch||!/[\"\']/.test(ot.string.charAt(ot.string.length-1))||ot.string.length==1)||ot.type=="tag"&&ht.close||ot.string.indexOf("/")==dt.ch-ot.start-1||vt&&Oe(vt,pe)>-1||xe(Ee,ft.mode.xmlCurrentContext&&ft.mode.xmlCurrentContext(lt)||[],Vt,dt,!0))return ae.Pass;var $e=typeof Be=="object"&&Be.emptyTags;if($e&&Oe($e,Vt)>-1){yt[Te]={text:"/>",newPos:ae.Pos(dt.line,dt.ch+2)};continue}var et=Ke&&Oe(Ke,pe)>-1;yt[Te]={indent:et,text:">"+(et?`
|
|
|
|
|
|
`:"")+"</"+Vt+">",newPos:et?ae.Pos(dt.line+1,0):ae.Pos(dt.line,dt.ch+1)}}for(var qe=typeof Be=="object"&&Be.dontIndentOnAutoClose,Te=Ze.length-1;Te>=0;Te--){var Ye=yt[Te];Ee.replaceRange(Ye.text,Ze[Te].head,Ze[Te].anchor,"+insert");var pt=Ee.listSelections().slice(0);pt[Te]={head:Ye.newPos,anchor:Ye.newPos},Ee.setSelections(pt),!qe&&Ye.indent&&(Ee.indentLine(Ye.newPos.line,null,!0),Ee.indentLine(Ye.newPos.line+1,null,!0))}}function Se(Ee,Ze){for(var yt=Ee.listSelections(),Be=[],Te=Ze?"/":"</",dt=Ee.getOption("autoCloseTags"),ot=typeof dt=="object"&&dt.dontIndentOnSlash,ft=0;ft<yt.length;ft++){if(!yt[ft].empty())return ae.Pass;var lt=yt[ft].head,ht=Ee.getTokenAt(lt),Vt=ae.innerMode(Ee.getMode(),ht.state),st=Vt.state;if(Ze&&(ht.type=="string"||ht.string.charAt(0)!="<"||ht.start!=lt.ch-1))return ae.Pass;var vt,Ke=Vt.mode.name!="xml"&&Ee.getMode().name=="htmlmixed";if(Ke&&Vt.mode.name=="javascript")vt=Te+"script";else if(Ke&&Vt.mode.name=="css")vt=Te+"style";else{var pe=Vt.mode.xmlCurrentContext&&Vt.mode.xmlCurrentContext(st);if(!pe||pe.length&&xe(Ee,pe,pe[pe.length-1],lt))return ae.Pass;vt=Te+pe[pe.length-1]}Ee.getLine(lt.line).charAt(ht.end)!=">"&&(vt+=">"),Be[ft]=vt}if(Ee.replaceSelections(Be),yt=Ee.listSelections(),!ot)for(var ft=0;ft<yt.length;ft++)(ft==yt.length-1||yt[ft].head.line<yt[ft+1].head.line)&&Ee.indentLine(yt[ft].head.line)}function ke(Ee){return Ee.getOption("disableInput")?ae.Pass:Se(Ee,!0)}ae.commands.closeTag=function(Ee){return Se(Ee)};function Oe(Ee,Ze){if(Ee.indexOf)return Ee.indexOf(Ze);for(var yt=0,Be=Ee.length;yt<Be;++yt)if(Ee[yt]==Ze)return yt;return-1}function xe(Ee,Ze,yt,Be,Te){if(!ae.scanForClosingTag)return!1;var dt=Math.min(Ee.lastLine()+1,Be.line+500),ot=ae.scanForClosingTag(Ee,Be,null,dt);if(!ot||ot.tag!=yt)return!1;for(var ft=Te?1:0,lt=Ze.length-1;lt>=0&&Ze[lt]==yt;lt--)++ft;Be=ot.to;for(var lt=1;lt<ft;lt++){var ht=ae.scanForClosingTag(Ee,Be,null,dt);if(!ht||ht.tag!=yt)return!1;Be=ht.to}return!0}})},32855:function(Cn,mn,se){(function(ae){ae(se(89780))})(function(ae){"use strict";var He=ae.Pos;function ze(lt,ht){return lt.line-ht.line||lt.ch-ht.ch}var rt="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Se=rt+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ke=new RegExp("<(/?)(["+rt+"]["+Se+"]*)","g");function Oe(lt,ht,Vt,st){this.line=ht,this.ch=Vt,this.cm=lt,this.text=lt.getLine(ht),this.min=st?Math.max(st.from,lt.firstLine()):lt.firstLine(),this.max=st?Math.min(st.to-1,lt.lastLine()):lt.lastLine()}function xe(lt,ht){var Vt=lt.cm.getTokenTypeAt(He(lt.line,ht));return Vt&&/\btag\b/.test(Vt)}function Ee(lt){if(!(lt.line>=lt.max))return lt.ch=0,lt.text=lt.cm.getLine(++lt.line),!0}function Ze(lt){if(!(lt.line<=lt.min))return lt.text=lt.cm.getLine(--lt.line),lt.ch=lt.text.length,!0}function yt(lt){for(;;){var ht=lt.text.indexOf(">",lt.ch);if(ht==-1){if(Ee(lt))continue;return}if(!xe(lt,ht+1)){lt.ch=ht+1;continue}var Vt=lt.text.lastIndexOf("/",ht),st=Vt>-1&&!/\S/.test(lt.text.slice(Vt+1,ht));return lt.ch=ht+1,st?"selfClose":"regular"}}function Be(lt){for(;;){var ht=lt.ch?lt.text.lastIndexOf("<",lt.ch-1):-1;if(ht==-1){if(Ze(lt))continue;return}if(!xe(lt,ht+1)){lt.ch=ht;continue}ke.lastIndex=ht,lt.ch=ht;var Vt=ke.exec(lt.text);if(Vt&&Vt.index==ht)return Vt}}function Te(lt){for(;;){ke.lastIndex=lt.ch;var ht=ke.exec(lt.text);if(!ht){if(Ee(lt))continue;return}if(!xe(lt,ht.index+1)){lt.ch=ht.index+1;continue}return lt.ch=ht.index+ht[0].length,ht}}function dt(lt){for(;;){var ht=lt.ch?lt.text.lastIndexOf(">",lt.ch-1):-1;if(ht==-1){if(Ze(lt))continue;return}if(!xe(lt,ht+1)){lt.ch=ht;continue}var Vt=lt.text.lastIndexOf("/",ht),st=Vt>-1&&!/\S/.test(lt.text.slice(Vt+1,ht));return lt.ch=ht+1,st?"selfClose":"regular"}}function ot(lt,ht){for(var Vt=[];;){var st=Te(lt),vt,Ke=lt.line,pe=lt.ch-(st?st[0].length:0);if(!st||!(vt=yt(lt)))return;if(vt!="selfClose")if(st[1]){for(var $e=Vt.length-1;$e>=0;--$e)if(Vt[$e]==st[2]){Vt.length=$e;break}if($e<0&&(!ht||ht==st[2]))return{tag:st[2],from:He(Ke,pe),to:He(lt.line,lt.ch)}}else Vt.push(st[2])}}function ft(lt,ht){for(var Vt=[];;){var st=dt(lt);if(!st)return;if(st=="selfClose"){Be(lt);continue}var vt=lt.line,Ke=lt.ch,pe=Be(lt);if(!pe)return;if(pe[1])Vt.push(pe[2]);else{for(var $e=Vt.length-1;$e>=0;--$e)if(Vt[$e]==pe[2]){Vt.length=$e;break}if($e<0&&(!ht||ht==pe[2]))return{tag:pe[2],from:He(lt.line,lt.ch),to:He(vt,Ke)}}}}ae.registerHelper("fold","xml",function(lt,ht){for(var Vt=new Oe(lt,ht.line,0);;){var st=Te(Vt);if(!st||Vt.line!=ht.line)return;var vt=yt(Vt);if(!vt)return;if(!st[1]&&vt!="selfClose"){var Ke=He(Vt.line,Vt.ch),pe=ot(Vt,st[2]);return pe&&ze(pe.from,Ke)>0?{from:Ke,to:pe.from}:null}}}),ae.findMatchingTag=function(lt,ht,Vt){var st=new Oe(lt,ht.line,ht.ch,Vt);if(!(st.text.indexOf(">")==-1&&st.text.indexOf("<")==-1)){var vt=yt(st),Ke=vt&&He(st.line,st.ch),pe=vt&&Be(st);if(!(!vt||!pe||ze(st,ht)>0)){var $e={from:He(st.line,st.ch),to:Ke,tag:pe[2]};return vt=="selfClose"?{open:$e,close:null,at:"open"}:pe[1]?{open:ft(st,pe[2]),close:$e,at:"close"}:(st=new Oe(lt,Ke.line,Ke.ch,Vt),{open:$e,close:ot(st,pe[2]),at:"open"})}}},ae.findEnclosingTag=function(lt,ht,Vt,st){for(var vt=new Oe(lt,ht.line,ht.ch,Vt);;){var Ke=ft(vt,st);if(!Ke)break;var pe=new Oe(lt,ht.line,ht.ch,Vt),$e=ot(pe,Ke.tag);if($e)return{open:Ke,close:$e}}},ae.scanForClosingTag=function(lt,ht,Vt,st){var vt=new Oe(lt,ht.line,ht.ch,st?{from:0,to:st}:null);return ot(vt,Vt)}})},89780:function(Cn){(function(mn,se){Cn.exports=se()})(this,function(){"use strict";var mn=navigator.userAgent,se=navigator.platform,ae=/gecko\/\d/i.test(mn),He=/MSIE \d/.test(mn),ze=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(mn),rt=/Edge\/(\d+)/.exec(mn),Se=He||ze||rt,ke=Se&&(He?document.documentMode||6:+(rt||ze)[1]),Oe=!rt&&/WebKit\//.test(mn),xe=Oe&&/Qt\/\d+\.\d+/.test(mn),Ee=!rt&&/Chrome\//.test(mn),Ze=/Opera\//.test(mn),yt=/Apple Computer/.test(navigator.vendor),Be=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(mn),Te=/PhantomJS/.test(mn),dt=!rt&&/AppleWebKit/.test(mn)&&/Mobile\/\w+/.test(mn),ot=/Android/.test(mn),ft=dt||ot||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(mn),lt=dt||/Mac/.test(se),ht=/\bCrOS\b/.test(mn),Vt=/win/i.test(se),st=Ze&&mn.match(/Version\/(\d*\.\d*)/);st&&(st=Number(st[1])),st&&st>=15&&(Ze=!1,Oe=!0);var vt=lt&&(xe||Ze&&(st==null||st<12.11)),Ke=ae||Se&&ke>=9;function pe(x){return new RegExp("(^|\\s)"+x+"(?:$|\\s)\\s*")}var $e=function(x,z){var ne=x.className,te=pe(z).exec(ne);if(te){var ie=ne.slice(te.index+te[0].length);x.className=ne.slice(0,te.index)+(ie?te[1]+ie:"")}};function et(x){for(var z=x.childNodes.length;z>0;--z)x.removeChild(x.firstChild);return x}function qe(x,z){return et(x).appendChild(z)}function Ye(x,z,ne,te){var ie=document.createElement(x);if(ne&&(ie.className=ne),te&&(ie.style.cssText=te),typeof z=="string")ie.appendChild(document.createTextNode(z));else if(z)for(var de=0;de<z.length;++de)ie.appendChild(z[de]);return ie}function pt(x,z,ne,te){var ie=Ye(x,z,ne,te);return ie.setAttribute("role","presentation"),ie}var at;document.createRange?at=function(x,z,ne,te){var ie=document.createRange();return ie.setEnd(te||x,ne),ie.setStart(x,z),ie}:at=function(x,z,ne){var te=document.body.createTextRange();try{te.moveToElementText(x.parentNode)}catch(ie){return te}return te.collapse(!0),te.moveEnd("character",ne),te.moveStart("character",z),te};function Pt(x,z){if(z.nodeType==3&&(z=z.parentNode),x.contains)return x.contains(z);do if(z.nodeType==11&&(z=z.host),z==x)return!0;while(z=z.parentNode)}function it(){var x;try{x=document.activeElement}catch(z){x=document.body||null}for(;x&&x.shadowRoot&&x.shadowRoot.activeElement;)x=x.shadowRoot.activeElement;return x}function Nt(x,z){var ne=x.className;pe(z).test(ne)||(x.className+=(ne?" ":"")+z)}function rn(x,z){for(var ne=x.split(" "),te=0;te<ne.length;te++)ne[te]&&!pe(ne[te]).test(z)&&(z+=" "+ne[te]);return z}var Ut=function(x){x.select()};dt?Ut=function(x){x.selectionStart=0,x.selectionEnd=x.value.length}:Se&&(Ut=function(x){try{x.select()}catch(z){}});function un(x){var z=Array.prototype.slice.call(arguments,1);return function(){return x.apply(null,z)}}function jt(x,z,ne){z||(z={});for(var te in x)x.hasOwnProperty(te)&&(ne!==!1||!z.hasOwnProperty(te))&&(z[te]=x[te]);return z}function Qe(x,z,ne,te,ie){z==null&&(z=x.search(/[^\s\u00a0]/),z==-1&&(z=x.length));for(var de=te||0,be=ie||0;;){var De=x.indexOf(" ",de);if(De<0||De>=z)return be+(z-de);be+=De-de,be+=ne-be%ne,de=De+1}}var Ce=function(){this.id=null,this.f=null,this.time=0,this.handler=un(this.onTimeout,this)};Ce.prototype.onTimeout=function(x){x.id=0,x.time<=+new Date?x.f():setTimeout(x.handler,x.time-+new Date)},Ce.prototype.set=function(x,z){this.f=z;var ne=+new Date+x;(!this.id||ne<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,x),this.time=ne)};function nt(x,z){for(var ne=0;ne<x.length;++ne)if(x[ne]==z)return ne;return-1}var $t=50,Et={toString:function(){return"CodeMirror.Pass"}},Ve={scroll:!1},tt={origin:"*mouse"},At={origin:"+move"};function fn(x,z,ne){for(var te=0,ie=0;;){var de=x.indexOf(" ",te);de==-1&&(de=x.length);var be=de-te;if(de==x.length||ie+be>=z)return te+Math.min(be,z-ie);if(ie+=de-te,ie+=ne-ie%ne,te=de+1,ie>=z)return te}}var Kt=[""];function yn(x){for(;Kt.length<=x;)Kt.push(kt(Kt)+" ");return Kt[x]}function kt(x){return x[x.length-1]}function Bt(x,z){for(var ne=[],te=0;te<x.length;te++)ne[te]=z(x[te],te);return ne}function xt(x,z,ne){for(var te=0,ie=ne(z);te<x.length&&ne(x[te])<=ie;)te++;x.splice(te,0,z)}function ve(){}function ce(x,z){var ne;return Object.create?ne=Object.create(x):(ve.prototype=x,ne=new ve),z&&jt(z,ne),ne}var le=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function fe(x){return/\w/.test(x)||x>"\x80"&&(x.toUpperCase()!=x.toLowerCase()||le.test(x))}function he(x,z){return z?z.source.indexOf("\\w")>-1&&fe(x)?!0:z.test(x):fe(x)}function ue(x){for(var z in x)if(x.hasOwnProperty(z)&&x[z])return!1;return!0}var Pe=/[\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 _e(x){return x.charCodeAt(0)>=768&&Pe.test(x)}function Dt(x,z,ne){for(;(ne<0?z>0:z<x.length)&&_e(x.charAt(z));)z+=ne;return z}function Lt(x,z,ne){for(var te=z>ne?-1:1;;){if(z==ne)return z;var ie=(z+ne)/2,de=te<0?Math.ceil(ie):Math.floor(ie);if(de==z)return x(de)?z:ne;x(de)?ne=de:z=de+te}}function Ht(x,z,ne,te){if(!x)return te(z,ne,"ltr",0);for(var ie=!1,de=0;de<x.length;++de){var be=x[de];(be.from<ne&&be.to>z||z==ne&&be.to==z)&&(te(Math.max(be.from,z),Math.min(be.to,ne),be.level==1?"rtl":"ltr",de),ie=!0)}ie||te(z,ne,"ltr")}var Qt=null;function zt(x,z,ne){var te;Qt=null;for(var ie=0;ie<x.length;++ie){var de=x[ie];if(de.from<z&&de.to>z)return ie;de.to==z&&(de.from!=de.to&&ne=="before"?te=ie:Qt=ie),de.from==z&&(de.from!=de.to&&ne!="before"?te=ie:Qt=ie)}return te!=null?te:Qt}var bn=function(){var x="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",z="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function ne(Xe){return Xe<=247?x.charAt(Xe):1424<=Xe&&Xe<=1524?"R":1536<=Xe&&Xe<=1785?z.charAt(Xe-1536):1774<=Xe&&Xe<=2220?"r":8192<=Xe&&Xe<=8203?"w":Xe==8204?"b":"L"}var te=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,de=/[LRr]/,be=/[Lb1n]/,De=/[1n]/;function Ie(Xe,Ft,Yt){this.level=Xe,this.from=Ft,this.to=Yt}return function(Xe,Ft){var Yt=Ft=="ltr"?"L":"R";if(Xe.length==0||Ft=="ltr"&&!te.test(Xe))return!1;for(var Ln=Xe.length,Mn=[],cr=0;cr<Ln;++cr)Mn.push(ne(Xe.charCodeAt(cr)));for(var Pr=0,ni=Yt;Pr<Ln;++Pr){var yi=Mn[Pr];yi=="m"?Mn[Pr]=ni:ni=yi}for(var Mi=0,hi=Yt;Mi<Ln;++Mi){var Bi=Mn[Mi];Bi=="1"&&hi=="r"?Mn[Mi]="n":de.test(Bi)&&(hi=Bi,Bi=="r"&&(Mn[Mi]="R"))}for(var Wi=1,_i=Mn[0];Wi<Ln-1;++Wi){var ka=Mn[Wi];ka=="+"&&_i=="1"&&Mn[Wi+1]=="1"?Mn[Wi]="1":ka==","&&_i==Mn[Wi+1]&&(_i=="1"||_i=="n")&&(Mn[Wi]=_i),_i=ka}for(var xo=0;xo<Ln;++xo){var Fs=Mn[xo];if(Fs==",")Mn[xo]="N";else if(Fs=="%"){var Zo=void 0;for(Zo=xo+1;Zo<Ln&&Mn[Zo]=="%";++Zo);for(var ol=xo&&Mn[xo-1]=="!"||Zo<Ln&&Mn[Zo]=="1"?"1":"N",sl=xo;sl<Zo;++sl)Mn[sl]=ol;xo=Zo-1}}for(var vs=0,ll=Yt;vs<Ln;++vs){var la=Mn[vs];ll=="L"&&la=="1"?Mn[vs]="L":de.test(la)&&(ll=la)}for(var Qo=0;Qo<Ln;++Qo)if(ie.test(Mn[Qo])){var jo=void 0;for(jo=Qo+1;jo<Ln&&ie.test(Mn[jo]);++jo);for(var Xo=(Qo?Mn[Qo-1]:Yt)=="L",as=(jo<Ln?Mn[jo]:Yt)=="L",yc=Xo==as?Xo?"L":"R":Yt,yl=Qo;yl<jo;++yl)Mn[yl]=yc;Qo=jo-1}for(var zs=[],Xa,ks=0;ks<Ln;)if(be.test(Mn[ks])){var wd=ks;for(++ks;ks<Ln&&be.test(Mn[ks]);++ks);zs.push(new Ie(0,wd,ks))}else{var Fu=ks,Uu=zs.length,yu=Ft=="rtl"?1:0;for(++ks;ks<Ln&&Mn[ks]!="L";++ks);for(var ys=Fu;ys<ks;)if(De.test(Mn[ys])){Fu<ys&&(zs.splice(Uu,0,new Ie(1,Fu,ys)),Uu+=yu);var bc=ys;for(++ys;ys<ks&&De.test(Mn[ys]);++ys);zs.splice(Uu,0,new Ie(2,bc,ys)),Uu+=yu,Fu=ys}else++ys;Fu<ks&&zs.splice(Uu,0,new Ie(1,Fu,ks))}return Ft=="ltr"&&(zs[0].level==1&&(Xa=Xe.match(/^\s+/))&&(zs[0].from=Xa[0].length,zs.unshift(new Ie(0,0,Xa[0].length))),kt(zs).level==1&&(Xa=Xe.match(/\s+$/))&&(kt(zs).to-=Xa[0].length,zs.push(new Ie(0,Ln-Xa[0].length,Ln)))),Ft=="rtl"?zs.reverse():zs}}();function In(x,z){var ne=x.order;return ne==null&&(ne=x.order=bn(x.text,z)),ne}var Mt=[],tn=function(x,z,ne){if(x.addEventListener)x.addEventListener(z,ne,!1);else if(x.attachEvent)x.attachEvent("on"+z,ne);else{var te=x._handlers||(x._handlers={});te[z]=(te[z]||Mt).concat(ne)}};function Gn(x,z){return x._handlers&&x._handlers[z]||Mt}function ut(x,z,ne){if(x.removeEventListener)x.removeEventListener(z,ne,!1);else if(x.detachEvent)x.detachEvent("on"+z,ne);else{var te=x._handlers,ie=te&&te[z];if(ie){var de=nt(ie,ne);de>-1&&(te[z]=ie.slice(0,de).concat(ie.slice(de+1)))}}}function We(x,z){var ne=Gn(x,z);if(ne.length)for(var te=Array.prototype.slice.call(arguments,2),ie=0;ie<ne.length;++ie)ne[ie].apply(null,te)}function Ue(x,z,ne){return typeof z=="string"&&(z={type:z,preventDefault:function(){this.defaultPrevented=!0}}),We(x,ne||z.type,x,z),Vn(z)||z.codemirrorIgnore}function nn(x){var z=x._handlers&&x._handlers.cursorActivity;if(z)for(var ne=x.curOp.cursorActivityHandlers||(x.curOp.cursorActivityHandlers=[]),te=0;te<z.length;++te)nt(ne,z[te])==-1&&ne.push(z[te])}function gn(x,z){return Gn(x,z).length>0}function xn(x){x.prototype.on=function(z,ne){tn(this,z,ne)},x.prototype.off=function(z,ne){ut(this,z,ne)}}function Un(x){x.preventDefault?x.preventDefault():x.returnValue=!1}function Pn(x){x.stopPropagation?x.stopPropagation():x.cancelBubble=!0}function Vn(x){return x.defaultPrevented!=null?x.defaultPrevented:x.returnValue==!1}function dr(x){Un(x),Pn(x)}function gr(x){return x.target||x.srcElement}function _n(x){var z=x.which;return z==null&&(x.button&1?z=1:x.button&2?z=3:x.button&4&&(z=2)),lt&&x.ctrlKey&&z==1&&(z=3),z}var wr=function(){if(Se&&ke<9)return!1;var x=Ye("div");return"draggable"in x||"dragDrop"in x}(),Jr;function pr(x){if(Jr==null){var z=Ye("span","\u200B");qe(x,Ye("span",[z,document.createTextNode("x")])),x.firstChild.offsetHeight!=0&&(Jr=z.offsetWidth<=1&&z.offsetHeight>2&&!(Se&&ke<8))}var ne=Jr?Ye("span","\u200B"):Ye("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return ne.setAttribute("cm-text",""),ne}var pi;function Rr(x){if(pi!=null)return pi;var z=qe(x,document.createTextNode("A\u062EA")),ne=at(z,0,1).getBoundingClientRect(),te=at(z,1,2).getBoundingClientRect();return et(x),!ne||ne.left==ne.right?!1:pi=te.right-ne.right<3}var Qr=`
|
|
|
|
|
|
b`.split(/\n/).length!=3?function(x){for(var z=0,ne=[],te=x.length;z<=te;){var ie=x.indexOf(`
|
|
|
`,z);ie==-1&&(ie=x.length);var de=x.slice(z,x.charAt(ie-1)=="\r"?ie-1:ie),be=de.indexOf("\r");be!=-1?(ne.push(de.slice(0,be)),z+=be+1):(ne.push(de),z=ie+1)}return ne}:function(x){return x.split(/\r\n?|\n/)},pn=window.getSelection?function(x){try{return x.selectionStart!=x.selectionEnd}catch(z){return!1}}:function(x){var z;try{z=x.ownerDocument.selection.createRange()}catch(ne){}return!z||z.parentElement()!=x?!1:z.compareEndPoints("StartToEnd",z)!=0},Zn=function(){var x=Ye("div");return"oncopy"in x?!0:(x.setAttribute("oncopy","return;"),typeof x.oncopy=="function")}(),rr=null;function ur(x){if(rr!=null)return rr;var z=qe(x,Ye("span","x")),ne=z.getBoundingClientRect(),te=at(z,0,1).getBoundingClientRect();return rr=Math.abs(ne.left-te.left)>1}var nr={},fr={};function sr(x,z){arguments.length>2&&(z.dependencies=Array.prototype.slice.call(arguments,2)),nr[x]=z}function Br(x,z){fr[x]=z}function ir(x){if(typeof x=="string"&&fr.hasOwnProperty(x))x=fr[x];else if(x&&typeof x.name=="string"&&fr.hasOwnProperty(x.name)){var z=fr[x.name];typeof z=="string"&&(z={name:z}),x=ce(z,x),x.name=z.name}else{if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(x))return ir("application/xml");if(typeof x=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(x))return ir("application/json")}return typeof x=="string"?{name:x}:x||{name:"null"}}function Bn(x,z){z=ir(z);var ne=nr[z.name];if(!ne)return Bn(x,"text/plain");var te=ne(x,z);if(Cr.hasOwnProperty(z.name)){var ie=Cr[z.name];for(var de in ie)ie.hasOwnProperty(de)&&(te.hasOwnProperty(de)&&(te["_"+de]=te[de]),te[de]=ie[de])}if(te.name=z.name,z.helperType&&(te.helperType=z.helperType),z.modeProps)for(var be in z.modeProps)te[be]=z.modeProps[be];return te}var Cr={};function wt(x,z){var ne=Cr.hasOwnProperty(x)?Cr[x]:Cr[x]={};jt(z,ne)}function Fe(x,z){if(z===!0)return z;if(x.copyState)return x.copyState(z);var ne={};for(var te in z){var ie=z[te];ie instanceof Array&&(ie=ie.concat([])),ne[te]=ie}return ne}function je(x,z){for(var ne;x.innerMode&&(ne=x.innerMode(z),!(!ne||ne.mode==x));)z=ne.state,x=ne.mode;return ne||{mode:x,state:z}}function Re(x,z,ne){return x.startState?x.startState(z,ne):!0}var Ne=function(x,z,ne){this.pos=this.start=0,this.string=x,this.tabSize=z||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=ne};Ne.prototype.eol=function(){return this.pos>=this.string.length},Ne.prototype.sol=function(){return this.pos==this.lineStart},Ne.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ne.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ne.prototype.eat=function(x){var z=this.string.charAt(this.pos),ne;if(typeof x=="string"?ne=z==x:ne=z&&(x.test?x.test(z):x(z)),ne)return++this.pos,z},Ne.prototype.eatWhile=function(x){for(var z=this.pos;this.eat(x););return this.pos>z},Ne.prototype.eatSpace=function(){for(var x=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>x},Ne.prototype.skipToEnd=function(){this.pos=this.string.length},Ne.prototype.skipTo=function(x){var z=this.string.indexOf(x,this.pos);if(z>-1)return this.pos=z,!0},Ne.prototype.backUp=function(x){this.pos-=x},Ne.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Qe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Qe(this.string,this.lineStart,this.tabSize):0)},Ne.prototype.indentation=function(){return Qe(this.string,null,this.tabSize)-(this.lineStart?Qe(this.string,this.lineStart,this.tabSize):0)},Ne.prototype.match=function(x,z,ne){if(typeof x=="string"){var te=function(be){return ne?be.toLowerCase():be},ie=this.string.substr(this.pos,x.length);if(te(ie)==te(x))return z!==!1&&(this.pos+=x.length),!0}else{var de=this.string.slice(this.pos).match(x);return de&&de.index>0?null:(de&&z!==!1&&(this.pos+=de[0].length),de)}},Ne.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ne.prototype.hideFirstChars=function(x,z){this.lineStart+=x;try{return z()}finally{this.lineStart-=x}},Ne.prototype.lookAhead=function(x){var z=this.lineOracle;return z&&z.lookAhead(x)},Ne.prototype.baseToken=function(){var x=this.lineOracle;return x&&x.baseToken(this.pos)};function ct(x,z){if(z-=x.first,z<0||z>=x.size)throw new Error("There is no line "+(z+x.first)+" in the document.");for(var ne=x;!ne.lines;)for(var te=0;;++te){var ie=ne.children[te],de=ie.chunkSize();if(z<de){ne=ie;break}z-=de}return ne.lines[z]}function St(x,z,ne){var te=[],ie=z.line;return x.iter(z.line,ne.line+1,function(de){var be=de.text;ie==ne.line&&(be=be.slice(0,ne.ch)),ie==z.line&&(be=be.slice(z.ch)),te.push(be),++ie}),te}function an(x,z,ne){var te=[];return x.iter(z,ne,function(ie){te.push(ie.text)}),te}function Gt(x,z){var ne=z-x.height;if(ne)for(var te=x;te;te=te.parent)te.height+=ne}function Zt(x){if(x.parent==null)return null;for(var z=x.parent,ne=nt(z.lines,x),te=z.parent;te;z=te,te=te.parent)for(var ie=0;te.children[ie]!=z;++ie)ne+=te.children[ie].chunkSize();return ne+z.first}function Dn(x,z){var ne=x.first;e:do{for(var te=0;te<x.children.length;++te){var ie=x.children[te],de=ie.height;if(z<de){x=ie;continue e}z-=de,ne+=ie.chunkSize()}return ne}while(!x.lines);for(var be=0;be<x.lines.length;++be){var De=x.lines[be],Ie=De.height;if(z<Ie)break;z-=Ie}return ne+be}function Hn(x,z){return z>=x.first&&z<x.first+x.size}function jn(x,z){return String(x.lineNumberFormatter(z+x.firstLineNumber))}function qt(x,z,ne){if(ne===void 0&&(ne=null),!(this instanceof qt))return new qt(x,z,ne);this.line=x,this.ch=z,this.sticky=ne}function Sn(x,z){return x.line-z.line||x.ch-z.ch}function Ct(x,z){return x.sticky==z.sticky&&Sn(x,z)==0}function Rt(x){return qt(x.line,x.ch)}function Xt(x,z){return Sn(x,z)<0?z:x}function en(x,z){return Sn(x,z)<0?x:z}function En(x,z){return Math.max(x.first,Math.min(z,x.first+x.size-1))}function Wt(x,z){if(z.line<x.first)return qt(x.first,0);var ne=x.first+x.size-1;return z.line>ne?qt(ne,ct(x,ne).text.length):An(z,ct(x,z.line).text.length)}function An(x,z){var ne=x.ch;return ne==null||ne>z?qt(x.line,z):ne<0?qt(x.line,0):x}function Ge(x,z){for(var ne=[],te=0;te<z.length;te++)ne[te]=Wt(x,z[te]);return ne}var Tt=function(x,z){this.state=x,this.lookAhead=z},Ot=function(x,z,ne,te){this.state=z,this.doc=x,this.line=ne,this.maxLookAhead=te||0,this.baseTokens=null,this.baseTokenPos=1};Ot.prototype.lookAhead=function(x){var z=this.doc.getLine(this.line+x);return z!=null&&x>this.maxLookAhead&&(this.maxLookAhead=x),z},Ot.prototype.baseToken=function(x){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=x;)this.baseTokenPos+=2;var z=this.baseTokens[this.baseTokenPos+1];return{type:z&&z.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-x}},Ot.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ot.fromSaved=function(x,z,ne){return z instanceof Tt?new Ot(x,Fe(x.mode,z.state),ne,z.lookAhead):new Ot(x,Fe(x.mode,z),ne)},Ot.prototype.save=function(x){var z=x!==!1?Fe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Tt(z,this.maxLookAhead):z};function ln(x,z,ne,te){var ie=[x.state.modeGen],de={};jr(x,z.text,x.doc.mode,ne,function(Xe,Ft){return ie.push(Xe,Ft)},de,te);for(var be=ne.state,De=function(Xe){ne.baseTokens=ie;var Ft=x.state.overlays[Xe],Yt=1,Ln=0;ne.state=!0,jr(x,z.text,Ft.mode,ne,function(Mn,cr){for(var Pr=Yt;Ln<Mn;){var ni=ie[Yt];ni>Mn&&ie.splice(Yt,1,Mn,ie[Yt+1],ni),Yt+=2,Ln=Math.min(Mn,ni)}if(cr)if(Ft.opaque)ie.splice(Pr,Yt-Pr,Mn,"overlay "+cr),Yt=Pr+2;else for(;Pr<Yt;Pr+=2){var yi=ie[Pr+1];ie[Pr+1]=(yi?yi+" ":"")+"overlay "+cr}},de),ne.state=be,ne.baseTokens=null,ne.baseTokenPos=1},Ie=0;Ie<x.state.overlays.length;++Ie)De(Ie);return{styles:ie,classes:de.bgClass||de.textClass?de:null}}function Jt(x,z,ne){if(!z.styles||z.styles[0]!=x.state.modeGen){var te=dn(x,Zt(z)),ie=z.text.length>x.options.maxHighlightLength&&Fe(x.doc.mode,te.state),de=ln(x,z,te);ie&&(te.state=ie),z.stateAfter=te.save(!ie),z.styles=de.styles,de.classes?z.styleClasses=de.classes:z.styleClasses&&(z.styleClasses=null),ne===x.doc.highlightFrontier&&(x.doc.modeFrontier=Math.max(x.doc.modeFrontier,++x.doc.highlightFrontier))}return z.styles}function dn(x,z,ne){var te=x.doc,ie=x.display;if(!te.mode.startState)return new Ot(te,!0,z);var de=Fr(x,z,ne),be=de>te.first&&ct(te,de-1).stateAfter,De=be?Ot.fromSaved(te,be,de):new Ot(te,Re(te.mode),de);return te.iter(de,z,function(Ie){cn(x,Ie.text,De);var Xe=De.line;Ie.stateAfter=Xe==z-1||Xe%5==0||Xe>=ie.viewFrom&&Xe<ie.viewTo?De.save():null,De.nextLine()}),ne&&(te.modeFrontier=De.line),De}function cn(x,z,ne,te){var ie=x.doc.mode,de=new Ne(z,x.options.tabSize,ne);for(de.start=de.pos=te||0,z==""&&Fn(ie,ne.state);!de.eol();)Kn(ie,de,ne.state),de.start=de.pos}function Fn(x,z){if(x.blankLine)return x.blankLine(z);if(x.innerMode){var ne=je(x,z);if(ne.mode.blankLine)return ne.mode.blankLine(ne.state)}}function Kn(x,z,ne,te){for(var ie=0;ie<10;ie++){te&&(te[0]=je(x,ne).mode);var de=x.token(z,ne);if(z.pos>z.start)return de}throw new Error("Mode "+x.name+" failed to advance stream.")}var qn=function(x,z,ne){this.start=x.start,this.end=x.pos,this.string=x.current(),this.type=z||null,this.state=ne};function br(x,z,ne,te){var ie=x.doc,de=ie.mode,be;z=Wt(ie,z);var De=ct(ie,z.line),Ie=dn(x,z.line,ne),Xe=new Ne(De.text,x.options.tabSize,Ie),Ft;for(te&&(Ft=[]);(te||Xe.pos<z.ch)&&!Xe.eol();)Xe.start=Xe.pos,be=Kn(de,Xe,Ie.state),te&&Ft.push(new qn(Xe,be,Fe(ie.mode,Ie.state)));return te?Ft:new qn(Xe,be,Ie.state)}function Tr(x,z){if(x)for(;;){var ne=x.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!ne)break;x=x.slice(0,ne.index)+x.slice(ne.index+ne[0].length);var te=ne[1]?"bgClass":"textClass";z[te]==null?z[te]=ne[2]:new RegExp("(?:^|\\s)"+ne[2]+"(?:$|\\s)").test(z[te])||(z[te]+=" "+ne[2])}return x}function jr(x,z,ne,te,ie,de,be){var De=ne.flattenSpans;De==null&&(De=x.options.flattenSpans);var Ie=0,Xe=null,Ft=new Ne(z,x.options.tabSize,te),Yt,Ln=x.options.addModeClass&&[null];for(z==""&&Tr(Fn(ne,te.state),de);!Ft.eol();){if(Ft.pos>x.options.maxHighlightLength?(De=!1,be&&cn(x,z,te,Ft.pos),Ft.pos=z.length,Yt=null):Yt=Tr(Kn(ne,Ft,te.state,Ln),de),Ln){var Mn=Ln[0].name;Mn&&(Yt="m-"+(Yt?Mn+" "+Yt:Mn))}if(!De||Xe!=Yt){for(;Ie<Ft.start;)Ie=Math.min(Ft.start,Ie+5e3),ie(Ie,Xe);Xe=Yt}Ft.start=Ft.pos}for(;Ie<Ft.pos;){var cr=Math.min(Ft.pos,Ie+5e3);ie(cr,Xe),Ie=cr}}function Fr(x,z,ne){for(var te,ie,de=x.doc,be=ne?-1:z-(x.doc.mode.innerMode?1e3:100),De=z;De>be;--De){if(De<=de.first)return de.first;var Ie=ct(de,De-1),Xe=Ie.stateAfter;if(Xe&&(!ne||De+(Xe instanceof Tt?Xe.lookAhead:0)<=de.modeFrontier))return De;var Ft=Qe(Ie.text,null,x.options.tabSize);(ie==null||te>Ft)&&(ie=De-1,te=Ft)}return ie}function tr(x,z){if(x.modeFrontier=Math.min(x.modeFrontier,z),!(x.highlightFrontier<z-10)){for(var ne=x.first,te=z-1;te>ne;te--){var ie=ct(x,te).stateAfter;if(ie&&(!(ie instanceof Tt)||te+ie.lookAhead<z)){ne=te+1;break}}x.highlightFrontier=Math.min(x.highlightFrontier,ne)}}var _r=!1,Hr=!1;function qr(){_r=!0}function Mr(){Hr=!0}function Ir(x,z,ne){this.marker=x,this.from=z,this.to=ne}function $r(x,z){if(x)for(var ne=0;ne<x.length;++ne){var te=x[ne];if(te.marker==z)return te}}function Wr(x,z){for(var ne,te=0;te<x.length;++te)x[te]!=z&&(ne||(ne=[])).push(x[te]);return ne}function wi(x,z){x.markedSpans=x.markedSpans?x.markedSpans.concat([z]):[z],z.marker.attachLine(x)}function Ii(x,z,ne){var te;if(x)for(var ie=0;ie<x.length;++ie){var de=x[ie],be=de.marker,De=de.from==null||(be.inclusiveLeft?de.from<=z:de.from<z);if(De||de.from==z&&be.type=="bookmark"&&(!ne||!de.marker.insertLeft)){var Ie=de.to==null||(be.inclusiveRight?de.to>=z:de.to>z);(te||(te=[])).push(new Ir(be,de.from,Ie?null:de.to))}}return te}function Zr(x,z,ne){var te;if(x)for(var ie=0;ie<x.length;++ie){var de=x[ie],be=de.marker,De=de.to==null||(be.inclusiveRight?de.to>=z:de.to>z);if(De||de.from==z&&be.type=="bookmark"&&(!ne||de.marker.insertLeft)){var Ie=de.from==null||(be.inclusiveLeft?de.from<=z:de.from<z);(te||(te=[])).push(new Ir(be,Ie?null:de.from-z,de.to==null?null:de.to-z))}}return te}function Xn(x,z){if(z.full)return null;var ne=Hn(x,z.from.line)&&ct(x,z.from.line).markedSpans,te=Hn(x,z.to.line)&&ct(x,z.to.line).markedSpans;if(!ne&&!te)return null;var ie=z.from.ch,de=z.to.ch,be=Sn(z.from,z.to)==0,De=Ii(ne,ie,be),Ie=Zr(te,de,be),Xe=z.text.length==1,Ft=kt(z.text).length+(Xe?ie:0);if(De)for(var Yt=0;Yt<De.length;++Yt){var Ln=De[Yt];if(Ln.to==null){var Mn=$r(Ie,Ln.marker);Mn?Xe&&(Ln.to=Mn.to==null?null:Mn.to+Ft):Ln.to=ie}}if(Ie)for(var cr=0;cr<Ie.length;++cr){var Pr=Ie[cr];if(Pr.to!=null&&(Pr.to+=Ft),Pr.from==null){var ni=$r(De,Pr.marker);ni||(Pr.from=Ft,Xe&&(De||(De=[])).push(Pr))}else Pr.from+=Ft,Xe&&(De||(De=[])).push(Pr)}De&&(De=Yn(De)),Ie&&Ie!=De&&(Ie=Yn(Ie));var yi=[De];if(!Xe){var Mi=z.text.length-2,hi;if(Mi>0&&De)for(var Bi=0;Bi<De.length;++Bi)De[Bi].to==null&&(hi||(hi=[])).push(new Ir(De[Bi].marker,null,null));for(var Wi=0;Wi<Mi;++Wi)yi.push(hi);yi.push(Ie)}return yi}function Yn(x){for(var z=0;z<x.length;++z){var ne=x[z];ne.from!=null&&ne.from==ne.to&&ne.marker.clearWhenEmpty!==!1&&x.splice(z--,1)}return x.length?x:null}function Xr(x,z,ne){var te=null;if(x.iter(z.line,ne.line+1,function(Mn){if(Mn.markedSpans)for(var cr=0;cr<Mn.markedSpans.length;++cr){var Pr=Mn.markedSpans[cr].marker;Pr.readOnly&&(!te||nt(te,Pr)==-1)&&(te||(te=[])).push(Pr)}}),!te)return null;for(var ie=[{from:z,to:ne}],de=0;de<te.length;++de)for(var be=te[de],De=be.find(0),Ie=0;Ie<ie.length;++Ie){var Xe=ie[Ie];if(!(Sn(Xe.to,De.from)<0||Sn(Xe.from,De.to)>0)){var Ft=[Ie,1],Yt=Sn(Xe.from,De.from),Ln=Sn(Xe.to,De.to);(Yt<0||!be.inclusiveLeft&&!Yt)&&Ft.push({from:Xe.from,to:De.from}),(Ln>0||!be.inclusiveRight&&!Ln)&&Ft.push({from:De.to,to:Xe.to}),ie.splice.apply(ie,Ft),Ie+=Ft.length-3}}return ie}function Nr(x){var z=x.markedSpans;if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.detachLine(x);x.markedSpans=null}}function oi(x,z){if(z){for(var ne=0;ne<z.length;++ne)z[ne].marker.attachLine(x);x.markedSpans=z}}function ci(x){return x.inclusiveLeft?-1:0}function di(x){return x.inclusiveRight?1:0}function Gr(x,z){var ne=x.lines.length-z.lines.length;if(ne!=0)return ne;var te=x.find(),ie=z.find(),de=Sn(te.from,ie.from)||ci(x)-ci(z);if(de)return-de;var be=Sn(te.to,ie.to)||di(x)-di(z);return be||z.id-x.id}function ti(x,z){var ne=Hr&&x.markedSpans,te;if(ne)for(var ie=void 0,de=0;de<ne.length;++de)ie=ne[de],ie.marker.collapsed&&(z?ie.from:ie.to)==null&&(!te||Gr(te,ie.marker)<0)&&(te=ie.marker);return te}function Gi(x){return ti(x,!0)}function Sr(x){return ti(x,!1)}function Or(x,z){var ne=Hr&&x.markedSpans,te;if(ne)for(var ie=0;ie<ne.length;++ie){var de=ne[ie];de.marker.collapsed&&(de.from==null||de.from<z)&&(de.to==null||de.to>z)&&(!te||Gr(te,de.marker)<0)&&(te=de.marker)}return te}function fi(x,z,ne,te,ie){var de=ct(x,z),be=Hr&&de.markedSpans;if(be)for(var De=0;De<be.length;++De){var Ie=be[De];if(Ie.marker.collapsed){var Xe=Ie.marker.find(0),Ft=Sn(Xe.from,ne)||ci(Ie.marker)-ci(ie),Yt=Sn(Xe.to,te)||di(Ie.marker)-di(ie);if(!(Ft>=0&&Yt<=0||Ft<=0&&Yt>=0)&&(Ft<=0&&(Ie.marker.inclusiveRight&&ie.inclusiveLeft?Sn(Xe.to,ne)>=0:Sn(Xe.to,ne)>0)||Ft>=0&&(Ie.marker.inclusiveRight&&ie.inclusiveLeft?Sn(Xe.from,te)<=0:Sn(Xe.from,te)<0)))return!0}}}function Ei(x){for(var z;z=Gi(x);)x=z.find(-1,!0).line;return x}function Xi(x){for(var z;z=Sr(x);)x=z.find(1,!0).line;return x}function Ji(x){for(var z,ne;z=Sr(x);)x=z.find(1,!0).line,(ne||(ne=[])).push(x);return ne}function ji(x,z){var ne=ct(x,z),te=Ei(ne);return ne==te?z:Zt(te)}function Ni(x,z){if(z>x.lastLine())return z;var ne=ct(x,z),te;if(!ua(x,ne))return z;for(;te=Sr(ne);)ne=te.find(1,!0).line;return Zt(ne)+1}function ua(x,z){var ne=Hr&&z.markedSpans;if(ne){for(var te=void 0,ie=0;ie<ne.length;++ie)if(te=ne[ie],!!te.marker.collapsed){if(te.from==null)return!0;if(!te.marker.widgetNode&&te.from==0&&te.marker.inclusiveLeft&&ca(x,z,te))return!0}}}function ca(x,z,ne){if(ne.to==null){var te=ne.marker.find(1,!0);return ca(x,te.line,$r(te.line.markedSpans,ne.marker))}if(ne.marker.inclusiveRight&&ne.to==z.text.length)return!0;for(var ie=void 0,de=0;de<z.markedSpans.length;++de)if(ie=z.markedSpans[de],ie.marker.collapsed&&!ie.marker.widgetNode&&ie.from==ne.to&&(ie.to==null||ie.to!=ne.from)&&(ie.marker.inclusiveLeft||ne.marker.inclusiveRight)&&ca(x,z,ie))return!0}function Lr(x){x=Ei(x);for(var z=0,ne=x.parent,te=0;te<ne.lines.length;++te){var ie=ne.lines[te];if(ie==x)break;z+=ie.height}for(var de=ne.parent;de;ne=de,de=ne.parent)for(var be=0;be<de.children.length;++be){var De=de.children[be];if(De==ne)break;z+=De.height}return z}function Dr(x){if(x.height==0)return 0;for(var z=x.text.length,ne,te=x;ne=Gi(te);){var ie=ne.find(0,!0);te=ie.from.line,z+=ie.from.ch-ie.to.ch}for(te=x;ne=Sr(te);){var de=ne.find(0,!0);z-=te.text.length-de.from.ch,te=de.to.line,z+=te.text.length-de.to.ch}return z}function kr(x){var z=x.display,ne=x.doc;z.maxLine=ct(ne,ne.first),z.maxLineLength=Dr(z.maxLine),z.maxLineChanged=!0,ne.iter(function(te){var ie=Dr(te);ie>z.maxLineLength&&(z.maxLineLength=ie,z.maxLine=te)})}var Ur=function(x,z,ne){this.text=x,oi(this,z),this.height=ne?ne(this):1};Ur.prototype.lineNo=function(){return Zt(this)},xn(Ur);function Ti(x,z,ne,te){x.text=z,x.stateAfter&&(x.stateAfter=null),x.styles&&(x.styles=null),x.order!=null&&(x.order=null),Nr(x),oi(x,ne);var ie=te?te(x):1;ie!=x.height&&Gt(x,ie)}function pa(x){x.parent=null,Nr(x)}var ga={},ia={};function Qi(x,z){if(!x||/^\s*$/.test(x))return null;var ne=z.addModeClass?ia:ga;return ne[x]||(ne[x]=x.replace(/\S+/g,"cm-$&"))}function ya(x,z){var ne=pt("span",null,null,Oe?"padding-right: .1px":null),te={pre:pt("pre",[ne],"CodeMirror-line"),content:ne,col:0,pos:0,cm:x,trailingSpace:!1,splitSpaces:x.getOption("lineWrapping")};z.measure={};for(var ie=0;ie<=(z.rest?z.rest.length:0);ie++){var de=ie?z.rest[ie-1]:z.line,be=void 0;te.pos=0,te.addToken=Ha,Rr(x.display.measure)&&(be=In(de,x.doc.direction))&&(te.addToken=Pi(te.addToken,be)),te.map=[];var De=z!=x.display.externalMeasured&&Zt(de);Aa(de,te,Jt(x,de,De)),de.styleClasses&&(de.styleClasses.bgClass&&(te.bgClass=rn(de.styleClasses.bgClass,te.bgClass||"")),de.styleClasses.textClass&&(te.textClass=rn(de.styleClasses.textClass,te.textClass||""))),te.map.length==0&&te.map.push(0,0,te.content.appendChild(pr(x.display.measure))),ie==0?(z.measure.map=te.map,z.measure.cache={}):((z.measure.maps||(z.measure.maps=[])).push(te.map),(z.measure.caches||(z.measure.caches=[])).push({}))}if(Oe){var Ie=te.content.lastChild;(/\bcm-tab\b/.test(Ie.className)||Ie.querySelector&&Ie.querySelector(".cm-tab"))&&(te.content.className="cm-tab-wrap-hack")}return We(x,"renderLine",x,z.line,te.pre),te.pre.className&&(te.textClass=rn(te.pre.className,te.textClass||"")),te}function ja(x){var z=Ye("span","\u2022","cm-invalidchar");return z.title="\\u"+x.charCodeAt(0).toString(16),z.setAttribute("aria-label",z.title),z}function Ha(x,z,ne,te,ie,de,be){if(z){var De=x.splitSpaces?mo(z,x.trailingSpace):z,Ie=x.cm.state.specialChars,Xe=!1,Ft;if(!Ie.test(z))x.col+=z.length,Ft=document.createTextNode(De),x.map.push(x.pos,x.pos+z.length,Ft),Se&&ke<9&&(Xe=!0),x.pos+=z.length;else{Ft=document.createDocumentFragment();for(var Yt=0;;){Ie.lastIndex=Yt;var Ln=Ie.exec(z),Mn=Ln?Ln.index-Yt:z.length-Yt;if(Mn){var cr=document.createTextNode(De.slice(Yt,Yt+Mn));Se&&ke<9?Ft.appendChild(Ye("span",[cr])):Ft.appendChild(cr),x.map.push(x.pos,x.pos+Mn,cr),x.col+=Mn,x.pos+=Mn}if(!Ln)break;Yt+=Mn+1;var Pr=void 0;if(Ln[0]==" "){var ni=x.cm.options.tabSize,yi=ni-x.col%ni;Pr=Ft.appendChild(Ye("span",yn(yi),"cm-tab")),Pr.setAttribute("role","presentation"),Pr.setAttribute("cm-text"," "),x.col+=yi}else Ln[0]=="\r"||Ln[0]==`
|
|
|
`?(Pr=Ft.appendChild(Ye("span",Ln[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Pr.setAttribute("cm-text",Ln[0]),x.col+=1):(Pr=x.cm.options.specialCharPlaceholder(Ln[0]),Pr.setAttribute("cm-text",Ln[0]),Se&&ke<9?Ft.appendChild(Ye("span",[Pr])):Ft.appendChild(Pr),x.col+=1);x.map.push(x.pos,x.pos+1,Pr),x.pos++}}if(x.trailingSpace=De.charCodeAt(z.length-1)==32,ne||te||ie||Xe||de||be){var Mi=ne||"";te&&(Mi+=te),ie&&(Mi+=ie);var hi=Ye("span",[Ft],Mi,de);if(be)for(var Bi in be)be.hasOwnProperty(Bi)&&Bi!="style"&&Bi!="class"&&hi.setAttribute(Bi,be[Bi]);return x.content.appendChild(hi)}x.content.appendChild(Ft)}}function mo(x,z){if(x.length>1&&!/ /.test(x))return x;for(var ne=z,te="",ie=0;ie<x.length;ie++){var de=x.charAt(ie);de==" "&&ne&&(ie==x.length-1||x.charCodeAt(ie+1)==32)&&(de="\xA0"),te+=de,ne=de==" "}return te}function Pi(x,z){return function(ne,te,ie,de,be,De,Ie){ie=ie?ie+" cm-force-border":"cm-force-border";for(var Xe=ne.pos,Ft=Xe+te.length;;){for(var Yt=void 0,Ln=0;Ln<z.length&&(Yt=z[Ln],!(Yt.to>Xe&&Yt.from<=Xe));Ln++);if(Yt.to>=Ft)return x(ne,te,ie,de,be,De,Ie);x(ne,te.slice(0,Yt.to-Xe),ie,de,null,De,Ie),de=null,te=te.slice(Yt.to-Xe),Xe=Yt.to}}}function zi(x,z,ne,te){var ie=!te&&ne.widgetNode;ie&&x.map.push(x.pos,x.pos+z,ie),!te&&x.cm.display.input.needsContentAttribute&&(ie||(ie=x.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",ne.id)),ie&&(x.cm.display.input.setUneditable(ie),x.content.appendChild(ie)),x.pos+=z,x.trailingSpace=!1}function Aa(x,z,ne){var te=x.markedSpans,ie=x.text,de=0;if(!te){for(var be=1;be<ne.length;be+=2)z.addToken(z,ie.slice(de,de=ne[be]),Qi(ne[be+1],z.cm.options));return}for(var De=ie.length,Ie=0,Xe=1,Ft="",Yt,Ln,Mn=0,cr,Pr,ni,yi,Mi;;){if(Mn==Ie){cr=Pr=ni=Ln="",Mi=null,yi=null,Mn=1/0;for(var hi=[],Bi=void 0,Wi=0;Wi<te.length;++Wi){var _i=te[Wi],ka=_i.marker;if(ka.type=="bookmark"&&_i.from==Ie&&ka.widgetNode)hi.push(ka);else if(_i.from<=Ie&&(_i.to==null||_i.to>Ie||ka.collapsed&&_i.to==Ie&&_i.from==Ie)){if(_i.to!=null&&_i.to!=Ie&&Mn>_i.to&&(Mn=_i.to,Pr=""),ka.className&&(cr+=" "+ka.className),ka.css&&(Ln=(Ln?Ln+";":"")+ka.css),ka.startStyle&&_i.from==Ie&&(ni+=" "+ka.startStyle),ka.endStyle&&_i.to==Mn&&(Bi||(Bi=[])).push(ka.endStyle,_i.to),ka.title&&((Mi||(Mi={})).title=ka.title),ka.attributes)for(var xo in ka.attributes)(Mi||(Mi={}))[xo]=ka.attributes[xo];ka.collapsed&&(!yi||Gr(yi.marker,ka)<0)&&(yi=_i)}else _i.from>Ie&&Mn>_i.from&&(Mn=_i.from)}if(Bi)for(var Fs=0;Fs<Bi.length;Fs+=2)Bi[Fs+1]==Mn&&(Pr+=" "+Bi[Fs]);if(!yi||yi.from==Ie)for(var Zo=0;Zo<hi.length;++Zo)zi(z,0,hi[Zo]);if(yi&&(yi.from||0)==Ie){if(zi(z,(yi.to==null?De+1:yi.to)-Ie,yi.marker,yi.from==null),yi.to==null)return;yi.to==Ie&&(yi=!1)}}if(Ie>=De)break;for(var ol=Math.min(De,Mn);;){if(Ft){var sl=Ie+Ft.length;if(!yi){var vs=sl>ol?Ft.slice(0,ol-Ie):Ft;z.addToken(z,vs,Yt?Yt+cr:cr,ni,Ie+vs.length==Mn?Pr:"",Ln,Mi)}if(sl>=ol){Ft=Ft.slice(ol-Ie),Ie=ol;break}Ie=sl,ni=""}Ft=ie.slice(de,de=ne[Xe++]),Yt=Qi(ne[Xe++],z.cm.options)}}}function Yi(x,z,ne){this.line=z,this.rest=Ji(z),this.size=this.rest?Zt(kt(this.rest))-ne+1:1,this.node=this.text=null,this.hidden=ua(x,z)}function $i(x,z,ne){for(var te=[],ie,de=z;de<ne;de=ie){var be=new Yi(x.doc,ct(x.doc,de),de);ie=de+be.size,te.push(be)}return te}var wn=null;function hn(x){wn?wn.ops.push(x):x.ownsGroup=wn={ops:[x],delayedCallbacks:[]}}function on(x){var z=x.delayedCallbacks,ne=0;do{for(;ne<z.length;ne++)z[ne].call(null);for(var te=0;te<x.ops.length;te++){var ie=x.ops[te];if(ie.cursorActivityHandlers)for(;ie.cursorActivityCalled<ie.cursorActivityHandlers.length;)ie.cursorActivityHandlers[ie.cursorActivityCalled++].call(null,ie.cm)}}while(ne<z.length)}function Rn(x,z){var ne=x.ownsGroup;if(ne)try{on(ne)}finally{wn=null,z(ne)}}var or=null;function lr(x,z){var ne=Gn(x,z);if(ne.length){var te=Array.prototype.slice.call(arguments,2),ie;wn?ie=wn.delayedCallbacks:or?ie=or:(ie=or=[],setTimeout(On,0));for(var de=function(De){ie.push(function(){return ne[De].apply(null,te)})},be=0;be<ne.length;++be)de(be)}}function On(){var x=or;or=null;for(var z=0;z<x.length;++z)x[z]()}function Er(x,z,ne,te){for(var ie=0;ie<z.changes.length;ie++){var de=z.changes[ie];de=="text"?xr(x,z):de=="gutter"?Ci(x,z,ne,te):de=="class"?li(x,z):de=="widget"&&Ui(x,z,te)}z.changes=null}function si(x){return x.node==x.text&&(x.node=Ye("div",null,null,"position: relative"),x.text.parentNode&&x.text.parentNode.replaceChild(x.node,x.text),x.node.appendChild(x.text),Se&&ke<8&&(x.node.style.zIndex=2)),x.node}function Di(x,z){var ne=z.bgClass?z.bgClass+" "+(z.line.bgClass||""):z.line.bgClass;if(ne&&(ne+=" CodeMirror-linebackground"),z.background)ne?z.background.className=ne:(z.background.parentNode.removeChild(z.background),z.background=null);else if(ne){var te=si(z);z.background=te.insertBefore(Ye("div",null,ne),te.firstChild),x.display.input.setUneditable(z.background)}}function ui(x,z){var ne=x.display.externalMeasured;return ne&&ne.line==z.line?(x.display.externalMeasured=null,z.measure=ne.measure,ne.built):ya(x,z)}function xr(x,z){var ne=z.text.className,te=ui(x,z);z.text==z.node&&(z.node=te.pre),z.text.parentNode.replaceChild(te.pre,z.text),z.text=te.pre,te.bgClass!=z.bgClass||te.textClass!=z.textClass?(z.bgClass=te.bgClass,z.textClass=te.textClass,li(x,z)):ne&&(z.text.className=ne)}function li(x,z){Di(x,z),z.line.wrapClass?si(z).className=z.line.wrapClass:z.node!=z.text&&(z.node.className="");var ne=z.textClass?z.textClass+" "+(z.line.textClass||""):z.line.textClass;z.text.className=ne||""}function Ci(x,z,ne,te){if(z.gutter&&(z.node.removeChild(z.gutter),z.gutter=null),z.gutterBackground&&(z.node.removeChild(z.gutterBackground),z.gutterBackground=null),z.line.gutterClass){var ie=si(z);z.gutterBackground=Ye("div",null,"CodeMirror-gutter-background "+z.line.gutterClass,"left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px; width: "+te.gutterTotalWidth+"px"),x.display.input.setUneditable(z.gutterBackground),ie.insertBefore(z.gutterBackground,z.text)}var de=z.line.gutterMarkers;if(x.options.lineNumbers||de){var be=si(z),De=z.gutter=Ye("div",null,"CodeMirror-gutter-wrapper","left: "+(x.options.fixedGutter?te.fixedPos:-te.gutterTotalWidth)+"px");if(x.display.input.setUneditable(De),be.insertBefore(De,z.text),z.line.gutterClass&&(De.className+=" "+z.line.gutterClass),x.options.lineNumbers&&(!de||!de["CodeMirror-linenumbers"])&&(z.lineNumber=De.appendChild(Ye("div",jn(x.options,ne),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+te.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+x.display.lineNumInnerWidth+"px"))),de)for(var Ie=0;Ie<x.display.gutterSpecs.length;++Ie){var Xe=x.display.gutterSpecs[Ie].className,Ft=de.hasOwnProperty(Xe)&&de[Xe];Ft&&De.appendChild(Ye("div",[Ft],"CodeMirror-gutter-elt","left: "+te.gutterLeft[Xe]+"px; width: "+te.gutterWidth[Xe]+"px"))}}}function Ui(x,z,ne){z.alignable&&(z.alignable=null);for(var te=pe("CodeMirror-linewidget"),ie=z.node.firstChild,de=void 0;ie;ie=de)de=ie.nextSibling,te.test(ie.className)&&z.node.removeChild(ie);gi(x,z,ne)}function Si(x,z,ne,te){var ie=ui(x,z);return z.text=z.node=ie.pre,ie.bgClass&&(z.bgClass=ie.bgClass),ie.textClass&&(z.textClass=ie.textClass),li(x,z),Ci(x,z,ne,te),gi(x,z,te),z.node}function gi(x,z,ne){if(Ki(x,z.line,z,ne,!0),z.rest)for(var te=0;te<z.rest.length;te++)Ki(x,z.rest[te],z,ne,!1)}function Ki(x,z,ne,te,ie){if(z.widgets)for(var de=si(ne),be=0,De=z.widgets;be<De.length;++be){var Ie=De[be],Xe=Ye("div",[Ie.node],"CodeMirror-linewidget"+(Ie.className?" "+Ie.className:""));Ie.handleMouseEvents||Xe.setAttribute("cm-ignore-events","true"),da(Ie,Xe,ne,te),x.display.input.setUneditable(Xe),ie&&Ie.above?de.insertBefore(Xe,ne.gutter||ne.text):de.appendChild(Xe),lr(Ie,"redraw")}}function da(x,z,ne,te){if(x.noHScroll){(ne.alignable||(ne.alignable=[])).push(z);var ie=te.wrapperWidth;z.style.left=te.fixedPos+"px",x.coverGutter||(ie-=te.gutterTotalWidth,z.style.paddingLeft=te.gutterTotalWidth+"px"),z.style.width=ie+"px"}x.coverGutter&&(z.style.zIndex=5,z.style.position="relative",x.noHScroll||(z.style.marginLeft=-te.gutterTotalWidth+"px"))}function Da(x){if(x.height!=null)return x.height;var z=x.doc.cm;if(!z)return 0;if(!Pt(document.body,x.node)){var ne="position: relative;";x.coverGutter&&(ne+="margin-left: -"+z.display.gutters.offsetWidth+"px;"),x.noHScroll&&(ne+="width: "+z.display.wrapper.clientWidth+"px;"),qe(z.display.measure,Ye("div",[x.node],null,ne))}return x.height=x.node.parentNode.offsetHeight}function no(x,z){for(var ne=gr(z);ne!=x.wrapper;ne=ne.parentNode)if(!ne||ne.nodeType==1&&ne.getAttribute("cm-ignore-events")=="true"||ne.parentNode==x.sizer&&ne!=x.mover)return!0}function Ro(x){return x.lineSpace.offsetTop}function ul(x){return x.mover.offsetHeight-x.lineSpace.offsetHeight}function Vo(x){if(x.cachedPaddingH)return x.cachedPaddingH;var z=qe(x.measure,Ye("pre","x","CodeMirror-line-like")),ne=window.getComputedStyle?window.getComputedStyle(z):z.currentStyle,te={left:parseInt(ne.paddingLeft),right:parseInt(ne.paddingRight)};return!isNaN(te.left)&&!isNaN(te.right)&&(x.cachedPaddingH=te),te}function Mo(x){return $t-x.display.nativeBarWidth}function so(x){return x.display.scroller.clientWidth-Mo(x)-x.display.barWidth}function Is(x){return x.display.scroller.clientHeight-Mo(x)-x.display.barHeight}function No(x,z,ne){var te=x.options.lineWrapping,ie=te&&so(x);if(!z.measure.heights||te&&z.measure.width!=ie){var de=z.measure.heights=[];if(te){z.measure.width=ie;for(var be=z.text.firstChild.getClientRects(),De=0;De<be.length-1;De++){var Ie=be[De],Xe=be[De+1];Math.abs(Ie.bottom-Xe.bottom)>2&&de.push((Ie.bottom+Xe.top)/2-ne.top)}}de.push(ne.bottom-ne.top)}}function ls(x,z,ne){if(x.line==z)return{map:x.measure.map,cache:x.measure.cache};for(var te=0;te<x.rest.length;te++)if(x.rest[te]==z)return{map:x.measure.maps[te],cache:x.measure.caches[te]};for(var ie=0;ie<x.rest.length;ie++)if(Zt(x.rest[ie])>ne)return{map:x.measure.maps[ie],cache:x.measure.caches[ie],before:!0}}function qs(x,z){z=Ei(z);var ne=Zt(z),te=x.display.externalMeasured=new Yi(x.doc,z,ne);te.lineN=ne;var ie=te.built=ya(x,te);return te.text=ie.pre,qe(x.display.lineMeasure,ie.pre),te}function Os(x,z,ne,te){return Ma(x,Ua(x,z),ne,te)}function go(x,z){if(z>=x.display.viewFrom&&z<x.display.viewTo)return x.display.view[_s(x,z)];var ne=x.display.externalMeasured;if(ne&&z>=ne.lineN&&z<ne.lineN+ne.size)return ne}function Ua(x,z){var ne=Zt(z),te=go(x,ne);te&&!te.text?te=null:te&&te.changes&&(Er(x,te,ne,Ka(x)),x.curOp.forceUpdate=!0),te||(te=qs(x,z));var ie=ls(te,z,ne);return{line:z,view:te,rect:null,map:ie.map,cache:ie.cache,before:ie.before,hasHeights:!1}}function Ma(x,z,ne,te,ie){z.before&&(ne=-1);var de=ne+(te||""),be;return z.cache.hasOwnProperty(de)?be=z.cache[de]:(z.rect||(z.rect=z.view.text.getBoundingClientRect()),z.hasHeights||(No(x,z.view,z.rect),z.hasHeights=!0),be=va(x,z,ne,te),be.bogus||(z.cache[de]=be)),{left:be.left,right:be.right,top:ie?be.rtop:be.top,bottom:ie?be.rbottom:be.bottom}}var js={left:0,right:0,top:0,bottom:0};function xl(x,z,ne){for(var te,ie,de,be,De,Ie,Xe=0;Xe<x.length;Xe+=3)if(De=x[Xe],Ie=x[Xe+1],z<De?(ie=0,de=1,be="left"):z<Ie?(ie=z-De,de=ie+1):(Xe==x.length-3||z==Ie&&x[Xe+3]>z)&&(de=Ie-De,ie=de-1,z>=Ie&&(be="right")),ie!=null){if(te=x[Xe+2],De==Ie&&ne==(te.insertLeft?"left":"right")&&(be=ne),ne=="left"&&ie==0)for(;Xe&&x[Xe-2]==x[Xe-3]&&x[Xe-1].insertLeft;)te=x[(Xe-=3)+2],be="left";if(ne=="right"&&ie==Ie-De)for(;Xe<x.length-3&&x[Xe+3]==x[Xe+4]&&!x[Xe+5].insertLeft;)te=x[(Xe+=3)+2],be="right";break}return{node:te,start:ie,end:de,collapse:be,coverStart:De,coverEnd:Ie}}function _o(x,z){var ne=js;if(z=="left")for(var te=0;te<x.length&&(ne=x[te]).left==ne.right;te++);else for(var ie=x.length-1;ie>=0&&(ne=x[ie]).left==ne.right;ie--);return ne}function va(x,z,ne,te){var ie=xl(z.map,ne,te),de=ie.node,be=ie.start,De=ie.end,Ie=ie.collapse,Xe;if(de.nodeType==3){for(var Ft=0;Ft<4;Ft++){for(;be&&_e(z.line.text.charAt(ie.coverStart+be));)--be;for(;ie.coverStart+De<ie.coverEnd&&_e(z.line.text.charAt(ie.coverStart+De));)++De;if(Se&&ke<9&&be==0&&De==ie.coverEnd-ie.coverStart?Xe=de.parentNode.getBoundingClientRect():Xe=_o(at(de,be,De).getClientRects(),te),Xe.left||Xe.right||be==0)break;De=be,be=be-1,Ie="right"}Se&&ke<11&&(Xe=aa(x.display.measure,Xe))}else{be>0&&(Ie=te="right");var Yt;x.options.lineWrapping&&(Yt=de.getClientRects()).length>1?Xe=Yt[te=="right"?Yt.length-1:0]:Xe=de.getBoundingClientRect()}if(Se&&ke<9&&!be&&(!Xe||!Xe.left&&!Xe.right)){var Ln=de.parentNode.getClientRects()[0];Ln?Xe={left:Ln.left,right:Ln.left+za(x.display),top:Ln.top,bottom:Ln.bottom}:Xe=js}for(var Mn=Xe.top-z.rect.top,cr=Xe.bottom-z.rect.top,Pr=(Mn+cr)/2,ni=z.view.measure.heights,yi=0;yi<ni.length-1&&!(Pr<ni[yi]);yi++);var Mi=yi?ni[yi-1]:0,hi=ni[yi],Bi={left:(Ie=="right"?Xe.right:Xe.left)-z.rect.left,right:(Ie=="left"?Xe.left:Xe.right)-z.rect.left,top:Mi,bottom:hi};return!Xe.left&&!Xe.right&&(Bi.bogus=!0),x.options.singleCursorHeightPerLine||(Bi.rtop=Mn,Bi.rbottom=cr),Bi}function aa(x,z){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ur(x))return z;var ne=screen.logicalXDPI/screen.deviceXDPI,te=screen.logicalYDPI/screen.deviceYDPI;return{left:z.left*ne,right:z.right*ne,top:z.top*te,bottom:z.bottom*te}}function Qa(x){if(x.measure&&(x.measure.cache={},x.measure.heights=null,x.rest))for(var z=0;z<x.rest.length;z++)x.measure.caches[z]={}}function zo(x){x.display.externalMeasure=null,et(x.display.lineMeasure);for(var z=0;z<x.display.view.length;z++)Qa(x.display.view[z])}function ro(x){zo(x),x.display.cachedCharWidth=x.display.cachedTextHeight=x.display.cachedPaddingH=null,x.options.lineWrapping||(x.display.maxLineChanged=!0),x.display.lineNumChars=null}function us(){return Ee&&ot?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function bs(){return Ee&&ot?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ts(x){var z=0;if(x.widgets)for(var ne=0;ne<x.widgets.length;++ne)x.widgets[ne].above&&(z+=Da(x.widgets[ne]));return z}function cs(x,z,ne,te,ie){if(!ie){var de=Ts(z);ne.top+=de,ne.bottom+=de}if(te=="line")return ne;te||(te="local");var be=Lr(z);if(te=="local"?be+=Ro(x.display):be-=x.display.viewOffset,te=="page"||te=="window"){var De=x.display.lineSpace.getBoundingClientRect();be+=De.top+(te=="window"?0:bs());var Ie=De.left+(te=="window"?0:us());ne.left+=Ie,ne.right+=Ie}return ne.top+=be,ne.bottom+=be,ne}function Vs(x,z,ne){if(ne=="div")return z;var te=z.left,ie=z.top;if(ne=="page")te-=us(),ie-=bs();else if(ne=="local"||!ne){var de=x.display.sizer.getBoundingClientRect();te+=de.left,ie+=de.top}var be=x.display.lineSpace.getBoundingClientRect();return{left:te-be.left,top:ie-be.top}}function Rs(x,z,ne,te,ie){return te||(te=ct(x.doc,z.line)),cs(x,te,Os(x,te,z.ch,ie),ne)}function qo(x,z,ne,te,ie,de){te=te||ct(x.doc,z.line),ie||(ie=Ua(x,te));function be(cr,Pr){var ni=Ma(x,ie,cr,Pr?"right":"left",de);return Pr?ni.left=ni.right:ni.right=ni.left,cs(x,te,ni,ne)}var De=In(te,x.doc.direction),Ie=z.ch,Xe=z.sticky;if(Ie>=te.text.length?(Ie=te.text.length,Xe="before"):Ie<=0&&(Ie=0,Xe="after"),!De)return be(Xe=="before"?Ie-1:Ie,Xe=="before");function Ft(cr,Pr,ni){var yi=De[Pr],Mi=yi.level==1;return be(ni?cr-1:cr,Mi!=ni)}var Yt=zt(De,Ie,Xe),Ln=Qt,Mn=Ft(Ie,Yt,Xe=="before");return Ln!=null&&(Mn.other=Ft(Ie,Ln,Xe!="before")),Mn}function Tu(x,z){var ne=0;z=Wt(x.doc,z),x.options.lineWrapping||(ne=za(x.display)*z.ch);var te=ct(x.doc,z.line),ie=Lr(te)+Ro(x.display);return{left:ne,right:ne,top:ie,bottom:ie+te.height}}function cl(x,z,ne,te,ie){var de=qt(x,z,ne);return de.xRel=ie,te&&(de.outside=te),de}function Su(x,z,ne){var te=x.doc;if(ne+=x.display.viewOffset,ne<0)return cl(te.first,0,null,-1,-1);var ie=Dn(te,ne),de=te.first+te.size-1;if(ie>de)return cl(te.first+te.size-1,ct(te,de).text.length,null,1,1);z<0&&(z=0);for(var be=ct(te,ie);;){var De=Ec(x,be,ie,z,ne),Ie=Or(be,De.ch+(De.xRel>0||De.outside>0?1:0));if(!Ie)return De;var Xe=Ie.find(1);if(Xe.line==ie)return Xe;be=ct(te,ie=Xe.line)}}function nu(x,z,ne,te){te-=Ts(z);var ie=z.text.length,de=Lt(function(be){return Ma(x,ne,be-1).bottom<=te},ie,0);return ie=Lt(function(be){return Ma(x,ne,be).top>te},de,ie),{begin:de,end:ie}}function Ru(x,z,ne,te){ne||(ne=Ua(x,z));var ie=cs(x,z,Ma(x,ne,te),"line").top;return nu(x,z,ne,ie)}function ru(x,z,ne,te){return x.bottom<=ne?!1:x.top>ne?!0:(te?x.left:x.right)>z}function Ec(x,z,ne,te,ie){ie-=Lr(z);var de=Ua(x,z),be=Ts(z),De=0,Ie=z.text.length,Xe=!0,Ft=In(z,x.doc.direction);if(Ft){var Yt=(x.options.lineWrapping?Eu:iu)(x,z,ne,de,Ft,te,ie);Xe=Yt.level!=1,De=Xe?Yt.from:Yt.to-1,Ie=Xe?Yt.to:Yt.from-1}var Ln=null,Mn=null,cr=Lt(function(Wi){var _i=Ma(x,de,Wi);return _i.top+=be,_i.bottom+=be,ru(_i,te,ie,!1)?(_i.top<=ie&&_i.left<=te&&(Ln=Wi,Mn=_i),!0):!1},De,Ie),Pr,ni,yi=!1;if(Mn){var Mi=te-Mn.left<Mn.right-te,hi=Mi==Xe;cr=Ln+(hi?0:1),ni=hi?"after":"before",Pr=Mi?Mn.left:Mn.right}else{!Xe&&(cr==Ie||cr==De)&&cr++,ni=cr==0?"after":cr==z.text.length?"before":Ma(x,de,cr-(Xe?1:0)).bottom+be<=ie==Xe?"after":"before";var Bi=qo(x,qt(ne,cr,ni),"line",z,de);Pr=Bi.left,yi=ie<Bi.top?-1:ie>=Bi.bottom?1:0}return cr=Dt(z.text,cr,1),cl(ne,cr,ni,yi,te-Pr)}function iu(x,z,ne,te,ie,de,be){var De=Lt(function(Yt){var Ln=ie[Yt],Mn=Ln.level!=1;return ru(qo(x,qt(ne,Mn?Ln.to:Ln.from,Mn?"before":"after"),"line",z,te),de,be,!0)},0,ie.length-1),Ie=ie[De];if(De>0){var Xe=Ie.level!=1,Ft=qo(x,qt(ne,Xe?Ie.from:Ie.to,Xe?"after":"before"),"line",z,te);ru(Ft,de,be,!0)&&Ft.top>be&&(Ie=ie[De-1])}return Ie}function Eu(x,z,ne,te,ie,de,be){var De=nu(x,z,te,be),Ie=De.begin,Xe=De.end;/\s/.test(z.text.charAt(Xe-1))&&Xe--;for(var Ft=null,Yt=null,Ln=0;Ln<ie.length;Ln++){var Mn=ie[Ln];if(!(Mn.from>=Xe||Mn.to<=Ie)){var cr=Mn.level!=1,Pr=Ma(x,te,cr?Math.min(Xe,Mn.to)-1:Math.max(Ie,Mn.from)).right,ni=Pr<de?de-Pr+1e9:Pr-de;(!Ft||Yt>ni)&&(Ft=Mn,Yt=ni)}}return Ft||(Ft=ie[ie.length-1]),Ft.from<Ie&&(Ft={from:Ie,to:Ft.to,level:Ft.level}),Ft.to>Xe&&(Ft={from:Ft.from,to:Xe,level:Ft.level}),Ft}var Ll;function Wl(x){if(x.cachedTextHeight!=null)return x.cachedTextHeight;if(Ll==null){Ll=Ye("pre",null,"CodeMirror-line-like");for(var z=0;z<49;++z)Ll.appendChild(document.createTextNode("x")),Ll.appendChild(Ye("br"));Ll.appendChild(document.createTextNode("x"))}qe(x.measure,Ll);var ne=Ll.offsetHeight/50;return ne>3&&(x.cachedTextHeight=ne),et(x.measure),ne||1}function za(x){if(x.cachedCharWidth!=null)return x.cachedCharWidth;var z=Ye("span","xxxxxxxxxx"),ne=Ye("pre",[z],"CodeMirror-line-like");qe(x.measure,ne);var te=z.getBoundingClientRect(),ie=(te.right-te.left)/10;return ie>2&&(x.cachedCharWidth=ie),ie||10}function Ka(x){for(var z=x.display,ne={},te={},ie=z.gutters.clientLeft,de=z.gutters.firstChild,be=0;de;de=de.nextSibling,++be){var De=x.display.gutterSpecs[be].className;ne[De]=de.offsetLeft+de.clientLeft+ie,te[De]=de.clientWidth}return{fixedPos:qa(z),gutterTotalWidth:z.gutters.offsetWidth,gutterLeft:ne,gutterWidth:te,wrapperWidth:z.wrapper.clientWidth}}function qa(x){return x.scroller.getBoundingClientRect().left-x.sizer.getBoundingClientRect().left}function Bs(x){var z=Wl(x.display),ne=x.options.lineWrapping,te=ne&&Math.max(5,x.display.scroller.clientWidth/za(x.display)-3);return function(ie){if(ua(x.doc,ie))return 0;var de=0;if(ie.widgets)for(var be=0;be<ie.widgets.length;be++)ie.widgets[be].height&&(de+=ie.widgets[be].height);return ne?de+(Math.ceil(ie.text.length/te)||1)*z:de+z}}function Go(x){var z=x.doc,ne=Bs(x);z.iter(function(te){var ie=ne(te);ie!=te.height&&Gt(te,ie)})}function xs(x,z,ne,te){var ie=x.display;if(!ne&&gr(z).getAttribute("cm-not-content")=="true")return null;var de,be,De=ie.lineSpace.getBoundingClientRect();try{de=z.clientX-De.left,be=z.clientY-De.top}catch(Yt){return null}var Ie=Su(x,de,be),Xe;if(te&&Ie.xRel>0&&(Xe=ct(x.doc,Ie.line).text).length==Ie.ch){var Ft=Qe(Xe,Xe.length,x.options.tabSize)-Xe.length;Ie=qt(Ie.line,Math.max(0,Math.round((de-Vo(x.display).left)/za(x.display))-Ft))}return Ie}function _s(x,z){if(z>=x.display.viewTo||(z-=x.display.viewFrom,z<0))return null;for(var ne=x.display.view,te=0;te<ne.length;te++)if(z-=ne[te].size,z<0)return te}function ws(x,z,ne,te){z==null&&(z=x.doc.first),ne==null&&(ne=x.doc.first+x.doc.size),te||(te=0);var ie=x.display;if(te&&ne<ie.viewTo&&(ie.updateLineNumbers==null||ie.updateLineNumbers>z)&&(ie.updateLineNumbers=z),x.curOp.viewChanged=!0,z>=ie.viewTo)Hr&&ji(x.doc,z)<ie.viewTo&&fl(x);else if(ne<=ie.viewFrom)Hr&&Ni(x.doc,ne+te)>ie.viewFrom?fl(x):(ie.viewFrom+=te,ie.viewTo+=te);else if(z<=ie.viewFrom&&ne>=ie.viewTo)fl(x);else if(z<=ie.viewFrom){var de=ye(x,ne,ne+te,1);de?(ie.view=ie.view.slice(de.index),ie.viewFrom=de.lineN,ie.viewTo+=te):fl(x)}else if(ne>=ie.viewTo){var be=ye(x,z,z,-1);be?(ie.view=ie.view.slice(0,be.index),ie.viewTo=be.lineN):fl(x)}else{var De=ye(x,z,z,-1),Ie=ye(x,ne,ne+te,1);De&&Ie?(ie.view=ie.view.slice(0,De.index).concat($i(x,De.lineN,Ie.lineN)).concat(ie.view.slice(Ie.index)),ie.viewTo+=te):fl(x)}var Xe=ie.externalMeasured;Xe&&(ne<Xe.lineN?Xe.lineN+=te:z<Xe.lineN+Xe.size&&(ie.externalMeasured=null))}function dl(x,z,ne){x.curOp.viewChanged=!0;var te=x.display,ie=x.display.externalMeasured;if(ie&&z>=ie.lineN&&z<ie.lineN+ie.size&&(te.externalMeasured=null),!(z<te.viewFrom||z>=te.viewTo)){var de=te.view[_s(x,z)];if(de.node!=null){var be=de.changes||(de.changes=[]);nt(be,ne)==-1&&be.push(ne)}}}function fl(x){x.display.viewFrom=x.display.viewTo=x.doc.first,x.display.view=[],x.display.viewOffset=0}function ye(x,z,ne,te){var ie=_s(x,z),de,be=x.display.view;if(!Hr||ne==x.doc.first+x.doc.size)return{index:ie,lineN:ne};for(var De=x.display.viewFrom,Ie=0;Ie<ie;Ie++)De+=be[Ie].size;if(De!=z){if(te>0){if(ie==be.length-1)return null;de=De+be[ie].size-z,ie++}else de=De-z;z+=de,ne+=de}for(;ji(x.doc,ne)!=ne;){if(ie==(te<0?0:be.length-1))return null;ne+=te*be[ie-(te<0?1:0)].size,ie+=te}return{index:ie,lineN:ne}}function Ae(x,z,ne){var te=x.display,ie=te.view;ie.length==0||z>=te.viewTo||ne<=te.viewFrom?(te.view=$i(x,z,ne),te.viewFrom=z):(te.viewFrom>z?te.view=$i(x,z,te.viewFrom).concat(te.view):te.viewFrom<z&&(te.view=te.view.slice(_s(x,z))),te.viewFrom=z,te.viewTo<ne?te.view=te.view.concat($i(x,te.viewTo,ne)):te.viewTo>ne&&(te.view=te.view.slice(0,_s(x,ne)))),te.viewTo=ne}function Le(x){for(var z=x.display.view,ne=0,te=0;te<z.length;te++){var ie=z[te];!ie.hidden&&(!ie.node||ie.changes)&&++ne}return ne}function gt(x){x.display.input.showSelection(x.display.input.prepareSelection())}function bt(x,z){z===void 0&&(z=!0);for(var ne=x.doc,te={},ie=te.cursors=document.createDocumentFragment(),de=te.selection=document.createDocumentFragment(),be=0;be<ne.sel.ranges.length;be++)if(!(!z&&be==ne.sel.primIndex)){var De=ne.sel.ranges[be];if(!(De.from().line>=x.display.viewTo||De.to().line<x.display.viewFrom)){var Ie=De.empty();(Ie||x.options.showCursorWhenSelecting)&&vn(x,De.head,ie),Ie||Nn(x,De,de)}}return te}function vn(x,z,ne){var te=qo(x,z,"div",null,null,!x.options.singleCursorHeightPerLine),ie=ne.appendChild(Ye("div","\xA0","CodeMirror-cursor"));if(ie.style.left=te.left+"px",ie.style.top=te.top+"px",ie.style.height=Math.max(0,te.bottom-te.top)*x.options.cursorHeight+"px",te.other){var de=ne.appendChild(Ye("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));de.style.display="",de.style.left=te.other.left+"px",de.style.top=te.other.top+"px",de.style.height=(te.other.bottom-te.other.top)*.85+"px"}}function sn(x,z){return x.top-z.top||x.left-z.left}function Nn(x,z,ne){var te=x.display,ie=x.doc,de=document.createDocumentFragment(),be=Vo(x.display),De=be.left,Ie=Math.max(te.sizerWidth,so(x)-te.sizer.offsetLeft)-be.right,Xe=ie.direction=="ltr";function Ft(hi,Bi,Wi,_i){Bi<0&&(Bi=0),Bi=Math.round(Bi),_i=Math.round(_i),de.appendChild(Ye("div",null,"CodeMirror-selected","position: absolute; left: "+hi+`px;
|
|
|
top: `+Bi+"px; width: "+(Wi==null?Ie-hi:Wi)+`px;
|
|
|
height: `+(_i-Bi)+"px"))}function Yt(hi,Bi,Wi){var _i=ct(ie,hi),ka=_i.text.length,xo,Fs;function Zo(vs,ll){return Rs(x,qt(hi,vs),"div",_i,ll)}function ol(vs,ll,la){var Qo=Ru(x,_i,null,vs),jo=ll=="ltr"==(la=="after")?"left":"right",Xo=la=="after"?Qo.begin:Qo.end-(/\s/.test(_i.text.charAt(Qo.end-1))?2:1);return Zo(Xo,jo)[jo]}var sl=In(_i,ie.direction);return Ht(sl,Bi||0,Wi==null?ka:Wi,function(vs,ll,la,Qo){var jo=la=="ltr",Xo=Zo(vs,jo?"left":"right"),as=Zo(ll-1,jo?"right":"left"),yc=Bi==null&&vs==0,yl=Wi==null&&ll==ka,zs=Qo==0,Xa=!sl||Qo==sl.length-1;if(as.top-Xo.top<=3){var ks=(Xe?yc:yl)&&zs,wd=(Xe?yl:yc)&&Xa,Fu=ks?De:(jo?Xo:as).left,Uu=wd?Ie:(jo?as:Xo).right;Ft(Fu,Xo.top,Uu-Fu,Xo.bottom)}else{var yu,ys,bc,Hs;jo?(yu=Xe&&yc&&zs?De:Xo.left,ys=Xe?Ie:ol(vs,la,"before"),bc=Xe?De:ol(ll,la,"after"),Hs=Xe&&yl&&Xa?Ie:as.right):(yu=Xe?ol(vs,la,"before"):De,ys=!Xe&&yc&&zs?Ie:Xo.right,bc=!Xe&&yl&&Xa?De:as.left,Hs=Xe?ol(ll,la,"after"):Ie),Ft(yu,Xo.top,ys-yu,Xo.bottom),Xo.bottom<as.top&&Ft(De,Xo.bottom,null,as.top),Ft(bc,as.top,Hs-bc,as.bottom)}(!xo||sn(Xo,xo)<0)&&(xo=Xo),sn(as,xo)<0&&(xo=as),(!Fs||sn(Xo,Fs)<0)&&(Fs=Xo),sn(as,Fs)<0&&(Fs=as)}),{start:xo,end:Fs}}var Ln=z.from(),Mn=z.to();if(Ln.line==Mn.line)Yt(Ln.line,Ln.ch,Mn.ch);else{var cr=ct(ie,Ln.line),Pr=ct(ie,Mn.line),ni=Ei(cr)==Ei(Pr),yi=Yt(Ln.line,Ln.ch,ni?cr.text.length+1:null).end,Mi=Yt(Mn.line,ni?0:null,Mn.ch).start;ni&&(yi.top<Mi.top-2?(Ft(yi.right,yi.top,null,yi.bottom),Ft(De,Mi.top,Mi.left,Mi.bottom)):Ft(yi.right,yi.top,Mi.left-yi.right,yi.bottom)),yi.bottom<Mi.top&&Ft(De,yi.bottom,null,Mi.top)}ne.appendChild(de)}function Tn(x){if(x.state.focused){var z=x.display;clearInterval(z.blinker);var ne=!0;z.cursorDiv.style.visibility="",x.options.cursorBlinkRate>0?z.blinker=setInterval(function(){x.hasFocus()||er(x),z.cursorDiv.style.visibility=(ne=!ne)?"":"hidden"},x.options.cursorBlinkRate):x.options.cursorBlinkRate<0&&(z.cursorDiv.style.visibility="hidden")}}function Qn(x){x.state.focused||(x.display.input.focus(),$n(x))}function zr(x){x.state.delayingBlurEvent=!0,setTimeout(function(){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1,er(x))},100)}function $n(x,z){x.state.delayingBlurEvent&&(x.state.delayingBlurEvent=!1),x.options.readOnly!="nocursor"&&(x.state.focused||(We(x,"focus",x,z),x.state.focused=!0,Nt(x.display.wrapper,"CodeMirror-focused"),!x.curOp&&x.display.selForContextMenu!=x.doc.sel&&(x.display.input.reset(),Oe&&setTimeout(function(){return x.display.input.reset(!0)},20)),x.display.input.receivedFocus()),Tn(x))}function er(x,z){x.state.delayingBlurEvent||(x.state.focused&&(We(x,"blur",x,z),x.state.focused=!1,$e(x.display.wrapper,"CodeMirror-focused")),clearInterval(x.display.blinker),setTimeout(function(){x.state.focused||(x.display.shift=!1)},150))}function mr(x){for(var z=x.display,ne=z.lineDiv.offsetTop,te=0;te<z.view.length;te++){var ie=z.view[te],de=x.options.lineWrapping,be=void 0,De=0;if(!ie.hidden){if(Se&&ke<8){var Ie=ie.node.offsetTop+ie.node.offsetHeight;be=Ie-ne,ne=Ie}else{var Xe=ie.node.getBoundingClientRect();be=Xe.bottom-Xe.top,!de&&ie.text.firstChild&&(De=ie.text.firstChild.getBoundingClientRect().right-Xe.left-1)}var Ft=ie.line.height-be;if((Ft>.005||Ft<-.005)&&(Gt(ie.line,be),yr(ie.line),ie.rest))for(var Yt=0;Yt<ie.rest.length;Yt++)yr(ie.rest[Yt]);if(De>x.display.sizerWidth){var Ln=Math.ceil(De/za(x.display));Ln>x.display.maxLineLength&&(x.display.maxLineLength=Ln,x.display.maxLine=ie.line,x.display.maxLineChanged=!0)}}}}function yr(x){if(x.widgets)for(var z=0;z<x.widgets.length;++z){var ne=x.widgets[z],te=ne.node.parentNode;te&&(ne.height=te.offsetHeight)}}function kn(x,z,ne){var te=ne&&ne.top!=null?Math.max(0,ne.top):x.scroller.scrollTop;te=Math.floor(te-Ro(x));var ie=ne&&ne.bottom!=null?ne.bottom:te+x.wrapper.clientHeight,de=Dn(z,te),be=Dn(z,ie);if(ne&&ne.ensure){var De=ne.ensure.from.line,Ie=ne.ensure.to.line;De<de?(de=De,be=Dn(z,Lr(ct(z,De))+x.wrapper.clientHeight)):Math.min(Ie,z.lastLine())>=be&&(de=Dn(z,Lr(ct(z,Ie))-x.wrapper.clientHeight),be=Ie)}return{from:de,to:Math.max(be,de+1)}}function Jn(x,z){if(!Ue(x,"scrollCursorIntoView")){var ne=x.display,te=ne.sizer.getBoundingClientRect(),ie=null;if(z.top+te.top<0?ie=!0:z.bottom+te.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!Te){var de=Ye("div","\u200B",null,`position: absolute;
|
|
|
top: `+(z.top-ne.viewOffset-Ro(x.display))+`px;
|
|
|
height: `+(z.bottom-z.top+Mo(x)+ne.barHeight)+`px;
|
|
|
left: `+z.left+"px; width: "+Math.max(2,z.right-z.left)+"px;");x.display.lineSpace.appendChild(de),de.scrollIntoView(ie),x.display.lineSpace.removeChild(de)}}}function vr(x,z,ne,te){te==null&&(te=0);var ie;!x.options.lineWrapping&&z==ne&&(z=z.ch?qt(z.line,z.sticky=="before"?z.ch-1:z.ch,"after"):z,ne=z.sticky=="before"?qt(z.line,z.ch+1,"before"):z);for(var de=0;de<5;de++){var be=!1,De=qo(x,z),Ie=!ne||ne==z?De:qo(x,ne);ie={left:Math.min(De.left,Ie.left),top:Math.min(De.top,Ie.top)-te,right:Math.max(De.left,Ie.left),bottom:Math.max(De.bottom,Ie.bottom)+te};var Xe=ri(x,ie),Ft=x.doc.scrollTop,Yt=x.doc.scrollLeft;if(Xe.scrollTop!=null&&(ea(x,Xe.scrollTop),Math.abs(x.doc.scrollTop-Ft)>1&&(be=!0)),Xe.scrollLeft!=null&&(Ba(x,Xe.scrollLeft),Math.abs(x.doc.scrollLeft-Yt)>1&&(be=!0)),!be)break}return ie}function bi(x,z){var ne=ri(x,z);ne.scrollTop!=null&&ea(x,ne.scrollTop),ne.scrollLeft!=null&&Ba(x,ne.scrollLeft)}function ri(x,z){var ne=x.display,te=Wl(x.display);z.top<0&&(z.top=0);var ie=x.curOp&&x.curOp.scrollTop!=null?x.curOp.scrollTop:ne.scroller.scrollTop,de=Is(x),be={};z.bottom-z.top>de&&(z.bottom=z.top+de);var De=x.doc.height+ul(ne),Ie=z.top<te,Xe=z.bottom>De-te;if(z.top<ie)be.scrollTop=Ie?0:z.top;else if(z.bottom>ie+de){var Ft=Math.min(z.top,(Xe?De:z.bottom)-de);Ft!=ie&&(be.scrollTop=Ft)}var Yt=x.options.fixedGutter?0:ne.gutters.offsetWidth,Ln=x.curOp&&x.curOp.scrollLeft!=null?x.curOp.scrollLeft:ne.scroller.scrollLeft-Yt,Mn=so(x)-ne.gutters.offsetWidth,cr=z.right-z.left>Mn;return cr&&(z.right=z.left+Mn),z.left<10?be.scrollLeft=0:z.left<Ln?be.scrollLeft=Math.max(0,z.left+Yt-(cr?0:10)):z.right>Mn+Ln-3&&(be.scrollLeft=z.right+(cr?0:10)-Mn),be}function vi(x,z){z!=null&&(ta(x),x.curOp.scrollTop=(x.curOp.scrollTop==null?x.doc.scrollTop:x.curOp.scrollTop)+z)}function xi(x){ta(x);var z=x.getCursor();x.curOp.scrollToPos={from:z,to:z,margin:x.options.cursorScrollMargin}}function mi(x,z,ne){(z!=null||ne!=null)&&ta(x),z!=null&&(x.curOp.scrollLeft=z),ne!=null&&(x.curOp.scrollTop=ne)}function ai(x,z){ta(x),x.curOp.scrollToPos=z}function ta(x){var z=x.curOp.scrollToPos;if(z){x.curOp.scrollToPos=null;var ne=Tu(x,z.from),te=Tu(x,z.to);Zi(x,ne,te,z.margin)}}function Zi(x,z,ne,te){var ie=ri(x,{left:Math.min(z.left,ne.left),top:Math.min(z.top,ne.top)-te,right:Math.max(z.right,ne.right),bottom:Math.max(z.bottom,ne.bottom)+te});mi(x,ie.scrollLeft,ie.scrollTop)}function ea(x,z){Math.abs(x.doc.scrollTop-z)<2||(ae||$s(x,{top:z}),Ca(x,z,!0),ae&&$s(x),ds(x,100))}function Ca(x,z,ne){z=Math.max(0,Math.min(x.display.scroller.scrollHeight-x.display.scroller.clientHeight,z)),!(x.display.scroller.scrollTop==z&&!ne)&&(x.doc.scrollTop=z,x.display.scrollbars.setScrollTop(z),x.display.scroller.scrollTop!=z&&(x.display.scroller.scrollTop=z))}function Ba(x,z,ne,te){z=Math.max(0,Math.min(z,x.display.scroller.scrollWidth-x.display.scroller.clientWidth)),!((ne?z==x.doc.scrollLeft:Math.abs(x.doc.scrollLeft-z)<2)&&!te)&&(x.doc.scrollLeft=z,au(x),x.display.scroller.scrollLeft!=z&&(x.display.scroller.scrollLeft=z),x.display.scrollbars.setScrollLeft(z))}function Fa(x){var z=x.display,ne=z.gutters.offsetWidth,te=Math.round(x.doc.height+ul(x.display));return{clientHeight:z.scroller.clientHeight,viewHeight:z.wrapper.clientHeight,scrollWidth:z.scroller.scrollWidth,clientWidth:z.scroller.clientWidth,viewWidth:z.wrapper.clientWidth,barLeft:x.options.fixedGutter?ne:0,docHeight:te,scrollHeight:te+Mo(x)+z.barHeight,nativeBarWidth:z.nativeBarWidth,gutterWidth:ne}}var Va=function(x,z,ne){this.cm=ne;var te=this.vert=Ye("div",[Ye("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=Ye("div",[Ye("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");te.tabIndex=ie.tabIndex=-1,x(te),x(ie),tn(te,"scroll",function(){te.clientHeight&&z(te.scrollTop,"vertical")}),tn(ie,"scroll",function(){ie.clientWidth&&z(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Se&&ke<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Va.prototype.update=function(x){var z=x.scrollWidth>x.clientWidth+1,ne=x.scrollHeight>x.clientHeight+1,te=x.nativeBarWidth;if(ne){this.vert.style.display="block",this.vert.style.bottom=z?te+"px":"0";var ie=x.viewHeight-(z?te:0);this.vert.firstChild.style.height=Math.max(0,x.scrollHeight-x.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(z){this.horiz.style.display="block",this.horiz.style.right=ne?te+"px":"0",this.horiz.style.left=x.barLeft+"px";var de=x.viewWidth-x.barLeft-(ne?te:0);this.horiz.firstChild.style.width=Math.max(0,x.scrollWidth-x.clientWidth+de)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&x.clientHeight>0&&(te==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:ne?te:0,bottom:z?te:0}},Va.prototype.setScrollLeft=function(x){this.horiz.scrollLeft!=x&&(this.horiz.scrollLeft=x),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Va.prototype.setScrollTop=function(x){this.vert.scrollTop!=x&&(this.vert.scrollTop=x),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Va.prototype.zeroWidthHack=function(){var x=lt&&!Be?"12px":"18px";this.horiz.style.height=this.vert.style.width=x,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ce,this.disableVert=new Ce},Va.prototype.enableZeroWidthBar=function(x,z,ne){x.style.pointerEvents="auto";function te(){var ie=x.getBoundingClientRect(),de=ne=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);de!=x?x.style.pointerEvents="none":z.set(1e3,te)}z.set(1e3,te)},Va.prototype.clear=function(){var x=this.horiz.parentNode;x.removeChild(this.horiz),x.removeChild(this.vert)};var oa=function(){};oa.prototype.update=function(){return{bottom:0,right:0}},oa.prototype.setScrollLeft=function(){},oa.prototype.setScrollTop=function(){},oa.prototype.clear=function(){};function sa(x,z){z||(z=Fa(x));var ne=x.display.barWidth,te=x.display.barHeight;ba(x,z);for(var ie=0;ie<4&&ne!=x.display.barWidth||te!=x.display.barHeight;ie++)ne!=x.display.barWidth&&x.options.lineWrapping&&mr(x),ba(x,Fa(x)),ne=x.display.barWidth,te=x.display.barHeight}function ba(x,z){var ne=x.display,te=ne.scrollbars.update(z);ne.sizer.style.paddingRight=(ne.barWidth=te.right)+"px",ne.sizer.style.paddingBottom=(ne.barHeight=te.bottom)+"px",ne.heightForcer.style.borderBottom=te.bottom+"px solid transparent",te.right&&te.bottom?(ne.scrollbarFiller.style.display="block",ne.scrollbarFiller.style.height=te.bottom+"px",ne.scrollbarFiller.style.width=te.right+"px"):ne.scrollbarFiller.style.display="",te.bottom&&x.options.coverGutterNextToScrollbar&&x.options.fixedGutter?(ne.gutterFiller.style.display="block",ne.gutterFiller.style.height=te.bottom+"px",ne.gutterFiller.style.width=z.gutterWidth+"px"):ne.gutterFiller.style.display=""}var Wa={native:Va,null:oa};function Ya(x){x.display.scrollbars&&(x.display.scrollbars.clear(),x.display.scrollbars.addClass&&$e(x.display.wrapper,x.display.scrollbars.addClass)),x.display.scrollbars=new Wa[x.options.scrollbarStyle](function(z){x.display.wrapper.insertBefore(z,x.display.scrollbarFiller),tn(z,"mousedown",function(){x.state.focused&&setTimeout(function(){return x.display.input.focus()},0)}),z.setAttribute("cm-not-content","true")},function(z,ne){ne=="horizontal"?Ba(x,z):ea(x,z)},x),x.display.scrollbars.addClass&&Nt(x.display.wrapper,x.display.scrollbars.addClass)}var Ia=0;function Za(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:++Ia},hn(x.curOp)}function io(x){var z=x.curOp;z&&Rn(z,function(ne){for(var te=0;te<ne.ops.length;te++)ne.ops[te].cm.curOp=null;Bo(ne)})}function Bo(x){for(var z=x.ops,ne=0;ne<z.length;ne++)$o(z[ne]);for(var te=0;te<z.length;te++)So(z[te]);for(var ie=0;ie<z.length;ie++)es(z[ie]);for(var de=0;de<z.length;de++)lo(z[de]);for(var be=0;be<z.length;be++)Lo(z[be])}function $o(x){var z=x.cm,ne=z.display;Eo(z),x.updateMaxLine&&kr(z),x.mustUpdate=x.viewChanged||x.forceUpdate||x.scrollTop!=null||x.scrollToPos&&(x.scrollToPos.from.line<ne.viewFrom||x.scrollToPos.to.line>=ne.viewTo)||ne.maxLineChanged&&z.options.lineWrapping,x.update=x.mustUpdate&&new vo(z,x.mustUpdate&&{top:x.scrollTop,ensure:x.scrollToPos},x.forceUpdate)}function So(x){x.updatedDisplay=x.mustUpdate&&uo(x.cm,x.update)}function es(x){var z=x.cm,ne=z.display;x.updatedDisplay&&mr(z),x.barMeasure=Fa(z),ne.maxLineChanged&&!z.options.lineWrapping&&(x.adjustWidthTo=Os(z,ne.maxLine,ne.maxLine.text.length).left+3,z.display.sizerWidth=x.adjustWidthTo,x.barMeasure.scrollWidth=Math.max(ne.scroller.clientWidth,ne.sizer.offsetLeft+x.adjustWidthTo+Mo(z)+z.display.barWidth),x.maxScrollLeft=Math.max(0,ne.sizer.offsetLeft+x.adjustWidthTo-so(z))),(x.updatedDisplay||x.selectionChanged)&&(x.preparedSelection=ne.input.prepareSelection())}function lo(x){var z=x.cm;x.adjustWidthTo!=null&&(z.display.sizer.style.minWidth=x.adjustWidthTo+"px",x.maxScrollLeft<z.doc.scrollLeft&&Ba(z,Math.min(z.display.scroller.scrollLeft,x.maxScrollLeft),!0),z.display.maxLineChanged=!1);var ne=x.focus&&x.focus==it();x.preparedSelection&&z.display.input.showSelection(x.preparedSelection,ne),(x.updatedDisplay||x.startHeight!=z.doc.height)&&sa(z,x.barMeasure),x.updatedDisplay&&wl(z,x.barMeasure),x.selectionChanged&&Tn(z),z.state.focused&&x.updateInput&&z.display.input.reset(x.typing),ne&&Qn(x.cm)}function Lo(x){var z=x.cm,ne=z.display,te=z.doc;if(x.updatedDisplay&&Ho(z,x.update),ne.wheelStartX!=null&&(x.scrollTop!=null||x.scrollLeft!=null||x.scrollToPos)&&(ne.wheelStartX=ne.wheelStartY=null),x.scrollTop!=null&&Ca(z,x.scrollTop,x.forceScroll),x.scrollLeft!=null&&Ba(z,x.scrollLeft,!0,!0),x.scrollToPos){var ie=vr(z,Wt(te,x.scrollToPos.from),Wt(te,x.scrollToPos.to),x.scrollToPos.margin);Jn(z,ie)}var de=x.maybeHiddenMarkers,be=x.maybeUnhiddenMarkers;if(de)for(var De=0;De<de.length;++De)de[De].lines.length||We(de[De],"hide");if(be)for(var Ie=0;Ie<be.length;++Ie)be[Ie].lines.length&&We(be[Ie],"unhide");ne.wrapper.offsetHeight&&(te.scrollTop=z.display.scroller.scrollTop),x.changeObjs&&We(z,"changes",z,x.changeObjs),x.update&&x.update.finish()}function Sa(x,z){if(x.curOp)return z();Za(x);try{return z()}finally{io(x)}}function Oa(x,z){return function(){if(x.curOp)return z.apply(x,arguments);Za(x);try{return z.apply(x,arguments)}finally{io(x)}}}function xa(x){return function(){if(this.curOp)return x.apply(this,arguments);Za(this);try{return x.apply(this,arguments)}finally{io(this)}}}function _a(x){return function(){var z=this.cm;if(!z||z.curOp)return x.apply(this,arguments);Za(z);try{return x.apply(this,arguments)}finally{io(z)}}}function ds(x,z){x.doc.highlightFrontier<x.display.viewTo&&x.state.highlight.set(z,un(ma,x))}function ma(x){var z=x.doc;if(!(z.highlightFrontier>=x.display.viewTo)){var ne=+new Date+x.options.workTime,te=dn(x,z.highlightFrontier),ie=[];z.iter(te.line,Math.min(z.first+z.size,x.display.viewTo+500),function(de){if(te.line>=x.display.viewFrom){var be=de.styles,De=de.text.length>x.options.maxHighlightLength?Fe(z.mode,te.state):null,Ie=ln(x,de,te,!0);De&&(te.state=De),de.styles=Ie.styles;var Xe=de.styleClasses,Ft=Ie.classes;Ft?de.styleClasses=Ft:Xe&&(de.styleClasses=null);for(var Yt=!be||be.length!=de.styles.length||Xe!=Ft&&(!Xe||!Ft||Xe.bgClass!=Ft.bgClass||Xe.textClass!=Ft.textClass),Ln=0;!Yt&&Ln<be.length;++Ln)Yt=be[Ln]!=de.styles[Ln];Yt&&ie.push(te.line),de.stateAfter=te.save(),te.nextLine()}else de.text.length<=x.options.maxHighlightLength&&cn(x,de.text,te),de.stateAfter=te.line%5==0?te.save():null,te.nextLine();if(+new Date>ne)return ds(x,x.options.workDelay),!0}),z.highlightFrontier=te.line,z.modeFrontier=Math.max(z.modeFrontier,te.line),ie.length&&Sa(x,function(){for(var de=0;de<ie.length;de++)dl(x,ie[de],"text")})}}var vo=function(x,z,ne){var te=x.display;this.viewport=z,this.visible=kn(te,x.doc,z),this.editorIsHidden=!te.wrapper.offsetWidth,this.wrapperHeight=te.wrapper.clientHeight,this.wrapperWidth=te.wrapper.clientWidth,this.oldDisplayWidth=so(x),this.force=ne,this.dims=Ka(x),this.events=[]};vo.prototype.signal=function(x,z){gn(x,z)&&this.events.push(arguments)},vo.prototype.finish=function(){for(var x=0;x<this.events.length;x++)We.apply(null,this.events[x])};function Eo(x){var z=x.display;!z.scrollbarsClipped&&z.scroller.offsetWidth&&(z.nativeBarWidth=z.scroller.offsetWidth-z.scroller.clientWidth,z.heightForcer.style.height=Mo(x)+"px",z.sizer.style.marginBottom=-z.nativeBarWidth+"px",z.sizer.style.borderRightWidth=Mo(x)+"px",z.scrollbarsClipped=!0)}function ts(x){if(x.hasFocus())return null;var z=it();if(!z||!Pt(x.display.lineDiv,z))return null;var ne={activeElt:z};if(window.getSelection){var te=window.getSelection();te.anchorNode&&te.extend&&Pt(x.display.lineDiv,te.anchorNode)&&(ne.anchorNode=te.anchorNode,ne.anchorOffset=te.anchorOffset,ne.focusNode=te.focusNode,ne.focusOffset=te.focusOffset)}return ne}function fs(x){if(!(!x||!x.activeElt||x.activeElt==it())&&(x.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(x.activeElt.nodeName)&&x.anchorNode&&Pt(document.body,x.anchorNode)&&Pt(document.body,x.focusNode))){var z=window.getSelection(),ne=document.createRange();ne.setEnd(x.anchorNode,x.anchorOffset),ne.collapse(!1),z.removeAllRanges(),z.addRange(ne),z.extend(x.focusNode,x.focusOffset)}}function uo(x,z){var ne=x.display,te=x.doc;if(z.editorIsHidden)return fl(x),!1;if(!z.force&&z.visible.from>=ne.viewFrom&&z.visible.to<=ne.viewTo&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo)&&ne.renderedView==ne.view&&Le(x)==0)return!1;Cl(x)&&(fl(x),z.dims=Ka(x));var ie=te.first+te.size,de=Math.max(z.visible.from-x.options.viewportMargin,te.first),be=Math.min(ie,z.visible.to+x.options.viewportMargin);ne.viewFrom<de&&de-ne.viewFrom<20&&(de=Math.max(te.first,ne.viewFrom)),ne.viewTo>be&&ne.viewTo-be<20&&(be=Math.min(ie,ne.viewTo)),Hr&&(de=ji(x.doc,de),be=Ni(x.doc,be));var De=de!=ne.viewFrom||be!=ne.viewTo||ne.lastWrapHeight!=z.wrapperHeight||ne.lastWrapWidth!=z.wrapperWidth;Ae(x,de,be),ne.viewOffset=Lr(ct(x.doc,ne.viewFrom)),x.display.mover.style.top=ne.viewOffset+"px";var Ie=Le(x);if(!De&&Ie==0&&!z.force&&ne.renderedView==ne.view&&(ne.updateLineNumbers==null||ne.updateLineNumbers>=ne.viewTo))return!1;var Xe=ts(x);return Ie>4&&(ne.lineDiv.style.display="none"),tl(x,ne.updateLineNumbers,z.dims),Ie>4&&(ne.lineDiv.style.display=""),ne.renderedView=ne.view,fs(Xe),et(ne.cursorDiv),et(ne.selectionDiv),ne.gutters.style.height=ne.sizer.style.minHeight=0,De&&(ne.lastWrapHeight=z.wrapperHeight,ne.lastWrapWidth=z.wrapperWidth,ds(x,400)),ne.updateLineNumbers=null,!0}function Ho(x,z){for(var ne=z.viewport,te=!0;;te=!1){if(!te||!x.options.lineWrapping||z.oldDisplayWidth==so(x)){if(ne&&ne.top!=null&&(ne={top:Math.min(x.doc.height+ul(x.display)-Is(x),ne.top)}),z.visible=kn(x.display,x.doc,ne),z.visible.from>=x.display.viewFrom&&z.visible.to<=x.display.viewTo)break}else te&&(z.visible=kn(x.display,x.doc,ne));if(!uo(x,z))break;mr(x);var ie=Fa(x);gt(x),sa(x,ie),wl(x,ie),z.force=!1}z.signal(x,"update",x),(x.display.viewFrom!=x.display.reportedViewFrom||x.display.viewTo!=x.display.reportedViewTo)&&(z.signal(x,"viewportChange",x,x.display.viewFrom,x.display.viewTo),x.display.reportedViewFrom=x.display.viewFrom,x.display.reportedViewTo=x.display.viewTo)}function $s(x,z){var ne=new vo(x,z);if(uo(x,ne)){mr(x),Ho(x,ne);var te=Fa(x);gt(x),sa(x,te),wl(x,te),ne.finish()}}function tl(x,z,ne){var te=x.display,ie=x.options.lineNumbers,de=te.lineDiv,be=de.firstChild;function De(cr){var Pr=cr.nextSibling;return Oe&<&&x.display.currentWheelTarget==cr?cr.style.display="none":cr.parentNode.removeChild(cr),Pr}for(var Ie=te.view,Xe=te.viewFrom,Ft=0;Ft<Ie.length;Ft++){var Yt=Ie[Ft];if(!Yt.hidden)if(!Yt.node||Yt.node.parentNode!=de){var Ln=Si(x,Yt,Xe,ne);de.insertBefore(Ln,be)}else{for(;be!=Yt.node;)be=De(be);var Mn=ie&&z!=null&&z<=Xe&&Yt.lineNumber;Yt.changes&&(nt(Yt.changes,"gutter")>-1&&(Mn=!1),Er(x,Yt,Xe,ne)),Mn&&(et(Yt.lineNumber),Yt.lineNumber.appendChild(document.createTextNode(jn(x.options,Xe)))),be=Yt.node.nextSibling}Xe+=Yt.size}for(;be;)be=De(be)}function hs(x){var z=x.gutters.offsetWidth;x.sizer.style.marginLeft=z+"px"}function wl(x,z){x.display.sizer.style.minHeight=z.docHeight+"px",x.display.heightForcer.style.top=z.docHeight+"px",x.display.gutters.style.height=z.docHeight+x.display.barHeight+Mo(x)+"px"}function au(x){var z=x.display,ne=z.view;if(!(!z.alignWidgets&&(!z.gutters.firstChild||!x.options.fixedGutter))){for(var te=qa(z)-z.scroller.scrollLeft+x.doc.scrollLeft,ie=z.gutters.offsetWidth,de=te+"px",be=0;be<ne.length;be++)if(!ne[be].hidden){x.options.fixedGutter&&(ne[be].gutter&&(ne[be].gutter.style.left=de),ne[be].gutterBackground&&(ne[be].gutterBackground.style.left=de));var De=ne[be].alignable;if(De)for(var Ie=0;Ie<De.length;Ie++)De[Ie].style.left=de}x.options.fixedGutter&&(z.gutters.style.left=te+ie+"px")}}function Cl(x){if(!x.options.lineNumbers)return!1;var z=x.doc,ne=jn(x.options,z.first+z.size-1),te=x.display;if(ne.length!=te.lineNumChars){var ie=te.measure.appendChild(Ye("div",[Ye("div",ne)],"CodeMirror-linenumber CodeMirror-gutter-elt")),de=ie.firstChild.offsetWidth,be=ie.offsetWidth-de;return te.lineGutter.style.width="",te.lineNumInnerWidth=Math.max(de,te.lineGutter.offsetWidth-be)+1,te.lineNumWidth=te.lineNumInnerWidth+be,te.lineNumChars=te.lineNumInnerWidth?ne.length:-1,te.lineGutter.style.width=te.lineNumWidth+"px",hs(x.display),!0}return!1}function ns(x,z){for(var ne=[],te=!1,ie=0;ie<x.length;ie++){var de=x[ie],be=null;if(typeof de!="string"&&(be=de.style,de=de.className),de=="CodeMirror-linenumbers")if(z)te=!0;else continue;ne.push({className:de,style:be})}return z&&!te&&ne.push({className:"CodeMirror-linenumbers",style:null}),ne}function el(x){var z=x.gutters,ne=x.gutterSpecs;et(z),x.lineGutter=null;for(var te=0;te<ne.length;++te){var ie=ne[te],de=ie.className,be=ie.style,De=z.appendChild(Ye("div",null,"CodeMirror-gutter "+de));be&&(De.style.cssText=be),de=="CodeMirror-linenumbers"&&(x.lineGutter=De,De.style.width=(x.lineNumWidth||1)+"px")}z.style.display=ne.length?"":"none",hs(x)}function ps(x){el(x.display),ws(x),au(x)}function ou(x,z,ne,te){var ie=this;this.input=ne,ie.scrollbarFiller=Ye("div",null,"CodeMirror-scrollbar-filler"),ie.scrollbarFiller.setAttribute("cm-not-content","true"),ie.gutterFiller=Ye("div",null,"CodeMirror-gutter-filler"),ie.gutterFiller.setAttribute("cm-not-content","true"),ie.lineDiv=pt("div",null,"CodeMirror-code"),ie.selectionDiv=Ye("div",null,null,"position: relative; z-index: 1"),ie.cursorDiv=Ye("div",null,"CodeMirror-cursors"),ie.measure=Ye("div",null,"CodeMirror-measure"),ie.lineMeasure=Ye("div",null,"CodeMirror-measure"),ie.lineSpace=pt("div",[ie.measure,ie.lineMeasure,ie.selectionDiv,ie.cursorDiv,ie.lineDiv],null,"position: relative; outline: none");var de=pt("div",[ie.lineSpace],"CodeMirror-lines");ie.mover=Ye("div",[de],null,"position: relative"),ie.sizer=Ye("div",[ie.mover],"CodeMirror-sizer"),ie.sizerWidth=null,ie.heightForcer=Ye("div",null,null,"position: absolute; height: "+$t+"px; width: 1px;"),ie.gutters=Ye("div",null,"CodeMirror-gutters"),ie.lineGutter=null,ie.scroller=Ye("div",[ie.sizer,ie.heightForcer,ie.gutters],"CodeMirror-scroll"),ie.scroller.setAttribute("tabIndex","-1"),ie.wrapper=Ye("div",[ie.scrollbarFiller,ie.gutterFiller,ie.scroller],"CodeMirror"),Se&&ke<8&&(ie.gutters.style.zIndex=-1,ie.scroller.style.paddingRight=0),!Oe&&!(ae&&ft)&&(ie.scroller.draggable=!0),x&&(x.appendChild?x.appendChild(ie.wrapper):x(ie.wrapper)),ie.viewFrom=ie.viewTo=z.first,ie.reportedViewFrom=ie.reportedViewTo=z.first,ie.view=[],ie.renderedView=null,ie.externalMeasured=null,ie.viewOffset=0,ie.lastWrapHeight=ie.lastWrapWidth=0,ie.updateLineNumbers=null,ie.nativeBarWidth=ie.barHeight=ie.barWidth=0,ie.scrollbarsClipped=!1,ie.lineNumWidth=ie.lineNumInnerWidth=ie.lineNumChars=null,ie.alignWidgets=!1,ie.cachedCharWidth=ie.cachedTextHeight=ie.cachedPaddingH=null,ie.maxLine=null,ie.maxLineLength=0,ie.maxLineChanged=!1,ie.wheelDX=ie.wheelDY=ie.wheelStartX=ie.wheelStartY=null,ie.shift=!1,ie.selForContextMenu=null,ie.activeTouch=null,ie.gutterSpecs=ns(te.gutters,te.lineNumbers),el(ie),ne.init(ie)}var nl=0,$a=null;Se?$a=-.53:ae?$a=15:Ee?$a=-.7:yt&&($a=-1/3);function eo(x){var z=x.wheelDeltaX,ne=x.wheelDeltaY;return z==null&&x.detail&&x.axis==x.HORIZONTAL_AXIS&&(z=x.detail),ne==null&&x.detail&&x.axis==x.VERTICAL_AXIS?ne=x.detail:ne==null&&(ne=x.wheelDelta),{x:z,y:ne}}function Ls(x){var z=eo(x);return z.x*=$a,z.y*=$a,z}function hl(x,z){var ne=eo(z),te=ne.x,ie=ne.y,de=x.display,be=de.scroller,De=be.scrollWidth>be.clientWidth,Ie=be.scrollHeight>be.clientHeight;if(te&&De||ie&&Ie){if(ie&<&&Oe){e:for(var Xe=z.target,Ft=de.view;Xe!=be;Xe=Xe.parentNode)for(var Yt=0;Yt<Ft.length;Yt++)if(Ft[Yt].node==Xe){x.display.currentWheelTarget=Xe;break e}}if(te&&!ae&&!Ze&&$a!=null){ie&&Ie&&ea(x,Math.max(0,be.scrollTop+ie*$a)),Ba(x,Math.max(0,be.scrollLeft+te*$a)),(!ie||ie&&Ie)&&Un(z),de.wheelStartX=null;return}if(ie&&$a!=null){var Ln=ie*$a,Mn=x.doc.scrollTop,cr=Mn+de.wrapper.clientHeight;Ln<0?Mn=Math.max(0,Mn+Ln-50):cr=Math.min(x.doc.height,cr+Ln+50),$s(x,{top:Mn,bottom:cr})}nl<20&&(de.wheelStartX==null?(de.wheelStartX=be.scrollLeft,de.wheelStartY=be.scrollTop,de.wheelDX=te,de.wheelDY=ie,setTimeout(function(){if(de.wheelStartX!=null){var Pr=be.scrollLeft-de.wheelStartX,ni=be.scrollTop-de.wheelStartY,yi=ni&&de.wheelDY&&ni/de.wheelDY||Pr&&de.wheelDX&&Pr/de.wheelDX;de.wheelStartX=de.wheelStartY=null,yi&&($a=($a*nl+yi)/(nl+1),++nl)}},200)):(de.wheelDX+=te,de.wheelDY+=ie))}}var Io=function(x,z){this.ranges=x,this.primIndex=z};Io.prototype.primary=function(){return this.ranges[this.primIndex]},Io.prototype.equals=function(x){if(x==this)return!0;if(x.primIndex!=this.primIndex||x.ranges.length!=this.ranges.length)return!1;for(var z=0;z<this.ranges.length;z++){var ne=this.ranges[z],te=x.ranges[z];if(!Ct(ne.anchor,te.anchor)||!Ct(ne.head,te.head))return!1}return!0},Io.prototype.deepCopy=function(){for(var x=[],z=0;z<this.ranges.length;z++)x[z]=new fa(Rt(this.ranges[z].anchor),Rt(this.ranges[z].head));return new Io(x,this.primIndex)},Io.prototype.somethingSelected=function(){for(var x=0;x<this.ranges.length;x++)if(!this.ranges[x].empty())return!0;return!1},Io.prototype.contains=function(x,z){z||(z=x);for(var ne=0;ne<this.ranges.length;ne++){var te=this.ranges[ne];if(Sn(z,te.from())>=0&&Sn(x,te.to())<=0)return ne}return-1};var fa=function(x,z){this.anchor=x,this.head=z};fa.prototype.from=function(){return en(this.anchor,this.head)},fa.prototype.to=function(){return Xt(this.anchor,this.head)},fa.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Po(x,z,ne){var te=x&&x.options.selectionsMayTouch,ie=z[ne];z.sort(function(Ln,Mn){return Sn(Ln.from(),Mn.from())}),ne=nt(z,ie);for(var de=1;de<z.length;de++){var be=z[de],De=z[de-1],Ie=Sn(De.to(),be.from());if(te&&!be.empty()?Ie>0:Ie>=0){var Xe=en(De.from(),be.from()),Ft=Xt(De.to(),be.to()),Yt=De.empty()?be.from()==be.head:De.from()==De.head;de<=ne&&--ne,z.splice(--de,2,new fa(Yt?Ft:Xe,Yt?Xe:Ft))}}return new Io(z,ne)}function Uo(x,z){return new Io([new fa(x,z||x)],0)}function ao(x){return x.text?qt(x.from.line+x.text.length-1,kt(x.text).length+(x.text.length==1?x.from.ch:0)):x.to}function Cs(x,z){if(Sn(x,z.from)<0)return x;if(Sn(x,z.to)<=0)return ao(z);var ne=x.line+z.text.length-(z.to.line-z.from.line)-1,te=x.ch;return x.line==z.to.line&&(te+=ao(z).ch-z.to.ch),qt(ne,te)}function pl(x,z){for(var ne=[],te=0;te<x.sel.ranges.length;te++){var ie=x.sel.ranges[te];ne.push(new fa(Cs(ie.anchor,z),Cs(ie.head,z)))}return Po(x.cm,ne,x.sel.primIndex)}function co(x,z,ne){return x.line==z.line?qt(ne.line,x.ch-z.ch+ne.ch):qt(ne.line+(x.line-z.line),x.ch)}function Ss(x,z,ne){for(var te=[],ie=qt(x.first,0),de=ie,be=0;be<z.length;be++){var De=z[be],Ie=co(De.from,ie,de),Xe=co(ao(De),ie,de);if(ie=De.to,de=Xe,ne=="around"){var Ft=x.sel.ranges[be],Yt=Sn(Ft.head,Ft.anchor)<0;te[be]=new fa(Yt?Xe:Ie,Yt?Ie:Xe)}else te[be]=new fa(Ie,Ie)}return new Io(te,x.sel.primIndex)}function rl(x){x.doc.mode=Bn(x.options,x.doc.modeOption),Ta(x)}function Ta(x){x.doc.iter(function(z){z.stateAfter&&(z.stateAfter=null),z.styles&&(z.styles=null)}),x.doc.modeFrontier=x.doc.highlightFrontier=x.doc.first,ds(x,100),x.state.modeGen++,x.curOp&&ws(x)}function ml(x,z){return z.from.ch==0&&z.to.ch==0&&kt(z.text)==""&&(!x.cm||x.cm.options.wholeLineUpdateBefore)}function Gs(x,z,ne,te){function ie(Mi){return ne?ne[Mi]:null}function de(Mi,hi,Bi){Ti(Mi,hi,Bi,te),lr(Mi,"change",Mi,z)}function be(Mi,hi){for(var Bi=[],Wi=Mi;Wi<hi;++Wi)Bi.push(new Ur(Xe[Wi],ie(Wi),te));return Bi}var De=z.from,Ie=z.to,Xe=z.text,Ft=ct(x,De.line),Yt=ct(x,Ie.line),Ln=kt(Xe),Mn=ie(Xe.length-1),cr=Ie.line-De.line;if(z.full)x.insert(0,be(0,Xe.length)),x.remove(Xe.length,x.size-Xe.length);else if(ml(x,z)){var Pr=be(0,Xe.length-1);de(Yt,Yt.text,Mn),cr&&x.remove(De.line,cr),Pr.length&&x.insert(De.line,Pr)}else if(Ft==Yt)if(Xe.length==1)de(Ft,Ft.text.slice(0,De.ch)+Ln+Ft.text.slice(Ie.ch),Mn);else{var ni=be(1,Xe.length-1);ni.push(new Ur(Ln+Ft.text.slice(Ie.ch),Mn,te)),de(Ft,Ft.text.slice(0,De.ch)+Xe[0],ie(0)),x.insert(De.line+1,ni)}else if(Xe.length==1)de(Ft,Ft.text.slice(0,De.ch)+Xe[0]+Yt.text.slice(Ie.ch),ie(0)),x.remove(De.line+1,cr);else{de(Ft,Ft.text.slice(0,De.ch)+Xe[0],ie(0)),de(Yt,Ln+Yt.text.slice(Ie.ch),Mn);var yi=be(1,Xe.length-1);cr>1&&x.remove(De.line+1,cr-1),x.insert(De.line+1,yi)}lr(x,"change",x,z)}function rs(x,z,ne){function te(ie,de,be){if(ie.linked)for(var De=0;De<ie.linked.length;++De){var Ie=ie.linked[De];if(Ie.doc!=de){var Xe=be&&Ie.sharedHist;ne&&!Xe||(z(Ie.doc,Xe),te(Ie.doc,ie,Xe))}}}te(x,null,!0)}function Sl(x,z){if(z.cm)throw new Error("This document is already in use.");x.doc=z,z.cm=x,Go(x),rl(x),il(x),x.options.lineWrapping||kr(x),x.options.mode=z.modeOption,ws(x)}function il(x){(x.doc.direction=="rtl"?Nt:$e)(x.display.lineDiv,"CodeMirror-rtl")}function Zl(x){Sa(x,function(){il(x),ws(x)})}function gl(x){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=x||1}function qi(x,z){var ne={from:Rt(z.from),to:ao(z),text:St(x,z.from,z.to)};return Mu(x,ne,z.from.line,z.to.line+1),rs(x,function(te){return Mu(te,ne,z.from.line,z.to.line+1)},!0),ne}function ki(x){for(;x.length;){var z=kt(x);if(z.ranges)x.pop();else break}}function ha(x,z){if(z)return ki(x.done),kt(x.done);if(x.done.length&&!kt(x.done).ranges)return kt(x.done);if(x.done.length>1&&!x.done[x.done.length-2].ranges)return x.done.pop(),kt(x.done)}function fo(x,z,ne,te){var ie=x.history;ie.undone.length=0;var de=+new Date,be,De;if((ie.lastOp==te||ie.lastOrigin==z.origin&&z.origin&&(z.origin.charAt(0)=="+"&&ie.lastModTime>de-(x.cm?x.cm.options.historyEventDelay:500)||z.origin.charAt(0)=="*"))&&(be=ha(ie,ie.lastOp==te)))De=kt(be.changes),Sn(z.from,z.to)==0&&Sn(z.from,De.to)==0?De.to=ao(z):be.changes.push(qi(x,z));else{var Ie=kt(ie.done);for((!Ie||!Ie.ranges)&&jl(x.sel,ie.done),be={changes:[qi(x,z)],generation:ie.generation},ie.done.push(be);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(ne),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=de,ie.lastOp=ie.lastSelOp=te,ie.lastOrigin=ie.lastSelOrigin=z.origin,De||We(x,"historyAdded")}function Us(x,z,ne,te){var ie=z.charAt(0);return ie=="*"||ie=="+"&&ne.ranges.length==te.ranges.length&&ne.somethingSelected()==te.somethingSelected()&&new Date-x.history.lastSelTime<=(x.cm?x.cm.options.historyEventDelay:500)}function Au(x,z,ne,te){var ie=x.history,de=te&&te.origin;ne==ie.lastSelOp||de&&ie.lastSelOrigin==de&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==de||Us(x,de,kt(ie.done),z))?ie.done[ie.done.length-1]=z:jl(z,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=de,ie.lastSelOp=ne,te&&te.clearRedo!==!1&&ki(ie.undone)}function jl(x,z){var ne=kt(z);ne&&ne.ranges&&ne.equals(x)||z.push(x)}function Mu(x,z,ne,te){var ie=z["spans_"+x.id],de=0;x.iter(Math.max(x.first,ne),Math.min(x.first+x.size,te),function(be){be.markedSpans&&((ie||(ie=z["spans_"+x.id]={}))[de]=be.markedSpans),++de})}function Vl(x){if(!x)return null;for(var z,ne=0;ne<x.length;++ne)x[ne].marker.explicitlyCleared?z||(z=x.slice(0,ne)):z&&z.push(x[ne]);return z?z.length?z:null:x}function is(x,z){var ne=z["spans_"+x.id];if(!ne)return null;for(var te=[],ie=0;ie<z.text.length;++ie)te.push(Vl(ne[ie]));return te}function na(x,z){var ne=is(x,z),te=Xn(x,z);if(!ne)return te;if(!te)return ne;for(var ie=0;ie<ne.length;++ie){var de=ne[ie],be=te[ie];if(de&&be)e:for(var De=0;De<be.length;++De){for(var Ie=be[De],Xe=0;Xe<de.length;++Xe)if(de[Xe].marker==Ie.marker)continue e;de.push(Ie)}else be&&(ne[ie]=be)}return ne}function El(x,z,ne){for(var te=[],ie=0;ie<x.length;++ie){var de=x[ie];if(de.ranges){te.push(ne?Io.prototype.deepCopy.call(de):de);continue}var be=de.changes,De=[];te.push({changes:De});for(var Ie=0;Ie<be.length;++Ie){var Xe=be[Ie],Ft=void 0;if(De.push({from:Xe.from,to:Xe.to,text:Xe.text}),z)for(var Yt in Xe)(Ft=Yt.match(/^spans_(\d+)$/))&&nt(z,Number(Ft[1]))>-1&&(kt(De)[Yt]=Xe[Yt],delete Xe[Yt])}}return te}function Ys(x,z,ne,te){if(te){var ie=x.anchor;if(ne){var de=Sn(z,ie)<0;de!=Sn(ne,ie)<0?(ie=z,z=ne):de!=Sn(z,ne)<0&&(z=ne)}return new fa(ie,z)}else return new fa(ne||z,z)}function Pl(x,z,ne,te,ie){ie==null&&(ie=x.cm&&(x.cm.display.shift||x.extend)),Oo(x,new Io([Ys(x.sel.primary(),z,ne,ie)],0),te)}function Ai(x,z,ne){for(var te=[],ie=x.cm&&(x.cm.display.shift||x.extend),de=0;de<x.sel.ranges.length;de++)te[de]=Ys(x.sel.ranges[de],z[de],null,ie);var be=Po(x.cm,te,x.sel.primIndex);Oo(x,be,ne)}function Qs(x,z,ne,te){var ie=x.sel.ranges.slice(0);ie[z]=ne,Oo(x,Po(x.cm,ie,x.sel.primIndex),te)}function Nu(x,z,ne,te){Oo(x,Uo(z,ne),te)}function zu(x,z,ne){var te={ranges:z.ranges,update:function(ie){this.ranges=[];for(var de=0;de<ie.length;de++)this.ranges[de]=new fa(Wt(x,ie[de].anchor),Wt(x,ie[de].head))},origin:ne&&ne.origin};return We(x,"beforeSelectionChange",x,te),x.cm&&We(x.cm,"beforeSelectionChange",x.cm,te),te.ranges!=z.ranges?Po(x.cm,te.ranges,te.ranges.length-1):z}function ms(x,z,ne){var te=x.history.done,ie=kt(te);ie&&ie.ranges?(te[te.length-1]=z,su(x,z,ne)):Oo(x,z,ne)}function Oo(x,z,ne){su(x,z,ne),Au(x,x.sel,x.cm?x.cm.curOp.id:NaN,ne)}function su(x,z,ne){(gn(x,"beforeSelectionChange")||x.cm&&gn(x.cm,"beforeSelectionChange"))&&(z=zu(x,z,ne));var te=ne&&ne.bias||(Sn(z.primary().head,x.sel.primary().head)<0?-1:1);ko(x,Ko(x,z,te,!0)),!(ne&&ne.scroll===!1)&&x.cm&&xi(x.cm)}function ko(x,z){z.equals(x.sel)||(x.sel=z,x.cm&&(x.cm.curOp.updateInput=1,x.cm.curOp.selectionChanged=!0,nn(x.cm)),lr(x,"cursorActivity",x))}function Vi(x){ko(x,Ko(x,x.sel,null,!1))}function Ko(x,z,ne,te){for(var ie,de=0;de<z.ranges.length;de++){var be=z.ranges[de],De=z.ranges.length==x.sel.ranges.length&&x.sel.ranges[de],Ie=Ac(x,be.anchor,De&&De.anchor,ne,te),Xe=Ac(x,be.head,De&&De.head,ne,te);(ie||Ie!=be.anchor||Xe!=be.head)&&(ie||(ie=z.ranges.slice(0,de)),ie[de]=new fa(Ie,Xe))}return ie?Po(x.cm,ie,z.primIndex):z}function to(x,z,ne,te,ie){var de=ct(x,z.line);if(de.markedSpans)for(var be=0;be<de.markedSpans.length;++be){var De=de.markedSpans[be],Ie=De.marker,Xe="selectLeft"in Ie?!Ie.selectLeft:Ie.inclusiveLeft,Ft="selectRight"in Ie?!Ie.selectRight:Ie.inclusiveRight;if((De.from==null||(Xe?De.from<=z.ch:De.from<z.ch))&&(De.to==null||(Ft?De.to>=z.ch:De.to>z.ch))){if(ie&&(We(Ie,"beforeCursorEnter"),Ie.explicitlyCleared))if(de.markedSpans){--be;continue}else break;if(!Ie.atomic)continue;if(ne){var Yt=Ie.find(te<0?1:-1),Ln=void 0;if((te<0?Ft:Xe)&&(Yt=Fl(x,Yt,-te,Yt&&Yt.line==z.line?de:null)),Yt&&Yt.line==z.line&&(Ln=Sn(Yt,ne))&&(te<0?Ln<0:Ln>0))return to(x,Yt,z,te,ie)}var Mn=Ie.find(te<0?-1:1);return(te<0?Xe:Ft)&&(Mn=Fl(x,Mn,te,Mn.line==z.line?de:null)),Mn?to(x,Mn,z,te,ie):null}}return z}function Ac(x,z,ne,te,ie){var de=te||1,be=to(x,z,ne,de,ie)||!ie&&to(x,z,ne,de,!0)||to(x,z,ne,-de,ie)||!ie&&to(x,z,ne,-de,!0);return be||(x.cantEdit=!0,qt(x.first,0))}function Fl(x,z,ne,te){return ne<0&&z.ch==0?z.line>x.first?Wt(x,qt(z.line-1)):null:ne>0&&z.ch==(te||ct(x,z.line)).text.length?z.line<x.first+x.size-1?qt(z.line+1,0):null:new qt(z.line,z.ch+ne)}function Wc(x){x.setSelection(qt(x.firstLine(),0),qt(x.lastLine()),Ve)}function oc(x,z,ne){var te={canceled:!1,from:z.from,to:z.to,text:z.text,origin:z.origin,cancel:function(){return te.canceled=!0}};return ne&&(te.update=function(ie,de,be,De){ie&&(te.from=Wt(x,ie)),de&&(te.to=Wt(x,de)),be&&(te.text=be),De!==void 0&&(te.origin=De)}),We(x,"beforeChange",x,te),x.cm&&We(x.cm,"beforeChange",x.cm,te),te.canceled?(x.cm&&(x.cm.curOp.updateInput=2),null):{from:te.from,to:te.to,text:te.text,origin:te.origin}}function Al(x,z,ne){if(x.cm){if(!x.cm.curOp)return Oa(x.cm,Al)(x,z,ne);if(x.cm.state.suppressEdits)return}if(!((gn(x,"beforeChange")||x.cm&&gn(x.cm,"beforeChange"))&&(z=oc(x,z,!0),!z))){var te=_r&&!ne&&Xr(x,z.from,z.to);if(te)for(var ie=te.length-1;ie>=0;--ie)Zc(x,{from:te[ie].from,to:te[ie].to,text:ie?[""]:z.text,origin:z.origin});else Zc(x,z)}}function Zc(x,z){if(!(z.text.length==1&&z.text[0]==""&&Sn(z.from,z.to)==0)){var ne=pl(x,z);fo(x,z,ne,x.cm?x.cm.curOp.id:NaN),Il(x,z,ne,Xn(x,z));var te=[];rs(x,function(ie,de){!de&&nt(te,ie.history)==-1&&(lu(ie.history,z),te.push(ie.history)),Il(ie,z,null,Xn(ie,z))})}}function _l(x,z,ne){var te=x.cm&&x.cm.state.suppressEdits;if(!(te&&!ne)){for(var ie=x.history,de,be=x.sel,De=z=="undo"?ie.done:ie.undone,Ie=z=="undo"?ie.undone:ie.done,Xe=0;Xe<De.length&&(de=De[Xe],!(ne?de.ranges&&!de.equals(x.sel):!de.ranges));Xe++);if(Xe!=De.length){for(ie.lastOrigin=ie.lastSelOrigin=null;;)if(de=De.pop(),de.ranges){if(jl(de,Ie),ne&&!de.equals(x.sel)){Oo(x,de,{clearRedo:!1});return}be=de}else if(te){De.push(de);return}else break;var Ft=[];jl(be,Ie),Ie.push({changes:Ft,generation:ie.generation}),ie.generation=de.generation||++ie.maxGeneration;for(var Yt=gn(x,"beforeChange")||x.cm&&gn(x.cm,"beforeChange"),Ln=function(Pr){var ni=de.changes[Pr];if(ni.origin=z,Yt&&!oc(x,ni,!1))return De.length=0,{};Ft.push(qi(x,ni));var yi=Pr?pl(x,ni):kt(De);Il(x,ni,yi,na(x,ni)),!Pr&&x.cm&&x.cm.scrollIntoView({from:ni.from,to:ao(ni)});var Mi=[];rs(x,function(hi,Bi){!Bi&&nt(Mi,hi.history)==-1&&(lu(hi.history,ni),Mi.push(hi.history)),Il(hi,ni,null,na(hi,ni))})},Mn=de.changes.length-1;Mn>=0;--Mn){var cr=Ln(Mn);if(cr)return cr.v}}}}function sc(x,z){if(z!=0&&(x.first+=z,x.sel=new Io(Bt(x.sel.ranges,function(ie){return new fa(qt(ie.anchor.line+z,ie.anchor.ch),qt(ie.head.line+z,ie.head.ch))}),x.sel.primIndex),x.cm)){ws(x.cm,x.first,x.first-z,z);for(var ne=x.cm.display,te=ne.viewFrom;te<ne.viewTo;te++)dl(x.cm,te,"gutter")}}function Il(x,z,ne,te){if(x.cm&&!x.cm.curOp)return Oa(x.cm,Il)(x,z,ne,te);if(z.to.line<x.first){sc(x,z.text.length-1-(z.to.line-z.from.line));return}if(!(z.from.line>x.lastLine())){if(z.from.line<x.first){var ie=z.text.length-1-(x.first-z.from.line);sc(x,ie),z={from:qt(x.first,0),to:qt(z.to.line+ie,z.to.ch),text:[kt(z.text)],origin:z.origin}}var de=x.lastLine();z.to.line>de&&(z={from:z.from,to:qt(de,ct(x,de).text.length),text:[z.text[0]],origin:z.origin}),z.removed=St(x,z.from,z.to),ne||(ne=pl(x,z)),x.cm?pd(x.cm,z,te):Gs(x,z,te),su(x,ne,Ve),x.cantEdit&&Ac(x,qt(x.firstLine(),0))&&(x.cantEdit=!1)}}function pd(x,z,ne){var te=x.doc,ie=x.display,de=z.from,be=z.to,De=!1,Ie=de.line;x.options.lineWrapping||(Ie=Zt(Ei(ct(te,de.line))),te.iter(Ie,be.line+1,function(Mn){if(Mn==ie.maxLine)return De=!0,!0})),te.sel.contains(z.from,z.to)>-1&&nn(x),Gs(te,z,ne,Bs(x)),x.options.lineWrapping||(te.iter(Ie,de.line+z.text.length,function(Mn){var cr=Dr(Mn);cr>ie.maxLineLength&&(ie.maxLine=Mn,ie.maxLineLength=cr,ie.maxLineChanged=!0,De=!1)}),De&&(x.curOp.updateMaxLine=!0)),tr(te,de.line),ds(x,400);var Xe=z.text.length-(be.line-de.line)-1;z.full?ws(x):de.line==be.line&&z.text.length==1&&!ml(x.doc,z)?dl(x,de.line,"text"):ws(x,de.line,be.line+1,Xe);var Ft=gn(x,"changes"),Yt=gn(x,"change");if(Yt||Ft){var Ln={from:de,to:be,text:z.text,removed:z.removed,origin:z.origin};Yt&&lr(x,"change",x,Ln),Ft&&(x.curOp.changeObjs||(x.curOp.changeObjs=[])).push(Ln)}x.display.selForContextMenu=null}function ku(x,z,ne,te,ie){var de;te||(te=ne),Sn(te,ne)<0&&(de=[te,ne],ne=de[0],te=de[1]),typeof z=="string"&&(z=x.splitLines(z)),Al(x,{from:ne,to:te,text:z,origin:ie})}function md(x,z,ne,te){ne<x.line?x.line+=te:z<x.line&&(x.line=z,x.ch=0)}function Mc(x,z,ne,te){for(var ie=0;ie<x.length;++ie){var de=x[ie],be=!0;if(de.ranges){de.copied||(de=x[ie]=de.deepCopy(),de.copied=!0);for(var De=0;De<de.ranges.length;De++)md(de.ranges[De].anchor,z,ne,te),md(de.ranges[De].head,z,ne,te);continue}for(var Ie=0;Ie<de.changes.length;++Ie){var Xe=de.changes[Ie];if(ne<Xe.from.line)Xe.from=qt(Xe.from.line+te,Xe.from.ch),Xe.to=qt(Xe.to.line+te,Xe.to.ch);else if(z<=Xe.to.line){be=!1;break}}be||(x.splice(0,ie+1),ie=0)}}function lu(x,z){var ne=z.from.line,te=z.to.line,ie=z.text.length-(te-ne)-1;Mc(x.done,ne,te,ie),Mc(x.undone,ne,te,ie)}function Hu(x,z,ne,te){var ie=z,de=z;return typeof z=="number"?de=ct(x,En(x,z)):ie=Zt(z),ie==null?null:(te(de,ie)&&x.cm&&dl(x.cm,ie,ne),de)}function Gl(x){this.lines=x,this.parent=null;for(var z=0,ne=0;ne<x.length;++ne)x[ne].parent=this,z+=x[ne].height;this.height=z}Gl.prototype={chunkSize:function(){return this.lines.length},removeInner:function(x,z){for(var ne=x,te=x+z;ne<te;++ne){var ie=this.lines[ne];this.height-=ie.height,pa(ie),lr(ie,"delete")}this.lines.splice(x,z)},collapse:function(x){x.push.apply(x,this.lines)},insertInner:function(x,z,ne){this.height+=ne,this.lines=this.lines.slice(0,x).concat(z).concat(this.lines.slice(x));for(var te=0;te<z.length;++te)z[te].parent=this},iterN:function(x,z,ne){for(var te=x+z;x<te;++x)if(ne(this.lines[x]))return!0}};function Ku(x){this.children=x;for(var z=0,ne=0,te=0;te<x.length;++te){var ie=x[te];z+=ie.chunkSize(),ne+=ie.height,ie.parent=this}this.size=z,this.height=ne,this.parent=null}Ku.prototype={chunkSize:function(){return this.size},removeInner:function(x,z){this.size-=z;for(var ne=0;ne<this.children.length;++ne){var te=this.children[ne],ie=te.chunkSize();if(x<ie){var de=Math.min(z,ie-x),be=te.height;if(te.removeInner(x,de),this.height-=be-te.height,ie==de&&(this.children.splice(ne--,1),te.parent=null),(z-=de)==0)break;x=0}else x-=ie}if(this.size-z<25&&(this.children.length>1||!(this.children[0]instanceof Gl))){var De=[];this.collapse(De),this.children=[new Gl(De)],this.children[0].parent=this}},collapse:function(x){for(var z=0;z<this.children.length;++z)this.children[z].collapse(x)},insertInner:function(x,z,ne){this.size+=z.length,this.height+=ne;for(var te=0;te<this.children.length;++te){var ie=this.children[te],de=ie.chunkSize();if(x<=de){if(ie.insertInner(x,z,ne),ie.lines&&ie.lines.length>50){for(var be=ie.lines.length%25+25,De=be;De<ie.lines.length;){var Ie=new Gl(ie.lines.slice(De,De+=25));ie.height-=Ie.height,this.children.splice(++te,0,Ie),Ie.parent=this}ie.lines=ie.lines.slice(0,be),this.maybeSpill()}break}x-=de}},maybeSpill:function(){if(!(this.children.length<=10)){var x=this;do{var z=x.children.splice(x.children.length-5,5),ne=new Ku(z);if(x.parent){x.size-=ne.size,x.height-=ne.height;var ie=nt(x.parent.children,x);x.parent.children.splice(ie+1,0,ne)}else{var te=new Ku(x.children);te.parent=x,x.children=[te,ne],x=te}ne.parent=x.parent}while(x.children.length>10);x.parent.maybeSpill()}},iterN:function(x,z,ne){for(var te=0;te<this.children.length;++te){var ie=this.children[te],de=ie.chunkSize();if(x<de){var be=Math.min(z,de-x);if(ie.iterN(x,be,ne))return!0;if((z-=be)==0)break;x=0}else x-=de}}};var uu=function(x,z,ne){if(ne)for(var te in ne)ne.hasOwnProperty(te)&&(this[te]=ne[te]);this.doc=x,this.node=z};uu.prototype.clear=function(){var x=this.doc.cm,z=this.line.widgets,ne=this.line,te=Zt(ne);if(!(te==null||!z)){for(var ie=0;ie<z.length;++ie)z[ie]==this&&z.splice(ie--,1);z.length||(ne.widgets=null);var de=Da(this);Gt(ne,Math.max(0,ne.height-de)),x&&(Sa(x,function(){lc(x,ne,-de),dl(x,te,"widget")}),lr(x,"lineWidgetCleared",x,this,te))}},uu.prototype.changed=function(){var x=this,z=this.height,ne=this.doc.cm,te=this.line;this.height=null;var ie=Da(this)-z;ie&&(ua(this.doc,te)||Gt(te,te.height+ie),ne&&Sa(ne,function(){ne.curOp.forceUpdate=!0,lc(ne,te,ie),lr(ne,"lineWidgetChanged",ne,x,Zt(te))}))},xn(uu);function lc(x,z,ne){Lr(z)<(x.curOp&&x.curOp.scrollTop||x.doc.scrollTop)&&vi(x,ne)}function jc(x,z,ne,te){var ie=new uu(x,ne,te),de=x.cm;return de&&ie.noHScroll&&(de.display.alignWidgets=!0),Hu(x,z,"widget",function(be){var De=be.widgets||(be.widgets=[]);if(ie.insertAt==null?De.push(ie):De.splice(Math.min(De.length-1,Math.max(0,ie.insertAt)),0,ie),ie.line=be,de&&!ua(x,be)){var Ie=Lr(be)<x.scrollTop;Gt(be,be.height+Da(ie)),Ie&&vi(de,ie.height),de.curOp.forceUpdate=!0}return!0}),de&&lr(de,"lineWidgetAdded",de,ie,typeof z=="number"?z:Zt(z)),ie}var Vc=0,cu=function(x,z){this.lines=[],this.type=z,this.doc=x,this.id=++Vc};cu.prototype.clear=function(){if(!this.explicitlyCleared){var x=this.doc.cm,z=x&&!x.curOp;if(z&&Za(x),gn(this,"clear")){var ne=this.find();ne&&lr(this,"clear",ne.from,ne.to)}for(var te=null,ie=null,de=0;de<this.lines.length;++de){var be=this.lines[de],De=$r(be.markedSpans,this);x&&!this.collapsed?dl(x,Zt(be),"text"):x&&(De.to!=null&&(ie=Zt(be)),De.from!=null&&(te=Zt(be))),be.markedSpans=Wr(be.markedSpans,De),De.from==null&&this.collapsed&&!ua(this.doc,be)&&x&&Gt(be,Wl(x.display))}if(x&&this.collapsed&&!x.options.lineWrapping)for(var Ie=0;Ie<this.lines.length;++Ie){var Xe=Ei(this.lines[Ie]),Ft=Dr(Xe);Ft>x.display.maxLineLength&&(x.display.maxLine=Xe,x.display.maxLineLength=Ft,x.display.maxLineChanged=!0)}te!=null&&x&&this.collapsed&&ws(x,te,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,x&&Vi(x.doc)),x&&lr(x,"markerCleared",x,this,te,ie),z&&io(x),this.parent&&this.parent.clear()}},cu.prototype.find=function(x,z){x==null&&this.type=="bookmark"&&(x=1);for(var ne,te,ie=0;ie<this.lines.length;++ie){var de=this.lines[ie],be=$r(de.markedSpans,this);if(be.from!=null&&(ne=qt(z?de:Zt(de),be.from),x==-1))return ne;if(be.to!=null&&(te=qt(z?de:Zt(de),be.to),x==1))return te}return ne&&{from:ne,to:te}},cu.prototype.changed=function(){var x=this,z=this.find(-1,!0),ne=this,te=this.doc.cm;!z||!te||Sa(te,function(){var ie=z.line,de=Zt(z.line),be=go(te,de);if(be&&(Qa(be),te.curOp.selectionChanged=te.curOp.forceUpdate=!0),te.curOp.updateMaxLine=!0,!ua(ne.doc,ie)&&ne.height!=null){var De=ne.height;ne.height=null;var Ie=Da(ne)-De;Ie&&Gt(ie,ie.height+Ie)}lr(te,"markerChanged",te,x)})},cu.prototype.attachLine=function(x){if(!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(!z.maybeHiddenMarkers||nt(z.maybeHiddenMarkers,this)==-1)&&(z.maybeUnhiddenMarkers||(z.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(x)},cu.prototype.detachLine=function(x){if(this.lines.splice(nt(this.lines,x),1),!this.lines.length&&this.doc.cm){var z=this.doc.cm.curOp;(z.maybeHiddenMarkers||(z.maybeHiddenMarkers=[])).push(this)}},xn(cu);function Ol(x,z,ne,te,ie){if(te&&te.shared)return yo(x,z,ne,te,ie);if(x.cm&&!x.cm.curOp)return Oa(x.cm,Ol)(x,z,ne,te,ie);var de=new cu(x,ie),be=Sn(z,ne);if(te&&jt(te,de,!1),be>0||be==0&&de.clearWhenEmpty!==!1)return de;if(de.replacedWith&&(de.collapsed=!0,de.widgetNode=pt("span",[de.replacedWith],"CodeMirror-widget"),te.handleMouseEvents||de.widgetNode.setAttribute("cm-ignore-events","true"),te.insertLeft&&(de.widgetNode.insertLeft=!0)),de.collapsed){if(fi(x,z.line,z,ne,de)||z.line!=ne.line&&fi(x,ne.line,z,ne,de))throw new Error("Inserting collapsed marker partially overlapping an existing one");Mr()}de.addToHistory&&fo(x,{from:z,to:ne,origin:"markText"},x.sel,NaN);var De=z.line,Ie=x.cm,Xe;if(x.iter(De,ne.line+1,function(Yt){Ie&&de.collapsed&&!Ie.options.lineWrapping&&Ei(Yt)==Ie.display.maxLine&&(Xe=!0),de.collapsed&&De!=z.line&&Gt(Yt,0),wi(Yt,new Ir(de,De==z.line?z.ch:null,De==ne.line?ne.ch:null)),++De}),de.collapsed&&x.iter(z.line,ne.line+1,function(Yt){ua(x,Yt)&&Gt(Yt,0)}),de.clearOnEnter&&tn(de,"beforeCursorEnter",function(){return de.clear()}),de.readOnly&&(qr(),(x.history.done.length||x.history.undone.length)&&x.clearHistory()),de.collapsed&&(de.id=++Vc,de.atomic=!0),Ie){if(Xe&&(Ie.curOp.updateMaxLine=!0),de.collapsed)ws(Ie,z.line,ne.line+1);else if(de.className||de.startStyle||de.endStyle||de.css||de.attributes||de.title)for(var Ft=z.line;Ft<=ne.line;Ft++)dl(Ie,Ft,"text");de.atomic&&Vi(Ie.doc),lr(Ie,"markerAdded",Ie,de)}return de}var wa=function(x,z){this.markers=x,this.primary=z;for(var ne=0;ne<x.length;++ne)x[ne].parent=this};wa.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var x=0;x<this.markers.length;++x)this.markers[x].clear();lr(this,"clear")}},wa.prototype.find=function(x,z){return this.primary.find(x,z)},xn(wa);function yo(x,z,ne,te,ie){te=jt(te),te.shared=!1;var de=[Ol(x,z,ne,te,ie)],be=de[0],De=te.widgetNode;return rs(x,function(Ie){De&&(te.widgetNode=De.cloneNode(!0)),de.push(Ol(Ie,Wt(Ie,z),Wt(Ie,ne),te,ie));for(var Xe=0;Xe<Ie.linked.length;++Xe)if(Ie.linked[Xe].isParent)return;be=kt(de)}),new wa(de,be)}function du(x){return x.findMarks(qt(x.first,0),x.clipPos(qt(x.lastLine())),function(z){return z.parent})}function _c(x,z){for(var ne=0;ne<z.length;ne++){var te=z[ne],ie=te.find(),de=x.clipPos(ie.from),be=x.clipPos(ie.to);if(Sn(de,be)){var De=Ol(x,de,be,te.primary,te.primary.type);te.markers.push(De),De.parent=te}}}function Es(x){for(var z=function(te){var ie=x[te],de=[ie.primary.doc];rs(ie.primary.doc,function(Ie){return de.push(Ie)});for(var be=0;be<ie.markers.length;be++){var De=ie.markers[be];nt(de,De.doc)==-1&&(De.parent=null,ie.markers.splice(be--,1))}},ne=0;ne<x.length;ne++)z(ne)}var Gc=0,Wo=function(x,z,ne,te,ie){if(!(this instanceof Wo))return new Wo(x,z,ne,te,ie);ne==null&&(ne=0),Ku.call(this,[new Gl([new Ur("",null)])]),this.first=ne,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=ne;var de=qt(ne,0);this.sel=Uo(de),this.history=new gl(null),this.id=++Gc,this.modeOption=z,this.lineSep=te,this.direction=ie=="rtl"?"rtl":"ltr",this.extend=!1,typeof x=="string"&&(x=this.splitLines(x)),Gs(this,{from:de,to:de,text:x}),Oo(this,Uo(de),Ve)};Wo.prototype=ce(Ku.prototype,{constructor:Wo,iter:function(x,z,ne){ne?this.iterN(x-this.first,z-x,ne):this.iterN(this.first,this.first+this.size,x)},insert:function(x,z){for(var ne=0,te=0;te<z.length;++te)ne+=z[te].height;this.insertInner(x-this.first,z,ne)},remove:function(x,z){this.removeInner(x-this.first,z)},getValue:function(x){var z=an(this,this.first,this.first+this.size);return x===!1?z:z.join(x||this.lineSeparator())},setValue:_a(function(x){var z=qt(this.first,0),ne=this.first+this.size-1;Al(this,{from:z,to:qt(ne,ct(this,ne).text.length),text:this.splitLines(x),origin:"setValue",full:!0},!0),this.cm&&mi(this.cm,0,0),Oo(this,Uo(z),Ve)}),replaceRange:function(x,z,ne,te){z=Wt(this,z),ne=ne?Wt(this,ne):z,ku(this,x,z,ne,te)},getRange:function(x,z,ne){var te=St(this,Wt(this,x),Wt(this,z));return ne===!1?te:te.join(ne||this.lineSeparator())},getLine:function(x){var z=this.getLineHandle(x);return z&&z.text},getLineHandle:function(x){if(Hn(this,x))return ct(this,x)},getLineNumber:function(x){return Zt(x)},getLineHandleVisualStart:function(x){return typeof x=="number"&&(x=ct(this,x)),Ei(x)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(x){return Wt(this,x)},getCursor:function(x){var z=this.sel.primary(),ne;return x==null||x=="head"?ne=z.head:x=="anchor"?ne=z.anchor:x=="end"||x=="to"||x===!1?ne=z.to():ne=z.from(),ne},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:_a(function(x,z,ne){Nu(this,Wt(this,typeof x=="number"?qt(x,z||0):x),null,ne)}),setSelection:_a(function(x,z,ne){Nu(this,Wt(this,x),Wt(this,z||x),ne)}),extendSelection:_a(function(x,z,ne){Pl(this,Wt(this,x),z&&Wt(this,z),ne)}),extendSelections:_a(function(x,z){Ai(this,Ge(this,x),z)}),extendSelectionsBy:_a(function(x,z){var ne=Bt(this.sel.ranges,x);Ai(this,Ge(this,ne),z)}),setSelections:_a(function(x,z,ne){if(x.length){for(var te=[],ie=0;ie<x.length;ie++)te[ie]=new fa(Wt(this,x[ie].anchor),Wt(this,x[ie].head));z==null&&(z=Math.min(x.length-1,this.sel.primIndex)),Oo(this,Po(this.cm,te,z),ne)}}),addSelection:_a(function(x,z,ne){var te=this.sel.ranges.slice(0);te.push(new fa(Wt(this,x),Wt(this,z||x))),Oo(this,Po(this.cm,te,te.length-1),ne)}),getSelection:function(x){for(var z=this.sel.ranges,ne,te=0;te<z.length;te++){var ie=St(this,z[te].from(),z[te].to());ne=ne?ne.concat(ie):ie}return x===!1?ne:ne.join(x||this.lineSeparator())},getSelections:function(x){for(var z=[],ne=this.sel.ranges,te=0;te<ne.length;te++){var ie=St(this,ne[te].from(),ne[te].to());x!==!1&&(ie=ie.join(x||this.lineSeparator())),z[te]=ie}return z},replaceSelection:function(x,z,ne){for(var te=[],ie=0;ie<this.sel.ranges.length;ie++)te[ie]=x;this.replaceSelections(te,z,ne||"+input")},replaceSelections:_a(function(x,z,ne){for(var te=[],ie=this.sel,de=0;de<ie.ranges.length;de++){var be=ie.ranges[de];te[de]={from:be.from(),to:be.to(),text:this.splitLines(x[de]),origin:ne}}for(var De=z&&z!="end"&&Ss(this,te,z),Ie=te.length-1;Ie>=0;Ie--)Al(this,te[Ie]);De?ms(this,De):this.cm&&xi(this.cm)}),undo:_a(function(){_l(this,"undo")}),redo:_a(function(){_l(this,"redo")}),undoSelection:_a(function(){_l(this,"undo",!0)}),redoSelection:_a(function(){_l(this,"redo",!0)}),setExtending:function(x){this.extend=x},getExtending:function(){return this.extend},historySize:function(){for(var x=this.history,z=0,ne=0,te=0;te<x.done.length;te++)x.done[te].ranges||++z;for(var ie=0;ie<x.undone.length;ie++)x.undone[ie].ranges||++ne;return{undo:z,redo:ne}},clearHistory:function(){var x=this;this.history=new gl(this.history.maxGeneration),rs(this,function(z){return z.history=x.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(x){return x&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(x){return this.history.generation==(x||this.cleanGeneration)},getHistory:function(){return{done:El(this.history.done),undone:El(this.history.undone)}},setHistory:function(x){var z=this.history=new gl(this.history.maxGeneration);z.done=El(x.done.slice(0),null,!0),z.undone=El(x.undone.slice(0),null,!0)},setGutterMarker:_a(function(x,z,ne){return Hu(this,x,"gutter",function(te){var ie=te.gutterMarkers||(te.gutterMarkers={});return ie[z]=ne,!ne&&ue(ie)&&(te.gutterMarkers=null),!0})}),clearGutter:_a(function(x){var z=this;this.iter(function(ne){ne.gutterMarkers&&ne.gutterMarkers[x]&&Hu(z,ne,"gutter",function(){return ne.gutterMarkers[x]=null,ue(ne.gutterMarkers)&&(ne.gutterMarkers=null),!0})})}),lineInfo:function(x){var z;if(typeof x=="number"){if(!Hn(this,x)||(z=x,x=ct(this,x),!x))return null}else if(z=Zt(x),z==null)return null;return{line:z,handle:x,text:x.text,gutterMarkers:x.gutterMarkers,textClass:x.textClass,bgClass:x.bgClass,wrapClass:x.wrapClass,widgets:x.widgets}},addLineClass:_a(function(x,z,ne){return Hu(this,x,z=="gutter"?"gutter":"class",function(te){var ie=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass";if(!te[ie])te[ie]=ne;else{if(pe(ne).test(te[ie]))return!1;te[ie]+=" "+ne}return!0})}),removeLineClass:_a(function(x,z,ne){return Hu(this,x,z=="gutter"?"gutter":"class",function(te){var ie=z=="text"?"textClass":z=="background"?"bgClass":z=="gutter"?"gutterClass":"wrapClass",de=te[ie];if(de)if(ne==null)te[ie]=null;else{var be=de.match(pe(ne));if(!be)return!1;var De=be.index+be[0].length;te[ie]=de.slice(0,be.index)+(!be.index||De==de.length?"":" ")+de.slice(De)||null}else return!1;return!0})}),addLineWidget:_a(function(x,z,ne){return jc(this,x,z,ne)}),removeLineWidget:function(x){x.clear()},markText:function(x,z,ne){return Ol(this,Wt(this,x),Wt(this,z),ne,ne&&ne.type||"range")},setBookmark:function(x,z){var ne={replacedWith:z&&(z.nodeType==null?z.widget:z),insertLeft:z&&z.insertLeft,clearWhenEmpty:!1,shared:z&&z.shared,handleMouseEvents:z&&z.handleMouseEvents};return x=Wt(this,x),Ol(this,x,x,ne,"bookmark")},findMarksAt:function(x){x=Wt(this,x);var z=[],ne=ct(this,x.line).markedSpans;if(ne)for(var te=0;te<ne.length;++te){var ie=ne[te];(ie.from==null||ie.from<=x.ch)&&(ie.to==null||ie.to>=x.ch)&&z.push(ie.marker.parent||ie.marker)}return z},findMarks:function(x,z,ne){x=Wt(this,x),z=Wt(this,z);var te=[],ie=x.line;return this.iter(x.line,z.line+1,function(de){var be=de.markedSpans;if(be)for(var De=0;De<be.length;De++){var Ie=be[De];!(Ie.to!=null&&ie==x.line&&x.ch>=Ie.to||Ie.from==null&&ie!=x.line||Ie.from!=null&&ie==z.line&&Ie.from>=z.ch)&&(!ne||ne(Ie.marker))&&te.push(Ie.marker.parent||Ie.marker)}++ie}),te},getAllMarks:function(){var x=[];return this.iter(function(z){var ne=z.markedSpans;if(ne)for(var te=0;te<ne.length;++te)ne[te].from!=null&&x.push(ne[te].marker)}),x},posFromIndex:function(x){var z,ne=this.first,te=this.lineSeparator().length;return this.iter(function(ie){var de=ie.text.length+te;if(de>x)return z=x,!0;x-=de,++ne}),Wt(this,qt(ne,z))},indexFromPos:function(x){x=Wt(this,x);var z=x.ch;if(x.line<this.first||x.ch<0)return 0;var ne=this.lineSeparator().length;return this.iter(this.first,x.line,function(te){z+=te.text.length+ne}),z},copy:function(x){var z=new Wo(an(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return z.scrollTop=this.scrollTop,z.scrollLeft=this.scrollLeft,z.sel=this.sel,z.extend=!1,x&&(z.history.undoDepth=this.history.undoDepth,z.setHistory(this.getHistory())),z},linkedDoc:function(x){x||(x={});var z=this.first,ne=this.first+this.size;x.from!=null&&x.from>z&&(z=x.from),x.to!=null&&x.to<ne&&(ne=x.to);var te=new Wo(an(this,z,ne),x.mode||this.modeOption,z,this.lineSep,this.direction);return x.sharedHist&&(te.history=this.history),(this.linked||(this.linked=[])).push({doc:te,sharedHist:x.sharedHist}),te.linked=[{doc:this,isParent:!0,sharedHist:x.sharedHist}],_c(te,du(this)),te},unlinkDoc:function(x){if(x instanceof ra&&(x=x.doc),this.linked)for(var z=0;z<this.linked.length;++z){var ne=this.linked[z];if(ne.doc==x){this.linked.splice(z,1),x.unlinkDoc(this),Es(du(this));break}}if(x.history==this.history){var te=[x.id];rs(x,function(ie){return te.push(ie.id)},!0),x.history=new gl(null),x.history.done=El(this.history.done,te),x.history.undone=El(this.history.undone,te)}},iterLinkedDocs:function(x){rs(this,x)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(x){return this.lineSep?x.split(this.lineSep):Qr(x)},lineSeparator:function(){return this.lineSep||`
|
|
|
`},setDirection:_a(function(x){x!="rtl"&&(x="ltr"),x!=this.direction&&(this.direction=x,this.iter(function(z){return z.order=null}),this.cm&&Zl(this.cm))})}),Wo.prototype.eachLine=Wo.prototype.iter;var uc=0;function gd(x){var z=this;if(Wu(z),!(Ue(z,x)||no(z.display,x))){Un(x),Se&&(uc=+new Date);var ne=xs(z,x,!0),te=x.dataTransfer.files;if(!(!ne||z.isReadOnly()))if(te&&te.length&&window.FileReader&&window.File)for(var ie=te.length,de=Array(ie),be=0,De=function(){++be==ie&&Oa(z,function(){ne=Wt(z.doc,ne);var Mn={from:ne,to:ne,text:z.doc.splitLines(de.filter(function(cr){return cr!=null}).join(z.doc.lineSeparator())),origin:"paste"};Al(z.doc,Mn),ms(z.doc,Uo(Wt(z.doc,ne),Wt(z.doc,ao(Mn))))})()},Ie=function(Mn,cr){if(z.options.allowDropFileTypes&&nt(z.options.allowDropFileTypes,Mn.type)==-1){De();return}var Pr=new FileReader;Pr.onerror=function(){return De()},Pr.onload=function(){var ni=Pr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(ni)){De();return}de[cr]=ni,De()},Pr.readAsText(Mn)},Xe=0;Xe<te.length;Xe++)Ie(te[Xe],Xe);else{if(z.state.draggingText&&z.doc.sel.contains(ne)>-1){z.state.draggingText(x),setTimeout(function(){return z.display.input.focus()},20);return}try{var Ft=x.dataTransfer.getData("Text");if(Ft){var Yt;if(z.state.draggingText&&!z.state.draggingText.copy&&(Yt=z.listSelections()),su(z.doc,Uo(ne,ne)),Yt)for(var Ln=0;Ln<Yt.length;++Ln)ku(z.doc,"",Yt[Ln].anchor,Yt[Ln].head,"drag");z.replaceSelection(Ft,"around","paste"),z.display.input.focus()}}catch(Mn){}}}}function Wd(x,z){if(Se&&(!x.state.draggingText||+new Date-uc<100)){dr(z);return}if(!(Ue(x,z)||no(x.display,z))&&(z.dataTransfer.setData("Text",x.getSelection()),z.dataTransfer.effectAllowed="copyMove",z.dataTransfer.setDragImage&&!yt)){var ne=Ye("img",null,null,"position: fixed; left: 0; top: 0;");ne.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Ze&&(ne.width=ne.height=1,x.display.wrapper.appendChild(ne),ne._top=ne.offsetTop),z.dataTransfer.setDragImage(ne,0,0),Ze&&ne.parentNode.removeChild(ne)}}function cc(x,z){var ne=xs(x,z);if(ne){var te=document.createDocumentFragment();vn(x,ne,te),x.display.dragCursor||(x.display.dragCursor=Ye("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),x.display.lineSpace.insertBefore(x.display.dragCursor,x.display.cursorDiv)),qe(x.display.dragCursor,te)}}function Wu(x){x.display.dragCursor&&(x.display.lineSpace.removeChild(x.display.dragCursor),x.display.dragCursor=null)}function fu(x){if(document.getElementsByClassName){for(var z=document.getElementsByClassName("CodeMirror"),ne=[],te=0;te<z.length;te++){var ie=z[te].CodeMirror;ie&&ne.push(ie)}ne.length&&ne[0].operation(function(){for(var de=0;de<ne.length;de++)x(ne[de])})}}var Vr=!1;function Uc(){Vr||(Zu(),Vr=!0)}function Zu(){var x;tn(window,"resize",function(){x==null&&(x=setTimeout(function(){x=null,fu(kc)},100))}),tn(window,"blur",function(){return fu(er)})}function kc(x){var z=x.display;z.cachedCharWidth=z.cachedTextHeight=z.cachedPaddingH=null,z.scrollbarsClipped=!1,x.setSize()}for(var Ml={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},dc=0;dc<10;dc++)Ml[dc+48]=Ml[dc+96]=String(dc);for(var fc=65;fc<=90;fc++)Ml[fc]=String.fromCharCode(fc);for(var hc=1;hc<=12;hc++)Ml[hc+111]=Ml[hc+63235]="F"+hc;var oo={};oo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},oo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},oo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},oo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},oo.default=lt?oo.macDefault:oo.pcDefault;function Zd(x){var z=x.split(/-(?!$)/);x=z[z.length-1];for(var ne,te,ie,de,be=0;be<z.length-1;be++){var De=z[be];if(/^(cmd|meta|m)$/i.test(De))de=!0;else if(/^a(lt)?$/i.test(De))ne=!0;else if(/^(c|ctrl|control)$/i.test(De))te=!0;else if(/^s(hift)?$/i.test(De))ie=!0;else throw new Error("Unrecognized modifier name: "+De)}return ne&&(x="Alt-"+x),te&&(x="Ctrl-"+x),de&&(x="Cmd-"+x),ie&&(x="Shift-"+x),x}function Dc(x){var z={};for(var ne in x)if(x.hasOwnProperty(ne)){var te=x[ne];if(/^(name|fallthrough|(de|at)tach)$/.test(ne))continue;if(te=="..."){delete x[ne];continue}for(var ie=Bt(ne.split(" "),Zd),de=0;de<ie.length;de++){var be=void 0,De=void 0;de==ie.length-1?(De=ie.join(" "),be=te):(De=ie.slice(0,de+1).join(" "),be="...");var Ie=z[De];if(!Ie)z[De]=be;else if(Ie!=be)throw new Error("Inconsistent bindings for "+De)}delete x[ne]}for(var Xe in z)x[Xe]=z[Xe];return x}function Tl(x,z,ne,te){z=Ps(z);var ie=z.call?z.call(x,te):z[x];if(ie===!1)return"nothing";if(ie==="...")return"multi";if(ie!=null&&ne(ie))return"handled";if(z.fallthrough){if(Object.prototype.toString.call(z.fallthrough)!="[object Array]")return Tl(x,z.fallthrough,ne,te);for(var de=0;de<z.fallthrough.length;de++){var be=Tl(x,z.fallthrough[de],ne,te);if(be)return be}}}function pc(x){var z=typeof x=="string"?x:Ml[x.keyCode];return z=="Ctrl"||z=="Alt"||z=="Shift"||z=="Mod"}function Ul(x,z,ne){var te=x;return z.altKey&&te!="Alt"&&(x="Alt-"+x),(vt?z.metaKey:z.ctrlKey)&&te!="Ctrl"&&(x="Ctrl-"+x),(vt?z.ctrlKey:z.metaKey)&&te!="Mod"&&(x="Cmd-"+x),!ne&&z.shiftKey&&te!="Shift"&&(x="Shift-"+x),x}function Du(x,z){if(Ze&&x.keyCode==34&&x.char)return!1;var ne=Ml[x.keyCode];return ne==null||x.altGraphKey?!1:(x.keyCode==3&&x.code&&(ne=x.code),Ul(ne,x,z))}function Ps(x){return typeof x=="string"?oo[x]:x}function al(x,z){for(var ne=x.doc.sel.ranges,te=[],ie=0;ie<ne.length;ie++){for(var de=z(ne[ie]);te.length&&Sn(de.from,kt(te).to)<=0;){var be=te.pop();if(Sn(be.from,de.from)<0){de.from=be.from;break}}te.push(de)}Sa(x,function(){for(var De=te.length-1;De>=0;De--)ku(x.doc,"",te[De].from,te[De].to,"+delete");xi(x)})}function gs(x,z,ne){var te=Dt(x.text,z+ne,ne);return te<0||te>x.text.length?null:te}function Rl(x,z,ne){var te=gs(x,z.ch,ne);return te==null?null:new qt(z.line,te,ne<0?"after":"before")}function hu(x,z,ne,te,ie){if(x){z.doc.direction=="rtl"&&(ie=-ie);var de=In(ne,z.doc.direction);if(de){var be=ie<0?kt(de):de[0],De=ie<0==(be.level==1),Ie=De?"after":"before",Xe;if(be.level>0||z.doc.direction=="rtl"){var Ft=Ua(z,ne);Xe=ie<0?ne.text.length-1:0;var Yt=Ma(z,Ft,Xe).top;Xe=Lt(function(Ln){return Ma(z,Ft,Ln).top==Yt},ie<0==(be.level==1)?be.from:be.to-1,Xe),Ie=="before"&&(Xe=gs(ne,Xe,1))}else Xe=ie<0?be.to:be.from;return new qt(te,Xe,Ie)}}return new qt(te,ie<0?ne.text.length:0,ie<0?"before":"after")}function Nl(x,z,ne,te){var ie=In(z,x.doc.direction);if(!ie)return Rl(z,ne,te);ne.ch>=z.text.length?(ne.ch=z.text.length,ne.sticky="before"):ne.ch<=0&&(ne.ch=0,ne.sticky="after");var de=zt(ie,ne.ch,ne.sticky),be=ie[de];if(x.doc.direction=="ltr"&&be.level%2==0&&(te>0?be.to>ne.ch:be.from<ne.ch))return Rl(z,ne,te);var De=function(yi,Mi){return gs(z,yi instanceof qt?yi.ch:yi,Mi)},Ie,Xe=function(yi){return x.options.lineWrapping?(Ie=Ie||Ua(x,z),Ru(x,z,Ie,yi)):{begin:0,end:z.text.length}},Ft=Xe(ne.sticky=="before"?De(ne,-1):ne.ch);if(x.doc.direction=="rtl"||be.level==1){var Yt=be.level==1==te<0,Ln=De(ne,Yt?1:-1);if(Ln!=null&&(Yt?Ln<=be.to&&Ln<=Ft.end:Ln>=be.from&&Ln>=Ft.begin)){var Mn=Yt?"before":"after";return new qt(ne.line,Ln,Mn)}}var cr=function(yi,Mi,hi){for(var Bi=function(xo,Fs){return Fs?new qt(ne.line,De(xo,1),"before"):new qt(ne.line,xo,"after")};yi>=0&&yi<ie.length;yi+=Mi){var Wi=ie[yi],_i=Mi>0==(Wi.level!=1),ka=_i?hi.begin:De(hi.end,-1);if(Wi.from<=ka&&ka<Wi.to||(ka=_i?Wi.from:De(Wi.to,-1),hi.begin<=ka&&ka<hi.end))return Bi(ka,_i)}},Pr=cr(de+te,te,Ft);if(Pr)return Pr;var ni=te>0?Ft.end:De(Ft.begin,-1);return ni!=null&&!(te>0&&ni==z.text.length)&&(Pr=cr(te>0?0:ie.length-1,te,Xe(ni)),Pr)?Pr:null}var Bu={selectAll:Wc,singleSelection:function(x){return x.setSelection(x.getCursor("anchor"),x.getCursor("head"),Ve)},killLine:function(x){return al(x,function(z){if(z.empty()){var ne=ct(x.doc,z.head.line).text.length;return z.head.ch==ne&&z.head.line<x.lastLine()?{from:z.head,to:qt(z.head.line+1,0)}:{from:z.head,to:qt(z.head.line,ne)}}else return{from:z.from(),to:z.to()}})},deleteLine:function(x){return al(x,function(z){return{from:qt(z.from().line,0),to:Wt(x.doc,qt(z.to().line+1,0))}})},delLineLeft:function(x){return al(x,function(z){return{from:qt(z.from().line,0),to:z.from()}})},delWrappedLineLeft:function(x){return al(x,function(z){var ne=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:ne},"div");return{from:te,to:z.from()}})},delWrappedLineRight:function(x){return al(x,function(z){var ne=x.charCoords(z.head,"div").top+5,te=x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ne},"div");return{from:z.from(),to:te}})},undo:function(x){return x.undo()},redo:function(x){return x.redo()},undoSelection:function(x){return x.undoSelection()},redoSelection:function(x){return x.redoSelection()},goDocStart:function(x){return x.extendSelection(qt(x.firstLine(),0))},goDocEnd:function(x){return x.extendSelection(qt(x.lastLine()))},goLineStart:function(x){return x.extendSelectionsBy(function(z){return Bc(x,z.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(x){return x.extendSelectionsBy(function(z){return vd(x,z.head)},{origin:"+move",bias:1})},goLineEnd:function(x){return x.extendSelectionsBy(function(z){return Lc(x,z.head.line)},{origin:"+move",bias:-1})},goLineRight:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:x.display.lineDiv.offsetWidth+100,top:ne},"div")},At)},goLineLeft:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5;return x.coordsChar({left:0,top:ne},"div")},At)},goLineLeftSmart:function(x){return x.extendSelectionsBy(function(z){var ne=x.cursorCoords(z.head,"div").top+5,te=x.coordsChar({left:0,top:ne},"div");return te.ch<x.getLine(te.line).search(/\S/)?vd(x,z.head):te},At)},goLineUp:function(x){return x.moveV(-1,"line")},goLineDown:function(x){return x.moveV(1,"line")},goPageUp:function(x){return x.moveV(-1,"page")},goPageDown:function(x){return x.moveV(1,"page")},goCharLeft:function(x){return x.moveH(-1,"char")},goCharRight:function(x){return x.moveH(1,"char")},goColumnLeft:function(x){return x.moveH(-1,"column")},goColumnRight:function(x){return x.moveH(1,"column")},goWordLeft:function(x){return x.moveH(-1,"word")},goGroupRight:function(x){return x.moveH(1,"group")},goGroupLeft:function(x){return x.moveH(-1,"group")},goWordRight:function(x){return x.moveH(1,"word")},delCharBefore:function(x){return x.deleteH(-1,"codepoint")},delCharAfter:function(x){return x.deleteH(1,"char")},delWordBefore:function(x){return x.deleteH(-1,"word")},delWordAfter:function(x){return x.deleteH(1,"word")},delGroupBefore:function(x){return x.deleteH(-1,"group")},delGroupAfter:function(x){return x.deleteH(1,"group")},indentAuto:function(x){return x.indentSelection("smart")},indentMore:function(x){return x.indentSelection("add")},indentLess:function(x){return x.indentSelection("subtract")},insertTab:function(x){return x.replaceSelection(" ")},insertSoftTab:function(x){for(var z=[],ne=x.listSelections(),te=x.options.tabSize,ie=0;ie<ne.length;ie++){var de=ne[ie].from(),be=Qe(x.getLine(de.line),de.ch,te);z.push(yn(te-be%te))}x.replaceSelections(z)},defaultTab:function(x){x.somethingSelected()?x.indentSelection("add"):x.execCommand("insertTab")},transposeChars:function(x){return Sa(x,function(){for(var z=x.listSelections(),ne=[],te=0;te<z.length;te++)if(z[te].empty()){var ie=z[te].head,de=ct(x.doc,ie.line).text;if(de){if(ie.ch==de.length&&(ie=new qt(ie.line,ie.ch-1)),ie.ch>0)ie=new qt(ie.line,ie.ch+1),x.replaceRange(de.charAt(ie.ch-1)+de.charAt(ie.ch-2),qt(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>x.doc.first){var be=ct(x.doc,ie.line-1).text;be&&(ie=new qt(ie.line,1),x.replaceRange(de.charAt(0)+x.doc.lineSeparator()+be.charAt(be.length-1),qt(ie.line-1,be.length-1),ie,"+transpose"))}}ne.push(new fa(ie,ie))}x.setSelections(ne)})},newlineAndIndent:function(x){return Sa(x,function(){for(var z=x.listSelections(),ne=z.length-1;ne>=0;ne--)x.replaceRange(x.doc.lineSeparator(),z[ne].anchor,z[ne].head,"+input");z=x.listSelections();for(var te=0;te<z.length;te++)x.indentLine(z[te].from().line,null,!0);xi(x)})},openLine:function(x){return x.replaceSelection(`
|
|
|
`,"start")},toggleOverwrite:function(x){return x.toggleOverwrite()}};function Bc(x,z){var ne=ct(x.doc,z),te=Ei(ne);return te!=ne&&(z=Zt(te)),hu(!0,x,te,z,1)}function Lc(x,z){var ne=ct(x.doc,z),te=Xi(ne);return te!=ne&&(z=Zt(te)),hu(!0,x,ne,z,-1)}function vd(x,z){var ne=Bc(x,z.line),te=ct(x.doc,ne.line),ie=In(te,x.doc.direction);if(!ie||ie[0].level==0){var de=Math.max(ne.ch,te.text.search(/\S/)),be=z.line==ne.line&&z.ch<=de&&z.ch;return qt(ne.line,be?0:de,ne.sticky)}return ne}function Yo(x,z,ne){if(typeof z=="string"&&(z=Bu[z],!z))return!1;x.display.input.ensurePolled();var te=x.display.shift,ie=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),ne&&(x.display.shift=!1),ie=z(x)!=Et}finally{x.display.shift=te,x.state.suppressEdits=!1}return ie}function zl(x,z,ne){for(var te=0;te<x.state.keyMaps.length;te++){var ie=Tl(z,x.state.keyMaps[te],ne,x);if(ie)return ie}return x.options.extraKeys&&Tl(z,x.options.extraKeys,ne,x)||Tl(z,x.options.keyMap,ne,x)}var jd=new Ce;function pu(x,z,ne,te){var ie=x.state.keySeq;if(ie){if(pc(z))return"handled";if(/\'$/.test(z)?x.state.keySeq=null:jd.set(50,function(){x.state.keySeq==ie&&(x.state.keySeq=null,x.display.input.reset())}),Pc(x,ie+" "+z,ne,te))return!0}return Pc(x,z,ne,te)}function Pc(x,z,ne,te){var ie=zl(x,z,te);return ie=="multi"&&(x.state.keySeq=z),ie=="handled"&&lr(x,"keyHandled",x,z,ne),(ie=="handled"||ie=="multi")&&(Un(ne),Tn(x)),!!ie}function La(x,z){var ne=Du(z,!0);return ne?z.shiftKey&&!x.state.keySeq?pu(x,"Shift-"+ne,z,function(te){return Yo(x,te,!0)})||pu(x,ne,z,function(te){if(typeof te=="string"?/^go[A-Z]/.test(te):te.motion)return Yo(x,te)}):pu(x,ne,z,function(te){return Yo(x,te)}):!1}function mu(x,z,ne){return pu(x,"'"+ne+"'",z,function(te){return Yo(x,te,!0)})}var Ns=null;function ju(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&(z.curOp.focus=it(),!Ue(z,x))){Se&&ke<11&&x.keyCode==27&&(x.returnValue=!1);var ne=x.keyCode;z.display.shift=ne==16||x.shiftKey;var te=La(z,x);Ze&&(Ns=te?ne:null,!te&&ne==88&&!Zn&&(lt?x.metaKey:x.ctrlKey)&&z.replaceSelection("",null,"cut")),ae&&!lt&&!te&&ne==46&&x.shiftKey&&!x.ctrlKey&&document.execCommand&&document.execCommand("cut"),ne==18&&!/\bCodeMirror-crosshair\b/.test(z.display.lineDiv.className)&&ar(z)}}function ar(x){var z=x.display.lineDiv;Nt(z,"CodeMirror-crosshair");function ne(te){(te.keyCode==18||!te.altKey)&&($e(z,"CodeMirror-crosshair"),ut(document,"keyup",ne),ut(document,"mouseover",ne))}tn(document,"keyup",ne),tn(document,"mouseover",ne)}function Yc(x){x.keyCode==16&&(this.doc.sel.shift=!1),Ue(this,x)}function Qc(x){var z=this;if(!(x.target&&x.target!=z.display.input.getField())&&!(no(z.display,x)||Ue(z,x)||x.ctrlKey&&!x.altKey||lt&&x.metaKey)){var ne=x.keyCode,te=x.charCode;if(Ze&&ne==Ns){Ns=null,Un(x);return}if(!(Ze&&(!x.which||x.which<10)&&La(z,x))){var ie=String.fromCharCode(te==null?ne:te);ie!="\b"&&(mu(z,x,ie)||z.display.input.onKeyPress(x))}}}var Xc=400,Jc=function(x,z,ne){this.time=x,this.pos=z,this.button=ne};Jc.prototype.compare=function(x,z,ne){return this.time+Xc>x&&Sn(z,this.pos)==0&&ne==this.button};var Yl,Vu;function Vd(x,z){var ne=+new Date;return Vu&&Vu.compare(ne,x,z)?(Yl=Vu=null,"triple"):Yl&&Yl.compare(ne,x,z)?(Vu=new Jc(ne,x,z),Yl=null,"double"):(Yl=new Jc(ne,x,z),Vu=null,"single")}function As(x){var z=this,ne=z.display;if(!(Ue(z,x)||ne.activeTouch&&ne.input.supportsTouch())){if(ne.input.ensurePolled(),ne.shift=x.shiftKey,no(ne,x)){Oe||(ne.scroller.draggable=!1,setTimeout(function(){return ne.scroller.draggable=!0},100));return}if(!Oi(z,x)){var te=xs(z,x),ie=_n(x),de=te?Vd(te,ie):"single";window.focus(),ie==1&&z.state.selectingText&&z.state.selectingText(x),!(te&&gu(z,ie,te,de,x))&&(ie==1?te?_u(z,te,de,x):gr(x)==ne.scroller&&Un(x):ie==2?(te&&Pl(z.doc,te),setTimeout(function(){return ne.input.focus()},20)):ie==3&&(Ke?z.display.input.onContextMenu(x):zr(z)))}}}function gu(x,z,ne,te,ie){var de="Click";return te=="double"?de="Double"+de:te=="triple"&&(de="Triple"+de),de=(z==1?"Left":z==2?"Middle":"Right")+de,pu(x,Ul(de,ie),ie,function(be){if(typeof be=="string"&&(be=Bu[be]),!be)return!1;var De=!1;try{x.isReadOnly()&&(x.state.suppressEdits=!0),De=be(x,ne)!=Et}finally{x.state.suppressEdits=!1}return De})}function mc(x,z,ne){var te=x.getOption("configureMouse"),ie=te?te(x,z,ne):{};if(ie.unit==null){var de=ht?ne.shiftKey&&ne.metaKey:ne.altKey;ie.unit=de?"rectangle":z=="single"?"char":z=="double"?"word":"line"}return(ie.extend==null||x.doc.extend)&&(ie.extend=x.doc.extend||ne.shiftKey),ie.addNew==null&&(ie.addNew=lt?ne.metaKey:ne.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(lt?ne.altKey:ne.ctrlKey)),ie}function _u(x,z,ne,te){Se?setTimeout(un(Qn,x),0):x.curOp.focus=it();var ie=mc(x,ne,te),de=x.doc.sel,be;x.options.dragDrop&&wr&&!x.isReadOnly()&&ne=="single"&&(be=de.contains(z))>-1&&(Sn((be=de.ranges[be]).from(),z)<0||z.xRel>0)&&(Sn(be.to(),z)>0||z.xRel<0)?qc(x,te,z,ie):$c(x,te,z,ie)}function qc(x,z,ne,te){var ie=x.display,de=!1,be=Oa(x,function(Xe){Oe&&(ie.scroller.draggable=!1),x.state.draggingText=!1,ut(ie.wrapper.ownerDocument,"mouseup",be),ut(ie.wrapper.ownerDocument,"mousemove",De),ut(ie.scroller,"dragstart",Ie),ut(ie.scroller,"drop",be),de||(Un(Xe),te.addNew||Pl(x.doc,ne,null,null,te.extend),Oe&&!yt||Se&&ke==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),De=function(Xe){de=de||Math.abs(z.clientX-Xe.clientX)+Math.abs(z.clientY-Xe.clientY)>=10},Ie=function(){return de=!0};Oe&&(ie.scroller.draggable=!0),x.state.draggingText=be,be.copy=!te.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),tn(ie.wrapper.ownerDocument,"mouseup",be),tn(ie.wrapper.ownerDocument,"mousemove",De),tn(ie.scroller,"dragstart",Ie),tn(ie.scroller,"drop",be),zr(x),setTimeout(function(){return ie.input.focus()},20)}function yd(x,z,ne){if(ne=="char")return new fa(z,z);if(ne=="word")return x.findWordAt(z);if(ne=="line")return new fa(qt(z.line,0),Wt(x.doc,qt(z.line+1,0)));var te=ne(x,z);return new fa(te.from,te.to)}function $c(x,z,ne,te){var ie=x.display,de=x.doc;Un(z);var be,De,Ie=de.sel,Xe=Ie.ranges;if(te.addNew&&!te.extend?(De=de.sel.contains(ne),De>-1?be=Xe[De]:be=new fa(ne,ne)):(be=de.sel.primary(),De=de.sel.primIndex),te.unit=="rectangle")te.addNew||(be=new fa(ne,ne)),ne=xs(x,z,!0,!0),De=-1;else{var Ft=yd(x,ne,te.unit);te.extend?be=Ys(be,Ft.anchor,Ft.head,te.extend):be=Ft}te.addNew?De==-1?(De=Xe.length,Oo(de,Po(x,Xe.concat([be]),De),{scroll:!1,origin:"*mouse"})):Xe.length>1&&Xe[De].empty()&&te.unit=="char"&&!te.extend?(Oo(de,Po(x,Xe.slice(0,De).concat(Xe.slice(De+1)),0),{scroll:!1,origin:"*mouse"}),Ie=de.sel):Qs(de,De,be,tt):(De=0,Oo(de,new Io([be],0),tt),Ie=de.sel);var Yt=ne;function Ln(hi){if(Sn(Yt,hi)!=0)if(Yt=hi,te.unit=="rectangle"){for(var Bi=[],Wi=x.options.tabSize,_i=Qe(ct(de,ne.line).text,ne.ch,Wi),ka=Qe(ct(de,hi.line).text,hi.ch,Wi),xo=Math.min(_i,ka),Fs=Math.max(_i,ka),Zo=Math.min(ne.line,hi.line),ol=Math.min(x.lastLine(),Math.max(ne.line,hi.line));Zo<=ol;Zo++){var sl=ct(de,Zo).text,vs=fn(sl,xo,Wi);xo==Fs?Bi.push(new fa(qt(Zo,vs),qt(Zo,vs))):sl.length>vs&&Bi.push(new fa(qt(Zo,vs),qt(Zo,fn(sl,Fs,Wi))))}Bi.length||Bi.push(new fa(ne,ne)),Oo(de,Po(x,Ie.ranges.slice(0,De).concat(Bi),De),{origin:"*mouse",scroll:!1}),x.scrollIntoView(hi)}else{var ll=be,la=yd(x,hi,te.unit),Qo=ll.anchor,jo;Sn(la.anchor,Qo)>0?(jo=la.head,Qo=en(ll.from(),la.anchor)):(jo=la.anchor,Qo=Xt(ll.to(),la.head));var Xo=Ie.ranges.slice(0);Xo[De]=Ra(x,new fa(Wt(de,Qo),jo)),Oo(de,Po(x,Xo,De),tt)}}var Mn=ie.wrapper.getBoundingClientRect(),cr=0;function Pr(hi){var Bi=++cr,Wi=xs(x,hi,!0,te.unit=="rectangle");if(Wi)if(Sn(Wi,Yt)!=0){x.curOp.focus=it(),Ln(Wi);var _i=kn(ie,de);(Wi.line>=_i.to||Wi.line<_i.from)&&setTimeout(Oa(x,function(){cr==Bi&&Pr(hi)}),150)}else{var ka=hi.clientY<Mn.top?-20:hi.clientY>Mn.bottom?20:0;ka&&setTimeout(Oa(x,function(){cr==Bi&&(ie.scroller.scrollTop+=ka,Pr(hi))}),50)}}function ni(hi){x.state.selectingText=!1,cr=1/0,hi&&(Un(hi),ie.input.focus()),ut(ie.wrapper.ownerDocument,"mousemove",yi),ut(ie.wrapper.ownerDocument,"mouseup",Mi),de.history.lastSelOrigin=null}var yi=Oa(x,function(hi){hi.buttons===0||!_n(hi)?ni(hi):Pr(hi)}),Mi=Oa(x,ni);x.state.selectingText=Mi,tn(ie.wrapper.ownerDocument,"mousemove",yi),tn(ie.wrapper.ownerDocument,"mouseup",Mi)}function Ra(x,z){var ne=z.anchor,te=z.head,ie=ct(x.doc,ne.line);if(Sn(ne,te)==0&&ne.sticky==te.sticky)return z;var de=In(ie);if(!de)return z;var be=zt(de,ne.ch,ne.sticky),De=de[be];if(De.from!=ne.ch&&De.to!=ne.ch)return z;var Ie=be+(De.from==ne.ch==(De.level!=1)?0:1);if(Ie==0||Ie==de.length)return z;var Xe;if(te.line!=ne.line)Xe=(te.line-ne.line)*(x.doc.direction=="ltr"?1:-1)>0;else{var Ft=zt(de,te.ch,te.sticky),Yt=Ft-be||(te.ch-ne.ch)*(De.level==1?-1:1);Ft==Ie-1||Ft==Ie?Xe=Yt<0:Xe=Yt>0}var Ln=de[Ie+(Xe?-1:0)],Mn=Xe==(Ln.level==1),cr=Mn?Ln.from:Ln.to,Pr=Mn?"after":"before";return ne.ch==cr&&ne.sticky==Pr?z:new fa(new qt(ne.line,cr,Pr),te)}function Fi(x,z,ne,te){var ie,de;if(z.touches)ie=z.touches[0].clientX,de=z.touches[0].clientY;else try{ie=z.clientX,de=z.clientY}catch(Ln){return!1}if(ie>=Math.floor(x.display.gutters.getBoundingClientRect().right))return!1;te&&Un(z);var be=x.display,De=be.lineDiv.getBoundingClientRect();if(de>De.bottom||!gn(x,ne))return Vn(z);de-=De.top-be.viewOffset;for(var Ie=0;Ie<x.display.gutterSpecs.length;++Ie){var Xe=be.gutters.childNodes[Ie];if(Xe&&Xe.getBoundingClientRect().right>=ie){var Ft=Dn(x.doc,de),Yt=x.display.gutterSpecs[Ie];return We(x,ne,x,Ft,Yt.className,z),Vn(z)}}}function Oi(x,z){return Fi(x,z,"gutterClick",!0)}function Ea(x,z){no(x.display,z)||Ao(x,z)||Ue(x,z,"contextmenu")||Ke||x.display.input.onContextMenu(z)}function Ao(x,z){return gn(x,"gutterContextMenu")?Fi(x,z,"gutterContextMenu",!1):!1}function vu(x){x.display.wrapper.className=x.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+x.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ro(x)}var Ms={toString:function(){return"CodeMirror.Init"}},Ql={},kl={};function gc(x){var z=x.optionHandlers;function ne(te,ie,de,be){x.defaults[te]=ie,de&&(z[te]=be?function(De,Ie,Xe){Xe!=Ms&&de(De,Ie,Xe)}:de)}x.defineOption=ne,x.Init=Ms,ne("value","",function(te,ie){return te.setValue(ie)},!0),ne("mode",null,function(te,ie){te.doc.modeOption=ie,rl(te)},!0),ne("indentUnit",2,rl,!0),ne("indentWithTabs",!1),ne("smartIndent",!0),ne("tabSize",4,function(te){Ta(te),ro(te),ws(te)},!0),ne("lineSeparator",null,function(te,ie){if(te.doc.lineSep=ie,!!ie){var de=[],be=te.doc.first;te.doc.iter(function(Ie){for(var Xe=0;;){var Ft=Ie.text.indexOf(ie,Xe);if(Ft==-1)break;Xe=Ft+ie.length,de.push(qt(be,Ft))}be++});for(var De=de.length-1;De>=0;De--)ku(te.doc,ie,de[De],qt(de[De].line,de[De].ch+ie.length))}}),ne("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(te,ie,de){te.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),de!=Ms&&te.refresh()}),ne("specialCharPlaceholder",ja,function(te){return te.refresh()},!0),ne("electricChars",!0),ne("inputStyle",ft?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),ne("spellcheck",!1,function(te,ie){return te.getInputField().spellcheck=ie},!0),ne("autocorrect",!1,function(te,ie){return te.getInputField().autocorrect=ie},!0),ne("autocapitalize",!1,function(te,ie){return te.getInputField().autocapitalize=ie},!0),ne("rtlMoveVisually",!Vt),ne("wholeLineUpdateBefore",!0),ne("theme","default",function(te){vu(te),ps(te)},!0),ne("keyMap","default",function(te,ie,de){var be=Ps(ie),De=de!=Ms&&Ps(de);De&&De.detach&&De.detach(te,be),be.attach&&be.attach(te,De||null)}),ne("extraKeys",null),ne("configureMouse",null),ne("lineWrapping",!1,vl,!0),ne("gutters",[],function(te,ie){te.display.gutterSpecs=ns(ie,te.options.lineNumbers),ps(te)},!0),ne("fixedGutter",!0,function(te,ie){te.display.gutters.style.left=ie?qa(te.display)+"px":"0",te.refresh()},!0),ne("coverGutterNextToScrollbar",!1,function(te){return sa(te)},!0),ne("scrollbarStyle","native",function(te){Ya(te),sa(te),te.display.scrollbars.setScrollTop(te.doc.scrollTop),te.display.scrollbars.setScrollLeft(te.doc.scrollLeft)},!0),ne("lineNumbers",!1,function(te,ie){te.display.gutterSpecs=ns(te.options.gutters,ie),ps(te)},!0),ne("firstLineNumber",1,ps,!0),ne("lineNumberFormatter",function(te){return te},ps,!0),ne("showCursorWhenSelecting",!1,gt,!0),ne("resetSelectionOnContextMenu",!0),ne("lineWiseCopyCut",!0),ne("pasteLinesPerSelection",!0),ne("selectionsMayTouch",!1),ne("readOnly",!1,function(te,ie){ie=="nocursor"&&(er(te),te.display.input.blur()),te.display.input.readOnlyChanged(ie)}),ne("screenReaderLabel",null,function(te,ie){ie=ie===""?null:ie,te.display.input.screenReaderLabelChanged(ie)}),ne("disableInput",!1,function(te,ie){ie||te.display.input.reset()},!0),ne("dragDrop",!0,Lu),ne("allowDropFileTypes",null),ne("cursorBlinkRate",530),ne("cursorScrollMargin",0),ne("cursorHeight",1,gt,!0),ne("singleCursorHeightPerLine",!0,gt,!0),ne("workTime",100),ne("workDelay",100),ne("flattenSpans",!0,Ta,!0),ne("addModeClass",!1,Ta,!0),ne("pollInterval",100),ne("undoDepth",200,function(te,ie){return te.doc.history.undoDepth=ie}),ne("historyEventDelay",1250),ne("viewportMargin",10,function(te){return te.refresh()},!0),ne("maxHighlightLength",1e4,Ta,!0),ne("moveInputWithCursor",!0,function(te,ie){ie||te.display.input.resetPosition()}),ne("tabindex",null,function(te,ie){return te.display.input.getField().tabIndex=ie||""}),ne("autofocus",null),ne("direction","ltr",function(te,ie){return te.doc.setDirection(ie)},!0),ne("phrases",null)}function Lu(x,z,ne){var te=ne&&ne!=Ms;if(!z!=!te){var ie=x.display.dragFunctions,de=z?tn:ut;de(x.display.scroller,"dragstart",ie.start),de(x.display.scroller,"dragenter",ie.enter),de(x.display.scroller,"dragover",ie.over),de(x.display.scroller,"dragleave",ie.leave),de(x.display.scroller,"drop",ie.drop)}}function vl(x){x.options.lineWrapping?(Nt(x.display.wrapper,"CodeMirror-wrap"),x.display.sizer.style.minWidth="",x.display.sizerWidth=null):($e(x.display.wrapper,"CodeMirror-wrap"),kr(x)),Go(x),ws(x),ro(x),setTimeout(function(){return sa(x)},100)}function ra(x,z){var ne=this;if(!(this instanceof ra))return new ra(x,z);this.options=z=z?jt(z):{},jt(Ql,z,!1);var te=z.value;typeof te=="string"?te=new Wo(te,z.mode,null,z.lineSeparator,z.direction):z.mode&&(te.modeOption=z.mode),this.doc=te;var ie=new ra.inputStyles[z.inputStyle](this),de=this.display=new ou(x,te,ie,z);de.wrapper.CodeMirror=this,vu(this),z.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ya(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 Ce,keySeq:null,specialChars:null},z.autofocus&&!ft&&de.input.focus(),Se&&ke<11&&setTimeout(function(){return ne.display.input.reset(!0)},20),lh(this),Uc(),Za(this),this.curOp.forceUpdate=!0,Sl(this,te),z.autofocus&&!ft||this.hasFocus()?setTimeout(function(){ne.hasFocus()&&!ne.state.focused&&$n(ne)},20):er(this);for(var be in kl)kl.hasOwnProperty(be)&&kl[be](this,z[be],Ms);Cl(this),z.finishInit&&z.finishInit(this);for(var De=0;De<_d.length;++De)_d[De](this);io(this),Oe&&z.lineWrapping&&getComputedStyle(de.lineDiv).textRendering=="optimizelegibility"&&(de.lineDiv.style.textRendering="auto")}ra.defaults=Ql,ra.optionHandlers=kl;function lh(x){var z=x.display;tn(z.scroller,"mousedown",Oa(x,As)),Se&&ke<11?tn(z.scroller,"dblclick",Oa(x,function(Ie){if(!Ue(x,Ie)){var Xe=xs(x,Ie);if(!(!Xe||Oi(x,Ie)||no(x.display,Ie))){Un(Ie);var Ft=x.findWordAt(Xe);Pl(x.doc,Ft.anchor,Ft.head)}}})):tn(z.scroller,"dblclick",function(Ie){return Ue(x,Ie)||Un(Ie)}),tn(z.scroller,"contextmenu",function(Ie){return Ea(x,Ie)}),tn(z.input.getField(),"contextmenu",function(Ie){z.scroller.contains(Ie.target)||Ea(x,Ie)});var ne,te={end:0};function ie(){z.activeTouch&&(ne=setTimeout(function(){return z.activeTouch=null},1e3),te=z.activeTouch,te.end=+new Date)}function de(Ie){if(Ie.touches.length!=1)return!1;var Xe=Ie.touches[0];return Xe.radiusX<=1&&Xe.radiusY<=1}function be(Ie,Xe){if(Xe.left==null)return!0;var Ft=Xe.left-Ie.left,Yt=Xe.top-Ie.top;return Ft*Ft+Yt*Yt>20*20}tn(z.scroller,"touchstart",function(Ie){if(!Ue(x,Ie)&&!de(Ie)&&!Oi(x,Ie)){z.input.ensurePolled(),clearTimeout(ne);var Xe=+new Date;z.activeTouch={start:Xe,moved:!1,prev:Xe-te.end<=300?te:null},Ie.touches.length==1&&(z.activeTouch.left=Ie.touches[0].pageX,z.activeTouch.top=Ie.touches[0].pageY)}}),tn(z.scroller,"touchmove",function(){z.activeTouch&&(z.activeTouch.moved=!0)}),tn(z.scroller,"touchend",function(Ie){var Xe=z.activeTouch;if(Xe&&!no(z,Ie)&&Xe.left!=null&&!Xe.moved&&new Date-Xe.start<300){var Ft=x.coordsChar(z.activeTouch,"page"),Yt;!Xe.prev||be(Xe,Xe.prev)?Yt=new fa(Ft,Ft):!Xe.prev.prev||be(Xe,Xe.prev.prev)?Yt=x.findWordAt(Ft):Yt=new fa(qt(Ft.line,0),Wt(x.doc,qt(Ft.line+1,0))),x.setSelection(Yt.anchor,Yt.head),x.focus(),Un(Ie)}ie()}),tn(z.scroller,"touchcancel",ie),tn(z.scroller,"scroll",function(){z.scroller.clientHeight&&(ea(x,z.scroller.scrollTop),Ba(x,z.scroller.scrollLeft,!0),We(x,"scroll",x))}),tn(z.scroller,"mousewheel",function(Ie){return hl(x,Ie)}),tn(z.scroller,"DOMMouseScroll",function(Ie){return hl(x,Ie)}),tn(z.wrapper,"scroll",function(){return z.wrapper.scrollTop=z.wrapper.scrollLeft=0}),z.dragFunctions={enter:function(Ie){Ue(x,Ie)||dr(Ie)},over:function(Ie){Ue(x,Ie)||(cc(x,Ie),dr(Ie))},start:function(Ie){return Wd(x,Ie)},drop:Oa(x,gd),leave:function(Ie){Ue(x,Ie)||Wu(x)}};var De=z.input.getField();tn(De,"keyup",function(Ie){return Yc.call(x,Ie)}),tn(De,"keydown",Oa(x,ju)),tn(De,"keypress",Oa(x,Qc)),tn(De,"focus",function(Ie){return $n(x,Ie)}),tn(De,"blur",function(Ie){return er(x,Ie)})}var _d=[];ra.defineInitHook=function(x){return _d.push(x)};function Xl(x,z,ne,te){var ie=x.doc,de;ne==null&&(ne="add"),ne=="smart"&&(ie.mode.indent?de=dn(x,z).state:ne="prev");var be=x.options.tabSize,De=ct(ie,z),Ie=Qe(De.text,null,be);De.stateAfter&&(De.stateAfter=null);var Xe=De.text.match(/^\s*/)[0],Ft;if(!te&&!/\S/.test(De.text))Ft=0,ne="not";else if(ne=="smart"&&(Ft=ie.mode.indent(de,De.text.slice(Xe.length),De.text),Ft==Et||Ft>150)){if(!te)return;ne="prev"}ne=="prev"?z>ie.first?Ft=Qe(ct(ie,z-1).text,null,be):Ft=0:ne=="add"?Ft=Ie+x.options.indentUnit:ne=="subtract"?Ft=Ie-x.options.indentUnit:typeof ne=="number"&&(Ft=Ie+ne),Ft=Math.max(0,Ft);var Yt="",Ln=0;if(x.options.indentWithTabs)for(var Mn=Math.floor(Ft/be);Mn;--Mn)Ln+=be,Yt+=" ";if(Ln<Ft&&(Yt+=yn(Ft-Ln)),Yt!=Xe)return ku(ie,Yt,qt(z,0),qt(z,Xe.length),"+input"),De.stateAfter=null,!0;for(var cr=0;cr<ie.sel.ranges.length;cr++){var Pr=ie.sel.ranges[cr];if(Pr.head.line==z&&Pr.head.ch<Xe.length){var ni=qt(z,Xe.length);Qs(ie,cr,new fa(ni,ni));break}}}var Jl=null;function Gu(x){Jl=x}function Gd(x,z,ne,te,ie){var de=x.doc;x.display.shift=!1,te||(te=de.sel);var be=+new Date-200,De=ie=="paste"||x.state.pasteIncoming>be,Ie=Qr(z),Xe=null;if(De&&te.ranges.length>1)if(Jl&&Jl.text.join(`
|
|
|
`)==z){if(te.ranges.length%Jl.text.length==0){Xe=[];for(var Ft=0;Ft<Jl.text.length;Ft++)Xe.push(de.splitLines(Jl.text[Ft]))}}else Ie.length==te.ranges.length&&x.options.pasteLinesPerSelection&&(Xe=Bt(Ie,function(yi){return[yi]}));for(var Yt=x.curOp.updateInput,Ln=te.ranges.length-1;Ln>=0;Ln--){var Mn=te.ranges[Ln],cr=Mn.from(),Pr=Mn.to();Mn.empty()&&(ne&&ne>0?cr=qt(cr.line,cr.ch-ne):x.state.overwrite&&!De?Pr=qt(Pr.line,Math.min(ct(de,Pr.line).text.length,Pr.ch+kt(Ie).length)):De&&Jl&&Jl.lineWise&&Jl.text.join(`
|
|
|
`)==Ie.join(`
|
|
|
`)&&(cr=Pr=qt(cr.line,0)));var ni={from:cr,to:Pr,text:Xe?Xe[Ln%Xe.length]:Ie,origin:ie||(De?"paste":x.state.cutIncoming>be?"cut":"+input")};Al(x.doc,ni),lr(x,"inputRead",x,ni)}z&&!De&&Yd(x,z),xi(x),x.curOp.updateInput<2&&(x.curOp.updateInput=Yt),x.curOp.typing=!0,x.state.pasteIncoming=x.state.cutIncoming=-1}function Ud(x,z){var ne=x.clipboardData&&x.clipboardData.getData("Text");if(ne)return x.preventDefault(),!z.isReadOnly()&&!z.options.disableInput&&Sa(z,function(){return Gd(z,ne,0,null,"paste")}),!0}function Yd(x,z){if(!(!x.options.electricChars||!x.options.smartIndent))for(var ne=x.doc.sel,te=ne.ranges.length-1;te>=0;te--){var ie=ne.ranges[te];if(!(ie.head.ch>100||te&&ne.ranges[te-1].head.line==ie.head.line)){var de=x.getModeAt(ie.head),be=!1;if(de.electricChars){for(var De=0;De<de.electricChars.length;De++)if(z.indexOf(de.electricChars.charAt(De))>-1){be=Xl(x,ie.head.line,"smart");break}}else de.electricInput&&de.electricInput.test(ct(x.doc,ie.head.line).text.slice(0,ie.head.ch))&&(be=Xl(x,ie.head.line,"smart"));be&&lr(x,"electricInput",x,ie.head.line)}}}function Fc(x){for(var z=[],ne=[],te=0;te<x.doc.sel.ranges.length;te++){var ie=x.doc.sel.ranges[te].head.line,de={anchor:qt(ie,0),head:qt(ie+1,0)};ne.push(de),z.push(x.getRange(de.anchor,de.head))}return{text:z,ranges:ne}}function Ef(x,z,ne,te){x.setAttribute("autocorrect",ne?"":"off"),x.setAttribute("autocapitalize",te?"":"off"),x.setAttribute("spellcheck",!!z)}function Qd(){var x=Ye("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),z=Ye("div",[x],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Oe?x.style.width="1000px":x.setAttribute("wrap","off"),dt&&(x.style.border="1px solid black"),Ef(x),z}function Xd(x){var z=x.optionHandlers,ne=x.helpers={};x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(te,ie){var de=this.options,be=de[te];de[te]==ie&&te!="mode"||(de[te]=ie,z.hasOwnProperty(te)&&Oa(this,z[te])(this,ie,be),We(this,"optionChange",this,te))},getOption:function(te){return this.options[te]},getDoc:function(){return this.doc},addKeyMap:function(te,ie){this.state.keyMaps[ie?"push":"unshift"](Ps(te))},removeKeyMap:function(te){for(var ie=this.state.keyMaps,de=0;de<ie.length;++de)if(ie[de]==te||ie[de].name==te)return ie.splice(de,1),!0},addOverlay:xa(function(te,ie){var de=te.token?te:x.getMode(this.options,te);if(de.startState)throw new Error("Overlays may not be stateful.");xt(this.state.overlays,{mode:de,modeSpec:te,opaque:ie&&ie.opaque,priority:ie&&ie.priority||0},function(be){return be.priority}),this.state.modeGen++,ws(this)}),removeOverlay:xa(function(te){for(var ie=this.state.overlays,de=0;de<ie.length;++de){var be=ie[de].modeSpec;if(be==te||typeof te=="string"&&be.name==te){ie.splice(de,1),this.state.modeGen++,ws(this);return}}}),indentLine:xa(function(te,ie,de){typeof ie!="string"&&typeof ie!="number"&&(ie==null?ie=this.options.smartIndent?"smart":"prev":ie=ie?"add":"subtract"),Hn(this.doc,te)&&Xl(this,te,ie,de)}),indentSelection:xa(function(te){for(var ie=this.doc.sel.ranges,de=-1,be=0;be<ie.length;be++){var De=ie[be];if(De.empty())De.head.line>de&&(Xl(this,De.head.line,te,!0),de=De.head.line,be==this.doc.sel.primIndex&&xi(this));else{var Ie=De.from(),Xe=De.to(),Ft=Math.max(de,Ie.line);de=Math.min(this.lastLine(),Xe.line-(Xe.ch?0:1))+1;for(var Yt=Ft;Yt<de;++Yt)Xl(this,Yt,te);var Ln=this.doc.sel.ranges;Ie.ch==0&&ie.length==Ln.length&&Ln[be].from().ch>0&&Qs(this.doc,be,new fa(Ie,Ln[be].to()),Ve)}}}),getTokenAt:function(te,ie){return br(this,te,ie)},getLineTokens:function(te,ie){return br(this,qt(te),ie,!0)},getTokenTypeAt:function(te){te=Wt(this.doc,te);var ie=Jt(this,ct(this.doc,te.line)),de=0,be=(ie.length-1)/2,De=te.ch,Ie;if(De==0)Ie=ie[2];else for(;;){var Xe=de+be>>1;if((Xe?ie[Xe*2-1]:0)>=De)be=Xe;else if(ie[Xe*2+1]<De)de=Xe+1;else{Ie=ie[Xe*2+2];break}}var Ft=Ie?Ie.indexOf("overlay "):-1;return Ft<0?Ie:Ft==0?null:Ie.slice(0,Ft-1)},getModeAt:function(te){var ie=this.doc.mode;return ie.innerMode?x.innerMode(ie,this.getTokenAt(te).state).mode:ie},getHelper:function(te,ie){return this.getHelpers(te,ie)[0]},getHelpers:function(te,ie){var de=[];if(!ne.hasOwnProperty(ie))return de;var be=ne[ie],De=this.getModeAt(te);if(typeof De[ie]=="string")be[De[ie]]&&de.push(be[De[ie]]);else if(De[ie])for(var Ie=0;Ie<De[ie].length;Ie++){var Xe=be[De[ie][Ie]];Xe&&de.push(Xe)}else De.helperType&&be[De.helperType]?de.push(be[De.helperType]):be[De.name]&&de.push(be[De.name]);for(var Ft=0;Ft<be._global.length;Ft++){var Yt=be._global[Ft];Yt.pred(De,this)&&nt(de,Yt.val)==-1&&de.push(Yt.val)}return de},getStateAfter:function(te,ie){var de=this.doc;return te=En(de,te==null?de.first+de.size-1:te),dn(this,te+1,ie).state},cursorCoords:function(te,ie){var de,be=this.doc.sel.primary();return te==null?de=be.head:typeof te=="object"?de=Wt(this.doc,te):de=te?be.from():be.to(),qo(this,de,ie||"page")},charCoords:function(te,ie){return Rs(this,Wt(this.doc,te),ie||"page")},coordsChar:function(te,ie){return te=Vs(this,te,ie||"page"),Su(this,te.left,te.top)},lineAtHeight:function(te,ie){return te=Vs(this,{top:te,left:0},ie||"page").top,Dn(this.doc,te+this.display.viewOffset)},heightAtLine:function(te,ie,de){var be=!1,De;if(typeof te=="number"){var Ie=this.doc.first+this.doc.size-1;te<this.doc.first?te=this.doc.first:te>Ie&&(te=Ie,be=!0),De=ct(this.doc,te)}else De=te;return cs(this,De,{top:0,left:0},ie||"page",de||be).top+(be?this.doc.height-Lr(De):0)},defaultTextHeight:function(){return Wl(this.display)},defaultCharWidth:function(){return za(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(te,ie,de,be,De){var Ie=this.display;te=qo(this,Wt(this.doc,te));var Xe=te.bottom,Ft=te.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),Ie.sizer.appendChild(ie),be=="over")Xe=te.top;else if(be=="above"||be=="near"){var Yt=Math.max(Ie.wrapper.clientHeight,this.doc.height),Ln=Math.max(Ie.sizer.clientWidth,Ie.lineSpace.clientWidth);(be=="above"||te.bottom+ie.offsetHeight>Yt)&&te.top>ie.offsetHeight?Xe=te.top-ie.offsetHeight:te.bottom+ie.offsetHeight<=Yt&&(Xe=te.bottom),Ft+ie.offsetWidth>Ln&&(Ft=Ln-ie.offsetWidth)}ie.style.top=Xe+"px",ie.style.left=ie.style.right="",De=="right"?(Ft=Ie.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(De=="left"?Ft=0:De=="middle"&&(Ft=(Ie.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=Ft+"px"),de&&bi(this,{left:Ft,top:Xe,right:Ft+ie.offsetWidth,bottom:Xe+ie.offsetHeight})},triggerOnKeyDown:xa(ju),triggerOnKeyPress:xa(Qc),triggerOnKeyUp:Yc,triggerOnMouseDown:xa(As),execCommand:function(te){if(Bu.hasOwnProperty(te))return Bu[te].call(null,this)},triggerElectric:xa(function(te){Yd(this,te)}),findPosH:function(te,ie,de,be){var De=1;ie<0&&(De=-1,ie=-ie);for(var Ie=Wt(this.doc,te),Xe=0;Xe<ie&&(Ie=bd(this.doc,Ie,De,de,be),!Ie.hitSide);++Xe);return Ie},moveH:xa(function(te,ie){var de=this;this.extendSelectionsBy(function(be){return de.display.shift||de.doc.extend||be.empty()?bd(de.doc,be.head,te,ie,de.options.rtlMoveVisually):te<0?be.from():be.to()},At)}),deleteH:xa(function(te,ie){var de=this.doc.sel,be=this.doc;de.somethingSelected()?be.replaceSelection("",null,"+delete"):al(this,function(De){var Ie=bd(be,De.head,te,ie,!1);return te<0?{from:Ie,to:De.head}:{from:De.head,to:Ie}})}),findPosV:function(te,ie,de,be){var De=1,Ie=be;ie<0&&(De=-1,ie=-ie);for(var Xe=Wt(this.doc,te),Ft=0;Ft<ie;++Ft){var Yt=qo(this,Xe,"div");if(Ie==null?Ie=Yt.left:Yt.left=Ie,Xe=Af(this,Yt,De,de),Xe.hitSide)break}return Xe},moveV:xa(function(te,ie){var de=this,be=this.doc,De=[],Ie=!this.display.shift&&!be.extend&&be.sel.somethingSelected();if(be.extendSelectionsBy(function(Ft){if(Ie)return te<0?Ft.from():Ft.to();var Yt=qo(de,Ft.head,"div");Ft.goalColumn!=null&&(Yt.left=Ft.goalColumn),De.push(Yt.left);var Ln=Af(de,Yt,te,ie);return ie=="page"&&Ft==be.sel.primary()&&vi(de,Rs(de,Ln,"div").top-Yt.top),Ln},At),De.length)for(var Xe=0;Xe<be.sel.ranges.length;Xe++)be.sel.ranges[Xe].goalColumn=De[Xe]}),findWordAt:function(te){var ie=this.doc,de=ct(ie,te.line).text,be=te.ch,De=te.ch;if(de){var Ie=this.getHelper(te,"wordChars");(te.sticky=="before"||De==de.length)&&be?--be:++De;for(var Xe=de.charAt(be),Ft=he(Xe,Ie)?function(Yt){return he(Yt,Ie)}:/\s/.test(Xe)?function(Yt){return/\s/.test(Yt)}:function(Yt){return!/\s/.test(Yt)&&!he(Yt)};be>0&&Ft(de.charAt(be-1));)--be;for(;De<de.length&&Ft(de.charAt(De));)++De}return new fa(qt(te.line,be),qt(te.line,De))},toggleOverwrite:function(te){te!=null&&te==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Nt(this.display.cursorDiv,"CodeMirror-overwrite"):$e(this.display.cursorDiv,"CodeMirror-overwrite"),We(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==it()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:xa(function(te,ie){mi(this,te,ie)}),getScrollInfo:function(){var te=this.display.scroller;return{left:te.scrollLeft,top:te.scrollTop,height:te.scrollHeight-Mo(this)-this.display.barHeight,width:te.scrollWidth-Mo(this)-this.display.barWidth,clientHeight:Is(this),clientWidth:so(this)}},scrollIntoView:xa(function(te,ie){te==null?(te={from:this.doc.sel.primary().head,to:null},ie==null&&(ie=this.options.cursorScrollMargin)):typeof te=="number"?te={from:qt(te,0),to:null}:te.from==null&&(te={from:te,to:null}),te.to||(te.to=te.from),te.margin=ie||0,te.from.line!=null?ai(this,te):Zi(this,te.from,te.to,te.margin)}),setSize:xa(function(te,ie){var de=this,be=function(Ie){return typeof Ie=="number"||/^\d+$/.test(String(Ie))?Ie+"px":Ie};te!=null&&(this.display.wrapper.style.width=be(te)),ie!=null&&(this.display.wrapper.style.height=be(ie)),this.options.lineWrapping&&zo(this);var De=this.display.viewFrom;this.doc.iter(De,this.display.viewTo,function(Ie){if(Ie.widgets){for(var Xe=0;Xe<Ie.widgets.length;Xe++)if(Ie.widgets[Xe].noHScroll){dl(de,De,"widget");break}}++De}),this.curOp.forceUpdate=!0,We(this,"refresh",this)}),operation:function(te){return Sa(this,te)},startOperation:function(){return Za(this)},endOperation:function(){return io(this)},refresh:xa(function(){var te=this.display.cachedTextHeight;ws(this),this.curOp.forceUpdate=!0,ro(this),mi(this,this.doc.scrollLeft,this.doc.scrollTop),hs(this.display),(te==null||Math.abs(te-Wl(this.display))>.5||this.options.lineWrapping)&&Go(this),We(this,"refresh",this)}),swapDoc:xa(function(te){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),Sl(this,te),ro(this),this.display.input.reset(),mi(this,te.scrollLeft,te.scrollTop),this.curOp.forceScroll=!0,lr(this,"swapDoc",this,ie),ie}),phrase:function(te){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,te)?ie[te]:te},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}},xn(x),x.registerHelper=function(te,ie,de){ne.hasOwnProperty(te)||(ne[te]=x[te]={_global:[]}),ne[te][ie]=de},x.registerGlobalHelper=function(te,ie,de,be){x.registerHelper(te,ie,be),ne[te]._global.push({pred:de,val:be})}}function bd(x,z,ne,te,ie){var de=z,be=ne,De=ct(x,z.line),Ie=ie&&x.direction=="rtl"?-ne:ne;function Xe(){var Mi=z.line+Ie;return Mi<x.first||Mi>=x.first+x.size?!1:(z=new qt(Mi,z.ch,z.sticky),De=ct(x,Mi))}function Ft(Mi){var hi;if(te=="codepoint"){var Bi=De.text.charCodeAt(z.ch+(te>0?0:-1));isNaN(Bi)?hi=null:hi=new qt(z.line,Math.max(0,Math.min(De.text.length,z.ch+ne*(Bi>=55296&&Bi<56320?2:1))),-ne)}else ie?hi=Nl(x.cm,De,z,ne):hi=Rl(De,z,ne);if(hi==null)if(!Mi&&Xe())z=hu(ie,x.cm,De,z.line,Ie);else return!1;else z=hi;return!0}if(te=="char"||te=="codepoint")Ft();else if(te=="column")Ft(!0);else if(te=="word"||te=="group")for(var Yt=null,Ln=te=="group",Mn=x.cm&&x.cm.getHelper(z,"wordChars"),cr=!0;!(ne<0&&!Ft(!cr));cr=!1){var Pr=De.text.charAt(z.ch)||`
|
|
|
`,ni=he(Pr,Mn)?"w":Ln&&Pr==`
|
|
|
`?"n":!Ln||/\s/.test(Pr)?null:"p";if(Ln&&!cr&&!ni&&(ni="s"),Yt&&Yt!=ni){ne<0&&(ne=1,Ft(),z.sticky="after");break}if(ni&&(Yt=ni),ne>0&&!Ft(!cr))break}var yi=Ac(x,z,de,be,!0);return Ct(de,yi)&&(yi.hitSide=!0),yi}function Af(x,z,ne,te){var ie=x.doc,de=z.left,be;if(te=="page"){var De=Math.min(x.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Ie=Math.max(De-.5*Wl(x.display),3);be=(ne>0?z.bottom:z.top)+ne*Ie}else te=="line"&&(be=ne>0?z.bottom+3:z.top-3);for(var Xe;Xe=Su(x,de,be),!!Xe.outside;){if(ne<0?be<=0:be>=ie.height){Xe.hitSide=!0;break}be+=ne*5}return Xe}var ho=function(x){this.cm=x,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ce,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ho.prototype.init=function(x){var z=this,ne=this,te=ne.cm,ie=ne.div=x.lineDiv;Ef(ie,te.options.spellcheck,te.options.autocorrect,te.options.autocapitalize);function de(De){for(var Ie=De.target;Ie;Ie=Ie.parentNode){if(Ie==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Ie.className))break}return!1}tn(ie,"paste",function(De){!de(De)||Ue(te,De)||Ud(De,te)||ke<=11&&setTimeout(Oa(te,function(){return z.updateFromDOM()}),20)}),tn(ie,"compositionstart",function(De){z.composing={data:De.data,done:!1}}),tn(ie,"compositionupdate",function(De){z.composing||(z.composing={data:De.data,done:!1})}),tn(ie,"compositionend",function(De){z.composing&&(De.data!=z.composing.data&&z.readFromDOMSoon(),z.composing.done=!0)}),tn(ie,"touchstart",function(){return ne.forceCompositionEnd()}),tn(ie,"input",function(){z.composing||z.readFromDOMSoon()});function be(De){if(!(!de(De)||Ue(te,De))){if(te.somethingSelected())Gu({lineWise:!1,text:te.getSelections()}),De.type=="cut"&&te.replaceSelection("",null,"cut");else if(te.options.lineWiseCopyCut){var Ie=Fc(te);Gu({lineWise:!0,text:Ie.text}),De.type=="cut"&&te.operation(function(){te.setSelections(Ie.ranges,0,Ve),te.replaceSelection("",null,"cut")})}else return;if(De.clipboardData){De.clipboardData.clearData();var Xe=Jl.text.join(`
|
|
|
`);if(De.clipboardData.setData("Text",Xe),De.clipboardData.getData("Text")==Xe){De.preventDefault();return}}var Ft=Qd(),Yt=Ft.firstChild;te.display.lineSpace.insertBefore(Ft,te.display.lineSpace.firstChild),Yt.value=Jl.text.join(`
|
|
|
`);var Ln=document.activeElement;Ut(Yt),setTimeout(function(){te.display.lineSpace.removeChild(Ft),Ln.focus(),Ln==ie&&ne.showPrimarySelection()},50)}}tn(ie,"copy",be),tn(ie,"cut",be)},ho.prototype.screenReaderLabelChanged=function(x){x?this.div.setAttribute("aria-label",x):this.div.removeAttribute("aria-label")},ho.prototype.prepareSelection=function(){var x=bt(this.cm,!1);return x.focus=document.activeElement==this.div,x},ho.prototype.showSelection=function(x,z){!x||!this.cm.display.view.length||((x.focus||z)&&this.showPrimarySelection(),this.showMultipleSelections(x))},ho.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ho.prototype.showPrimarySelection=function(){var x=this.getSelection(),z=this.cm,ne=z.doc.sel.primary(),te=ne.from(),ie=ne.to();if(z.display.viewTo==z.display.viewFrom||te.line>=z.display.viewTo||ie.line<z.display.viewFrom){x.removeAllRanges();return}var de=xd(z,x.anchorNode,x.anchorOffset),be=xd(z,x.focusNode,x.focusOffset);if(!(de&&!de.bad&&be&&!be.bad&&Sn(en(de,be),te)==0&&Sn(Xt(de,be),ie)==0)){var De=z.display.view,Ie=te.line>=z.display.viewFrom&&Mf(z,te)||{node:De[0].measure.map[2],offset:0},Xe=ie.line<z.display.viewTo&&Mf(z,ie);if(!Xe){var Ft=De[De.length-1].measure,Yt=Ft.maps?Ft.maps[Ft.maps.length-1]:Ft.map;Xe={node:Yt[Yt.length-1],offset:Yt[Yt.length-2]-Yt[Yt.length-3]}}if(!Ie||!Xe){x.removeAllRanges();return}var Ln=x.rangeCount&&x.getRangeAt(0),Mn;try{Mn=at(Ie.node,Ie.offset,Xe.offset,Xe.node)}catch(cr){}Mn&&(!ae&&z.state.focused?(x.collapse(Ie.node,Ie.offset),Mn.collapsed||(x.removeAllRanges(),x.addRange(Mn))):(x.removeAllRanges(),x.addRange(Mn)),Ln&&x.anchorNode==null?x.addRange(Ln):ae&&this.startGracePeriod()),this.rememberSelection()}},ho.prototype.startGracePeriod=function(){var x=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){x.gracePeriod=!1,x.selectionChanged()&&x.cm.operation(function(){return x.cm.curOp.selectionChanged=!0})},20)},ho.prototype.showMultipleSelections=function(x){qe(this.cm.display.cursorDiv,x.cursors),qe(this.cm.display.selectionDiv,x.selection)},ho.prototype.rememberSelection=function(){var x=this.getSelection();this.lastAnchorNode=x.anchorNode,this.lastAnchorOffset=x.anchorOffset,this.lastFocusNode=x.focusNode,this.lastFocusOffset=x.focusOffset},ho.prototype.selectionInEditor=function(){var x=this.getSelection();if(!x.rangeCount)return!1;var z=x.getRangeAt(0).commonAncestorContainer;return Pt(this.div,z)},ho.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ho.prototype.blur=function(){this.div.blur()},ho.prototype.getField=function(){return this.div},ho.prototype.supportsTouch=function(){return!0},ho.prototype.receivedFocus=function(){var x=this;this.selectionInEditor()?this.pollSelection():Sa(this.cm,function(){return x.cm.curOp.selectionChanged=!0});function z(){x.cm.state.focused&&(x.pollSelection(),x.polling.set(x.cm.options.pollInterval,z))}this.polling.set(this.cm.options.pollInterval,z)},ho.prototype.selectionChanged=function(){var x=this.getSelection();return x.anchorNode!=this.lastAnchorNode||x.anchorOffset!=this.lastAnchorOffset||x.focusNode!=this.lastFocusNode||x.focusOffset!=this.lastFocusOffset},ho.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var x=this.getSelection(),z=this.cm;if(ot&&Ee&&this.cm.display.gutterSpecs.length&&uh(x.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var ne=xd(z,x.anchorNode,x.anchorOffset),te=xd(z,x.focusNode,x.focusOffset);ne&&te&&Sa(z,function(){Oo(z.doc,Uo(ne,te),Ve),(ne.bad||te.bad)&&(z.curOp.selectionChanged=!0)})}}},ho.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var x=this.cm,z=x.display,ne=x.doc.sel.primary(),te=ne.from(),ie=ne.to();if(te.ch==0&&te.line>x.firstLine()&&(te=qt(te.line-1,ct(x.doc,te.line-1).length)),ie.ch==ct(x.doc,ie.line).text.length&&ie.line<x.lastLine()&&(ie=qt(ie.line+1,0)),te.line<z.viewFrom||ie.line>z.viewTo-1)return!1;var de,be,De;te.line==z.viewFrom||(de=_s(x,te.line))==0?(be=Zt(z.view[0].line),De=z.view[0].node):(be=Zt(z.view[de].line),De=z.view[de-1].node.nextSibling);var Ie=_s(x,ie.line),Xe,Ft;if(Ie==z.view.length-1?(Xe=z.viewTo-1,Ft=z.lineDiv.lastChild):(Xe=Zt(z.view[Ie+1].line)-1,Ft=z.view[Ie+1].node.previousSibling),!De)return!1;for(var Yt=x.doc.splitLines(ch(x,De,Ft,be,Xe)),Ln=St(x.doc,qt(be,0),qt(Xe,ct(x.doc,Xe).text.length));Yt.length>1&&Ln.length>1;)if(kt(Yt)==kt(Ln))Yt.pop(),Ln.pop(),Xe--;else if(Yt[0]==Ln[0])Yt.shift(),Ln.shift(),be++;else break;for(var Mn=0,cr=0,Pr=Yt[0],ni=Ln[0],yi=Math.min(Pr.length,ni.length);Mn<yi&&Pr.charCodeAt(Mn)==ni.charCodeAt(Mn);)++Mn;for(var Mi=kt(Yt),hi=kt(Ln),Bi=Math.min(Mi.length-(Yt.length==1?Mn:0),hi.length-(Ln.length==1?Mn:0));cr<Bi&&Mi.charCodeAt(Mi.length-cr-1)==hi.charCodeAt(hi.length-cr-1);)++cr;if(Yt.length==1&&Ln.length==1&&be==te.line)for(;Mn&&Mn>te.ch&&Mi.charCodeAt(Mi.length-cr-1)==hi.charCodeAt(hi.length-cr-1);)Mn--,cr++;Yt[Yt.length-1]=Mi.slice(0,Mi.length-cr).replace(/^\u200b+/,""),Yt[0]=Yt[0].slice(Mn).replace(/\u200b+$/,"");var Wi=qt(be,Mn),_i=qt(Xe,Ln.length?kt(Ln).length-cr:0);if(Yt.length>1||Yt[0]||Sn(Wi,_i))return ku(x.doc,Yt,Wi,_i,"+input"),!0},ho.prototype.ensurePolled=function(){this.forceCompositionEnd()},ho.prototype.reset=function(){this.forceCompositionEnd()},ho.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ho.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))},ho.prototype.updateFromDOM=function(){var x=this;(this.cm.isReadOnly()||!this.pollContent())&&Sa(this.cm,function(){return ws(x.cm)})},ho.prototype.setUneditable=function(x){x.contentEditable="false"},ho.prototype.onKeyPress=function(x){x.charCode==0||this.composing||(x.preventDefault(),this.cm.isReadOnly()||Oa(this.cm,Gd)(this.cm,String.fromCharCode(x.charCode==null?x.keyCode:x.charCode),0))},ho.prototype.readOnlyChanged=function(x){this.div.contentEditable=String(x!="nocursor")},ho.prototype.onContextMenu=function(){},ho.prototype.resetPosition=function(){},ho.prototype.needsContentAttribute=!0;function Mf(x,z){var ne=go(x,z.line);if(!ne||ne.hidden)return null;var te=ct(x.doc,z.line),ie=ls(ne,te,z.line),de=In(te,x.doc.direction),be="left";if(de){var De=zt(de,z.ch);be=De%2?"right":"left"}var Ie=xl(ie.map,z.ch,be);return Ie.offset=Ie.collapse=="right"?Ie.end:Ie.start,Ie}function uh(x){for(var z=x;z;z=z.parentNode)if(/CodeMirror-gutter-wrapper/.test(z.className))return!0;return!1}function Ic(x,z){return z&&(x.bad=!0),x}function ch(x,z,ne,te,ie){var de="",be=!1,De=x.doc.lineSeparator(),Ie=!1;function Xe(Mn){return function(cr){return cr.id==Mn}}function Ft(){be&&(de+=De,Ie&&(de+=De),be=Ie=!1)}function Yt(Mn){Mn&&(Ft(),de+=Mn)}function Ln(Mn){if(Mn.nodeType==1){var cr=Mn.getAttribute("cm-text");if(cr){Yt(cr);return}var Pr=Mn.getAttribute("cm-marker"),ni;if(Pr){var yi=x.findMarks(qt(te,0),qt(ie+1,0),Xe(+Pr));yi.length&&(ni=yi[0].find(0))&&Yt(St(x.doc,ni.from,ni.to).join(De));return}if(Mn.getAttribute("contenteditable")=="false")return;var Mi=/^(pre|div|p|li|table|br)$/i.test(Mn.nodeName);if(!/^br$/i.test(Mn.nodeName)&&Mn.textContent.length==0)return;Mi&&Ft();for(var hi=0;hi<Mn.childNodes.length;hi++)Ln(Mn.childNodes[hi]);/^(pre|p)$/i.test(Mn.nodeName)&&(Ie=!0),Mi&&(be=!0)}else Mn.nodeType==3&&Yt(Mn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Ln(z),z!=ne;)z=z.nextSibling,Ie=!1;return de}function xd(x,z,ne){var te;if(z==x.display.lineDiv){if(te=x.display.lineDiv.childNodes[ne],!te)return Ic(x.clipPos(qt(x.display.viewTo-1)),!0);z=null,ne=0}else for(te=z;;te=te.parentNode){if(!te||te==x.display.lineDiv)return null;if(te.parentNode&&te.parentNode==x.display.lineDiv)break}for(var ie=0;ie<x.display.view.length;ie++){var de=x.display.view[ie];if(de.node==te)return dh(de,z,ne)}}function dh(x,z,ne){var te=x.text.firstChild,ie=!1;if(!z||!Pt(te,z))return Ic(qt(Zt(x.line),0),!0);if(z==te&&(ie=!0,z=te.childNodes[ne],ne=0,!z)){var de=x.rest?kt(x.rest):x.line;return Ic(qt(Zt(de),de.text.length),ie)}var be=z.nodeType==3?z:null,De=z;for(!be&&z.childNodes.length==1&&z.firstChild.nodeType==3&&(be=z.firstChild,ne&&(ne=be.nodeValue.length));De.parentNode!=te;)De=De.parentNode;var Ie=x.measure,Xe=Ie.maps;function Ft(ni,yi,Mi){for(var hi=-1;hi<(Xe?Xe.length:0);hi++)for(var Bi=hi<0?Ie.map:Xe[hi],Wi=0;Wi<Bi.length;Wi+=3){var _i=Bi[Wi+2];if(_i==ni||_i==yi){var ka=Zt(hi<0?x.line:x.rest[hi]),xo=Bi[Wi]+Mi;return(Mi<0||_i!=ni)&&(xo=Bi[Wi+(Mi?1:0)]),qt(ka,xo)}}}var Yt=Ft(be,De,ne);if(Yt)return Ic(Yt,ie);for(var Ln=De.nextSibling,Mn=be?be.nodeValue.length-ne:0;Ln;Ln=Ln.nextSibling){if(Yt=Ft(Ln,Ln.firstChild,0),Yt)return Ic(qt(Yt.line,Yt.ch-Mn),ie);Mn+=Ln.textContent.length}for(var cr=De.previousSibling,Pr=ne;cr;cr=cr.previousSibling){if(Yt=Ft(cr,cr.firstChild,-1),Yt)return Ic(qt(Yt.line,Yt.ch+Pr),ie);Pr+=cr.textContent.length}}var bo=function(x){this.cm=x,this.prevInput="",this.pollingFast=!1,this.polling=new Ce,this.hasSelection=!1,this.composing=null};bo.prototype.init=function(x){var z=this,ne=this,te=this.cm;this.createField(x);var ie=this.textarea;x.wrapper.insertBefore(this.wrapper,x.wrapper.firstChild),dt&&(ie.style.width="0px"),tn(ie,"input",function(){Se&&ke>=9&&z.hasSelection&&(z.hasSelection=null),ne.poll()}),tn(ie,"paste",function(be){Ue(te,be)||Ud(be,te)||(te.state.pasteIncoming=+new Date,ne.fastPoll())});function de(be){if(!Ue(te,be)){if(te.somethingSelected())Gu({lineWise:!1,text:te.getSelections()});else if(te.options.lineWiseCopyCut){var De=Fc(te);Gu({lineWise:!0,text:De.text}),be.type=="cut"?te.setSelections(De.ranges,null,Ve):(ne.prevInput="",ie.value=De.text.join(`
|
|
|
`),Ut(ie))}else return;be.type=="cut"&&(te.state.cutIncoming=+new Date)}}tn(ie,"cut",de),tn(ie,"copy",de),tn(x.scroller,"paste",function(be){if(!(no(x,be)||Ue(te,be))){if(!ie.dispatchEvent){te.state.pasteIncoming=+new Date,ne.focus();return}var De=new Event("paste");De.clipboardData=be.clipboardData,ie.dispatchEvent(De)}}),tn(x.lineSpace,"selectstart",function(be){no(x,be)||Un(be)}),tn(ie,"compositionstart",function(){var be=te.getCursor("from");ne.composing&&ne.composing.range.clear(),ne.composing={start:be,range:te.markText(be,te.getCursor("to"),{className:"CodeMirror-composing"})}}),tn(ie,"compositionend",function(){ne.composing&&(ne.poll(),ne.composing.range.clear(),ne.composing=null)})},bo.prototype.createField=function(x){this.wrapper=Qd(),this.textarea=this.wrapper.firstChild},bo.prototype.screenReaderLabelChanged=function(x){x?this.textarea.setAttribute("aria-label",x):this.textarea.removeAttribute("aria-label")},bo.prototype.prepareSelection=function(){var x=this.cm,z=x.display,ne=x.doc,te=bt(x);if(x.options.moveInputWithCursor){var ie=qo(x,ne.sel.primary().head,"div"),de=z.wrapper.getBoundingClientRect(),be=z.lineDiv.getBoundingClientRect();te.teTop=Math.max(0,Math.min(z.wrapper.clientHeight-10,ie.top+be.top-de.top)),te.teLeft=Math.max(0,Math.min(z.wrapper.clientWidth-10,ie.left+be.left-de.left))}return te},bo.prototype.showSelection=function(x){var z=this.cm,ne=z.display;qe(ne.cursorDiv,x.cursors),qe(ne.selectionDiv,x.selection),x.teTop!=null&&(this.wrapper.style.top=x.teTop+"px",this.wrapper.style.left=x.teLeft+"px")},bo.prototype.reset=function(x){if(!(this.contextMenuPending||this.composing)){var z=this.cm;if(z.somethingSelected()){this.prevInput="";var ne=z.getSelection();this.textarea.value=ne,z.state.focused&&Ut(this.textarea),Se&&ke>=9&&(this.hasSelection=ne)}else x||(this.prevInput=this.textarea.value="",Se&&ke>=9&&(this.hasSelection=null))}},bo.prototype.getField=function(){return this.textarea},bo.prototype.supportsTouch=function(){return!1},bo.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ft||it()!=this.textarea))try{this.textarea.focus()}catch(x){}},bo.prototype.blur=function(){this.textarea.blur()},bo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},bo.prototype.receivedFocus=function(){this.slowPoll()},bo.prototype.slowPoll=function(){var x=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){x.poll(),x.cm.state.focused&&x.slowPoll()})},bo.prototype.fastPoll=function(){var x=!1,z=this;z.pollingFast=!0;function ne(){var te=z.poll();!te&&!x?(x=!0,z.polling.set(60,ne)):(z.pollingFast=!1,z.slowPoll())}z.polling.set(20,ne)},bo.prototype.poll=function(){var x=this,z=this.cm,ne=this.textarea,te=this.prevInput;if(this.contextMenuPending||!z.state.focused||pn(ne)&&!te&&!this.composing||z.isReadOnly()||z.options.disableInput||z.state.keySeq)return!1;var ie=ne.value;if(ie==te&&!z.somethingSelected())return!1;if(Se&&ke>=9&&this.hasSelection===ie||lt&&/[\uf700-\uf7ff]/.test(ie))return z.display.input.reset(),!1;if(z.doc.sel==z.display.selForContextMenu){var de=ie.charCodeAt(0);if(de==8203&&!te&&(te="\u200B"),de==8666)return this.reset(),this.cm.execCommand("undo")}for(var be=0,De=Math.min(te.length,ie.length);be<De&&te.charCodeAt(be)==ie.charCodeAt(be);)++be;return Sa(z,function(){Gd(z,ie.slice(be),te.length-be,null,x.composing?"*compose":null),ie.length>1e3||ie.indexOf(`
|
|
|
`)>-1?ne.value=x.prevInput="":x.prevInput=ie,x.composing&&(x.composing.range.clear(),x.composing.range=z.markText(x.composing.start,z.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},bo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},bo.prototype.onKeyPress=function(){Se&&ke>=9&&(this.hasSelection=null),this.fastPoll()},bo.prototype.onContextMenu=function(x){var z=this,ne=z.cm,te=ne.display,ie=z.textarea;z.contextMenuPending&&z.contextMenuPending();var de=xs(ne,x),be=te.scroller.scrollTop;if(!de||Ze)return;var De=ne.options.resetSelectionOnContextMenu;De&&ne.doc.sel.contains(de)==-1&&Oa(ne,Oo)(ne.doc,Uo(de),Ve);var Ie=ie.style.cssText,Xe=z.wrapper.style.cssText,Ft=z.wrapper.offsetParent.getBoundingClientRect();z.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
|
top: `+(x.clientY-Ft.top-5)+"px; left: "+(x.clientX-Ft.left-5)+`px;
|
|
|
z-index: 1000; background: `+(Se?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Yt;Oe&&(Yt=window.scrollY),te.input.focus(),Oe&&window.scrollTo(null,Yt),te.input.reset(),ne.somethingSelected()||(ie.value=z.prevInput=" "),z.contextMenuPending=Mn,te.selForContextMenu=ne.doc.sel,clearTimeout(te.detectingSelectAll);function Ln(){if(ie.selectionStart!=null){var Pr=ne.somethingSelected(),ni="\u200B"+(Pr?ie.value:"");ie.value="\u21DA",ie.value=ni,z.prevInput=Pr?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=ni.length,te.selForContextMenu=ne.doc.sel}}function Mn(){if(z.contextMenuPending==Mn&&(z.contextMenuPending=!1,z.wrapper.style.cssText=Xe,ie.style.cssText=Ie,Se&&ke<9&&te.scrollbars.setScrollTop(te.scroller.scrollTop=be),ie.selectionStart!=null)){(!Se||Se&&ke<9)&&Ln();var Pr=0,ni=function(){te.selForContextMenu==ne.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&z.prevInput=="\u200B"?Oa(ne,Wc)(ne):Pr++<10?te.detectingSelectAll=setTimeout(ni,500):(te.selForContextMenu=null,te.input.reset())};te.detectingSelectAll=setTimeout(ni,200)}}if(Se&&ke>=9&&Ln(),Ke){dr(x);var cr=function(){ut(window,"mouseup",cr),setTimeout(Mn,20)};tn(window,"mouseup",cr)}else setTimeout(Mn,50)},bo.prototype.readOnlyChanged=function(x){x||this.reset(),this.textarea.disabled=x=="nocursor",this.textarea.readOnly=!!x},bo.prototype.setUneditable=function(){},bo.prototype.needsContentAttribute=!1;function vc(x,z){if(z=z?jt(z):{},z.value=x.value,!z.tabindex&&x.tabIndex&&(z.tabindex=x.tabIndex),!z.placeholder&&x.placeholder&&(z.placeholder=x.placeholder),z.autofocus==null){var ne=it();z.autofocus=ne==x||x.getAttribute("autofocus")!=null&&ne==document.body}function te(){x.value=De.getValue()}var ie;if(x.form&&(tn(x.form,"submit",te),!z.leaveSubmitMethodAlone)){var de=x.form;ie=de.submit;try{var be=de.submit=function(){te(),de.submit=ie,de.submit(),de.submit=be}}catch(Ie){}}z.finishInit=function(Ie){Ie.save=te,Ie.getTextArea=function(){return x},Ie.toTextArea=function(){Ie.toTextArea=isNaN,te(),x.parentNode.removeChild(Ie.getWrapperElement()),x.style.display="",x.form&&(ut(x.form,"submit",te),!z.leaveSubmitMethodAlone&&typeof x.form.submit=="function"&&(x.form.submit=ie))}},x.style.display="none";var De=ra(function(Ie){return x.parentNode.insertBefore(Ie,x.nextSibling)},z);return De}function Oc(x){x.off=ut,x.on=tn,x.wheelEventPixels=Ls,x.Doc=Wo,x.splitLines=Qr,x.countColumn=Qe,x.findColumn=fn,x.isWordChar=fe,x.Pass=Et,x.signal=We,x.Line=Ur,x.changeEnd=ao,x.scrollbarModel=Wa,x.Pos=qt,x.cmpPos=Sn,x.modes=nr,x.mimeModes=fr,x.resolveMode=ir,x.getMode=Bn,x.modeExtensions=Cr,x.extendMode=wt,x.copyState=Fe,x.startState=Re,x.innerMode=je,x.commands=Bu,x.keyMap=oo,x.keyName=Du,x.isModifierKey=pc,x.lookupKey=Tl,x.normalizeKeyMap=Dc,x.StringStream=Ne,x.SharedTextMarker=wa,x.TextMarker=cu,x.LineWidget=uu,x.e_preventDefault=Un,x.e_stopPropagation=Pn,x.e_stop=dr,x.addClass=Nt,x.contains=Pt,x.rmClass=$e,x.keyNames=Ml}gc(ra),Xd(ra);var Pu="iter insert remove copy getEditor constructor".split(" ");for(var Hl in Wo.prototype)Wo.prototype.hasOwnProperty(Hl)&&nt(Pu,Hl)<0&&(ra.prototype[Hl]=function(x){return function(){return x.apply(this.doc,arguments)}}(Wo.prototype[Hl]));return xn(Wo),ra.inputStyles={textarea:bo,contenteditable:ho},ra.defineMode=function(x){!ra.defaults.mode&&x!="null"&&(ra.defaults.mode=x),sr.apply(this,arguments)},ra.defineMIME=Br,ra.defineMode("null",function(){return{token:function(x){return x.skipToEnd()}}}),ra.defineMIME("text/plain","null"),ra.defineExtension=function(x,z){ra.prototype[x]=z},ra.defineDocExtension=function(x,z){Wo.prototype[x]=z},ra.fromTextArea=vc,Oc(ra),ra.version="5.58.2",ra})},25419:function(Cn,mn,se){(function(ae){ae(se(89780),se(15525),se(98101))})(function(ae){"use strict";ae.defineMode("markdown",function(He,ze){var rt=ae.getMode(He,"text/html"),Se=rt.name=="null";function ke(Qe){if(ae.findModeByName){var Ce=ae.findModeByName(Qe);Ce&&(Qe=Ce.mime||Ce.mimes[0])}var nt=ae.getMode(He,Qe);return nt.name=="null"?null:nt}ze.highlightFormatting===void 0&&(ze.highlightFormatting=!1),ze.maxBlockquoteDepth===void 0&&(ze.maxBlockquoteDepth=0),ze.taskLists===void 0&&(ze.taskLists=!1),ze.strikethrough===void 0&&(ze.strikethrough=!1),ze.emoji===void 0&&(ze.emoji=!1),ze.fencedCodeBlockHighlighting===void 0&&(ze.fencedCodeBlockHighlighting=!0),ze.fencedCodeBlockDefaultMode===void 0&&(ze.fencedCodeBlockDefaultMode="text/plain"),ze.xml===void 0&&(ze.xml=!0),ze.tokenTypeOverrides===void 0&&(ze.tokenTypeOverrides={});var Oe={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 xe in Oe)Oe.hasOwnProperty(xe)&&ze.tokenTypeOverrides[xe]&&(Oe[xe]=ze.tokenTypeOverrides[xe]);var Ee=/^([*\-_])(?:\s*\1){2,}\s*$/,Ze=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,yt=/^\[(x| )\](?=\s)/i,Be=ze.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Te=/^ {0,3}(?:\={1,}|-{2,})\s*$/,dt=/^[^#!\[\]*_\\<>` "'(~:]+/,ot=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ft=/^\s*\[[^\]]+?\]:.*$/,lt=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,ht=" ";function Vt(Qe,Ce,nt){return Ce.f=Ce.inline=nt,nt(Qe,Ce)}function st(Qe,Ce,nt){return Ce.f=Ce.block=nt,nt(Qe,Ce)}function vt(Qe){return!Qe||!/\S/.test(Qe.string)}function Ke(Qe){if(Qe.linkTitle=!1,Qe.linkHref=!1,Qe.linkText=!1,Qe.em=!1,Qe.strong=!1,Qe.strikethrough=!1,Qe.quote=0,Qe.indentedCode=!1,Qe.f==$e){var Ce=Se;if(!Ce){var nt=ae.innerMode(rt,Qe.htmlState);Ce=nt.mode.name=="xml"&&nt.state.tagStart===null&&!nt.state.context&&nt.state.tokenize.isInText}Ce&&(Qe.f=pt,Qe.block=pe,Qe.htmlState=null)}return Qe.trailingSpace=0,Qe.trailingSpaceNewLine=!1,Qe.prevLine=Qe.thisLine,Qe.thisLine={stream:null},null}function pe(Qe,Ce){var nt=Qe.column()===Ce.indentation,$t=vt(Ce.prevLine.stream),Et=Ce.indentedCode,Ve=Ce.prevLine.hr,tt=Ce.list!==!1,At=(Ce.listStack[Ce.listStack.length-1]||0)+3;Ce.indentedCode=!1;var fn=Ce.indentation;if(Ce.indentationDiff===null&&(Ce.indentationDiff=Ce.indentation,tt)){for(Ce.list=null;fn<Ce.listStack[Ce.listStack.length-1];)Ce.listStack.pop(),Ce.listStack.length?Ce.indentation=Ce.listStack[Ce.listStack.length-1]:Ce.list=!1;Ce.list!==!1&&(Ce.indentationDiff=fn-Ce.listStack[Ce.listStack.length-1])}var Kt=!$t&&!Ve&&!Ce.prevLine.header&&(!tt||!Et)&&!Ce.prevLine.fencedCodeEnd,yn=(Ce.list===!1||Ve||$t)&&Ce.indentation<=At&&Qe.match(Ee),kt=null;if(Ce.indentationDiff>=4&&(Et||Ce.prevLine.fencedCodeEnd||Ce.prevLine.header||$t))return Qe.skipToEnd(),Ce.indentedCode=!0,Oe.code;if(Qe.eatSpace())return null;if(nt&&Ce.indentation<=At&&(kt=Qe.match(Be))&&kt[1].length<=6)return Ce.quote=0,Ce.header=kt[1].length,Ce.thisLine.header=!0,ze.highlightFormatting&&(Ce.formatting="header"),Ce.f=Ce.inline,qe(Ce);if(Ce.indentation<=At&&Qe.eat(">"))return Ce.quote=nt?1:Ce.quote+1,ze.highlightFormatting&&(Ce.formatting="quote"),Qe.eatSpace(),qe(Ce);if(!yn&&!Ce.setext&&nt&&Ce.indentation<=At&&(kt=Qe.match(Ze))){var Bt=kt[1]?"ol":"ul";return Ce.indentation=fn+Qe.current().length,Ce.list=!0,Ce.quote=0,Ce.listStack.push(Ce.indentation),Ce.em=!1,Ce.strong=!1,Ce.code=!1,Ce.strikethrough=!1,ze.taskLists&&Qe.match(yt,!1)&&(Ce.taskList=!0),Ce.f=Ce.inline,ze.highlightFormatting&&(Ce.formatting=["list","list-"+Bt]),qe(Ce)}else{if(nt&&Ce.indentation<=At&&(kt=Qe.match(ot,!0)))return Ce.quote=0,Ce.fencedEndRE=new RegExp(kt[1]+"+ *$"),Ce.localMode=ze.fencedCodeBlockHighlighting&&ke(kt[2]||ze.fencedCodeBlockDefaultMode),Ce.localMode&&(Ce.localState=ae.startState(Ce.localMode)),Ce.f=Ce.block=et,ze.highlightFormatting&&(Ce.formatting="code-block"),Ce.code=-1,qe(Ce);if(Ce.setext||(!Kt||!tt)&&!Ce.quote&&Ce.list===!1&&!Ce.code&&!yn&&!ft.test(Qe.string)&&(kt=Qe.lookAhead(1))&&(kt=kt.match(Te)))return Ce.setext?(Ce.header=Ce.setext,Ce.setext=0,Qe.skipToEnd(),ze.highlightFormatting&&(Ce.formatting="header")):(Ce.header=kt[0].charAt(0)=="="?1:2,Ce.setext=Ce.header),Ce.thisLine.header=!0,Ce.f=Ce.inline,qe(Ce);if(yn)return Qe.skipToEnd(),Ce.hr=!0,Ce.thisLine.hr=!0,Oe.hr;if(Qe.peek()==="[")return Vt(Qe,Ce,rn)}return Vt(Qe,Ce,Ce.inline)}function $e(Qe,Ce){var nt=rt.token(Qe,Ce.htmlState);if(!Se){var $t=ae.innerMode(rt,Ce.htmlState);($t.mode.name=="xml"&&$t.state.tagStart===null&&!$t.state.context&&$t.state.tokenize.isInText||Ce.md_inside&&Qe.current().indexOf(">")>-1)&&(Ce.f=pt,Ce.block=pe,Ce.htmlState=null)}return nt}function et(Qe,Ce){var nt=Ce.listStack[Ce.listStack.length-1]||0,$t=Ce.indentation<nt,Et=nt+3;if(Ce.fencedEndRE&&Ce.indentation<=Et&&($t||Qe.match(Ce.fencedEndRE))){ze.highlightFormatting&&(Ce.formatting="code-block");var Ve;return $t||(Ve=qe(Ce)),Ce.localMode=Ce.localState=null,Ce.block=pe,Ce.f=pt,Ce.fencedEndRE=null,Ce.code=0,Ce.thisLine.fencedCodeEnd=!0,$t?st(Qe,Ce,Ce.block):Ve}else return Ce.localMode?Ce.localMode.token(Qe,Ce.localState):(Qe.skipToEnd(),Oe.code)}function qe(Qe){var Ce=[];if(Qe.formatting){Ce.push(Oe.formatting),typeof Qe.formatting=="string"&&(Qe.formatting=[Qe.formatting]);for(var nt=0;nt<Qe.formatting.length;nt++)Ce.push(Oe.formatting+"-"+Qe.formatting[nt]),Qe.formatting[nt]==="header"&&Ce.push(Oe.formatting+"-"+Qe.formatting[nt]+"-"+Qe.header),Qe.formatting[nt]==="quote"&&(!ze.maxBlockquoteDepth||ze.maxBlockquoteDepth>=Qe.quote?Ce.push(Oe.formatting+"-"+Qe.formatting[nt]+"-"+Qe.quote):Ce.push("error"))}if(Qe.taskOpen)return Ce.push("meta"),Ce.length?Ce.join(" "):null;if(Qe.taskClosed)return Ce.push("property"),Ce.length?Ce.join(" "):null;if(Qe.linkHref?Ce.push(Oe.linkHref,"url"):(Qe.strong&&Ce.push(Oe.strong),Qe.em&&Ce.push(Oe.em),Qe.strikethrough&&Ce.push(Oe.strikethrough),Qe.emoji&&Ce.push(Oe.emoji),Qe.linkText&&Ce.push(Oe.linkText),Qe.code&&Ce.push(Oe.code),Qe.image&&Ce.push(Oe.image),Qe.imageAltText&&Ce.push(Oe.imageAltText,"link"),Qe.imageMarker&&Ce.push(Oe.imageMarker)),Qe.header&&Ce.push(Oe.header,Oe.header+"-"+Qe.header),Qe.quote&&(Ce.push(Oe.quote),!ze.maxBlockquoteDepth||ze.maxBlockquoteDepth>=Qe.quote?Ce.push(Oe.quote+"-"+Qe.quote):Ce.push(Oe.quote+"-"+ze.maxBlockquoteDepth)),Qe.list!==!1){var $t=(Qe.listStack.length-1)%3;$t?$t===1?Ce.push(Oe.list2):Ce.push(Oe.list3):Ce.push(Oe.list1)}return Qe.trailingSpaceNewLine?Ce.push("trailing-space-new-line"):Qe.trailingSpace&&Ce.push("trailing-space-"+(Qe.trailingSpace%2?"a":"b")),Ce.length?Ce.join(" "):null}function Ye(Qe,Ce){if(Qe.match(dt,!0))return qe(Ce)}function pt(Qe,Ce){var nt=Ce.text(Qe,Ce);if(typeof nt!="undefined")return nt;if(Ce.list)return Ce.list=null,qe(Ce);if(Ce.taskList){var $t=Qe.match(yt,!0)[1]===" ";return $t?Ce.taskOpen=!0:Ce.taskClosed=!0,ze.highlightFormatting&&(Ce.formatting="task"),Ce.taskList=!1,qe(Ce)}if(Ce.taskOpen=!1,Ce.taskClosed=!1,Ce.header&&Qe.match(/^#+$/,!0))return ze.highlightFormatting&&(Ce.formatting="header"),qe(Ce);var Et=Qe.next();if(Ce.linkTitle){Ce.linkTitle=!1;var Ve=Et;Et==="("&&(Ve=")"),Ve=(Ve+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var tt="^\\s*(?:[^"+Ve+"\\\\]+|\\\\\\\\|\\\\.)"+Ve;if(Qe.match(new RegExp(tt),!0))return Oe.linkHref}if(Et==="`"){var At=Ce.formatting;ze.highlightFormatting&&(Ce.formatting="code"),Qe.eatWhile("`");var fn=Qe.current().length;if(Ce.code==0&&(!Ce.quote||fn==1))return Ce.code=fn,qe(Ce);if(fn==Ce.code){var Kt=qe(Ce);return Ce.code=0,Kt}else return Ce.formatting=At,qe(Ce)}else if(Ce.code)return qe(Ce);if(Et==="\\"&&(Qe.next(),ze.highlightFormatting)){var yn=qe(Ce),kt=Oe.formatting+"-escape";return yn?yn+" "+kt:kt}if(Et==="!"&&Qe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ce.imageMarker=!0,Ce.image=!0,ze.highlightFormatting&&(Ce.formatting="image"),qe(Ce);if(Et==="["&&Ce.imageMarker&&Qe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ce.imageMarker=!1,Ce.imageAltText=!0,ze.highlightFormatting&&(Ce.formatting="image"),qe(Ce);if(Et==="]"&&Ce.imageAltText){ze.highlightFormatting&&(Ce.formatting="image");var yn=qe(Ce);return Ce.imageAltText=!1,Ce.image=!1,Ce.inline=Ce.f=Pt,yn}if(Et==="["&&!Ce.image)return Ce.linkText&&Qe.match(/^.*?\]/)||(Ce.linkText=!0,ze.highlightFormatting&&(Ce.formatting="link")),qe(Ce);if(Et==="]"&&Ce.linkText){ze.highlightFormatting&&(Ce.formatting="link");var yn=qe(Ce);return Ce.linkText=!1,Ce.inline=Ce.f=Qe.match(/\(.*?\)| ?\[.*?\]/,!1)?Pt:pt,yn}if(Et==="<"&&Qe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ce.f=Ce.inline=at,ze.highlightFormatting&&(Ce.formatting="link");var yn=qe(Ce);return yn?yn+=" ":yn="",yn+Oe.linkInline}if(Et==="<"&&Qe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ce.f=Ce.inline=at,ze.highlightFormatting&&(Ce.formatting="link");var yn=qe(Ce);return yn?yn+=" ":yn="",yn+Oe.linkEmail}if(ze.xml&&Et==="<"&&Qe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Bt=Qe.string.indexOf(">",Qe.pos);if(Bt!=-1){var xt=Qe.string.substring(Qe.start,Bt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(xt)&&(Ce.md_inside=!0)}return Qe.backUp(1),Ce.htmlState=ae.startState(rt),st(Qe,Ce,$e)}if(ze.xml&&Et==="<"&&Qe.match(/^\/\w*?>/))return Ce.md_inside=!1,"tag";if(Et==="*"||Et==="_"){for(var ve=1,ce=Qe.pos==1?" ":Qe.string.charAt(Qe.pos-2);ve<3&&Qe.eat(Et);)ve++;var le=Qe.peek()||" ",fe=!/\s/.test(le)&&(!lt.test(le)||/\s/.test(ce)||lt.test(ce)),he=!/\s/.test(ce)&&(!lt.test(ce)||/\s/.test(le)||lt.test(le)),ue=null,Pe=null;if(ve%2&&(!Ce.em&&fe&&(Et==="*"||!he||lt.test(ce))?ue=!0:Ce.em==Et&&he&&(Et==="*"||!fe||lt.test(le))&&(ue=!1)),ve>1&&(!Ce.strong&&fe&&(Et==="*"||!he||lt.test(ce))?Pe=!0:Ce.strong==Et&&he&&(Et==="*"||!fe||lt.test(le))&&(Pe=!1)),Pe!=null||ue!=null){ze.highlightFormatting&&(Ce.formatting=ue==null?"strong":Pe==null?"em":"strong em"),ue===!0&&(Ce.em=Et),Pe===!0&&(Ce.strong=Et);var Kt=qe(Ce);return ue===!1&&(Ce.em=!1),Pe===!1&&(Ce.strong=!1),Kt}}else if(Et===" "&&(Qe.eat("*")||Qe.eat("_"))){if(Qe.peek()===" ")return qe(Ce);Qe.backUp(1)}if(ze.strikethrough){if(Et==="~"&&Qe.eatWhile(Et)){if(Ce.strikethrough){ze.highlightFormatting&&(Ce.formatting="strikethrough");var Kt=qe(Ce);return Ce.strikethrough=!1,Kt}else if(Qe.match(/^[^\s]/,!1))return Ce.strikethrough=!0,ze.highlightFormatting&&(Ce.formatting="strikethrough"),qe(Ce)}else if(Et===" "&&Qe.match(/^~~/,!0)){if(Qe.peek()===" ")return qe(Ce);Qe.backUp(2)}}if(ze.emoji&&Et===":"&&Qe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ce.emoji=!0,ze.highlightFormatting&&(Ce.formatting="emoji");var _e=qe(Ce);return Ce.emoji=!1,_e}return Et===" "&&(Qe.match(/^ +$/,!1)?Ce.trailingSpace++:Ce.trailingSpace&&(Ce.trailingSpaceNewLine=!0)),qe(Ce)}function at(Qe,Ce){var nt=Qe.next();if(nt===">"){Ce.f=Ce.inline=pt,ze.highlightFormatting&&(Ce.formatting="link");var $t=qe(Ce);return $t?$t+=" ":$t="",$t+Oe.linkInline}return Qe.match(/^[^>]+/,!0),Oe.linkInline}function Pt(Qe,Ce){if(Qe.eatSpace())return null;var nt=Qe.next();return nt==="("||nt==="["?(Ce.f=Ce.inline=Nt(nt==="("?")":"]"),ze.highlightFormatting&&(Ce.formatting="link-string"),Ce.linkHref=!0,qe(Ce)):"error"}var it={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Nt(Qe){return function(Ce,nt){var $t=Ce.next();if($t===Qe){nt.f=nt.inline=pt,ze.highlightFormatting&&(nt.formatting="link-string");var Et=qe(nt);return nt.linkHref=!1,Et}return Ce.match(it[Qe]),nt.linkHref=!0,qe(nt)}}function rn(Qe,Ce){return Qe.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ce.f=Ut,Qe.next(),ze.highlightFormatting&&(Ce.formatting="link"),Ce.linkText=!0,qe(Ce)):Vt(Qe,Ce,pt)}function Ut(Qe,Ce){if(Qe.match(/^\]:/,!0)){Ce.f=Ce.inline=un,ze.highlightFormatting&&(Ce.formatting="link");var nt=qe(Ce);return Ce.linkText=!1,nt}return Qe.match(/^([^\]\\]|\\.)+/,!0),Oe.linkText}function un(Qe,Ce){return Qe.eatSpace()?null:(Qe.match(/^[^\s]+/,!0),Qe.peek()===void 0?Ce.linkTitle=!0:Qe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ce.f=Ce.inline=pt,Oe.linkHref+" url")}var jt={startState:function(){return{f:pe,prevLine:{stream:null},thisLine:{stream:null},block:pe,htmlState:null,indentation:0,inline:pt,text:Ye,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(Qe){return{f:Qe.f,prevLine:Qe.prevLine,thisLine:Qe.thisLine,block:Qe.block,htmlState:Qe.htmlState&&ae.copyState(rt,Qe.htmlState),indentation:Qe.indentation,localMode:Qe.localMode,localState:Qe.localMode?ae.copyState(Qe.localMode,Qe.localState):null,inline:Qe.inline,text:Qe.text,formatting:!1,linkText:Qe.linkText,linkTitle:Qe.linkTitle,linkHref:Qe.linkHref,code:Qe.code,em:Qe.em,strong:Qe.strong,strikethrough:Qe.strikethrough,emoji:Qe.emoji,header:Qe.header,setext:Qe.setext,hr:Qe.hr,taskList:Qe.taskList,list:Qe.list,listStack:Qe.listStack.slice(0),quote:Qe.quote,indentedCode:Qe.indentedCode,trailingSpace:Qe.trailingSpace,trailingSpaceNewLine:Qe.trailingSpaceNewLine,md_inside:Qe.md_inside,fencedEndRE:Qe.fencedEndRE}},token:function(Qe,Ce){if(Ce.formatting=!1,Qe!=Ce.thisLine.stream){if(Ce.header=0,Ce.hr=!1,Qe.match(/^\s*$/,!0))return Ke(Ce),null;if(Ce.prevLine=Ce.thisLine,Ce.thisLine={stream:Qe},Ce.taskList=!1,Ce.trailingSpace=0,Ce.trailingSpaceNewLine=!1,!Ce.localState&&(Ce.f=Ce.block,Ce.f!=$e)){var nt=Qe.match(/^\s*/,!0)[0].replace(/\t/g,ht).length;if(Ce.indentation=nt,Ce.indentationDiff=null,nt>0)return null}}return Ce.f(Qe,Ce)},innerMode:function(Qe){return Qe.block==$e?{state:Qe.htmlState,mode:rt}:Qe.localState?{state:Qe.localState,mode:Qe.localMode}:{state:Qe,mode:jt}},indent:function(Qe,Ce,nt){return Qe.block==$e&&rt.indent?rt.indent(Qe.htmlState,Ce,nt):Qe.localState&&Qe.localMode.indent?Qe.localMode.indent(Qe.localState,Ce,nt):ae.Pass},blankLine:Ke,getType:qe,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return jt},"xml"),ae.defineMIME("text/markdown","markdown"),ae.defineMIME("text/x-markdown","markdown")})},98101:function(Cn,mn,se){(function(ae){ae(se(89780))})(function(ae){"use strict";ae.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 He=0;He<ae.modeInfo.length;He++){var ze=ae.modeInfo[He];ze.mimes&&(ze.mime=ze.mimes[0])}ae.findModeByMIME=function(rt){rt=rt.toLowerCase();for(var Se=0;Se<ae.modeInfo.length;Se++){var ke=ae.modeInfo[Se];if(ke.mime==rt)return ke;if(ke.mimes){for(var Oe=0;Oe<ke.mimes.length;Oe++)if(ke.mimes[Oe]==rt)return ke}}if(/\+xml$/.test(rt))return ae.findModeByMIME("application/xml");if(/\+json$/.test(rt))return ae.findModeByMIME("application/json")},ae.findModeByExtension=function(rt){rt=rt.toLowerCase();for(var Se=0;Se<ae.modeInfo.length;Se++){var ke=ae.modeInfo[Se];if(ke.ext){for(var Oe=0;Oe<ke.ext.length;Oe++)if(ke.ext[Oe]==rt)return ke}}},ae.findModeByFileName=function(rt){for(var Se=0;Se<ae.modeInfo.length;Se++){var ke=ae.modeInfo[Se];if(ke.file&&ke.file.test(rt))return ke}var Oe=rt.lastIndexOf("."),xe=Oe>-1&&rt.substring(Oe+1,rt.length);if(xe)return ae.findModeByExtension(xe)},ae.findModeByName=function(rt){rt=rt.toLowerCase();for(var Se=0;Se<ae.modeInfo.length;Se++){var ke=ae.modeInfo[Se];if(ke.name.toLowerCase()==rt)return ke;if(ke.alias){for(var Oe=0;Oe<ke.alias.length;Oe++)if(ke.alias[Oe].toLowerCase()==rt)return ke}}}})},67549:function(Cn,mn,se){(function(ae){ae(se(89780))})(function(ae){"use strict";ae.defineMode("stex",function(He,ze){"use strict";function rt(dt,ot){dt.cmdState.push(ot)}function Se(dt){return dt.cmdState.length>0?dt.cmdState[dt.cmdState.length-1]:null}function ke(dt){var ot=dt.cmdState.pop();ot&&ot.closeBracket()}function Oe(dt){for(var ot=dt.cmdState,ft=ot.length-1;ft>=0;ft--){var lt=ot[ft];if(lt.name!="DEFAULT")return lt}return{styleIdentifier:function(){return null}}}function xe(dt,ot,ft){return function(){this.name=dt,this.bracketNo=0,this.style=ot,this.styles=ft,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ee={};Ee.importmodule=xe("importmodule","tag",["string","builtin"]),Ee.documentclass=xe("documentclass","tag",["","atom"]),Ee.usepackage=xe("usepackage","tag",["atom"]),Ee.begin=xe("begin","tag",["atom"]),Ee.end=xe("end","tag",["atom"]),Ee.label=xe("label","tag",["atom"]),Ee.ref=xe("ref","tag",["atom"]),Ee.eqref=xe("eqref","tag",["atom"]),Ee.cite=xe("cite","tag",["atom"]),Ee.bibitem=xe("bibitem","tag",["atom"]),Ee.Bibitem=xe("Bibitem","tag",["atom"]),Ee.RBibitem=xe("RBibitem","tag",["atom"]),Ee.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Ze(dt,ot){dt.f=ot}function yt(dt,ot){var ft;if(dt.match(/^\\[a-zA-Z@]+/)){var lt=dt.current().slice(1);return ft=Ee.hasOwnProperty(lt)?Ee[lt]:Ee.DEFAULT,ft=new ft,rt(ot,ft),Ze(ot,Te),ft.style}if(dt.match(/^\\[$&%#{}_]/)||dt.match(/^\\[,;!\/\\]/))return"tag";if(dt.match("\\["))return Ze(ot,function(Vt,st){return Be(Vt,st,"\\]")}),"keyword";if(dt.match("\\("))return Ze(ot,function(Vt,st){return Be(Vt,st,"\\)")}),"keyword";if(dt.match("$$"))return Ze(ot,function(Vt,st){return Be(Vt,st,"$$")}),"keyword";if(dt.match("$"))return Ze(ot,function(Vt,st){return Be(Vt,st,"$")}),"keyword";var ht=dt.next();if(ht=="%")return dt.skipToEnd(),"comment";if(ht=="}"||ht=="]"){if(ft=Se(ot),ft)ft.closeBracket(ht),Ze(ot,Te);else return"error";return"bracket"}else return ht=="{"||ht=="["?(ft=Ee.DEFAULT,ft=new ft,rt(ot,ft),"bracket"):/\d/.test(ht)?(dt.eatWhile(/[\w.%]/),"atom"):(dt.eatWhile(/[\w\-_]/),ft=Oe(ot),ft.name=="begin"&&(ft.argument=dt.current()),ft.styleIdentifier())}function Be(dt,ot,ft){if(dt.eatSpace())return null;if(ft&&dt.match(ft))return Ze(ot,yt),"keyword";if(dt.match(/^\\[a-zA-Z@]+/))return"tag";if(dt.match(/^[a-zA-Z]+/))return"variable-2";if(dt.match(/^\\[$&%#{}_]/)||dt.match(/^\\[,;!\/]/)||dt.match(/^[\^_&]/))return"tag";if(dt.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(dt.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var lt=dt.next();return lt=="{"||lt=="}"||lt=="["||lt=="]"||lt=="("||lt==")"?"bracket":lt=="%"?(dt.skipToEnd(),"comment"):"error"}function Te(dt,ot){var ft=dt.peek(),lt;return ft=="{"||ft=="["?(lt=Se(ot),lt.openBracket(ft),dt.eat(ft),Ze(ot,yt),"bracket"):/[ \t\r]/.test(ft)?(dt.eat(ft),null):(Ze(ot,yt),ke(ot),yt(dt,ot))}return{startState:function(){var dt=ze.inMathMode?function(ot,ft){return Be(ot,ft)}:yt;return{cmdState:[],f:dt}},copyState:function(dt){return{cmdState:dt.cmdState.slice(),f:dt.f}},token:function(dt,ot){return ot.f(dt,ot)},blankLine:function(dt){dt.f=yt,dt.cmdState.length=0},lineComment:"%"}}),ae.defineMIME("text/x-stex","stex"),ae.defineMIME("text/x-latex","stex")})},15525:function(Cn,mn,se){(function(ae){ae(se(89780))})(function(ae){"use strict";var He={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},ze={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ae.defineMode("xml",function(rt,Se){var ke=rt.indentUnit,Oe={},xe=Se.htmlMode?He:ze;for(var Ee in xe)Oe[Ee]=xe[Ee];for(var Ee in Se)Oe[Ee]=Se[Ee];var Ze,yt;function Be(at,Pt){function it(Ut){return Pt.tokenize=Ut,Ut(at,Pt)}var Nt=at.next();if(Nt=="<")return at.eat("!")?at.eat("[")?at.match("CDATA[")?it(ot("atom","]]>")):null:at.match("--")?it(ot("comment","-->")):at.match("DOCTYPE",!0,!0)?(at.eatWhile(/[\w\._\-]/),it(ft(1))):null:at.eat("?")?(at.eatWhile(/[\w\._\-]/),Pt.tokenize=ot("meta","?>"),"meta"):(Ze=at.eat("/")?"closeTag":"openTag",Pt.tokenize=Te,"tag bracket");if(Nt=="&"){var rn;return at.eat("#")?at.eat("x")?rn=at.eatWhile(/[a-fA-F\d]/)&&at.eat(";"):rn=at.eatWhile(/[\d]/)&&at.eat(";"):rn=at.eatWhile(/[\w\.\-:]/)&&at.eat(";"),rn?"atom":"error"}else return at.eatWhile(/[^&<]/),null}Be.isInText=!0;function Te(at,Pt){var it=at.next();if(it==">"||it=="/"&&at.eat(">"))return Pt.tokenize=Be,Ze=it==">"?"endTag":"selfcloseTag","tag bracket";if(it=="=")return Ze="equals",null;if(it=="<"){Pt.tokenize=Be,Pt.state=st,Pt.tagName=Pt.tagStart=null;var Nt=Pt.tokenize(at,Pt);return Nt?Nt+" tag error":"tag error"}else return/[\'\"]/.test(it)?(Pt.tokenize=dt(it),Pt.stringStartCol=at.column(),Pt.tokenize(at,Pt)):(at.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function dt(at){var Pt=function(it,Nt){for(;!it.eol();)if(it.next()==at){Nt.tokenize=Te;break}return"string"};return Pt.isInAttribute=!0,Pt}function ot(at,Pt){return function(it,Nt){for(;!it.eol();){if(it.match(Pt)){Nt.tokenize=Be;break}it.next()}return at}}function ft(at){return function(Pt,it){for(var Nt;(Nt=Pt.next())!=null;){if(Nt=="<")return it.tokenize=ft(at+1),it.tokenize(Pt,it);if(Nt==">")if(at==1){it.tokenize=Be;break}else return it.tokenize=ft(at-1),it.tokenize(Pt,it)}return"meta"}}function lt(at,Pt,it){this.prev=at.context,this.tagName=Pt,this.indent=at.indented,this.startOfLine=it,(Oe.doNotIndent.hasOwnProperty(Pt)||at.context&&at.context.noIndent)&&(this.noIndent=!0)}function ht(at){at.context&&(at.context=at.context.prev)}function Vt(at,Pt){for(var it;;){if(!at.context||(it=at.context.tagName,!Oe.contextGrabbers.hasOwnProperty(it)||!Oe.contextGrabbers[it].hasOwnProperty(Pt)))return;ht(at)}}function st(at,Pt,it){return at=="openTag"?(it.tagStart=Pt.column(),vt):at=="closeTag"?Ke:st}function vt(at,Pt,it){return at=="word"?(it.tagName=Pt.current(),yt="tag",et):Oe.allowMissingTagName&&at=="endTag"?(yt="tag bracket",et(at,Pt,it)):(yt="error",vt)}function Ke(at,Pt,it){if(at=="word"){var Nt=Pt.current();return it.context&&it.context.tagName!=Nt&&Oe.implicitlyClosed.hasOwnProperty(it.context.tagName)&&ht(it),it.context&&it.context.tagName==Nt||Oe.matchClosing===!1?(yt="tag",pe):(yt="tag error",$e)}else return Oe.allowMissingTagName&&at=="endTag"?(yt="tag bracket",pe(at,Pt,it)):(yt="error",$e)}function pe(at,Pt,it){return at!="endTag"?(yt="error",pe):(ht(it),st)}function $e(at,Pt,it){return yt="error",pe(at,Pt,it)}function et(at,Pt,it){if(at=="word")return yt="attribute",qe;if(at=="endTag"||at=="selfcloseTag"){var Nt=it.tagName,rn=it.tagStart;return it.tagName=it.tagStart=null,at=="selfcloseTag"||Oe.autoSelfClosers.hasOwnProperty(Nt)?Vt(it,Nt):(Vt(it,Nt),it.context=new lt(it,Nt,rn==it.indented)),st}return yt="error",et}function qe(at,Pt,it){return at=="equals"?Ye:(Oe.allowMissing||(yt="error"),et(at,Pt,it))}function Ye(at,Pt,it){return at=="string"?pt:at=="word"&&Oe.allowUnquoted?(yt="string",et):(yt="error",et(at,Pt,it))}function pt(at,Pt,it){return at=="string"?pt:et(at,Pt,it)}return{startState:function(at){var Pt={tokenize:Be,state:st,indented:at||0,tagName:null,tagStart:null,context:null};return at!=null&&(Pt.baseIndent=at),Pt},token:function(at,Pt){if(!Pt.tagName&&at.sol()&&(Pt.indented=at.indentation()),at.eatSpace())return null;Ze=null;var it=Pt.tokenize(at,Pt);return(it||Ze)&&it!="comment"&&(yt=null,Pt.state=Pt.state(Ze||it,at,Pt),yt&&(it=yt=="error"?it+" error":yt)),it},indent:function(at,Pt,it){var Nt=at.context;if(at.tokenize.isInAttribute)return at.tagStart==at.indented?at.stringStartCol+1:at.indented+ke;if(Nt&&Nt.noIndent)return ae.Pass;if(at.tokenize!=Te&&at.tokenize!=Be)return it?it.match(/^(\s*)/)[0].length:0;if(at.tagName)return Oe.multilineTagIndentPastTag!==!1?at.tagStart+at.tagName.length+2:at.tagStart+ke*(Oe.multilineTagIndentFactor||1);if(Oe.alignCDATA&&/<!\[CDATA\[/.test(Pt))return 0;var rn=Pt&&/^<(\/)?([\w_:\.-]*)/.exec(Pt);if(rn&&rn[1])for(;Nt;)if(Nt.tagName==rn[2]){Nt=Nt.prev;break}else if(Oe.implicitlyClosed.hasOwnProperty(Nt.tagName))Nt=Nt.prev;else break;else if(rn)for(;Nt;){var Ut=Oe.contextGrabbers[Nt.tagName];if(Ut&&Ut.hasOwnProperty(rn[2]))Nt=Nt.prev;else break}for(;Nt&&Nt.prev&&!Nt.startOfLine;)Nt=Nt.prev;return Nt?Nt.indent+ke:at.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Oe.htmlMode?"html":"xml",helperType:Oe.htmlMode?"html":"xml",skipAttribute:function(at){at.state==Ye&&(at.state=et)},xmlCurrentTag:function(at){return at.tagName?{name:at.tagName,close:at.type=="closeTag"}:null},xmlCurrentContext:function(at){for(var Pt=[],it=at.context;it;it=it.prev)it.tagName&&Pt.push(it.tagName);return Pt.reverse()}}}),ae.defineMIME("text/xml","xml"),ae.defineMIME("application/xml","xml"),ae.mimeModes.hasOwnProperty("text/html")||ae.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(Cn,mn,se){"use strict";se.d(mn,{hP:function(){return xt}});var ae=function(ve,ce){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,fe){le.__proto__=fe}||function(le,fe){for(var he in fe)Object.prototype.hasOwnProperty.call(fe,he)&&(le[he]=fe[he])})(ve,ce)};function He(ve,ce){function le(){this.constructor=ve}ae(ve,ce),ve.prototype=ce===null?Object.create(ce):(le.prototype=ce.prototype,new le)}function ze(ve,ce,le,fe){return new(le||(le=Promise))(function(he,ue){function Pe(Lt){try{Dt(fe.next(Lt))}catch(Ht){ue(Ht)}}function _e(Lt){try{Dt(fe.throw(Lt))}catch(Ht){ue(Ht)}}function Dt(Lt){var Ht;Lt.done?he(Lt.value):(Ht=Lt.value,Ht instanceof le?Ht:new le(function(Qt){Qt(Ht)})).then(Pe,_e)}Dt((fe=fe.apply(ve,ce||[])).next())})}function rt(ve,ce){var le,fe,he,ue,Pe={label:0,sent:function(){if(1&he[0])throw he[1];return he[1]},trys:[],ops:[]};return ue={next:_e(0),throw:_e(1),return:_e(2)},typeof Symbol=="function"&&(ue[Symbol.iterator]=function(){return this}),ue;function _e(Dt){return function(Lt){return function(Ht){if(le)throw new TypeError("Generator is already executing.");for(;Pe;)try{if(le=1,fe&&(he=2&Ht[0]?fe.return:Ht[0]?fe.throw||((he=fe.return)&&he.call(fe),0):fe.next)&&!(he=he.call(fe,Ht[1])).done)return he;switch(fe=0,he&&(Ht=[2&Ht[0],he.value]),Ht[0]){case 0:case 1:he=Ht;break;case 4:return Pe.label++,{value:Ht[1],done:!1};case 5:Pe.label++,fe=Ht[1],Ht=[0];continue;case 7:Ht=Pe.ops.pop(),Pe.trys.pop();continue;default:if(he=Pe.trys,!((he=he.length>0&&he[he.length-1])||Ht[0]!==6&&Ht[0]!==2)){Pe=0;continue}if(Ht[0]===3&&(!he||Ht[1]>he[0]&&Ht[1]<he[3])){Pe.label=Ht[1];break}if(Ht[0]===6&&Pe.label<he[1]){Pe.label=he[1],he=Ht;break}if(he&&Pe.label<he[2]){Pe.label=he[2],Pe.ops.push(Ht);break}he[2]&&Pe.ops.pop(),Pe.trys.pop();continue}Ht=ce.call(ve,Pe)}catch(Qt){Ht=[6,Qt],fe=0}finally{le=he=0}if(5&Ht[0])throw Ht[1];return{value:Ht[0]?Ht[1]:void 0,done:!0}}([Dt,Lt])}}}function Se(){for(var ve=0,ce=0,le=arguments.length;ce<le;ce++)ve+=arguments[ce].length;var fe=Array(ve),he=0;for(ce=0;ce<le;ce++)for(var ue=arguments[ce],Pe=0,_e=ue.length;Pe<_e;Pe++,he++)fe[he]=ue[Pe];return fe}var ke=function(){function ve(){}return ve.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ve.setAttributes=function(ce,le){for(var fe=0,he=le;fe<he.length;fe++){var ue=he[fe],Pe=ue[0],_e=ue[1];ce.setAttribute(Pe,_e)}},ve.createRect=function(ce,le,fe){var he=document.createElementNS("http://www.w3.org/2000/svg","rect");return he.setAttribute("width",ce.toString()),he.setAttribute("height",le.toString()),fe&&ve.setAttributes(he,fe),he},ve.createLine=function(ce,le,fe,he,ue){var Pe=document.createElementNS("http://www.w3.org/2000/svg","line");return Pe.setAttribute("x1",ce.toString()),Pe.setAttribute("y1",le.toString()),Pe.setAttribute("x2",fe.toString()),Pe.setAttribute("y2",he.toString()),ue&&ve.setAttributes(Pe,ue),Pe},ve.createPolygon=function(ce,le){var fe=document.createElementNS("http://www.w3.org/2000/svg","polygon");return fe.setAttribute("points",ce),le&&ve.setAttributes(fe,le),fe},ve.createCircle=function(ce,le){var fe=document.createElementNS("http://www.w3.org/2000/svg","circle");return fe.setAttribute("cx",(ce/2).toString()),fe.setAttribute("cy",(ce/2).toString()),fe.setAttribute("r",ce.toString()),le&&ve.setAttributes(fe,le),fe},ve.createEllipse=function(ce,le,fe){var he=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return he.setAttribute("cx",(ce/2).toString()),he.setAttribute("cy",(le/2).toString()),he.setAttribute("rx",(ce/2).toString()),he.setAttribute("ry",(le/2).toString()),fe&&ve.setAttributes(he,fe),he},ve.createGroup=function(ce){var le=document.createElementNS("http://www.w3.org/2000/svg","g");return ce&&ve.setAttributes(le,ce),le},ve.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ve.createMarker=function(ce,le,fe,he,ue,Pe,_e){var Dt=document.createElementNS("http://www.w3.org/2000/svg","marker");return ve.setAttributes(Dt,[["id",ce],["orient",le],["markerWidth",fe.toString()],["markerHeight",he.toString()],["refX",ue.toString()],["refY",Pe.toString()]]),Dt.appendChild(_e),Dt},ve.createText=function(ce){var le=document.createElementNS("http://www.w3.org/2000/svg","text");return le.setAttribute("x","0"),le.setAttribute("y","0"),ce&&ve.setAttributes(le,ce),le},ve.createTSpan=function(ce,le){var fe=document.createElementNS("http://www.w3.org/2000/svg","tspan");return fe.textContent=ce,le&&ve.setAttributes(fe,le),fe},ve.createImage=function(ce){var le=document.createElementNS("http://www.w3.org/2000/svg","image");return ce&&ve.setAttributes(le,ce),le},ve.createPoint=function(ce,le){var fe=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return fe.x=ce,fe.y=le,fe},ve.createPath=function(ce,le){var fe=document.createElementNS("http://www.w3.org/2000/svg","path");return fe.setAttribute("d",ce),le&&ve.setAttributes(fe,le),fe},ve}(),Oe=function(){function ve(){}return ve.addKey=function(ce){ve.key=ce},Object.defineProperty(ve,"isLicensed",{get:function(){return!!ve.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(ve.key)},enumerable:!1,configurable:!0}),ve}(),xe=function(){function ve(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ve.prototype.rasterize=function(ce,le,fe){var he=this;return new Promise(function(ue){var Pe=fe!==void 0?fe:document.createElement("canvas");ce===null&&(he.markersOnly=!0,he.naturalSize=!1);var _e=document.createElementNS("http://www.w3.org/2000/svg","svg");_e.setAttribute("xmlns","http://www.w3.org/2000/svg"),_e.setAttribute("width",le.width.baseVal.valueAsString),_e.setAttribute("height",le.height.baseVal.valueAsString),_e.setAttribute("viewBox","0 0 "+le.viewBox.baseVal.width.toString()+" "+le.viewBox.baseVal.height.toString()),_e.innerHTML=le.innerHTML,he.naturalSize===!0?(_e.width.baseVal.value=ce.naturalWidth,_e.height.baseVal.value=ce.naturalHeight):he.width!==void 0&&he.height!==void 0&&(_e.width.baseVal.value=he.width,_e.height.baseVal.value=he.height),Pe.width=_e.width.baseVal.value,Pe.height=_e.height.baseVal.value;var Dt=_e.outerHTML,Lt=Pe.getContext("2d");he.markersOnly!==!0&&Lt.drawImage(ce,0,0,Pe.width,Pe.height);var Ht=window.URL,Qt=new Image(Pe.width,Pe.height);Qt.setAttribute("crossOrigin","anonymous");var zt=new Blob([Dt],{type:"image/svg+xml"}),bn=Ht.createObjectURL(zt);Qt.onload=function(){Lt.drawImage(Qt,0,0),Ht.revokeObjectURL(bn);var In=Pe.toDataURL(he.imageType,he.imageQuality);ue(In)},Qt.src=bn})},ve}(),Ee=function(){},Ze=function(){function ve(ce){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ce+"_"}return Object.defineProperty(ve.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),ve.prototype.addClass=function(ce){return this.styleSheet===void 0&&this.addStyleSheet(),ce.name=""+this.classNamePrefix+ce.localName,this.classes.push(ce),this.styleSheet.sheet.insertRule("."+ce.name+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length),ce},ve.prototype.addRule=function(ce){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ce),this.styleSheet.sheet.insertRule(ce.selector+" {"+ce.style+"}",this.styleSheet.sheet.cssRules.length)},ve.prototype.addStyleSheet=function(){var ce;this.styleSheet=document.createElement("style"),((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).appendChild(this.styleSheet),this.addRule(new yt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new yt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
`)),this.addRule(new yt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
|
from {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
`)),this.addClass(new Be("fade_in",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
|
`)),this.addClass(new Be("fade_out",`
|
|
|
animation-duration: 0.3s;
|
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
|
`))},ve.prototype.removeStyleSheet=function(){var ce;this.styleSheet&&(((ce=this.styleSheetRoot)!==null&&ce!==void 0?ce:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ve}(),yt=function(ve,ce){this.selector=ve,this.style=ce},Be=function(ve,ce){this.localName=ve,this.style=ce},Te=function(){function ve(ce,le,fe,he,ue){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ce,this.displayMode=le,this.markerItems=fe,this.uiStyleSettings=he,this.styles=ue,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return ve.prototype.show=function(ce){var le=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var fe=document.createElement("div");fe.className=this.toolbarBlockStyleClass.name,fe.style.whiteSpace="nowrap",this.uiContainer.appendChild(fe),this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(fe,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ue){var Pe=document.createElement("div");Pe.className=""+le.toolbarButtonStyleClass.name,Pe.setAttribute("data-type-name",ue.typeName),Pe.innerHTML=ue.icon,Pe.addEventListener("click",function(){le.markerToolbarButtonClicked(Pe,ue)}),le.buttons.push(Pe),le.markerButtons.push(Pe)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var he=document.createElement("div");he.className=this.toolbarBlockStyleClass.name,he.style.whiteSpace="nowrap",he.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(he),this.addActionButton(he,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(he,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},ve.prototype.addButtonClickListener=function(ce){this.buttonClickListeners.push(ce)},ve.prototype.removeButtonClickListener=function(ce){this.buttonClickListeners.indexOf(ce)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ce),1)},ve.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ve.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ce=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var le=0;le<this.markerButtons.length;le++)le<ce||le===ce&&this.markerButtons.length-1===ce?this.markerButtonBlock.appendChild(this.markerButtons[le]):(le===ce&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[le]))}},ve.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},ve.prototype.resetButtonStyles=function(){var ce=this;this.buttons.forEach(function(le){le.className=le.className.replace(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name,"").trim(),le.className=le.className.replace(ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ce.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ce.toolbarActiveButtonStyleColorsClass.name,"").trim(),le.className+=" "+(ce.uiStyleSettings.toolbarButtonStyleColorsClassName?ce.uiStyleSettings.toolbarButtonStyleColorsClassName:ce.toolbarButtonStyleColorsClass.name)})},ve.prototype.addActionButton=function(ce,le,fe){var he=this,ue=document.createElement("div");switch(ue.className=""+this.toolbarButtonStyleClass.name,ue.innerHTML=le,ue.setAttribute("data-action",fe),ue.addEventListener("click",function(){he.actionToolbarButtonClicked(ue,fe)}),fe){case"select":ue.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":ue.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":ue.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":ue.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":ue.style.fill=this.uiStyleSettings.closeButtonColor}ce.appendChild(ue),this.buttons.push(ue)},ve.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Be("toolbar",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new Be("toolbar_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Be("toolbar-block",`
|
|
|
display: inline-block;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Be("toolbar-overflow-block",`
|
|
|
position: absolute;
|
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
z-index: 10;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new Be("toolbar-overflow-block_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`));var ce=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Be("toolbar_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px;
|
|
|
padding: `+ce+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Be("toolbar_button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Be("toolbar_active_button",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new yt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`)),this.styles.addRule(new yt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`))},ve.prototype.markerToolbarButtonClicked=function(ce,le){this.setActiveButton(ce),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(fe){return fe("marker",le)}),this.markerButtonOverflowBlock.style.display="none"},ve.prototype.actionToolbarButtonClicked=function(ce,le){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(fe){return fe("action",le)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ve.prototype.setActiveButton=function(ce){this.resetButtonStyles(),ce.className=ce.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ce.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ve.prototype.setActiveMarkerButton=function(ce){var le=this.markerButtons.find(function(fe){return fe.getAttribute("data-type-name")===ce});le&&this.setActiveButton(le)},ve.prototype.setCurrentMarker=function(ce){var le=this;this.currentMarker=ce,this.buttons.filter(function(fe){return/delete|notes/.test(fe.getAttribute("data-action"))}).forEach(function(fe){le.currentMarker===void 0?(fe.style.fillOpacity="0.4",fe.style.pointerEvents="none"):(fe.style.fillOpacity="1",fe.style.pointerEvents="all")})},ve}(),dt=function(){function ve(ce,le,fe,he){this.panels=[],this.panelButtons=[],this.markerjsContainer=ce,this.displayMode=le,this.uiStyleSettings=fe,this.styles=he,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ve.prototype.addStyles=function(){var ce;this.toolboxStyleClass=this.styles.addClass(new Be("toolbox",`
|
|
|
width: 100%;
|
|
|
flex-shrink: 0;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
font-family: sans-serif;
|
|
|
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
|
overflow: hidden;
|
|
|
`)),this.toolboxStyleColorsClass=this.styles.addClass(new Be("toolbox_colors",`
|
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
|
`));var le=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Be("toolbox-button-row",`
|
|
|
display: flex;
|
|
|
cursor: default;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Be("toolbox-button-row_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Be("toolbox-panel-row",`
|
|
|
display: flex;
|
|
|
`+(this.displayMode==="inline"?"position: absolute;":"")+`
|
|
|
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
|
cursor: default;
|
|
|
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
|
|
|
`+(this.displayMode==="inline"?"width: 100%;":"")+`
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Be("toolbox-panel-row_colors",`
|
|
|
background-color: `+((ce=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ce!==void 0?ce:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Be("toolbox_button",`
|
|
|
display: inline-block;
|
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*le)+`px;
|
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*le)+`px;
|
|
|
padding: `+le+`px;
|
|
|
box-sizing: content-box;
|
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Be("toolbox-button_colors",`
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Be("toolbox-active-button_colors",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
|
`)),this.styles.addRule(new yt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
|
`)),this.styles.addRule(new yt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
|
`))},ve.prototype.show=function(ce){var le;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ce,this.uiContainer.className=this.toolboxStyleClass.name+" "+((le=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&le!==void 0?le:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ve.prototype.setPanelButtons=function(ce){var le,fe,he=this;this.panels=ce,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((le=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&le!==void 0?le:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((fe=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&fe!==void 0?fe:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ue){var Pe;ue.uiStyleSettings=he.uiStyleSettings;var _e=document.createElement("div");_e.className=he.toolboxButtonStyleClass.name+" "+((Pe=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Pe!==void 0?Pe:he.toolboxButtonStyleColorsClass.name),_e.innerHTML=ue.icon,_e.title=ue.title,_e.addEventListener("click",function(){he.panelButtonClick(ue)}),he.panelButtons.push(_e),he.buttonRow.appendChild(_e)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ve.prototype.panelButtonClick=function(ce){var le=this,fe=-1;if(ce!==this.activePanel){fe=this.panels.indexOf(ce),this.panelRow.innerHTML="";var he=ce.getUi();he.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(he),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ce}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){le.displayMode==="inline"?le.panelRow.style.display="none":le.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ue,Pe){var _e,Dt;ue.className=le.toolboxButtonStyleClass.name+" "+(Pe===fe?""+((_e=le.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&_e!==void 0?_e:le.toolboxActiveButtonStyleColorsClass.name):""+((Dt=le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Dt!==void 0?Dt:le.toolboxButtonStyleColorsClass.name))})},ve}(),ot=function(ve,ce){this.title=ve,this.icon=ce},ft=function(ve){function ce(le,fe,he,ue){var Pe=ve.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return Pe.colors=[],Pe.addTransparent=!1,Pe.colorBoxes=[],Pe.colors=fe,Pe.currentColor=he,Pe.setCurrentColor=Pe.setCurrentColor.bind(Pe),Pe.getColorBox=Pe.getColorBox.bind(Pe),Pe}return He(ce,ve),ce.prototype.getUi=function(){var le=this,fe=document.createElement("div");return fe.style.overflow="hidden",fe.style.whiteSpace="nowrap",this.colors.forEach(function(he){var ue=le.getColorBox(he);fe.appendChild(ue),le.colorBoxes.push(ue)}),fe},ce.prototype.getColorBox=function(le){var fe=this,he=this.uiStyleSettings.toolbarHeight/4,ue=this.uiStyleSettings.toolbarHeight-he,Pe=document.createElement("div");Pe.style.display="inline-block",Pe.style.boxSizing="content-box",Pe.style.width=ue-2+"px",Pe.style.height=ue-2+"px",Pe.style.padding="1px",Pe.style.marginRight="2px",Pe.style.marginBottom="2px",Pe.style.borderWidth="2px",Pe.style.borderStyle="solid",Pe.style.borderRadius=(ue+2)/2+"px",Pe.style.borderColor=le===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Pe.addEventListener("click",function(){fe.setCurrentColor(le,Pe)});var _e=document.createElement("div");return _e.style.display="inline-block",_e.style.width=ue-2+"px",_e.style.height=ue-2+"px",_e.style.backgroundColor=le,_e.style.borderRadius=ue/2+"px",le==="transparent"&&(_e.style.fill=this.uiStyleSettings.toolboxAccentColor,_e.innerHTML=`<svg viewBox="0 0 24 24">
|
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
|
</svg>`),Pe.appendChild(_e),Pe},ce.prototype.setCurrentColor=function(le,fe){var he=this;this.currentColor=le,this.colorBoxes.forEach(function(ue){ue.style.borderColor=ue===fe?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(le)},ce}(ot),lt=function(){function ve(ce,le,fe){this._state="new",this._isSelected=!1,this._container=ce,this._overlayContainer=le,this.globalSettings=fe,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ve.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ve.prototype.ownsTarget=function(ce){return!1},Object.defineProperty(ve.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ve.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ve.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ve.prototype.pointerDown=function(ce,le){},ve.prototype.dblClick=function(ce,le){},ve.prototype.manipulate=function(ce){},ve.prototype.pointerUp=function(ce){this.stateChanged()},ve.prototype.dispose=function(){},ve.prototype.addMarkerVisualToContainer=function(ce){this.container.childNodes.length>0?this.container.insertBefore(ce,this.container.childNodes[0]):this.container.appendChild(ce)},ve.prototype.getState=function(){return{typeName:ve.typeName,state:this.state,notes:this.notes}},ve.prototype.restoreState=function(ce){this._state=ce.state,this.notes=ce.notes},ve.prototype.scale=function(ce,le){},ve.prototype.colorChanged=function(ce){this.onColorChanged&&this.onColorChanged(ce),this.stateChanged()},ve.prototype.fillColorChanged=function(ce){this.onFillColorChanged&&this.onFillColorChanged(ce),this.stateChanged()},ve.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ce=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ce.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ce)&&this.onStateChanged(this)}},ve.typeName="MarkerBase",ve}(),ht=function(){function ve(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ve.prototype.findGripByVisual=function(ce){return this.topLeft.ownsTarget(ce)?this.topLeft:this.topCenter.ownsTarget(ce)?this.topCenter:this.topRight.ownsTarget(ce)?this.topRight:this.centerLeft.ownsTarget(ce)?this.centerLeft:this.centerRight.ownsTarget(ce)?this.centerRight:this.bottomLeft.ownsTarget(ce)?this.bottomLeft:this.bottomCenter.ownsTarget(ce)?this.bottomCenter:this.bottomRight.ownsTarget(ce)?this.bottomRight:void 0},ve}(),Vt=function(){function ve(){this.GRIP_SIZE=10,this.visual=ke.createGroup(),this.visual.appendChild(ke.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(ke.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ve.prototype.ownsTarget=function(ce){return ce===this.visual||ce===this.visual.childNodes[0]||ce===this.visual.childNodes[1]},ve}(),st=function(){function ve(){}return ve.toITransformMatrix=function(ce){return{a:ce.a,b:ce.b,c:ce.c,d:ce.d,e:ce.e,f:ce.f}},ve.toSVGMatrix=function(ce,le){return ce.a=le.a,ce.b=le.b,ce.c=le.c,ce.d=le.d,ce.e=le.e,ce.f=le.f,ce},ve}(),vt=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.left=0,ue.top=0,ue.width=0,ue.height=0,ue.defaultSize={x:50,y:20},ue.offsetX=0,ue.offsetY=0,ue.rotationAngle=0,ue.CB_DISTANCE=10,ue._suppressMarkerCreateEvent=!1,ue.container.transform.baseVal.appendItem(ke.createTransform()),ue.setupControlBox(),ue}return He(ce,ve),Object.defineProperty(ce.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"visual",{get:function(){return this._visual},set:function(le){this._visual=le;var fe=ke.createTransform();this._visual.transform.baseVal.appendItem(fe)},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(le){return!!ve.prototype.ownsTarget.call(this,le)||!!(this.controlGrips.findGripByVisual(le)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(le))},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.state==="new"&&(this.left=le.x,this.top=le.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var he=this.unrotatePoint(le);if(this.manipulationStartX=he.x,this.manipulationStartY=he.y,this.offsetX=he.x-this.left,this.offsetY=he.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(fe),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(fe)){this.activeGrip=this.rotatorGrip;var ue=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ue.x-this.width/2,this.top=ue.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Pe=this.container.transform.baseVal.getItem(0);Pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Pe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ce.prototype.pointerUp=function(le){var fe=this.state;ve.prototype.pointerUp.call(this,le),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(le),this._state="select",fe==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ce.prototype.moveVisual=function(le){this.visual.style.transform="translate("+le.x+"px, "+le.y+"px)"},ce.prototype.manipulate=function(le){var fe=this.unrotatePoint(le);this.state==="creating"?this.resize(le):this.state==="move"?(this.left=this.manipulationStartLeft+(fe.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(fe.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(fe):this.state==="rotate"&&this.rotate(le)},ce.prototype.resize=function(le){var fe=this.manipulationStartLeft,he=this.manipulationStartWidth,ue=this.manipulationStartTop,Pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:fe=this.manipulationStartLeft+le.x-this.manipulationStartX,he=this.manipulationStartWidth+this.manipulationStartLeft-fe;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:he=this.manipulationStartWidth+le.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ue=this.manipulationStartTop+le.y-this.manipulationStartY,Pe=this.manipulationStartHeight+this.manipulationStartTop-ue;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Pe=this.manipulationStartHeight+le.y-this.manipulationStartY}he>=0?(this.left=fe,this.width=he):(this.left=fe+he,this.width=-he),Pe>=0?(this.top=ue,this.height=Pe):(this.top=ue+Pe,this.height=-Pe),this.setSize()},ce.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ce.prototype.rotate=function(le){if(Math.abs(le.x-this.centerX)>.1){var fe=Math.sign(le.x-this.centerX);this.rotationAngle=180*Math.atan((le.y-this.centerY)/(le.x-this.centerX))/Math.PI+90*fe,this.applyRotation()}},ce.prototype.applyRotation=function(){var le=this.container.transform.baseVal.getItem(0);le.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(le,0)},ce.prototype.rotatePoint=function(le){if(this.rotationAngle===0)return le;var fe=this.container.getCTM(),he=ke.createPoint(le.x,le.y);return{x:(he=he.matrixTransform(fe)).x,y:he.y}},ce.prototype.unrotatePoint=function(le){if(this.rotationAngle===0)return le;var fe=this.container.getCTM();fe=fe.inverse();var he=ke.createPoint(le.x,le.y);return{x:(he=he.matrixTransform(fe)).x,y:he.y}},ce.prototype.select=function(){ve.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){ve.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=ke.createGroup();var le=ke.createTransform();le.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(le),this.container.appendChild(this.controlBox),this.controlRect=ke.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=ke.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ht,this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){var le=this.controlBox.transform.baseVal.getItem(0);le.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(le,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ce.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ce.prototype.createGrip=function(){var le=new Vt;return le.visual.transform.baseVal.appendItem(ke.createTransform()),this.controlBox.appendChild(le.visual),le},ce.prototype.positionGrips=function(){var le=this.controlGrips.topLeft.GRIP_SIZE,fe=-le/2,he=fe,ue=(this.width+this.CB_DISTANCE)/2-le/2,Pe=(this.height+this.CB_DISTANCE)/2-le/2,_e=this.height+this.CB_DISTANCE-le/2,Dt=this.width+this.CB_DISTANCE-le/2;this.positionGrip(this.controlGrips.topLeft.visual,fe,he),this.positionGrip(this.controlGrips.topCenter.visual,ue,he),this.positionGrip(this.controlGrips.topRight.visual,Dt,he),this.positionGrip(this.controlGrips.centerLeft.visual,fe,Pe),this.positionGrip(this.controlGrips.centerRight.visual,Dt,Pe),this.positionGrip(this.controlGrips.bottomLeft.visual,fe,_e),this.positionGrip(this.controlGrips.bottomCenter.visual,ue,_e),this.positionGrip(this.controlGrips.bottomRight.visual,Dt,_e),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ue,he-3*this.CB_DISTANCE)},ce.prototype.positionGrip=function(le,fe,he){var ue=le.transform.baseVal.getItem(0);ue.setTranslate(fe,he),le.transform.baseVal.replaceItem(ue,0)},ce.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ce.prototype.showControlBox=function(){this.controlBox.style.display=""},ce.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:st.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:st.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ve.prototype.getState.call(this))},ce.prototype.restoreState=function(le){ve.prototype.restoreState.call(this,le);var fe=le;this.left=fe.left,this.top=fe.top,this.width=fe.width,this.height=fe.height,this.rotationAngle=fe.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(st.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,fe.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(st.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,fe.containerTransformMatrix))},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe);var he=this.rotatePoint({x:this.left,y:this.top}),ue=this.unrotatePoint({x:he.x*le,y:he.y*fe});this.left=ue.x,this.top=ue.y,this.width=this.width*le,this.height=this.height*fe,this.adjustControlBox()},ce}(lt),Ke=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.fillColor="transparent",ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.opacity=1,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setFillColor=ue.setFillColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.createVisual=ue.createVisual.bind(ue),ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.visual)},ce.prototype.createVisual=function(){this.visual=ke.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.manipulate=function(le){ve.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){ve.prototype.resize.call(this,le),this.setSize()},ce.prototype.setSize=function(){ve.prototype.setSize.call(this),ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(le){ve.prototype.pointerUp.call(this,le),this.setSize()},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.visual&&ke.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},ce.prototype.setFillColor=function(le){this.fillColor=le,this.visual&&ke.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.visual&&ke.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.visual&&ke.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ve.prototype.getState.call(this))},ce.prototype.restoreState=function(le){var fe=le;this.fillColor=fe.fillColor,this.strokeColor=fe.strokeColor,this.strokeWidth=fe.strokeWidth,this.strokeDasharray=fe.strokeDasharray,this.opacity=fe.opacity,this.createVisual(),ve.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.setSize()},ce.title="Rectangle marker",ce}(vt),pe=function(ve){function ce(le,fe,he,ue){var Pe=ve.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Pe.widths=[],Pe.widthBoxes=[],Pe.widths=fe,Pe.currentWidth=he,Pe.setCurrentWidth=Pe.setCurrentWidth.bind(Pe),Pe}return He(ce,ve),ce.prototype.getUi=function(){var le=this,fe=document.createElement("div");return fe.style.display="flex",fe.style.overflow="hidden",fe.style.flexGrow="2",this.widths.forEach(function(he){var ue=document.createElement("div");ue.style.display="flex",ue.style.flexGrow="2",ue.style.alignItems="center",ue.style.justifyContent="space-between",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderColor=he===le.currentWidth?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentWidth(he,ue)}),fe.appendChild(ue);var Pe=document.createElement("div");Pe.innerText=he.toString(),Pe.style.marginRight="5px",ue.appendChild(Pe);var _e=document.createElement("div");_e.style.minHeight="20px",_e.style.flexGrow="2",_e.style.display="flex",_e.style.alignItems="center";var Dt=document.createElement("hr");Dt.style.minWidth="20px",Dt.style.border="0px",Dt.style.borderTop=he+"px solid "+le.uiStyleSettings.toolboxColor,Dt.style.flexGrow="2",_e.appendChild(Dt),ue.appendChild(_e),le.widthBoxes.push(ue)}),fe},ce.prototype.setCurrentWidth=function(le,fe){var he=this;this.currentWidth=le,this.widthBoxes.forEach(function(ue){ue.style.borderColor=ue===fe?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ce}(ot),$e=function(ve){function ce(le,fe,he,ue){var Pe=ve.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return Pe.styles=[],Pe.styleBoxes=[],Pe.styles=fe,Pe.currentStyle=he,Pe.setCurrentStyle=Pe.setCurrentStyle.bind(Pe),Pe}return He(ce,ve),ce.prototype.getUi=function(){var le=this,fe=document.createElement("div");return fe.style.display="flex",fe.style.overflow="hidden",fe.style.flexGrow="2",this.styles.forEach(function(he){var ue=document.createElement("div");ue.style.display="flex",ue.style.alignItems="center",ue.style.justifyContent="space-between",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.overflow="hidden",ue.style.maxWidth=100/le.styles.length-5+"%",ue.style.borderColor=he===le.currentStyle?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentStyle(he,ue)}),fe.appendChild(ue);var Pe=document.createElement("div");Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.overflow="hidden";var _e=`<svg width="100" height="20">
|
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+le.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(he!==""?'stroke-dasharray="'+he+'"':"")+` />
|
|
|
</svg>`;Pe.innerHTML=_e,ue.appendChild(Pe),le.styleBoxes.push(ue)}),fe},ce.prototype.setCurrentStyle=function(le,fe){var he=this;this.currentStyle=le,this.styleBoxes.forEach(function(ue){ue.style.borderColor=ue===fe?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ce}(ot),et=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.strokeColor=he.defaultColor,ue.strokeWidth=he.defaultStrokeWidth,ue.strokeDasharray=he.defaultStrokeDasharray,ue.strokePanel=new ft("Line color",he.defaultColorSet,he.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.strokeWidthPanel=new pe("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new $e("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue}return He(ce,ve),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=ve.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="FrameMarker",ce.title="Frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ce}(Ke),qe=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ye=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.x1=0,ue.y1=0,ue.x2=0,ue.y2=0,ue.defaultLength=50,ue.manipulationStartX=0,ue.manipulationStartY=0,ue.manipulationStartX1=0,ue.manipulationStartY1=0,ue.manipulationStartX2=0,ue.manipulationStartY2=0,ue.setupControlBox(),ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!!ve.prototype.ownsTarget.call(this,le)||!(!this.grip1.ownsTarget(le)&&!this.grip2.ownsTarget(le))},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.manipulationStartX=le.x,this.manipulationStartY=le.y,this.state==="new"&&(this.x1=le.x,this.y1=le.y,this.x2=le.x,this.y2=le.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(fe)?this.activeGrip=this.grip1:this.grip2.ownsTarget(fe)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ce.prototype.pointerUp=function(le){var fe=this.state;ve.prototype.pointerUp.call(this,le),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(le),this._state="select",fe==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ce.prototype.adjustVisual=function(){},ce.prototype.manipulate=function(le){this.state==="creating"?this.resize(le):this.state==="move"?(this.x1=this.manipulationStartX1+le.x-this.manipulationStartX,this.y1=this.manipulationStartY1+le.y-this.manipulationStartY,this.x2=this.manipulationStartX2+le.x-this.manipulationStartX,this.y2=this.manipulationStartY2+le.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(le)},ce.prototype.resize=function(le){switch(this.activeGrip){case this.grip1:this.x1=le.x,this.y1=le.y;break;case this.grip2:case void 0:this.x2=le.x,this.y2=le.y}this.adjustVisual(),this.adjustControlBox()},ce.prototype.select=function(){ve.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ce.prototype.deselect=function(){ve.prototype.deselect.call(this),this.controlBox.style.display="none"},ce.prototype.setupControlBox=function(){this.controlBox=ke.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ce.prototype.adjustControlBox=function(){this.positionGrips()},ce.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ce.prototype.createGrip=function(){var le=new Vt;return le.visual.transform.baseVal.appendItem(ke.createTransform()),this.controlBox.appendChild(le.visual),le},ce.prototype.positionGrips=function(){var le=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-le/2,this.y1-le/2),this.positionGrip(this.grip2.visual,this.x2-le/2,this.y2-le/2)},ce.prototype.positionGrip=function(le,fe,he){var ue=le.transform.baseVal.getItem(0);ue.setTranslate(fe,he),le.transform.baseVal.replaceItem(ue,0)},ce.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ve.prototype.getState.call(this))},ce.prototype.restoreState=function(le){ve.prototype.restoreState.call(this,le);var fe=le;this.x1=fe.x1,this.y1=fe.y1,this.x2=fe.x2,this.y2=fe.y2},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.x1=this.x1*le,this.y1=this.y1*fe,this.x2=this.x2*le,this.y2=this.y2*fe,this.adjustVisual(),this.adjustControlBox()},ce}(lt),pt=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.strokeColor=he.defaultColor,ue.strokeWidth=he.defaultStrokeWidth,ue.strokeDasharray=he.defaultStrokeDasharray,ue.strokePanel=new ft("Line color",he.defaultColorSet,he.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.strokeWidthPanel=new pe("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new $e("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.selectorLine&&le!==this.visibleLine)},ce.prototype.createVisual=function(){this.visual=ke.createGroup(),this.selectorLine=ke.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=ke.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ce.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),ke.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),ke.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.adjustVisual(),this.colorChanged(le)},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){ve.prototype.restoreState.call(this,le);var fe=le;this.strokeColor=fe.strokeColor,this.strokeWidth=fe.strokeWidth,this.strokeDasharray=fe.strokeDasharray,this.createVisual(),this.adjustVisual()},ce.typeName="LineMarker",ce.title="Line marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ce}(Ye),at=function(ve){function ce(le,fe,he,ue){var Pe=ve.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return Pe.fonts=[],Pe.fontBoxes=[],Pe.fonts=fe,Pe.currentFont=he,Pe.setCurrentFont=Pe.setCurrentFont.bind(Pe),Pe}return He(ce,ve),ce.prototype.getUi=function(){var le=this,fe=document.createElement("div");return fe.style.overflow="hidden",fe.style.flexGrow="2",this.fonts.forEach(function(he){var ue=document.createElement("div");ue.style.display="inline-block",ue.style.alignItems="center",ue.style.justifyContent="space-between",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.overflow="hidden",ue.style.maxWidth=100/le.fonts.length-5+"%",ue.style.borderColor=he===le.currentFont?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentFont(he,ue)}),fe.appendChild(ue);var Pe=document.createElement("div");Pe.style.display="flex",Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.fontFamily=he,Pe.style.overflow="hidden";var _e=document.createElement("div");_e.style.whiteSpace="nowrap",_e.style.overflow="hidden",_e.style.textOverflow="ellipsis",_e.innerHTML="The quick brown fox jumps over the lazy dog",Pe.appendChild(_e),ue.appendChild(Pe),le.fontBoxes.push(ue)}),fe},ce.prototype.setCurrentFont=function(le,fe){var he=this;this.currentFont=le,this.fontBoxes.forEach(function(ue){ue.style.borderColor=ue===fe?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ce}(ot),Pt=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.color="transparent",ue.padding=5,ue.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ue.text=ue.DEFAULT_TEXT,ue.isMoved=!1,ue.color=he.defaultColor,ue.fontFamily=he.defaultFontFamily,ue.defaultSize={x:100,y:30},ue.setColor=ue.setColor.bind(ue),ue.setFont=ue.setFont.bind(ue),ue.renderText=ue.renderText.bind(ue),ue.sizeText=ue.sizeText.bind(ue),ue.textEditDivClicked=ue.textEditDivClicked.bind(ue),ue.showTextEditor=ue.showTextEditor.bind(ue),ue.setSize=ue.setSize.bind(ue),ue.positionTextEditor=ue.positionTextEditor.bind(ue),ue.colorPanel=new ft("Color",he.defaultColorSet,he.defaultColor),ue.colorPanel.onColorChanged=ue.setColor,ue.fontFamilyPanel=new at("Font",he.defaultFontFamilies,he.defaultFontFamily),ue.fontFamilyPanel.onFontChanged=ue.setFont,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){if(ve.prototype.ownsTarget.call(this,le)||le===this.visual||le===this.textElement||le===this.bgRectangle)return!0;var fe=!1;return this.textElement.childNodes.forEach(function(he){he===le&&(fe=!0)}),fe},ce.prototype.createVisual=function(){this.visual=ke.createGroup(),this.bgRectangle=ke.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=ke.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(ke.createTransform()),this.textElement.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.isMoved=!1,this.pointerDownPoint=le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.renderText=function(){var le=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(fe){le.textElement.appendChild(ke.createTSpan(fe.trim()===""?" ":fe.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ce.prototype.getTextScale=function(){var le=this.textElement.getBBox(),fe=1;if(le.width>0&&le.height>0){var he=(1*this.width-this.width*this.padding*2/100)/le.width,ue=(1*this.height-this.height*this.padding*2/100)/le.height;fe=Math.min(he,ue)}return fe},ce.prototype.getTextPosition=function(le){var fe=this.textElement.getBBox(),he=0,ue=0;return fe.width>0&&fe.height>0&&(he=(this.width-fe.width*le)/2,ue=this.height/2-fe.height*le/2),{x:he,y:ue}},ce.prototype.sizeText=function(){var le=this.textElement.getBBox(),fe=this.getTextScale(),he=this.getTextPosition(fe);he.y-=le.y*fe,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+he.x+"px, "+he.y+"px) scale("+fe+", "+fe+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(he.x,he.y),this.textElement.transform.baseVal.getItem(1).setScale(fe,fe))},ce.prototype.manipulate=function(le){ve.prototype.manipulate.call(this,le),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(le.x-this.pointerDownPoint.x)>5||Math.abs(le.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(le){ve.prototype.resize.call(this,le),this.isMoved=!0,this.setSize(),this.sizeText()},ce.prototype.setSize=function(){ve.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ce.prototype.pointerUp=function(le){var fe=this.state;fe==="creating"&&(this._suppressMarkerCreateEvent=!0),ve.prototype.pointerUp.call(this,le),this.setSize(),(fe==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.showTextEditor=function(){var le=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(fe){fe.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var fe=Number.parseFloat(le.textEditor.style.fontSize);le.textEditor.clientWidth>=Number.parseInt(le.textEditor.style.maxWidth)&&fe>.9;)fe-=.1,le.textEditor.style.fontSize=Math.max(fe,.9)+"em"}),this.textEditor.addEventListener("keyup",function(fe){fe.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(fe){if(fe.clipboardData){var he=fe.clipboardData.getData("text"),ue=window.getSelection();if(!ue.rangeCount)return!1;ue.deleteFromDocument(),ue.getRangeAt(0).insertNode(document.createTextNode(he)),fe.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){le.textEditDivClicked(le.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ce.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var le=this.getTextScale(),fe=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),he=this.textElement.getBBox(),ue={x:he.width*le,y:he.height*le};fe.x-=ue.x/2,fe.y-=ue.y/2,this.textEditor.style.top=fe.y+"px",this.textEditor.style.left=fe.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-fe.x+"px",this.textEditor.style.fontSize=Math.max(16*le,12)+"px",this.textElement.style.display="none"}},ce.prototype.textEditDivClicked=function(le){this.text=le.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ce.prototype.select=function(){ve.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ce.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ve.prototype.deselect.call(this)},ce.prototype.dblClick=function(le,fe){ve.prototype.dblClick.call(this,le,fe),this.showTextEditor()},ce.prototype.setColor=function(le){this.textElement&&ke.setAttributes(this.textElement,[["fill",le]]),this.color=le,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(le)},ce.prototype.setFont=function(le){this.textElement&&ke.setAttributes(this.textElement,[["font-family",le]]),this.fontFamily=le,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ce.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ce.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){var fe=le;this.color=fe.color,this.fontFamily=fe.fontFamily,this.padding=fe.padding,this.text=fe.text,this.createVisual(),ve.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.setSize(),this.sizeText(),this.positionTextEditor()},ce.typeName="TextMarker",ce.title="Text marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ce}(vt),it=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.color="transparent",ue.lineWidth=3,ue.drawing=!1,ue.pixelRatio=1,ue.color=he.defaultColor,ue.lineWidth=he.defaultStrokeWidth,ue.pixelRatio=he.freehandPixelRatio,ue.setColor=ue.setColor.bind(ue),ue.addCanvas=ue.addCanvas.bind(ue),ue.finishCreation=ue.finishCreation.bind(ue),ue.setLineWidth=ue.setLineWidth.bind(ue),ue.colorPanel=new ft("Color",he.defaultColorSet,he.defaultColor),ue.colorPanel.onColorChanged=ue.setColor,ue.lineWidthPanel=new pe("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),ue.lineWidthPanel.onWidthChanged=ue.setLineWidth,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.drawingImage)},ce.prototype.createVisual=function(){this.visual=ke.createGroup(),this.drawingImage=ke.createImage(),this.visual.appendChild(this.drawingImage);var le=ke.createTransform();this.visual.transform.baseVal.appendItem(le),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(le,fe){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(le.x,le.y),this.drawing=!0):ve.prototype.pointerDown.call(this,le,fe)},ce.prototype.manipulate=function(le){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(le.x,le.y),this.canvasContext.stroke()):ve.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){ve.prototype.resize.call(this,le),ke.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ce.prototype.pointerUp=function(le){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ve.prototype.pointerUp.call(this,le)},ce.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ce.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ve.prototype.select.call(this)},ce.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ve.prototype.deselect.call(this)},ce.prototype.finishCreation=function(){for(var le=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),fe=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],he=fe[0],ue=fe[1],Pe=fe[2],_e=fe[3],Dt=!1,Lt=0;Lt<this.canvasElement.height;Lt++)for(var Ht=0;Ht<this.canvasElement.width;Ht++)le.data[Lt*this.canvasElement.width*4+4*Ht+3]>0&&(Dt=!0,Lt<ue&&(ue=Lt),Ht<he&&(he=Ht),Lt>_e&&(_e=Lt),Ht>Pe&&(Pe=Ht));if(Dt){this.left=he/this.pixelRatio,this.top=ue/this.pixelRatio,this.width=(Pe-he)/this.pixelRatio,this.height=(_e-ue)/this.pixelRatio;var Qt=document.createElement("canvas");Qt.width=Pe-he,Qt.height=_e-ue,Qt.getContext("2d").putImageData(this.canvasContext.getImageData(he,ue,Pe-he,_e-ue),0,0),this.drawingImgUrl=Qt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ce.prototype.setDrawingImage=function(){ke.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),ke.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ce.prototype.setColor=function(le){this.color=le,this.colorChanged(le)},ce.prototype.setLineWidth=function(le){this.lineWidth=le},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({drawingImgUrl:this.drawingImgUrl},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){this.createVisual(),ve.prototype.restoreState.call(this,le),this.drawingImgUrl=le.drawingImgUrl,this.setDrawingImage()},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.setDrawingImage()},ce.typeName="FreehandMarker",ce.title="Freehand marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ce}(vt),Nt=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,he||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return ue.typeBoxes=[],ue.currentType=fe,ue.setCurrentType=ue.setCurrentType.bind(ue),ue}return He(ce,ve),ce.prototype.getUi=function(){var le=this,fe=document.createElement("div");fe.style.display="flex",fe.style.overflow="hidden",fe.style.flexGrow="2";for(var he=function(_e){var Dt="both";switch(_e){case 0:Dt="both";break;case 1:Dt="start";break;case 2:Dt="end";break;case 3:Dt="none"}var Lt=document.createElement("div");if(Lt.style.display="flex",Lt.style.flexGrow="2",Lt.style.alignItems="center",Lt.style.justifyContent="space-between",Lt.style.padding="5px",Lt.style.borderWidth="2px",Lt.style.borderStyle="solid",Lt.style.borderColor=Dt===ue.currentType?ue.uiStyleSettings.toolboxAccentColor:"transparent",Lt.addEventListener("click",function(){le.setCurrentType(Dt,Lt)}),fe.appendChild(Lt),Dt==="both"||Dt==="start"){var Ht=document.createElement("div");Ht.style.display="flex",Ht.style.alignItems="center",Ht.style.minHeight="20px",Ht.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,5 10,0 10,10" fill="`+(ue.uiStyleSettings!==void 0?ue.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,Ht.style.marginLeft="5px",Lt.appendChild(Ht)}var Qt=document.createElement("div");Qt.style.display="flex",Qt.style.alignItems="center",Qt.style.minHeight="20px",Qt.style.flexGrow="2";var zt=document.createElement("hr");if(zt.style.minWidth="20px",zt.style.border="0px",zt.style.borderTop="3px solid "+(ue.uiStyleSettings!==void 0?ue.uiStyleSettings.toolboxColor:"#eeeeee"),zt.style.flexGrow="2",Qt.appendChild(zt),Lt.appendChild(Qt),Dt==="both"||Dt==="end"){var bn=document.createElement("div");bn.style.display="flex",bn.style.alignItems="center",bn.style.minHeight="20px",bn.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
|
<polygon points="0,0 10,5 0,10" fill="`+(ue.uiStyleSettings!==void 0?ue.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
|
</svg>`,bn.style.marginRight="5px",Lt.appendChild(bn)}ue.typeBoxes.push(Lt)},ue=this,Pe=0;Pe<4;Pe++)he(Pe);return fe},ce.prototype.setCurrentType=function(le,fe){var he=this;this.currentType=le,this.typeBoxes.forEach(function(ue){ue.style.borderColor=ue===fe?he.uiStyleSettings!==void 0?he.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ce}(ot),rn=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.arrowType="end",ue.arrowBaseHeight=10,ue.arrowBaseWidth=10,ue.getArrowPoints=ue.getArrowPoints.bind(ue),ue.setArrowType=ue.setArrowType.bind(ue),ue.arrowTypePanel=new Nt("Arrow type","end"),ue.arrowTypePanel.onArrowTypeChanged=ue.setArrowType,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.arrow1&&le!==this.arrow2)},ce.prototype.getArrowPoints=function(le,fe){var he=this.arrowBaseWidth+2*this.strokeWidth,ue=this.arrowBaseHeight+2*this.strokeWidth;return le-he/2+","+(fe+ue/2)+" "+le+","+(fe-ue/2)+" "+(le+he/2)+","+(fe+ue/2)},ce.prototype.createTips=function(){this.arrow1=ke.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=ke.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.arrow2)},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(ve.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",ke.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),ke.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var le=0;Math.abs(this.x1-this.x2)>.1&&(le=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var fe=this.arrow1.transform.baseVal.getItem(0);fe.setRotate(le,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(fe,0);var he=this.arrow2.transform.baseVal.getItem(0);he.setRotate(le+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(he,0)}},ce.prototype.setArrowType=function(le){this.arrowType=le,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({arrowType:this.arrowType},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){ve.prototype.restoreState.call(this,le);var fe=le;this.arrowType=fe.arrowType,this.createTips(),this.adjustVisual()},ce.typeName="ArrowMarker",ce.title="Arrow marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ce}(pt),Ut=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.fillColor=he.defaultFillColor,ue.strokeWidth=0,ue.fillPanel=new ft("Color",he.defaultColorSet,he.defaultFillColor),ue.fillPanel.onColorChanged=ue.setFillColor,ue}return He(ce,ve),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=ve.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="CoverMarker",ce.title="Cover marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ce}(Ke),un=function(ve){function ce(le,fe,he,ue){var Pe=ve.call(this,le,ue||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return Pe.opacities=[],Pe.opacityBoxes=[],Pe.opacities=fe,Pe.currentOpacity=he,Pe.setCurrentOpacity=Pe.setCurrentOpacity.bind(Pe),Pe}return He(ce,ve),ce.prototype.getUi=function(){var le=this,fe=document.createElement("div");return fe.style.display="flex",fe.style.overflow="hidden",fe.style.flexGrow="2",fe.style.justifyContent="space-between",this.opacities.forEach(function(he){var ue=document.createElement("div");ue.style.display="flex",ue.style.alignItems="center",ue.style.justifyContent="center",ue.style.padding="5px",ue.style.borderWidth="2px",ue.style.borderStyle="solid",ue.style.borderColor=he===le.currentOpacity?le.uiStyleSettings.toolboxAccentColor:"transparent",ue.addEventListener("click",function(){le.setCurrentOpacity(he,ue)}),fe.appendChild(ue);var Pe=document.createElement("div");Pe.innerText=100*he+"%",ue.appendChild(Pe),le.opacityBoxes.push(ue)}),fe},ce.prototype.setCurrentOpacity=function(le,fe){var he=this;this.currentOpacity=le,this.opacityBoxes.forEach(function(ue){ue.style.borderColor=ue===fe?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ce}(ot),jt=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.setOpacity=ue.setOpacity.bind(ue),ue.fillColor=he.defaultHighlightColor,ue.strokeWidth=0,ue.opacity=he.defaultHighlightOpacity,ue.fillPanel=new ft("Color",he.defaultColorSet,ue.fillColor),ue.fillPanel.onColorChanged=ue.setFillColor,ue.opacityPanel=new un("Opacity",he.defaultOpacitySteps,ue.opacity),ue.opacityPanel.onOpacityChanged=ue.setOpacity,ue}return He(ce,ve),ce.prototype.setOpacity=function(le){this.opacity=le,this.visual&&ke.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=ve.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="HighlightMarker",ce.title="Highlight marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ce}(Ut),Qe='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',Ce='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',nt=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.bgColor="transparent",ue.tipPosition={x:0,y:0},ue.tipBase1Position={x:0,y:0},ue.tipBase2Position={x:0,y:0},ue.tipMoving=!1,ue.color=he.defaultStrokeColor,ue.bgColor=he.defaultFillColor,ue.fontFamily=he.defaultFontFamily,ue.defaultSize={x:100,y:30},ue.setBgColor=ue.setBgColor.bind(ue),ue.getTipPoints=ue.getTipPoints.bind(ue),ue.positionTip=ue.positionTip.bind(ue),ue.setTipPoints=ue.setTipPoints.bind(ue),ue.colorPanel=new ft("Text color",he.defaultColorSet,ue.color,Qe),ue.colorPanel.onColorChanged=ue.setColor,ue.bgColorPanel=new ft("Fill color",he.defaultColorSet,ue.bgColor,Ce),ue.bgColorPanel.onColorChanged=ue.setBgColor,ue.fontFamilyPanel=new at("Font",he.defaultFontFamilies,he.defaultFontFamily),ue.fontFamilyPanel.onFontChanged=ue.setFont,ue.tipGrip=new Vt,ue.tipGrip.visual.transform.baseVal.appendItem(ke.createTransform()),ue.controlBox.appendChild(ue.tipGrip.visual),ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return ve.prototype.ownsTarget.call(this,le)||this.tipGrip.ownsTarget(le)||this.tip===le},ce.prototype.createTip=function(){ke.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=ke.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ce.prototype.pointerDown=function(le,fe){this.state==="new"&&ve.prototype.pointerDown.call(this,le,fe),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(fe)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ve.prototype.pointerDown.call(this,le,fe)},ce.prototype.pointerUp=function(le){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ve.prototype.pointerUp.call(this,le);else{var fe=this.state==="creating";ve.prototype.pointerUp.call(this,le),this.setTipPoints(fe),this.positionTip()}},ce.prototype.manipulate=function(le){if(this.tipMoving){var fe=this.unrotatePoint(le);this.tipPosition={x:fe.x-this.manipulationStartLeft,y:fe.y-this.manipulationStartTop},this.positionTip()}else ve.prototype.manipulate.call(this,le)},ce.prototype.setBgColor=function(le){this.bgRectangle&&this.tip&&(ke.setAttributes(this.bgRectangle,[["fill",le]]),ke.setAttributes(this.tip,[["fill",le]])),this.bgColor=le,this.fillColorChanged(le)},ce.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ce.prototype.setTipPoints=function(le){le===void 0&&(le=!1);var fe=Math.min(this.height/2,15),he=this.height/5;le&&(this.tipPosition={x:fe+he/2,y:this.height+20});var ue=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?ue<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(he=this.width/5,fe=Math.min(this.width/2,15),this.tipBase1Position={x:fe,y:0},this.tipBase2Position={x:fe+he,y:0}):(this.tipBase1Position={x:0,y:fe},this.tipBase2Position={x:0,y:fe+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?ue<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(he=this.width/5,fe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-fe-he,y:0},this.tipBase2Position={x:this.width-fe,y:0}):(this.tipBase1Position={x:this.width,y:fe},this.tipBase2Position={x:this.width,y:fe+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?ue<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(he=this.width/5,fe=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-fe-he,y:this.height},this.tipBase2Position={x:this.width-fe,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-fe-he},this.tipBase2Position={x:this.width,y:this.height-fe}):ue<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(he=this.width/5,fe=Math.min(this.width/2,15),this.tipBase1Position={x:fe,y:this.height},this.tipBase2Position={x:fe+he,y:this.height}):(this.tipBase1Position={x:0,y:this.height-fe},this.tipBase2Position={x:0,y:this.height-fe-he})},ce.prototype.resize=function(le){ve.prototype.resize.call(this,le),this.positionTip()},ce.prototype.positionTip=function(){ke.setAttributes(this.tip,[["points",this.getTipPoints()]]);var le=this.tipGrip.visual.transform.baseVal.getItem(0);le.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(le,0)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ce.prototype.select=function(){this.positionTip(),ve.prototype.select.call(this)},ce.prototype.getState=function(){var le=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){var fe=le;this.bgColor=fe.bgColor,this.tipPosition=fe.tipPosition,ve.prototype.restoreState.call(this,le),this.createTip(),this.setTipPoints()},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.tipPosition={x:this.tipPosition.x*le,y:this.tipPosition.y*fe},this.positionTip()},ce.typeName="CalloutMarker",ce.title="Callout marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ce}(Pt),$t=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.fillColor="transparent",ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.opacity=1,ue.strokeColor=he.defaultColor,ue.strokeWidth=he.defaultStrokeWidth,ue.strokeDasharray=he.defaultStrokeDasharray,ue.fillColor=he.defaultFillColor,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setFillColor=ue.setFillColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.setOpacity=ue.setOpacity.bind(ue),ue.createVisual=ue.createVisual.bind(ue),ue.strokePanel=new ft("Line color",Se(he.defaultColorSet,["transparent"]),he.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.fillPanel=new ft("Fill color",Se(he.defaultColorSet,["transparent"]),ue.fillColor,Ce),ue.fillPanel.onColorChanged=ue.setFillColor,ue.strokeWidthPanel=new pe("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new $e("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue.opacityPanel=new un("Opacity",he.defaultOpacitySteps,ue.opacity),ue.opacityPanel.onOpacityChanged=ue.setOpacity,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.visual)},ce.prototype.createVisual=function(){this.visual=ke.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.manipulate=function(le){ve.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){ve.prototype.resize.call(this,le),this.setSize()},ce.prototype.setSize=function(){ve.prototype.setSize.call(this),ke.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ce.prototype.pointerUp=function(le){ve.prototype.pointerUp.call(this,le),this.setSize()},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.visual&&ke.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},ce.prototype.setFillColor=function(le){this.fillColor=le,this.visual&&ke.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(le),this.stateChanged()},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.visual&&ke.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.visual&&ke.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ce.prototype.setOpacity=function(le){this.opacity=le,this.visual&&ke.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){var fe=le;this.fillColor=fe.fillColor,this.strokeColor=fe.strokeColor,this.strokeWidth=fe.strokeWidth,this.strokeDasharray=fe.strokeDasharray,this.opacity=fe.opacity,this.createVisual(),ve.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.setSize()},ce.typeName="EllipseMarker",ce.title="Ellipse marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ce}(vt),Et=function(ve){function ce(le,fe,he){return ve.call(this,le,fe,he)||this}return He(ce,ve),Object.defineProperty(ce.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.tip1&&le!==this.tip2)},ce.prototype.createTips=function(){this.tip1=ke.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.tip1),this.tip2=ke.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(ke.createTransform()),this.visual.appendChild(this.tip2)},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.state==="creating"&&this.createTips()},ce.prototype.adjustVisual=function(){if(ve.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(ke.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var le=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),fe=this.tip1.transform.baseVal.getItem(0);fe.setRotate(le,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(fe,0);var he=this.tip2.transform.baseVal.getItem(0);he.setRotate(le+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(he,0)}},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=ve.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){ve.prototype.restoreState.call(this,le),this.createTips(),this.adjustVisual()},ce.typeName="MeasurementMarker",ce.title="Measurement marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ce}(pt),Ve=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.strokePanel.colors=he.defaultColorSet,ue.fillColor="transparent",ue}return He(ce,ve),Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=ve.prototype.getState.call(this);return le.typeName=ce.typeName,le},ce.typeName="EllipseFrameMarker",ce.title="Ellipse frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ce}($t),tt=function(){function ve(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ve.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ve.prototype.addUndoStep=function(ce){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ce)||(this.undoStack.push(ce),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ce)&&this.redoStack.splice(0,this.redoStack.length))},ve.prototype.replaceLastUndoStep=function(ce){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ce)},ve.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ve.prototype.undo=function(){if(this.undoStack.length>1){var ce=this.undoStack.pop();return ce!==void 0&&this.redoStack.push(ce),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ve.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ve}(),At=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.curveX=0,ue.curveY=0,ue.manipulationStartCurveX=0,ue.manipulationStartCurveY=0,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.positionGrips=ue.positionGrips.bind(ue),ue.addControlGrips=ue.addControlGrips.bind(ue),ue.adjustVisual=ue.adjustVisual.bind(ue),ue.setupControlBox=ue.setupControlBox.bind(ue),ue.resize=ue.resize.bind(ue),ue.strokeColor=he.defaultColor,ue.strokeWidth=he.defaultStrokeWidth,ue.strokeDasharray=he.defaultStrokeDasharray,ue.strokePanel=new ft("Line color",he.defaultColorSet,he.defaultColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.strokeWidthPanel=new pe("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new $e("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.selectorCurve&&le!==this.visibleCurve&&!this.curveGrip.ownsTarget(le))},ce.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ce.prototype.createVisual=function(){this.visual=ke.createGroup(),this.selectorCurve=ke.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=ke.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=le.x,this.curveY=le.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(fe)&&(this.activeGrip=this.curveGrip,this._state="resize")},ce.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),ke.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),ke.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),ke.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ce.prototype.setupControlBox=function(){ve.prototype.setupControlBox.call(this),this.curveControlLine1=ke.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=ke.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ce.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ve.prototype.addControlGrips.call(this)},ce.prototype.positionGrips=function(){ve.prototype.positionGrips.call(this);var le=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-le/2,this.curveY-le/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ce.prototype.manipulate=function(le){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+le.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+le.y-this.manipulationStartY),ve.prototype.manipulate.call(this,le)},ce.prototype.resize=function(le){this.activeGrip===this.curveGrip&&(this.curveX=le.x,this.curveY=le.y),ve.prototype.resize.call(this,le),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.adjustVisual(),this.colorChanged(le)},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.adjustVisual()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.adjustVisual()},ce.prototype.scale=function(le,fe){this.curveX=this.curveX*le,this.curveY=this.curveY*fe,ve.prototype.scale.call(this,le,fe)},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ve.prototype.getState.call(this));return le.typeName=ce.typeName,le},ce.prototype.restoreState=function(le){ve.prototype.restoreState.call(this,le);var fe=le;this.strokeColor=fe.strokeColor,this.strokeWidth=fe.strokeWidth,this.strokeDasharray=fe.strokeDasharray,this.curveX=fe.curveX,this.curveY=fe.curveY,this.createVisual(),this.adjustVisual()},ce.typeName="CurveMarker",ce.title="Curve marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ce}(Ye),fn=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,fe,he)||this;return ue.fillColor="transparent",ue.strokeColor="transparent",ue.strokeWidth=0,ue.strokeDasharray="",ue.textColor="transparent",ue.fontSize="1rem",ue.isMoved=!1,ue.captionText="Caption",ue.PADDING=5,ue.captionBoxWidth=0,ue.captionBoxHeight=0,ue.strokeColor=he.defaultColor,ue.strokeWidth=he.defaultStrokeWidth,ue.strokeDasharray=he.defaultStrokeDasharray,ue.fillColor=he.defaultFillColor,ue.textColor=he.defaultStrokeColor,ue.fontFamily=he.defaultFontFamily,ue.fontSize=he.defaultCaptionFontSize,ue.captionText=he.defaultCaptionText,ue.setStrokeColor=ue.setStrokeColor.bind(ue),ue.setFillColor=ue.setFillColor.bind(ue),ue.setStrokeWidth=ue.setStrokeWidth.bind(ue),ue.setStrokeDasharray=ue.setStrokeDasharray.bind(ue),ue.createVisual=ue.createVisual.bind(ue),ue.sizeCaption=ue.sizeCaption.bind(ue),ue.setCaptionText=ue.setCaptionText.bind(ue),ue.showTextEditor=ue.showTextEditor.bind(ue),ue.positionTextEditor=ue.positionTextEditor.bind(ue),ue.finishTextEditing=ue.finishTextEditing.bind(ue),ue.setFont=ue.setFont.bind(ue),ue.setTextColor=ue.setTextColor.bind(ue),ue.strokePanel=new ft("Line color",Se(he.defaultColorSet,["transparent"]),ue.strokeColor),ue.strokePanel.onColorChanged=ue.setStrokeColor,ue.fillPanel=new ft("Fill color",Se(he.defaultColorSet,["transparent"]),ue.fillColor,Ce),ue.fillPanel.onColorChanged=ue.setFillColor,ue.strokeWidthPanel=new pe("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),ue.strokeWidthPanel.onWidthChanged=ue.setStrokeWidth,ue.strokeStylePanel=new $e("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),ue.strokeStylePanel.onStyleChanged=ue.setStrokeDasharray,ue.fontFamilyPanel=new at("Font",he.defaultFontFamilies,he.defaultFontFamily),ue.fontFamilyPanel.onFontChanged=ue.setFont,ue.textColorPanel=new ft("Text color",he.defaultColorSet,ue.textColor,Qe),ue.textColorPanel.onColorChanged=ue.setTextColor,ue}return He(ce,ve),ce.prototype.ownsTarget=function(le){return!(!ve.prototype.ownsTarget.call(this,le)&&le!==this.visual&&le!==this.frame&&le!==this.captionBg&&le!==this.captionElement)},ce.prototype.createVisual=function(){this.visual=ke.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=ke.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=ke.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=ke.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ce.prototype.setCaptionText=function(le){this.captionText=le,this.captionElement.textContent=this.captionText,this.sizeCaption()},ce.prototype.pointerDown=function(le,fe){ve.prototype.pointerDown.call(this,le,fe),this.isMoved=!1,this.pointerDownPoint=le,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(le),this._state="creating")},ce.prototype.manipulate=function(le){ve.prototype.manipulate.call(this,le),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(le.x-this.pointerDownPoint.x)>5||Math.abs(le.y-this.pointerDownPoint.y)>5)},ce.prototype.resize=function(le){ve.prototype.resize.call(this,le),this.setSize()},ce.prototype.sizeCaption=function(){var le=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=le.width+2*this.PADDING,this.captionBoxHeight=le.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),ke.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),ke.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ce.prototype.showTextEditor=function(){var le=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(fe){fe.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(fe){fe.key==="Enter"&&le.finishTextEditing(le.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(fe){fe.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){le.finishTextEditing(le.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){le.finishTextEditing(le.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ce.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ce.prototype.finishTextEditing=function(le){this.setCaptionText(le.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ce.prototype.setFont=function(le){this.captionElement&&ke.setAttributes(this.captionElement,[["font-family",le]]),this.fontFamily=le,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ce.prototype.setTextColor=function(le){this.captionElement&&ke.setAttributes(this.captionElement,[["fill",le]]),this.textColor=le,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ce.prototype.setSize=function(){ve.prototype.setSize.call(this),ke.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ce.prototype.pointerUp=function(le){ve.prototype.pointerUp.call(this,le),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ce.prototype.dblClick=function(le,fe){ve.prototype.dblClick.call(this,le,fe),this.showTextEditor()},ce.prototype.setStrokeColor=function(le){this.strokeColor=le,this.frame&&ke.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(le),this.stateChanged()},ce.prototype.setFillColor=function(le){this.fillColor=le,this.captionBg&&ke.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(le),this.stateChanged()},ce.prototype.setStrokeWidth=function(le){this.strokeWidth=le,this.frame&&ke.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ce.prototype.setStrokeDasharray=function(le){this.strokeDasharray=le,this.frame&&ke.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ce.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ce.prototype.getState=function(){var le=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},ve.prototype.getState.call(this));return le.typeName=this.typeName,le},ce.prototype.restoreState=function(le){var fe=le;this.fillColor=fe.fillColor,this.strokeColor=fe.strokeColor,this.strokeWidth=fe.strokeWidth,this.strokeDasharray=fe.strokeDasharray,this.textColor=fe.textColor,this.fontFamily=fe.fontFamily,this.captionText=fe.captionText,this.fontSize=fe.fontSize,this.createVisual(),ve.prototype.restoreState.call(this,le),this.setSize()},ce.prototype.scale=function(le,fe){ve.prototype.scale.call(this,le,fe),this.setSize()},ce.typeName="CaptionFrameMarker",ce.title="Caption frame marker",ce.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ce}(vt),Kt=function(){function ve(ce,le){le===void 0&&(le=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ce,this.cancelable=le}return Object.defineProperty(ve.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ve.prototype.preventDefault=function(){this._defaultPrevented=!0},ve}(),yn=function(ve){function ce(le,fe,he){var ue=ve.call(this,le,!1)||this;return ue.dataUrl=fe,ue.state=he,ue}return He(ce,ve),ce}(Kt),kt=function(ve){function ce(le,fe,he){he===void 0&&(he=!1);var ue=ve.call(this,le,he)||this;return ue.marker=fe,ue}return He(ce,ve),ce}(Kt),Bt=function(){function ve(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return ve.prototype.addEventListener=function(ce,le){this[ce].push(le)},ve.prototype.removeEventListener=function(ce,le){var fe=this[ce].indexOf(le);fe>-1&&this[ce].splice(fe,1)},ve}(),xt=function(){function ve(ce){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new qe,this._isOpen=!1,this.undoRedoManager=new tt,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Bt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ve.instanceCounter++,this.styles=new Ze(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ce,this.targetRoot=document.body,this.width=ce.clientWidth,this.height=ce.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(ve.prototype,"ALL_MARKER_TYPES",{get:function(){return[et,it,rn,Pt,Ve,$t,jt,nt,Et,Ut,pt,At,fn]},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[et,it,rn,Pt,$t,jt,nt]},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"BASIC_MARKER_TYPES",{get:function(){return[et,it,rn,Pt,jt]},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ce){var le=this;this._availableMarkerTypes.splice(0),ce.forEach(function(fe){if(typeof fe=="string"){var he=le.ALL_MARKER_TYPES.find(function(ue){return ue.typeName===fe});he!==void 0&&le._availableMarkerTypes.push(he)}else le._availableMarkerTypes.push(fe)})},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ce){this._zoomLevel=ce,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(ve.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ve.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Oe.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ve.prototype.show=function(){var ce=this;this.styles.styleSheetRoot===void 0&&Ee.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ee.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(le){return le(new Kt(ce))})},ve.prototype.render=function(){return ze(this,void 0,void 0,function(){var ce;return rt(this,function(le){switch(le.label){case 0:return this.setCurrentMarker(),(ce=new xe).naturalSize=this.renderAtNaturalSize,ce.imageType=this.renderImageType,ce.imageQuality=this.renderImageQuality,ce.markersOnly=this.renderMarkersOnly,ce.width=this.renderWidth,ce.height=this.renderHeight,[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return le.sent(),[4,ce.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,le.sent()]}})})},ve.prototype.close=function(ce){var le=this;if(ce===void 0&&(ce=!1),this.isOpen){var fe=!1;ce||this.eventListeners.beforeclose.forEach(function(he){var ue=new Kt(le,!0);he(ue),ue.defaultPrevented&&(fe=!0)}),fe||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(he){return he(new Kt(le))}),this.detachEvents(),this._isOpen=!1)}},ve.prototype.addMarkersToToolbar=function(){for(var ce,le=[],fe=0;fe<arguments.length;fe++)le[fe]=arguments[fe];(ce=this._availableMarkerTypes).push.apply(ce,le)},ve.prototype.addRenderEventListener=function(ce){this.addEventListener("render",function(le){ce(le.dataUrl,le.state)})},ve.prototype.removeRenderEventListener=function(ce){},ve.prototype.addCloseEventListener=function(ce){this.addEventListener("close",function(){ce()})},ve.prototype.removeCloseEventListener=function(ce){},ve.prototype.setupResizeObserver=function(){var ce=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ce.resize(ce.target.clientWidth,ce.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ce.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ve.prototype.onPopupTargetResize=function(){var ce=1*this.target.clientWidth/this.target.clientHeight,le=this.editorCanvas.clientWidth/ce>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ce:this.editorCanvas.clientWidth,fe=le<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ce;this.resize(le,fe)},ve.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ve.prototype.resize=function(ce,le){this._isResizing=!0;var fe=ce/this.imageWidth,he=le/this.imageHeight;this.imageWidth=Math.round(ce),this.imageHeight=Math.round(le),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(fe,he),this._isResizing=!1},ve.prototype.scaleMarkers=function(ce,le){var fe,he=this;this._currentMarker&&this._currentMarker instanceof Pt?this._currentMarker.scale(ce,le):(fe=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(ue){ue!==he._currentMarker&&ue.scale(ce,le)}),fe!==void 0&&this.setCurrentMarker(fe)},ve.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},ve.prototype.setTopLeft=function(){var ce=this.editingTarget.getBoundingClientRect(),le=this.editorCanvas.getBoundingClientRect();this.left=ce.left-le.left,this.top=ce.top-le.top},ve.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},ve.prototype.addDefs=function(){for(var ce,le=[],fe=0;fe<arguments.length;fe++)le[fe]=arguments[fe];this.defs=ke.createDefs(),this.addDefsToImage(),(ce=this.defs).append.apply(ce,le)},ve.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},ve.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},ve.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},ve.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},ve.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},ve.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},ve.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},ve.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ce=document.createElement("a");ce.href="https://markerjs.com/",ce.target="_blank",ce.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ce.title="Powered by marker.js",ce.style.display="grid",ce.style.alignItems="center",ce.style.justifyItems="center",ce.style.padding="3px",ce.style.width="20px",ce.style.height="20px",this.logoUI.appendChild(ce),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ve.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},ve.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},ve.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ve.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ce=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Te(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new dt(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},ve.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},ve.prototype.removeMarker=function(ce){this.markerImage.removeChild(ce.container),this.markers.indexOf(ce)>-1&&this.markers.splice(this.markers.indexOf(ce),1),ce.dispose()},ve.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},ve.prototype.toolbarButtonClicked=function(ce,le){if(ce==="marker"&&le!==void 0)this.createNewMarker(le);else if(ce==="action")switch(le){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},ve.prototype.deleteSelectedMarker=function(){var ce=this;if(this._currentMarker!==void 0){var le=!1;if(this.eventListeners.markerbeforedelete.forEach(function(he){var ue=new kt(ce,ce._currentMarker,!0);he(ue),ue.defaultPrevented&&(le=!0)}),!le){var fe=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(he){return he(new kt(ce,fe))})}}},ve.prototype.clear=function(){var ce=this,le=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Pe){var _e=new kt(ce,void 0,!0);Pe(_e),_e.defaultPrevented&&(le=!0)}),!le)){this.setCurrentMarker();for(var fe=function(Pe){var _e=he.markers[Pe];he.setCurrentMarker(he.markers[Pe]),he._currentMarker.dispose(),he.markerImage.removeChild(he._currentMarker.container),he.markers.splice(he.markers.indexOf(he._currentMarker),1),he.eventListeners.markerdelete.forEach(function(Dt){return Dt(new kt(ce,_e))})},he=this,ue=this.markers.length-1;ue>=0;ue--)fe(ue);this.addUndoStep()}},Object.defineProperty(ve.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ve.prototype.showNotesEditor=function(){var ce;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ce=this._currentMarker.notes)!==null&&ce!==void 0?ce:"",this.overlayContainer.appendChild(this.notesArea))},ve.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},ve.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ve.prototype.addUndoStep=function(){var ce=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var le=this.getState(),fe=this.undoRedoManager.getLastUndoStep();if(!fe||fe.width===le.width&&fe.height===le.height){var he=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(le),he<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(ue){return ue(new Kt(ce))})}else this.undoRedoManager.replaceLastUndoStep(le),this.eventListeners.statechange.forEach(function(ue){return ue(new Kt(ce))})}},ve.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ve.prototype.undoStep=function(){var ce=this,le=this.undoRedoManager.undo();le!==void 0&&(this.restoreState(le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(fe){return fe(new Kt(ce))}))},ve.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ve.prototype.redoStep=function(){var ce=this,le=this.undoRedoManager.redo();le!==void 0&&(this.restoreState(le),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(fe){return fe(new Kt(ce))}))},ve.prototype.stepZoom=function(){var ce=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ce<this.zoomSteps.length-1?this.zoomSteps[ce+1]:this.zoomSteps[0]},ve.prototype.panTo=function(ce){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ce.x,top:this.prevPanPoint.y-ce.y}),this.prevPanPoint=ce},ve.prototype.startRenderAndClose=function(){return ze(this,void 0,void 0,function(){var ce,le,fe=this;return rt(this,function(he){switch(he.label){case 0:return[4,this.render()];case 1:return ce=he.sent(),le=this.getState(),this.eventListeners.render.forEach(function(ue){return ue(new yn(fe,ce,le))}),this.close(!0),[2]}})})},ve.prototype.getState=function(ce){ce===!0&&this.setCurrentMarker();var le={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(fe){return le.markers.push(fe.getState())}),le},ve.prototype.restoreState=function(ce){var le=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ce.markers.forEach(function(fe){var he=le._availableMarkerTypes.find(function(Pe){return Pe.typeName===fe.typeName});if(he!==void 0){var ue=le.addNewMarker(he);ue.restoreState(fe),le.markers.push(ue)}}),ce.width&&ce.height&&(ce.width!==this.imageWidth||ce.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ce.width,this.imageHeight/ce.height),this.eventListeners.restorestate.forEach(function(fe){return fe(new Kt(le))})},ve.prototype.addNewMarker=function(ce){var le=ke.createGroup();return this.markerImage.appendChild(le),new ce(le,this.overlayContainer,this.settings)},ve.prototype.createNewMarker=function(ce){var le,fe=this;(le=typeof ce=="string"?this._availableMarkerTypes.find(function(he){return he.typeName===ce}):ce)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(le),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(le.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(he){return he(new kt(fe,fe._currentMarker))}))},ve.prototype.markerCreated=function(ce){var le=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ce),this.setCurrentMarker(ce),ce instanceof it&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(it):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(fe){return fe(new kt(le,le._currentMarker))})},ve.prototype.colorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ce,this.settings.defaultStrokeColor=ce)},ve.prototype.fillColorChanged=function(ce){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ce)},ve.prototype.markerStateChanged=function(ce){var le=this;this.eventListeners.markerchange.forEach(function(fe){return fe(new kt(le,ce))})},ve.prototype.setCurrentMarker=function(ce){var le=this;this._currentMarker!==ce&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(fe){return fe(new kt(le,le._currentMarker))})),this._currentMarker=ce,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(fe){return fe(new kt(le,le._currentMarker))}))},ve.prototype.onPointerDown=function(ce){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ce.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var le=this.markers.find(function(fe){return fe.ownsTarget(ce.target)});le!==void 0?(this.setCurrentMarker(le),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ce.clientX,y:ce.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ce.clientX,ce.clientY))},ve.prototype.onDblClick=function(ce){if(this._isFocused||this.focus(),this.mode==="select"){var le=this.markers.find(function(fe){return fe.ownsTarget(ce.target)});le!==void 0&&le!==this._currentMarker&&this.setCurrentMarker(le),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ce.clientX,ce.clientY),ce.target):this.setCurrentMarker()}},ve.prototype.onPointerMove=function(ce){this.touchPoints!==1&&ce.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ce.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ce.clientX,ce.clientY)):this.zoomLevel>1&&this.panTo({x:ce.clientX,y:ce.clientY}))},ve.prototype.onPointerUp=function(ce){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ce.clientX,ce.clientY)),this.isDragging=!1,this.addUndoStep()},ve.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ve.prototype.onKeyUp=function(ce){this._currentMarker===void 0||this.notesArea!==void 0||ce.key!=="Delete"&&ce.key!=="Backspace"||this.deleteSelectedMarker()},ve.prototype.clientToLocalCoordinates=function(ce,le){var fe=this.markerImage.getBoundingClientRect();return{x:(ce-fe.left)/this.zoomLevel,y:(le-fe.top)/this.zoomLevel}},ve.prototype.onWindowResize=function(){this.positionUI()},ve.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ce=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ce+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},ve.prototype.addLicenseKey=function(ce){Oe.addKey(ce)},ve.prototype.addEventListener=function(ce,le){this.eventListeners.addEventListener(ce,le)},ve.prototype.removeEventListener=function(ce,le){this.eventListeners.removeEventListener(ce,le)},ve.prototype.renderState=function(ce){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ce),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ve.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ve.prototype.focus=function(){var ce=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(le){return le(new Kt(ce))}))},ve.prototype.blur=function(){var ce=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(le){return le(new Kt(ce))}))},ve.instanceCounter=0,ve}()},5630:function(Cn,mn,se){"use strict";var ae=se(54476),He=se(33885),ze=se(20068),rt=se(42978),Se=se(75931),ke=se(92310),Oe=se.n(ke),xe=se(18929),Ee=se(59301),Ze=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],yt=(0,Ee.forwardRef)(function(Be,Te){var dt,ot=Be.prefixCls,ft=ot===void 0?"rc-checkbox":ot,lt=Be.className,ht=Be.style,Vt=Be.checked,st=Be.disabled,vt=Be.defaultChecked,Ke=vt===void 0?!1:vt,pe=Be.type,$e=pe===void 0?"checkbox":pe,et=Be.title,qe=Be.onChange,Ye=(0,Se.Z)(Be,Ze),pt=(0,Ee.useRef)(null),at=(0,xe.Z)(Ke,{value:Vt}),Pt=(0,rt.Z)(at,2),it=Pt[0],Nt=Pt[1];(0,Ee.useImperativeHandle)(Te,function(){return{focus:function(){var jt;(jt=pt.current)===null||jt===void 0||jt.focus()},blur:function(){var jt;(jt=pt.current)===null||jt===void 0||jt.blur()},input:pt.current}});var rn=Oe()(ft,lt,(dt={},(0,ze.Z)(dt,"".concat(ft,"-checked"),it),(0,ze.Z)(dt,"".concat(ft,"-disabled"),st),dt)),Ut=function(jt){st||("checked"in Be||Nt(jt.target.checked),qe==null||qe({target:(0,He.Z)((0,He.Z)({},Be),{},{type:$e,checked:jt.target.checked}),stopPropagation:function(){jt.stopPropagation()},preventDefault:function(){jt.preventDefault()},nativeEvent:jt.nativeEvent}))};return Ee.createElement("span",{className:rn,title:et,style:ht},Ee.createElement("input",(0,ae.Z)({},Ye,{className:"".concat(ft,"-input"),ref:pt,onChange:Ut,disabled:st,checked:!!it,type:$e})),Ee.createElement("span",{className:"".concat(ft,"-inner")}))});mn.Z=yt},31561:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return $e}});var ae=se(54476),He=se(20068),ze=se(42978),rt=se(75931),Se=se(35593),ke=se(92310),Oe=se.n(ke),xe=se(8654),Ee=se(59301),Ze=se(10228),yt=se(16089),Be=Ze.Z.ESC,Te=Ze.Z.TAB;function dt(et){var qe=et.visible,Ye=et.triggerRef,pt=et.onVisibleChange,at=et.autoFocus,Pt=et.overlayRef,it=Ee.useRef(!1),Nt=function(){if(qe){var jt,Qe;(jt=Ye.current)===null||jt===void 0||(Qe=jt.focus)===null||Qe===void 0||Qe.call(jt),pt==null||pt(!1)}},rn=function(){var jt;return(jt=Pt.current)!==null&&jt!==void 0&&jt.focus?(Pt.current.focus(),it.current=!0,!0):!1},Ut=function(jt){switch(jt.keyCode){case Be:Nt();break;case Te:{var Qe=!1;it.current||(Qe=rn()),Qe?jt.preventDefault():Nt();break}}};Ee.useEffect(function(){return qe?(window.addEventListener("keydown",Ut),at&&(0,yt.Z)(rn,3),function(){window.removeEventListener("keydown",Ut),it.current=!1}):function(){it.current=!1}},[qe])}var ot=(0,Ee.forwardRef)(function(et,qe){var Ye=et.overlay,pt=et.arrow,at=et.prefixCls,Pt=(0,Ee.useMemo)(function(){var Nt;return typeof Ye=="function"?Nt=Ye():Nt=Ye,Nt},[Ye]),it=(0,xe.sQ)(qe,Pt==null?void 0:Pt.ref);return Ee.createElement(Ee.Fragment,null,pt&&Ee.createElement("div",{className:"".concat(at,"-arrow")}),Ee.cloneElement(Pt,{ref:(0,xe.Yr)(Pt)?it:void 0}))}),ft=ot,lt={adjustX:1,adjustY:1},ht=[0,0],Vt={topLeft:{points:["bl","tl"],overflow:lt,offset:[0,-4],targetOffset:ht},top:{points:["bc","tc"],overflow:lt,offset:[0,-4],targetOffset:ht},topRight:{points:["br","tr"],overflow:lt,offset:[0,-4],targetOffset:ht},bottomLeft:{points:["tl","bl"],overflow:lt,offset:[0,4],targetOffset:ht},bottom:{points:["tc","bc"],overflow:lt,offset:[0,4],targetOffset:ht},bottomRight:{points:["tr","br"],overflow:lt,offset:[0,4],targetOffset:ht}},st=Vt,vt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Ke(et,qe){var Ye,pt=et.arrow,at=pt===void 0?!1:pt,Pt=et.prefixCls,it=Pt===void 0?"rc-dropdown":Pt,Nt=et.transitionName,rn=et.animation,Ut=et.align,un=et.placement,jt=un===void 0?"bottomLeft":un,Qe=et.placements,Ce=Qe===void 0?st:Qe,nt=et.getPopupContainer,$t=et.showAction,Et=et.hideAction,Ve=et.overlayClassName,tt=et.overlayStyle,At=et.visible,fn=et.trigger,Kt=fn===void 0?["hover"]:fn,yn=et.autoFocus,kt=et.overlay,Bt=et.children,xt=et.onVisibleChange,ve=(0,rt.Z)(et,vt),ce=Ee.useState(),le=(0,ze.Z)(ce,2),fe=le[0],he=le[1],ue="visible"in et?At:fe,Pe=Ee.useRef(null),_e=Ee.useRef(null),Dt=Ee.useRef(null);Ee.useImperativeHandle(qe,function(){return Pe.current});var Lt=function(ut){he(ut),xt==null||xt(ut)};dt({visible:ue,triggerRef:Dt,onVisibleChange:Lt,autoFocus:yn,overlayRef:_e});var Ht=function(ut){var We=et.onOverlayClick;he(!1),We&&We(ut)},Qt=function(){return Ee.createElement(ft,{ref:_e,overlay:kt,prefixCls:it,arrow:at})},zt=function(){return typeof kt=="function"?Qt:Qt()},bn=function(){var ut=et.minOverlayWidthMatchTrigger,We=et.alignPoint;return"minOverlayWidthMatchTrigger"in et?ut:!We},In=function(){var ut=et.openClassName;return ut!==void 0?ut:"".concat(it,"-open")},Mt=Ee.cloneElement(Bt,{className:Oe()((Ye=Bt.props)===null||Ye===void 0?void 0:Ye.className,ue&&In()),ref:(0,xe.Yr)(Bt)?(0,xe.sQ)(Dt,Bt.ref):void 0}),tn=Et;return!tn&&Kt.indexOf("contextMenu")!==-1&&(tn=["click"]),Ee.createElement(Se.Z,(0,ae.Z)({builtinPlacements:Ce},ve,{prefixCls:it,ref:Pe,popupClassName:Oe()(Ve,(0,He.Z)({},"".concat(it,"-show-arrow"),at)),popupStyle:tt,action:Kt,showAction:$t,hideAction:tn,popupPlacement:jt,popupAlign:Ut,popupTransitionName:Nt,popupAnimation:rn,popupVisible:ue,stretch:bn()?"minWidth":"",popup:zt(),onPopupVisibleChange:Lt,onPopupClick:Ht,getPopupContainer:nt}),Mt)}var pe=Ee.forwardRef(Ke),$e=pe},93681:function(Cn,mn,se){"use strict";se.r(mn),se.d(mn,{BaseInput:function(){return Ze},default:function(){return Vt}});var ae=se(54476),He=se(33885),ze=se(20068),rt=se(76190),Se=se(92310),ke=se.n(Se),Oe=se(59301),xe=se(5643),Ee=function(vt){var Ke,pe,$e=vt.inputElement,et=vt.prefixCls,qe=vt.prefix,Ye=vt.suffix,pt=vt.addonBefore,at=vt.addonAfter,Pt=vt.className,it=vt.style,Nt=vt.disabled,rn=vt.readOnly,Ut=vt.focused,un=vt.triggerFocus,jt=vt.allowClear,Qe=vt.value,Ce=vt.handleReset,nt=vt.hidden,$t=vt.classes,Et=vt.classNames,Ve=vt.dataAttrs,tt=vt.styles,At=vt.components,fn=(At==null?void 0:At.affixWrapper)||"span",Kt=(At==null?void 0:At.groupWrapper)||"span",yn=(At==null?void 0:At.wrapper)||"span",kt=(At==null?void 0:At.groupAddon)||"span",Bt=(0,Oe.useRef)(null),xt=function(Qt){var zt;(zt=Bt.current)!==null&&zt!==void 0&&zt.contains(Qt.target)&&(un==null||un())},ve=function(){var Qt;if(!jt)return null;var zt=!Nt&&!rn&&Qe,bn="".concat(et,"-clear-icon"),In=(0,rt.Z)(jt)==="object"&&jt!==null&&jt!==void 0&&jt.clearIcon?jt.clearIcon:"\u2716";return Oe.createElement("span",{onClick:Ce,onMouseDown:function(tn){return tn.preventDefault()},className:ke()(bn,(Qt={},(0,ze.Z)(Qt,"".concat(bn,"-hidden"),!zt),(0,ze.Z)(Qt,"".concat(bn,"-has-suffix"),!!Ye),Qt)),role:"button",tabIndex:-1},In)},ce=(0,Oe.cloneElement)($e,{value:Qe,hidden:nt,className:ke()((Ke=$e.props)===null||Ke===void 0?void 0:Ke.className,!(0,xe.X3)(vt)&&!(0,xe.He)(vt)&&Pt)||null,style:(0,He.Z)((0,He.Z)({},(pe=$e.props)===null||pe===void 0?void 0:pe.style),!(0,xe.X3)(vt)&&!(0,xe.He)(vt)?it:{})});if((0,xe.X3)(vt)){var le,fe="".concat(et,"-affix-wrapper"),he=ke()(fe,(le={},(0,ze.Z)(le,"".concat(fe,"-disabled"),Nt),(0,ze.Z)(le,"".concat(fe,"-focused"),Ut),(0,ze.Z)(le,"".concat(fe,"-readonly"),rn),(0,ze.Z)(le,"".concat(fe,"-input-with-clear-btn"),Ye&&jt&&Qe),le),!(0,xe.He)(vt)&&Pt,$t==null?void 0:$t.affixWrapper,Et==null?void 0:Et.affixWrapper),ue=(Ye||jt)&&Oe.createElement("span",{className:ke()("".concat(et,"-suffix"),Et==null?void 0:Et.suffix),style:tt==null?void 0:tt.suffix},ve(),Ye);ce=Oe.createElement(fn,(0,ae.Z)({className:he,style:(0,He.Z)((0,He.Z)({},(0,xe.He)(vt)?void 0:it),tt==null?void 0:tt.affixWrapper),hidden:!(0,xe.He)(vt)&&nt,onClick:xt},Ve==null?void 0:Ve.affixWrapper,{ref:Bt}),qe&&Oe.createElement("span",{className:ke()("".concat(et,"-prefix"),Et==null?void 0:Et.prefix),style:tt==null?void 0:tt.prefix},qe),(0,Oe.cloneElement)($e,{value:Qe,hidden:null}),ue)}if((0,xe.He)(vt)){var Pe="".concat(et,"-group"),_e="".concat(Pe,"-addon"),Dt=ke()("".concat(et,"-wrapper"),Pe,$t==null?void 0:$t.wrapper),Lt=ke()("".concat(et,"-group-wrapper"),Pt,$t==null?void 0:$t.group);return Oe.createElement(Kt,{className:Lt,style:it,hidden:nt},Oe.createElement(yn,{className:Dt},pt&&Oe.createElement(kt,{className:_e},pt),(0,Oe.cloneElement)(ce,{hidden:null}),at&&Oe.createElement(kt,{className:_e},at)))}return ce},Ze=Ee,yt=se(94480),Be=se(42978),Te=se(75931),dt=se(18929),ot=se(2738),ft=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],lt=(0,Oe.forwardRef)(function(st,vt){var Ke=st.autoComplete,pe=st.onChange,$e=st.onFocus,et=st.onBlur,qe=st.onPressEnter,Ye=st.onKeyDown,pt=st.prefixCls,at=pt===void 0?"rc-input":pt,Pt=st.disabled,it=st.htmlSize,Nt=st.className,rn=st.maxLength,Ut=st.suffix,un=st.showCount,jt=st.type,Qe=jt===void 0?"text":jt,Ce=st.classes,nt=st.classNames,$t=st.styles,Et=(0,Te.Z)(st,ft),Ve=(0,dt.Z)(st.defaultValue,{value:st.value}),tt=(0,Be.Z)(Ve,2),At=tt[0],fn=tt[1],Kt=(0,Oe.useState)(!1),yn=(0,Be.Z)(Kt,2),kt=yn[0],Bt=yn[1],xt=(0,Oe.useRef)(null),ve=function(Lt){xt.current&&(0,xe.nH)(xt.current,Lt)};(0,Oe.useImperativeHandle)(vt,function(){return{focus:ve,blur:function(){var Lt;(Lt=xt.current)===null||Lt===void 0||Lt.blur()},setSelectionRange:function(Lt,Ht,Qt){var zt;(zt=xt.current)===null||zt===void 0||zt.setSelectionRange(Lt,Ht,Qt)},select:function(){var Lt;(Lt=xt.current)===null||Lt===void 0||Lt.select()},input:xt.current}}),(0,Oe.useEffect)(function(){Bt(function(Dt){return Dt&&Pt?!1:Dt})},[Pt]);var ce=function(Lt){st.value===void 0&&fn(Lt.target.value),xt.current&&(0,xe.rJ)(xt.current,Lt,pe)},le=function(Lt){qe&&Lt.key==="Enter"&&qe(Lt),Ye==null||Ye(Lt)},fe=function(Lt){Bt(!0),$e==null||$e(Lt)},he=function(Lt){Bt(!1),et==null||et(Lt)},ue=function(Lt){fn(""),ve(),xt.current&&(0,xe.rJ)(xt.current,Lt,pe)},Pe=function(){var Lt=(0,ot.Z)(st,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return Oe.createElement("input",(0,ae.Z)({autoComplete:Ke},Lt,{onChange:ce,onFocus:fe,onBlur:he,onKeyDown:le,className:ke()(at,(0,ze.Z)({},"".concat(at,"-disabled"),Pt),nt==null?void 0:nt.input),style:$t==null?void 0:$t.input,ref:xt,size:it,type:Qe}))},_e=function(){var Lt=Number(rn)>0;if(Ut||un){var Ht=(0,xe.D7)(At),Qt=(0,yt.Z)(Ht).length,zt=(0,rt.Z)(un)==="object"?un.formatter({value:Ht,count:Qt,maxLength:rn}):"".concat(Qt).concat(Lt?" / ".concat(rn):"");return Oe.createElement(Oe.Fragment,null,!!un&&Oe.createElement("span",{className:ke()("".concat(at,"-show-count-suffix"),(0,ze.Z)({},"".concat(at,"-show-count-has-suffix"),!!Ut),nt==null?void 0:nt.count),style:(0,He.Z)({},$t==null?void 0:$t.count)},zt),Ut)}return null};return Oe.createElement(Ze,(0,ae.Z)({},Et,{prefixCls:at,className:Nt,inputElement:Pe(),handleReset:ue,value:(0,xe.D7)(At),focused:kt,triggerFocus:ve,suffix:_e(),disabled:Pt,classes:Ce,classNames:nt,styles:$t}))}),ht=lt,Vt=ht},5643:function(Cn,mn,se){"use strict";se.d(mn,{D7:function(){return Se},He:function(){return ae},X3:function(){return He},nH:function(){return rt},rJ:function(){return ze}});function ae(ke){return!!(ke.addonBefore||ke.addonAfter)}function He(ke){return!!(ke.prefix||ke.suffix||ke.allowClear)}function ze(ke,Oe,xe,Ee){if(xe){var Ze=Oe;if(Oe.type==="click"){var yt=ke.cloneNode(!0);Ze=Object.create(Oe,{target:{value:yt},currentTarget:{value:yt}}),yt.value="",xe(Ze);return}if(Ee!==void 0){Ze=Object.create(Oe,{target:{value:ke},currentTarget:{value:ke}}),ke.value=Ee,xe(Ze);return}xe(Ze)}}function rt(ke,Oe){if(ke){ke.focus(Oe);var xe=Oe||{},Ee=xe.cursor;if(Ee){var Ze=ke.value.length;switch(Ee){case"start":ke.setSelectionRange(0,0);break;case"end":ke.setSelectionRange(Ze,Ze);break;default:ke.setSelectionRange(0,Ze)}}}}function Se(ke){return typeof ke=="undefined"||ke===null?"":String(ke)}},15285:function(Cn,mn,se){"use strict";se.d(mn,{iz:function(){return jn},ck:function(){return pi},BW:function(){return Hn},sN:function(){return pi},Wd:function(){return St},ZP:function(){return An},Xl:function(){return Ye}});var ae=se(54476),He=se(20068),ze=se(33885),rt=se(94480),Se=se(42978),ke=se(75931),Oe=se(92310),xe=se.n(Oe),Ee=se(83836),Ze=se(18929),yt=se(13697),Be=se(48736),Te=se(59301),dt=se(4676),ot=Te.createContext(null);function ft(Ge,Tt){return Ge===void 0?null:"".concat(Ge,"-").concat(Tt)}function lt(Ge){var Tt=Te.useContext(ot);return ft(Tt,Ge)}var ht=se(80547),Vt=["children","locked"],st=Te.createContext(null);function vt(Ge,Tt){var Ot=(0,ze.Z)({},Ge);return Object.keys(Tt).forEach(function(ln){var Jt=Tt[ln];Jt!==void 0&&(Ot[ln]=Jt)}),Ot}function Ke(Ge){var Tt=Ge.children,Ot=Ge.locked,ln=(0,ke.Z)(Ge,Vt),Jt=Te.useContext(st),dn=(0,ht.Z)(function(){return vt(Jt,ln)},[Jt,ln],function(cn,Fn){return!Ot&&(cn[0]!==Fn[0]||!(0,yt.Z)(cn[1],Fn[1],!0))});return Te.createElement(st.Provider,{value:dn},Tt)}var pe=[],$e=Te.createContext(null);function et(){return Te.useContext($e)}var qe=Te.createContext(pe);function Ye(Ge){var Tt=Te.useContext(qe);return Te.useMemo(function(){return Ge!==void 0?[].concat((0,rt.Z)(Tt),[Ge]):Tt},[Tt,Ge])}var pt=Te.createContext(null),at=Te.createContext({}),Pt=at,it=se(29194);function Nt(Ge){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,it.Z)(Ge)){var Ot=Ge.nodeName.toLowerCase(),ln=["input","select","textarea","button"].includes(Ot)||Ge.isContentEditable||Ot==="a"&&!!Ge.getAttribute("href"),Jt=Ge.getAttribute("tabindex"),dn=Number(Jt),cn=null;return Jt&&!Number.isNaN(dn)?cn=dn:ln&&cn===null&&(cn=0),ln&&Ge.disabled&&(cn=null),cn!==null&&(cn>=0||Tt&&cn<0)}return!1}function rn(Ge){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ot=(0,rt.Z)(Ge.querySelectorAll("*")).filter(function(ln){return Nt(ln,Tt)});return Nt(Ge,Tt)&&Ot.unshift(Ge),Ot}var Ut=null;function un(){Ut=document.activeElement}function jt(){Ut=null}function Qe(){if(Ut)try{Ut.focus()}catch(Ge){}}function Ce(Ge,Tt){if(Tt.keyCode===9){var Ot=rn(Ge),ln=Ot[Tt.shiftKey?0:Ot.length-1],Jt=ln===document.activeElement||Ge===document.activeElement;if(Jt){var dn=Ot[Tt.shiftKey?Ot.length-1:0];dn.focus(),Tt.preventDefault()}}}var nt=se(10228),$t=se(16089),Et=nt.Z.LEFT,Ve=nt.Z.RIGHT,tt=nt.Z.UP,At=nt.Z.DOWN,fn=nt.Z.ENTER,Kt=nt.Z.ESC,yn=nt.Z.HOME,kt=nt.Z.END,Bt=[tt,At,Et,Ve];function xt(Ge,Tt,Ot,ln){var Jt,dn,cn,Fn,Kn="prev",qn="next",br="children",Tr="parent";if(Ge==="inline"&&ln===fn)return{inlineTrigger:!0};var jr=(Jt={},(0,He.Z)(Jt,tt,Kn),(0,He.Z)(Jt,At,qn),Jt),Fr=(dn={},(0,He.Z)(dn,Et,Ot?qn:Kn),(0,He.Z)(dn,Ve,Ot?Kn:qn),(0,He.Z)(dn,At,br),(0,He.Z)(dn,fn,br),dn),tr=(cn={},(0,He.Z)(cn,tt,Kn),(0,He.Z)(cn,At,qn),(0,He.Z)(cn,fn,br),(0,He.Z)(cn,Kt,Tr),(0,He.Z)(cn,Et,Ot?br:Tr),(0,He.Z)(cn,Ve,Ot?Tr:br),cn),_r={inline:jr,horizontal:Fr,vertical:tr,inlineSub:jr,horizontalSub:tr,verticalSub:tr},Hr=(Fn=_r["".concat(Ge).concat(Tt?"":"Sub")])===null||Fn===void 0?void 0:Fn[ln];switch(Hr){case Kn:return{offset:-1,sibling:!0};case qn:return{offset:1,sibling:!0};case Tr:return{offset:-1,sibling:!1};case br:return{offset:1,sibling:!1};default:return null}}function ve(Ge){for(var Tt=Ge;Tt;){if(Tt.getAttribute("data-menu-list"))return Tt;Tt=Tt.parentElement}return null}function ce(Ge,Tt){for(var Ot=Ge||document.activeElement;Ot;){if(Tt.has(Ot))return Ot;Ot=Ot.parentElement}return null}function le(Ge,Tt){var Ot=rn(Ge,!0);return Ot.filter(function(ln){return Tt.has(ln)})}function fe(Ge,Tt,Ot){var ln=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Ge)return null;var Jt=le(Ge,Tt),dn=Jt.length,cn=Jt.findIndex(function(Fn){return Ot===Fn});return ln<0?cn===-1?cn=dn-1:cn-=1:ln>0&&(cn+=1),cn=(cn+dn)%dn,Jt[cn]}var he=function(Tt,Ot){var ln=new Set,Jt=new Map,dn=new Map;return Tt.forEach(function(cn){var Fn=document.querySelector("[data-menu-id='".concat(ft(Ot,cn),"']"));Fn&&(ln.add(Fn),dn.set(Fn,cn),Jt.set(cn,Fn))}),{elements:ln,key2element:Jt,element2key:dn}};function ue(Ge,Tt,Ot,ln,Jt,dn,cn,Fn,Kn,qn){var br=Te.useRef(),Tr=Te.useRef();Tr.current=Tt;var jr=function(){$t.Z.cancel(br.current)};return Te.useEffect(function(){return function(){jr()}},[]),function(Fr){var tr=Fr.which;if([].concat(Bt,[fn,Kt,yn,kt]).includes(tr)){var _r=dn(),Hr=he(_r,ln),qr=Hr,Mr=qr.elements,Ir=qr.key2element,$r=qr.element2key,Wr=Ir.get(Tt),wi=ce(Wr,Mr),Ii=$r.get(wi),Zr=xt(Ge,cn(Ii,!0).length===1,Ot,tr);if(!Zr&&tr!==yn&&tr!==kt)return;(Bt.includes(tr)||[yn,kt].includes(tr))&&Fr.preventDefault();var Xn=function(ti){if(ti){var Gi=ti,Sr=ti.querySelector("a");Sr!=null&&Sr.getAttribute("href")&&(Gi=Sr);var Or=$r.get(ti);Fn(Or),jr(),br.current=(0,$t.Z)(function(){Tr.current===Or&&Gi.focus()})}};if([yn,kt].includes(tr)||Zr.sibling||!wi){var Yn;!wi||Ge==="inline"?Yn=Jt.current:Yn=ve(wi);var Xr,Nr=le(Yn,Mr);tr===yn?Xr=Nr[0]:tr===kt?Xr=Nr[Nr.length-1]:Xr=fe(Yn,Mr,wi,Zr.offset),Xn(Xr)}else if(Zr.inlineTrigger)Kn(Ii);else if(Zr.offset>0)Kn(Ii,!0),jr(),br.current=(0,$t.Z)(function(){Hr=he(_r,ln);var Gr=wi.getAttribute("aria-controls"),ti=document.getElementById(Gr),Gi=fe(ti,Hr.elements);Xn(Gi)},5);else if(Zr.offset<0){var oi=cn(Ii,!0),ci=oi[oi.length-2],di=Ir.get(ci);Kn(ci,!1),Xn(di)}}qn==null||qn(Fr)}}function Pe(Ge){Promise.resolve().then(Ge)}var _e="__RC_UTIL_PATH_SPLIT__",Dt=function(Tt){return Tt.join(_e)},Lt=function(Tt){return Tt.split(_e)},Ht="rc-menu-more";function Qt(){var Ge=Te.useState({}),Tt=(0,Se.Z)(Ge,2),Ot=Tt[1],ln=(0,Te.useRef)(new Map),Jt=(0,Te.useRef)(new Map),dn=Te.useState([]),cn=(0,Se.Z)(dn,2),Fn=cn[0],Kn=cn[1],qn=(0,Te.useRef)(0),br=(0,Te.useRef)(!1),Tr=function(){br.current||Ot({})},jr=(0,Te.useCallback)(function(Ir,$r){var Wr=Dt($r);Jt.current.set(Wr,Ir),ln.current.set(Ir,Wr),qn.current+=1;var wi=qn.current;Pe(function(){wi===qn.current&&Tr()})},[]),Fr=(0,Te.useCallback)(function(Ir,$r){var Wr=Dt($r);Jt.current.delete(Wr),ln.current.delete(Ir)},[]),tr=(0,Te.useCallback)(function(Ir){Kn(Ir)},[]),_r=(0,Te.useCallback)(function(Ir,$r){var Wr=ln.current.get(Ir)||"",wi=Lt(Wr);return $r&&Fn.includes(wi[0])&&wi.unshift(Ht),wi},[Fn]),Hr=(0,Te.useCallback)(function(Ir,$r){return Ir.some(function(Wr){var wi=_r(Wr,!0);return wi.includes($r)})},[_r]),qr=function(){var $r=(0,rt.Z)(ln.current.keys());return Fn.length&&$r.push(Ht),$r},Mr=(0,Te.useCallback)(function(Ir){var $r="".concat(ln.current.get(Ir)).concat(_e),Wr=new Set;return(0,rt.Z)(Jt.current.keys()).forEach(function(wi){wi.startsWith($r)&&Wr.add(Jt.current.get(wi))}),Wr},[]);return Te.useEffect(function(){return function(){br.current=!0}},[]),{registerPath:jr,unregisterPath:Fr,refreshOverflowKeys:tr,isSubPathKey:Hr,getKeyPath:_r,getKeys:qr,getSubPathKeys:Mr}}function zt(Ge){var Tt=Te.useRef(Ge);Tt.current=Ge;var Ot=Te.useCallback(function(){for(var ln,Jt=arguments.length,dn=new Array(Jt),cn=0;cn<Jt;cn++)dn[cn]=arguments[cn];return(ln=Tt.current)===null||ln===void 0?void 0:ln.call.apply(ln,[Tt].concat(dn))},[]);return Ge?Ot:void 0}var bn=Math.random().toFixed(5).toString().slice(2),In=0;function Mt(Ge){var Tt=(0,Ze.Z)(Ge,{value:Ge}),Ot=(0,Se.Z)(Tt,2),ln=Ot[0],Jt=Ot[1];return Te.useEffect(function(){In+=1;var dn="".concat(bn,"-").concat(In);Jt("rc-menu-uuid-".concat(dn))},[]),ln}var tn=se(67732),Gn=se(83652),ut=se(42403),We=se(158),Ue=se(2738),nn=se(8654);function gn(Ge,Tt,Ot,ln){var Jt=Te.useContext(st),dn=Jt.activeKey,cn=Jt.onActive,Fn=Jt.onInactive,Kn={active:dn===Ge};return Tt||(Kn.onMouseEnter=function(qn){Ot==null||Ot({key:Ge,domEvent:qn}),cn(Ge)},Kn.onMouseLeave=function(qn){ln==null||ln({key:Ge,domEvent:qn}),Fn(Ge)}),Kn}function xn(Ge){var Tt=Te.useContext(st),Ot=Tt.mode,ln=Tt.rtl,Jt=Tt.inlineIndent;if(Ot!=="inline")return null;var dn=Ge;return ln?{paddingRight:dn*Jt}:{paddingLeft:dn*Jt}}function Un(Ge){var Tt=Ge.icon,Ot=Ge.props,ln=Ge.children,Jt;return Tt===null||Tt===!1?null:(typeof Tt=="function"?Jt=Te.createElement(Tt,(0,ze.Z)({},Ot)):typeof Tt!="boolean"&&(Jt=Tt),Jt||ln||null)}var Pn=["item"];function Vn(Ge){var Tt=Ge.item,Ot=(0,ke.Z)(Ge,Pn);return Object.defineProperty(Ot,"item",{get:function(){return(0,Be.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Tt}}),Ot}var dr=["title","attribute","elementRef"],gr=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],_n=["active"],wr=function(Ge){(0,ut.Z)(Ot,Ge);var Tt=(0,We.Z)(Ot);function Ot(){return(0,tn.Z)(this,Ot),Tt.apply(this,arguments)}return(0,Gn.Z)(Ot,[{key:"render",value:function(){var Jt=this.props,dn=Jt.title,cn=Jt.attribute,Fn=Jt.elementRef,Kn=(0,ke.Z)(Jt,dr),qn=(0,Ue.Z)(Kn,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Be.ZP)(!cn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),Te.createElement(Ee.Z.Item,(0,ae.Z)({},cn,{title:typeof dn=="string"?dn:void 0},qn,{ref:Fn}))}}]),Ot}(Te.Component),Jr=Te.forwardRef(function(Ge,Tt){var Ot,ln=Ge.style,Jt=Ge.className,dn=Ge.eventKey,cn=Ge.warnKey,Fn=Ge.disabled,Kn=Ge.itemIcon,qn=Ge.children,br=Ge.role,Tr=Ge.onMouseEnter,jr=Ge.onMouseLeave,Fr=Ge.onClick,tr=Ge.onKeyDown,_r=Ge.onFocus,Hr=(0,ke.Z)(Ge,gr),qr=lt(dn),Mr=Te.useContext(st),Ir=Mr.prefixCls,$r=Mr.onItemClick,Wr=Mr.disabled,wi=Mr.overflowDisabled,Ii=Mr.itemIcon,Zr=Mr.selectedKeys,Xn=Mr.onActive,Yn=Te.useContext(Pt),Xr=Yn._internalRenderMenuItem,Nr="".concat(Ir,"-item"),oi=Te.useRef(),ci=Te.useRef(),di=Wr||Fn,Gr=(0,nn.x1)(Tt,ci),ti=Ye(dn),Gi=function(kr){return{key:dn,keyPath:(0,rt.Z)(ti).reverse(),item:oi.current,domEvent:kr}},Sr=Kn||Ii,Or=gn(dn,di,Tr,jr),fi=Or.active,Ei=(0,ke.Z)(Or,_n),Xi=Zr.includes(dn),Ji=xn(ti.length),ji=function(kr){if(!di){var Ur=Gi(kr);Fr==null||Fr(Vn(Ur)),$r(Ur)}},Ni=function(kr){if(tr==null||tr(kr),kr.which===nt.Z.ENTER){var Ur=Gi(kr);Fr==null||Fr(Vn(Ur)),$r(Ur)}},ua=function(kr){Xn(dn),_r==null||_r(kr)},ca={};Ge.role==="option"&&(ca["aria-selected"]=Xi);var Lr=Te.createElement(wr,(0,ae.Z)({ref:oi,elementRef:Gr,role:br===null?"none":br||"menuitem",tabIndex:Fn?null:-1,"data-menu-id":wi&&qr?null:qr},Hr,Ei,ca,{component:"li","aria-disabled":Fn,style:(0,ze.Z)((0,ze.Z)({},Ji),ln),className:xe()(Nr,(Ot={},(0,He.Z)(Ot,"".concat(Nr,"-active"),fi),(0,He.Z)(Ot,"".concat(Nr,"-selected"),Xi),(0,He.Z)(Ot,"".concat(Nr,"-disabled"),di),Ot),Jt),onClick:ji,onKeyDown:Ni,onFocus:ua}),qn,Te.createElement(Un,{props:(0,ze.Z)((0,ze.Z)({},Ge),{},{isSelected:Xi}),icon:Sr}));return Xr&&(Lr=Xr(Lr,Ge,{selected:Xi})),Lr});function pr(Ge,Tt){var Ot=Ge.eventKey,ln=et(),Jt=Ye(Ot);return Te.useEffect(function(){if(ln)return ln.registerPath(Ot,Jt),function(){ln.unregisterPath(Ot,Jt)}},[Jt]),ln?null:Te.createElement(Jr,(0,ae.Z)({},Ge,{ref:Tt}))}var pi=Te.forwardRef(pr),Rr=["className","children"],Qr=function(Tt,Ot){var ln=Tt.className,Jt=Tt.children,dn=(0,ke.Z)(Tt,Rr),cn=Te.useContext(st),Fn=cn.prefixCls,Kn=cn.mode,qn=cn.rtl;return Te.createElement("ul",(0,ae.Z)({className:xe()(Fn,qn&&"".concat(Fn,"-rtl"),"".concat(Fn,"-sub"),"".concat(Fn,"-").concat(Kn==="inline"?"inline":"vertical"),ln),role:"menu"},dn,{"data-menu-list":!0,ref:Ot}),Jt)},pn=Te.forwardRef(Qr);pn.displayName="SubMenuList";var Zn=pn,rr=se(11592);function ur(Ge,Tt){return(0,rr.Z)(Ge).map(function(Ot,ln){if(Te.isValidElement(Ot)){var Jt,dn,cn=Ot.key,Fn=(Jt=(dn=Ot.props)===null||dn===void 0?void 0:dn.eventKey)!==null&&Jt!==void 0?Jt:cn,Kn=Fn==null;Kn&&(Fn="tmp_key-".concat([].concat((0,rt.Z)(Tt),[ln]).join("-")));var qn={key:Fn,eventKey:Fn};return Te.cloneElement(Ot,qn)}return Ot})}var nr=se(35593),fr={adjustX:1,adjustY:1},sr={topLeft:{points:["bl","tl"],overflow:fr},topRight:{points:["br","tr"],overflow:fr},bottomLeft:{points:["tl","bl"],overflow:fr},bottomRight:{points:["tr","br"],overflow:fr},leftTop:{points:["tr","tl"],overflow:fr},leftBottom:{points:["br","bl"],overflow:fr},rightTop:{points:["tl","tr"],overflow:fr},rightBottom:{points:["bl","br"],overflow:fr}},Br={topLeft:{points:["bl","tl"],overflow:fr},topRight:{points:["br","tr"],overflow:fr},bottomLeft:{points:["tl","bl"],overflow:fr},bottomRight:{points:["tr","br"],overflow:fr},rightTop:{points:["tr","tl"],overflow:fr},rightBottom:{points:["br","bl"],overflow:fr},leftTop:{points:["tl","tr"],overflow:fr},leftBottom:{points:["bl","br"],overflow:fr}},ir=null;function Bn(Ge,Tt,Ot){if(Tt)return Tt;if(Ot)return Ot[Ge]||Ot.other}var Cr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function wt(Ge){var Tt=Ge.prefixCls,Ot=Ge.visible,ln=Ge.children,Jt=Ge.popup,dn=Ge.popupStyle,cn=Ge.popupClassName,Fn=Ge.popupOffset,Kn=Ge.disabled,qn=Ge.mode,br=Ge.onVisibleChange,Tr=Te.useContext(st),jr=Tr.getPopupContainer,Fr=Tr.rtl,tr=Tr.subMenuOpenDelay,_r=Tr.subMenuCloseDelay,Hr=Tr.builtinPlacements,qr=Tr.triggerSubMenuAction,Mr=Tr.forceSubMenuRender,Ir=Tr.rootClassName,$r=Tr.motion,Wr=Tr.defaultMotions,wi=Te.useState(!1),Ii=(0,Se.Z)(wi,2),Zr=Ii[0],Xn=Ii[1],Yn=Fr?(0,ze.Z)((0,ze.Z)({},Br),Hr):(0,ze.Z)((0,ze.Z)({},sr),Hr),Xr=Cr[qn],Nr=Bn(qn,$r,Wr),oi=Te.useRef(Nr);qn!=="inline"&&(oi.current=Nr);var ci=(0,ze.Z)((0,ze.Z)({},oi.current),{},{leavedClassName:"".concat(Tt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),di=Te.useRef();return Te.useEffect(function(){return di.current=(0,$t.Z)(function(){Xn(Ot)}),function(){$t.Z.cancel(di.current)}},[Ot]),Te.createElement(nr.Z,{prefixCls:Tt,popupClassName:xe()("".concat(Tt,"-popup"),(0,He.Z)({},"".concat(Tt,"-rtl"),Fr),cn,Ir),stretch:qn==="horizontal"?"minWidth":null,getPopupContainer:jr,builtinPlacements:Yn,popupPlacement:Xr,popupVisible:Zr,popup:Jt,popupStyle:dn,popupAlign:Fn&&{offset:Fn},action:Kn?[]:[qr],mouseEnterDelay:tr,mouseLeaveDelay:_r,onPopupVisibleChange:br,forceRender:Mr,popupMotion:ci,fresh:!0},ln)}var Fe=se(77900);function je(Ge){var Tt=Ge.id,Ot=Ge.open,ln=Ge.keyPath,Jt=Ge.children,dn="inline",cn=Te.useContext(st),Fn=cn.prefixCls,Kn=cn.forceSubMenuRender,qn=cn.motion,br=cn.defaultMotions,Tr=cn.mode,jr=Te.useRef(!1);jr.current=Tr===dn;var Fr=Te.useState(!jr.current),tr=(0,Se.Z)(Fr,2),_r=tr[0],Hr=tr[1],qr=jr.current?Ot:!1;Te.useEffect(function(){jr.current&&Hr(!1)},[Tr]);var Mr=(0,ze.Z)({},Bn(dn,qn,br));ln.length>1&&(Mr.motionAppear=!1);var Ir=Mr.onVisibleChanged;return Mr.onVisibleChanged=function($r){return!jr.current&&!$r&&Hr(!0),Ir==null?void 0:Ir($r)},_r?null:Te.createElement(Ke,{mode:dn,locked:!jr.current},Te.createElement(Fe.default,(0,ae.Z)({visible:qr},Mr,{forceRender:Kn,removeOnLeave:!1,leavedClassName:"".concat(Fn,"-hidden")}),function($r){var Wr=$r.className,wi=$r.style;return Te.createElement(Zn,{id:Tt,className:Wr,style:wi},Jt)}))}var Re=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ne=["active"],ct=function(Tt){var Ot,ln=Tt.style,Jt=Tt.className,dn=Tt.title,cn=Tt.eventKey,Fn=Tt.warnKey,Kn=Tt.disabled,qn=Tt.internalPopupClose,br=Tt.children,Tr=Tt.itemIcon,jr=Tt.expandIcon,Fr=Tt.popupClassName,tr=Tt.popupOffset,_r=Tt.popupStyle,Hr=Tt.onClick,qr=Tt.onMouseEnter,Mr=Tt.onMouseLeave,Ir=Tt.onTitleClick,$r=Tt.onTitleMouseEnter,Wr=Tt.onTitleMouseLeave,wi=(0,ke.Z)(Tt,Re),Ii=lt(cn),Zr=Te.useContext(st),Xn=Zr.prefixCls,Yn=Zr.mode,Xr=Zr.openKeys,Nr=Zr.disabled,oi=Zr.overflowDisabled,ci=Zr.activeKey,di=Zr.selectedKeys,Gr=Zr.itemIcon,ti=Zr.expandIcon,Gi=Zr.onItemClick,Sr=Zr.onOpenChange,Or=Zr.onActive,fi=Te.useContext(Pt),Ei=fi._internalRenderSubMenuItem,Xi=Te.useContext(pt),Ji=Xi.isSubPathKey,ji=Ye(),Ni="".concat(Xn,"-submenu"),ua=Nr||Kn,ca=Te.useRef(),Lr=Te.useRef(),Dr=Tr!=null?Tr:Gr,kr=jr!=null?jr:ti,Ur=Xr.includes(cn),Ti=!oi&&Ur,pa=Ji(di,cn),ga=gn(cn,ua,$r,Wr),ia=ga.active,Qi=(0,ke.Z)(ga,Ne),ya=Te.useState(!1),ja=(0,Se.Z)(ya,2),Ha=ja[0],mo=ja[1],Pi=function(ui){ua||mo(ui)},zi=function(ui){Pi(!0),qr==null||qr({key:cn,domEvent:ui})},Aa=function(ui){Pi(!1),Mr==null||Mr({key:cn,domEvent:ui})},Yi=Te.useMemo(function(){return ia||(Yn!=="inline"?Ha||Ji([ci],cn):!1)},[Yn,ia,ci,Ha,cn,Ji]),$i=xn(ji.length),wn=function(ui){ua||(Ir==null||Ir({key:cn,domEvent:ui}),Yn==="inline"&&Sr(cn,!Ur))},hn=zt(function(Di){Hr==null||Hr(Vn(Di)),Gi(Di)}),on=function(ui){Yn!=="inline"&&Sr(cn,ui)},Rn=function(){Or(cn)},or=Ii&&"".concat(Ii,"-popup"),lr=Te.createElement("div",(0,ae.Z)({role:"menuitem",style:$i,className:"".concat(Ni,"-title"),tabIndex:ua?null:-1,ref:ca,title:typeof dn=="string"?dn:null,"data-menu-id":oi&&Ii?null:Ii,"aria-expanded":Ti,"aria-haspopup":!0,"aria-controls":or,"aria-disabled":ua,onClick:wn,onFocus:Rn},Qi),dn,Te.createElement(Un,{icon:Yn!=="horizontal"?kr:void 0,props:(0,ze.Z)((0,ze.Z)({},Tt),{},{isOpen:Ti,isSubMenu:!0})},Te.createElement("i",{className:"".concat(Ni,"-arrow")}))),On=Te.useRef(Yn);if(Yn!=="inline"&&ji.length>1?On.current="vertical":On.current=Yn,!oi){var Er=On.current;lr=Te.createElement(wt,{mode:Er,prefixCls:Ni,visible:!qn&&Ti&&Yn!=="inline",popupClassName:Fr,popupOffset:tr,popupStyle:_r,popup:Te.createElement(Ke,{mode:Er==="horizontal"?"vertical":Er},Te.createElement(Zn,{id:or,ref:Lr},br)),disabled:ua,onVisibleChange:on},lr)}var si=Te.createElement(Ee.Z.Item,(0,ae.Z)({role:"none"},wi,{component:"li",style:ln,className:xe()(Ni,"".concat(Ni,"-").concat(Yn),Jt,(Ot={},(0,He.Z)(Ot,"".concat(Ni,"-open"),Ti),(0,He.Z)(Ot,"".concat(Ni,"-active"),Yi),(0,He.Z)(Ot,"".concat(Ni,"-selected"),pa),(0,He.Z)(Ot,"".concat(Ni,"-disabled"),ua),Ot)),onMouseEnter:zi,onMouseLeave:Aa}),lr,!oi&&Te.createElement(je,{id:or,open:Ti,keyPath:ji},br));return Ei&&(si=Ei(si,Tt,{selected:pa,active:Yi,open:Ti,disabled:ua})),Te.createElement(Ke,{onItemClick:hn,mode:Yn==="horizontal"?"vertical":Yn,itemIcon:Dr,expandIcon:kr},si)};function St(Ge){var Tt=Ge.eventKey,Ot=Ge.children,ln=Ye(Tt),Jt=ur(Ot,ln),dn=et();Te.useEffect(function(){if(dn)return dn.registerPath(Tt,ln),function(){dn.unregisterPath(Tt,ln)}},[ln]);var cn;return dn?cn=Jt:cn=Te.createElement(ct,Ge,Jt),Te.createElement(qe.Provider,{value:ln},cn)}var an=se(76190),Gt=["className","title","eventKey","children"],Zt=["children"],Dn=function(Tt){var Ot=Tt.className,ln=Tt.title,Jt=Tt.eventKey,dn=Tt.children,cn=(0,ke.Z)(Tt,Gt),Fn=Te.useContext(st),Kn=Fn.prefixCls,qn="".concat(Kn,"-item-group");return Te.createElement("li",(0,ae.Z)({role:"presentation"},cn,{onClick:function(Tr){return Tr.stopPropagation()},className:xe()(qn,Ot)}),Te.createElement("div",{role:"presentation",className:"".concat(qn,"-title"),title:typeof ln=="string"?ln:void 0},ln),Te.createElement("ul",{role:"group",className:"".concat(qn,"-list")},dn))};function Hn(Ge){var Tt=Ge.children,Ot=(0,ke.Z)(Ge,Zt),ln=Ye(Ot.eventKey),Jt=ur(Tt,ln),dn=et();return dn?Jt:Te.createElement(Dn,(0,Ue.Z)(Ot,["warnKey"]),Jt)}function jn(Ge){var Tt=Ge.className,Ot=Ge.style,ln=Te.useContext(st),Jt=ln.prefixCls,dn=et();return dn?null:Te.createElement("li",{role:"separator",className:xe()("".concat(Jt,"-item-divider"),Tt),style:Ot})}var qt=["label","children","key","type"];function Sn(Ge){return(Ge||[]).map(function(Tt,Ot){if(Tt&&(0,an.Z)(Tt)==="object"){var ln=Tt,Jt=ln.label,dn=ln.children,cn=ln.key,Fn=ln.type,Kn=(0,ke.Z)(ln,qt),qn=cn!=null?cn:"tmp-".concat(Ot);return dn||Fn==="group"?Fn==="group"?Te.createElement(Hn,(0,ae.Z)({key:qn},Kn,{title:Jt}),Sn(dn)):Te.createElement(St,(0,ae.Z)({key:qn},Kn,{title:Jt}),Sn(dn)):Fn==="divider"?Te.createElement(jn,(0,ae.Z)({key:qn},Kn)):Te.createElement(pi,(0,ae.Z)({key:qn},Kn),Jt)}return null}).filter(function(Tt){return Tt})}function Ct(Ge,Tt,Ot){var ln=Ge;return Tt&&(ln=Sn(Tt)),ur(ln,Ot)}var Rt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Xt=[],en=Te.forwardRef(function(Ge,Tt){var Ot,ln,Jt=Ge,dn=Jt.prefixCls,cn=dn===void 0?"rc-menu":dn,Fn=Jt.rootClassName,Kn=Jt.style,qn=Jt.className,br=Jt.tabIndex,Tr=br===void 0?0:br,jr=Jt.items,Fr=Jt.children,tr=Jt.direction,_r=Jt.id,Hr=Jt.mode,qr=Hr===void 0?"vertical":Hr,Mr=Jt.inlineCollapsed,Ir=Jt.disabled,$r=Jt.disabledOverflow,Wr=Jt.subMenuOpenDelay,wi=Wr===void 0?.1:Wr,Ii=Jt.subMenuCloseDelay,Zr=Ii===void 0?.1:Ii,Xn=Jt.forceSubMenuRender,Yn=Jt.defaultOpenKeys,Xr=Jt.openKeys,Nr=Jt.activeKey,oi=Jt.defaultActiveFirst,ci=Jt.selectable,di=ci===void 0?!0:ci,Gr=Jt.multiple,ti=Gr===void 0?!1:Gr,Gi=Jt.defaultSelectedKeys,Sr=Jt.selectedKeys,Or=Jt.onSelect,fi=Jt.onDeselect,Ei=Jt.inlineIndent,Xi=Ei===void 0?24:Ei,Ji=Jt.motion,ji=Jt.defaultMotions,Ni=Jt.triggerSubMenuAction,ua=Ni===void 0?"hover":Ni,ca=Jt.builtinPlacements,Lr=Jt.itemIcon,Dr=Jt.expandIcon,kr=Jt.overflowedIndicator,Ur=kr===void 0?"...":kr,Ti=Jt.overflowedIndicatorPopupClassName,pa=Jt.getPopupContainer,ga=Jt.onClick,ia=Jt.onOpenChange,Qi=Jt.onKeyDown,ya=Jt.openAnimation,ja=Jt.openTransitionName,Ha=Jt._internalRenderMenuItem,mo=Jt._internalRenderSubMenuItem,Pi=(0,ke.Z)(Jt,Rt),zi=Te.useMemo(function(){return Ct(Fr,jr,Xt)},[Fr,jr]),Aa=Te.useState(!1),Yi=(0,Se.Z)(Aa,2),$i=Yi[0],wn=Yi[1],hn=Te.useRef(),on=Mt(_r),Rn=tr==="rtl",or=(0,Ze.Z)(Yn,{value:Xr,postState:function(Ka){return Ka||Xt}}),lr=(0,Se.Z)(or,2),On=lr[0],Er=lr[1],si=function(Ka){var qa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Bs(){Er(Ka),ia==null||ia(Ka)}qa?(0,dt.flushSync)(Bs):Bs()},Di=Te.useState(On),ui=(0,Se.Z)(Di,2),xr=ui[0],li=ui[1],Ci=Te.useRef(!1),Ui=Te.useMemo(function(){return(qr==="inline"||qr==="vertical")&&Mr?["vertical",Mr]:[qr,!1]},[qr,Mr]),Si=(0,Se.Z)(Ui,2),gi=Si[0],Ki=Si[1],da=gi==="inline",Da=Te.useState(gi),no=(0,Se.Z)(Da,2),Ro=no[0],ul=no[1],Vo=Te.useState(Ki),Mo=(0,Se.Z)(Vo,2),so=Mo[0],Is=Mo[1];Te.useEffect(function(){ul(gi),Is(Ki),Ci.current&&(da?Er(xr):si(Xt))},[gi,Ki]);var No=Te.useState(0),ls=(0,Se.Z)(No,2),qs=ls[0],Os=ls[1],go=qs>=zi.length-1||Ro!=="horizontal"||$r;Te.useEffect(function(){da&&li(On)},[On]),Te.useEffect(function(){return Ci.current=!0,function(){Ci.current=!1}},[]);var Ua=Qt(),Ma=Ua.registerPath,js=Ua.unregisterPath,xl=Ua.refreshOverflowKeys,_o=Ua.isSubPathKey,va=Ua.getKeyPath,aa=Ua.getKeys,Qa=Ua.getSubPathKeys,zo=Te.useMemo(function(){return{registerPath:Ma,unregisterPath:js}},[Ma,js]),ro=Te.useMemo(function(){return{isSubPathKey:_o}},[_o]);Te.useEffect(function(){xl(go?Xt:zi.slice(qs+1).map(function(za){return za.key}))},[qs,go]);var us=(0,Ze.Z)(Nr||oi&&((Ot=zi[0])===null||Ot===void 0?void 0:Ot.key),{value:Nr}),bs=(0,Se.Z)(us,2),Ts=bs[0],cs=bs[1],Vs=zt(function(za){cs(za)}),Rs=zt(function(){cs(void 0)});(0,Te.useImperativeHandle)(Tt,function(){return{list:hn.current,focus:function(Ka){var qa,Bs=aa(),Go=he(Bs,on),xs=Go.elements,_s=Go.key2element,ws=Go.element2key,dl=le(hn.current,xs),fl=Ts!=null?Ts:dl[0]?ws.get(dl[0]):(qa=zi.find(function(Le){return!Le.props.disabled}))===null||qa===void 0?void 0:qa.key,ye=_s.get(fl);if(fl&&ye){var Ae;ye==null||(Ae=ye.focus)===null||Ae===void 0||Ae.call(ye,Ka)}}}});var qo=(0,Ze.Z)(Gi||[],{value:Sr,postState:function(Ka){return Array.isArray(Ka)?Ka:Ka==null?Xt:[Ka]}}),Tu=(0,Se.Z)(qo,2),cl=Tu[0],Su=Tu[1],nu=function(Ka){if(di){var qa=Ka.key,Bs=cl.includes(qa),Go;ti?Bs?Go=cl.filter(function(_s){return _s!==qa}):Go=[].concat((0,rt.Z)(cl),[qa]):Go=[qa],Su(Go);var xs=(0,ze.Z)((0,ze.Z)({},Ka),{},{selectedKeys:Go});Bs?fi==null||fi(xs):Or==null||Or(xs)}!ti&&On.length&&Ro!=="inline"&&si(Xt)},Ru=zt(function(za){ga==null||ga(Vn(za)),nu(za)}),ru=zt(function(za,Ka){var qa=On.filter(function(Go){return Go!==za});if(Ka)qa.push(za);else if(Ro!=="inline"){var Bs=Qa(za);qa=qa.filter(function(Go){return!Bs.has(Go)})}(0,yt.Z)(On,qa,!0)||si(qa,!0)}),Ec=function(Ka,qa){var Bs=qa!=null?qa:!On.includes(Ka);ru(Ka,Bs)},iu=ue(Ro,Ts,Rn,on,hn,aa,va,cs,Ec,Qi);Te.useEffect(function(){wn(!0)},[]);var Eu=Te.useMemo(function(){return{_internalRenderMenuItem:Ha,_internalRenderSubMenuItem:mo}},[Ha,mo]),Ll=Ro!=="horizontal"||$r?zi:zi.map(function(za,Ka){return Te.createElement(Ke,{key:za.key,overflowDisabled:Ka>qs},za)}),Wl=Te.createElement(Ee.Z,(0,ae.Z)({id:_r,ref:hn,prefixCls:"".concat(cn,"-overflow"),component:"ul",itemComponent:pi,className:xe()(cn,"".concat(cn,"-root"),"".concat(cn,"-").concat(Ro),qn,(ln={},(0,He.Z)(ln,"".concat(cn,"-inline-collapsed"),so),(0,He.Z)(ln,"".concat(cn,"-rtl"),Rn),ln),Fn),dir:tr,style:Kn,role:"menu",tabIndex:Tr,data:Ll,renderRawItem:function(Ka){return Ka},renderRawRest:function(Ka){var qa=Ka.length,Bs=qa?zi.slice(-qa):null;return Te.createElement(St,{eventKey:Ht,title:Ur,disabled:go,internalPopupClose:qa===0,popupClassName:Ti},Bs)},maxCount:Ro!=="horizontal"||$r?Ee.Z.INVALIDATE:Ee.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ka){Os(Ka)},onKeyDown:iu},Pi));return Te.createElement(Pt.Provider,{value:Eu},Te.createElement(ot.Provider,{value:on},Te.createElement(Ke,{prefixCls:cn,rootClassName:Fn,mode:Ro,openKeys:On,rtl:Rn,disabled:Ir,motion:$i?Ji:null,defaultMotions:$i?ji:null,activeKey:Ts,onActive:Vs,onInactive:Rs,selectedKeys:cl,inlineIndent:Xi,subMenuOpenDelay:wi,subMenuCloseDelay:Zr,forceSubMenuRender:Xn,builtinPlacements:ca,triggerSubMenuAction:ua,getPopupContainer:pa,itemIcon:Lr,expandIcon:Dr,onItemClick:Ru,onOpenChange:ru},Te.createElement(pt.Provider,{value:ro},Wl),Te.createElement("div",{style:{display:"none"},"aria-hidden":!0},Te.createElement($e.Provider,{value:zo},zi)))))}),En=en,Wt=En;Wt.Item=pi,Wt.SubMenu=St,Wt.ItemGroup=Hn,Wt.Divider=jn;var An=Wt},83836:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return un}});var ae=se(54476),He=se(33885),ze=se(42978),rt=se(75931),Se=se(59301),ke=se(92310),Oe=se.n(ke),xe=se(29301),Ee=se(34280),Ze=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],yt=void 0;function Be(jt,Qe){var Ce=jt.prefixCls,nt=jt.invalidate,$t=jt.item,Et=jt.renderItem,Ve=jt.responsive,tt=jt.responsiveDisabled,At=jt.registerSize,fn=jt.itemKey,Kt=jt.className,yn=jt.style,kt=jt.children,Bt=jt.display,xt=jt.order,ve=jt.component,ce=ve===void 0?"div":ve,le=(0,rt.Z)(jt,Ze),fe=Ve&&!Bt;function he(Lt){At(fn,Lt)}Se.useEffect(function(){return function(){he(null)}},[]);var ue=Et&&$t!==yt?Et($t,{index:xt}):kt,Pe;nt||(Pe={opacity:fe?0:1,height:fe?0:yt,overflowY:fe?"hidden":yt,order:Ve?xt:yt,pointerEvents:fe?"none":yt,position:fe?"absolute":yt});var _e={};fe&&(_e["aria-hidden"]=!0);var Dt=Se.createElement(ce,(0,ae.Z)({className:Oe()(!nt&&Ce,Kt),style:(0,He.Z)((0,He.Z)({},Pe),yn)},_e,le,{ref:Qe}),ue);return Ve&&(Dt=Se.createElement(xe.Z,{onResize:function(Ht){var Qt=Ht.offsetWidth;he(Qt)},disabled:tt},Dt)),Dt}var Te=Se.forwardRef(Be);Te.displayName="Item";var dt=Te,ot=se(6089),ft=se(4676),lt=se(16089);function ht(jt){if(typeof MessageChannel=="undefined")(0,lt.Z)(jt);else{var Qe=new MessageChannel;Qe.port1.onmessage=function(){return jt()},Qe.port2.postMessage(void 0)}}function Vt(){var jt=Se.useRef(null),Qe=function(nt){jt.current||(jt.current=[],ht(function(){(0,ft.unstable_batchedUpdates)(function(){jt.current.forEach(function($t){$t()}),jt.current=null})})),jt.current.push(nt)};return Qe}function st(jt,Qe){var Ce=Se.useState(Qe),nt=(0,ze.Z)(Ce,2),$t=nt[0],Et=nt[1],Ve=(0,ot.Z)(function(tt){jt(function(){Et(tt)})});return[$t,Ve]}var vt=Se.createContext(null),Ke=["component"],pe=["className"],$e=["className"],et=function(Qe,Ce){var nt=Se.useContext(vt);if(!nt){var $t=Qe.component,Et=$t===void 0?"div":$t,Ve=(0,rt.Z)(Qe,Ke);return Se.createElement(Et,(0,ae.Z)({},Ve,{ref:Ce}))}var tt=nt.className,At=(0,rt.Z)(nt,pe),fn=Qe.className,Kt=(0,rt.Z)(Qe,$e);return Se.createElement(vt.Provider,{value:null},Se.createElement(dt,(0,ae.Z)({ref:Ce,className:Oe()(tt,fn)},At,Kt)))},qe=Se.forwardRef(et);qe.displayName="RawItem";var Ye=qe,pt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],at="responsive",Pt="invalidate";function it(jt){return"+ ".concat(jt.length," ...")}function Nt(jt,Qe){var Ce=jt.prefixCls,nt=Ce===void 0?"rc-overflow":Ce,$t=jt.data,Et=$t===void 0?[]:$t,Ve=jt.renderItem,tt=jt.renderRawItem,At=jt.itemKey,fn=jt.itemWidth,Kt=fn===void 0?10:fn,yn=jt.ssr,kt=jt.style,Bt=jt.className,xt=jt.maxCount,ve=jt.renderRest,ce=jt.renderRawRest,le=jt.prefix,fe=jt.suffix,he=jt.component,ue=he===void 0?"div":he,Pe=jt.itemComponent,_e=jt.onVisibleChange,Dt=(0,rt.Z)(jt,pt),Lt=yn==="full",Ht=Vt(),Qt=st(Ht,null),zt=(0,ze.Z)(Qt,2),bn=zt[0],In=zt[1],Mt=bn||0,tn=st(Ht,new Map),Gn=(0,ze.Z)(tn,2),ut=Gn[0],We=Gn[1],Ue=st(Ht,0),nn=(0,ze.Z)(Ue,2),gn=nn[0],xn=nn[1],Un=st(Ht,0),Pn=(0,ze.Z)(Un,2),Vn=Pn[0],dr=Pn[1],gr=st(Ht,0),_n=(0,ze.Z)(gr,2),wr=_n[0],Jr=_n[1],pr=st(Ht,0),pi=(0,ze.Z)(pr,2),Rr=pi[0],Qr=pi[1],pn=(0,Se.useState)(null),Zn=(0,ze.Z)(pn,2),rr=Zn[0],ur=Zn[1],nr=(0,Se.useState)(null),fr=(0,ze.Z)(nr,2),sr=fr[0],Br=fr[1],ir=Se.useMemo(function(){return sr===null&&Lt?Number.MAX_SAFE_INTEGER:sr||0},[sr,bn]),Bn=(0,Se.useState)(!1),Cr=(0,ze.Z)(Bn,2),wt=Cr[0],Fe=Cr[1],je="".concat(nt,"-item"),Re=Math.max(gn,Vn),Ne=xt===at,ct=Et.length&&Ne,St=xt===Pt,an=ct||typeof xt=="number"&&Et.length>xt,Gt=(0,Se.useMemo)(function(){var dn=Et;return ct?bn===null&&Lt?dn=Et:dn=Et.slice(0,Math.min(Et.length,Mt/Kt)):typeof xt=="number"&&(dn=Et.slice(0,xt)),dn},[Et,Kt,bn,xt,ct]),Zt=(0,Se.useMemo)(function(){return ct?Et.slice(ir+1):Et.slice(Gt.length)},[Et,Gt,ct,ir]),Dn=(0,Se.useCallback)(function(dn,cn){var Fn;return typeof At=="function"?At(dn):(Fn=At&&(dn==null?void 0:dn[At]))!==null&&Fn!==void 0?Fn:cn},[At]),Hn=(0,Se.useCallback)(Ve||function(dn){return dn},[Ve]);function jn(dn,cn,Fn){sr===dn&&(cn===void 0||cn===rr)||(Br(dn),Fn||(Fe(dn<Et.length-1),_e==null||_e(dn)),cn!==void 0&&ur(cn))}function qt(dn,cn){In(cn.clientWidth)}function Sn(dn,cn){We(function(Fn){var Kn=new Map(Fn);return cn===null?Kn.delete(dn):Kn.set(dn,cn),Kn})}function Ct(dn,cn){dr(cn),xn(Vn)}function Rt(dn,cn){Jr(cn)}function Xt(dn,cn){Qr(cn)}function en(dn){return ut.get(Dn(Gt[dn],dn))}(0,Ee.Z)(function(){if(Mt&&typeof Re=="number"&&Gt){var dn=wr+Rr,cn=Gt.length,Fn=cn-1;if(!cn){jn(0,null);return}for(var Kn=0;Kn<cn;Kn+=1){var qn=en(Kn);if(Lt&&(qn=qn||0),qn===void 0){jn(Kn-1,void 0,!0);break}if(dn+=qn,Fn===0&&dn<=Mt||Kn===Fn-1&&dn+en(Fn)<=Mt){jn(Fn,null);break}else if(dn+Re>Mt){jn(Kn-1,dn-qn-Rr+Vn);break}}fe&&en(0)+Rr>Mt&&ur(null)}},[Mt,ut,Vn,wr,Rr,Dn,Gt]);var En=wt&&!!Zt.length,Wt={};rr!==null&&ct&&(Wt={position:"absolute",left:rr,top:0});var An={prefixCls:je,responsive:ct,component:Pe,invalidate:St},Ge=tt?function(dn,cn){var Fn=Dn(dn,cn);return Se.createElement(vt.Provider,{key:Fn,value:(0,He.Z)((0,He.Z)({},An),{},{order:cn,item:dn,itemKey:Fn,registerSize:Sn,display:cn<=ir})},tt(dn,cn))}:function(dn,cn){var Fn=Dn(dn,cn);return Se.createElement(dt,(0,ae.Z)({},An,{order:cn,key:Fn,item:dn,renderItem:Hn,itemKey:Fn,registerSize:Sn,display:cn<=ir}))},Tt={order:En?ir:Number.MAX_SAFE_INTEGER,className:"".concat(je,"-rest"),registerSize:Ct,display:En},Ot=ve||it,ln=ce?Se.createElement(vt.Provider,{value:(0,He.Z)((0,He.Z)({},An),Tt)},ce(Zt)):Se.createElement(dt,(0,ae.Z)({},An,Tt),typeof Ot=="function"?Ot(Zt):Ot),Jt=Se.createElement(ue,(0,ae.Z)({className:Oe()(!St&&nt,Bt),style:kt,ref:Qe},Dt),le&&Se.createElement(dt,(0,ae.Z)({},An,{responsive:Ne,responsiveDisabled:!ct,order:-1,className:"".concat(je,"-prefix"),registerSize:Rt,display:!0}),le),Gt.map(Ge),an?ln:null,fe&&Se.createElement(dt,(0,ae.Z)({},An,{responsive:Ne,responsiveDisabled:!ct,order:ir,className:"".concat(je,"-suffix"),registerSize:Xt,display:!0,style:Wt}),fe));return Ne?Se.createElement(xe.Z,{onResize:qt,disabled:!ct},Jt):Jt}var rn=Se.forwardRef(Nt);rn.displayName="Overflow",rn.Item=Ye,rn.RESPONSIVE=at,rn.INVALIDATE=Pt;var Ut=rn,un=Ut},17115:function(Cn,mn,se){"use strict";se.d(mn,{ZP:function(){return Oe}});var ae=se(42978),He=se(59301),ze=se(47273),rt=0,Se=(0,ze.Z)();function ke(){var xe;return Se?(xe=rt,rt+=1):xe="TEST_OR_SSR",xe}function Oe(xe){var Ee=He.useState(),Ze=(0,ae.Z)(Ee,2),yt=Ze[0],Be=Ze[1];return He.useEffect(function(){Be("rc_select_".concat(ke()))},[]),xe||yt}},77861:function(Cn,mn,se){"use strict";se.d(mn,{Ac:function(){return bn},Xo:function(){return Vn},Wx:function(){return gr},ZP:function(){return je},lk:function(){return vt}});var ae=se(54476),He=se(94480),ze=se(20068),rt=se(33885),Se=se(42978),ke=se(75931),Oe=se(76190),xe=se(18929),Ee=se(48736),Ze=se(59301),yt=se(92310),Be=se.n(yt),Te=se(34280),dt=se(49658),ot=se(10228),ft=se(8654),lt=function(Ne){var ct=Ne.className,St=Ne.customizeIcon,an=Ne.customizeIconProps,Gt=Ne.onMouseDown,Zt=Ne.onClick,Dn=Ne.children,Hn;return typeof St=="function"?Hn=St(an):Hn=St,Ze.createElement("span",{className:ct,onMouseDown:function(qt){qt.preventDefault(),Gt&&Gt(qt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Zt,"aria-hidden":!0},Hn!==void 0?Hn:Ze.createElement("span",{className:Be()(ct.split(/\s+/).map(function(jn){return"".concat(jn,"-icon")}))},Dn))},ht=lt;function Vt(Re,Ne,ct,St,an){var Gt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Zt=arguments.length>6?arguments[6]:void 0,Dn=arguments.length>7?arguments[7]:void 0,Hn=Ze.useMemo(function(){if((0,Oe.Z)(St)==="object")return St.clearIcon;if(an)return an},[St,an]),jn=Ze.useMemo(function(){return!!(!Gt&&St&&(ct.length||Zt)&&!(Dn==="combobox"&&Zt===""))},[St,Gt,ct.length,Zt,Dn]);return{allowClear:jn,clearIcon:Ze.createElement(ht,{className:"".concat(Re,"-clear"),onMouseDown:Ne,customizeIcon:Hn},"\xD7")}}var st=Ze.createContext(null);function vt(){return Ze.useContext(st)}function Ke(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ne=Ze.useState(!1),ct=(0,Se.Z)(Ne,2),St=ct[0],an=ct[1],Gt=Ze.useRef(null),Zt=function(){window.clearTimeout(Gt.current)};Ze.useEffect(function(){return Zt},[]);var Dn=function(jn,qt){Zt(),Gt.current=window.setTimeout(function(){an(jn),qt&&qt()},Re)};return[St,Dn,Zt]}function pe(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ne=Ze.useRef(null),ct=Ze.useRef(null);Ze.useEffect(function(){return function(){window.clearTimeout(ct.current)}},[]);function St(an){(an||Ne.current===null)&&(Ne.current=an),window.clearTimeout(ct.current),ct.current=window.setTimeout(function(){Ne.current=null},Re)}return[function(){return Ne.current},St]}function $e(Re,Ne,ct,St){var an=Ze.useRef(null);an.current={open:Ne,triggerOpen:ct,customizedTrigger:St},Ze.useEffect(function(){function Gt(Zt){var Dn;if(!((Dn=an.current)!==null&&Dn!==void 0&&Dn.customizedTrigger)){var Hn=Zt.target;Hn.shadowRoot&&Zt.composed&&(Hn=Zt.composedPath()[0]||Hn),an.current.open&&Re().filter(function(jn){return jn}).every(function(jn){return!jn.contains(Hn)&&jn!==Hn})&&an.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Gt),function(){return window.removeEventListener("mousedown",Gt)}},[])}var et=se(26112),qe=se(83836),Ye=function(Ne,ct){var St,an,Gt=Ne.prefixCls,Zt=Ne.id,Dn=Ne.inputElement,Hn=Ne.disabled,jn=Ne.tabIndex,qt=Ne.autoFocus,Sn=Ne.autoComplete,Ct=Ne.editable,Rt=Ne.activeDescendantId,Xt=Ne.value,en=Ne.maxLength,En=Ne.onKeyDown,Wt=Ne.onMouseDown,An=Ne.onChange,Ge=Ne.onPaste,Tt=Ne.onCompositionStart,Ot=Ne.onCompositionEnd,ln=Ne.open,Jt=Ne.attrs,dn=Dn||Ze.createElement("input",null),cn=dn,Fn=cn.ref,Kn=cn.props,qn=Kn.onKeyDown,br=Kn.onChange,Tr=Kn.onMouseDown,jr=Kn.onCompositionStart,Fr=Kn.onCompositionEnd,tr=Kn.style;return(0,Ee.Kp)(!("maxLength"in dn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),dn=Ze.cloneElement(dn,(0,rt.Z)((0,rt.Z)((0,rt.Z)({type:"search"},Kn),{},{id:Zt,ref:(0,ft.sQ)(ct,Fn),disabled:Hn,tabIndex:jn,autoComplete:Sn||"off",autoFocus:qt,className:Be()("".concat(Gt,"-selection-search-input"),(St=dn)===null||St===void 0||(an=St.props)===null||an===void 0?void 0:an.className),role:"combobox","aria-label":"Search","aria-expanded":ln||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Zt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Zt,"_list"),"aria-activedescendant":ln?Rt:void 0},Jt),{},{value:Ct?Xt:"",maxLength:en,readOnly:!Ct,unselectable:Ct?null:"on",style:(0,rt.Z)((0,rt.Z)({},tr),{},{opacity:Ct?null:0}),onKeyDown:function(Hr){En(Hr),qn&&qn(Hr)},onMouseDown:function(Hr){Wt(Hr),Tr&&Tr(Hr)},onChange:function(Hr){An(Hr),br&&br(Hr)},onCompositionStart:function(Hr){Tt(Hr),jr&&jr(Hr)},onCompositionEnd:function(Hr){Ot(Hr),Fr&&Fr(Hr)},onPaste:Ge})),dn},pt=Ze.forwardRef(Ye);pt.displayName="Input";var at=pt;function Pt(Re){return Array.isArray(Re)?Re:Re!==void 0?[Re]:[]}var it=typeof window!="undefined"&&window.document&&window.document.documentElement,Nt=it;function rn(Re){return Re!=null}function Ut(Re){return!Re&&Re!==0}function un(Re){return["string","number"].includes((0,Oe.Z)(Re))}function jt(Re){var Ne=void 0;return Re&&(un(Re.title)?Ne=Re.title.toString():un(Re.label)&&(Ne=Re.label.toString())),Ne}function Qe(Re,Ne){Nt?Ze.useLayoutEffect(Re,Ne):Ze.useEffect(Re,Ne)}function Ce(Re){var Ne;return(Ne=Re.key)!==null&&Ne!==void 0?Ne:Re.value}var nt=function(Ne){Ne.preventDefault(),Ne.stopPropagation()},$t=function(Ne){var ct=Ne.id,St=Ne.prefixCls,an=Ne.values,Gt=Ne.open,Zt=Ne.searchValue,Dn=Ne.autoClearSearchValue,Hn=Ne.inputRef,jn=Ne.placeholder,qt=Ne.disabled,Sn=Ne.mode,Ct=Ne.showSearch,Rt=Ne.autoFocus,Xt=Ne.autoComplete,en=Ne.activeDescendantId,En=Ne.tabIndex,Wt=Ne.removeIcon,An=Ne.maxTagCount,Ge=Ne.maxTagTextLength,Tt=Ne.maxTagPlaceholder,Ot=Tt===void 0?function(ci){return"+ ".concat(ci.length," ...")}:Tt,ln=Ne.tagRender,Jt=Ne.onToggleOpen,dn=Ne.onRemove,cn=Ne.onInputChange,Fn=Ne.onInputPaste,Kn=Ne.onInputKeyDown,qn=Ne.onInputMouseDown,br=Ne.onInputCompositionStart,Tr=Ne.onInputCompositionEnd,jr=Ze.useRef(null),Fr=(0,Ze.useState)(0),tr=(0,Se.Z)(Fr,2),_r=tr[0],Hr=tr[1],qr=(0,Ze.useState)(!1),Mr=(0,Se.Z)(qr,2),Ir=Mr[0],$r=Mr[1],Wr="".concat(St,"-selection"),wi=Gt||Sn==="multiple"&&Dn===!1||Sn==="tags"?Zt:"",Ii=Sn==="tags"||Sn==="multiple"&&Dn===!1||Ct&&(Gt||Ir);Qe(function(){Hr(jr.current.scrollWidth)},[wi]);function Zr(ci,di,Gr,ti,Gi){return Ze.createElement("span",{className:Be()("".concat(Wr,"-item"),(0,ze.Z)({},"".concat(Wr,"-item-disabled"),Gr)),title:jt(ci)},Ze.createElement("span",{className:"".concat(Wr,"-item-content")},di),ti&&Ze.createElement(ht,{className:"".concat(Wr,"-item-remove"),onMouseDown:nt,onClick:Gi,customizeIcon:Wt},"\xD7"))}function Xn(ci,di,Gr,ti,Gi){var Sr=function(fi){nt(fi),Jt(!Gt)};return Ze.createElement("span",{onMouseDown:Sr},ln({label:di,value:ci,disabled:Gr,closable:ti,onClose:Gi}))}function Yn(ci){var di=ci.disabled,Gr=ci.label,ti=ci.value,Gi=!qt&&!di,Sr=Gr;if(typeof Ge=="number"&&(typeof Gr=="string"||typeof Gr=="number")){var Or=String(Sr);Or.length>Ge&&(Sr="".concat(Or.slice(0,Ge),"..."))}var fi=function(Xi){Xi&&Xi.stopPropagation(),dn(ci)};return typeof ln=="function"?Xn(ti,Sr,di,Gi,fi):Zr(ci,Sr,di,Gi,fi)}function Xr(ci){var di=typeof Ot=="function"?Ot(ci):Ot;return Zr({title:di},di,!1)}var Nr=Ze.createElement("div",{className:"".concat(Wr,"-search"),style:{width:_r},onFocus:function(){$r(!0)},onBlur:function(){$r(!1)}},Ze.createElement(at,{ref:Hn,open:Gt,prefixCls:St,id:ct,inputElement:null,disabled:qt,autoFocus:Rt,autoComplete:Xt,editable:Ii,activeDescendantId:en,value:wi,onKeyDown:Kn,onMouseDown:qn,onChange:cn,onPaste:Fn,onCompositionStart:br,onCompositionEnd:Tr,tabIndex:En,attrs:(0,et.Z)(Ne,!0)}),Ze.createElement("span",{ref:jr,className:"".concat(Wr,"-search-mirror"),"aria-hidden":!0},wi,"\xA0")),oi=Ze.createElement(qe.Z,{prefixCls:"".concat(Wr,"-overflow"),data:an,renderItem:Yn,renderRest:Xr,suffix:Nr,itemKey:Ce,maxCount:An});return Ze.createElement(Ze.Fragment,null,oi,!an.length&&!wi&&Ze.createElement("span",{className:"".concat(Wr,"-placeholder")},jn))},Et=$t,Ve=function(Ne){var ct=Ne.inputElement,St=Ne.prefixCls,an=Ne.id,Gt=Ne.inputRef,Zt=Ne.disabled,Dn=Ne.autoFocus,Hn=Ne.autoComplete,jn=Ne.activeDescendantId,qt=Ne.mode,Sn=Ne.open,Ct=Ne.values,Rt=Ne.placeholder,Xt=Ne.tabIndex,en=Ne.showSearch,En=Ne.searchValue,Wt=Ne.activeValue,An=Ne.maxLength,Ge=Ne.onInputKeyDown,Tt=Ne.onInputMouseDown,Ot=Ne.onInputChange,ln=Ne.onInputPaste,Jt=Ne.onInputCompositionStart,dn=Ne.onInputCompositionEnd,cn=Ne.title,Fn=Ze.useState(!1),Kn=(0,Se.Z)(Fn,2),qn=Kn[0],br=Kn[1],Tr=qt==="combobox",jr=Tr||en,Fr=Ct[0],tr=En||"";Tr&&Wt&&!qn&&(tr=Wt),Ze.useEffect(function(){Tr&&br(!1)},[Tr,Wt]);var _r=qt!=="combobox"&&!Sn&&!en?!1:!!tr,Hr=cn===void 0?jt(Fr):cn,qr=function(){if(Fr)return null;var Ir=_r?{visibility:"hidden"}:void 0;return Ze.createElement("span",{className:"".concat(St,"-selection-placeholder"),style:Ir},Rt)};return Ze.createElement(Ze.Fragment,null,Ze.createElement("span",{className:"".concat(St,"-selection-search")},Ze.createElement(at,{ref:Gt,prefixCls:St,id:an,open:Sn,inputElement:ct,disabled:Zt,autoFocus:Dn,autoComplete:Hn,editable:jr,activeDescendantId:jn,value:tr,onKeyDown:Ge,onMouseDown:Tt,onChange:function(Ir){br(!0),Ot(Ir)},onPaste:ln,onCompositionStart:Jt,onCompositionEnd:dn,tabIndex:Xt,attrs:(0,et.Z)(Ne,!0),maxLength:Tr?An:void 0})),!Tr&&Fr?Ze.createElement("span",{className:"".concat(St,"-selection-item"),title:Hr,style:_r?{visibility:"hidden"}:void 0},Fr.label):null,qr())},tt=Ve;function At(Re){return![ot.Z.ESC,ot.Z.SHIFT,ot.Z.BACKSPACE,ot.Z.TAB,ot.Z.WIN_KEY,ot.Z.ALT,ot.Z.META,ot.Z.WIN_KEY_RIGHT,ot.Z.CTRL,ot.Z.SEMICOLON,ot.Z.EQUALS,ot.Z.CAPS_LOCK,ot.Z.CONTEXT_MENU,ot.Z.F1,ot.Z.F2,ot.Z.F3,ot.Z.F4,ot.Z.F5,ot.Z.F6,ot.Z.F7,ot.Z.F8,ot.Z.F9,ot.Z.F10,ot.Z.F11,ot.Z.F12].includes(Re)}var fn=function(Ne,ct){var St=(0,Ze.useRef)(null),an=(0,Ze.useRef)(!1),Gt=Ne.prefixCls,Zt=Ne.open,Dn=Ne.mode,Hn=Ne.showSearch,jn=Ne.tokenWithEnter,qt=Ne.autoClearSearchValue,Sn=Ne.onSearch,Ct=Ne.onSearchSubmit,Rt=Ne.onToggleOpen,Xt=Ne.onInputKeyDown,en=Ne.domRef;Ze.useImperativeHandle(ct,function(){return{focus:function(){St.current.focus()},blur:function(){St.current.blur()}}});var En=pe(0),Wt=(0,Se.Z)(En,2),An=Wt[0],Ge=Wt[1],Tt=function(tr){var _r=tr.which;(_r===ot.Z.UP||_r===ot.Z.DOWN)&&tr.preventDefault(),Xt&&Xt(tr),_r===ot.Z.ENTER&&Dn==="tags"&&!an.current&&!Zt&&(Ct==null||Ct(tr.target.value)),At(_r)&&Rt(!0)},Ot=function(){Ge(!0)},ln=(0,Ze.useRef)(null),Jt=function(tr){Sn(tr,!0,an.current)!==!1&&Rt(!0)},dn=function(){an.current=!0},cn=function(tr){an.current=!1,Dn!=="combobox"&&Jt(tr.target.value)},Fn=function(tr){var _r=tr.target.value;if(jn&&ln.current&&/[\r\n]/.test(ln.current)){var Hr=ln.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");_r=_r.replace(Hr,ln.current)}ln.current=null,Jt(_r)},Kn=function(tr){var _r=tr.clipboardData,Hr=_r.getData("text");ln.current=Hr},qn=function(tr){var _r=tr.target;if(_r!==St.current){var Hr=document.body.style.msTouchAction!==void 0;Hr?setTimeout(function(){St.current.focus()}):St.current.focus()}},br=function(tr){var _r=An();tr.target!==St.current&&!_r&&Dn!=="combobox"&&tr.preventDefault(),(Dn!=="combobox"&&(!Hn||!_r)||!Zt)&&(Zt&&qt!==!1&&Sn("",!0,!1),Rt())},Tr={inputRef:St,onInputKeyDown:Tt,onInputMouseDown:Ot,onInputChange:Fn,onInputPaste:Kn,onInputCompositionStart:dn,onInputCompositionEnd:cn},jr=Dn==="multiple"||Dn==="tags"?Ze.createElement(Et,(0,ae.Z)({},Ne,Tr)):Ze.createElement(tt,(0,ae.Z)({},Ne,Tr));return Ze.createElement("div",{ref:en,className:"".concat(Gt,"-selector"),onClick:qn,onMouseDown:br},jr)},Kt=Ze.forwardRef(fn);Kt.displayName="Selector";var yn=Kt,kt=se(35593),Bt=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],xt=function(Ne){var ct=Ne===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ct,adjustY:1},htmlRegion:"scroll"}}},ve=function(Ne,ct){var St=Ne.prefixCls,an=Ne.disabled,Gt=Ne.visible,Zt=Ne.children,Dn=Ne.popupElement,Hn=Ne.animation,jn=Ne.transitionName,qt=Ne.dropdownStyle,Sn=Ne.dropdownClassName,Ct=Ne.direction,Rt=Ct===void 0?"ltr":Ct,Xt=Ne.placement,en=Ne.builtinPlacements,En=Ne.dropdownMatchSelectWidth,Wt=Ne.dropdownRender,An=Ne.dropdownAlign,Ge=Ne.getPopupContainer,Tt=Ne.empty,Ot=Ne.getTriggerDOMNode,ln=Ne.onPopupVisibleChange,Jt=Ne.onPopupMouseEnter,dn=(0,ke.Z)(Ne,Bt),cn="".concat(St,"-dropdown"),Fn=Dn;Wt&&(Fn=Wt(Dn));var Kn=Ze.useMemo(function(){return en||xt(En)},[en,En]),qn=Hn?"".concat(cn,"-").concat(Hn):jn,br=typeof En=="number",Tr=Ze.useMemo(function(){return br?null:En===!1?"minWidth":"width"},[En,br]),jr=qt;br&&(jr=(0,rt.Z)((0,rt.Z)({},jr),{},{width:En}));var Fr=Ze.useRef(null);return Ze.useImperativeHandle(ct,function(){return{getPopupElement:function(){return Fr.current}}}),Ze.createElement(kt.Z,(0,ae.Z)({},dn,{showAction:ln?["click"]:[],hideAction:ln?["click"]:[],popupPlacement:Xt||(Rt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Kn,prefixCls:cn,popupTransitionName:qn,popup:Ze.createElement("div",{ref:Fr,onMouseEnter:Jt},Fn),stretch:Tr,popupAlign:An,popupVisible:Gt,getPopupContainer:Ge,popupClassName:Be()(Sn,(0,ze.Z)({},"".concat(cn,"-empty"),Tt)),popupStyle:jr,getTriggerDOMNode:Ot,onPopupVisibleChange:ln}),Zt)},ce=Ze.forwardRef(ve);ce.displayName="SelectTrigger";var le=ce,fe=se(66712);function he(Re,Ne){var ct=Re.key,St;return"value"in Re&&(St=Re.value),ct!=null?ct:St!==void 0?St:"rc-index-key-".concat(Ne)}function ue(Re,Ne){var ct=Re||{},St=ct.label,an=ct.value,Gt=ct.options,Zt=ct.groupLabel,Dn=St||(Ne?"children":"label");return{label:Dn,value:an||"value",options:Gt||"options",groupLabel:Zt||Dn}}function Pe(Re){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=Ne.fieldNames,St=Ne.childrenAsData,an=[],Gt=ue(ct,!1),Zt=Gt.label,Dn=Gt.value,Hn=Gt.options,jn=Gt.groupLabel;function qt(Sn,Ct){Sn.forEach(function(Rt){if(Ct||!(Hn in Rt)){var Xt=Rt[Dn];an.push({key:he(Rt,an.length),groupOption:Ct,data:Rt,label:Rt[Zt],value:Xt})}else{var en=Rt[jn];en===void 0&&St&&(en=Rt.label),an.push({key:he(Rt,an.length),group:!0,data:Rt,label:en}),qt(Rt[Hn],!0)}})}return qt(Re,!1),an}function _e(Re){var Ne=(0,rt.Z)({},Re);return"props"in Ne||Object.defineProperty(Ne,"props",{get:function(){return(0,Ee.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ne}}),Ne}function Dt(Re,Ne){if(!Ne||!Ne.length)return null;var ct=!1;function St(Gt,Zt){var Dn=(0,fe.Z)(Zt),Hn=Dn[0],jn=Dn.slice(1);if(!Hn)return[Gt];var qt=Gt.split(Hn);return ct=ct||qt.length>1,qt.reduce(function(Sn,Ct){return[].concat((0,He.Z)(Sn),(0,He.Z)(St(Ct,jn)))},[]).filter(function(Sn){return Sn})}var an=St(Re,Ne);return ct?an:null}var Lt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ht=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Qt(Re){return Re==="tags"||Re==="multiple"}var zt=Ze.forwardRef(function(Re,Ne){var ct,St,an=Re.id,Gt=Re.prefixCls,Zt=Re.className,Dn=Re.showSearch,Hn=Re.tagRender,jn=Re.direction,qt=Re.omitDomProps,Sn=Re.displayValues,Ct=Re.onDisplayValuesChange,Rt=Re.emptyOptions,Xt=Re.notFoundContent,en=Xt===void 0?"Not Found":Xt,En=Re.onClear,Wt=Re.mode,An=Re.disabled,Ge=Re.loading,Tt=Re.getInputElement,Ot=Re.getRawInputElement,ln=Re.open,Jt=Re.defaultOpen,dn=Re.onDropdownVisibleChange,cn=Re.activeValue,Fn=Re.onActiveValueChange,Kn=Re.activeDescendantId,qn=Re.searchValue,br=Re.autoClearSearchValue,Tr=Re.onSearch,jr=Re.onSearchSplit,Fr=Re.tokenSeparators,tr=Re.allowClear,_r=Re.suffixIcon,Hr=Re.clearIcon,qr=Re.OptionList,Mr=Re.animation,Ir=Re.transitionName,$r=Re.dropdownStyle,Wr=Re.dropdownClassName,wi=Re.dropdownMatchSelectWidth,Ii=Re.dropdownRender,Zr=Re.dropdownAlign,Xn=Re.placement,Yn=Re.builtinPlacements,Xr=Re.getPopupContainer,Nr=Re.showAction,oi=Nr===void 0?[]:Nr,ci=Re.onFocus,di=Re.onBlur,Gr=Re.onKeyUp,ti=Re.onKeyDown,Gi=Re.onMouseDown,Sr=(0,ke.Z)(Re,Lt),Or=Qt(Wt),fi=(Dn!==void 0?Dn:Or)||Wt==="combobox",Ei=(0,rt.Z)({},Sr);Ht.forEach(function(va){delete Ei[va]}),qt==null||qt.forEach(function(va){delete Ei[va]});var Xi=Ze.useState(!1),Ji=(0,Se.Z)(Xi,2),ji=Ji[0],Ni=Ji[1];Ze.useEffect(function(){Ni((0,dt.Z)())},[]);var ua=Ze.useRef(null),ca=Ze.useRef(null),Lr=Ze.useRef(null),Dr=Ze.useRef(null),kr=Ze.useRef(null),Ur=Ke(),Ti=(0,Se.Z)(Ur,3),pa=Ti[0],ga=Ti[1],ia=Ti[2];Ze.useImperativeHandle(Ne,function(){var va,aa;return{focus:(va=Dr.current)===null||va===void 0?void 0:va.focus,blur:(aa=Dr.current)===null||aa===void 0?void 0:aa.blur,scrollTo:function(zo){var ro;return(ro=kr.current)===null||ro===void 0?void 0:ro.scrollTo(zo)}}});var Qi=Ze.useMemo(function(){var va;if(Wt!=="combobox")return qn;var aa=(va=Sn[0])===null||va===void 0?void 0:va.value;return typeof aa=="string"||typeof aa=="number"?String(aa):""},[qn,Wt,Sn]),ya=Wt==="combobox"&&typeof Tt=="function"&&Tt()||null,ja=typeof Ot=="function"&&Ot(),Ha=(0,ft.x1)(ca,ja==null||(ct=ja.props)===null||ct===void 0?void 0:ct.ref),mo=Ze.useState(!1),Pi=(0,Se.Z)(mo,2),zi=Pi[0],Aa=Pi[1];(0,Te.Z)(function(){Aa(!0)},[]);var Yi=(0,xe.Z)(!1,{defaultValue:Jt,value:ln}),$i=(0,Se.Z)(Yi,2),wn=$i[0],hn=$i[1],on=zi?wn:!1,Rn=!en&&Rt;(An||Rn&&on&&Wt==="combobox")&&(on=!1);var or=Rn?!1:on,lr=Ze.useCallback(function(va){var aa=va!==void 0?va:!on;An||(hn(aa),on!==aa&&(dn==null||dn(aa)))},[An,on,hn,dn]),On=Ze.useMemo(function(){return(Fr||[]).some(function(va){return[`
|
|
|
`,`\r
|
|
|
`].includes(va)})},[Fr]),Er=function(aa,Qa,zo){var ro=!0,us=aa;Fn==null||Fn(null);var bs=zo?null:Dt(aa,Fr);return Wt!=="combobox"&&bs&&(us="",jr==null||jr(bs),lr(!1),ro=!1),Tr&&Qi!==us&&Tr(us,{source:Qa?"typing":"effect"}),ro},si=function(aa){!aa||!aa.trim()||Tr(aa,{source:"submit"})};Ze.useEffect(function(){!on&&!Or&&Wt!=="combobox"&&Er("",!1,!1)},[on]),Ze.useEffect(function(){wn&&An&&hn(!1),An&&ga(!1)},[An]);var Di=pe(),ui=(0,Se.Z)(Di,2),xr=ui[0],li=ui[1],Ci=function(aa){var Qa=xr(),zo=aa.which;if(zo===ot.Z.ENTER&&(Wt!=="combobox"&&aa.preventDefault(),on||lr(!0)),li(!!Qi),zo===ot.Z.BACKSPACE&&!Qa&&Or&&!Qi&&Sn.length){for(var ro=(0,He.Z)(Sn),us=null,bs=ro.length-1;bs>=0;bs-=1){var Ts=ro[bs];if(!Ts.disabled){ro.splice(bs,1),us=Ts;break}}us&&Ct(ro,{type:"remove",values:[us]})}for(var cs=arguments.length,Vs=new Array(cs>1?cs-1:0),Rs=1;Rs<cs;Rs++)Vs[Rs-1]=arguments[Rs];if(on&&kr.current){var qo;(qo=kr.current).onKeyDown.apply(qo,[aa].concat(Vs))}ti==null||ti.apply(void 0,[aa].concat(Vs))},Ui=function(aa){for(var Qa=arguments.length,zo=new Array(Qa>1?Qa-1:0),ro=1;ro<Qa;ro++)zo[ro-1]=arguments[ro];if(on&&kr.current){var us;(us=kr.current).onKeyUp.apply(us,[aa].concat(zo))}Gr==null||Gr.apply(void 0,[aa].concat(zo))},Si=function(aa){var Qa=Sn.filter(function(zo){return zo!==aa});Ct(Qa,{type:"remove",values:[aa]})},gi=Ze.useRef(!1),Ki=function(){ga(!0),An||(ci&&!gi.current&&ci.apply(void 0,arguments),oi.includes("focus")&&lr(!0)),gi.current=!0},da=function(){ga(!1,function(){gi.current=!1,lr(!1)}),!An&&(Qi&&(Wt==="tags"?Tr(Qi,{source:"submit"}):Wt==="multiple"&&Tr("",{source:"blur"})),di&&di.apply(void 0,arguments))},Da=[];Ze.useEffect(function(){return function(){Da.forEach(function(va){return clearTimeout(va)}),Da.splice(0,Da.length)}},[]);var no=function(aa){var Qa,zo=aa.target,ro=(Qa=Lr.current)===null||Qa===void 0?void 0:Qa.getPopupElement();if(ro&&ro.contains(zo)){var us=setTimeout(function(){var Vs=Da.indexOf(us);if(Vs!==-1&&Da.splice(Vs,1),ia(),!ji&&!ro.contains(document.activeElement)){var Rs;(Rs=Dr.current)===null||Rs===void 0||Rs.focus()}});Da.push(us)}for(var bs=arguments.length,Ts=new Array(bs>1?bs-1:0),cs=1;cs<bs;cs++)Ts[cs-1]=arguments[cs];Gi==null||Gi.apply(void 0,[aa].concat(Ts))},Ro=Ze.useState({}),ul=(0,Se.Z)(Ro,2),Vo=ul[1];function Mo(){Vo({})}var so;ja&&(so=function(aa){lr(aa)}),$e(function(){var va;return[ua.current,(va=Lr.current)===null||va===void 0?void 0:va.getPopupElement()]},or,lr,!!ja);var Is=Ze.useMemo(function(){return(0,rt.Z)((0,rt.Z)({},Re),{},{notFoundContent:en,open:on,triggerOpen:or,id:an,showSearch:fi,multiple:Or,toggleOpen:lr})},[Re,en,or,on,an,fi,Or,lr]),No=!!_r||Ge,ls;No&&(ls=Ze.createElement(ht,{className:Be()("".concat(Gt,"-arrow"),(0,ze.Z)({},"".concat(Gt,"-arrow-loading"),Ge)),customizeIcon:_r,customizeIconProps:{loading:Ge,searchValue:Qi,open:on,focused:pa,showSearch:fi}}));var qs=function(){var aa;En==null||En(),(aa=Dr.current)===null||aa===void 0||aa.focus(),Ct([],{type:"clear",values:Sn}),Er("",!1,!1)},Os=Vt(Gt,qs,Sn,tr,Hr,An,Qi,Wt),go=Os.allowClear,Ua=Os.clearIcon,Ma=Ze.createElement(qr,{ref:kr}),js=Be()(Gt,Zt,(St={},(0,ze.Z)(St,"".concat(Gt,"-focused"),pa),(0,ze.Z)(St,"".concat(Gt,"-multiple"),Or),(0,ze.Z)(St,"".concat(Gt,"-single"),!Or),(0,ze.Z)(St,"".concat(Gt,"-allow-clear"),tr),(0,ze.Z)(St,"".concat(Gt,"-show-arrow"),No),(0,ze.Z)(St,"".concat(Gt,"-disabled"),An),(0,ze.Z)(St,"".concat(Gt,"-loading"),Ge),(0,ze.Z)(St,"".concat(Gt,"-open"),on),(0,ze.Z)(St,"".concat(Gt,"-customize-input"),ya),(0,ze.Z)(St,"".concat(Gt,"-show-search"),fi),St)),xl=Ze.createElement(le,{ref:Lr,disabled:An,prefixCls:Gt,visible:or,popupElement:Ma,animation:Mr,transitionName:Ir,dropdownStyle:$r,dropdownClassName:Wr,direction:jn,dropdownMatchSelectWidth:wi,dropdownRender:Ii,dropdownAlign:Zr,placement:Xn,builtinPlacements:Yn,getPopupContainer:Xr,empty:Rt,getTriggerDOMNode:function(){return ca.current},onPopupVisibleChange:so,onPopupMouseEnter:Mo},ja?Ze.cloneElement(ja,{ref:Ha}):Ze.createElement(yn,(0,ae.Z)({},Re,{domRef:ca,prefixCls:Gt,inputElement:ya,ref:Dr,id:an,showSearch:fi,autoClearSearchValue:br,mode:Wt,activeDescendantId:Kn,tagRender:Hn,values:Sn,open:on,onToggleOpen:lr,activeValue:cn,searchValue:Qi,onSearch:Er,onSearchSubmit:si,onRemove:Si,tokenWithEnter:On}))),_o;return ja?_o=xl:_o=Ze.createElement("div",(0,ae.Z)({className:js},Ei,{ref:ua,onMouseDown:no,onKeyDown:Ci,onKeyUp:Ui,onFocus:Ki,onBlur:da}),pa&&!on&&Ze.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Sn.map(function(va){var aa=va.label,Qa=va.value;return["number","string"].includes((0,Oe.Z)(aa))?aa:Qa}).join(", "))),xl,ls,go&&Ua),Ze.createElement(st.Provider,{value:Is},_o)}),bn=zt,In=function(Re,Ne){var ct=Ze.useRef({values:new Map,options:new Map}),St=Ze.useMemo(function(){var Gt=ct.current,Zt=Gt.values,Dn=Gt.options,Hn=Re.map(function(Sn){if(Sn.label===void 0){var Ct;return(0,rt.Z)((0,rt.Z)({},Sn),{},{label:(Ct=Zt.get(Sn.value))===null||Ct===void 0?void 0:Ct.label})}return Sn}),jn=new Map,qt=new Map;return Hn.forEach(function(Sn){jn.set(Sn.value,Sn),qt.set(Sn.value,Ne.get(Sn.value)||Dn.get(Sn.value))}),ct.current.values=jn,ct.current.options=qt,Hn},[Re,Ne]),an=Ze.useCallback(function(Gt){return Ne.get(Gt)||ct.current.options.get(Gt)},[Ne]);return[St,an]};function Mt(Re,Ne){return Pt(Re).join("").toUpperCase().includes(Ne)}var tn=function(Re,Ne,ct,St,an){return Ze.useMemo(function(){if(!ct||St===!1)return Re;var Gt=Ne.options,Zt=Ne.label,Dn=Ne.value,Hn=[],jn=typeof St=="function",qt=ct.toUpperCase(),Sn=jn?St:function(Rt,Xt){return an?Mt(Xt[an],qt):Xt[Gt]?Mt(Xt[Zt!=="children"?Zt:"label"],qt):Mt(Xt[Dn],qt)},Ct=jn?function(Rt){return _e(Rt)}:function(Rt){return Rt};return Re.forEach(function(Rt){if(Rt[Gt]){var Xt=Sn(ct,Ct(Rt));if(Xt)Hn.push(Rt);else{var en=Rt[Gt].filter(function(En){return Sn(ct,Ct(En))});en.length&&Hn.push((0,rt.Z)((0,rt.Z)({},Rt),{},(0,ze.Z)({},Gt,en)))}return}Sn(ct,Ct(Rt))&&Hn.push(Rt)}),Hn},[Re,St,an,ct,Ne])},Gn=se(17115),ut=se(11592),We=["children","value"],Ue=["children"];function nn(Re){var Ne=Re,ct=Ne.key,St=Ne.props,an=St.children,Gt=St.value,Zt=(0,ke.Z)(St,We);return(0,rt.Z)({key:ct,value:Gt!==void 0?Gt:ct,children:an},Zt)}function gn(Re){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ut.Z)(Re).map(function(ct,St){if(!Ze.isValidElement(ct)||!ct.type)return null;var an=ct,Gt=an.type.isSelectOptGroup,Zt=an.key,Dn=an.props,Hn=Dn.children,jn=(0,ke.Z)(Dn,Ue);return Ne||!Gt?nn(ct):(0,rt.Z)((0,rt.Z)({key:"__RC_SELECT_GRP__".concat(Zt===null?St:Zt,"__"),label:Zt},jn),{},{options:gn(Hn)})}).filter(function(ct){return ct})}function xn(Re,Ne,ct,St,an){return Ze.useMemo(function(){var Gt=Re,Zt=!Re;Zt&&(Gt=gn(Ne));var Dn=new Map,Hn=new Map,jn=function(Ct,Rt,Xt){Xt&&typeof Xt=="string"&&Ct.set(Rt[Xt],Rt)};function qt(Sn){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rt=0;Rt<Sn.length;Rt+=1){var Xt=Sn[Rt];!Xt[ct.options]||Ct?(Dn.set(Xt[ct.value],Xt),jn(Hn,Xt,ct.label),jn(Hn,Xt,St),jn(Hn,Xt,an)):qt(Xt[ct.options],!0)}}return qt(Gt),{options:Gt,valueOptions:Dn,labelOptions:Hn}},[Re,Ne,ct,St,an])}function Un(Re){var Ne=Ze.useRef();Ne.current=Re;var ct=Ze.useCallback(function(){return Ne.current.apply(Ne,arguments)},[]);return ct}var Pn=function(){return null};Pn.isSelectOptGroup=!0;var Vn=Pn,dr=function(){return null};dr.isSelectOption=!0;var gr=dr,_n=se(80547),wr=se(2738),Jr=se(48911),pr=Ze.createContext(null),pi=pr;function Rr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Qr=["disabled","title","children","style","className"];function pn(Re){return typeof Re=="string"||typeof Re=="number"}var Zn=function(Ne,ct){var St=vt(),an=St.prefixCls,Gt=St.id,Zt=St.open,Dn=St.multiple,Hn=St.mode,jn=St.searchValue,qt=St.toggleOpen,Sn=St.notFoundContent,Ct=St.onPopupScroll,Rt=Ze.useContext(pi),Xt=Rt.flattenOptions,en=Rt.onActiveValue,En=Rt.defaultActiveFirstOption,Wt=Rt.onSelect,An=Rt.menuItemSelectedIcon,Ge=Rt.rawValues,Tt=Rt.fieldNames,Ot=Rt.virtual,ln=Rt.direction,Jt=Rt.listHeight,dn=Rt.listItemHeight,cn="".concat(an,"-item"),Fn=(0,_n.Z)(function(){return Xt},[Zt,Xt],function(Zr,Xn){return Xn[0]&&Zr[1]!==Xn[1]}),Kn=Ze.useRef(null),qn=function(Xn){Xn.preventDefault()},br=function(Xn){Kn.current&&Kn.current.scrollTo(typeof Xn=="number"?{index:Xn}:Xn)},Tr=function(Xn){for(var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Xr=Fn.length,Nr=0;Nr<Xr;Nr+=1){var oi=(Xn+Nr*Yn+Xr)%Xr,ci=Fn[oi],di=ci.group,Gr=ci.data;if(!di&&!Gr.disabled)return oi}return-1},jr=Ze.useState(function(){return Tr(0)}),Fr=(0,Se.Z)(jr,2),tr=Fr[0],_r=Fr[1],Hr=function(Xn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;_r(Xn);var Xr={source:Yn?"keyboard":"mouse"},Nr=Fn[Xn];if(!Nr){en(null,-1,Xr);return}en(Nr.value,Xn,Xr)};(0,Ze.useEffect)(function(){Hr(En!==!1?Tr(0):-1)},[Fn.length,jn]);var qr=Ze.useCallback(function(Zr){return Ge.has(Zr)&&Hn!=="combobox"},[Hn,(0,He.Z)(Ge).toString(),Ge.size]);(0,Ze.useEffect)(function(){var Zr=setTimeout(function(){if(!Dn&&Zt&&Ge.size===1){var Yn=Array.from(Ge)[0],Xr=Fn.findIndex(function(Nr){var oi=Nr.data;return oi.value===Yn});Xr!==-1&&(Hr(Xr),br(Xr))}});if(Zt){var Xn;(Xn=Kn.current)===null||Xn===void 0||Xn.scrollTo(void 0)}return function(){return clearTimeout(Zr)}},[Zt,jn,Xt.length]);var Mr=function(Xn){Xn!==void 0&&Wt(Xn,{selected:!Ge.has(Xn)}),Dn||qt(!1)};if(Ze.useImperativeHandle(ct,function(){return{onKeyDown:function(Xn){var Yn=Xn.which,Xr=Xn.ctrlKey;switch(Yn){case ot.Z.N:case ot.Z.P:case ot.Z.UP:case ot.Z.DOWN:{var Nr=0;if(Yn===ot.Z.UP?Nr=-1:Yn===ot.Z.DOWN?Nr=1:Rr()&&Xr&&(Yn===ot.Z.N?Nr=1:Yn===ot.Z.P&&(Nr=-1)),Nr!==0){var oi=Tr(tr+Nr,Nr);br(oi),Hr(oi,!0)}break}case ot.Z.ENTER:{var ci=Fn[tr];ci&&!ci.data.disabled?Mr(ci.value):Mr(void 0),Zt&&Xn.preventDefault();break}case ot.Z.ESC:qt(!1),Zt&&Xn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Xn){br(Xn)}}}),Fn.length===0)return Ze.createElement("div",{role:"listbox",id:"".concat(Gt,"_list"),className:"".concat(cn,"-empty"),onMouseDown:qn},Sn);var Ir=Object.keys(Tt).map(function(Zr){return Tt[Zr]}),$r=function(Xn){return Xn.label};function Wr(Zr,Xn){var Yn=Zr.group;return{role:Yn?"presentation":"option",id:"".concat(Gt,"_list_").concat(Xn)}}var wi=function(Xn){var Yn=Fn[Xn];if(!Yn)return null;var Xr=Yn.data||{},Nr=Xr.value,oi=Yn.group,ci=(0,et.Z)(Xr,!0),di=$r(Yn);return Yn?Ze.createElement("div",(0,ae.Z)({"aria-label":typeof di=="string"&&!oi?di:null},ci,{key:Xn},Wr(Yn,Xn),{"aria-selected":qr(Nr)}),Nr):null},Ii={role:"listbox",id:"".concat(Gt,"_list")};return Ze.createElement(Ze.Fragment,null,Ot&&Ze.createElement("div",(0,ae.Z)({},Ii,{style:{height:0,width:0,overflow:"hidden"}}),wi(tr-1),wi(tr),wi(tr+1)),Ze.createElement(Jr.Z,{itemKey:"key",ref:Kn,data:Fn,height:Jt,itemHeight:dn,fullHeight:!1,onMouseDown:qn,onScroll:Ct,virtual:Ot,direction:ln,innerProps:Ot?null:Ii},function(Zr,Xn){var Yn,Xr=Zr.group,Nr=Zr.groupOption,oi=Zr.data,ci=Zr.label,di=Zr.value,Gr=oi.key;if(Xr){var ti,Gi=(ti=oi.title)!==null&&ti!==void 0?ti:pn(ci)?ci.toString():void 0;return Ze.createElement("div",{className:Be()(cn,"".concat(cn,"-group")),title:Gi},ci!==void 0?ci:Gr)}var Sr=oi.disabled,Or=oi.title,fi=oi.children,Ei=oi.style,Xi=oi.className,Ji=(0,ke.Z)(oi,Qr),ji=(0,wr.Z)(Ji,Ir),Ni=qr(di),ua="".concat(cn,"-option"),ca=Be()(cn,ua,Xi,(Yn={},(0,ze.Z)(Yn,"".concat(ua,"-grouped"),Nr),(0,ze.Z)(Yn,"".concat(ua,"-active"),tr===Xn&&!Sr),(0,ze.Z)(Yn,"".concat(ua,"-disabled"),Sr),(0,ze.Z)(Yn,"".concat(ua,"-selected"),Ni),Yn)),Lr=$r(Zr),Dr=!An||typeof An=="function"||Ni,kr=typeof Lr=="number"?Lr:Lr||di,Ur=pn(kr)?kr.toString():void 0;return Or!==void 0&&(Ur=Or),Ze.createElement("div",(0,ae.Z)({},(0,et.Z)(ji),Ot?{}:Wr(Zr,Xn),{"aria-selected":Ni,className:ca,title:Ur,onMouseMove:function(){tr===Xn||Sr||Hr(Xn)},onClick:function(){Sr||Mr(di)},style:Ei}),Ze.createElement("div",{className:"".concat(ua,"-content")},kr),Ze.isValidElement(An)||Ni,Dr&&Ze.createElement(ht,{className:"".concat(cn,"-option-state"),customizeIcon:An,customizeIconProps:{isSelected:Ni}},Ni?"\u2713":null))}))},rr=Ze.forwardRef(Zn);rr.displayName="OptionList";var ur=rr;function nr(Re){var Ne=Re.mode,ct=Re.options,St=Re.children,an=Re.backfill,Gt=Re.allowClear,Zt=Re.placeholder,Dn=Re.getInputElement,Hn=Re.showSearch,jn=Re.onSearch,qt=Re.defaultOpen,Sn=Re.autoFocus,Ct=Re.labelInValue,Rt=Re.value,Xt=Re.inputValue,en=Re.optionLabelProp,En=isMultiple(Ne),Wt=Hn!==void 0?Hn:En||Ne==="combobox",An=ct||convertChildrenToData(St);if(warning(Ne!=="tags"||An.every(function(ln){return!ln.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ne==="tags"||Ne==="combobox"){var Ge=An.some(function(ln){return ln.options?ln.options.some(function(Jt){return typeof("value"in Jt?Jt.value:Jt.key)=="number"}):typeof("value"in ln?ln.value:ln.key)=="number"});warning(!Ge,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ne!=="combobox"||!en,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ne==="combobox"||!an,"`backfill` only works with `combobox` mode."),warning(Ne==="combobox"||!Dn,"`getInputElement` only work with `combobox` mode."),noteOnce(Ne!=="combobox"||!Dn||!Gt||!Zt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),jn&&!Wt&&Ne!=="combobox"&&Ne!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!qt||Sn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Rt!=null){var Tt=toArray(Rt);warning(!Ct||Tt.every(function(ln){return _typeof(ln)==="object"&&("key"in ln||"value"in ln)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!En||Array.isArray(Rt),"`value` should be array when `mode` is `multiple` or `tags`")}if(St){var Ot=null;toNodeArray(St).some(function(ln){if(!React.isValidElement(ln)||!ln.type)return!1;var Jt=ln,dn=Jt.type;if(dn.isSelectOption)return!1;if(dn.isSelectOptGroup){var cn=toNodeArray(ln.props.children).every(function(Fn){return!React.isValidElement(Fn)||!ln.type||Fn.type.isSelectOption?!0:(Ot=Fn.type,!1)});return!cn}return Ot=dn,!0}),Ot&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ot.displayName||Ot.name||Ot,"`.")),warning(Xt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function fr(Re,Ne){if(Re){var ct=function St(an){for(var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zt=0;Zt<an.length;Zt++){var Dn=an[Zt];if(Dn[Ne==null?void 0:Ne.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Gt&&Array.isArray(Dn[Ne==null?void 0:Ne.options])&&St(Dn[Ne==null?void 0:Ne.options],!0))break}};ct(Re)}}var sr=null,Br=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],ir=["inputValue"];function Bn(Re){return!Re||(0,Oe.Z)(Re)!=="object"}var Cr=Ze.forwardRef(function(Re,Ne){var ct=Re.id,St=Re.mode,an=Re.prefixCls,Gt=an===void 0?"rc-select":an,Zt=Re.backfill,Dn=Re.fieldNames,Hn=Re.inputValue,jn=Re.searchValue,qt=Re.onSearch,Sn=Re.autoClearSearchValue,Ct=Sn===void 0?!0:Sn,Rt=Re.onSelect,Xt=Re.onDeselect,en=Re.dropdownMatchSelectWidth,En=en===void 0?!0:en,Wt=Re.filterOption,An=Re.filterSort,Ge=Re.optionFilterProp,Tt=Re.optionLabelProp,Ot=Re.options,ln=Re.children,Jt=Re.defaultActiveFirstOption,dn=Re.menuItemSelectedIcon,cn=Re.virtual,Fn=Re.direction,Kn=Re.listHeight,qn=Kn===void 0?200:Kn,br=Re.listItemHeight,Tr=br===void 0?20:br,jr=Re.value,Fr=Re.defaultValue,tr=Re.labelInValue,_r=Re.onChange,Hr=(0,ke.Z)(Re,Br),qr=(0,Gn.ZP)(ct),Mr=Qt(St),Ir=!!(!Ot&&ln),$r=Ze.useMemo(function(){return Wt===void 0&&St==="combobox"?!1:Wt},[Wt,St]),Wr=Ze.useMemo(function(){return ue(Dn,Ir)},[JSON.stringify(Dn),Ir]),wi=(0,xe.Z)("",{value:jn!==void 0?jn:Hn,postState:function(Rn){return Rn||""}}),Ii=(0,Se.Z)(wi,2),Zr=Ii[0],Xn=Ii[1],Yn=xn(Ot,ln,Wr,Ge,Tt),Xr=Yn.valueOptions,Nr=Yn.labelOptions,oi=Yn.options,ci=Ze.useCallback(function(on){var Rn=Pt(on);return Rn.map(function(or){var lr,On,Er,si,Di;if(Bn(or))lr=or;else{var ui;Er=or.key,On=or.label,lr=(ui=or.value)!==null&&ui!==void 0?ui:Er}var xr=Xr.get(lr);if(xr){var li;if(On===void 0&&(On=xr==null?void 0:xr[Tt||Wr.label]),Er===void 0&&(Er=(li=xr==null?void 0:xr.key)!==null&&li!==void 0?li:lr),si=xr==null?void 0:xr.disabled,Di=xr==null?void 0:xr.title,0)var Ci}return{label:On,value:lr,key:Er,disabled:si,title:Di}})},[Wr,Tt,Xr]),di=(0,xe.Z)(Fr,{value:jr}),Gr=(0,Se.Z)(di,2),ti=Gr[0],Gi=Gr[1],Sr=Ze.useMemo(function(){var on,Rn=ci(ti);return St==="combobox"&&Ut((on=Rn[0])===null||on===void 0?void 0:on.value)?[]:Rn},[ti,ci,St]),Or=In(Sr,Xr),fi=(0,Se.Z)(Or,2),Ei=fi[0],Xi=fi[1],Ji=Ze.useMemo(function(){if(!St&&Ei.length===1){var on=Ei[0];if(on.value===null&&(on.label===null||on.label===void 0))return[]}return Ei.map(function(Rn){var or;return(0,rt.Z)((0,rt.Z)({},Rn),{},{label:(or=Rn.label)!==null&&or!==void 0?or:Rn.value})})},[St,Ei]),ji=Ze.useMemo(function(){return new Set(Ei.map(function(on){return on.value}))},[Ei]);Ze.useEffect(function(){if(St==="combobox"){var on,Rn=(on=Ei[0])===null||on===void 0?void 0:on.value;Xn(rn(Rn)?String(Rn):"")}},[Ei]);var Ni=Un(function(on,Rn){var or,lr=Rn!=null?Rn:on;return or={},(0,ze.Z)(or,Wr.value,on),(0,ze.Z)(or,Wr.label,lr),or}),ua=Ze.useMemo(function(){if(St!=="tags")return oi;var on=(0,He.Z)(oi),Rn=function(lr){return Xr.has(lr)};return(0,He.Z)(Ei).sort(function(or,lr){return or.value<lr.value?-1:1}).forEach(function(or){var lr=or.value;Rn(lr)||on.push(Ni(lr,or.label))}),on},[Ni,oi,Xr,Ei,St]),ca=tn(ua,Wr,Zr,$r,Ge),Lr=Ze.useMemo(function(){return St!=="tags"||!Zr||ca.some(function(on){return on[Ge||"value"]===Zr})||ca.some(function(on){return on[Wr.value]===Zr})?ca:[Ni(Zr)].concat((0,He.Z)(ca))},[Ni,Ge,St,ca,Zr,Wr]),Dr=Ze.useMemo(function(){return An?(0,He.Z)(Lr).sort(function(on,Rn){return An(on,Rn)}):Lr},[Lr,An]),kr=Ze.useMemo(function(){return Pe(Dr,{fieldNames:Wr,childrenAsData:Ir})},[Dr,Wr,Ir]),Ur=function(Rn){var or=ci(Rn);if(Gi(or),_r&&(or.length!==Ei.length||or.some(function(Er,si){var Di;return((Di=Ei[si])===null||Di===void 0?void 0:Di.value)!==(Er==null?void 0:Er.value)}))){var lr=tr?or:or.map(function(Er){return Er.value}),On=or.map(function(Er){return _e(Xi(Er.value))});_r(Mr?lr:lr[0],Mr?On:On[0])}},Ti=Ze.useState(null),pa=(0,Se.Z)(Ti,2),ga=pa[0],ia=pa[1],Qi=Ze.useState(0),ya=(0,Se.Z)(Qi,2),ja=ya[0],Ha=ya[1],mo=Jt!==void 0?Jt:St!=="combobox",Pi=Ze.useCallback(function(on,Rn){var or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},lr=or.source,On=lr===void 0?"keyboard":lr;Ha(Rn),Zt&&St==="combobox"&&on!==null&&On==="keyboard"&&ia(String(on))},[Zt,St]),zi=function(Rn,or,lr){var On=function(){var gi,Ki=Xi(Rn);return[tr?{label:Ki==null?void 0:Ki[Wr.label],value:Rn,key:(gi=Ki==null?void 0:Ki.key)!==null&&gi!==void 0?gi:Rn}:Rn,_e(Ki)]};if(or&&Rt){var Er=On(),si=(0,Se.Z)(Er,2),Di=si[0],ui=si[1];Rt(Di,ui)}else if(!or&&Xt&&lr!=="clear"){var xr=On(),li=(0,Se.Z)(xr,2),Ci=li[0],Ui=li[1];Xt(Ci,Ui)}},Aa=Un(function(on,Rn){var or,lr=Mr?Rn.selected:!0;lr?or=Mr?[].concat((0,He.Z)(Ei),[on]):[on]:or=Ei.filter(function(On){return On.value!==on}),Ur(or),zi(on,lr),St==="combobox"?ia(""):(!Qt||Ct)&&(Xn(""),ia(""))}),Yi=function(Rn,or){Ur(Rn);var lr=or.type,On=or.values;(lr==="remove"||lr==="clear")&&On.forEach(function(Er){zi(Er.value,!1,lr)})},$i=function(Rn,or){if(Xn(Rn),ia(null),or.source==="submit"){var lr=(Rn||"").trim();if(lr){var On=Array.from(new Set([].concat((0,He.Z)(ji),[lr])));Ur(On),zi(lr,!0),Xn("")}return}or.source!=="blur"&&(St==="combobox"&&Ur(Rn),qt==null||qt(Rn))},wn=function(Rn){var or=Rn;St!=="tags"&&(or=Rn.map(function(On){var Er=Nr.get(On);return Er==null?void 0:Er.value}).filter(function(On){return On!==void 0}));var lr=Array.from(new Set([].concat((0,He.Z)(ji),(0,He.Z)(or))));Ur(lr),lr.forEach(function(On){zi(On,!0)})},hn=Ze.useMemo(function(){var on=cn!==!1&&En!==!1;return(0,rt.Z)((0,rt.Z)({},Yn),{},{flattenOptions:kr,onActiveValue:Pi,defaultActiveFirstOption:mo,onSelect:Aa,menuItemSelectedIcon:dn,rawValues:ji,fieldNames:Wr,virtual:on,direction:Fn,listHeight:qn,listItemHeight:Tr,childrenAsData:Ir})},[Yn,kr,Pi,mo,Aa,dn,ji,Wr,cn,En,qn,Tr,Ir]);return Ze.createElement(pi.Provider,{value:hn},Ze.createElement(bn,(0,ae.Z)({},Hr,{id:qr,prefixCls:Gt,ref:Ne,omitDomProps:ir,mode:St,displayValues:Ji,onDisplayValuesChange:Yi,direction:Fn,searchValue:Zr,onSearch:$i,autoClearSearchValue:Ct,onSearchSplit:wn,dropdownMatchSelectWidth:En,OptionList:ur,emptyOptions:!kr.length,activeValue:ga,activeDescendantId:"".concat(qr,"_list_").concat(ja)})))}),wt=Cr;wt.Option=gr,wt.OptGroup=Vn;var Fe=wt,je=Fe},9296:function(Cn,mn,se){"use strict";se.r(mn),se.d(mn,{ResizableTextArea:function(){return pt},default:function(){return Ut}});var ae=se(54476),He=se(33885),ze=se(20068),rt=se(76190),Se=se(42978),ke=se(75931),Oe=se(94480),xe=se(92310),Ee=se.n(xe),Ze=se(93681),yt=se(5643),Be=se(18929),Te=se(59301),dt=se(29301),ot=se(34280),ft=se(16089),lt=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,ht=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Vt={},st;function vt(un){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=un.getAttribute("id")||un.getAttribute("data-reactid")||un.getAttribute("name");if(jt&&Vt[Qe])return Vt[Qe];var Ce=window.getComputedStyle(un),nt=Ce.getPropertyValue("box-sizing")||Ce.getPropertyValue("-moz-box-sizing")||Ce.getPropertyValue("-webkit-box-sizing"),$t=parseFloat(Ce.getPropertyValue("padding-bottom"))+parseFloat(Ce.getPropertyValue("padding-top")),Et=parseFloat(Ce.getPropertyValue("border-bottom-width"))+parseFloat(Ce.getPropertyValue("border-top-width")),Ve=ht.map(function(At){return"".concat(At,":").concat(Ce.getPropertyValue(At))}).join(";"),tt={sizingStyle:Ve,paddingSize:$t,borderSize:Et,boxSizing:nt};return jt&&Qe&&(Vt[Qe]=tt),tt}function Ke(un){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;st||(st=document.createElement("textarea"),st.setAttribute("tab-index","-1"),st.setAttribute("aria-hidden","true"),document.body.appendChild(st)),un.getAttribute("wrap")?st.setAttribute("wrap",un.getAttribute("wrap")):st.removeAttribute("wrap");var nt=vt(un,jt),$t=nt.paddingSize,Et=nt.borderSize,Ve=nt.boxSizing,tt=nt.sizingStyle;st.setAttribute("style","".concat(tt,";").concat(lt)),st.value=un.value||un.placeholder||"";var At=void 0,fn=void 0,Kt,yn=st.scrollHeight;if(Ve==="border-box"?yn+=Et:Ve==="content-box"&&(yn-=$t),Qe!==null||Ce!==null){st.value=" ";var kt=st.scrollHeight-$t;Qe!==null&&(At=kt*Qe,Ve==="border-box"&&(At=At+$t+Et),yn=Math.max(At,yn)),Ce!==null&&(fn=kt*Ce,Ve==="border-box"&&(fn=fn+$t+Et),Kt=yn>fn?"":"hidden",yn=Math.min(fn,yn))}var Bt={height:yn,overflowY:Kt,resize:"none"};return At&&(Bt.minHeight=At),fn&&(Bt.maxHeight=fn),Bt}var pe=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],$e=0,et=1,qe=2,Ye=Te.forwardRef(function(un,jt){var Qe=un,Ce=Qe.prefixCls,nt=Qe.onPressEnter,$t=Qe.defaultValue,Et=Qe.value,Ve=Qe.autoSize,tt=Qe.onResize,At=Qe.className,fn=Qe.style,Kt=Qe.disabled,yn=Qe.onChange,kt=Qe.onInternalAutoSize,Bt=(0,ke.Z)(Qe,pe),xt=(0,Be.Z)($t,{value:Et,postState:function(Vn){return Vn!=null?Vn:""}}),ve=(0,Se.Z)(xt,2),ce=ve[0],le=ve[1],fe=function(Vn){le(Vn.target.value),yn==null||yn(Vn)},he=Te.useRef();Te.useImperativeHandle(jt,function(){return{textArea:he.current}});var ue=Te.useMemo(function(){return Ve&&(0,rt.Z)(Ve)==="object"?[Ve.minRows,Ve.maxRows]:[]},[Ve]),Pe=(0,Se.Z)(ue,2),_e=Pe[0],Dt=Pe[1],Lt=!!Ve,Ht=function(){try{if(document.activeElement===he.current){var Vn=he.current,dr=Vn.selectionStart,gr=Vn.selectionEnd,_n=Vn.scrollTop;he.current.setSelectionRange(dr,gr),he.current.scrollTop=_n}}catch(wr){}},Qt=Te.useState(qe),zt=(0,Se.Z)(Qt,2),bn=zt[0],In=zt[1],Mt=Te.useState(),tn=(0,Se.Z)(Mt,2),Gn=tn[0],ut=tn[1],We=function(){In($e)};(0,ot.Z)(function(){Lt&&We()},[Et,_e,Dt,Lt]),(0,ot.Z)(function(){if(bn===$e)In(et);else if(bn===et){var Pn=Ke(he.current,!1,_e,Dt);In(qe),ut(Pn)}else Ht()},[bn]);var Ue=Te.useRef(),nn=function(){ft.Z.cancel(Ue.current)},gn=function(Vn){bn===qe&&(tt==null||tt(Vn),Ve&&(nn(),Ue.current=(0,ft.Z)(function(){We()})))};Te.useEffect(function(){return nn},[]);var xn=Lt?Gn:null,Un=(0,He.Z)((0,He.Z)({},fn),xn);return(bn===$e||bn===et)&&(Un.overflowY="hidden",Un.overflowX="hidden"),Te.createElement(dt.Z,{onResize:gn,disabled:!(Ve||tt)},Te.createElement("textarea",(0,ae.Z)({},Bt,{ref:he,style:Un,className:Ee()(Ce,At,(0,ze.Z)({},"".concat(Ce,"-disabled"),Kt)),disabled:Kt,value:ce,onChange:fe})))}),pt=Ye,at=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Pt(un,jt){return(0,Oe.Z)(un||"").slice(0,jt).join("")}function it(un,jt,Qe,Ce){var nt=Qe;return un?nt=Pt(Qe,Ce):(0,Oe.Z)(jt||"").length<Qe.length&&(0,Oe.Z)(Qe||"").length>Ce&&(nt=jt),nt}var Nt=Te.forwardRef(function(un,jt){var Qe,Ce=un.defaultValue,nt=un.value,$t=un.onFocus,Et=un.onBlur,Ve=un.onChange,tt=un.allowClear,At=un.maxLength,fn=un.onCompositionStart,Kt=un.onCompositionEnd,yn=un.suffix,kt=un.prefixCls,Bt=kt===void 0?"rc-textarea":kt,xt=un.classes,ve=un.showCount,ce=un.className,le=un.style,fe=un.disabled,he=un.hidden,ue=un.classNames,Pe=un.styles,_e=un.onResize,Dt=(0,ke.Z)(un,at),Lt=(0,Be.Z)(Ce,{value:nt,defaultValue:Ce}),Ht=(0,Se.Z)(Lt,2),Qt=Ht[0],zt=Ht[1],bn=(0,Te.useRef)(null),In=Te.useState(!1),Mt=(0,Se.Z)(In,2),tn=Mt[0],Gn=Mt[1],ut=Te.useState(!1),We=(0,Se.Z)(ut,2),Ue=We[0],nn=We[1],gn=Te.useRef(),xn=Te.useRef(0),Un=Te.useState(null),Pn=(0,Se.Z)(Un,2),Vn=Pn[0],dr=Pn[1],gr=function(){var Bn;(Bn=bn.current)===null||Bn===void 0||Bn.textArea.focus()};(0,Te.useImperativeHandle)(jt,function(){return{resizableTextArea:bn.current,focus:gr,blur:function(){var Bn;(Bn=bn.current)===null||Bn===void 0||Bn.textArea.blur()}}}),(0,Te.useEffect)(function(){Gn(function(ir){return!fe&&ir})},[fe]);var _n=Number(At)>0,wr=function(Bn){nn(!0),gn.current=Qt,xn.current=Bn.currentTarget.selectionStart,fn==null||fn(Bn)},Jr=function(Bn){nn(!1);var Cr=Bn.currentTarget.value;if(_n){var wt,Fe=xn.current>=At+1||xn.current===((wt=gn.current)===null||wt===void 0?void 0:wt.length);Cr=it(Fe,gn.current,Cr,At)}Cr!==Qt&&(zt(Cr),(0,yt.rJ)(Bn.currentTarget,Bn,Ve,Cr)),Kt==null||Kt(Bn)},pr=function(Bn){var Cr=Bn.target.value;if(!Ue&&_n){var wt=Bn.target.selectionStart>=At+1||Bn.target.selectionStart===Cr.length||!Bn.target.selectionStart;Cr=it(wt,Qt,Cr,At)}zt(Cr),(0,yt.rJ)(Bn.currentTarget,Bn,Ve,Cr)},pi=function(Bn){var Cr=Dt.onPressEnter,wt=Dt.onKeyDown;Bn.key==="Enter"&&Cr&&Cr(Bn),wt==null||wt(Bn)},Rr=function(Bn){Gn(!0),$t==null||$t(Bn)},Qr=function(Bn){Gn(!1),Et==null||Et(Bn)},pn=function(Bn){var Cr;zt(""),gr(),(0,yt.rJ)((Cr=bn.current)===null||Cr===void 0?void 0:Cr.textArea,Bn,Ve)},Zn=(0,yt.D7)(Qt);!Ue&&_n&&nt==null&&(Zn=Pt(Zn,At));var rr=yn,ur;if(ve){var nr=(0,Oe.Z)(Zn).length;(0,rt.Z)(ve)==="object"?ur=ve.formatter({value:Zn,count:nr,maxLength:At}):ur="".concat(nr).concat(_n?" / ".concat(At):""),rr=Te.createElement(Te.Fragment,null,rr,Te.createElement("span",{className:Ee()("".concat(Bt,"-data-count"),ue==null?void 0:ue.count),style:Pe==null?void 0:Pe.count},ur))}var fr=function(Bn){var Cr;_e==null||_e(Bn),(Cr=bn.current)!==null&&Cr!==void 0&&Cr.textArea.style.height&&dr(!0)},sr=!Dt.autoSize&&!ve&&!tt,Br=Te.createElement(Ze.BaseInput,{value:Zn,allowClear:tt,handleReset:pn,suffix:rr,prefixCls:Bt,classes:{affixWrapper:Ee()(xt==null?void 0:xt.affixWrapper,(Qe={},(0,ze.Z)(Qe,"".concat(Bt,"-show-count"),ve),(0,ze.Z)(Qe,"".concat(Bt,"-textarea-allow-clear"),tt),Qe))},disabled:fe,focused:tn,className:ce,style:(0,He.Z)((0,He.Z)({},le),Vn&&!sr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ur=="string"?ur:void 0}},hidden:he,inputElement:Te.createElement(pt,(0,ae.Z)({},Dt,{onKeyDown:pi,onChange:pr,onFocus:Rr,onBlur:Qr,onCompositionStart:wr,onCompositionEnd:Jr,className:ue==null?void 0:ue.textarea,style:(0,He.Z)((0,He.Z)({},Pe==null?void 0:Pe.textarea),{},{resize:le==null?void 0:le.resize}),disabled:fe,prefixCls:Bt,onResize:fr,ref:bn}))});return Br}),rn=Nt,Ut=rn},48911:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xt}});var ae=se(54476),He=se(76190),ze=se(33885),rt=se(20068),Se=se(42978),ke=se(75931),Oe=se(92310),xe=se.n(Oe),Ee=se(29301),Ze=se(70425),yt=se(34280),Be=se(59301),Te=se(4676),dt=Be.forwardRef(function(ve,ce){var le=ve.height,fe=ve.offsetY,he=ve.offsetX,ue=ve.children,Pe=ve.prefixCls,_e=ve.onInnerResize,Dt=ve.innerProps,Lt=ve.rtl,Ht=ve.extra,Qt={},zt={display:"flex",flexDirection:"column"};return fe!==void 0&&(Qt={height:le,position:"relative",overflow:"hidden"},zt=(0,ze.Z)((0,ze.Z)({},zt),{},(0,rt.Z)((0,rt.Z)((0,rt.Z)((0,rt.Z)((0,rt.Z)({transform:"translateY(".concat(fe,"px)")},Lt?"marginRight":"marginLeft",-he),"position","absolute"),"left",0),"right",0),"top",0))),Be.createElement("div",{style:Qt},Be.createElement(Ee.Z,{onResize:function(In){var Mt=In.offsetHeight;Mt&&_e&&_e()}},Be.createElement("div",(0,ae.Z)({style:zt,className:xe()((0,rt.Z)({},"".concat(Pe,"-holder-inner"),Pe)),ref:ce},Dt),ue,Ht)))});dt.displayName="Filler";var ot=dt;function ft(ve){var ce=ve.children,le=ve.setRef,fe=Be.useCallback(function(he){le(he)},[]);return Be.cloneElement(ce,{ref:fe})}function lt(ve,ce,le,fe,he,ue,Pe,_e){var Dt=_e.getKey;return ve.slice(ce,le+1).map(function(Lt,Ht){var Qt=ce+Ht,zt=Pe(Lt,Qt,{style:{width:fe},offsetX:he}),bn=Dt(Lt);return Be.createElement(ft,{key:bn,setRef:function(Mt){return ue(Lt,Mt)}},zt)})}function ht(ve,ce,le,fe){var he=le-ve,ue=ce-le,Pe=Math.min(he,ue)*2;if(fe<=Pe){var _e=Math.floor(fe/2);return fe%2?le+_e+1:le-_e}return he>ue?le-(fe-ue):le+(fe-he)}function Vt(ve,ce,le){var fe=ve.length,he=ce.length,ue,Pe;if(fe===0&&he===0)return null;fe<he?(ue=ve,Pe=ce):(ue=ce,Pe=ve);var _e={__EMPTY_ITEM__:!0};function Dt(In){return In!==void 0?le(In):_e}for(var Lt=null,Ht=Math.abs(fe-he)!==1,Qt=0;Qt<Pe.length;Qt+=1){var zt=Dt(ue[Qt]),bn=Dt(Pe[Qt]);if(zt!==bn){Lt=Qt,Ht=Ht||zt!==Dt(Pe[Qt+1]);break}}return Lt===null?null:{index:Lt,multiple:Ht}}function st(ve,ce,le){var fe=Be.useState(ve),he=(0,Se.Z)(fe,2),ue=he[0],Pe=he[1],_e=Be.useState(null),Dt=(0,Se.Z)(_e,2),Lt=Dt[0],Ht=Dt[1];return Be.useEffect(function(){var Qt=Vt(ue||[],ve||[],ce);(Qt==null?void 0:Qt.index)!==void 0&&(le==null||le(Qt.index),Ht(ve[Qt.index])),Pe(ve)},[ve]),[Lt]}var vt=se(16089),Ke=(typeof navigator=="undefined"?"undefined":(0,He.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),pe=Ke,$e=function(ve,ce,le,fe){var he=(0,Be.useRef)(!1),ue=(0,Be.useRef)(null);function Pe(){clearTimeout(ue.current),he.current=!0,ue.current=setTimeout(function(){he.current=!1},50)}var _e=(0,Be.useRef)({top:ve,bottom:ce,left:le,right:fe});return _e.current.top=ve,_e.current.bottom=ce,_e.current.left=le,_e.current.right=fe,function(Dt,Lt){var Ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Qt=Dt?Lt<0&&_e.current.left||Lt>0&&_e.current.right:Lt<0&&_e.current.top||Lt>0&&_e.current.bottom;return Ht&&Qt?(clearTimeout(ue.current),he.current=!1):(!Qt||he.current)&&Pe(),!he.current&&Qt}};function et(ve,ce,le,fe,he,ue,Pe){var _e=(0,Be.useRef)(0),Dt=(0,Be.useRef)(null),Lt=(0,Be.useRef)(null),Ht=(0,Be.useRef)(!1),Qt=$e(ce,le,fe,he);function zt(ut,We){if(vt.Z.cancel(Dt.current),!Qt(!1,We)){var Ue=ut;if(!Ue._virtualHandled)Ue._virtualHandled=!0;else return;_e.current+=We,Lt.current=We,pe||Ue.preventDefault(),Dt.current=(0,vt.Z)(function(){var nn=Ht.current?10:1;Pe(_e.current*nn,!1),_e.current=0})}}function bn(ut,We){Pe(We,!0),pe||ut.preventDefault()}var In=(0,Be.useRef)(null),Mt=(0,Be.useRef)(null);function tn(ut){if(ve){vt.Z.cancel(Mt.current),Mt.current=(0,vt.Z)(function(){In.current=null},2);var We=ut.deltaX,Ue=ut.deltaY,nn=ut.shiftKey,gn=We,xn=Ue;(In.current==="sx"||!In.current&&nn&&Ue&&!We)&&(gn=Ue,xn=0,In.current="sx");var Un=Math.abs(gn),Pn=Math.abs(xn);In.current===null&&(In.current=ue&&Un>Pn?"x":"y"),In.current==="y"?zt(ut,xn):bn(ut,gn)}}function Gn(ut){ve&&(Ht.current=ut.detail===Lt.current)}return[tn,Gn]}function qe(ve,ce,le,fe){var he=Be.useMemo(function(){return[new Map,[]]},[ve,le.id,fe]),ue=(0,Se.Z)(he,2),Pe=ue[0],_e=ue[1],Dt=function(Ht){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ht,zt=Pe.get(Ht),bn=Pe.get(Qt);if(zt===void 0||bn===void 0)for(var In=ve.length,Mt=_e.length;Mt<In;Mt+=1){var tn,Gn=ve[Mt],ut=ce(Gn);Pe.set(ut,Mt);var We=(tn=le.get(ut))!==null&&tn!==void 0?tn:fe;if(_e[Mt]=(_e[Mt-1]||0)+We,ut===Ht&&(zt=Mt),ut===Qt&&(bn=Mt),zt!==void 0&&bn!==void 0)break}return{top:_e[zt-1]||0,bottom:_e[bn]}};return Dt}var Ye=se(67732),pt=se(83652),at=function(){function ve(){(0,Ye.Z)(this,ve),(0,rt.Z)(this,"maps",void 0),(0,rt.Z)(this,"id",0),(0,rt.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,pt.Z)(ve,[{key:"set",value:function(le,fe){this.diffRecords.set(le,this.maps[le]),this.maps[le]=fe,this.id+=1}},{key:"get",value:function(le){return this.maps[le]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ve}(),Pt=at;function it(ve){var ce=parseFloat(ve);return isNaN(ce)?0:ce}function Nt(ve,ce,le){var fe=Be.useState(0),he=(0,Se.Z)(fe,2),ue=he[0],Pe=he[1],_e=(0,Be.useRef)(new Map),Dt=(0,Be.useRef)(new Pt),Lt=(0,Be.useRef)(0);function Ht(){Lt.current+=1}function Qt(){var bn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ht();var In=function(){var Gn=!1;_e.current.forEach(function(ut,We){if(ut&&ut.offsetParent){var Ue=ut.offsetHeight,nn=getComputedStyle(ut),gn=nn.marginTop,xn=nn.marginBottom,Un=it(gn),Pn=it(xn),Vn=Ue+Un+Pn;Dt.current.get(We)!==Vn&&(Dt.current.set(We,Vn),Gn=!0)}}),Gn&&Pe(function(ut){return ut+1})};if(bn)In();else{Lt.current+=1;var Mt=Lt.current;Promise.resolve().then(function(){Mt===Lt.current&&In()})}}function zt(bn,In){var Mt=ve(bn),tn=_e.current.get(Mt);In?(_e.current.set(Mt,In),Qt()):_e.current.delete(Mt),!tn!=!In&&(In?ce==null||ce(bn):le==null||le(bn))}return(0,Be.useEffect)(function(){return Ht},[]),[zt,Qt,Dt.current,ue]}var rn=14/15;function Ut(ve,ce,le){var fe=(0,Be.useRef)(!1),he=(0,Be.useRef)(0),ue=(0,Be.useRef)(0),Pe=(0,Be.useRef)(null),_e=(0,Be.useRef)(null),Dt,Lt=function(bn){if(fe.current){var In=Math.ceil(bn.touches[0].pageX),Mt=Math.ceil(bn.touches[0].pageY),tn=he.current-In,Gn=ue.current-Mt,ut=Math.abs(tn)>Math.abs(Gn);ut?he.current=In:ue.current=Mt;var We=le(ut,ut?tn:Gn,!1,bn);We&&bn.preventDefault(),clearInterval(_e.current),We&&(_e.current=setInterval(function(){ut?tn*=rn:Gn*=rn;var Ue=Math.floor(ut?tn:Gn);(!le(ut,Ue,!0)||Math.abs(Ue)<=.1)&&clearInterval(_e.current)},16))}},Ht=function(){fe.current=!1,Dt()},Qt=function(bn){Dt(),bn.touches.length===1&&!fe.current&&(fe.current=!0,he.current=Math.ceil(bn.touches[0].pageX),ue.current=Math.ceil(bn.touches[0].pageY),Pe.current=bn.target,Pe.current.addEventListener("touchmove",Lt,{passive:!1}),Pe.current.addEventListener("touchend",Ht,{passive:!0}))};Dt=function(){Pe.current&&(Pe.current.removeEventListener("touchmove",Lt),Pe.current.removeEventListener("touchend",Ht))},(0,yt.Z)(function(){return ve&&ce.current.addEventListener("touchstart",Qt,{passive:!0}),function(){var zt;(zt=ce.current)===null||zt===void 0||zt.removeEventListener("touchstart",Qt),Dt(),clearInterval(_e.current)}},[ve])}function un(ve){return Math.floor(Math.pow(ve,.5))}function jt(ve,ce){var le="touches"in ve?ve.touches[0]:ve;return le[ce?"pageX":"pageY"]-window[ce?"scrollX":"scrollY"]}function Qe(ve,ce,le){Be.useEffect(function(){var fe=ce.current;if(ve&&fe){var he=!1,ue,Pe,_e=function(){vt.Z.cancel(ue)},Dt=function zt(){_e(),ue=(0,vt.Z)(function(){le(Pe),zt()})},Lt=function(){he=!1,_e()},Ht=function(bn){if(!(bn.target.draggable||bn.button!==0)){var In=bn;In._virtualHandled||(In._virtualHandled=!0,he=!0)}},Qt=function(bn){if(he){var In=jt(bn,!1),Mt=fe.getBoundingClientRect(),tn=Mt.top,Gn=Mt.bottom;if(In<=tn){var ut=tn-In;Pe=-un(ut),Dt()}else if(In>=Gn){var We=In-Gn;Pe=un(We),Dt()}else _e()}};return fe.addEventListener("mousedown",Ht),fe.ownerDocument.addEventListener("mouseup",Lt),fe.ownerDocument.addEventListener("mousemove",Qt),fe.ownerDocument.addEventListener("dragend",Lt),function(){fe.removeEventListener("mousedown",Ht),fe.ownerDocument.removeEventListener("mouseup",Lt),fe.ownerDocument.removeEventListener("mousemove",Qt),fe.ownerDocument.removeEventListener("dragend",Lt),_e()}}},[ve])}var Ce=10;function nt(ve,ce,le,fe,he,ue,Pe,_e){var Dt=Be.useRef(),Lt=Be.useState(null),Ht=(0,Se.Z)(Lt,2),Qt=Ht[0],zt=Ht[1];return(0,yt.Z)(function(){if(Qt&&Qt.times<Ce){if(!ve.current){zt(function(Qr){return(0,ze.Z)({},Qr)});return}ue();var bn=Qt.targetAlign,In=Qt.originAlign,Mt=Qt.index,tn=Qt.offset,Gn=ve.current.clientHeight,ut=!1,We=bn,Ue=null;if(Gn){for(var nn=bn||In,gn=0,xn=0,Un=0,Pn=Math.min(ce.length-1,Mt),Vn=0;Vn<=Pn;Vn+=1){var dr=he(ce[Vn]);xn=gn;var gr=le.get(dr);Un=xn+(gr===void 0?fe:gr),gn=Un}for(var _n=nn==="top"?tn:Gn-tn,wr=Pn;wr>=0;wr-=1){var Jr=he(ce[wr]),pr=le.get(Jr);if(pr===void 0){ut=!0;break}if(_n-=pr,_n<=0)break}switch(nn){case"top":Ue=xn-tn;break;case"bottom":Ue=Un-Gn+tn;break;default:{var pi=ve.current.scrollTop,Rr=pi+Gn;xn<pi?We="top":Un>Rr&&(We="bottom")}}Ue!==null&&Pe(Ue),Ue!==Qt.lastTop&&(ut=!0)}ut&&zt((0,ze.Z)((0,ze.Z)({},Qt),{},{times:Qt.times+1,targetAlign:We,lastTop:Ue}))}},[Qt,ve.current]),function(bn){if(bn==null){_e();return}if(vt.Z.cancel(Dt.current),typeof bn=="number")Pe(bn);else if(bn&&(0,He.Z)(bn)==="object"){var In,Mt=bn.align;"index"in bn?In=bn.index:In=ce.findIndex(function(ut){return he(ut)===bn.key});var tn=bn.offset,Gn=tn===void 0?0:tn;zt({times:0,index:In,offset:Gn,originAlign:Mt})}}}var $t=Be.forwardRef(function(ve,ce){var le=ve.prefixCls,fe=ve.rtl,he=ve.scrollOffset,ue=ve.scrollRange,Pe=ve.onStartMove,_e=ve.onStopMove,Dt=ve.onScroll,Lt=ve.horizontal,Ht=ve.spinSize,Qt=ve.containerSize,zt=ve.style,bn=ve.thumbStyle,In=ve.showScrollBar,Mt=Be.useState(!1),tn=(0,Se.Z)(Mt,2),Gn=tn[0],ut=tn[1],We=Be.useState(null),Ue=(0,Se.Z)(We,2),nn=Ue[0],gn=Ue[1],xn=Be.useState(null),Un=(0,Se.Z)(xn,2),Pn=Un[0],Vn=Un[1],dr=!fe,gr=Be.useRef(),_n=Be.useRef(),wr=Be.useState(In),Jr=(0,Se.Z)(wr,2),pr=Jr[0],pi=Jr[1],Rr=Be.useRef(),Qr=function(){In===!0||In===!1||(clearTimeout(Rr.current),pi(!0),Rr.current=setTimeout(function(){pi(!1)},3e3))},pn=ue-Qt||0,Zn=Qt-Ht||0,rr=Be.useMemo(function(){if(he===0||pn===0)return 0;var wt=he/pn;return wt*Zn},[he,pn,Zn]),ur=function(Fe){Fe.stopPropagation(),Fe.preventDefault()},nr=Be.useRef({top:rr,dragging:Gn,pageY:nn,startTop:Pn});nr.current={top:rr,dragging:Gn,pageY:nn,startTop:Pn};var fr=function(Fe){ut(!0),gn(jt(Fe,Lt)),Vn(nr.current.top),Pe(),Fe.stopPropagation(),Fe.preventDefault()};Be.useEffect(function(){var wt=function(Ne){Ne.preventDefault()},Fe=gr.current,je=_n.current;return Fe.addEventListener("touchstart",wt,{passive:!1}),je.addEventListener("touchstart",fr,{passive:!1}),function(){Fe.removeEventListener("touchstart",wt),je.removeEventListener("touchstart",fr)}},[]);var sr=Be.useRef();sr.current=pn;var Br=Be.useRef();Br.current=Zn,Be.useEffect(function(){if(Gn){var wt,Fe=function(Ne){var ct=nr.current,St=ct.dragging,an=ct.pageY,Gt=ct.startTop;vt.Z.cancel(wt);var Zt=gr.current.getBoundingClientRect(),Dn=Qt/(Lt?Zt.width:Zt.height);if(St){var Hn=(jt(Ne,Lt)-an)*Dn,jn=Gt;!dr&&Lt?jn-=Hn:jn+=Hn;var qt=sr.current,Sn=Br.current,Ct=Sn?jn/Sn:0,Rt=Math.ceil(Ct*qt);Rt=Math.max(Rt,0),Rt=Math.min(Rt,qt),wt=(0,vt.Z)(function(){Dt(Rt,Lt)})}},je=function(){ut(!1),_e()};return window.addEventListener("mousemove",Fe,{passive:!0}),window.addEventListener("touchmove",Fe,{passive:!0}),window.addEventListener("mouseup",je,{passive:!0}),window.addEventListener("touchend",je,{passive:!0}),function(){window.removeEventListener("mousemove",Fe),window.removeEventListener("touchmove",Fe),window.removeEventListener("mouseup",je),window.removeEventListener("touchend",je),vt.Z.cancel(wt)}}},[Gn]),Be.useEffect(function(){return Qr(),function(){clearTimeout(Rr.current)}},[he]),Be.useImperativeHandle(ce,function(){return{delayHidden:Qr}});var ir="".concat(le,"-scrollbar"),Bn={position:"absolute",visibility:pr?null:"hidden"},Cr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Lt?(Object.assign(Bn,{height:8,left:0,right:0,bottom:0}),Object.assign(Cr,(0,rt.Z)({height:"100%",width:Ht},dr?"left":"right",rr))):(Object.assign(Bn,(0,rt.Z)({width:8,top:0,bottom:0},dr?"right":"left",0)),Object.assign(Cr,{width:"100%",height:Ht,top:rr})),Be.createElement("div",{ref:gr,className:xe()(ir,(0,rt.Z)((0,rt.Z)((0,rt.Z)({},"".concat(ir,"-horizontal"),Lt),"".concat(ir,"-vertical"),!Lt),"".concat(ir,"-visible"),pr)),style:(0,ze.Z)((0,ze.Z)({},Bn),zt),onMouseDown:ur,onMouseMove:Qr},Be.createElement("div",{ref:_n,className:xe()("".concat(ir,"-thumb"),(0,rt.Z)({},"".concat(ir,"-thumb-moving"),Gn)),style:(0,ze.Z)((0,ze.Z)({},Cr),bn),onMouseDown:fr}))}),Et=$t,Ve=20;function tt(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,le=ve/ce*ve;return isNaN(le)&&(le=0),le=Math.max(le,Ve),Math.floor(le)}var At=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],fn=[],Kt={overflowY:"auto",overflowAnchor:"none"};function yn(ve,ce){var le=ve.prefixCls,fe=le===void 0?"rc-virtual-list":le,he=ve.className,ue=ve.height,Pe=ve.itemHeight,_e=ve.fullHeight,Dt=_e===void 0?!0:_e,Lt=ve.style,Ht=ve.data,Qt=ve.children,zt=ve.itemKey,bn=ve.virtual,In=ve.direction,Mt=ve.scrollWidth,tn=ve.component,Gn=tn===void 0?"div":tn,ut=ve.onScroll,We=ve.onVirtualScroll,Ue=ve.onVisibleChange,nn=ve.innerProps,gn=ve.extraRender,xn=ve.styles,Un=ve.showScrollBar,Pn=Un===void 0?"optional":Un,Vn=(0,ke.Z)(ve,At),dr=Be.useCallback(function(Sr){return typeof zt=="function"?zt(Sr):Sr==null?void 0:Sr[zt]},[zt]),gr=Nt(dr,null,null),_n=(0,Se.Z)(gr,4),wr=_n[0],Jr=_n[1],pr=_n[2],pi=_n[3],Rr=!!(bn!==!1&&ue&&Pe),Qr=Be.useMemo(function(){return Object.values(pr.maps).reduce(function(Sr,Or){return Sr+Or},0)},[pr.id,pr.maps]),pn=Rr&&Ht&&(Math.max(Pe*Ht.length,Qr)>ue||!!Mt),Zn=In==="rtl",rr=xe()(fe,(0,rt.Z)({},"".concat(fe,"-rtl"),Zn),he),ur=Ht||fn,nr=(0,Be.useRef)(),fr=(0,Be.useRef)(),sr=(0,Be.useRef)(),Br=(0,Be.useState)(0),ir=(0,Se.Z)(Br,2),Bn=ir[0],Cr=ir[1],wt=(0,Be.useState)(0),Fe=(0,Se.Z)(wt,2),je=Fe[0],Re=Fe[1],Ne=(0,Be.useState)(!1),ct=(0,Se.Z)(Ne,2),St=ct[0],an=ct[1],Gt=function(){an(!0)},Zt=function(){an(!1)},Dn={getKey:dr};function Hn(Sr){Cr(function(Or){var fi;typeof Sr=="function"?fi=Sr(Or):fi=Sr;var Ei=Tr(fi);return nr.current.scrollTop=Ei,Ei})}var jn=(0,Be.useRef)({start:0,end:ur.length}),qt=(0,Be.useRef)(),Sn=st(ur,dr),Ct=(0,Se.Z)(Sn,1),Rt=Ct[0];qt.current=Rt;var Xt=Be.useMemo(function(){if(!Rr)return{scrollHeight:void 0,start:0,end:ur.length-1,offset:void 0};if(!pn){var Sr;return{scrollHeight:((Sr=fr.current)===null||Sr===void 0?void 0:Sr.offsetHeight)||0,start:0,end:ur.length-1,offset:void 0}}for(var Or=0,fi,Ei,Xi,Ji=ur.length,ji=0;ji<Ji;ji+=1){var Ni=ur[ji],ua=dr(Ni),ca=pr.get(ua),Lr=Or+(ca===void 0?Pe:ca);Lr>=Bn&&fi===void 0&&(fi=ji,Ei=Or),Lr>Bn+ue&&Xi===void 0&&(Xi=ji),Or=Lr}return fi===void 0&&(fi=0,Ei=0,Xi=Math.ceil(ue/Pe)),Xi===void 0&&(Xi=ur.length-1),Xi=Math.min(Xi+1,ur.length-1),{scrollHeight:Or,start:fi,end:Xi,offset:Ei}},[pn,Rr,Bn,ur,pi,ue]),en=Xt.scrollHeight,En=Xt.start,Wt=Xt.end,An=Xt.offset;jn.current.start=En,jn.current.end=Wt,Be.useLayoutEffect(function(){var Sr=pr.getRecord();if(Sr.size===1){var Or=Array.from(Sr.keys())[0],fi=Sr.get(Or),Ei=ur[En];if(Ei&&fi===void 0){var Xi=dr(Ei);if(Xi===Or){var Ji=pr.get(Or),ji=Ji-Pe;Hn(function(Ni){return Ni+ji})}}}pr.resetRecord()},[en]);var Ge=Be.useState({width:0,height:ue}),Tt=(0,Se.Z)(Ge,2),Ot=Tt[0],ln=Tt[1],Jt=function(Or){ln({width:Or.offsetWidth,height:Or.offsetHeight})},dn=(0,Be.useRef)(),cn=(0,Be.useRef)(),Fn=Be.useMemo(function(){return tt(Ot.width,Mt)},[Ot.width,Mt]),Kn=Be.useMemo(function(){return tt(Ot.height,en)},[Ot.height,en]),qn=en-ue,br=(0,Be.useRef)(qn);br.current=qn;function Tr(Sr){var Or=Sr;return Number.isNaN(br.current)||(Or=Math.min(Or,br.current)),Or=Math.max(Or,0),Or}var jr=Bn<=0,Fr=Bn>=qn,tr=je<=0,_r=je>=Mt,Hr=$e(jr,Fr,tr,_r),qr=function(){return{x:Zn?-je:je,y:Bn}},Mr=(0,Be.useRef)(qr()),Ir=(0,Ze.useEvent)(function(Sr){if(We){var Or=(0,ze.Z)((0,ze.Z)({},qr()),Sr);(Mr.current.x!==Or.x||Mr.current.y!==Or.y)&&(We(Or),Mr.current=Or)}});function $r(Sr,Or){var fi=Sr;Or?((0,Te.flushSync)(function(){Re(fi)}),Ir()):Hn(fi)}function Wr(Sr){var Or=Sr.currentTarget.scrollTop;Or!==Bn&&Hn(Or),ut==null||ut(Sr),Ir()}var wi=function(Or){var fi=Or,Ei=Mt?Mt-Ot.width:0;return fi=Math.max(fi,0),fi=Math.min(fi,Ei),fi},Ii=(0,Ze.useEvent)(function(Sr,Or){Or?((0,Te.flushSync)(function(){Re(function(fi){var Ei=fi+(Zn?-Sr:Sr);return wi(Ei)})}),Ir()):Hn(function(fi){var Ei=fi+Sr;return Ei})}),Zr=et(Rr,jr,Fr,tr,_r,!!Mt,Ii),Xn=(0,Se.Z)(Zr,2),Yn=Xn[0],Xr=Xn[1];Ut(Rr,nr,function(Sr,Or,fi,Ei){var Xi=Ei;return Hr(Sr,Or,fi)?!1:!Xi||!Xi._virtualHandled?(Xi&&(Xi._virtualHandled=!0),Yn({preventDefault:function(){},deltaX:Sr?Or:0,deltaY:Sr?0:Or}),!0):!1}),Qe(pn,nr,function(Sr){Hn(function(Or){return Or+Sr})}),(0,yt.Z)(function(){function Sr(fi){var Ei=jr&&fi.detail<0,Xi=Fr&&fi.detail>0;Rr&&!Ei&&!Xi&&fi.preventDefault()}var Or=nr.current;return Or.addEventListener("wheel",Yn,{passive:!1}),Or.addEventListener("DOMMouseScroll",Xr,{passive:!0}),Or.addEventListener("MozMousePixelScroll",Sr,{passive:!1}),function(){Or.removeEventListener("wheel",Yn),Or.removeEventListener("DOMMouseScroll",Xr),Or.removeEventListener("MozMousePixelScroll",Sr)}},[Rr,jr,Fr]),(0,yt.Z)(function(){if(Mt){var Sr=wi(je);Re(Sr),Ir({x:Sr})}},[Ot.width,Mt]);var Nr=function(){var Or,fi;(Or=dn.current)===null||Or===void 0||Or.delayHidden(),(fi=cn.current)===null||fi===void 0||fi.delayHidden()},oi=nt(nr,ur,pr,Pe,dr,function(){return Jr(!0)},Hn,Nr);Be.useImperativeHandle(ce,function(){return{nativeElement:sr.current,getScrollInfo:qr,scrollTo:function(Or){function fi(Ei){return Ei&&(0,He.Z)(Ei)==="object"&&("left"in Ei||"top"in Ei)}fi(Or)?(Or.left!==void 0&&Re(wi(Or.left)),oi(Or.top)):oi(Or)}}}),(0,yt.Z)(function(){if(Ue){var Sr=ur.slice(En,Wt+1);Ue(Sr,ur)}},[En,Wt,ur]);var ci=qe(ur,dr,pr,Pe),di=gn==null?void 0:gn({start:En,end:Wt,virtual:pn,offsetX:je,offsetY:An,rtl:Zn,getSize:ci}),Gr=lt(ur,En,Wt,Mt,je,wr,Qt,Dn),ti=null;ue&&(ti=(0,ze.Z)((0,rt.Z)({},Dt?"height":"maxHeight",ue),Kt),Rr&&(ti.overflowY="hidden",Mt&&(ti.overflowX="hidden"),St&&(ti.pointerEvents="none")));var Gi={};return Zn&&(Gi.dir="rtl"),Be.createElement("div",(0,ae.Z)({ref:sr,style:(0,ze.Z)((0,ze.Z)({},Lt),{},{position:"relative"}),className:rr},Gi,Vn),Be.createElement(Ee.Z,{onResize:Jt},Be.createElement(Gn,{className:"".concat(fe,"-holder"),style:ti,ref:nr,onScroll:Wr,onMouseEnter:Nr},Be.createElement(ot,{prefixCls:fe,height:en,offsetX:je,offsetY:An,scrollWidth:Mt,onInnerResize:Jr,ref:fr,innerProps:nn,rtl:Zn,extra:di},Gr))),pn&&en>ue&&Be.createElement(Et,{ref:dn,prefixCls:fe,scrollOffset:Bn,scrollRange:en,rtl:Zn,onScroll:$r,onStartMove:Gt,onStopMove:Zt,spinSize:Kn,containerSize:Ot.height,style:xn==null?void 0:xn.verticalScrollBar,thumbStyle:xn==null?void 0:xn.verticalScrollBarThumb,showScrollBar:Pn}),pn&&Mt>Ot.width&&Be.createElement(Et,{ref:cn,prefixCls:fe,scrollOffset:je,scrollRange:Mt,rtl:Zn,onScroll:$r,onStartMove:Gt,onStopMove:Zt,spinSize:Fn,containerSize:Ot.width,horizontal:!0,style:xn==null?void 0:xn.horizontalScrollBar,thumbStyle:xn==null?void 0:xn.horizontalScrollBarThumb,showScrollBar:Pn}))}var kt=Be.forwardRef(yn);kt.displayName="List";var Bt=kt,xt=Bt},25510:function(Cn){"use strict";Cn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAAXNSR0IArs4c6QAAQABJREFUeAHsvQuQpclVmJn3We+qfkxPT89oRqN5SKPRC0mgAQRYCwgkh2ExAWvDrrVrwOBl14shYh/GRBB2EF4CdlnvbmAvsGxgWEd4l2WNsYEwMkIYCQnYkQYhZvQYzUgzPdM908/qet26z/2+k3/ee6u6qrtrpkciOiqr/vvnn3ny5MmTJ0+efPz510ajUSMdukMO3CIcqN8i5TgsxiEHggOHAn0oCLcUBw4F+paqzsPCHAr0oQzcUhw4FOhbqjoPC3Mo0IcycEtx4FCgb6nqPCzMoUAfysAtxYFDgb6lqvOwMIcCfSgDtxQHDgX6lqrOw8IcCvShDNxSHDgU6FuqOg8LcyjQhzJwS3HgUKBvqeo8LMyhQB/KwC3FgUOBvqWq87AwhwJ9KAO3FAcOBfqWqs7DwhwK9KEM3FIcOBToW6o6DwtzKNCHMnBLceBQoG+p6jwszKFAH8rALcWBQ4G+parzsDCHAn0oA7cUB5pf6tJ85PmtRwbL7btGKY3mUj6VbDBIaThItepxTGK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YZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII="},39057:function(Cn){"use strict";Cn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7svWuXJMdxJWgRmVmP7gYIgEOOtLMjUY/R7v//OfthZ85KsyNRIgg0+lFVmRkx59o1czf38HhkVjXQAFE8TVRlRvjD3Nzsur28k19/fqXArxT4lQK/UuBXCvxKgV8p8EIU6F6onV+b+ZUCv1LgVwr8SoFfKfArBX6lgHT//O15/DHpUCOZH7Xz2Ylei68w+va7+LSc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supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},47621:function(Cn){"use strict";Cn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhYAAAByCAYAAAAPvZi2AAAAAXNSR0IArs4c6QAAIABJREFUeF7tvXlzJzmSJQaSeWcd3TOzvT270mpN0ppM3/+raDWS6TJp/9jpObq6rqw8SZkDcI+HB3ccwR+zsruZZlUkI3A4HH48OByIq/T475EDjxx45MAjBx458MiBRw5ciANXF2rnsZlHDjxy4JEDjxx45MAjBx45kK7+l/96ezfigyCPq6vyX0p3SX4MK0yZev8Wpl18YQVu73z8djFU5zRUpyvlCYv+yUTS+2N2yksu4s09NuE0me7ch6Xv3B81WmSt/JNX/F6ba9rVNpgYaWTAA26bWaVVc5+VOTKdV3exHiD92J7ydqoBNsBa22MwlhmNrw5+2icNPOs9zIFYCW8uXNHCipX/1057Xl2WryHPPLma6H4jJo4wu6qK5Zy5EBnqmvIGUgX6fvbz0AuHzY3e7JhBT+RGup7fBfyXx9d3Kd3e3KWfn3xKN7UhnMuq+VnGblNKz9N1evXpOin/R/o1Gpe09ae3KX26U5/Vqj/qu44vkmtpS8aIY/3965RePUmJvaZnfphF6kvRJBkL71L6539N6c0vh01UWm9vqw0UWuS/2zI+fZ7L1Xe5z0w4/ON5qv7c6KmCdF3tcfb3oq+itPrzKqXbTym9/puUXv+mt8md3ZwBC62gRJRO7z4TuNg1hzuqxB7nEuru9397W2cKXl8EVLSaWhxBVYTIuYkQyjv9ucqxyLbmLkGJG3lGgYZ+i7RWhVfFrQxpjOXAeWs/HWgZORt+N2m/4SFYXmtGgQYxURVzhA/U6Lj8J75ZGRYaZzxNe1a+gUdbulsARulI/i8GrQFj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eiHUXHytHkniFL+8k/0ISO2WLRCIZuI015KOCAgYCDCAingSgQvU8otu9YEsL1zYFWOjW0SUjFiISapNUjDDKIWTY38AXuCALtYt/52lHR8VOC9WDnZ/XB6vTiA7UEB8QlNpHG30Ew3PIM8viGVa28CiSM16WskpraQnHMzInbKZmpmdlLr05dKxRw9sF71WH1Kx+UJRo6ofnxBe6O1tEjexMCk61P5me3GcFVsIa2cs1yar5EGzvG3FRopivTKxnuWGKOyDIdNe/+YbOM8CCLYRHqqpDMyd0p8Is4oC0STt4cZs628wWBbYnBECByU2ty32e5U9kTU7JoOMIGzAVIDuVTbZOOyETtJIz2r35ytseAijkAqz3KQnAQAvf0Kb2Rm1r4Miz470qd10IuBCQ8WrjeCpvH5AZs2GqjHnj5iOmDaiABrs28DSJNizJpTcp3VYd/cKAhVIZWBTjTqR9M2fIQGDFIbLznvV9tHncq8n3XY4cs9c+P0O6vTFw+4dYHW+ONu9veFb4GIm+J/LaXmBtdsEFdgFAA8Up9wTiocZaDRgbuB3DNjNmjQGvQ74fwJl5+NYwSun8H2aBo8h54oZTxALkTR9Zd/uT1Gsoi0bHIRf3l902VNxoWm3ctqzAaaBjmYGLDsTw9gg6XeY7graRINU7FDwtiyyExzvWOA+AneF5t9UF43Rvya0MzrR74jwhAqtE1YdjrUyTrQ5JypT/LI+izkPjTQJ67DEWrh1j/oWACsm/+FryLzaOpzYAg2TFI8kFGoP8Cq+8yTvVE1Chl4PeF1gIizRKgb+rPC5FLHYM72PZRw48cuCRA48ceOTAIwceOTDB2o8MeuTAIwceOfDIgUcOPHLgkQOX4cD/Dy5hqdeaBa56AAAAAElFTkSuQmCC"},48136:function(Cn,mn,se){"use strict";var ae=Object.defineProperty,He=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,rt=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Oe=(a,y,b)=>y in a?ae(a,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[y]=b,xe=(a,y)=>{for(var b in y||(y={}))Se.call(y,b)&&Oe(a,b,y[b]);if(rt)for(var b of rt(y))ke.call(y,b)&&Oe(a,b,y[b]);return a},Ee=(a,y)=>He(a,ze(y)),Ze=a=>typeof a=="symbol"?a:a+"",yt=(a,y)=>{var b={};for(var E in a)Se.call(a,E)&&y.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&rt)for(var E of rt(a))y.indexOf(E)<0&&ke.call(a,E)&&(b[E]=a[E]);return b};function Be(a){return Array.isArray(a)}var Te={en:{"keyboard.tooltip.symbols":"\u7B26\u53F7","keyboard.tooltip.greek":"\u5E0C\u814A\u5B57\u6BCD","keyboard.tooltip.numeric":"\u6570\u5B57","keyboard.tooltip.alphabetic":"\u7F57\u9A6C\u5B57\u6BCD","tooltip.cut to clipboard":"\u526A\u5207\u5230\u526A\u8D34\u677F","tooltip.copy to clipboard":"\u590D\u5236\u5230\u526A\u8D34\u677F","tooltip.paste from clipboard":"\u7C98\u8D34","tooltip.redo":"\u91CD\u505A","tooltip.toggle virtual keyboard":"\u5207\u6362\u865A\u62DF\u952E\u76D8","tooltip.undo":"\u64A4\u6D88","menu.insert matrix":"\u63D2\u5165\u77E9\u9635","menu.borders":"\u77E9\u9635\u5206\u9694\u7B26","menu.array.add row above":"\u5728\u540E\u9762\u6DFB\u52A0\u884C","menu.array.add row below":"\u5728\u524D\u9762\u6DFB\u52A0\u884C","menu.array.add column after":"\u5728\u540E\u9762\u6DFB\u52A0\u5217r","menu.array.add column before":"\u5728\u524D\u9762\u6DFB\u52A0\u5217","menu.array.delete row":"\u5220\u9664\u884C","menu.array.delete rows":"\u5220\u9664\u9009\u5B9A\u884C","menu.array.delete column":"\u5220\u9664\u5217","menu.array.delete columns":"\u5220\u9664\u9009\u5B9A\u7684\u5217","menu.mode":"\u6A21\u5F0F","menu.mode-math":"\u6570\u5B66","menu.mode-text":"\u6587\u672C","menu.mode-latex":"LaTeX","tooltip.blackboard":"\u9ED1\u677F","tooltip.bold":"\u7C97\u4F53","tooltip.italic":"\u659C\u4F53","tooltip.fraktur":"Fraktur","tooltip.script":"\u811A\u672C","tooltip.caligraphic":"\u8349\u4E66","tooltip.typewriter":"\u6253\u5B57\u673A","tooltip.roman-upright":"\u7F57\u9A6C\u76F4\u7ACB","tooltip.row-by-col":"%@ \xD7 %@","menu.font-style":"\u5B57\u4F53\u6837\u5F0F","menu.accent":"\u91CD\u97F3","menu.decoration":"\u88C5\u9970","menu.color":"\u989C\u8272","menu.background-color":"\u80CC\u666F","menu.evaluate":"\u8BA1\u7B97","menu.simplify":"\u7B80\u5316","menu.solve":"\u6C42\u89E3","menu.solve-for":"\u6C42\u89E3 %@","menu.cut":"\u526A\u5207","menu.copy":"\u590D\u5236","menu.copy-as-latex":"\u590D\u5236\u4E3A LaTeX","menu.copy-as-ascii-math":"\u590D\u5236\u4E3A ASCII Math","menu.copy-as-mathml":"\u590D\u5236\u4E3A MathML","menu.paste":"\u7C98\u8D34","menu.select-all":"\u5168\u9009","color.red":"\u7EA2\u8272","color.orange":"\u6A59\u8272","color.yellow":"\u9EC4\u8272","color.lime":"\u7EFF\u9EC4\u8272","color.green":"\u7EFF\u8272","color.teal":"\u9752\u8272","color.cyan":"\u84DD\u7EFF\u8272","color.blue":"\u84DD\u8272","color.indigo":"\u975B\u84DD\u8272","color.purple":"\u7D2B\u8272","color.magenta":"\u6D0B\u7EA2\u8272","color.black":"\u9ED1\u8272","color.dark-grey":"\u6DF1\u7070\u8272","color.grey":"\u7070\u8272","color.light-grey":"\u6D45\u7070\u8272","color.white":"\u767D\u8272"}};function dt(){return"window"in globalThis&&"document"in globalThis}function ot(){return"matchMedia"in window?window.matchMedia("(pointer: coarse)").matches:"ontouchstart"in window||navigator.maxTouchPoints>0}function ft(){return typeof navigator.vibrate=="function"}function lt(){var a,y;if(!dt())return"other";const b=(y=(a=navigator.userAgentData)==null?void 0:a.platform)!=null?y:navigator.platform;return/^mac/i.test(b)?navigator.maxTouchPoints===5?"ios":"macos":/^win/i.test(b)?"windows":/android/i.test(navigator.userAgent)?"android":/iphone|ipod|ipad/i.test(navigator.userAgent)?"ios":/\bcros\b/i.test(navigator.userAgent)?"chromeos":"other"}function ht(){if(!dt())return!0;if(/firefox/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/firefox\/(\d+)/i);return a?parseInt(a[1])>=78:!1}if(/trident/i.test(navigator.userAgent))return!1;if(/edge/i.test(navigator.userAgent)){const a=navigator.userAgent.match(/edg\/(\d+)/i);return a?parseInt(a[1])>=79:!1}return!0}function Vt(){return HTMLElement.prototype.hasOwnProperty("popover")}var st={strings:Te,_locale:"",_dirty:!1,_subscribers:[],_numberFormatter:void 0,get locale(){return st._locale||(st._locale=dt()?navigator.language.slice(0,5):"en-US"),st._locale},set locale(a){st._locale=a,st._numberFormatter=void 0,st.dirty=!0},get numberFormatter(){return st._numberFormatter||(st._numberFormatter=new Intl.NumberFormat(st.locale)),st._numberFormatter},merge(a,y){if(typeof a=="string"&&y)st.strings[a]=xe(xe({},st.strings[a]),y),st.dirty=!0;else for(const b of Object.keys(a))st.merge(b,a[b])},get dirty(){return st._dirty},set dirty(a){st._dirty||st._dirty===a||(st._dirty=!0,setTimeout(()=>{st._dirty=!1,this._subscribers.forEach(y=>y==null?void 0:y())},0))},subscribe(a){return st._subscribers.push(a),st._subscribers.length-1},unsubscribe(a){a<0||a>=st._subscribers.length||(st._subscribers[a]=void 0)},update(a){let y=a.querySelectorAll("[data-l10n-tooltip]");for(const b of y){const E=b.getAttribute("data-l10n-tooltip");if(E){const ee=vt(E);ee&&b.setAttribute("data-tooltip",ee)}}y=a.querySelectorAll("[data-l10n-arial-label]");for(const b of y){const E=b.getAttribute("data-l10n-arial-label");if(E){const ee=vt(E);ee&&b.setAttribute("aria-label",ee)}}}};function vt(a,...y){if(a===void 0)return;let b="";const E=st.locale;st.strings[E]&&(b=st.strings[E][a]);const ee=E.slice(0,2);if(!b&&st.strings[ee]&&(b=st.strings[ee][a]),b||(b=st.strings.en[a]),!b)return;const re=/(%@|%([0-9]+)\$@)/g;let oe=re.exec(b),me=0;for(;oe;){if(y[me++]){const we=oe[2]?parseInt(oe[2],10)-1:me-1;let Me=y[we];typeof Me=="number"&&(Me=st.numberFormatter.format(Me)),b=b.replace(oe[1],Me)}oe=re.exec(b)}return b=b.replace(/%%/g,"%"),b}var Ke={m0:"#3F3D99",m1:"#993D71",m2:"#998B3D",m3:"#3D9956",m4:"#3D5A99",m5:"#993D90",m6:"#996D3D",m7:"#43993D",m8:"#3D7999",m9:"#843D99"},pe={blue:"#0072BD",orange:"#D95319",yellow:"#EDB120",purple:"#7E2F8E",green:"#77AC30",cyan:"#4DBEEE",red:"#A2142F"},$e={red:"#fbbbb6",orange:"#ffe0c2",yellow:"#fff1c2",lime:"#d0e8b9",green:"#bceac4",teal:"#b9f1f1",cyan:"#b8e5c9",blue:"#b6d9fb",indigo:"#d1c2f0",purple:"#e3baf8",magenta:"#f9c8e0",black:"#353535","dark-grey":"#8C8C8C",grey:"#D0D0D0","light-grey":"#F0F0F0",white:"#ffffff"},et={red:"#d7170b",orange:"#fe8a2b",yellow:"#ffc02b",lime:"#63b215",green:"#21ba3a",teal:"#17cfcf",cyan:"#13a7ec",blue:"#0d80f2",indigo:"#63c",purple:"#a219e6",magenta:"#eb4799",black:"#000","dark-grey":"#666",grey:"#A6A6A6","light-grey":"#d4d5d2",white:"#ffffff"},qe={Red:"red",Orange:"orange",Yellow:"yellow",LimeGreen:"lime",Green:"green",TealBlue:"teal",Blue:"blue",Violet:"indigo",Purple:"purple",Magenta:"magenta",Black:"black",Gray:"grey",White:"white"},Ye={Apricot:"#FBB982",Aquamarine:"#00B5BE",Bittersweet:"#C04F17",Black:"#221E1F",Blue:"#2D2F92",BlueGreen:"#00B3B8",BlueViolet:"#473992",BrickRed:"#B6321C",Brown:"#792500",BurntOrange:"#F7921D",CadetBlue:"#74729A",CarnationPink:"#F282B4",Cerulean:"#00A2E3",CornflowerBlue:"#41B0E4",Cyan:"#00AEEF",Dandelion:"#FDBC42",DarkOrchid:"#A4538A",Emerald:"#00A99D",ForestGreen:"#009B55",Fuchsia:"#8C368C",Goldenrod:"#FFDF42",Gray:"#949698",Green:"#00A64F",GreenYellow:"#DFE674",JungleGreen:"#00A99A",Lavender:"#F49EC4",Limegreen:"#8DC73E",Magenta:"#EC008C",Mahogany:"#A9341F",Maroon:"#AF3235",Melon:"#F89E7B",MidnightBlue:"#006795",Mulberry:"#A93C93",NavyBlue:"#006EB8",OliveGreen:"#3C8031",Orange:"#F58137",OrangeRed:"#ED135A",Orchid:"#AF72B0",Peach:"#F7965A",Periwinkle:"#7977B8",PineGreen:"#008B72",Plum:"#92268F",ProcessBlue:"#00B0F0",Purple:"#99479B",RawSienna:"#974006",Red:"#ED1B23",RedOrange:"#F26035",RedViolet:"#A1246B",Rhodamine:"#EF559F",RoyalBlue:"#0071BC",RoyalPurple:"#613F99",RubineRed:"#ED017D",Salmon:"#F69289",SeaGreen:"#3FBC9D",Sepia:"#671800",SkyBlue:"#46C5DD",SpringGreen:"#C6DC67",Tan:"#DA9D76",TealBlue:"#00AEB3",Thistle:"#D883B7",Turquoise:"#00B4CE",Violet:"#58429B",VioletRed:"#EF58A0",White:"#FFFFFF",WildStrawberry:"#EE2967",Yellow:"#FFF200",YellowGreen:"#98CC70",YellowOrange:"#FAA21A"};function pt(a){var y,b,E,ee,re,oe;const me=a.split("!");let ge,we,Me,Je=255,mt=255,It=255,_t=-1;const Wn=me.length>0&&me[0].startsWith("-");Wn&&(me[0]=me[0].slice(1));for(let Yr=0;Yr<me.length;Yr++){ge=Je,we=mt,Me=It;const zn=(y=me[Yr].trim().match(/^([A-Za-z\d-]+)/))==null?void 0:y[1],hr=zn==null?void 0:zn.toLowerCase(),ei=zn&&(oe=(re=(ee=(E=(b=et[hr])!=null?b:et[qe[zn]])!=null?E:pe[zn])!=null?ee:Ye[zn])!=null?re:Ke[zn])!=null?oe:me[Yr].trim();let Ar=ei.match(/^#([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i);if(Ar!=null&&Ar[1]&&Ar[2]&&Ar[3])Je=Math.max(0,Math.min(255,Number.parseInt(Ar[1],16))),mt=Math.max(0,Math.min(255,Number.parseInt(Ar[2],16))),It=Math.max(0,Math.min(255,Number.parseInt(Ar[3],16)));else if(Ar=ei.match(/^#([\da-f]{3})$/i),Ar!=null&&Ar[1]){const Li=Number.parseInt(Ar[1][0],16),Hi=Number.parseInt(Ar[1][1],16),Ri=Number.parseInt(Ar[1][2],16);Je=Math.max(0,Math.min(255,Li*16+Li)),mt=Math.max(0,Math.min(255,Hi*16+Hi)),It=Math.max(0,Math.min(255,Ri*16+Ri))}else if(Ar=ei.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i),Ar!=null&&Ar[1]&&Ar[2]&&Ar[3])Je=Math.max(0,Math.min(255,Number.parseInt(Ar[1]))),mt=Math.max(0,Math.min(255,Number.parseInt(Ar[2]))),It=Math.max(0,Math.min(255,Number.parseInt(Ar[3])));else return;_t>=0&&(Je=(1-_t)*Je+_t*ge,mt=(1-_t)*mt+_t*we,It=(1-_t)*It+_t*Me,_t=-1),Yr+1<me.length&&(_t=Math.max(0,Math.min(100,Number.parseInt(me[++Yr])))/100)}return _t>=0&&(Je=_t*Je+(1-_t)*ge,mt=_t*mt+(1-_t)*we,It=_t*It+(1-_t)*Me),Wn&&(Je=255-Je,mt=255-mt,It=255-It),"#"+("00"+Math.round(Je).toString(16)).slice(-2)+("00"+Math.round(mt).toString(16)).slice(-2)+("00"+Math.round(It).toString(16)).slice(-2)}function at(a){var y,b;return a=a.trim(),(b=(y=$e[a.toLowerCase()])!=null?y:$e[qe[a]])!=null?b:pt(a)}function Pt(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&y.a===void 0&&(y.a=1),y}function it(a,y,b){return b<0&&(b+=6),b>=6&&(b-=6),b<1?(y-a)*b+a:b<3?y:b<4?(y-a)*(4-b)+a:a}function Nt(a){let[y,b,E]=[a.h,a.s,a.l];y=(y+360)%360/60,E=Math.max(0,Math.min(E,1)),b=Math.max(0,Math.min(b,1));const ee=E<=.5?E*(b+1):E+b-E*b,re=E*2-ee;return{r:Math.round(255*it(re,ee,y+2)),g:Math.round(255*it(re,ee,y)),b:Math.round(255*it(re,ee,y-2))}}function rn(a){return a<0?0:a>255?255:Math.round(a)}function Ut(a){const{r:y,g:b,b:E}=a;let ee=((1<<24)+(rn(y)<<16)+(rn(b)<<8)+rn(E)).toString(16).slice(1);return ee[0]===ee[1]&&ee[2]===ee[3]&&ee[4]===ee[5]&&ee[6]===ee[7]&&(ee=ee[0]+ee[2]+ee[4]),"#"+ee}function un(a){let{r:y,g:b,b:E}=a;y=y/255,b=b/255,E=E/255;const ee=Math.min(y,b,E),re=Math.max(y,b,E),oe=re-ee;let me,ge;re===ee?me=0:y===re?me=(b-E)/oe:b===re?me=2+(E-y)/oe:E===re&&(me=4+(y-b)/oe),me=Math.min(me*60,360),me<0&&(me+=360);const we=(ee+re)/2;return re===ee?ge=0:we<=.5?ge=oe/(re+ee):ge=oe/(2-re-ee),{h:me,s:ge,l:we}}function jt(a){let y=Pt(a);if(!y)return a;let{h:b,s:E,l:ee}=un(y);return E+=.1,ee-=.1,Ut(Nt({h:b,s:E,l:ee}))}var Qe={60:"\\lt",62:"\\gt",111:"o",38:"\\&",123:"\\lbrace",125:"\\rbrace",91:"\\lbrack",93:"\\rbrack",58:"\\colon",160:"~",172:"\\neg",183:"\\cdot",188:"\\frac{1}{4}",189:"\\frac{1}{2}",190:"\\frac{3}{4}",8304:"^{0}",8305:"^{i}",185:"^{1}",178:"^{2}",179:"^{3}",8224:"\\dagger",8225:"\\ddagger",8230:"\\ldots",8308:"^{4}",8309:"^{5}",8310:"^{6}",8311:"^{7}",8312:"^{8}",8313:"^{9}",8314:"^{+}",8315:"^{-}",8316:"^{=}",8319:"^{n}",8320:"_{0}",8321:"_{1}",8322:"_{2}",8323:"_{3}",8324:"_{4}",8325:"_{5}",8326:"_{6}",8327:"_{7}",8328:"_{8}",8329:"_{9}",8330:"_{+}",8331:"_{-}",8332:"_{=}",8336:"_{a}",8337:"_{e}",8338:"_{o}",8339:"_{x}",8242:"\\prime",39:"\\prime",8592:"\\gets",8594:"\\to",9651:"\\triangle",9661:"\\triangledown",8715:"\\owns",8727:"\\ast",8739:"\\vert",8741:"\\Vert",8743:"\\land",8744:"\\lor",8901:"\\cdot",8904:"\\bowtie",8800:"\\ne",8804:"\\le",8805:"\\ge",8869:"\\bot",10231:"\\biconditional",10232:"\\impliedby",10233:"\\implies",10234:"\\iff",8450:"\\mathbb{C}",8469:"\\mathbb{N}",8473:"\\mathbb{P}",8474:"\\mathbb{Q}",8477:"\\mathbb{R}",8484:"\\mathbb{Z}",8461:"\\mathbb{H}",8476:"\\Re",8465:"\\Im",42:"\\ast",11036:"\\square",9633:"\\square",8720:"\\coprod",8716:"\\not\\ni",9671:"\\diamond",8846:"\\uplus",8851:"\\sqcap",8852:"\\sqcup",8768:"\\wr",8750:"\\oint",8226:"\\textbullet",8722:"-",978:"\\Upsilon"},Ce={119893:8462,119965:8492,119968:8496,119969:8497,119971:8459,119972:8464,119975:8466,119976:8499,119981:8475,119994:8495,119996:8458,120004:8500,120070:8493,120075:8460,120076:8465,120085:8476,120093:8488,120122:8450,120127:8461,120133:8469,120135:8473,120136:8474,120137:8477,120145:8484},nt=[{start:119808,len:26,offset:65,style:"bold"},{start:119834,len:26,offset:97,style:"bold"},{start:119860,len:26,offset:65,style:"italic"},{start:119886,len:26,offset:97,style:"italic"},{start:119912,len:26,offset:65,style:"bolditalic"},{start:119938,len:26,offset:97,style:"bolditalic"},{start:119964,len:26,offset:65,variant:"script"},{start:119990,len:26,offset:97,variant:"script"},{start:120016,len:26,offset:65,variant:"script",style:"bold"},{start:120042,len:26,offset:97,variant:"script",style:"bold"},{start:120068,len:26,offset:65,variant:"fraktur"},{start:120094,len:26,offset:97,variant:"fraktur"},{start:120172,len:26,offset:65,variant:"fraktur",style:"bold"},{start:120198,len:26,offset:97,variant:"fraktur",style:"bold"},{start:120120,len:26,offset:65,variant:"double-struck"},{start:120146,len:26,offset:97,variant:"double-struck"},{start:120224,len:26,offset:65,variant:"sans-serif"},{start:120250,len:26,offset:97,variant:"sans-serif"},{start:120276,len:26,offset:65,variant:"sans-serif",style:"bold"},{start:120302,len:26,offset:97,variant:"sans-serif",style:"bold"},{start:120328,len:26,offset:65,variant:"sans-serif",style:"italic"},{start:120354,len:26,offset:97,variant:"sans-serif",style:"italic"},{start:120380,len:26,offset:65,variant:"sans-serif",style:"bolditalic"},{start:120406,len:26,offset:97,variant:"sans-serif",style:"bolditalic"},{start:120432,len:26,offset:65,variant:"monospace"},{start:120458,len:26,offset:97,variant:"monospace"},{start:120488,len:25,offset:913,style:"bold"},{start:120514,len:25,offset:945,style:"bold"},{start:120546,len:25,offset:913,style:"italic"},{start:120572,len:25,offset:945,style:"italic"},{start:120604,len:25,offset:913,style:"bolditalic"},{start:120630,len:25,offset:945,style:"bolditalic"},{start:120662,len:25,offset:913,variant:"sans-serif",style:"bold"},{start:120688,len:25,offset:945,variant:"sans-serif",style:"bold"},{start:120720,len:25,offset:913,variant:"sans-serif",style:"bolditalic"},{start:120746,len:25,offset:945,variant:"sans-serif",style:"bolditalic"},{start:120782,len:10,offset:48,variant:"main",style:"bold"},{start:120792,len:10,offset:48,variant:"double-struck"},{start:120803,len:10,offset:48,variant:"sans-serif"},{start:120812,len:10,offset:48,variant:"sans-serif",style:"bold"},{start:120822,len:10,offset:48,variant:"monospace"}];function $t(a,y,b){if(!/[A-Za-z\d]/.test(a)||(b==="up"&&(b=void 0),!y&&!b))return a;const E=a.codePointAt(0);if(E===void 0)return a;for(const ee of nt)if((!y||ee.variant===y)&&(!b||ee.style===b)&&E>=ee.offset&&E<ee.offset+ee.len){const re=ee.start+E-ee.offset;return String.fromCodePoint(Ce[re]||re)}return a}function Et(a){var y;if((a<119808||a>120831)&&(a<8448||a>8527))return{char:String.fromCodePoint(a)};for(const b in Ce)if(Ce[b]===a){a=(y=b.codePointAt(0))!=null?y:0;break}for(const b of nt)if(a>=b.start&&a<b.start+b.len)return{char:String.fromCodePoint(a-b.start+b.offset),variant:b.variant,style:b.style};return{char:String.fromCodePoint(a)}}function Ve(a){var y;let b="";for(const E of a){if("{}<>[]$&#^_%:'\u02DC".includes(E)){b+=E;continue}const ee=(y=E.codePointAt(0))!=null?y:0;let re=Qe[ee];if(re)re.startsWith("\\")?b+=re+" ":b+=re;else{const{char:oe,variant:me,style:ge}=Et(ee);switch(re=oe,me){case"double-struck":re=`\\mathbb{${re}}`;break;case"fraktur":re=`\\mathfrak{${re}}`;break;case"script":re=`\\mathscr{${re}}`;break;case"sans-serif":re=`\\mathsf{${re}}`;break;case"monospace":re=`\\mathtt{${re}}`;break;case"calligraphic":re=`\\mathcal{${re}}`;break}switch(ge){case"bold":re=`\\mathbf{${re}}`;break;case"italic":re=`\\mathit{${re}}`;break;case"bolditalic":re=`\\mathbfit{${re}}`;break}b+=re}}return b}function tt(a){return a?Array.isArray(a)?a:typeof a=="object"&&"group"in a?a.group:[]:[]}var At={},fn=xe({},Qe),Kt={},yn={},kt={darr:"\\downarrow",dArr:"\\Downarrow",Darr:"\\Downarrow",lang:"\\langle",rang:"\\rangle",uarr:"\\uparrow",uArr:"\\Uparrow",Uarr:"\\Uparrow",N:"\\mathbb{N}",R:"\\mathbb{R}",Z:"\\mathbb{Z}",alef:"\\aleph",alefsym:"\\aleph",Alpha:"\\mathrm{A}",Beta:"\\mathrm{B}",bull:"\\bullet",Chi:"\\mathrm{X}",clubs:"\\clubsuit",cnums:"\\mathbb{C}",Complex:"\\mathbb{C}",Dagger:"\\ddagger",diamonds:"\\diamondsuit",empty:"\\emptyset",Epsilon:"\\mathrm{E}",Eta:"\\mathrm{H}",exist:"\\exists",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",Harr:"\\Leftrightarrow",hearts:"\\heartsuit",image:"\\Im",infin:"\\infty",Iota:"\\mathrm{I}",isin:"\\in",Kappa:"\\mathrm{K}",larr:"\\leftarrow",lArr:"\\Leftarrow",Larr:"\\Leftarrow",lrarr:"\\leftrightarrow",lrArr:"\\Leftrightarrow",Lrarr:"\\Leftrightarrow",Mu:"\\mathrm{M}",natnums:"\\mathbb{N}",Nu:"\\mathrm{N}",Omicron:"\\mathrm{O}",plusmn:"\\pm",rarr:"\\rightarrow",rArr:"\\Rightarrow",Rarr:"\\Rightarrow",real:"\\Re",reals:"\\mathbb{R}",Reals:"\\mathbb{R}",Rho:"\\mathrm{P}",sdot:"\\cdot",sect:"\\S",spades:"\\spadesuit",sub:"\\subset",sube:"\\subseteq",supe:"\\supseteq",Tau:"\\mathrm{T}",thetasym:"\\vartheta",weierp:"\\wp",Zeta:"\\mathrm{Z}"},Bt={varGamma:"\\mathit{\\Gamma}",varDelta:"\\mathit{\\Delta}",varTheta:"\\mathit{\\Theta}",varLambda:"\\mathit{\\Lambda}",varXi:"\\mathit{\\Xi}",varPi:"\\mathit{\\Pi}",varSigma:"\\mathit{\\Sigma}",varUpsilon:"\\mathit{\\Upsilon}",varPhi:"\\mathit{\\Phi}",varPsi:"\\mathit{\\Psi}",varOmega:"\\mathit{\\Omega}",pmod:{def:"\\quad(\\operatorname{mod}\\ #1)",args:1,expand:!1,captureSelection:!1},mod:{def:"\\quad\\operatorname{mod}\\,\\,#1",args:1,expand:!1},bmod:{def:"\\;\\mathbin{\\operatorname{mod }}",expand:!1}},xt={bra:{def:"\\mathinner{\\langle{#1}|}",args:1,captureSelection:!1},ket:{def:"\\mathinner{|{#1}\\rangle}",args:1,captureSelection:!1},braket:{def:"\\mathinner{\\langle{#1}\\rangle}",args:1,captureSelection:!1},set:{def:"\\mathinner{\\lbrace #1 \\rbrace}",args:1,captureSelection:!1},Bra:{def:"\\left\\langle #1\\right|",args:1,captureSelection:!1},Ket:{def:"\\left|#1\\right\\rangle",args:1,captureSelection:!1},Braket:{def:"\\left\\langle{#1}\\right\\rangle",args:1,captureSelection:!1},Set:{def:"\\left\\lbrace #1 \\right\\rbrace",args:1,captureSelection:!1}},ve={iff:{primitive:!0,captureSelection:!0,def:"\\;\u27FA\\;"},nicefrac:"^{#1}\\!\\!/\\!_{#2}",phase:{def:"\\enclose{phasorangle}{#1}",args:1,captureSelection:!1},rd:"\\mathrm{d}",rD:"\\mathrm{D}",doubleStruckCapitalN:"\\mathbb{N}",doubleStruckCapitalR:"\\mathbb{R}",doubleStruckCapitalQ:"\\mathbb{Q}",doubleStruckCapitalZ:"\\mathbb{Z}",doubleStruckCapitalP:"\\mathbb{P}",scriptCapitalE:"\\mathscr{E}",scriptCapitalH:"\\mathscr{H}",scriptCapitalL:"\\mathscr{L}",gothicCapitalC:"\\mathfrak{C}",gothicCapitalH:"\\mathfrak{H}",gothicCapitalI:"\\mathfrak{I}",gothicCapitalR:"\\mathfrak{R}",imaginaryI:"\\mathrm{i}",imaginaryJ:"\\mathrm{j}",exponentialE:"\\mathrm{e}",differentialD:"\\mathrm{d}",capitalDifferentialD:"\\mathrm{D}",mathstrut:{def:"\\vphantom{(}",primitive:!0},angl:"\\enclose{actuarial}{#1}",angln:"\\enclose{actuarial}{n}",anglr:"\\enclose{actuarial}{r}",anglk:"\\enclose{actuarial}{k}",mathtools:{primitive:!0,package:{ordinarycolon:":",vcentcolon:"\\mathrel{\\mathop\\ordinarycolon}",dblcolon:'{\\mathop{\\char"2237}}',coloneqq:'{\\mathop{\\char"2254}}',Coloneqq:'{\\mathop{\\char"2237\\char"3D}}',coloneq:'{\\mathop{\\char"3A\\char"2212}}',Coloneq:'{\\mathop{\\char"2237\\char"2212}}',eqqcolon:'{\\mathop{\\char"2255}}',Eqqcolon:'{\\mathop{\\char"3D\\char"2237}}',eqcolon:'{\\mathop{\\char"2239}}',Eqcolon:'{\\mathop{\\char"2212\\char"2237}}',colonapprox:'{\\mathop{\\char"003A\\char"2248}}',Colonapprox:'{\\mathop{\\char"2237\\char"2248}}',colonsim:'{\\mathop{\\char"3A\\char"223C}}',Colonsim:'{\\mathop{\\char"2237\\char"223C}}',colondash:"\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",Colondash:"\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}",dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Dashcolon:"\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}"}},ratio:"\\vcentcolon",coloncolon:"\\dblcolon",colonequals:"\\coloneq",coloncolonequals:"\\Coloneq",equalscolon:"\\eqcolon",equalscoloncolon:"\\Eqcolon",colonminus:"\\colondash",coloncolonminus:"\\Colondash",minuscolon:"\\dashcolon",minuscoloncolon:"\\Dashcolon",coloncolonapprox:"\\Colonapprox",coloncolonsim:"\\Colonsim",simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Simcolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",simcoloncolon:"\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",Approxcolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",approxcoloncolon:"\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",notni:"\\mathrel{\\char`\u220C}",limsup:"\\operatorname*{lim\\,sup}",liminf:"\\operatorname*{lim\\,inf}",injlim:"\\operatorname*{inj\\,lim}",projlim:"\\operatorname*{proj\\,lim}",varlimsup:"\\operatorname*{\\overline{lim}}",varliminf:"\\operatorname*{\\underline{lim}}",varinjlim:"\\operatorname*{\\underrightarrow{lim}}",varprojlim:"\\operatorname*{\\underleftarrow{lim}}",argmin:"\\operatorname*{arg\\,min}",argmax:"\\operatorname*{arg\\,max}",plim:"\\mathop{\\operatorname{plim}}\\limits",tripledash:{def:"\\vphantom{-}\\raise{4mu}{\\mkern1.5mu\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2.25mu}\\rule{2mu}{1.5mu}\\mkern{2mu}}",expand:!0},"braket.sty":{package:xt},"amsmath.sty":{package:Bt,primitive:!0},"texvc.sty":{package:kt,primitive:!1}},ce={" ":32,"\\!":33,"\\#":35,"\\$":36,"\\%":37,"\\&":38,"-":45,"\\textunderscore":95,"\\euro":8364,"\\maltese":10016,"\\{":123,"\\}":125,"\\textbraceleft":123,"\\textbraceright":125,"\\lbrace":123,"\\rbrace":125,"\\lbrack":91,"\\rbrack":93,"\\nobreakspace":160,"\\ldots":8230,"\\textellipsis":8230,"\\backslash":92,"`":8216,"'":8217,"``":8220,"''":8221,"\\degree":176,"\\textasciicircum":94,"\\textasciitilde":126,"\\textasteriskcentered":42,"\\textbackslash":92,"\\textbullet":8226,"\\textdollar":36,"\\textsterling":163,"\\textdagger":8224,"\\textdaggerdbl":8225,"\u2013":8211,"\u2014":8212,"\u2018":8216,"\u2019":8217,"\u201C":8220,"\u201D":8221,'"':8221,"\\ss":223,"\\ae":230,"\\oe":339,"\\AE":198,"\\OE":338,"\\O":216,"\\i":305,"\\j":567,"\\aa":229,"\\AA":197},le=/[\w!@*()-=+{}\[\]\\';:?/.,~<>`|$%#&^" ]/,fe,he;ht()?(fe=new RegExp("\\p{Letter}","u"),he=new RegExp("[0-9\\p{Letter}]","u")):(fe=/[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/,he=/[\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);function ue(a,y,b="mord",E){y!==void 0&&(At[a]={definitionType:"symbol",type:b,variant:E,codepoint:y},fn[y]||(fn[y]=a))}function Pe(a,y,b){if(typeof a=="string"){for(let E=0;E<a.length;E++){const ee=a.charAt(E);ue(ee,ee.codePointAt(0))}return}for(const[E,ee,re,oe]of a)ue(E,ee,re!=null?re:y,oe!=null?oe:b)}function _e(a,y){for(let b=a;b<=y;b++)ue(String.fromCodePoint(b),b)}function Dt(a){var y;return(y=yn[a])!=null?y:null}function Lt(a,y){var b,E;if(y.length===0||y==="\\"||!y.startsWith("\\"))return[];const ee=[];for(const oe in Kt)oe.startsWith(y)&&!Kt[oe].infix&&ee.push({match:oe,frequency:(b=Kt[oe].frequency)!=null?b:0});for(const oe in At)oe.startsWith(y)&&ee.push({match:oe,frequency:(E=At[oe].frequency)!=null?E:0});const re=y.substring(1);for(const oe of Object.keys(a.options.macros))oe.startsWith(re)&&ee.push({match:"\\"+oe,frequency:0});return ee.sort((oe,me)=>{var ge,we;return oe.frequency===me.frequency?oe.match.length===me.match.length?oe.match<me.match?-1:1:oe.match.length-me.match.length:((ge=me.frequency)!=null?ge:0)-((we=oe.frequency)!=null?we:0)}),ee.map(oe=>oe.match)}function Ht(a){let y="auto";const b=a.match(/:([^=]+)/);return b&&(y=b[1].trim()),y}function Qt(a){if(!a)return[];const y=[];let b=a.split("]");if(b[0].startsWith("[")){y.push({isOptional:!0,type:Ht(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...Qt(b[E]))}else if(b=a.split("}"),b[0].startsWith("{")){y.push({isOptional:!1,type:Ht(b[0].slice(1))});for(let E=1;E<=b.length;E++)y.push(...Qt(b[E]))}return y}function zt(a){if(!a)return"";let y="",b=!0;for(const E of a)typeof E.value=="string"?y+=E.value:b=!1;return b?y:""}function bn(a,y){typeof a=="string"&&(a=[a]);const b={tabular:!1,params:[],createAtom:y};for(const E of a)yn[E]=b}function In(a,y,b){typeof a=="string"&&(a=[a]);const ee={tabular:!0,params:Qt(y),createAtom:b};for(const re of a)yn[re]=ee}function Mt(a,y,b){var E,ee;b||(b={});const re={definitionType:"function",params:Qt(y),ifMode:b.ifMode,isFunction:(E=b.isFunction)!=null?E:!1,applyMode:b.applyMode,infix:(ee=b.infix)!=null?ee:!1,parse:b.parse,createAtom:b.createAtom,applyStyle:b.applyStyle,serialize:b.serialize,render:b.render};if(typeof a=="string")Kt["\\"+a]=re;else for(const oe of a)Kt["\\"+oe]=re}var tn;function Gn(a){return tn||(tn=We(ve)),a?We(xe(xe({},tn),a)):tn}function ut(a,y){var b,E,ee,re;if(typeof a=="string"){let oe=0;const me=a;return/(^|[^\\])#1/.test(me)&&(oe=1),/(^|[^\\])#2/.test(me)&&(oe=2),/(^|[^\\])#3/.test(me)&&(oe=3),/(^|[^\\])#4/.test(me)&&(oe=4),/(^|[^\\])#5/.test(me)&&(oe=5),/(^|[^\\])#6/.test(me)&&(oe=6),/(^|[^\\])#7/.test(me)&&(oe=7),/(^|[^\\])#8/.test(me)&&(oe=8),/(^|[^\\])#9/.test(me)&&(oe=9),{expand:(b=y==null?void 0:y.expand)!=null?b:!0,captureSelection:(E=y==null?void 0:y.captureSelection)!=null?E:!0,args:oe,def:me}}return xe({expand:(ee=y==null?void 0:y.expand)!=null?ee:!0,captureSelection:(re=y==null?void 0:y.captureSelection)!=null?re:!0,args:0},a)}function We(a){if(!a)return{};const y={};for(const b of Object.keys(a)){const E=a[b];if(E==null)delete y[b];else if(typeof E=="object"&&"package"in E)for(const ee of Object.keys(E.package))y[ee]=ut(E.package[ee],{expand:!E.primitive,captureSelection:E.captureSelection});else y[b]=ut(E)}return y}function Ue(a,y="math"){if(!a||a.length===0)return null;let b=null;if(a.startsWith("\\")){if(b=Kt[a],b)return!b.ifMode||b.ifMode===y?b:null;y==="math"?b=At[a]:ce[a]&&(b={definitionType:"symbol",type:"mord",codepoint:ce[a]})}else if(y==="math"){if(b=At[a],!b&&a.length===1){const E=gn("math",a.codePointAt(0));return E.startsWith("\\")?Ee(xe({},Ue(E,"math")),{command:E}):null}}else ce[a]?b={definitionType:"symbol",type:"mord",codepoint:ce[a]}:y==="text"&&(b={definitionType:"symbol",type:"mord",codepoint:a.codePointAt(0)});return b!=null?b:null}function nn(a,y){if(!a.startsWith("\\"))return null;const b=a.slice(1);return y[b]}function gn(a,y){if(y===void 0)return"";if(a==="math"&&fn[y])return fn[y];if(a==="text"){const b=Object.keys(ce).find(E=>ce[E]===y);return b||String.fromCodePoint(y)}return String.fromCodePoint(y)}var xn=[0,.68889,0,0,.72222],Un=[0,.68889,0,0,.66667],Pn=[0,.68889,0,0,.77778],Vn=[0,.68889,0,0,.61111],dr=[.16667,.68889,0,0,.77778],gr=[0,.68889,0,0,.55556],_n=[0,0,0,0,.25],wr=[0,.825,0,0,2.33334],Jr=[0,.9,0,0,2.33334],pr=[0,.68889,0,0,.54028],pi=[-.03598,.46402,0,0,.5],Rr=[-.13313,.36687,0,0,1],Qr=[.01354,.52239,0,0,1],pn=[.01354,.52239,0,0,1.11111],Zn=[0,.54986,0,0,1],rr=[0,.69224,0,0,.5],ur=[0,.43056,0,0,1],nr=[.08198,.58198,0,0,.77778],fr=[.19444,.69224,0,0,.41667],sr=[.1808,.675,0,0,1],Br=[.19444,.69224,0,0,.83334],ir=[.13667,.63667,0,0,1],Bn=[-.064,.437,0,0,1.334],Cr=[.08167,.58167,0,0,.77778],wt=[0,.69224,0,0,.72222],Fe=[0,.69224,0,0,.66667],je=[-.13313,.36687,0,0,.77778],Re=[.06062,.54986,0,0,.77778],Ne=[0,.69224,0,0,.77778],ct=[.25583,.75583,0,0,.77778],St=[.25142,.75726,0,0,.77778],an=[.20576,.70576,0,0,.77778],Gt=[.30274,.79383,0,0,.77778],Zt=[.22958,.72958,0,0,.77778],Dn=[.1808,.675,0,0,.77778],Hn=[.13667,.63667,0,0,.77778],jn=[.13597,.63597,0,0,.77778],qt=[.03517,.54986,0,0,.77778],Sn=[0,.675,0,0,.77778],Ct=[.19444,.69224,0,0,.61111],Rt=[0,.54986,0,0,.76042],Xt=[0,.54986,0,0,.66667],en=[.0391,.5391,0,0,.77778],En=[.03517,.54986,0,0,1.33334],Wt=[.38569,.88569,0,0,.77778],An=[.23222,.74111,0,0,.77778],Ge=[.19444,.69224,0,0,.77778],Tt=[0,.37788,0,0,.5],Ot=[0,.54986,0,0,.72222],ln=[0,.69224,0,0,.83334],Jt=[.11111,.69224,0,0,.66667],dn=[.26167,.75726,0,0,.77778],cn=[.48256,.98256,0,0,.77778],Fn=[.28481,.79383,0,0,.77778],Kn=[.08167,.58167,0,0,.22222],qn=[.08167,.58167,0,0,.38889],br=[0,.43056,.04028,0,.66667],Tr=[.41951,.91951,0,0,.77778],jr=[.24982,.74947,0,0,.38865],Fr=[.08319,.58283,0,0,.75623],tr=[0,.10803,0,0,.27764],_r=[0,.47534,0,0,.50181],Hr=[.18906,.47534,0,0,.50181],qr=[0,.69141,0,0,.50181],Mr=[.24982,.74947,0,0,.27764],Ir=[0,.69141,0,0,.21471],$r=[.25,.75,0,0,.44722],Wr=[0,.64444,0,0,.575],wi=[.08556,.58556,0,0,.89444],Ii=[0,.69444,0,0,.89444],Zr=[0,.68611,0,0,.9],Xn=[0,.68611,0,0,.86944],Yn=[.25,.75,0,0,.575],Xr=[.25,.75,0,0,.31944],Nr=[0,.69444,0,0,.63889],oi=[0,.69444,0,0,.31944],ci=[0,.44444,0,0,.63889],di=[0,.44444,0,0,.51111],Gr=[0,.69444,0,0,.575],ti=[.13333,.63333,0,0,.89444],Gi=[0,.44444,0,0,.31944],Sr=[0,.69444,0,0,.86944],Or=[0,.68611,0,0,.69166],fi=[0,.68611,0,0,.83055],Ei=[0,.68611,0,0,.89444],Xi=[0,.69444,0,0,.60278],Ji=[.19444,.69444,0,0,.51111],ji=[0,.69444,0,0,.83055],Ni=[-.10889,.39111,0,0,1.14999],ua=[.19444,.69444,0,0,.575],ca=[.19444,.69444,0,0,1.14999],Lr=[.19444,.69444,0,0,.70277],Dr=[.05556,.75,0,0,.575],kr=[0,.68611,0,0,.95833],Ur=[.08556,.58556,0,0,.76666],Ti=[-.02639,.47361,0,0,.575],pa=[0,.44444,0,0,.89444],ga=[0,.55556,0,0,.76666],ia=[-.10889,.39111,0,0,.89444],Qi=[.00222,.50222,0,0,.89444],ya=[.19667,.69667,0,0,.89444],ja=[.08556,.58556,0,0,1.14999],Ha=[0,.69444,0,0,.70277],mo=[-.02778,.47222,0,0,.575],Pi=[.25,.75,0,0,.51111],zi=[-.13889,.36111,0,0,1.14999],Aa=[.19444,.69444,0,0,1.02222],Yi=[.12963,.69444,0,0,.89444],$i=[.19444,.69444,0,0,.44722],wn=[0,.64444,.13167,0,.59111],hn=[.19444,.64444,.13167,0,.59111],on=[0,.68611,.17208,0,.8961],Rn=[.19444,.44444,.105,0,.53222],or=[0,.44444,.085,0,.82666],lr=[0,.69444,.06709,0,.59111],On=[0,.69444,.12945,0,.35555],Er=[0,.69444,0,0,.94888],si=[0,.69444,.11472,0,.59111],Di=[0,.68611,.10778,0,.88555],ui=[0,.69444,.07939,0,.62055],xr=[0,.69444,.12417,0,.30667],li=[0,.64444,.13556,0,.51111],Ci=[.19444,.64444,.13556,0,.51111],Ui=[0,.68333,.16389,0,.74333],Si=[.19444,.43056,.08847,0,.46],gi=[0,.43056,.07514,0,.71555],Ki=[0,.69444,.06646,0,.51111],da=[0,.69444,0,0,.83129],Da=[0,.69444,.1225,0,.51111],no=[0,.68333,.09403,0,.76666],Ro=[0,.68333,.11111,0,.76666],ul=[0,.69444,.06961,0,.51444],Vo=[0,.69444,0,0,.27778],Mo=[.25,.75,0,0,.38889],so=[0,.64444,0,0,.5],Is=[0,.69444,0,0,.77778],No=[0,.68333,0,0,.75],ls=[0,.68333,0,0,.77778],qs=[0,.68333,0,0,.68056],Os=[0,.68333,0,0,.72222],go=[.25,.75,0,0,.5],Ua=[.25,.75,0,0,.27778],Ma=[0,.69444,0,0,.5],js=[0,.69444,0,0,.55556],xl=[0,.43056,0,0,.44445],_o=[0,.43056,0,0,.5],va=[.19444,.43056,0,0,.55556],aa=[0,.43056,0,0,.55556],Qa=[.08333,.58333,0,0,.77778],zo=[0,.43056,0,0,.27778],ro=[0,.66786,0,0,.27778],us=[0,.69444,0,0,.75],bs=[0,.66786,0,0,.5],Ts=[0,.68333,0,0,.625],cs=[.19444,.69444,0,0,.44445],Vs=[0,.69444,0,0,.72222],Rs=[.19444,.69444,0,0,.5],qo=[.19444,.69444,0,0,1],Tu=[.011,.511,0,0,1.126],cl=[.19444,.69444,0,0,.61111],Su=[.05556,.75,0,0,.5],nu=[0,.68333,0,0,.83334],Ru=[.0391,.5391,0,0,.66667],ru=[-.05555,.44445,0,0,.5],Ec=[0,.43056,0,0,.77778],iu=[0,.55556,0,0,.66667],Eu=[-.03625,.46375,0,0,.77778],Ll=[-.01688,.48312,0,0,.77778],Wl=[.0391,.5391,0,0,1],za=[0,.69444,0,0,.61111],Ka=[-.03472,.46528,0,0,.5],qa=[.25,.75,0,0,.44445],Bs=[-.14236,.35764,0,0,1],Go=[.244,.744,0,0,.412],xs=[.19444,.69444,0,0,.88889],_s=[.12963,.69444,0,0,.77778],ws=[.19444,.69444,0,0,.38889],dl=[.011,.511,0,0,1.638],fl=[.19444,.69444,0,0,0],ye=[0,.44444,0,0,.575],Ae=[.19444,.44444,0,0,.575],Le=[0,.68611,0,0,.75555],gt=[0,.69444,0,0,.66759],bt=[0,.68611,0,0,.80555],vn=[0,.68611,.08229,0,.98229],sn=[0,.68611,0,0,.76666],Nn=[0,.44444,0,0,.58472],Tn=[.19444,.44444,0,0,.6118],Qn=[.19444,.43056,0,0,.5],zr=[0,.68333,.02778,.08334,.76278],$n=[0,.68333,.08125,.05556,.83125],er=[0,.43056,0,.05556,.48472],mr=[.19444,.43056,0,.08334,.51702],yr=[.25,.75,0,0,.42778],kn=[0,.69444,0,0,.55],Jn=[0,.69444,0,0,.73334],vr=[0,.69444,0,0,.79445],bi=[0,.69444,0,0,.51945],ri=[0,.69444,0,0,.70278],vi=[0,.69444,0,0,.76389],xi=[.25,.75,0,0,.34306],mi=[0,.69444,0,0,.56111],ai=[0,.69444,0,0,.25556],ta=[.19444,.45833,0,0,.56111],Zi=[0,.45833,0,0,.56111],ea=[0,.69444,0,0,.30556],Ca=[0,.69444,0,0,.58056],Ba=[0,.69444,0,0,.67223],Fa=[0,.69444,0,0,.85556],Va=[0,.69444,0,0,.55834],oa=[0,.65556,.11156,0,.5],sa=[0,.69444,.08094,0,.70834],ba=[.17014,0,0,0,.44445],Wa=[0,.69444,.0799,0,.5],Ya=[0,.69444,0,0,.73752],Ia=[0,.69444,.09205,0,.5],Za=[0,.69444,.09031,0,.77778],io=[0,.69444,.07816,0,.27778],Bo=[0,.69444,.00316,0,.5],$o=[.19444,.69444,0,0,.83334],So=[.05556,.75,0,0,.83334],es=[0,.75,0,0,.5],lo=[.125,.08333,0,0,.27778],Lo=[0,.08333,0,0,.27778],Sa=[0,.65556,0,0,.5],Oa=[0,.69444,0,0,.47222],xa=[0,.69444,0,0,.66667],_a=[0,.69444,0,0,.59722],ds=[0,.69444,0,0,.54167],ma=[0,.69444,0,0,.70834],vo=[.25,.75,0,0,.28889],Eo=[0,.69444,0,0,.51667],ts=[0,.44444,0,0,.44445],fs=[.19444,.44444,0,0,.51667],uo=[0,.44444,0,0,.38333],Ho=[0,.44444,0,0,.51667],$s=[0,.69444,0,0,.83334],tl=[.35001,.85,0,0,.45834],hs=[.35001,.85,0,0,.57778],wl=[.35001,.85,0,0,.41667],au=[.35001,.85,0,0,.58334],Cl=[0,.72222,0,0,.55556],ns=[1e-5,.6,0,0,.66667],el=[1e-5,.6,0,0,.77778],ps=[.25001,.75,0,0,.94445],ou=[.306,.805,.19445,0,.47222],nl=[.30612,.805,.19445,0,.47222],$a=[.25001,.75,0,0,.83334],eo=[.35001,.85,0,0,.47222],Ls=[.25001,.75,0,0,1.11111],hl=[.65002,1.15,0,0,.59722],Io=[.65002,1.15,0,0,.81111],fa=[.65002,1.15,0,0,.47222],Po=[.65002,1.15,0,0,.66667],Uo=[0,.75,0,0,1],ao=[.55001,1.05,0,0,1.27778],Cs=[.862,1.36,.44445,0,.55556],pl=[.86225,1.36,.44445,0,.55556],co=[.55001,1.05,0,0,1.11111],Ss=[.65002,1.15,0,0,.52778],rl=[.65002,1.15,0,0,.61111],Ta=[.55001,1.05,0,0,1.51112],ml=[.95003,1.45,0,0,.73611],Gs=[.95003,1.45,0,0,1.04445],rs=[.95003,1.45,0,0,.52778],Sl=[.95003,1.45,0,0,.75],il=[0,.75,0,0,1.44445],Zl=[.95003,1.45,0,0,.58334],gl=[1.25003,1.75,0,0,.79167],qi=[1.25003,1.75,0,0,1.27778],ki=[1.25003,1.75,0,0,.58334],ha=[1.25003,1.75,0,0,.80556],fo=[0,.825,0,0,1.8889],Us=[1.25003,1.75,0,0,.63889],Au=[.64502,1.155,0,0,.875],jl=[1e-5,.6,0,0,.875],Mu=[-99e-5,.601,0,0,.66667],Vl=[.64502,1.155,0,0,.66667],is=[1e-5,.9,0,0,.88889],na=[.65002,1.15,0,0,.88889],El=[.90001,0,0,0,.88889],Ys=[-.00499,.605,0,0,1.05556],Pl=[0,.12,0,0,.45],Ai=[0,.61111,0,0,.525],Qs=[.08333,.69444,0,0,.525],Nu=[-.08056,.53055,0,0,.525],zu=[-.05556,.55556,0,0,.525],ms=[0,.43056,0,0,.525],Oo=[.22222,.43056,0,0,.525],su=[0,0,0,0,.525],ko={"AMS-Regular":{32:_n,65:xn,66:Un,67:xn,68:xn,69:Un,70:Vn,71:Pn,72:Pn,73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:Pn,76:Un,77:[0,.68889,0,0,.94445],78:xn,79:dr,80:Vn,81:dr,82:xn,83:gr,84:Un,85:xn,86:xn,87:[0,.68889,0,0,1],88:xn,89:xn,90:Un,107:gr,160:_n,165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:gr,295:pr,710:wr,732:Jr,770:wr,771:Jr,989:Cr,1008:br,8245:[0,.54986,0,0,.275],8463:pr,8487:xn,8498:gr,8502:Un,8503:[0,.68889,0,0,.44445],8504:Un,8513:[0,.68889,0,0,.63889],8592:pi,8594:pi,8602:Rr,8603:Rr,8606:Qr,8608:Qr,8610:pn,8611:pn,8619:Zn,8620:Zn,8621:[-.13313,.37788,0,0,1.38889],8622:Rr,8624:rr,8625:rr,8630:ur,8631:ur,8634:nr,8635:nr,8638:fr,8639:fr,8642:fr,8643:fr,8644:sr,8646:sr,8647:sr,8648:Br,8649:sr,8650:Br,8651:Qr,8652:Qr,8653:Rr,8654:Rr,8655:Rr,8666:ir,8667:ir,8669:[-.13313,.37788,0,0,1],8672:Bn,8674:Bn,8705:[0,.825,0,0,.5],8708:gr,8709:Cr,8717:[0,.43056,0,0,.42917],8722:pi,8724:[.08198,.69224,0,0,.77778],8726:Cr,8733:Ne,8736:wt,8737:wt,8738:[.03517,.52239,0,0,.72222],8739:Kn,8740:[.25142,.74111,0,0,.27778],8741:qn,8742:[.25142,.74111,0,0,.5],8756:Fe,8757:Fe,8764:je,8765:[-.13313,.37788,0,0,.77778],8769:je,8770:Eu,8774:Gt,8776:Ll,8778:Cr,8782:Re,8783:Re,8785:nr,8786:nr,8787:nr,8790:Ne,8791:Zt,8796:[.08198,.91667,0,0,.77778],8806:ct,8807:ct,8808:St,8809:St,8812:[.25583,.75583,0,0,.5],8814:an,8815:an,8816:Gt,8817:Gt,8818:Zt,8819:Zt,8822:Dn,8823:Dn,8828:Hn,8829:Hn,8830:Zt,8831:Zt,8832:an,8833:an,8840:Gt,8841:Gt,8842:jn,8843:jn,8847:qt,8848:qt,8858:nr,8859:nr,8861:nr,8862:Sn,8863:Sn,8864:Sn,8865:Sn,8872:[0,.69224,0,0,.61111],8873:wt,8874:[0,.69224,0,0,.88889],8876:Vn,8877:Vn,8878:xn,8879:xn,8882:qt,8883:qt,8884:Hn,8885:Hn,8888:[0,.54986,0,0,1.11111],8890:va,8891:Ct,8892:Ct,8901:[0,.54986,0,0,.27778],8903:Cr,8905:Cr,8906:Cr,8907:Ne,8908:Ne,8909:[-.03598,.46402,0,0,.77778],8910:Rt,8911:Rt,8912:qt,8913:qt,8914:Xt,8915:Xt,8916:Fe,8918:en,8919:en,8920:En,8921:En,8922:Wt,8923:Wt,8926:Hn,8927:Hn,8928:Gt,8929:Gt,8934:An,8935:An,8936:An,8937:An,8938:an,8939:an,8940:Gt,8941:Gt,8994:Ge,8995:Ge,9416:[.15559,.69224,0,0,.90222],9484:rr,9488:rr,9492:Tt,9496:Tt,9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:Sn,9633:Sn,9650:Ot,9651:Ot,9654:qt,9660:Ot,9661:Ot,9664:qt,9674:Jt,9733:[.19444,.69224,0,0,.94445],10003:ln,10016:ln,10731:Jt,10846:[.19444,.75583,0,0,.61111],10877:Hn,10878:Hn,10885:ct,10886:ct,10887:jn,10888:jn,10889:dn,10890:dn,10891:cn,10892:cn,10901:Hn,10902:Hn,10933:St,10934:St,10935:dn,10936:dn,10937:dn,10938:dn,10949:ct,10950:ct,10955:Fn,10956:Fn,57350:Kn,57351:qn,57352:Cr,57353:br,57356:St,57357:St,57358:Tr,57359:Gt,57360:Gt,57361:Tr,57366:St,57367:St,57368:St,57369:St,57370:jn,57371:jn},"Caligraphic-Regular":{32:_n,65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:_n},"Fraktur-Regular":{32:_n,33:[0,.69141,0,0,.29574],34:Ir,38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:jr,41:jr,42:[0,.62119,0,0,.27764],43:Fr,44:tr,45:Fr,46:tr,47:[.24982,.74947,0,0,.50181],48:_r,49:_r,50:_r,51:Hr,52:Hr,53:Hr,54:qr,55:Hr,56:qr,57:Hr,58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:Mr,93:Mr,94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:_n,8216:Ir,8217:Ir,58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:_n,33:[0,.69444,0,0,.35],34:Xi,35:[.19444,.69444,0,0,.95833],36:Dr,37:[.05556,.75,0,0,.95833],38:Ii,39:oi,40:$r,41:$r,42:[0,.75,0,0,.575],43:ti,44:[.19444,.15556,0,0,.31944],45:uo,46:[0,.15556,0,0,.31944],47:Yn,48:Wr,49:Wr,50:Wr,51:Wr,52:Wr,53:Wr,54:Wr,55:Wr,56:Wr,57:Wr,58:Gi,59:[.19444,.44444,0,0,.31944],60:wi,61:ia,62:wi,63:[0,.69444,0,0,.54305],64:Ii,65:Xn,66:[0,.68611,0,0,.81805],67:fi,68:[0,.68611,0,0,.88194],69:Le,70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:Zr,73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:Or,77:[0,.68611,0,0,1.09166],78:Zr,79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:Xn,89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:Xr,92:Yn,93:Xr,94:Gr,95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:Nr,99:di,100:Nr,101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:Nr,105:oi,106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:oi,109:[0,.44444,0,0,.95833],110:ci,111:ye,112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:ci,118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:di,123:Yn,124:Xr,125:Yn,126:[.35,.34444,0,0,.575],160:_n,163:[0,.69444,0,0,.86853],168:Gr,172:[0,.44444,0,0,.76666],176:Sr,177:ti,184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:ti,216:[.04861,.73472,0,0,.89444],223:_a,230:[0,.44444,0,0,.83055],247:ti,248:[.09722,.54167,0,0,.575],305:Gi,338:[0,.68611,0,0,1.16944],339:pa,567:[.19444,.44444,0,0,.35139],710:Gr,711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:Gr,715:Gr,728:Gr,729:oi,730:Sr,732:Gr,733:Gr,915:Or,916:kr,920:Ei,923:bt,926:sn,928:Zr,931:fi,933:Ei,934:fi,936:Ei,937:fi,8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:oi,8217:oi,8220:Xi,8221:Xi,8224:Ji,8225:Ji,8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:gt,8465:ji,8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:ji,8501:Ha,8592:Ni,8593:ua,8594:Ni,8595:ua,8596:Ni,8597:Yn,8598:ca,8599:ca,8600:ca,8601:ca,8636:Ni,8637:Ni,8640:Ni,8641:Ni,8656:Ni,8657:Lr,8658:Ni,8659:Lr,8660:Ni,8661:[.25,.75,0,0,.70277],8704:Nr,8706:[0,.69444,.06389,0,.62847],8707:Nr,8709:Dr,8711:kr,8712:Ur,8715:Ur,8722:ti,8723:ti,8725:Yn,8726:Yn,8727:mo,8728:Ti,8729:Ti,8730:[.18,.82,0,0,.95833],8733:pa,8734:[0,.44444,0,0,1.14999],8736:wt,8739:Xr,8741:Yn,8743:ga,8744:ga,8745:ga,8746:ga,8747:[.19444,.69444,.12778,0,.56875],8764:ia,8768:[.19444,.69444,0,0,.31944],8771:Qi,8776:[.02444,.52444,0,0,.89444],8781:Qi,8801:Qi,8804:ya,8805:ya,8810:ja,8811:ja,8826:wi,8827:wi,8834:wi,8835:wi,8838:ya,8839:ya,8846:ga,8849:ya,8850:ya,8851:ga,8852:ga,8853:ti,8854:ti,8855:ti,8856:ti,8857:ti,8866:Ha,8867:Ha,8868:Ii,8869:Ii,8900:Ti,8901:[-.02639,.47361,0,0,.31944],8902:mo,8968:Pi,8969:Pi,8970:Pi,8971:Pi,8994:zi,8995:zi,9651:Aa,9657:mo,9661:Aa,9667:mo,9711:ca,9824:Yi,9825:Yi,9826:Yi,9827:Yi,9837:[0,.75,0,0,.44722],9838:$i,9839:$i,10216:$r,10217:$r,10815:Zr,10927:ya,10928:ya,57376:fl},"Main-BoldItalic":{32:_n,33:[0,.69444,.11417,0,.38611],34:ui,35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:On,40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:wn,49:wn,50:wn,51:wn,52:hn,53:wn,54:wn,55:hn,56:wn,57:wn,58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:si,64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:on,73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:on,79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:lr,95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:Rn,104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:Rn,114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:_n,168:[0,.69444,.11473,0,.59111],176:Er,184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:or,248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:or,567:[.19444,.44444,.04611,0,.385],710:lr,711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:On,730:Er,732:si,733:si,915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:on,931:[0,.68611,.11431,0,.82666],933:Di,934:[0,.68611,.05632,0,.82666],936:Di,937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:On,8217:On,8220:[0,.69444,.16772,0,.62055],8221:ui},"Main-Italic":{32:_n,33:xr,34:ul,35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:xr,40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:li,49:li,50:li,51:li,52:Ci,53:li,54:li,55:Ci,56:li,57:li,58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:Da,64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:Ui,73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:Ui,79:no,80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:Ui,86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:Ki,95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:Si,104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:Si,114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:_n,168:[0,.66786,.10474,0,.51111],176:da,184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:gi,248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:gi,710:Ki,711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:da,732:[0,.66786,.11585,0,.51111],733:Da,915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:no,923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:Ui,931:[0,.68333,.12028,0,.71555],933:Ro,934:[0,.68333,.05986,0,.71555],936:Ro,937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:xr,8217:xr,8220:[0,.69444,.1685,0,.51444],8221:ul,8463:pr},"Main-Regular":{32:_n,33:Vo,34:Ma,35:$o,36:Su,37:So,38:Is,39:Vo,40:Mo,41:Mo,42:es,43:Qa,44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:go,48:so,49:so,50:so,51:so,52:so,53:so,54:so,55:so,56:so,57:so,58:zo,59:[.19444,.43056,0,0,.27778],60:en,61:je,62:en,63:Oa,64:Is,65:No,66:[0,.68333,0,0,.70834],67:Os,68:[0,.68333,0,0,.76389],69:qs,70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:No,73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:ls,76:Ts,77:[0,.68333,0,0,.91667],78:No,79:ls,80:qs,81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:Os,85:No,86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:No,89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:Ua,92:go,93:Ua,94:Ma,95:[.31,.12056,.02778,0,.5],97:_o,98:js,99:xl,100:js,101:xl,102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:js,105:ro,106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:Vo,109:[0,.43056,0,0,.83334],110:aa,111:_o,112:va,113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:aa,118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:xl,123:go,124:Ua,125:go,126:[.35,.31786,0,0,.5],160:_n,163:[0,.69444,0,0,.76909],167:cs,168:bs,172:[0,.43056,0,0,.66667],176:us,177:Qa,182:cl,184:ba,198:[0,.68333,0,0,.90278],215:Qa,216:[.04861,.73194,0,0,.77778],223:Ma,230:[0,.43056,0,0,.72222],247:Qa,248:[.09722,.52778,0,0,.5],305:zo,338:[0,.68333,0,0,1.01389],339:Ec,567:[.19444,.43056,0,0,.30556],710:Ma,711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:Ma,715:Ma,728:Ma,729:ro,730:us,732:bs,733:Ma,915:Ts,916:nu,920:ls,923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:No,931:Os,933:ls,934:Os,936:ls,937:Os,8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:Vo,8217:Vo,8220:Ma,8221:Ma,8224:cs,8225:cs,8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:pr,8465:Vs,8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:Vs,8501:za,8592:Rr,8593:Rs,8594:Rr,8595:Rs,8596:Rr,8597:go,8598:qo,8599:qo,8600:qo,8601:qo,8614:[.011,.511,0,0,1],8617:Tu,8618:Tu,8636:Rr,8637:Rr,8640:Rr,8641:Rr,8652:[.011,.671,0,0,1],8656:Rr,8657:cl,8658:Rr,8659:cl,8660:Rr,8661:[.25,.75,0,0,.61111],8704:js,8706:[0,.69444,.05556,.08334,.5309],8707:js,8709:Su,8711:nu,8712:Ru,8715:Ru,8722:Qa,8723:Qa,8725:go,8726:go,8727:Ka,8728:ru,8729:ru,8730:[.2,.8,0,0,.83334],8733:Ec,8734:ur,8736:wt,8739:Ua,8741:go,8743:iu,8744:iu,8745:iu,8746:iu,8747:[.19444,.69444,.11111,0,.41667],8764:je,8768:[.19444,.69444,0,0,.27778],8771:Eu,8773:[-.022,.589,0,0,1],8776:Ll,8781:Eu,8784:[-.133,.67,0,0,.778],8801:Eu,8804:jn,8805:jn,8810:Wl,8811:Wl,8826:en,8827:en,8834:en,8835:en,8838:jn,8839:jn,8846:iu,8849:jn,8850:jn,8851:iu,8852:iu,8853:Qa,8854:Qa,8855:Qa,8856:Qa,8857:Qa,8866:za,8867:za,8868:Is,8869:Is,8872:[.249,.75,0,0,.867],8900:ru,8901:[-.05555,.44445,0,0,.27778],8902:Ka,8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:qa,8969:qa,8970:qa,8971:qa,8994:Bs,8995:Bs,9136:Go,9137:Go,9651:xs,9657:Ka,9661:xs,9667:Ka,9711:qo,9824:_s,9825:_s,9826:_s,9827:_s,9837:[0,.75,0,0,.38889],9838:ws,9839:ws,10216:Mo,10217:Mo,10222:Go,10223:Go,10229:[.011,.511,0,0,1.609],10230:dl,10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:dl,10815:No,10927:jn,10928:jn,57376:fl},"Math-BoldItalic":{32:_n,48:ye,49:ye,50:ye,51:Ae,52:Ae,53:Ae,54:Wr,55:Ae,56:Wr,57:Ae,65:Xn,66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:vn,73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:Le,77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:gt,105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:Nn,112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:_n,915:[0,.68611,.15972,0,.65694],916:kr,920:[0,.68611,.03194,0,.86722],923:bt,926:[0,.68611,.07458,0,.84125],928:vn,931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:sn,936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:Nn,960:[0,.44444,.03704,0,.68241],961:Tn,962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:Tn,1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:_n,48:_o,49:_o,50:_o,51:Qn,52:Qn,53:Qn,54:so,55:Qn,56:so,57:Qn,65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:$n,73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:zr,80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:er,112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:_n,915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:zr,923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:$n,931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:er,960:[0,.43056,.03588,0,.57003],961:mr,962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:mr,1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:_n,33:[0,.69444,0,0,.36667],34:Va,35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:ea,40:yr,41:yr,42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:kn,49:kn,50:kn,51:kn,52:kn,53:kn,54:kn,55:kn,56:kn,57:kn,58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:bi,64:Jn,65:Jn,66:Jn,67:ri,68:vr,69:[0,.69444,0,0,.64167],70:za,71:Jn,72:vr,73:[0,.69444,0,0,.33056],74:bi,75:vi,76:Ca,77:[0,.69444,0,0,.97778],78:vr,79:vr,80:ri,81:[.10556,.69444,0,0,.79445],82:ri,83:za,84:Jn,85:vi,86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:Jn,89:[0,.69444,.0275,0,.73334],90:Ba,91:xi,93:xi,94:kn,95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:mi,99:[0,.45833,0,0,.48889],100:mi,101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:mi,105:ai,106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:ai,109:[0,.45833,0,0,.86667],110:Zi,111:[0,.45833,0,0,.55],112:ta,113:ta,114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:Zi,118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:_n,168:kn,176:Jn,180:kn,184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:kn,711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:kn,729:ea,730:Jn,732:kn,733:kn,915:Ca,916:[0,.69444,0,0,.91667],920:Fa,923:Ba,926:Jn,928:vr,931:vr,933:Fa,934:vr,936:Fa,937:vr,8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:ea,8217:ea,8220:Va,8221:Va},"SansSerif-Italic":{32:_n,33:[0,.69444,.05733,0,.31945],34:Bo,35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:io,40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:lo,45:[0,.44444,.01946,0,.33333],46:Lo,47:[.25,.75,.13164,0,.5],48:oa,49:oa,50:oa,51:oa,52:oa,53:oa,54:oa,55:oa,56:oa,57:oa,58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:xa,66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:sa,73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:ds,77:[0,.69444,.08094,0,.875],78:sa,79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:Wa,95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:_n,168:[0,.67937,.06385,0,.5],176:Ya,184:ba,305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:Wa,711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:Ia,715:Ma,728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:Ya,732:[0,.67659,.08826,0,.5],733:Ia,915:[0,.69444,.13372,0,.54167],916:$s,920:[0,.69444,.07555,0,.77778],923:za,926:[0,.69444,.12816,0,.66667],928:sa,931:[0,.69444,.11983,0,.72222],933:Za,934:[0,.69444,.04603,0,.72222],936:Za,937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:io,8217:io,8220:[0,.69444,.14205,0,.5],8221:Bo},"SansSerif-Regular":{32:_n,33:[0,.69444,0,0,.31945],34:Ma,35:$o,36:Su,37:So,38:[0,.69444,0,0,.75834],39:Vo,40:Mo,41:Mo,42:es,43:Qa,44:lo,45:[0,.44444,0,0,.33333],46:Lo,47:go,48:Sa,49:Sa,50:Sa,51:Sa,52:Sa,53:Sa,54:Sa,55:Sa,56:Sa,57:Sa,58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:Oa,64:xa,65:xa,66:xa,67:Nr,68:[0,.69444,0,0,.72223],69:_a,70:[0,.69444,0,0,.56945],71:xa,72:ma,73:Vo,74:Oa,75:[0,.69444,0,0,.69445],76:ds,77:[0,.69444,0,0,.875],78:ma,79:[0,.69444,0,0,.73611],80:Nr,81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:js,84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:xa,89:[0,.69444,.025,0,.66667],90:za,91:vo,93:vo,94:Ma,95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:Eo,99:ts,100:Eo,101:ts,102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:Eo,105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:Ho,111:[0,.44444,0,0,.5],112:fs,113:fs,114:[0,.44444,.01389,0,.34167],115:uo,116:[0,.57143,0,0,.36111],117:Ho,118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:_n,168:[0,.67937,0,0,.5],176:xa,184:ba,305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:Ma,711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:Ma,715:Ma,728:Ma,729:[0,.67937,0,0,.27778],730:xa,732:[0,.67659,0,0,.5],733:Ma,915:ds,916:$s,920:Is,923:za,926:xa,928:ma,931:Vs,933:Is,934:Vs,936:Is,937:Vs,8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:Vo,8217:Vo,8220:Ma,8221:Ma},"Script-Regular":{32:_n,65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:_n},"Size1-Regular":{32:_n,40:tl,41:tl,47:hs,91:wl,92:hs,93:wl,123:au,125:au,160:_n,710:Cl,732:Cl,770:Cl,771:Cl,8214:[-99e-5,.601,0,0,.77778],8593:ns,8595:ns,8657:el,8659:el,8719:ps,8720:ps,8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:nl,8748:ou,8749:ou,8750:nl,8896:$a,8897:$a,8898:$a,8899:$a,8968:eo,8969:eo,8970:eo,8971:eo,9168:Mu,10216:eo,10217:eo,10752:Ls,10753:Ls,10754:Ls,10756:$a,10758:$a},"Size2-Regular":{32:_n,40:hl,41:hl,47:Io,91:fa,92:Io,93:fa,123:Po,125:Po,160:_n,710:Uo,732:Uo,770:Uo,771:Uo,8719:ao,8720:ao,8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:pl,8748:Cs,8749:Cs,8750:pl,8896:co,8897:co,8898:co,8899:co,8968:Ss,8969:Ss,8970:Ss,8971:Ss,10216:rl,10217:rl,10752:Ta,10753:Ta,10754:Ta,10756:co,10758:co},"Size3-Regular":{32:_n,40:ml,41:ml,47:Gs,91:rs,92:Gs,93:rs,123:Sl,125:Sl,160:_n,710:il,732:il,770:il,771:il,8730:[.95003,1.45,0,0,1],8968:Zl,8969:Zl,8970:Zl,8971:Zl,10216:Sl,10217:Sl},"Size4-Regular":{32:_n,40:gl,41:gl,47:qi,91:ki,92:qi,93:ki,123:ha,125:ha,160:_n,710:fo,732:fo,770:fo,771:fo,8730:[1.25003,1.75,0,0,1],8968:Us,8969:Us,8970:Us,8971:Us,9115:Au,9116:jl,9117:Au,9118:Au,9119:jl,9120:Au,9121:Vl,9122:Mu,9123:Vl,9124:Vl,9125:Mu,9126:Vl,9127:is,9128:na,9129:El,9130:[0,.3,0,0,.88889],9131:is,9132:na,9133:El,9143:[.88502,.915,0,0,1.05556],10216:ha,10217:ha,57344:Ys,57345:Ys,57680:Pl,57681:Pl,57682:Pl,57683:Pl},"Typewriter-Regular":{32:su,33:Ai,34:Ai,35:Ai,36:Qs,37:Qs,38:Ai,39:Ai,40:Qs,41:Qs,42:[0,.52083,0,0,.525],43:Nu,44:[.13889,.125,0,0,.525],45:Nu,46:[0,.125,0,0,.525],47:Qs,48:Ai,49:Ai,50:Ai,51:Ai,52:Ai,53:Ai,54:Ai,55:Ai,56:Ai,57:Ai,58:ms,59:[.13889,.43056,0,0,.525],60:zu,61:[-.19549,.41562,0,0,.525],62:zu,63:Ai,64:Ai,65:Ai,66:Ai,67:Ai,68:Ai,69:Ai,70:Ai,71:Ai,72:Ai,73:Ai,74:Ai,75:Ai,76:Ai,77:Ai,78:Ai,79:Ai,80:Ai,81:[.13889,.61111,0,0,.525],82:Ai,83:Ai,84:Ai,85:Ai,86:Ai,87:Ai,88:Ai,89:Ai,90:Ai,91:Qs,92:Qs,93:Qs,94:Ai,95:[.09514,0,0,0,.525],96:Ai,97:ms,98:Ai,99:ms,100:Ai,101:ms,102:Ai,103:Oo,104:Ai,105:Ai,106:[.22222,.61111,0,0,.525],107:Ai,108:Ai,109:ms,110:ms,111:ms,112:Oo,113:Oo,114:ms,115:ms,116:[0,.55358,0,0,.525],117:ms,118:ms,119:ms,120:ms,121:Oo,122:ms,123:Qs,124:Qs,125:Qs,126:Ai,127:Ai,160:su,176:Ai,184:[.19445,0,0,0,.525],305:ms,567:Oo,711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:Ai,715:Ai,728:Ai,730:Ai,770:Ai,771:Ai,776:Ai,915:Ai,916:Ai,920:Ai,923:Ai,926:Ai,928:Ai,931:Ai,933:Ai,934:Ai,936:Ai,937:Ai,8216:Ai,8217:Ai,8242:Ai,9251:[.11111,.21944,0,0,.525]}},Vi=/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,Ko=10,to=.25,Ac=1.2,Fl=.431,Wc={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[Fl,Fl,Fl],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.5,.732,.925],num2:[.394,.384,.5],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[to,to,to],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04]},oc=[0,.5,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Al=5,Zc={"\xA0":" ","\u200B":" ",\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function _l(a,y){a===void 0&&(a=77);const b=ko[y][a];if(b)return{defaultMetrics:!1,depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]};if(a===11034)return{defaultMetrics:!0,depth:.2,height:.8,italic:0,skew:0,width:.8};const E=String.fromCodePoint(a);if(E in Zc)a=Zc[E].codePointAt(0);else if(Vi.test(E))return a=77,{defaultMetrics:!0,depth:.2,height:.9,italic:0,skew:0,width:1};return{defaultMetrics:!0,depth:.2,height:.7,italic:0,skew:0,width:.8}}var sc={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],longrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],longleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],longleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],longrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],longleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],longleftrightarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],longRightleftharpoons:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716],longLeftrightharpoons:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Il={widehat1:[1062,239,.24],widehat2:[2364,300,.3],widehat3:[2364,360,.36],widehat4:[2364,420,.42],widecheck1:[1062,239,.24],widecheck2:[2364,300,.3],widecheck3:[2364,360,.36],widecheck4:[2364,420,.42],widetilde1:[600,260,.26],widetilde2:[1033,286,.286],widetilde3:[2339,306,.306],widetilde4:[2340,312,.34],overarc:[1061,159,.3],underarc:[1061,159,.3]},pd={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,overarc:"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z",underarc:`m 529 160
|
|
|
c -179 0 -524 -115 -524 -115
|
|
|
c -5 -1 -9 -5 -9 -10
|
|
|
c 0 -1 1 -2 1 -3
|
|
|
l 4 -22
|
|
|
c 1 -5 5 -9 11 -9
|
|
|
h 2
|
|
|
s 338 93 512 92
|
|
|
c 174 0 513 -92 513 -92
|
|
|
h 2
|
|
|
c 5 0 9 4 11 9
|
|
|
l 5 22
|
|
|
c 1 6 -2 12 -8 13
|
|
|
c 0 0 -342 115 -520 115
|
|
|
z
|
|
|
`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,widetilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,widetilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,widetilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,widetilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`};function ku(a){if(Il[a]){const[we,Me,Je]=Il[a],mt=`<span class="stretchy" style="height:${Je}em"><svg width="100%" height="${Je}em" viewBox="0 0 ${we} ${Me}" preserveAspectRatio="none" ><path fill="currentcolor" d="${pd[a]}"></path></svg></span>`;return`<span style="display:inline-block;height:${Math.floor(100*Je/2)/100}em;min-width:0">${mt}</span>`}const[y,b,E,ee]=sc[a];let re,oe;const me=E/1e3;y.length===3?(re=["slice-1-of-3","slice-2-of-3","slice-3-of-3"],oe=["xMinYMin","xMidYMin","xMaxYMin"]):y.length===2?(re=["slice-1-of-2","slice-2-of-2"],oe=["xMinYMin","xMaxYMin"]):(re=["slice-1-of-1"],oe=[ee]);const ge=y.map((we,Me)=>`<span class="${re[Me]}" style=height:${me}em><svg width=400em height=${me}em viewBox="0 0 400000 ${E}" preserveAspectRatio="${oe[Me]} slice"><path fill="currentcolor" d="${pd[we]}"></path></svg></span>`).join("");return`<span style="display:inline-block;height:${me}em;min-width:${b}em;">${ge}</span>`}function md(a){return sc[a]?sc[a][2]/1e3:Il[a][2]}function Mc(a){const y=[];for(let b=0;b<a.length;b++){let E=a.charCodeAt(b);if(E===13&&a.charCodeAt(b+1)===10&&(E=10,b++),(E===13||E===12)&&(E=10),E===0&&(E=65533),E>=55296&&E<=56319){const ee=a.charCodeAt(b+1);if(ee>=56320&&ee<=57343){const re=E-55296,oe=ee-56320;E=ac(2,16)+re*ac(2,10)+oe,b++}}y.push(E)}return y}var lu=8205,Hu=[[lu,1],[65038,2],[127995,5],[129456,4],[917536,96]],Gl,Ku=[127462,127487];function uu(a){var y;if(Gl===void 0){Gl={};for(const b of Hu)for(let E=b[0];E<=b[0]+b[1]-1;E++)Gl[E]=!0}return(y=Gl[a])!=null?y:!1}function lc(a){return a>=Ku[0]&&a<=Ku[1]}function jc(a){if(/^[\u0020-\u00FF]*$/.test(a))return a;const y=[],b=Mc(a);let E=0;for(;E<b.length;){const ee=b[E++],re=b[E];if(re===lu){const oe=E-1;for(E+=2;b[E]===lu;)E+=2;y.push(String.fromCodePoint(...b.slice(oe,E-oe+1)))}else if(uu(re)){const oe=E-1;for(;uu(b[E]);)E+=b[E]===lu?2:1;y.push(String.fromCodePoint(...b.slice(oe,2*E-oe-1)))}else lc(ee)?(E+=1,y.push(String.fromCodePoint(...b.slice(E-2,2)))):y.push(String.fromCodePoint(ee))}return y}var Vc=class{constructor(a){this.obeyspaces=!1,this.pos=0,this.s=jc(a)}end(){return this.pos>=this.s.length}get(){return this.pos<this.s.length?this.s[this.pos++]:""}peek(){return this.s[this.pos]}match(a){const y=typeof this.s=="string"?a.exec(this.s.slice(this.pos)):a.exec(this.s.slice(this.pos).join(""));return y!=null&&y[0]?(this.pos+=y[0].length,y[0]):""}next(){if(this.end())return null;if(!this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]+/)||this.obeyspaces&&this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]/))return"<space>";const a=this.get();if(a==="\\"){if(!this.end()){let y=this.match(/^[a-zA-Z\*]+/);return y?this.match(/^[ \f\n\r\t\v\u00A0\u2028\u2029]*/):y=this.get(),"\\"+y}}else{if(a==="{")return"<{>";if(a==="}")return"<}>";if(a==="^"){if(this.peek()==="^"){this.get();const y=this.match(/^(\^(\^(\^(\^[\da-f])?[\da-f])?[\da-f])?[\da-f])?[\da-f]{2}/);if(y)return String.fromCodePoint(Number.parseInt(y.slice(y.lastIndexOf("^")+1),16))}return a}else if(a==="#"){if(!this.end()){let y=!1;if(/[\d?@]/.test(this.peek())&&(y=!0,this.pos+1<this.s.length)){const b=this.s[this.pos+1];y=/[^\dA-Za-z]/.test(b)}return y?"#"+this.get():"#"}}else if(a==="$")return this.peek()==="$"?(this.get(),"<$$>"):"<$>"}return a}};function cu(a,y){var b,E,ee,re;const oe=[];let me=a.next();if(me&&me!=="\\relax"){if(me==="\\noexpand")me=a.next(),me&&oe.push(me);else if(me==="\\obeyspaces")a.obeyspaces=!0;else if(me==="\\bgroup")oe.push("<{>");else if(me==="\\egroup")oe.push("<}>");else if(me==="\\string"){if(me=a.next(),me)if(me.startsWith("\\"))for(const ge of me)oe.push(ge==="\\"?"\\backslash":ge);else me==="<{>"?oe.push("\\{"):me==="<space>"?oe.push("~"):me==="<}>"&&oe.push("\\}")}else if(me==="\\csname"){for(;a.peek()==="<space>";)a.next();let ge="",we=!1,Me=[];do{if(Me.length===0)if(/^#[\d?@]$/.test(a.peek())){const Je=a.get().slice(1);Me=Ol((E=(b=y==null?void 0:y(Je))!=null?b:y==null?void 0:y("?"))!=null?E:"\\placeholder{}",y),me=Me[0]}else me=a.next(),Me=me?[me]:[];we=Me.length===0,!we&&me==="\\endcsname"&&(we=!0,Me.shift()),we||(we=me==="<$>"||me==="<$$>"||me==="<{>"||me==="<}>"||typeof me=="string"&&me.length>1&&me.startsWith("\\")),we||(ge+=Me.shift())}while(!we);ge&&oe.push("\\"+ge),oe.push(...Me)}else if(me!=="\\endcsname")if(me.length>1&&me.startsWith("#")){const ge=me.slice(1);oe.push(...Ol((re=(ee=y==null?void 0:y(ge))!=null?ee:y==null?void 0:y("?"))!=null?re:"\\placeholder{}",y))}else oe.push(me)}return oe}function Ol(a,y=null){const b=[];let E="";for(const oe of a.toString().split(/\r?\n/)){E&&b.push(E),E=" ";const me=oe.match(/((?:\\%)|[^%])*/);me!==null&&b.push(me[0])}const ee=new Vc(Ve(b.join(""))),re=[];do re.push(...cu(ee,y));while(!ee.end());return re}function wa(a){let y="";const b=[];for(const E of a)E&&(y&&/^[a-zA-Z\*]/.test(E)&&b.push(y),b.push(E),/^\\[a-zA-Z]+\*?[\"\'][^\ ]+$/.test(E)&&b.push(" "),y=/\\[a-zA-Z]+\*?$/.test(E)?" ":"");return b.join("")}function yo(a,...y){return console.assert(a.startsWith("\\")),y.length===0?a:wa([a,...y.map(b=>`{${b}}`)])}function du(a){return wa(a.map(y=>{var b;return(b={"<space>":" ","<$$>":"$$","<$>":"$","<{>":"{","<}>":"}"}[y])!=null?b:y}))}var _c=class Sf{constructor(y){Sf._registry[y]=this}static createAtom(y,b,E){return Sf._registry[y].createAtom(b,Ue(b,y),E)}static serialize(y,b){var E;if(!y||y.length===0)return"";if((E=b.skipStyles)!=null&&E){const ee=[];for(const re of Gc(y)){const oe=Sf._registry[re[0].mode];ee.push(...oe.serialize(re,b))}return wa(ee)}return wa(Wd(y,b))}static getFont(y,b,E){return Sf._registry[y].getFont(b,E)}};_c._registry={};var Es=_c;function Gc(a){const y=[];let b=[],E="NONE";for(const ee of a)ee.type!=="first"&&(ee.mode!==E?(b.length>0&&y.push(b),b=[ee],E=ee.mode):b.push(ee));return b.length>0&&y.push(b),y}function Wo(a,y){const b=[];let E=[],ee;for(const re of a)if(re.type!=="first"&&re.style){let oe;y==="variant"?(oe=re.style.variant,re.style.variantStyle&&re.style.variantStyle!=="up"&&(oe+="-"+re.style.variantStyle)):oe=re.style[y],oe===ee?E.push(re):(E.length>0&&b.push(E),E=[re],ee=oe)}return E.length>0&&b.push(E),b}function uc(a,y){var b;const{parent:E}=a[0],ee=E==null?void 0:E.computedStyle.color,re=[];for(const oe of Gc(a)){const me=y.defaultMode;for(const ge of Wo(oe,"color")){const we=ge[0].computedStyle,Me=Es._registry[ge[0].mode].serialize(ge,Ee(xe({},y),{defaultMode:me==="text"?"text":"math"}));!y.skipStyles&&we.color&&we.color!=="none"&&(!E||ee!==we.color)?re.push(yo("\\textcolor",(b=we.verbatimColor)!=null?b:we.color,wa(Me))):re.push(wa(Me))}}return re}function gd(a,y){const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.backgroundColor;return Wo(a,"backgroundColor").map(ee=>{var re;if(ee.length>0||ee[0].type!=="box"){const oe=ee[0].computedStyle;if(oe.backgroundColor&&oe.backgroundColor!=="none"&&(!b||E!==oe.backgroundColor))return yo("\\colorbox",(re=oe.verbatimBackgroundColor)!=null?re:oe.backgroundColor,wa(uc(ee,Ee(xe({},y),{defaultMode:"text"}))))}return wa(uc(ee,y))})}function Wd(a,y){if(a.length===0)return[];const{parent:b}=a[0],E=b==null?void 0:b.computedStyle.fontSize,ee=[];for(const re of Wo(a,"fontSize")){const oe=re[0].computedStyle.fontSize,me=gd(re,y);me&&(oe&&oe!=="auto"&&(!b||E!==oe)?ee.push(["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][oe],...me):ee.push(...me))}return ee}function cc(a){return a?{mord:"ord",mbin:"bin",mop:"op",mrel:"rel",mopen:"open",mclose:"close",mpunct:"punct",minner:"inner",spacing:"ignore",latex:"latex",composition:"inner",error:"inner",placeholder:"ord",supsub:"ignore"}[a]:void 0}function Wu(a){if(a.length===0)return"ord";const y=cc(a[0].type),b=cc(a[a.length-1].type);return y&&y===b?y:"ord"}function fu(a,y){if(typeof a=="string")return a;if(typeof a=="number"){console.assert(Number.isFinite(a));const b=Math.ceil(100*a)/100;return b===0?"0":b.toString()+(y!=null?y:"")}return""}var Vr=class Ep{constructor(y,b){var E,ee,re,oe,me;if(typeof y=="number"?this.value=String.fromCodePoint(y):typeof y=="string"?this.value=y:Be(y)?this.children=y.filter(we=>we!==null):y&&y instanceof Ep&&(this.children=[y]),this.children)for(const we of this.children)we.parent=this;this.type=(E=b==null?void 0:b.type)!=null?E:"ignore",this.isSelected=(b==null?void 0:b.isSelected)===!0,b!=null&&b.caret&&(this.caret=b.caret),this.classes=(ee=b==null?void 0:b.classes)!=null?ee:"",this.isTight=(re=b==null?void 0:b.isTight)!=null?re:!1,b!=null&&b.attributes&&(this.attributes=b.attributes);let ge=b==null?void 0:b.fontFamily;b!=null&&b.style&&this.value&&(ge=(me=Es.getFont((oe=b.mode)!=null?oe:"math",this,Ee(xe({variant:"normal"},b.style),{letterShapeStyle:b.letterShapeStyle})))!=null?me:void 0),ge||(ge="Main-Regular"),this._height=0,this._depth=0,this._width=0,this.hasExplicitWidth=!1,this.skew=0,this.italic=0,this.maxFontSize=0,this.scale=1,(b==null?void 0:b.maxFontSize)!==void 0&&(this.maxFontSize=b.maxFontSize),dc(this,ge)}set atomID(y){y===void 0||y.length===0||(this.id=y)}selected(y){if(this.isSelected!==y&&(this.isSelected=y,this.children))for(const b of this.children)b.selected(y)}setStyle(y,b,E){if(b===void 0)return;const ee=fu(b,E);ee.length>0&&(this.cssProperties||(this.cssProperties={}),this.cssProperties[y]=ee)}setTop(y){Number.isFinite(y)&&Math.abs(y)>.01&&(this.cssProperties||(this.cssProperties={}),this.cssProperties.top=fu(y,"em"),this.height-=y,this.depth+=y)}get left(){var y;return(y=this.cssProperties)!=null&&y["margin-left"]?Number.parseFloat(this.cssProperties["margin-left"]):0}set left(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-left"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-left"]=fu(y,"em")))}set right(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-right"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-right"]=fu(y,"em")))}set bottom(y){Number.isFinite(y)&&(y===0?this.cssProperties&&delete this.cssProperties["margin-bottom"]:(this.cssProperties||(this.cssProperties={}),this.cssProperties["margin-bottom"]=fu(y,"em")))}get width(){return this._width*this.scale}set width(y){this._width=y,this.hasExplicitWidth=!0}set softWidth(y){}get height(){return this._height*this.scale}set height(y){this._height=y}get depth(){return this._depth*this.scale}set depth(y){this._depth=y}wrap(y){const b=y.parent;if(!b)return this;y.isPhantom&&this.setStyle("opacity",0);const E=y.color;E&&E!==b.color&&this.setStyle("color",E);let ee=y.backgroundColor;this.isSelected&&(ee=jt(ee)),ee&&ee!==b.backgroundColor&&(this.setStyle("background-color",ee),this.setStyle("display","inline-block"));const re=y.scalingFactor;return this.scale=re,this.skew*=re,this.italic*=re,this}toMarkup(){var y,b,E,ee;let re=(y=this.value)!=null?y:"";if(this.children)for(const It of this.children)re+=It.toMarkup();let oe="";if(this.svgBody)oe=ku(this.svgBody);else if(this.svgOverlay){oe='<span style="',oe+="display: inline-block;",oe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`,oe+=`vertical-align:${Math.floor(100*this.depth)/100}em;`,oe+='">',oe+=re,oe+="</span>",oe+='<svg style="position:absolute;overflow:visible;',oe+=`height:${Math.floor(100*(this.height+this.depth))/100}em;`;const It=(b=this.cssProperties)==null?void 0:b.padding;It?(oe+=`top:${It};`,oe+=`left:${It};`,oe+=`width:calc(100% - 2 * ${It} );`):oe+="top:0;left:0;width:100%;",oe+="z-index:2;",oe+='"',this.svgStyle&&(oe+=this.svgStyle),oe+=` viewBox="0 0 ${Math.floor(100*this.width)/100} ${Math.floor(100*(this.height+this.depth))/100}"`,oe+=`>${this.svgOverlay}</svg>`}let me="";const ge=this.classes.split(" ");ge.push((E={latex:"ML__raw-latex",placeholder:"ML__placeholder",error:"ML__error"}[this.type])!=null?E:""),this.caret==="latex"&&ge.push("ML__latex-caret"),this.isSelected&&ge.push("ML__selected");const we=ge.length===1?ge[0]:ge.filter((It,_t,Wn)=>It.length>0&&Wn.indexOf(It)===_t).join(" ");if(we.length>0&&(me+=` class="${we}"`),this.id&&(me+=` data-atom-id=${this.id}`),this.cssId&&(me+=` id="${this.cssId.replace(/ /g,"-")}" `),this.attributes&&(me+=" "+Object.keys(this.attributes).map(It=>`${It}="${this.attributes[It]}"`).join(" ")),this.htmlData){const It=this.htmlData.split(",");for(const _t of It){const Wn=_t.match(/([^=]+)=(.+$)/);if(Wn){const Yr=Wn[1].trim().replace(/ /g,"-");Yr&&(me+=` data-${Yr}="${Wn[2]}" `)}else{const Yr=_t.trim().replace(/ /g,"-");Yr&&(me+=` data-${Yr} `)}}}const Me=(ee=this.cssProperties)!=null?ee:{};this.hasExplicitWidth&&Me.width===void 0&&(Me.width=`${Math.ceil(this._width*100)/100}em`);const Je=Object.keys(Me).map(It=>`${It}:${Me[It]}`);if(this.scale!==void 0&&this.scale!==1&&(re.length>0||oe.length>0)&&Je.push(`font-size: ${Math.ceil(this.scale*1e4)/100}%`),this.htmlStyle){const It=this.htmlStyle.split(";");let _t="";for(const Wn of It){const Yr=Wn.match(/([^=]+):(.+$)/);if(Yr){const zn=Yr[1].trim().replace(/ /g,"-");zn&&(_t+=`${zn}:${Yr[2]};`)}}_t&&(me+=` style="${_t}"`)}Je.length>0&&(me+=` style="${Je.join(";")}"`);let mt="";return me.length>0||oe.length>0?mt=`<span${me}>${re}${oe}</span>`:mt=re,this.caret==="text"?mt+='<span class="ML__text-caret"></span>':this.caret==="math"&&(mt+='<span class="ML__caret"></span>'),mt}tryCoalesceWith(y){if(this.svgBody||!this.value||y.svgBody||!y.value)return!1;const b=this.children&&this.children.length>0,E=y.children&&y.children.length>0;if(b||E)return!1;if(y.cssProperties||this.cssProperties){for(const ge of["border","border-left","border-right","border-right-width","left","margin","margin-left","margin-right","padding","position","width"])if(y.cssProperties&&ge in y.cssProperties||this.cssProperties&&ge in this.cssProperties)return!1}const ee=this.cssProperties?Object.keys(this.cssProperties).length:0,re=y.cssProperties?Object.keys(y.cssProperties).length:0;if(ee!==re)return!1;if(ee>0){for(const ge of Object.keys(this.cssProperties))if(this.cssProperties[ge]!==y.cssProperties[ge])return!1}const oe=this.classes.trim().replace(/\s+/g," ").split(" "),me=y.classes.trim().replace(/\s+/g," ").split(" ");if(oe.length!==me.length)return!1;oe.sort(),me.sort();for(const[ge,we]of oe.entries())if(we==="vertical-separator"||we!==me[ge])return!1;return this.value+=y.value,this.height=Math.max(this.height,y.height),this.depth=Math.max(this.depth,y.depth),this._width=this._width+y._width,this.maxFontSize=Math.max(this.maxFontSize,y.maxFontSize),this.italic=y.italic,!0}};function Uc(a){if(!a||a.length===0)return[];a[0].children=Uc(a[0].children);const y=[a[0]];for(let b=1;b<a.length;b++)y[y.length-1].tryCoalesceWith(a[b])||(a[b].children=Uc(a[b].children),y.push(a[b]));return y}function Zu(a){return a.children&&(a.children=Uc(a.children)),a}function kc(a,y){if(!a)return new Vr(null,y);const b=new Vr(null,{classes:"ML__strut",type:"ignore"});b.setStyle("height",Math.max(0,a.height),"em");const E=[b];if(a.depth!==0){const ee=new Vr(null,{classes:"ML__strut--bottom",type:"ignore"});ee.setStyle("height",a.height+a.depth,"em"),ee.setStyle("vertical-align",-a.depth,"em"),E.push(ee)}return E.push(a),new Vr(E,Ee(xe({},y),{type:"lift"}))}function Ml(a){const y=md(a)/2,b=new Vr(null,{maxFontSize:0});return b.height=y+.166,b.depth=y-.166,b.svgBody=a,b}function dc(a,y){var b;if(a.type==="latex"){a.height=.9,a.depth=.2,a._width=1;return}if(a.value){a.height=-1/0,a.depth=-1/0,a._width=0,a.skew=-1/0,a.italic=-1/0;for(let E=0;E<a.value.length;E++){const ee=_l(a.value.codePointAt(E),y);a.height=Math.max(a.height,ee.height),a.depth=Math.max(a.depth,ee.depth),a._width+=ee.width,a.skew=ee.skew,a.italic=ee.italic}return}if(a.children&&a.children.length>0){let E=-1/0,ee=-1/0,re=0;for(const oe of a.children)oe.height>E&&(E=oe.height),oe.depth>ee&&(ee=oe.depth),re=Math.max(re,(b=oe.maxFontSize)!=null?b:0);a.height=E,a.depth=ee,a._width=a.children.reduce((oe,me)=>oe+me.width,0),a.maxFontSize=re}}function fc(a){if("individualShift"in a){const y=a.individualShift;let b=y[0];const E=[b],ee=-b.shift-b.box.depth;let re=ee;for(let oe=1;oe<y.length;oe++){const me=y[oe],ge=-me.shift-re-me.box.depth,we=ge-(b.box.height+b.box.depth);re=re+ge,E.push(we),E.push(me),b=me}return[E,ee]}if("top"in a){let y=a.top;for(const b of a.children)y-=typeof b=="number"?b:b.box.height+b.box.depth;return[a.children,y]}else{if("bottom"in a)return[a.children,-a.bottom];if("firstBaseline"in a){const y=a.firstBaseline[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.firstBaseline,-y.box.depth]}else if("shift"in a){const y=a.children[0];if(typeof y=="number")throw new Error("First child must be an element.");return[a.children,-y.box.depth-a.shift]}}return[null,0]}function hc(a){var y;const[b,E]=fc(a);if(!b)return[[],0,0];const ee=new Vr(null,{classes:"pstrut"});let re=0;for(const _t of b)if(typeof _t!="number"){const Wn=_t.box;re=Math.max(re,Wn.maxFontSize,Wn.height)}re+=2,ee.height=re,ee.setStyle("height",re,"em");const oe=[];let me=E,ge=E,we=E,Me=0;for(const _t of b){if(typeof _t=="number")we+=_t;else{const Wn=_t.box,Yr=(y=_t.classes)!=null?y:[],zn=new Vr([ee,Wn],{classes:Yr.join(" "),style:_t.style});Wn.setStyle("height",Wn.height+Wn.depth,"em"),Wn.setStyle("display","inline-block"),zn.setStyle("top",-re-we-Wn.depth,"em"),_t.marginLeft&&zn.setStyle("margin-left",_t.marginLeft,"em"),_t.marginRight&&zn.setStyle("margin-right",_t.marginRight,"em"),oe.push(zn),we+=Wn.height+Wn.depth,Me=Math.max(Me,zn.width)}me=Math.min(me,we),ge=Math.max(ge,we)}oe.forEach(_t=>{_t.softWidth=Me});const Je=new Vr(oe,{classes:"vlist"});if(Je.softWidth=Me,Je.height=ge,Je.setStyle("height",ge,"em"),me>=0)return[[new Vr(Je,{classes:"vlist-r"})],ge,-me];const mt=new Vr(new Vr(null),{classes:"vlist"});mt.height=-me,mt.setStyle("height",-me,"em");const It=new Vr(8203,{classes:"vlist-s",maxFontSize:0});return It.softWidth=0,It.height=0,It.depth=0,[[new Vr([Je,It],{classes:"vlist-r"}),new Vr(mt,{classes:"vlist-r"})],ge,-me]}var oo=class extends Vr{constructor(a,y){var b;const[E,ee,re]=hc(a);super(E.length===1?E[0]:E,{type:y==null?void 0:y.type,classes:((b=y==null?void 0:y.classes)!=null?b:"")+" vlist-t"+(E.length===2?" vlist-t2":"")}),this.height=ee,this.depth=re,this.softWidth=E.reduce((oe,me)=>Math.max(oe,me.width),0)}};function Zd(a,y){var b,E,ee,re,oe;const me=a.metrics,ge=new Vr(y.base),we=(b=y.baseShift)!=null?b:0,Me=(E=y.slant)!=null?E:0;let Je=0,mt=0;y.above&&(Je=(ee=y.aboveShift)!=null?ee:Math.max(me.bigOpSpacing1,me.bigOpSpacing3-y.above.depth)),y.below&&(mt=(re=y.belowShift)!=null?re:Math.max(me.bigOpSpacing2,me.bigOpSpacing4-y.below.height));let It=null;if(y.below&&y.above){const _t=me.bigOpSpacing5+y.below.height+y.below.depth+mt+ge.depth+we;It=new oo({bottom:_t,children:[me.bigOpSpacing5,{box:y.below,marginLeft:-Me,classes:["ML__center"]},mt,{box:ge,classes:["ML__center"]},Je,{box:y.above,marginLeft:Me,classes:["ML__center"]},me.bigOpSpacing5]}).wrap(a)}else if(y.below&&!y.above)It=new oo({top:ge.height-we,children:[me.bigOpSpacing5,{box:y.below,marginLeft:-Me,classes:["ML__center"]},mt,{box:ge,classes:["ML__center"]}]}).wrap(a);else if(!y.below&&y.above){const _t=ge.depth+we;It=new oo({bottom:_t,children:[{box:ge,classes:["ML__center"]},Je,{box:y.above,marginLeft:Me,classes:["ML__center"]},me.bigOpSpacing5]}).wrap(a)}else{const _t=ge.depth+we;It=new oo({bottom:_t,children:[{box:ge},me.bigOpSpacing5]}).wrap(a)}return new Vr(It,{type:(oe=y.type)!=null?oe:"op"})}var Dc=7,Tl=6,pc=5,Ul=4,Du=3,Ps=2,al=1,gs=0,Rl=class{constructor(a,y,b){this.id=a,this.sizeDelta=y,this.cramped=b;const E={"-4":2,"-3":1,0:0}[y];this.metrics=Object.keys(Wc).reduce((ee,re)=>Ee(xe({},ee),{[re]:Wc[re][E]}),{})}getFontSize(a){return Math.max(1,a+this.sizeDelta)}get sup(){return Nl[[gs,al,gs,al,Ps,Du,Ps,Du][this.id]]}get sub(){return Nl[[gs,gs,gs,gs,Ps,Ps,Ps,Ps][this.id]]}get fracNum(){return Nl[[gs,al,gs,al,Ps,Du,Ul,pc][this.id]]}get fracDen(){return Nl[[gs,gs,gs,gs,Ps,Ps,Ul,Ul][this.id]]}get cramp(){return Nl[[gs,gs,Ps,Ps,Ul,Ul,Tl,Tl][this.id]]}get isTight(){return this.sizeDelta<0}},hu={7:new Rl(Dc,0,!1),6:new Rl(Tl,0,!0),5:new Rl(pc,0,!1),4:new Rl(Ul,0,!0),3:new Rl(Du,-3,!1),2:new Rl(Ps,-3,!0),1:new Rl(al,-4,!1),0:new Rl(gs,-4,!0)},Nl=Ee(xe({},hu),{displaystyle:hu[Dc],textstyle:hu[pc],scriptstyle:hu[Du],scriptscriptstyle:hu[al]});function Bu(a,y){var b;if(!a)return 0;const E={pt:1,mm:7227/2540,cm:7227/254,ex:35271/8192,px:3/4,em:Ko,bp:803/800,dd:1238/1157,pc:12,in:72.27,mu:10/18}[(b=a.unit)!=null?b:"pt"];if(Number.isFinite(y)){const ee=ac(10,y);return Math.round(a.dimension/Ko*E*ee)/ee}return a.dimension*E}function Bc(a,y){if(a===null)return 0;const b=Bu(a)/Ko;if(Number.isFinite(y)){const E=ac(10,y);return Math.round(b*E)/E}return b}function Lc(a){var y;return`${a.dimension}${(y=a.unit)!=null?y:"pt"}`}function vd(a){let y=Lc(a.glue);return a.grow&&a.grow.dimension!==0&&(y+=` plus ${Lc(a.grow)}`),a.shrink&&a.shrink.dimension!==0&&(y+=` minus ${Lc(a.shrink)}`),y}function Yo(a){var y,b;if(a==null)return null;let E="";if("dimension"in a&&(E=`${a.dimension}${(y=a.unit)!=null?y:"pt"}`),"glue"in a&&(E=vd(a)),"number"in a)if(!("base"in a)||a.base==="decimal")E=Number(a.number).toString();else if(a.base==="alpha")E=`\`${String.fromCodePoint(a.number)}`;else{const ee=Math.round(a.number)>>>0;a.base==="hexadecimal"?(E=Number(ee).toString(16).toUpperCase(),ee<=255?E=E.padStart(2,"0"):ee<=65535?E=E.padStart(4,"0"):ee<=16777215?E=E.padStart(6,"0"):E=E.padStart(8,"0"),E=`"${E}`):a.base==="octal"&&(E=Number(ee).toString(8),ee<=63?E=E.padStart(2,"0"):ee<=30583?E=E.padStart(4,"0"):E=E.padStart(8,"0"),E=`'${E}`)}return"register"in a&&("factor"in a&&(a.factor===-1?E="-":a.factor!==1&&(E=Number(a.factor).toString())),"global"in a&&a.global&&(E+="\\global"),E+=`\\${a.register}`),"string"in a&&(E=a.string),(b=a.relax)!=null&&b&&(E+="\\relax"),E}function zl(a,y){return a==null?null:"number"in a?Ee(xe({},a),{number:a.number*y}):"register"in a?"factor"in a&&a.factor?Ee(xe({},a),{factor:a.factor*y}):Ee(xe({},a),{factor:y}):"dimension"in a?Ee(xe({},a),{dimension:a.dimension*y}):"glue"in a?a.shrink&&a.grow?{glue:zl(a.glue,y),shrink:zl(a.shrink,y),grow:zl(a.grow,y)}:a.shrink?{glue:zl(a.glue,y),shrink:zl(a.shrink,y)}:a.grow?{glue:zl(a.glue,y),grow:zl(a.grow,y)}:{glue:zl(a.glue,y)}:null}var jd={"p@":{dimension:1},"z@":{dimension:0},maxdimen:{dimension:16383.99999},hfuzz:{dimension:.1},vfuzz:{dimension:.1},overfullrule:{dimension:5},hsize:{dimension:6.5,unit:"in"},vsize:{dimension:8.9,unit:"in"},parindent:{dimension:20},maxdepth:{dimension:4},splitmaxdepth:{register:"maxdimen"},boxmaxdepth:{register:"maxdimen"},delimitershortfall:{dimension:5},nulldelimiterspace:{dimension:1.2,unit:"pt"},scriptspace:{dimension:.5},topskip:{dimension:10},splittopskip:{dimension:10},normalbaselineskip:{dimension:12},normallineskip:{dimension:1},normallineskiplimit:{dimension:0},jot:{dimension:3},doublerulesep:{dimension:2},arrayrulewidth:{dimension:.4},arraycolsep:{dimension:5},fboxsep:{dimension:3},fboxrule:{dimension:.4},"z@skip":{glue:{dimension:0},shrink:{dimension:0},grow:{dimension:0}},hideskip:{glue:{dimension:-1e3},grow:{dimension:1,unit:"fill"}},"@flushglue":{glue:{dimension:0},grow:{dimension:1,unit:"fill"}},parskip:{glue:{dimension:0},grow:{dimension:1}},abovedisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},abovedisplayshortskip:{glue:{dimension:0},grow:{dimension:3}},belowdisplayskip:{glue:{dimension:12},grow:{dimension:3},shrink:{dimension:9}},belowdisplayshortskip:{glue:{dimension:7},grow:{dimension:3},shrink:{dimension:4}},parfillskip:{glue:{dimension:0},grow:{dimension:1,unit:"fil"}},thinmuskip:{glue:{dimension:3,unit:"mu"}},medmuskip:{glue:{dimension:4,unit:"mu"},grow:{dimension:2,unit:"mu"},shrink:{dimension:4,unit:"mu"}},thickmuskip:{glue:{dimension:5,unit:"mu"},grow:{dimension:5,unit:"mu"}},smallskipamount:{glue:{dimension:3},grow:{dimension:1},shrink:{dimension:1}},medskipamount:{glue:{dimension:6},grow:{dimension:2},shrink:{dimension:3}},bigskipamount:{glue:{dimension:12},grow:{dimension:2},shrink:{dimension:4}},pretolerance:100,tolerance:200,hbadness:1e3,vbadness:1e3,linepenalty:10,hyphenpenalty:50,exhyphenpenalty:50,binoppenalty:700,relpenalty:500,clubpenalty:150,widowpenalty:150,displaywidowpenalty:50,brokenpenalty:100,predisplaypenalty:1e4,doublehyphendemerits:1e4,finalhyphendemerits:5e3,adjdemerits:1e4,tracinglostchars:1,uchyph:1,delimiterfactor:901,defaulthyphenchar:"\\-",defaultskewchar:-1,newlinechar:-1,showboxbreadth:5,showboxdepth:3,errorcontextlines:5,interdisplaylinepenalty:100,interfootnotelinepenalty:100,baselineSkip:1.2,arraystretch:1,month:new Date().getMonth()+1,day:new Date().getDate(),year:new Date().getFullYear()};function pu(){return xe({},jd)}function Pc(){return{registers:pu(),smartFence:!1,renderPlaceholder:void 0,placeholderSymbol:"\u25A2",letterShapeStyle:st.locale.startsWith("fr")?"french":"tex",minFontScale:0,colorMap:pt,backgroundColorMap:at,getMacro:a=>nn(a,Gn())}}var La=class Ap{constructor(y,b){var E,ee,re,oe,me,ge,we,Me,Je,mt,It,_t,Wn,Yr,zn;let hr;y!=null&&y.parent?(this.parent=y.parent,hr=y.parent,this.registers={}):(hr=xe(xe({},Pc()),(E=y==null?void 0:y.from)!=null?E:{}),this.registers=hr.registers),hr.atomIdsSettings&&(this.atomIdsSettings=xe({},hr.atomIdsSettings)),this.renderPlaceholder=hr.renderPlaceholder,this.isPhantom=(oe=(re=y==null?void 0:y.isPhantom)!=null?re:(ee=this.parent)==null?void 0:ee.isPhantom)!=null?oe:!1,this.letterShapeStyle=hr.letterShapeStyle,this.minFontScale=hr.minFontScale,b!=null&&b.color&&b.color!=="none"?this.color=b.color:this.color=(ge=(me=this.parent)==null?void 0:me.color)!=null?ge:"",b!=null&&b.backgroundColor&&b.backgroundColor!=="none"?this.backgroundColor=b.backgroundColor:this.backgroundColor=(Me=(we=this.parent)==null?void 0:we.backgroundColor)!=null?Me:"",b!=null&&b.fontSize&&b.fontSize!=="auto"&&b.fontSize!==((Je=this.parent)==null?void 0:Je.size)?this.size=b.fontSize:this.size=(It=(mt=this.parent)==null?void 0:mt.size)!=null?It:Al;let ei=(Wn=(_t=this.parent)==null?void 0:_t.mathstyle)!=null?Wn:Nl.displaystyle;if(typeof(y==null?void 0:y.mathstyle)=="string"){if(hr instanceof Ap)switch(y.mathstyle){case"cramp":ei=ei.cramp;break;case"superscript":ei=ei.sup;break;case"subscript":ei=ei.sub;break;case"numerator":ei=ei.fracNum;break;case"denominator":ei=ei.fracDen;break}switch(y.mathstyle){case"textstyle":ei=Nl.textstyle;break;case"displaystyle":ei=Nl.displaystyle;break;case"scriptstyle":ei=Nl.scriptstyle;break;case"scriptscriptstyle":ei=Nl.scriptscriptstyle;break;case"":case"auto":break}}this.mathstyle=ei,this.smartFence=hr.smartFence,this.placeholderSymbol=hr.placeholderSymbol,this.colorMap=(Yr=hr.colorMap)!=null?Yr:Ar=>Ar,this.backgroundColorMap=(zn=hr.backgroundColorMap)!=null?zn:Ar=>Ar,this.getMacro=hr.getMacro,console.assert(this.parent!==void 0||this.registers!==void 0)}makeID(){if(!this.atomIdsSettings)return;if(this.atomIdsSettings.overrideID)return this.atomIdsSettings.overrideID;if(typeof this.atomIdsSettings.seed!="number")return`${Date.now().toString(36).slice(-2)}${Math.floor(Math.random()*1e5).toString(36)}`;const y=this.atomIdsSettings.seed.toString(36);return this.atomIdsSettings.seed+=1,y}scale(y){return y*this.effectiveFontSize}get scalingFactor(){return this.parent?this.effectiveFontSize/this.parent.effectiveFontSize:1}get isDisplayStyle(){return this.mathstyle.id===Dc||this.mathstyle.id===Tl}get isCramped(){return this.mathstyle.cramped}get isTight(){return this.mathstyle.isTight}get metrics(){return this.mathstyle.metrics}get effectiveFontSize(){return Math.max(oc[Math.max(1,this.size+this.mathstyle.sizeDelta)],this.minFontScale)}getRegister(y){var b;if((b=this.registers)!=null&&b[y])return this.registers[y];if(this.parent)return this.parent.getRegister(y)}getRegisterAsNumber(y){const b=this.getRegister(y);if(typeof b=="number")return b;if(typeof b=="string")return Number(b)}getRegisterAsGlue(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E:typeof E=="object"&&"dimension"in E?{glue:{dimension:E.dimension}}:typeof E=="number"?{glue:{dimension:E}}:void 0}if(this.parent)return this.parent.getRegisterAsGlue(y)}getRegisterAsEm(y,b){return Bc(this.getRegisterAsDimension(y),b)}getRegisterAsDimension(y){var b;if((b=this.registers)!=null&&b[y]){const E=this.registers[y];return typeof E=="object"&&"glue"in E?E.glue:typeof E=="object"&&"dimension"in E?E:typeof E=="number"?{dimension:E}:void 0}if(this.parent)return this.parent.getRegisterAsDimension(y)}setRegister(y,b){if(b===void 0){delete this.registers[y];return}this.registers[y]=b}evaluate(y){if(!y||!("register"in y))return y;let b=this;if("global"in y&&y.global)for(;b.parent;)b=b.parent;let E=1;"factor"in y&&y.factor!==1&&y.factor!==void 0&&(E=y.factor);const ee=b.getRegister(y.register);if(ee===void 0)return;if(typeof ee=="string")return{string:Number(ee).toString()+ee};if(typeof ee=="number")return{number:E*ee};const re=b.evaluate(ee);if(re!==void 0)return"string"in re?{string:Number(ee).toString()+re.string}:"number"in re?{number:E*re.number}:"dimension"in re?Ee(xe({},re),{dimension:E*re.dimension}):"glue"in re?Ee(xe({},re),{glue:Ee(xe({},re.glue),{dimension:E*re.glue.dimension}),shrink:re.shrink?Ee(xe({},re.shrink),{dimension:E*re.shrink.dimension}):void 0,grow:re.grow?Ee(xe({},re.grow),{dimension:E*re.grow.dimension}):void 0}):y}toDimension(y){const b=this.evaluate(y);return b===void 0?null:"dimension"in b?b:"glue"in b?b.glue:"number"in b?{dimension:b.number}:null}toEm(y,b){if(y===null)return 0;const E=this.toDimension(y);return E===null?0:Bu(E,b)/Ko}toNumber(y){if(y===null)return null;const b=this.evaluate(y);return b===void 0?null:"number"in b?b.number:"dimension"in b?b.dimension:"glue"in b?b.glue.dimension:"string"in b?Number(b.string):null}toColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.colorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}toBackgroundColor(y){var b,E;if(y===null)return null;const ee=this.evaluate(y);return ee===void 0?null:"string"in ee?(E=(b=this.backgroundColorMap)==null?void 0:b.call(this,ee.string))!=null?E:ee.string:null}},mu=["body","above","below","superscript","subscript"];function Ns(a){return typeof a=="string"&&mu.includes(a)}function ju(a){return a!==void 0&&Array.isArray(a)&&a.length===2}var ar=class Cc{constructor(y){var b,E,ee,re,oe,me;this.type=y.type,typeof y.value=="string"&&(this.value=y.value),this.command=(E=(b=y.command)!=null?b:this.value)!=null?E:"",this.mode=(ee=y.mode)!=null?ee:"math",y.isFunction&&(this.isFunction=!0),y.limits&&(this.subsupPlacement=y.limits),this.style=xe({},y.style),this.displayContainsHighlight=(re=y.displayContainsHighlight)!=null?re:!1,this.captureSelection=(oe=y.captureSelection)!=null?oe:!1,this.skipBoundary=(me=y.skipBoundary)!=null?me:!1,y.verbatimLatex!==void 0&&y.verbatimLatex!==null&&(this.verbatimLatex=y.verbatimLatex),y.args&&(this.args=y.args),y.body&&(this.body=y.body),this._changeCounter=0}static createBox(y,b,E){var ee;if(!b)return null;const re=Yc(b),oe=[];for(const ge of re){const we=ge[0].style,Me=Qc(y,ge,{style:{color:we.color,backgroundColor:we.backgroundColor,fontSize:we.fontSize}});Me&&oe.push(Me)}if(oe.length===0)return null;const me=((ee=E==null?void 0:E.classes)!=null?ee:"").trim();return oe.length===1&&!me&&!(E!=null&&E.type)?oe[0].wrap(y):new Vr(oe,{classes:me,type:E==null?void 0:E.type}).wrap(y)}static serialize(y,b){return Es.serialize(y,b)}static commonAncestor(y,b){if(y===b||y.parent===b.parent)return y.parent;const E=new WeakSet;let{parent:ee}=y;for(;ee;)E.add(ee),ee=ee.parent;for(ee=b.parent;ee;){if(E.has(ee))return ee;ee=ee.parent}console.assert(!!ee)}static fromJson(y){return typeof y=="string"?new Cc({type:"mord",value:y,mode:"math"}):new Cc(y)}get latexMode(){return this.mode==="math"?"math":"text"}toJson(){const y={};if(this.type&&(y.type=this.type),this.mode!=="math"&&(y.mode=this.mode),this.command&&this.command!==this.value&&(y.command=this.command),this.value!==void 0&&(y.value=this.value),this.style&&Object.keys(this.style).length>0&&(y.style=xe({},this.style)),this.verbatimLatex!==void 0&&(y.verbatimLatex=this.verbatimLatex),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.explicitSubsupPlacement&&(y.explicitSubsupPlacement=!0),this.isFunction&&(y.isFunction=!0),this.displayContainsHighlight&&(y.displayContainsHighlight=!0),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.skipBoundary&&(y.skipBoundary=!0),this.captureSelection&&(y.captureSelection=!0),this.args&&(y.args=Jc(this.args)),this._branches)for(const b of Object.keys(this._branches))this._branches[b]&&(y[b]=this._branches[b].filter(E=>E.type!=="first").map(E=>E.toJson()));return y.type==="mord"&&Object.keys(y).length===2&&"value"in y?y.value:y}get changeCounter(){return this.parent?this.parent.changeCounter:this._changeCounter}set isDirty(y){if(y){this.parent||this._changeCounter++,"verbatimLatex"in this&&(this.verbatimLatex=void 0),this._children=void 0;let{parent:b}=this;for(;b;)b.parent||b._changeCounter++,"verbatimLatex"in b&&(b.verbatimLatex=void 0),b._children=void 0,b=b.parent}}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):this.body&&this.command?wa([yo(this.command,this.bodyToLatex(y)),this.supsubToLatex(y)]):this.body?wa([this.bodyToLatex(y),this.supsubToLatex(y)]):!this.value||this.value==="\u200B"?"":this.command}bodyToLatex(y){var b;return Es.serialize(this.body,Ee(xe({},y),{defaultMode:(b=y.defaultMode)!=null?b:this.latexMode}))}aboveToLatex(y){return Es.serialize(this.above,y)}belowToLatex(y){return Es.serialize(this.below,y)}supsubToLatex(y){let b="";if(y=Ee(xe({},y),{defaultMode:"math"}),this.branch("subscript")!==void 0){const E=Es.serialize(this.subscript,y);E.length===0?b+="_{}":E.length===1?/^[0-9]$/.test(E)?b+=`_${E}`:b+=`_{${E}}`:b+=`_{${E}}`}if(this.branch("superscript")!==void 0){const E=Es.serialize(this.superscript,y);E.length===0?b+="^{}":E.length===1?E==="\u2032"?b+="^\\prime ":E==="\u2033"?b+="^\\doubleprime ":/^[0-9]$/.test(E)?b+=`^${E}`:b+=`^{${E}}`:b+=`^{${E}}`}return b}get treeDepth(){let y=1,b=this.parent;for(;b;)b=b.parent,y+=1;return y}get inCaptureSelection(){let y=this;for(;y;){if(y.captureSelection)return!0;y=y.parent}return!1}get parentPrompt(){let y=this.parent;for(;y;){if(y.type==="prompt"&&!y.captureSelection)return y;y=y.parent}return null}branch(y){if(Ns(y)&&this._branches)return this._branches[y]}get branches(){if(!this._branches)return[];const y=[];for(const b of mu)this._branches[b]&&y.push(b);return y}createBranch(y){return console.assert(Ns(y)),Ns(y)?(this._branches?this._branches[y]||(this._branches[y]=[this.makeFirstAtom(y)]):this._branches={[y]:[this.makeFirstAtom(y)]},this.isDirty=!0,this._branches[y]):[]}get row(){return ju(this.parentBranch)?this.parentBranch[0]:-1}get col(){return ju(this.parentBranch)?this.parentBranch[1]:-1}get body(){var y;return(y=this._branches)==null?void 0:y.body}set body(y){this.setChildren(y,"body")}get superscript(){var y;return(y=this._branches)==null?void 0:y.superscript}set superscript(y){this.setChildren(y,"superscript")}get subscript(){var y;return(y=this._branches)==null?void 0:y.subscript}set subscript(y){this.setChildren(y,"subscript")}get above(){var y;return(y=this._branches)==null?void 0:y.above}set above(y){this.setChildren(y,"above")}get below(){var y;return(y=this._branches)==null?void 0:y.below}set below(y){this.setChildren(y,"below")}get computedStyle(){var y,b;const E=typeof this.style.verbatimColor=="string",ee=typeof this.style.verbatimBackgroundColor=="string",re=xe(xe({},(b=(y=this.parent)==null?void 0:y.computedStyle)!=null?b:{}),this.style);return delete re.variant,delete re.variantStyle,ee||delete re.verbatimBackgroundColor,E||delete re.verbatimColor,re}applyStyle(y){this.isDirty=!0,this.style=xe(xe({},this.style),y),this.style.fontFamily==="none"&&delete this.style.fontFamily,this.style.fontShape==="auto"&&delete this.style.fontShape,this.style.fontSeries==="auto"&&delete this.style.fontSeries,this.style.color==="none"&&(delete this.style.color,delete this.style.verbatimColor),this.style.backgroundColor==="none"&&(delete this.style.backgroundColor,delete this.style.verbatimBackgroundColor),this.style.fontSize==="auto"&&delete this.style.fontSize;for(const b of this.children)b.applyStyle(y)}getInitialBaseElement(){var y,b,E;return this.hasEmptyBranch("body")?this:(console.assert(((y=this.body)==null?void 0:y[0].type)==="first"),(E=(b=this.body[1])==null?void 0:b.getInitialBaseElement())!=null?E:this)}getFinalBaseElement(){return this.hasEmptyBranch("body")?this:this.body[this.body.length-1].getFinalBaseElement()}isCharacterBox(){return this.type==="leftright"||this.type==="genfrac"||this.type==="subsup"||this.type==="delim"||this.type==="array"||this.type==="surd"?!1:this.getFinalBaseElement().type==="mord"}hasEmptyBranch(y){const b=this.branch(y);return b?(console.assert(b.length>0),console.assert(b[0].type==="first"),b.length===1):!0}setChildren(y,b){var E;if(!y||(console.assert(Ns(b)),!Ns(b)))return;console.assert(((E=y[0])==null?void 0:E.type)!=="first");const ee=[this.makeFirstAtom(b),...y];this._branches?this._branches[b]=ee:this._branches={[b]:ee};for(const re of y)re.parent=this,re.parentBranch=b;this.isDirty=!0}makeFirstAtom(y){const b=new Cc({type:"first",mode:this.mode});return b.parent=this,b.parentBranch=y,b}addChild(y,b){console.assert(y.type!=="first"),this.createBranch(b).push(y),this.isDirty=!0,y.parent=this,y.parentBranch=b}addChildBefore(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b),0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildAfter(y,b){console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,y),this.isDirty=!0,y.parent=this,y.parentBranch=b.parentBranch}addChildren(y,b){const E=this.createBranch(b);for(const ee of y)ee.parent=this,ee.parentBranch=b,E.push(ee);this.isDirty=!0}addChildrenAfter(y,b){console.assert(y.length===0||y[0].type!=="first"),console.assert(b.parentBranch!==void 0);const E=this.createBranch(b.parentBranch);E.splice(E.indexOf(b)+1,0,...y),this.isDirty=!0;for(const ee of y)ee.parent=this,ee.parentBranch=b.parentBranch;return y[y.length-1]}removeBranch(y){const b=this.branch(y);if(Ns(y)&&(this._branches[y]=void 0),!b)return[];for(const E of b)E.parent=void 0,E.parentBranch=void 0;return console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}removeChild(y){if(console.assert(y.parent===this),y.type==="first")return;const b=this.branch(y.parentBranch),E=b.indexOf(y);console.assert(E>=0),b.splice(E,1),this.isDirty=!0,y.parent=void 0,y.parentBranch=void 0}get siblings(){return this.parent?this.parent.branch(this.parentBranch):[]}get firstSibling(){return this.siblings[0]}get lastSibling(){const{siblings:y}=this;return y[y.length-1]}get isFirstSibling(){return this===this.firstSibling}get isLastSibling(){return this===this.lastSibling}get hasNoSiblings(){return this.siblings.length===1}get leftSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)-1]}get rightSibling(){console.assert(this.parent!==void 0);const y=this.parent.branch(this.parentBranch);return y[y.indexOf(this)+1]}get hasChildren(){return!!(this._branches&&this.children.length>0)}get firstChild(){return console.assert(this.hasChildren),this.children[0]}get lastChild(){console.assert(this.hasChildren);const{children:y}=this;return y[y.length-1]}get children(){if(this._children)return this._children;if(!this._branches)return[];const y=[];for(const b of mu)if(this._branches[b])for(const E of this._branches[b])y.push(...E.children),y.push(E);return this._children=y,y}render(y){if(this.type==="first"&&!y.atomIdsSettings)return null;const b=Ue(this.command,this.mode);if(b!=null&&b.render)return b.render(this,y);const E=new La({parent:y},this.style);let ee=this.createBox(E,{classes:this.parent?"":"ML__base"});return ee?(!this.subsupPlacement&&(this.superscript||this.subscript)&&(ee=this.attachSupsub(E,{base:ee})),ee.wrap(E)):null}attachSupsub(y,b){var E;const ee=b.base,re=this.superscript,oe=this.subscript;if(!re&&!oe)return ee;let me=null,ge=null;const we=(E=b.isCharacterBox)!=null?E:this.isCharacterBox();let Me=0;if(re){const Wn=new La({parent:y,mathstyle:"superscript"});me=Cc.createBox(Wn,re),we||(Me=ee.height-y.metrics.supDrop*Wn.scalingFactor)}let Je=0;if(oe){const Wn=new La({parent:y,mathstyle:"subscript"});ge=Cc.createBox(Wn,oe),we||(Je=ee.depth+y.metrics.subDrop*Wn.scalingFactor)}let mt;y.isDisplayStyle?mt=y.metrics.sup1:y.isCramped?mt=y.metrics.sup3:mt=y.metrics.sup2;const It=.5/Ko/y.scalingFactor;let _t=null;if(ge&&me){Me=Math.max(Me,mt,me.depth+.25*y.metrics.xHeight),Je=Math.max(Je,y.metrics.sub2);const Wn=y.metrics.defaultRuleThickness;if(Me-me.depth-(ge.height-Je)<4*Wn){Je=4*Wn-(Me-me.depth)+ge.height;const zn=.8*y.metrics.xHeight-(Me-me.depth);zn>0&&(Me+=zn,Je-=zn)}const Yr=this.isExtensibleSymbol&&ee.italic?-ee.italic:0;_t=new oo({individualShift:[{box:ge,shift:Je,marginLeft:Yr},{box:me,shift:-Me}]}).wrap(y)}else ge&&!me?(Je=Math.max(Je,y.metrics.sub1,ge.height-.8*Fl),_t=new oo({shift:Je,children:[{box:ge,marginRight:It,marginLeft:this.isCharacterBox()?-ee.italic:0}]})):!ge&&me&&(Me=Math.max(Me,mt,me.depth+.25*Fl),_t=new oo({shift:-Me,children:[{box:me,marginRight:It}]}));return new Vr([ee,new Vr(_t,{caret:this.caret,isSelected:this.isSelected,classes:"msubsup"})],{type:b.type})}attachLimits(y,b){const E=this.superscript?Cc.createBox(new La({parent:y,mathstyle:"superscript"},this.style),this.superscript):null,ee=this.subscript?Cc.createBox(new La({parent:y,mathstyle:"subscript"},this.style),this.subscript):null;return!E&&!ee?b.base.wrap(y):Zd(y,Ee(xe({},b),{above:E,below:ee}))}bind(y,b){if(!b||y.isPhantom||this.value==="\u200B")return b;let E=this.parent;for(;E&&!E.captureSelection;)E=E.parent;return E!=null&&E.captureSelection||(this.id||(this.id=y.makeID()),b.atomID=this.id),b}createBox(y,b){var E,ee,re,oe;const me=(E=this.value)!=null?E:this.body,ge=(ee=b==null?void 0:b.boxType)!=null?ee:cc(this.type);let we=(re=b==null?void 0:b.classes)!=null?re:"";this.mode==="text"&&(we+=" ML__text");const Me=typeof me=="string"||me===void 0?new Vr(me!=null?me:null,{type:ge,isSelected:this.isSelected,mode:this.mode,maxFontSize:y.scalingFactor,style:Ee(xe({variant:"normal"},this.style),{fontSize:Math.max(1,y.size+y.mathstyle.sizeDelta)}),letterShapeStyle:y.letterShapeStyle,classes:we}):(oe=Cc.createBox(y,me,{type:ge,classes:we}))!=null?oe:new Vr(null);return y.isTight&&(Me.isTight=!0),(this.mode!=="math"||this.style.variant==="main")&&(Me.italic=0),Me.right=Me.italic,this.bind(y,Me),this.caret&&!this.superscript&&!this.subscript&&(Me.caret=this.caret),Me}isDigit(){var y;return this.type==="mord"&&this.value?/^[\d,\.]$/.test(this.value):this.type==="group"&&((y=this.body)==null?void 0:y.length)===2?this.body[0].type==="first"&&this.body[1].value===",":!1}asDigit(){var y;return this.type==="mord"&&this.value&&/^[\d,\.]$/.test(this.value)?this.value:this.type==="group"&&((y=this.body)==null?void 0:y.length)===2&&this.body[0].type==="first"&&this.body[1].value===","?".":""}};function Yc(a){let y;const b=[];let E=[];for(const ee of a)if(!y&&!ee.style)E.push(ee);else{const re=ee.computedStyle;y&&re.color===y.color&&re.backgroundColor===y.backgroundColor&&re.fontSize===y.fontSize?E.push(ee):(E.length>0&&b.push(E),E=[ee],y=re)}return E.length>0&&b.push(E),b}function Qc(a,y,b){var E,ee,re,oe,me;if(!y||y.length===0)return null;const ge=new La({parent:a},b.style),we=!((E=ge.atomIdsSettings)!=null&&E.groupNumbers);let Me=[];if(y.length===1){const mt=y[0],It=mt.render(ge);It&&(we&&mt.isSelected&&It.selected(!0),Me=[It])}else{let mt="",It=!0;for(const _t of y){(ee=ge.atomIdsSettings)!=null&&ee.groupNumbers&&mt&&(It&&_t.isDigit()||!It&&Xc(_t))&&(ge.atomIdsSettings.overrideID=mt);const Wn=_t.render(ge);ge.atomIdsSettings&&(ge.atomIdsSettings.overrideID=void 0),Wn&&((re=ge.atomIdsSettings)!=null&&re.groupNumbers&&((_t.isDigit()||Xc(_t))&&(!mt||It!==_t.isDigit())&&(It=_t.isDigit(),mt=(oe=_t.id)!=null?oe:""),mt&&(!(_t.isDigit()||Xc(_t))||!_t.hasEmptyBranch("superscript")||!_t.hasEmptyBranch("subscript"))&&(mt="")),we&&_t.isSelected&&Wn.selected(!0),Me.push(Wn))}}if(Me.length===0)return null;const Je=new Vr(Me,Ee(xe({isTight:ge.isTight},b),{type:(me=b.type)!=null?me:"lift"}));return Je.isSelected=Me.every(mt=>mt.isSelected),Je.wrap(ge)}function Xc(a){return a.mode==="text"}function Jc(a){return a.map(y=>y===null?"<null>":Array.isArray(y)&&y[0]instanceof ar?{atoms:y.map(b=>b.toJson())}:typeof y=="object"&&"group"in y?{group:y.group.map(b=>b.toJson())}:y)}var Yl=class Mp extends ar{constructor(y,b,E){super({type:"text",command:y,mode:"text",displayContainsHighlight:!0}),this.value=b,this.verbatimLatex=b,this.applyStyle(E)}static fromJson(y){return new Mp(y.command,y.value,y.style)}render(y){const b=this.createBox(y);return this.caret&&(b.caret=this.caret),b}_serialize(y){var b;return(b=this.verbatimLatex)!=null?b:gn("text",this.value.codePointAt(0))}};function Vu(a,y){if(a.direction===y.direction){const b=a.ranges.length;if(y.ranges.length===b){let E=0;for(;E<b&&Vd(a.ranges[E],y.ranges[E])==="equal";)E++;return E===b?"equal":"different"}}return"different"}function Vd(a,y){return a[0]===y[0]&&a[1]===y[1]?"equal":"different"}function As(a){let y=1/0,b=-1/0;for(const E of a.ranges)y=Math.min(y,E[0],E[1]),b=Math.max(b,E[0],E[1]);return[y,b]}function gu(a){return typeof a=="number"&&!Number.isNaN(a)}function mc(a){return Array.isArray(a)&&a.length===2}function _u(a){return a!=null&&typeof a=="object"&&"ranges"in a&&Array.isArray(a.ranges)}function qc(a,y){const b=a.at(y);let E;if(b){E=b.mode;let ee=b.parent;for(;!E&ⅇ)ee&&(E=ee.mode),ee=ee.parent}return E}function yd(a,y){if(!y)return"";if(typeof y=="string")return y;if(!a||y.after===void 0)return y.value;let b=!1,E=!1,ee=!1,re=!1,oe=!1,me=!1,ge=!1,we=!1,Me=!1,Je=!1,mt=!1,It=!1,_t=!1,Wn=!1,Yr=!1,zn=a[0],hr=0;for(;zn!=null&&zn.type&&/^(subsup|placeholder)$/.test(zn.type);)hr+=1,zn=a[hr];return b=!zn||zn.type==="first",zn&&(Wn=zn.mode==="text",E=!Wn&&zn.type==="mord"&&fe.test(zn.value),ee=!Wn&&zn.type==="mord"&&/\d+$/.test(zn.value),re=!Wn&&zn.isFunction,oe=zn.type==="genfrac",me=zn.type==="surd",ge=zn.type==="mbin",we=zn.type==="mrel",Me=zn.type==="mop"||zn.type==="operator"||zn.type==="extensible-symbol",Je=zn.type==="mpunct"||zn.type==="minner",mt=zn.type==="array",It=zn.type==="mopen",_t=zn.type==="mclose"||zn.type==="leftright",Yr=zn.type==="space"),y.after.includes("nothing")&&b||y.after.includes("letter")&&E||y.after.includes("digit")&&ee||y.after.includes("function")&&re||y.after.includes("frac")&&oe||y.after.includes("surd")&&me||y.after.includes("binop")&&ge||y.after.includes("relop")&&we||y.after.includes("operator")&&Me||y.after.includes("punct")&&Je||y.after.includes("array")&&mt||y.after.includes("openfence")&&It||y.after.includes("closefence")&&_t||y.after.includes("text")&&Wn||y.after.includes("space")&&Yr?y.value:""}function $c(a,y,b){return b?yd(a,b[y]):""}var Ra={"&":"\\&","%":"\\%",$:"\\$","''":"^{\\doubleprime}","'''":"^{\\prime\\prime\\prime}","''''":"^{\\prime\\prime\\prime\\prime}",alpha:"\\alpha",delta:"\\delta",Delta:"\\Delta",pi:"\\pi",Pi:"\\Pi",theta:"\\theta",Theta:"\\Theta",ii:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryI"},jj:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\imaginaryJ"},ee:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\exponentialE"},nabla:"\\nabla",grad:"\\nabla",del:"\\partial",deg:{after:"digit+space",value:"\\degree"},infty:"\\infty","\u221E":"\\infty",oo:{after:"nothing+digit+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\infty"},"\u2211":"\\sum",sum:"\\sum_{#?}^{#?}",int:"\\int_{#?}^{#?}",prod:"\\prod_{#?}^{#?}",sqrt:"\\sqrt{#?}","\u2206":"\\differentialD","\u2202":"\\differentialD",arcsin:"\\arcsin",arccos:"\\arccos",arctan:"\\arctan",arcsec:"\\arcsec",arccsc:"\\arccsc",arsinh:"\\arsinh",arcosh:"\\arcosh",artanh:"\\artanh",arcsech:"\\arcsech",arccsch:"\\arccsch",arg:"\\arg",ch:"\\ch",cosec:"\\cosec",cosh:"\\cosh",cot:"\\cot",cotg:"\\cotg",coth:"\\coth",csc:"\\csc",ctg:"\\ctg",cth:"\\cth",sec:"\\sec",sinh:"\\sinh",sh:"\\sh",tanh:"\\tanh",tg:"\\tg",th:"\\th",sin:"\\sin",cos:"\\cos",tan:"\\tan",lg:"\\lg",lb:"\\lb",log:"\\log",ln:"\\ln",exp:"\\exp",lim:"\\lim_{#?}",dx:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD x"},dy:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD y"},dt:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\differentialD t"},AA:"\\forall",EE:"\\exists","!EE":"\\nexists","&&":"\\land",xin:{after:"nothing+text+relop+punct+openfence+space",value:"x \\in"},sint:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\sin t"},in:{after:"nothing+letter+closefence",value:"\\in"},"!in":"\\notin",NN:"\\mathbb{N}",ZZ:"\\Z",QQ:"\\Q",RR:"\\R",CC:"\\C",xx:"\\times","+-":"\\pm","\u2260":"\\ne","!=":"\\ne","\u2265":"\\ge",">=":"\\ge","\u2264":"\\le","<=":"\\le","<<":"\\ll",">>":"\\gg","~~":"\\approx","\u2248":"\\approx","?=":"\\questeq","\xF7":"\\div","\xAC":"\\neg",":=":"\\coloneq","::":"\\Colon","(:":"\\langle",":)":"\\rangle",beta:"\\beta",chi:"\\chi",epsilon:"\\epsilon",varepsilon:"\\varepsilon",eta:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\eta"},gamma:"\\gamma",Gamma:"\\Gamma",iota:"\\iota",kappa:"\\kappa",lambda:"\\lambda",Lambda:"\\Lambda",mu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\mu"},nu:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\nu"},\u00B5:"\\mu",phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\phi"},Phi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Phi"},varphi:"\\varphi",psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\psi"},Psi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Psi"},rho:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\rho"},sigma:"\\sigma",Sigma:"\\Sigma",tau:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\tau"},vartheta:"\\vartheta",upsilon:"\\upsilon",xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space",value:"\\xi"},Xi:{after:"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text",value:"\\Xi"},zeta:"\\zeta",omega:"\\omega",Omega:"\\Omega",\u03A9:"\\omega",forall:"\\forall",exists:"\\exists","!exists":"\\nexists",":.":"\\therefore",liminf:"\\liminf_{#?}",limsup:"\\limsup_{#?}",argmin:"\\operatorname*{arg~min}_{#?}",argmax:"\\operatorname*{arg~max}_{#?}",det:"\\det",mod:"\\bmod{#?}","(mod":"\\pmod{#?}",max:"\\max",min:"\\min",erf:"\\operatorname{erf}",erfc:"\\operatorname{erfc}",bessel:"\\operatorname{bessel}",mean:"\\operatorname{mean}",median:"\\operatorname{median}",fft:"\\operatorname{fft}",lcm:"\\operatorname{lcm}",gcd:"\\operatorname{gcd}",randomReal:"\\operatorname{randomReal}",randomInteger:"\\operatorname{randomInteger}",Re:"\\operatorname{Re}",Im:"\\operatorname{Im}",mm:{after:"nothing+digit+operator",value:"\\operatorname{mm}"},cm:{after:"nothing+digit+operator",value:"\\operatorname{cm}"},km:{after:"nothing+digit+operator",value:"\\operatorname{km}"},kg:{after:"nothing+digit+operator",value:"\\operatorname{kg}"},"...":"\\ldots","+...":"+\\cdots","-...":"-\\cdots","->...":"\\to\\cdots","-->...":"\\longrightarrow\\cdots","->":"\\to","|->":"\\mapsto","-->":"\\longrightarrow","<--":"\\longleftarrow","=>":"\\Rightarrow","==>":"\\Longrightarrow","<=>":"\\Leftrightarrow","<->":"\\leftrightarrow","(.)":"\\odot","(+)":"\\oplus","(/)":"\\oslash","(*)":"\\otimes","(-)":"\\ominus","||":"\\Vert","*":"\\cdot","**":"\\star","***":"\\ast","//":"\\slash","\\\\":"\\backslash",setminus:"\\backslash","|><":"\\ltimes","><|":"\\rtimes","|><|":"\\bowtie","-:":"\\div",divide:"\\div","@":"\\circ","^^":"\\wedge","^^^":"\\bigwedge",vv:"\\vee",vvv:"\\bigvee",nn:"\\cap",nnn:"\\bigcap",uu:"\\cup",uuu:"\\bigcup","-=":"\\equiv","~=":"\\cong",lt:"<","lt=":"\\leq",gt:">","gt=":"\\geq","-<":"\\prec","-lt":"\\prec","-<=":"\\preceq",">-=":"\\succeq",prop:"\\propto",diamond:"\\diamond",square:"\\square",iff:"\\iff",sub:"\\subset",sup:"\\supset",sube:"\\subseteq",supe:"\\supseteq",uarr:"\\uparrow",darr:"\\downarrow",rarr:"\\rightarrow",rArr:"\\Rightarrow",larr:"\\leftarrow",lArr:"\\Leftarrow",harr:"\\leftrightarrow",hArr:"\\Leftrightarrow",aleph:"\\aleph",and:"\\land",or:"\\lor",not:"\\neg","_|_":"\\bot",TT:"\\top","|--":"\\vdash","|==":"\\models","|__":"\\lfloor","__|":"\\rfloor","|~":"\\lceil","~|":"\\rceil",">->":"\\rightarrowtail","->>":"\\twoheadrightarrow",">->>":"\\twoheadrightarrowtail",frac:"\\frac{#?}{#?}",cbrt:"\\sqrt[3]{#?}",nthroot:"\\sqrt[#?]{#?}"};function Fi(a,y){var b;let E=(b=y==null?void 0:y.format)!=null?b:"auto";return E==="auto"&&([E,a]=Ql(a)),E==="ascii-math"?(a=a.replace(/\u2061/gu,""),a=a.replace(/\u3016/gu,"{"),a=a.replace(/\u3017/gu,"}"),a=a.replace(/([^\\])sinx/g,"$1\\sin x"),a=a.replace(/([^\\])cosx/g,"$1\\cos x "),a=a.replace(/\u2013/g,"-"),["ascii-math",Oi(a,{inlineShortcuts:y==null?void 0:y.inlineShortcuts})]):["latex",a]}function Oi(a,y){var b,E,ee;if(!a)return"";let re=!1,oe;const me=(b=y.inlineShortcuts)!=null?b:Ra;if(!re&&(a.startsWith("^")||a.startsWith("_"))&&(oe=Ea(a.slice(1),{inlineShortcuts:me,noWrap:!0}),a=a[0]+"{"+oe.match+"}",a+=Oi(oe.rest,y),re=!0),re||(oe=a.match(/^(sqrt|\u221A)(.*)/),oe&&(oe=Ea(oe[2],{inlineShortcuts:me,noWrap:!0}),a="\\sqrt{"+((E=oe.match)!=null?E:"\\placeholder{}")+"}",a+=Oi(oe.rest,y),re=!0)),re||(oe=a.match(/^(\\cbrt|\u221B)(.*)/),oe&&(oe=Ea(oe[2],{inlineShortcuts:me,noWrap:!0}),a="\\sqrt[3]{"+((ee=oe.match)!=null?ee:"\\placeholder{}")+"}",a+=Oi(oe.rest,y),re=!0)),re||(oe=a.match(/^abs(.*)/),oe&&(oe=Ea(oe[1],{inlineShortcuts:me,noWrap:!0}),a="\\left|"+oe.match+"\\right|",a+=Oi(oe.rest,y),re=!0)),re||(oe=a.match(/^["”“](.*?)["”“](.*)/),oe&&(a="\\text{"+oe[1]+"}",a+=Oi(oe[2],y),re=!0)),re||(oe=a.match(/^([^a-zA-Z\(\{\[\_\^\\\s"]+)(.*)/),oe&&(a=Ao(oe[1],me),a+=Oi(oe[2],y),re=!0)),!re&&/^([fgh])[^a-zA-Z]/.test(a)&&(oe=Ea(a.slice(1),{inlineShortcuts:me,noWrap:!0}),a=a[1]==="("?a[0]+"\\left("+oe.match+"\\right)":a[0]+oe.match,a+=Oi(oe.rest,y),re=!0),re||(oe=a.match(/^([a-zA-Z]+)(.*)/),oe&&(a=Ao(oe[1],me),a+=Oi(oe[2],y),re=!0)),!re)if(oe=Ea(a,{inlineShortcuts:me,noWrap:!0}),oe.match&&oe.rest[0]==="/"){const ge=Ea(oe.rest.slice(1),{inlineShortcuts:me,noWrap:!0});ge.match&&(a="\\frac{"+oe.match+"}{"+ge.match+"}"+Oi(ge.rest,y)),re=!0}else oe.match&&(a=a.startsWith("(")?"\\left("+oe.match+"\\right)"+Oi(oe.rest,y):oe.match+Oi(oe.rest,y),re=!0);return re||(oe=a.match(/^(\s+)(.*)$/),oe&&(a=" "+Oi(oe[2],y),re=!0)),a}function Ea(a,y){let b="";a=a.trim();let E=a,ee=a.charAt(0),re={"(":")","{":"}","[":"]"}[ee];if(re){let oe=1,me=1;for(;me<a.length&&oe>0;)a[me]===ee&&oe++,a[me]===re&&oe--,me++;oe===0?(y.noWrap&&ee==="("?b=Oi(a.substring(1,me-1),y):(ee==="{"&&re==="}"&&(ee="\\{",re="\\}"),b="\\left"+ee+Oi(a.substring(1,me-1),y)+"\\right"+re),E=a.slice(Math.max(0,me))):(b=a.substring(1,me),E="")}else{let oe=a.match(/^([a-zA-Z]+)/);if(oe){let me=$c(null,a,y.inlineShortcuts);if(me)return me=me.replace("_{#?}",""),me=me.replace("^{#?}",""),{match:me,rest:a.slice(me.length)}}if(oe=a.match(/^([a-zA-Z])/),oe)return{match:oe[1],rest:a.slice(1)};if(oe=a.match(/^(-)?\d+(\.\d*)?/),oe)return{match:oe[0],rest:a.slice(oe[0].length)};/^\\(left|right)/.test(a)||(oe=a.match(/^(\\[a-zA-Z]+)/),oe&&(E=a.slice(oe[1].length),b=oe[1]))}return{match:b,rest:E}}function Ao(a,y){let b=$c(null,a,y);return b?(b=b.replace("_{#?}",""),b=b.replace("^{#?}",""),b+=" "):b=a,b}var vu=[["\\[","\\]"],["\\(","\\)"],["$$","$$"],["$","$"],["\\begin{math}","\\end{math}"],["\\begin{displaymath}","\\end{displaymath}"],["\\begin{equation}","\\end{equation}"],["\\begin{equation*}","\\end{equation*}"]];function Ms(a){const y=a.trim();for(const b of vu)if(y.startsWith(b[0])&&y.endsWith(b[1]))return[!0,y.substring(b[0].length,y.length-b[1].length)];return[!1,a]}function Ql(a){if(a=a.trim(),a.length<=1)return["latex",a];let y;return[y,a]=Ms(a),y?["latex",a]:a.startsWith("`")&&a.endsWith("`")?(a=a.substring(1,a.length-1),["ascii-math",a]):a.includes("\\")?["latex",a]:/\$.+\$/.test(a)?["latex",`\\text{${a}}`]:[void 0,a]}var kl="$$",gc="$$",Lu=(a,y,b)=>(vu.some(E=>y.startsWith(E[0])&&y.endsWith(E[1]))||(y=`${kl} ${y} ${gc}`),y),vl=class sh{constructor(y){sh._modes[y]=this}static onPaste(y,b,E){var ee;if(!b.contentEditable&&b.userSelect==="none")return b.model.announce("plonk"),!1;if(typeof E=="string"){const oe=new DataTransfer;oe.setData("text/plain",E),E=oe}const re=new ClipboardEvent("paste",{clipboardData:E,cancelable:!0});return(ee=b.host)!=null&&ee.dispatchEvent(re)?sh._modes[y].onPaste(b,E):!1}static copyToClipboard(y,b){if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const E=y.model,ee=E.selectionIsCollapsed?[0,E.lastOffset]:As(E.selection),re=E.getValue(ee,b);navigator.clipboard.writeText(re).then(()=>{},()=>y.model.announce("plonk"))}static onCopy(y,b){var E;if(!b.clipboardData)return;if(!y.contentEditable&&y.userSelect==="none"){y.model.announce("plonk");return}const ee=y.model,re=ee.selectionIsCollapsed?[0,ee.lastOffset]:As(ee.selection);let oe=ee.getAtoms(re);if(oe.every(me=>me.mode==="text"||!me.mode))b.clipboardData.setData("text/plain",oe.filter(me=>me instanceof Yl).map(me=>me.value).join(""));else if(oe.every(me=>me.mode==="latex"))b.clipboardData.setData("text/plain",ee.getAtoms(re,{includeChildren:!0}).map(me=>{var ge;return(ge=me.value)!=null?ge:""}).join(""));else{let me;oe.length===1&&oe[0].verbatimLatex!==void 0?me=oe[0].verbatimLatex:me=ee.getValue(re,"latex-expanded"),b.clipboardData.setData("application/x-latex",me);try{b.clipboardData.setData("text/plain",y.options.onExport(y,me,re))}catch(ge){}if(oe.length===1){const ge=oe[0];(ge.type==="root"||ge.type==="group")&&(oe=ge.body.filter(we=>we.type!=="first"))}try{b.clipboardData.setData("application/json+mathlive",JSON.stringify(oe.map(ge=>ge.toJson())))}catch(ge){}if((E=window[Symbol.for("io.cortexjs.compute-engine")])!=null&&E.ComputeEngine){const ge=window.MathfieldElement.computeEngine;if(ge)try{const we=ge.jsonSerializationOptions;ge.jsonSerializationOptions={metadata:["latex"]};const Me=ge.parse(ee.getValue(re,"latex-unstyled"));ge.jsonSerializationOptions=we;const Je=JSON.stringify(Me.json);Je&&b.clipboardData.setData("application/json",Je)}catch(we){}}}b.preventDefault()}static insert(y,b,E={}){var ee;const re=E.mode==="auto"?y.mode:(ee=E.mode)!=null?ee:y.mode;return sh._modes[re].insert(y,b,E)}onPaste(y,b){return!1}insert(y,b,E){return!1}};vl._modes={};var ra=vl,lh=[{key:"left",command:"moveToPreviousChar"},{key:"right",command:"moveToNextChar"},{key:"up",command:"moveUp"},{key:"down",command:"moveDown"},{key:"shift+[ArrowLeft]",command:"extendSelectionBackward"},{key:"shift+[ArrowRight]",command:"extendSelectionForward"},{key:"shift+[ArrowUp]",command:"extendSelectionUpward"},{key:"shift+[ArrowDown]",command:"extendSelectionDownward"},{key:"[Backspace]",command:"deleteBackward"},{key:"alt+[Delete]",command:"deleteBackward"},{key:"[Delete]",command:"deleteForward"},{key:"alt+[Backspace]",command:"deleteForward"},{key:"alt+[ArrowLeft]",command:"moveToPreviousWord"},{key:"alt+[ArrowRight]",command:"moveToNextWord"},{key:"shift+alt+[ArrowLeft]",command:"extendToPreviousWord"},{key:"shift+alt+[ArrowRight]",command:"extendToNextWord"},{key:"ctrl+[ArrowLeft]",command:"moveToGroupStart"},{key:"ctrl+[ArrowRight]",command:"moveToGroupEnd"},{key:"shift+ctrl+[ArrowLeft]",command:"extendToGroupStart"},{key:"shift+ctrl+[ArrowRight]",command:"extendToGroupEnd"},{key:"[Home]",command:"moveToMathfieldStart"},{key:"cmd+[ArrowLeft]",command:"moveToMathfieldStart"},{key:"shift+[Home]",command:"extendToMathFieldStart"},{key:"shift+cmd+[ArrowLeft]",command:"extendToMathFieldStart"},{key:"[End]",command:"moveToMathfieldEnd"},{key:"cmd+[ArrowRight]",command:"moveToMathfieldEnd"},{key:"shift+[End]",command:"extendToMathFieldEnd"},{key:"shift+cmd+[ArrowRight]",command:"extendToMathFieldEnd"},{key:"[Pageup]",command:"moveToGroupStart"},{key:"[Pagedown]",command:"moveToGroupEnd"},{key:"[Tab]",command:"moveToNextGroup"},{key:"shift+[Tab]",command:"moveToPreviousGroup"},{key:"[Escape]",ifMode:"math",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"text",command:["switchMode","latex"]},{key:"[Escape]",ifMode:"latex",command:["complete","complete",{selectItem:"true"}]},{key:"\\",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[IntlBackslash]",ifMode:"math",command:["switchMode","latex","\\"]},{key:"[Tab]",ifMode:"latex",command:["complete","accept-suggestion"]},{key:"[Return]",ifMode:"latex",command:"complete"},{key:"[Enter]",ifMode:"latex",command:"complete"},{key:"shift+[Escape]",ifMode:"latex",command:["complete","reject"]},{key:"[ArrowDown]",ifMode:"latex",command:"nextSuggestion"},{key:"[ArrowUp]",ifMode:"latex",command:"previousSuggestion"},{key:"ctrl+a",ifPlatform:"!macos",command:"selectAll"},{key:"cmd+a",command:"selectAll"},{key:"[Cut]",command:"cutToClipboard"},{key:"[Copy]",command:"copyToClipboard"},{key:"[Paste]",command:"pasteFromClipboard"},{key:"[Clear]",command:"deleteBackward"},{key:"[Undo]",command:"undo"},{key:"[Redo]",command:"redo"},{key:"[EraseEof]",command:"deleteToGroupEnd"},{key:"ctrl+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"cmd+x",ifPlatform:"ios",command:"cutToClipboard"},{key:"ctrl+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"cmd+c",ifPlatform:"ios",command:"copyToClipboard"},{key:"ctrl+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"cmd+v",ifPlatform:"ios",command:"pasteFromClipboard"},{key:"ctrl+z",ifPlatform:"!macos",command:"undo"},{key:"cmd+z",command:"undo"},{key:"ctrl+y",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+y",command:"redo"},{key:"shift+ctrl+z",ifPlatform:"!macos",command:"redo"},{key:"shift+cmd+z",command:"redo"},{key:"ctrl+b",ifPlatform:"macos",command:"moveToPreviousChar"},{key:"ctrl+f",ifPlatform:"macos",command:"moveToNextChar"},{key:"ctrl+p",ifPlatform:"macos",command:"moveUp"},{key:"ctrl+n",ifPlatform:"macos",command:"moveDown"},{key:"ctrl+a",ifPlatform:"macos",command:"moveToMathfieldStart"},{key:"ctrl+e",ifPlatform:"macos",command:"moveToMathfieldEnd"},{key:"shift+ctrl+b",ifPlatform:"macos",command:"extendSelectionBackward"},{key:"shift+ctrl+f",ifPlatform:"macos",command:"extendSelectionForward"},{key:"shift+ctrl+p",ifPlatform:"macos",command:"extendSelectionUpward"},{key:"shift+ctrl+n",ifPlatform:"macos",command:"extendSelectionDownward"},{key:"shift+ctrl+a",ifPlatform:"macos",command:"extendToMathFieldStart"},{key:"shift+ctrl+e",ifPlatform:"macos",command:"extendToMathFieldEnd"},{key:"alt+ctrl+b",ifPlatform:"macos",command:"moveToPreviousWord"},{key:"alt+ctrl+f",ifPlatform:"macos",command:"moveToNextWord"},{key:"shift+alt+ctrl+b",ifPlatform:"macos",command:"extendToPreviousWord"},{key:"shift+alt+ctrl+f",ifPlatform:"macos",command:"extendToNextWord"},{key:"ctrl+h",ifPlatform:"macos",command:"deleteBackward"},{key:"ctrl+d",ifPlatform:"macos",command:"deleteForward"},{key:"ctrl+l",ifPlatform:"macos",command:"scrollIntoView"},{key:"ctrl+[Digit2]",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"ctrl+[Digit5]",ifMode:"math",command:"moveToOpposite"},{key:"ctrl+[Digit6]",ifMode:"math",command:"moveToSuperscript"},{key:"ctrl+[Return]",ifMode:"math",command:"addRowAfter"},{key:"ctrl+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Return]",ifMode:"math",command:"addRowAfter"},{key:"cmd+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"alt+p",ifMode:"math",command:["insert","\\pi"]},{key:"alt+v",ifMode:"math",command:["insert","\\sqrt{#0}"]},{key:"alt+o",ifMode:"math",command:["insert","\\emptyset"]},{key:"alt+d",ifMode:"math",command:["insert","\\differentialD"]},{key:"shift+alt+o",ifMode:"math",command:["insert","\\varnothing"]},{key:"shift+alt+d",ifMode:"math",command:["insert","\\partial"]},{key:"alt+[Backslash]",ifMode:"math",command:["insert","\\backslash"]},{key:"[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+[NumpadDivide]",ifMode:"math",command:["insert","\\frac{#?}{#@}"]},{key:"shift+alt+k",command:"toggleKeystrokeCaption"},{key:"alt+[Space]",command:"toggleContextMenu"},{key:"alt+shift+[Space]",command:"toggleVirtualKeyboard"},{key:"alt+ctrl+[ArrowUp]",command:["speak","all",{withHighlighting:!1}]},{key:"alt+ctrl+[ArrowDown]",command:["speak","selection",{withHighlighting:!1}]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["switchMode","text","",""]},{key:"shift+alt+[KeyT]",ifMode:"math",command:["switchMode","text","",""]},{key:"shift+[Quote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"text",command:["switchMode","math","",""]},{key:"shift+alt+[KeyT]",ifMode:"text",command:["switchMode","math","",""]},{key:"/",ifMode:"math",command:["insert","\\frac{#@}{#?}"]},{key:"alt+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+shift+/",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","/"]},{key:"alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrack #0 \\right\\rbrack"]},{key:"ctrl+[Minus]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"moveToSubscript"},{key:"shift+alt+[BracketLeft]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\left\\lbrace #0 \\right\\rbrace"]},{key:"ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowAfter"},{key:"shift+ctrl+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"shift+cmd+;",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:"addRowBefore"},{key:"ctrl+[Backspace]",ifMode:"math",command:"removeRow"},{key:"cmd+[Backspace]",ifMode:"math",command:"removeRow"},{key:"alt+[Tab]",ifMode:"math",command:"addColumnAfter"},{key:"shift+alt+[Tab]",ifMode:"math",command:"addColumnBefore"},{key:"alt+[Enter]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Enter]",ifMode:"math",command:"addRowBefore"},{key:"alt+[Return]",ifMode:"math",command:"addRowAfter"},{key:"shift+alt+[Return]",ifMode:"math",command:"addRowBefore"},{key:"shift+[Backspace]",ifMode:"math",command:"removeColumn"},{key:"alt+[Digit5]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","$\\infty"]},{key:"alt+[Digit9]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","("]},{key:"alt+[Digit0]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert",")"]},{key:"alt+|",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","|"]},{key:"shift+[Backquote]",ifLayout:["apple.en-intl","windows.en-intl","linux.en"],ifMode:"math",command:["insert","\\~"]},{key:"[Backquote]",ifLayout:["windows.french","linux.french"],ifMode:"math",command:["insert","^2"]},{key:"[Backquote]",ifLayout:["windows.german","linux.german"],ifMode:"math",command:["insert","^"]},{key:"[IntlBackslash]",ifLayout:["apple.german"],ifMode:"math",command:["insert","^"]}],_d={"\\sqrt":["alt+v","ctrl+[Digit2]"],"\\pi":"alt+p","\\infty":"alt+[Digit5]","\\differentialD":"alt+d","\\partial":"shift+alt+d","\\frac":"Slash","\\emptyset":"alt+o","\\varnothing":"shift+alt+o","\\~":"~"};function Xl(a){var y;return((y=a.element)==null?void 0:y.mathfield)===a}function Jl(a){var y,b;return(b=(y=a.querySelector(".ML__caret"))!=null?y:a.querySelector(".ML__text-caret"))!=null?b:a.querySelector(".ML__latex-caret")}function Gu(a){const y=Jl(a);if(!y)return null;const b=y.getBoundingClientRect();return{x:b.right,y:b.bottom,height:b.height}}function Gd(a){var y;if(!a.parent)return"root";let b=(y=a.parent.id)!=null?y:"";return b+=typeof a.parentBranch=="string"?"-"+a.parentBranch:`-${a.parentBranch[0]}/${a.parentBranch[0]}`,b}function Ud(a,y,b){if(!y)return null;const E=a.field.getBoundingClientRect(),ee=y.right-y.left,re=y.bottom-y.top,oe=Math.ceil(y.left-E.left+a.field.scrollLeft*b),me=Math.ceil(y.top-E.top);return{left:oe,right:oe+ee,top:me,bottom:me+re}}function Yd(a){const y=a.getBoundingClientRect(),b=parseInt(getComputedStyle(a).marginRight),E={top:y.top-1,bottom:y.bottom,left:y.left,right:y.right-1+b};if(a.children.length===0||a.tagName.toUpperCase()==="SVG")return E;for(const ee of a.children)if(ee.nodeType===1&&"atomId"in ee.dataset&&!ee.classList.contains("pstrut")){const re=Yd(ee);E.left=Math.min(E.left,re.left),E.right=Math.max(E.right,re.right),E.top=Math.min(E.top,re.top),E.bottom=Math.max(E.bottom,re.bottom)}return E}function Fc(a,y){var b,E;if(!y.id)return null;let ee=(E=(b=a.atomBoundsCache)==null?void 0:b.get(y.id))!=null?E:null;if(ee!==null)return ee;const re=a.field.querySelector(`[data-atom-id="${y.id}"]`);return ee=re?Yd(re):null,a.atomBoundsCache&&(ee?a.atomBoundsCache.set(y.id,ee):a.atomBoundsCache.delete(y.id)),ee!=null?ee:null}function Ef(a,y,b){const E=new Map;for(const ee of a.model.getAtoms(y,{includeChildren:!0})){if(b!=null&&b.excludeAtomsWithBackground&&ee.style.backgroundColor)continue;const re=a.field,oe=re.offsetWidth;let ge=Math.floor(re.getBoundingClientRect().width)/oe;ge=isNaN(ge)?1:ge;const we=Ud(a,Fc(a,ee),ge);if(we){const Me=Gd(ee);if(E.has(Me)){const Je=E.get(Me);E.set(Me,{left:Math.min(Je.left,we.left),right:Math.max(Je.right,we.right),top:Math.min(Je.top,we.top),bottom:Math.max(Je.bottom,we.bottom)})}else E.set(Me,we)}}return[...E.values()]}function Qd(a,y){return a.model.selection.ranges.reduce((b,E)=>b.concat(...Ef(a,E,y)),[])}function Xd(a,y){return a==="*"||y==="none"?!0:y==="same-origin"?!window.origin||a===window.origin:typeof y=="function"?y(a):!1}function bd(a){let y=0,b=0;const E=a.offsetWidth,ee=a.offsetHeight;for(;a instanceof HTMLElement;)y+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;return new DOMRect(b,y,E,ee)}var Af=`@keyframes ML__caret-blink {
|
|
|
0%,
|
|
|
100% {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
50% {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
}
|
|
|
.ML__container {
|
|
|
display: inline-flex;
|
|
|
flex-flow: row;
|
|
|
justify-content: space-between;
|
|
|
align-items: flex-end;
|
|
|
min-height: 39px;
|
|
|
/* Need some room for the virtual keyboard toggle */
|
|
|
width: 100%;
|
|
|
/* Encourage browsers to consider allocating a hardware accelerated
|
|
|
layer for this element. */
|
|
|
isolation: isolate;
|
|
|
/* Prevent the browser from trying to interpret touch gestures in the field */
|
|
|
/* "Disabling double-tap to zoom removes the need for browsers to
|
|
|
delay the generation of click events when the user taps the screen." */
|
|
|
touch-action: none;
|
|
|
--_caret-color: var(--caret-color, hsl(var(--_hue), 40%, 49%));
|
|
|
--_selection-color: var(--selection-color, #000);
|
|
|
--_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 70%, 85%));
|
|
|
--_text-highlight-background-color: var(--highlight-text, hsla(var(--_hue), 40%, 50%, 0.1));
|
|
|
--_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 40%, 95%));
|
|
|
--_smart-fence-color: var(--smart-fence-color, currentColor);
|
|
|
--_smart-fence-opacity: var(--smart-fence-opacity, 0.5);
|
|
|
--_latex-color: var(--latex-color, hsl(var(--_hue), 80%, 40%));
|
|
|
--_correct-color: var(--correct-color, #10a000);
|
|
|
--_incorrect-color: var(--incorrect-color, #a01b00);
|
|
|
--_composition-background-color: var(--composition-background-color, #fff1c2);
|
|
|
--_composition-text-color: var(--composition-text-color, black);
|
|
|
--_composition-underline-color: var(--composition-underline-color, transparent);
|
|
|
}
|
|
|
/* This is the actual field content (formula) */
|
|
|
.ML__content {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
align-self: center;
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
padding: 2px 3px 2px 1px;
|
|
|
width: 100%;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle,
|
|
|
.ML__menu-toggle {
|
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
|
align-self: center;
|
|
|
align-items: center;
|
|
|
flex-shrink: 0;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
width: 34px;
|
|
|
height: 34px;
|
|
|
padding: 0;
|
|
|
margin-right: 4px;
|
|
|
cursor: pointer;
|
|
|
/* Avoid some weird blinking with :hover */
|
|
|
border-radius: 8px;
|
|
|
border: 1px solid transparent;
|
|
|
transition: background 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
|
|
|
color: hsl(var(--_hue), 40%, 50%);
|
|
|
fill: currentColor;
|
|
|
background: transparent;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle:hover,
|
|
|
.ML__menu-toggle:hover {
|
|
|
background: hsla(0, 0%, 70%, 0.3);
|
|
|
color: #333;
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle > span,
|
|
|
.ML__menu-toggle > span {
|
|
|
display: flex;
|
|
|
align-self: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
/* The invisible element used to capture keyboard events. We're just trying
|
|
|
really hard to make sure it doesn't show. */
|
|
|
.ML__keyboard-sink {
|
|
|
display: inline-block;
|
|
|
resize: none;
|
|
|
outline: none;
|
|
|
border: none;
|
|
|
/* Need these for Microsoft Edge */
|
|
|
position: fixed;
|
|
|
clip: rect(0 0 0 0);
|
|
|
/* Need this to prevent iOS Safari from auto-zooming */
|
|
|
font-size: 1em;
|
|
|
font-family: KaTeX_Main;
|
|
|
line-height: 0.5;
|
|
|
/* On Chromium, if this is 0, no keyboard events are received */
|
|
|
}
|
|
|
[part="placeholder"] {
|
|
|
color: var(--neutral-400);
|
|
|
}
|
|
|
.ML__composition {
|
|
|
background: var(--_composition-background-color);
|
|
|
color: var(--_composition-text-color);
|
|
|
text-decoration: underline var(--_composition-underline-color);
|
|
|
}
|
|
|
.ML__caret::after {
|
|
|
content: '';
|
|
|
visibility: hidden;
|
|
|
width: 0;
|
|
|
display: inline-block;
|
|
|
height: 0.76em;
|
|
|
--_caret-width: clamp(2px, 0.08em, 10px);
|
|
|
border: none;
|
|
|
border-radius: calc(var(--_caret-width) / 2);
|
|
|
border-right: var(--_caret-width) solid var(--_caret-color);
|
|
|
margin-right: calc(-1 * var(--_caret-width));
|
|
|
position: relative;
|
|
|
left: -0.045em;
|
|
|
bottom: -0.05em;
|
|
|
animation: ML__caret-blink 1.05s step-end forwards infinite;
|
|
|
}
|
|
|
.ML__text-caret::after {
|
|
|
content: '';
|
|
|
visibility: hidden;
|
|
|
width: 0;
|
|
|
display: inline-block;
|
|
|
height: 0.76em;
|
|
|
--_caret-width: clamp(2px, 0.08em, 10px);
|
|
|
border: none;
|
|
|
border-radius: calc(var(--_caret-width) / 2);
|
|
|
border-right: var(--_caret-width) solid var(--_caret-color);
|
|
|
margin-right: calc(-1 * var(--_caret-width));
|
|
|
position: relative;
|
|
|
left: -0.045em;
|
|
|
bottom: -0.05em;
|
|
|
animation: ML__caret-blink 1.05s step-end forwards infinite;
|
|
|
}
|
|
|
.ML__latex-caret::after {
|
|
|
content: '';
|
|
|
visibility: hidden;
|
|
|
--_caret-width: clamp(2px, 0.08em, 10px);
|
|
|
border: none;
|
|
|
border-radius: calc(var(--_caret-width) / 2);
|
|
|
border-right: var(--_caret-width) solid var(--_latex-color);
|
|
|
margin-right: calc(-1 * var(--_caret-width));
|
|
|
position: relative;
|
|
|
left: -0.019em;
|
|
|
animation: ML__caret-blink 1.05s step-end forwards infinite;
|
|
|
}
|
|
|
.ML__focused .ML__latex-caret::after,
|
|
|
.ML__focused .ML__text-caret::after,
|
|
|
.ML__focused .ML__caret::after {
|
|
|
visibility: visible;
|
|
|
}
|
|
|
.ML__focused .ML__text {
|
|
|
background: var(--_text-highlight-background-color);
|
|
|
}
|
|
|
/* When using smartFence, the anticipated closing fence is displayed
|
|
|
with this style */
|
|
|
.ML__smart-fence__close {
|
|
|
opacity: var(--_smart-fence-opacity);
|
|
|
color: var(--_smart-fence-color);
|
|
|
}
|
|
|
.ML__selected,
|
|
|
.ML__focused .ML__selected .ML__contains-caret,
|
|
|
.ML__focused .ML__selected .ML__smart-fence__close,
|
|
|
.ML__focused .ML__selected .ML__placeholder {
|
|
|
color: var(--_selection-color);
|
|
|
opacity: 1;
|
|
|
}
|
|
|
.ML__selection {
|
|
|
box-sizing: border-box;
|
|
|
background: var(--_selection-background-color) !important;
|
|
|
}
|
|
|
.ML__contains-caret.ML__close,
|
|
|
.ML__contains-caret.ML__open,
|
|
|
.ML__contains-caret > .ML__close,
|
|
|
.ML__contains-caret > .ML__open,
|
|
|
.ML__contains-caret .ML__sqrt-sign,
|
|
|
.ML__contains-caret .ML__sqrt-line {
|
|
|
color: var(--_caret-color);
|
|
|
}
|
|
|
.ML__contains-highlight {
|
|
|
box-sizing: border-box;
|
|
|
background: transparent;
|
|
|
}
|
|
|
.ML__focused .ML__contains-highlight {
|
|
|
background: var(--_contains-highlight-background-color);
|
|
|
}
|
|
|
.ML__raw-latex {
|
|
|
font-family: 'Berkeley Mono', 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
|
|
|
font-weight: 400;
|
|
|
font-size: 0.8em;
|
|
|
letter-spacing: -0.05em;
|
|
|
color: var(--_latex-color);
|
|
|
}
|
|
|
.ML__suggestion {
|
|
|
color: var(--neutral-500);
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle.is-visible.is-pressed:hover {
|
|
|
background: hsl(var(--_hue), 25%, 35%);
|
|
|
color: #fafafa;
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle:focus {
|
|
|
outline: none;
|
|
|
border-radius: 8px;
|
|
|
border: 2px solid hsl(var(--_hue), 40%, 50%);
|
|
|
}
|
|
|
.ML__virtual-keyboard-toggle.is-pressed,
|
|
|
.ML__virtual-keyboard-toggle.is-active:hover,
|
|
|
.ML__virtual-keyboard-toggle.is-active {
|
|
|
background: hsl(var(--_hue), 25%, 35%);
|
|
|
color: #fafafa;
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
/* Add an attribute 'data-tooltip' to automatically show a
|
|
|
tooltip over a element on hover.
|
|
|
*/
|
|
|
[data-tooltip] {
|
|
|
position: relative;
|
|
|
}
|
|
|
[data-tooltip]::after {
|
|
|
content: attr(data-tooltip);
|
|
|
position: absolute;
|
|
|
display: block;
|
|
|
z-index: 2;
|
|
|
pointer-events: none;
|
|
|
right: auto;
|
|
|
top: calc(-100% - 4px);
|
|
|
width: max-content;
|
|
|
max-width: 200px;
|
|
|
padding: 8px 8px;
|
|
|
border-radius: 4px;
|
|
|
background: #616161;
|
|
|
color: #fff;
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
|
text-align: center;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-style: normal;
|
|
|
font-weight: 400;
|
|
|
font-size: 13px;
|
|
|
/* Phone */
|
|
|
opacity: 0;
|
|
|
transform: scale(0.5);
|
|
|
}
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
[data-tooltip]::after {
|
|
|
padding: 8px 16px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
}
|
|
|
menu [data-tooltip]::after {
|
|
|
left: 100%;
|
|
|
top: 0%;
|
|
|
}
|
|
|
menu .ML__base {
|
|
|
cursor: default;
|
|
|
}
|
|
|
/** Don't display if we're tracking, i.e. have the pointer down */
|
|
|
.tracking [data-tooltip]:hover::after {
|
|
|
/* Use visibility, not display. Display will remove the after from the DOM, and the override below will not work */
|
|
|
visibility: hidden;
|
|
|
}
|
|
|
/** But do display if tracking and inside a menu */
|
|
|
.tracking menu li[data-tooltip]:hover::after,
|
|
|
[data-tooltip]:hover::after {
|
|
|
visibility: visible;
|
|
|
opacity: 1;
|
|
|
transform: scale(1);
|
|
|
transition-property: opacity, scale;
|
|
|
transition-duration: 0.15s;
|
|
|
transition-delay: 1s;
|
|
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
|
}
|
|
|
.ML__prompt {
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
.ML__editablePromptBox {
|
|
|
outline: 1px solid #acacac;
|
|
|
border-radius: 2px;
|
|
|
z-index: -1;
|
|
|
}
|
|
|
.ML__focusedPromptBox {
|
|
|
outline: highlight auto 1px;
|
|
|
}
|
|
|
.ML__lockedPromptBox {
|
|
|
background-color: rgba(142, 142, 141, 0.4);
|
|
|
z-index: -1;
|
|
|
}
|
|
|
.ML__correctPromptBox {
|
|
|
outline: 1px solid var(--_correct-color);
|
|
|
box-shadow: 0 0 5px var(--_correct-color);
|
|
|
}
|
|
|
.ML__incorrectPromptBox {
|
|
|
outline: 1px solid var(--_incorrect-color);
|
|
|
box-shadow: 0 0 5px var(--_incorrect-color);
|
|
|
}
|
|
|
.variant-submenu {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
padding: 8px;
|
|
|
}
|
|
|
.variant-submenu [part=menu-item] {
|
|
|
font-size: 2rem;
|
|
|
text-align: center;
|
|
|
margin: 0;
|
|
|
}
|
|
|
.insert-matrix-submenu {
|
|
|
display: grid;
|
|
|
padding: 8px;
|
|
|
align-content: center;
|
|
|
justify-content: center;
|
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
|
}
|
|
|
.insert-matrix-submenu [part=menu-item] {
|
|
|
font-size: 21px;
|
|
|
border: none;
|
|
|
border-radius: 0;
|
|
|
line-height: 21px;
|
|
|
text-align: center;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
}
|
|
|
.border-submenu [part=menu-item] {
|
|
|
font-size: 2rem;
|
|
|
line-height: 1.2;
|
|
|
text-align: center;
|
|
|
}
|
|
|
.swatches-submenu {
|
|
|
--_swatch-size: 2rem;
|
|
|
--_columns: 4;
|
|
|
display: flex;
|
|
|
flex-flow: wrap;
|
|
|
padding: 8px;
|
|
|
max-width: calc(var(--_columns) * (var(--_swatch-size) + 18px) + 16px);
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.menu-swatch {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
box-sizing: border-box;
|
|
|
width: fit-content;
|
|
|
height: fit-content;
|
|
|
margin: 2px;
|
|
|
padding: 0;
|
|
|
background: var(--neutral-200);
|
|
|
}
|
|
|
.menu-swatch > .label {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
line-height: 0;
|
|
|
}
|
|
|
.menu-swatch > .label > span {
|
|
|
display: inline-block;
|
|
|
margin: 6px;
|
|
|
min-width: var(--_swatch-size);
|
|
|
min-height: var(--_swatch-size);
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
.menu-swatch.active {
|
|
|
background: var(--neutral-100);
|
|
|
scale: 1.4;
|
|
|
}
|
|
|
.menu-swatch.active > .label > span {
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
.menu-swatch .ui-checkmark,
|
|
|
.menu-swatch .ui-mixedmark {
|
|
|
position: absolute;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
color: white;
|
|
|
}
|
|
|
.menu-swatch.dark-contrast .ui-checkmark,
|
|
|
.menu-swatch.dark-contrast .ui-mixedmark {
|
|
|
color: #000;
|
|
|
}
|
|
|
`,ho=`.ML__container {
|
|
|
min-height: auto !important;
|
|
|
--_hue: var(--hue, 212);
|
|
|
--_placeholder-color: var(--placeholder-color, hsl(var(--_hue), 40%, 49%));
|
|
|
--_placeholder-opacity: var(--placeholder-opacity, 0.4);
|
|
|
--_text-font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);
|
|
|
}
|
|
|
.ML__sr-only {
|
|
|
position: absolute;
|
|
|
width: 1px;
|
|
|
height: 1px;
|
|
|
margin: -1px;
|
|
|
padding: 0;
|
|
|
overflow: hidden;
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
clip-path: inset(50%);
|
|
|
white-space: nowrap;
|
|
|
border: 0;
|
|
|
}
|
|
|
.ML__is-inline {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__base {
|
|
|
visibility: inherit;
|
|
|
display: inline-block;
|
|
|
position: relative;
|
|
|
cursor: text;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
box-sizing: content-box;
|
|
|
border: 0;
|
|
|
outline: 0;
|
|
|
vertical-align: baseline;
|
|
|
font-weight: inherit;
|
|
|
font-family: inherit;
|
|
|
font-style: inherit;
|
|
|
text-decoration: none;
|
|
|
width: min-content;
|
|
|
}
|
|
|
.ML__strut,
|
|
|
.ML__strut--bottom {
|
|
|
display: inline-block;
|
|
|
min-height: 0.5em;
|
|
|
}
|
|
|
.ML__small-delim {
|
|
|
font-family: KaTeX_Main;
|
|
|
}
|
|
|
/* Text mode */
|
|
|
.ML__text {
|
|
|
font-family: var(--_text-font-family);
|
|
|
white-space: pre;
|
|
|
}
|
|
|
/* Use cmr for 'math upright' */
|
|
|
.ML__cmr {
|
|
|
font-family: KaTeX_Main;
|
|
|
font-style: normal;
|
|
|
}
|
|
|
.ML__mathit {
|
|
|
font-family: KaTeX_Math;
|
|
|
/* The KaTeX_Math font is italic by default, so the font-style below is only
|
|
|
useful when a fallback font is used
|
|
|
*/
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.ML__mathbf {
|
|
|
font-family: KaTeX_Main;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
/* Lowercase greek symbols should stick to math font when \\mathbf is applied
|
|
|
to match TeX idiosyncratic behavior */
|
|
|
.lcGreek.ML__mathbf {
|
|
|
font-family: KaTeX_Math;
|
|
|
font-weight: normal;
|
|
|
}
|
|
|
.ML__mathbfit {
|
|
|
font-family: KaTeX_Math;
|
|
|
font-weight: bold;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.ML__ams {
|
|
|
font-family: KaTeX_AMS;
|
|
|
}
|
|
|
/* Blackboard */
|
|
|
.ML__bb {
|
|
|
font-family: KaTeX_AMS;
|
|
|
}
|
|
|
.ML__cal {
|
|
|
font-family: KaTeX_Caligraphic;
|
|
|
}
|
|
|
.ML__frak {
|
|
|
font-family: KaTeX_Fraktur;
|
|
|
}
|
|
|
.ML__tt {
|
|
|
font-family: KaTeX_Typewriter;
|
|
|
}
|
|
|
.ML__script {
|
|
|
font-family: KaTeX_Script;
|
|
|
}
|
|
|
.ML__sans {
|
|
|
font-family: KaTeX_SansSerif;
|
|
|
}
|
|
|
.ML__series_ul {
|
|
|
font-weight: 100;
|
|
|
}
|
|
|
.ML__series_el {
|
|
|
font-weight: 100;
|
|
|
}
|
|
|
.ML__series_l {
|
|
|
font-weight: 200;
|
|
|
}
|
|
|
.ML__series_sl {
|
|
|
font-weight: 300;
|
|
|
}
|
|
|
.ML__series_sb {
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
.ML__bold,
|
|
|
.ML__boldsymbol {
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
.ML__series_eb {
|
|
|
font-weight: 800;
|
|
|
}
|
|
|
.ML__series_ub {
|
|
|
font-weight: 900;
|
|
|
}
|
|
|
.ML__series_uc {
|
|
|
font-stretch: ultra-condensed;
|
|
|
}
|
|
|
.ML__series_ec {
|
|
|
font-stretch: extra-condensed;
|
|
|
}
|
|
|
.ML__series_c {
|
|
|
font-stretch: condensed;
|
|
|
}
|
|
|
.ML__series_sc {
|
|
|
font-stretch: semi-condensed;
|
|
|
}
|
|
|
.ML__series_sx {
|
|
|
font-stretch: semi-expanded;
|
|
|
}
|
|
|
.ML__series_x {
|
|
|
font-stretch: expanded;
|
|
|
}
|
|
|
.ML__series_ex {
|
|
|
font-stretch: extra-expanded;
|
|
|
}
|
|
|
.ML__series_ux {
|
|
|
font-stretch: ultra-expanded;
|
|
|
}
|
|
|
.ML__it {
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.ML__shape_ol {
|
|
|
-webkit-text-stroke: 1px black;
|
|
|
text-stroke: 1px black;
|
|
|
color: transparent;
|
|
|
}
|
|
|
.ML__shape_sc {
|
|
|
font-variant: small-caps;
|
|
|
}
|
|
|
.ML__shape_sl {
|
|
|
font-style: oblique;
|
|
|
}
|
|
|
/* First level emphasis */
|
|
|
.ML__emph {
|
|
|
color: #bc2612;
|
|
|
}
|
|
|
/* Second level emphasis */
|
|
|
.ML__emph .ML__emph {
|
|
|
color: #0c7f99;
|
|
|
}
|
|
|
.ML__highlight {
|
|
|
color: #007cb2;
|
|
|
background: #edd1b0;
|
|
|
}
|
|
|
.ML__center {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.ML__label_padding {
|
|
|
padding: 0 0.5em;
|
|
|
}
|
|
|
.ML__frac-line {
|
|
|
width: 100%;
|
|
|
min-height: 1px;
|
|
|
}
|
|
|
.ML__frac-line:after {
|
|
|
content: '';
|
|
|
display: block;
|
|
|
margin-top: max(-1px, -0.04em);
|
|
|
min-height: max(1px, 0.04em);
|
|
|
/* Ensure the line is visible when printing even if "turn off background images" is on*/
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
/* There's a bug since Chrome 62 where
|
|
|
sub-pixel border lines don't draw at some zoom
|
|
|
levels (110%, 90%).
|
|
|
Setting the min-height used to work around it, but that workaround
|
|
|
broke in Chrome 84 or so.
|
|
|
Setting the background (and the min-height) seems to work for now.
|
|
|
*/
|
|
|
background: currentColor;
|
|
|
box-sizing: content-box;
|
|
|
/* Vuetify sets the box-sizing to inherit
|
|
|
causes the fraction line to not draw at all sizes (see #26) */
|
|
|
/* On some versions of Firefox on Windows, the line fails to
|
|
|
draw at some zoom levels, but setting the transform triggers
|
|
|
the hardware accelerated path, which works */
|
|
|
transform: translate(0, 0);
|
|
|
}
|
|
|
.ML__sqrt {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__sqrt-sign {
|
|
|
display: inline-block;
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__sqrt-line {
|
|
|
display: inline-block;
|
|
|
height: max(1px, 0.04em);
|
|
|
width: 100%;
|
|
|
}
|
|
|
.ML__sqrt-line:before {
|
|
|
content: '';
|
|
|
display: block;
|
|
|
margin-top: min(-1px, -0.04em);
|
|
|
min-height: max(1px, 0.04em);
|
|
|
/* Ensure the line is visible when printing even if "turn off background images" is on*/
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
background: currentColor;
|
|
|
/* On some versions of Firefox on Windows, the line fails to
|
|
|
draw at some zoom levels, but setting the transform triggers
|
|
|
the hardware accelerated path, which works */
|
|
|
transform: translate(0, 0);
|
|
|
}
|
|
|
.ML__sqrt-line:after {
|
|
|
border-bottom-width: 1px;
|
|
|
content: ' ';
|
|
|
display: block;
|
|
|
margin-top: -0.1em;
|
|
|
}
|
|
|
.ML__sqrt-index {
|
|
|
margin-left: 0.27777778em;
|
|
|
margin-right: -0.55555556em;
|
|
|
}
|
|
|
.ML__delim-size1 {
|
|
|
font-family: KaTeX_Size1;
|
|
|
}
|
|
|
.ML__delim-size2 {
|
|
|
font-family: KaTeX_Size2;
|
|
|
}
|
|
|
.ML__delim-size3 {
|
|
|
font-family: KaTeX_Size3;
|
|
|
}
|
|
|
.ML__delim-size4 {
|
|
|
font-family: KaTeX_Size4;
|
|
|
}
|
|
|
.ML__delim-mult .delim-size1 > span {
|
|
|
font-family: KaTeX_Size1;
|
|
|
}
|
|
|
.ML__delim-mult .delim-size4 > span {
|
|
|
font-family: KaTeX_Size4;
|
|
|
}
|
|
|
.ML__accent-body > span {
|
|
|
font-family: KaTeX_Main;
|
|
|
width: 0;
|
|
|
}
|
|
|
.ML__accent-vec {
|
|
|
position: relative;
|
|
|
left: 0.24em;
|
|
|
}
|
|
|
/** The markup for a LaTeX formula, either in an editable mathfield or
|
|
|
in a static display.
|
|
|
*/
|
|
|
.ML__latex {
|
|
|
display: inline-block;
|
|
|
direction: ltr;
|
|
|
text-align: left;
|
|
|
text-indent: 0;
|
|
|
text-rendering: auto;
|
|
|
font-family: KaTeX_Main, 'Times New Roman', serif;
|
|
|
font-style: normal;
|
|
|
font-size-adjust: none;
|
|
|
font-stretch: normal;
|
|
|
font-variant-caps: normal;
|
|
|
letter-spacing: normal;
|
|
|
line-height: 1.2;
|
|
|
word-wrap: normal;
|
|
|
word-spacing: normal;
|
|
|
white-space: nowrap;
|
|
|
text-shadow: none;
|
|
|
-webkit-user-select: none;
|
|
|
user-select: none;
|
|
|
width: min-content;
|
|
|
}
|
|
|
.ML__latex .style-wrap {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .mfrac {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .left-right {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .vlist-t {
|
|
|
display: inline-table;
|
|
|
table-layout: fixed;
|
|
|
border-collapse: collapse;
|
|
|
}
|
|
|
.ML__latex .vlist-r {
|
|
|
display: table-row;
|
|
|
}
|
|
|
.ML__latex .vlist {
|
|
|
display: table-cell;
|
|
|
vertical-align: bottom;
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .vlist > span {
|
|
|
display: block;
|
|
|
height: 0;
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .vlist > span > span {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .vlist > span > .pstrut {
|
|
|
overflow: hidden;
|
|
|
width: 0;
|
|
|
}
|
|
|
.ML__latex .vlist-t2 {
|
|
|
margin-right: -2px;
|
|
|
}
|
|
|
.ML__latex .vlist-s {
|
|
|
display: table-cell;
|
|
|
vertical-align: bottom;
|
|
|
font-size: 1px;
|
|
|
width: 2px;
|
|
|
min-width: 2px;
|
|
|
}
|
|
|
.ML__latex .msubsup {
|
|
|
text-align: left;
|
|
|
}
|
|
|
.ML__latex .negativethinspace {
|
|
|
display: inline-block;
|
|
|
margin-left: -0.16667em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .thinspace {
|
|
|
display: inline-block;
|
|
|
width: 0.16667em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .mediumspace {
|
|
|
display: inline-block;
|
|
|
width: 0.22222em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .thickspace {
|
|
|
display: inline-block;
|
|
|
width: 0.27778em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .enspace {
|
|
|
display: inline-block;
|
|
|
width: 0.5em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .quad {
|
|
|
display: inline-block;
|
|
|
width: 1em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .qquad {
|
|
|
display: inline-block;
|
|
|
width: 2em;
|
|
|
height: 0.71em;
|
|
|
}
|
|
|
.ML__latex .llap,
|
|
|
.ML__latex .rlap {
|
|
|
width: 0;
|
|
|
position: relative;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .llap > .inner,
|
|
|
.ML__latex .rlap > .inner {
|
|
|
position: absolute;
|
|
|
}
|
|
|
.ML__latex .llap > .fix,
|
|
|
.ML__latex .rlap > .fix {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .llap > .inner {
|
|
|
right: 0;
|
|
|
}
|
|
|
.ML__latex .rlap > .inner {
|
|
|
left: 0;
|
|
|
}
|
|
|
.ML__latex .rule {
|
|
|
display: inline-block;
|
|
|
border: solid 0;
|
|
|
position: relative;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.ML__latex .overline .overline-line,
|
|
|
.ML__latex .underline .underline-line {
|
|
|
width: 100%;
|
|
|
}
|
|
|
.ML__latex .overline .overline-line:before,
|
|
|
.ML__latex .underline .underline-line:before {
|
|
|
content: '';
|
|
|
border-bottom-style: solid;
|
|
|
border-bottom-width: max(1px, 0.04em);
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
display: block;
|
|
|
}
|
|
|
.ML__latex .overline .overline-line:after,
|
|
|
.ML__latex .underline .underline-line:after {
|
|
|
border-bottom-style: solid;
|
|
|
border-bottom-width: max(1px, 0.04em);
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
print-color-adjust: exact;
|
|
|
content: '';
|
|
|
display: block;
|
|
|
margin-top: -1px;
|
|
|
}
|
|
|
.ML__latex .stretchy {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
left: 0;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .stretchy:before,
|
|
|
.ML__latex .stretchy:after {
|
|
|
content: '';
|
|
|
}
|
|
|
.ML__latex .stretchy svg {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
height: inherit;
|
|
|
fill: currentColor;
|
|
|
stroke: currentColor;
|
|
|
fill-rule: nonzero;
|
|
|
fill-opacity: 1;
|
|
|
stroke-width: 1;
|
|
|
stroke-linecap: butt;
|
|
|
stroke-linejoin: miter;
|
|
|
stroke-miterlimit: 4;
|
|
|
stroke-dasharray: none;
|
|
|
stroke-dashoffset: 0;
|
|
|
stroke-opacity: 1;
|
|
|
}
|
|
|
.ML__latex .slice-1-of-2 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 50.2%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-2-of-2 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
width: 50.2%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-1-of-3 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
width: 25.1%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-2-of-3 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
left: 25%;
|
|
|
width: 50%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-3-of-3 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
width: 25.1%;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .slice-1-of-1 {
|
|
|
display: inline-flex;
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
left: 0;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.ML__latex .nulldelimiter {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .op-group {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .op-symbol {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__latex .op-symbol.small-op {
|
|
|
font-family: KaTeX_Size1;
|
|
|
}
|
|
|
.ML__latex .op-symbol.large-op {
|
|
|
font-family: KaTeX_Size2;
|
|
|
}
|
|
|
.ML__latex .mtable .vertical-separator {
|
|
|
display: inline-block;
|
|
|
min-width: 1px;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.ML__latex .mtable .arraycolsep {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-m > .vlist-t {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-c > .vlist-t {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-l > .vlist-t {
|
|
|
text-align: left;
|
|
|
}
|
|
|
.ML__latex .mtable .col-align-r > .vlist-t {
|
|
|
text-align: right;
|
|
|
}
|
|
|
.ML__error {
|
|
|
display: inline-block;
|
|
|
background-image: radial-gradient(ellipse at center, hsl(341, 100%, 40%), rgba(0, 0, 0, 0) 70%);
|
|
|
background-color: hsla(341, 100%, 40%, 0.1);
|
|
|
background-repeat: repeat-x;
|
|
|
background-size: 3px 3px;
|
|
|
padding-bottom: 3px;
|
|
|
background-position: 0 100%;
|
|
|
}
|
|
|
.ML__error > .ML__error {
|
|
|
background: transparent;
|
|
|
padding: 0;
|
|
|
}
|
|
|
.ML__placeholder {
|
|
|
color: var(--_placeholder-color);
|
|
|
opacity: var(--_placeholder-opacity);
|
|
|
padding-left: 0.4ex;
|
|
|
padding-right: 0.4ex;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
}
|
|
|
.ML__notation {
|
|
|
position: absolute;
|
|
|
box-sizing: border-box;
|
|
|
line-height: 0;
|
|
|
}
|
|
|
/* This class is used to implement the \`\\mathtip\` and \`\\texttip\` commands
|
|
|
For UI elements, see \`[data-ML__tooltip]\`
|
|
|
*/
|
|
|
.ML__tooltip-container {
|
|
|
position: relative;
|
|
|
transform: scale(0);
|
|
|
}
|
|
|
.ML__tooltip-container .ML__tooltip-content {
|
|
|
position: fixed;
|
|
|
display: inline-table;
|
|
|
visibility: hidden;
|
|
|
z-index: 2;
|
|
|
width: max-content;
|
|
|
max-width: 400px;
|
|
|
padding: 12px 12px;
|
|
|
border-radius: 8px;
|
|
|
background: #616161;
|
|
|
--_selection-color: #fff;
|
|
|
color: #fff;
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
|
opacity: 0;
|
|
|
transition: opacity 0.15s cubic-bezier(0.4, 0, 1, 1);
|
|
|
}
|
|
|
.ML__tooltip-container .ML__tooltip-content .ML__text {
|
|
|
white-space: normal;
|
|
|
}
|
|
|
.ML__tooltip-container .ML__tooltip-content .ML__base {
|
|
|
display: contents;
|
|
|
}
|
|
|
.ML__tooltip-container:hover .ML__tooltip-content {
|
|
|
visibility: visible;
|
|
|
opacity: 1;
|
|
|
font-size: 0.75em;
|
|
|
transform: scale(1) translate(0, 3em);
|
|
|
}
|
|
|
`,Mf=`#mathlive-environment-popover.is-visible {
|
|
|
visibility: visible;
|
|
|
}
|
|
|
#mathlive-environment-popover {
|
|
|
--_environment-panel-height: var(--environment-panel-height, 70px);
|
|
|
--_accent-color: var(--accent-color, #aaa);
|
|
|
--_background: var(--environment-panel-background, #fff);
|
|
|
--_button-background: var(--environment-panel-button-background, white);
|
|
|
--_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);
|
|
|
--_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);
|
|
|
--_button-text: var(--environment-panel-button-text, #e3e4e8);
|
|
|
position: absolute;
|
|
|
width: calc(var(--_environment-panel-height) * 2);
|
|
|
height: var(--_environment-panel-height);
|
|
|
border-radius: 4px;
|
|
|
border: 1.5px solid var(--_accent-color);
|
|
|
background-color: var(--_background);
|
|
|
box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));
|
|
|
pointer-events: all;
|
|
|
visibility: hidden;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons {
|
|
|
height: calc(var(--_environment-panel-height) * 5/4);
|
|
|
width: calc(var(--_environment-panel-height) * 5/4);
|
|
|
margin-left: calc(0px - var(--_environment-panel-height) * 0.16);
|
|
|
margin-top: calc(0px - var(--_environment-panel-height) * 0.19);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons .font {
|
|
|
fill: white;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons circle {
|
|
|
fill: #7f7f7f;
|
|
|
transition: fill 300ms;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {
|
|
|
fill-opacity: 1;
|
|
|
fill: var(--_background);
|
|
|
stroke: var(--_accent-color);
|
|
|
stroke-width: 3px;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons line {
|
|
|
stroke: var(--_accent-color);
|
|
|
stroke-opacity: 0;
|
|
|
stroke-width: 40;
|
|
|
pointer-events: none;
|
|
|
transition: stroke-opacity 300ms;
|
|
|
stroke-linecap: round;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {
|
|
|
fill: var(--_accent-color);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {
|
|
|
stroke-opacity: 1;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls {
|
|
|
height: 100%;
|
|
|
width: 50%;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {
|
|
|
width: var(--_environment-panel-height);
|
|
|
height: var(--_environment-panel-height);
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-around;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {
|
|
|
pointer-events: all;
|
|
|
margin-top: 2px;
|
|
|
width: calc(var(--_environment-panel-height) / 3 * 28 / 24);
|
|
|
height: calc(var(--_environment-panel-height) / 3 - 2px);
|
|
|
border-radius: calc(var(--_environment-panel-height) / 25);
|
|
|
background-color: var(--_button-background);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {
|
|
|
background-color: var(--_button-background-hover);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {
|
|
|
stroke: var(--_button-text);
|
|
|
stroke-width: 2;
|
|
|
stroke-linecap: round;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {
|
|
|
fill-opacity: 0;
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {
|
|
|
pointer-events: none;
|
|
|
background-color: var(--_button-background-active);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {
|
|
|
stroke: var(--_accent-color);
|
|
|
}
|
|
|
#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {
|
|
|
fill: var(--_accent-color);
|
|
|
}
|
|
|
`,uh=`/* The element that display info while in latex mode */
|
|
|
#mathlive-suggestion-popover {
|
|
|
background-color: rgba(97, 97, 97);
|
|
|
color: #fff;
|
|
|
text-align: center;
|
|
|
border-radius: 8px;
|
|
|
position: fixed;
|
|
|
z-index: 1;
|
|
|
display: none;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
}
|
|
|
#mathlive-suggestion-popover.top-tip::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
top: -15px;
|
|
|
left: calc(50% - 15px);
|
|
|
width: 0;
|
|
|
height: 0;
|
|
|
border-left: 15px solid transparent;
|
|
|
border-right: 15px solid transparent;
|
|
|
border-bottom: 15px solid rgba(97, 97, 97);
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
#mathlive-suggestion-popover.bottom-tip::after {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
bottom: -15px;
|
|
|
left: calc(50% - 15px);
|
|
|
width: 0;
|
|
|
height: 0;
|
|
|
border-left: 15px solid transparent;
|
|
|
border-right: 15px solid transparent;
|
|
|
border-top: 15px solid rgba(97, 97, 97);
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
#mathlive-suggestion-popover.is-animated {
|
|
|
transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
|
|
|
animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;
|
|
|
}
|
|
|
#mathlive-suggestion-popover.is-visible {
|
|
|
display: flex;
|
|
|
}
|
|
|
@keyframes ML__fade-in {
|
|
|
from {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
to {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
}
|
|
|
/* The wrapper class for the entire content of the popover panel */
|
|
|
#mathlive-suggestion-popover ul {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
list-style: none;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
align-items: flex-start;
|
|
|
max-height: 400px;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
#mathlive-suggestion-popover li {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
margin: 8px;
|
|
|
padding: 8px;
|
|
|
width: calc(100% - 16px - 16px);
|
|
|
column-gap: 1em;
|
|
|
border-radius: 8px;
|
|
|
cursor: pointer;
|
|
|
/* Since the content can be clicked on, provide feedback on hover */
|
|
|
}
|
|
|
#mathlive-suggestion-popover li a {
|
|
|
color: #5ea6fd;
|
|
|
padding-top: 0.3em;
|
|
|
margin-top: 0.4em;
|
|
|
display: block;
|
|
|
}
|
|
|
#mathlive-suggestion-popover li a:hover {
|
|
|
color: #5ea6fd;
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
#mathlive-suggestion-popover li:hover,
|
|
|
#mathlive-suggestion-popover li.is-pressed,
|
|
|
#mathlive-suggestion-popover li.is-active {
|
|
|
background: rgba(255, 255, 255, 0.1);
|
|
|
}
|
|
|
/* The command inside a popover (inside a #mathlive-suggestion-popover) */
|
|
|
.ML__popover__command {
|
|
|
font-size: 1.6rem;
|
|
|
font-family: KaTeX_Main;
|
|
|
}
|
|
|
.ML__popover__current {
|
|
|
background: #5ea6fd;
|
|
|
color: #fff;
|
|
|
}
|
|
|
.ML__popover__latex {
|
|
|
font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;
|
|
|
align-self: center;
|
|
|
}
|
|
|
/* The keyboard shortcuts for a symbol as displayed in the popover */
|
|
|
.ML__popover__keybinding {
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 0.8em;
|
|
|
opacity: 0.7;
|
|
|
}
|
|
|
/* Style for the character that joins the modifiers of a keyboard shortcut
|
|
|
(usually a "+" sign)*/
|
|
|
.ML__shortcut-join {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
`,Ic=`/* The element that displays the keys as the user type them */
|
|
|
#mathlive-keystroke-caption-panel {
|
|
|
visibility: hidden;
|
|
|
/*min-width: 160px;*/
|
|
|
/*background-color: rgba(97, 97, 200, .95);*/
|
|
|
background: var(--secondary, hsl(var(--_hue), 19%, 26%));
|
|
|
border-color: var(--secondary-border, hsl(0, 0%, 91%));
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
|
|
text-align: center;
|
|
|
border-radius: 6px;
|
|
|
padding: 16px;
|
|
|
position: absolute;
|
|
|
z-index: 1;
|
|
|
display: flex;
|
|
|
flex-direction: row-reverse;
|
|
|
justify-content: center;
|
|
|
--keystroke: white;
|
|
|
--on-keystroke: #555;
|
|
|
--keystroke-border: #f7f7f7;
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
body:not([theme='light']) #mathlive-keystroke-caption-panel {
|
|
|
--keystroke: hsl(var(--_hue), 50%, 30%);
|
|
|
--on-keystroke: hsl(0, 0%, 98%);
|
|
|
--keystroke-border: hsl(var(--_hue), 50%, 25%);
|
|
|
}
|
|
|
}
|
|
|
body[theme='dark'] #mathlive-keystroke-caption-panel {
|
|
|
--keystroke: hsl(var(--_hue), 50%, 30%);
|
|
|
--on-keystroke: hsl(0, 0%, 98%);
|
|
|
--keystroke-border: hsl(var(--_hue), 50%, 25%);
|
|
|
}
|
|
|
#mathlive-keystroke-caption-panel > span {
|
|
|
min-width: 14px;
|
|
|
/*height: 8px;*/
|
|
|
margin: 0 8px 0 0;
|
|
|
padding: 4px;
|
|
|
background-color: var(--keystroke);
|
|
|
color: var(--on-keystroke);
|
|
|
fill: currentColor;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 1em;
|
|
|
border-radius: 6px;
|
|
|
border: 2px solid var(--keystroke-border);
|
|
|
/*box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);*/
|
|
|
}
|
|
|
`,ch=`.ML__keyboard {
|
|
|
--_keyboard-height: 0;
|
|
|
--_keyboard-zindex: var(--keyboard-zindex, 105);
|
|
|
--_accent-color: var(--keyboard-accent-color, #0c75d8);
|
|
|
--_background: var(--keyboard-background, #cacfd7);
|
|
|
--_border: var(--keyboard-border, #ddd);
|
|
|
--_padding-horizontal: var(--keyboard-padding-horizontal, 0px);
|
|
|
--_padding-top: var(--keyboard-padding-top, 5px);
|
|
|
--_padding-bottom: var(--keyboard-padding-bottom, 0px);
|
|
|
--_row-padding-left: var(--keyboard-row-padding-left, 0px);
|
|
|
--_row-padding-right: var(--keyboard-row-padding-right, 0px);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
|
|
|
--_toolbar-text-active: var(--keyboard-toolbar-text-active, var(--_accent-color));
|
|
|
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
|
|
|
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
|
|
|
--_toolbar-font-size: var(--keyboard-toolbar-font-size, '135%');
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
|
|
|
--_keycap-background: var(--keycap-background, white);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
|
|
|
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
|
|
|
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
|
|
|
--_keycap-border: var(--keycap-border, #e5e6e9);
|
|
|
--_keycap-border-bottom: var(--keycap-border-bottom, #8d8f92);
|
|
|
--_keycap-text: var(--keycap-text, #000);
|
|
|
--_keycap-text-active: var(--keycap-text-active, #fff);
|
|
|
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
|
|
|
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
|
|
|
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
|
|
|
--_keycap-primary-background: var(--keycap-primary-background, var(--_accent-color));
|
|
|
--_keycap-primary-text: var(--keycap-primary-text, #ddd);
|
|
|
--_keycap-primary-background-hover: var(--keycap-primary-background-hover, #0d80f2);
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
|
|
|
--_keycap-height: var(--keycap-height, 60px);
|
|
|
/* Keycap width (incl. margin) */
|
|
|
--_keycap-max-width: var(--keycap-max-width, 100px);
|
|
|
--_keycap-gap: var(--keycap-gap, 8px);
|
|
|
--_keycap-font-size: var(--keycap-font-size, clamp(16px, 4cqw, 24px));
|
|
|
--_keycap-small-font-size: var(--keycap-small-font-size, calc(var(--keycap-font-size) * 0.8));
|
|
|
--_keycap-extra-small-font-size: var(--keycap-extra-small-font-size, calc(var(--keycap-font-size) / 1.42));
|
|
|
--_variant-panel-background: var(--variant-panel-background, #fff);
|
|
|
--_variant-keycap-text: var(--variant-keycap-text, var(--_keycap-text));
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
|
|
|
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 70px);
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 30px);
|
|
|
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 12px);
|
|
|
--_keycap-shift-font-size: var(--keycap-shift-font-size, 16px);
|
|
|
--_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color));
|
|
|
--_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color));
|
|
|
--_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed));
|
|
|
}
|
|
|
.is-math-mode .MLK__rows .if-text-mode,
|
|
|
.is-text-mode .MLK__rows .if-math-mode {
|
|
|
display: none;
|
|
|
}
|
|
|
.if-can-undo,
|
|
|
.if-can-redo,
|
|
|
.if-can-copy,
|
|
|
.if-can-cut,
|
|
|
.if-can-paste {
|
|
|
opacity: 0.4;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.can-undo .if-can-undo,
|
|
|
.can-redo .if-can-redo,
|
|
|
.can-copy .if-can-copy,
|
|
|
.can-cut .if-can-cut,
|
|
|
.can-paste .if-can-paste {
|
|
|
opacity: 1;
|
|
|
pointer-events: all;
|
|
|
}
|
|
|
body > .ML__keyboard {
|
|
|
position: fixed;
|
|
|
--_padding-bottom: calc(var(--keyboard-padding-bottom, 0px) + env(safe-area-inset-bottom, 0));
|
|
|
}
|
|
|
body > .ML__keyboard.is-visible > .MLK__backdrop {
|
|
|
box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.08);
|
|
|
border-top: 1px solid var(--_border);
|
|
|
}
|
|
|
body > .ML__keyboard.backdrop-is-transparent.is-visible > .MLK__backdrop {
|
|
|
box-shadow: none;
|
|
|
border: none;
|
|
|
}
|
|
|
body > .ML__keyboard.is-visible.animate > .MLK__backdrop {
|
|
|
transition: 0.28s cubic-bezier(0, 0, 0.2, 1);
|
|
|
transition-property: transform, opacity;
|
|
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
|
}
|
|
|
.ML__keyboard {
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
z-index: var(--_keyboard-zindex);
|
|
|
box-sizing: border-box;
|
|
|
outline: none;
|
|
|
border: none;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
line-height: 1;
|
|
|
overflow-wrap: unset;
|
|
|
text-align: left;
|
|
|
vertical-align: baseline;
|
|
|
cursor: auto;
|
|
|
white-space: pre;
|
|
|
box-shadow: none;
|
|
|
opacity: 1;
|
|
|
transform: none;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.ML__keyboard :where(div) {
|
|
|
box-sizing: border-box;
|
|
|
outline: none;
|
|
|
border: none;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
line-height: 1;
|
|
|
overflow-wrap: unset;
|
|
|
text-align: left;
|
|
|
vertical-align: baseline;
|
|
|
cursor: auto;
|
|
|
white-space: pre;
|
|
|
box-shadow: none;
|
|
|
transform: none;
|
|
|
}
|
|
|
.MLK__backdrop {
|
|
|
position: absolute;
|
|
|
bottom: calc(-1 * var(--_keyboard-height));
|
|
|
width: 100%;
|
|
|
height: var(--_keyboard-height);
|
|
|
box-sizing: border-box;
|
|
|
padding-top: var(--_padding-top);
|
|
|
padding-bottom: var(--_padding-bottom);
|
|
|
padding-left: var(--_padding-horizontal);
|
|
|
padding-right: var(--_padding-horizontal);
|
|
|
opacity: 0;
|
|
|
visibility: hidden;
|
|
|
transform: translate(0, 0);
|
|
|
background: var(--_background);
|
|
|
}
|
|
|
.backdrop-is-transparent .MLK__backdrop {
|
|
|
background: transparent;
|
|
|
}
|
|
|
/* If a custom layout has a custom container/backdrop
|
|
|
(backdrop-is-transparent), make sure to let pointer event go through. */
|
|
|
.backdrop-is-transparent .MLK__plate {
|
|
|
background: transparent;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
/* If a custom layout has a custom container/backdrop, make sure to
|
|
|
allow pointer events on it. */
|
|
|
.backdrop-is-transparent .MLK__layer > div > div {
|
|
|
pointer-events: all;
|
|
|
}
|
|
|
.ML__keyboard.is-visible > .MLK__backdrop {
|
|
|
transform: translate(0, calc(-1 * var(--_keyboard-height)));
|
|
|
opacity: 1;
|
|
|
visibility: visible;
|
|
|
}
|
|
|
.caps-lock-indicator {
|
|
|
display: none;
|
|
|
width: 8px;
|
|
|
height: 8px;
|
|
|
background: #0cbc0c;
|
|
|
box-shadow: inset 0 0 4px 0 #13ca13, 0 0 4px 0 #a9ef48;
|
|
|
border-radius: 8px;
|
|
|
right: 8px;
|
|
|
top: 8px;
|
|
|
position: absolute;
|
|
|
}
|
|
|
.ML__keyboard.is-caps-lock .caps-lock-indicator {
|
|
|
display: block;
|
|
|
}
|
|
|
.ML__keyboard.is-caps-lock .shift {
|
|
|
background: var(--_keycap-background-active);
|
|
|
color: var(--_keycap-text-active);
|
|
|
}
|
|
|
.MLK__plate {
|
|
|
position: absolute;
|
|
|
top: var(--_padding-top);
|
|
|
left: var(--_padding-horizontal);
|
|
|
width: calc(100% - 2 * var(--_padding-horizontal));
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
box-sizing: border-box;
|
|
|
container-type: inline-size;
|
|
|
touch-action: none;
|
|
|
-webkit-user-select: none;
|
|
|
user-select: none;
|
|
|
pointer-events: all;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 16px;
|
|
|
/* Size of toolbar labels */
|
|
|
font-weight: 400;
|
|
|
text-shadow: none;
|
|
|
}
|
|
|
.ML__box-placeholder {
|
|
|
color: var(--_box-placeholder-color);
|
|
|
}
|
|
|
.MLK__tex {
|
|
|
font-family: KaTeX_Main, KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
}
|
|
|
.MLK__tex-math {
|
|
|
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
.MLK__layer {
|
|
|
display: none;
|
|
|
outline: none;
|
|
|
}
|
|
|
.MLK__layer.is-visible {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
}
|
|
|
/* Keyboard layouts are made or rows of keys... */
|
|
|
.MLK__rows {
|
|
|
--_keycap-width: min(var(--_keycap-max-width), 10cqw);
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
align-items: center;
|
|
|
border-collapse: separate;
|
|
|
clear: both;
|
|
|
border: 0;
|
|
|
margin: 0;
|
|
|
margin-bottom: var(--_keycap-gap);
|
|
|
gap: var(--_keycap-gap);
|
|
|
/* If the styling include, e.g., some shadows, they will be
|
|
|
cut off by the overflow. In that case, set the padding to
|
|
|
compensate. */
|
|
|
padding-left: var(--_row-padding-left);
|
|
|
padding-right: var(--_row-padding-right);
|
|
|
overflow: visible;
|
|
|
touch-action: none;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row {
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
justify-content: center;
|
|
|
width: 100%;
|
|
|
gap: var(--_keycap-gap);
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
/* For the alignment of the text on some modifiers (e.g. shift) */
|
|
|
/* Extra spacing between two adjacent keys */
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .tex {
|
|
|
font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .tex-math {
|
|
|
font-family: KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .big-op {
|
|
|
font-size: calc(1.25 * var(--_keycap-font-size));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .small {
|
|
|
font-size: var(--_keycap-small-font-size);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .bottom {
|
|
|
justify-content: flex-end;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .left {
|
|
|
align-items: flex-start;
|
|
|
padding-left: 12px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .right {
|
|
|
align-items: flex-end;
|
|
|
padding-right: 12px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w0 {
|
|
|
width: 0;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w5 {
|
|
|
width: calc(0.5 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w15 {
|
|
|
width: calc(1.5 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w20 {
|
|
|
width: calc(2 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w40 {
|
|
|
width: calc(4 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .w50 {
|
|
|
width: calc(5 * var(--_keycap-width) - var(--_keycap-gap));
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .MLK__keycap.w50 {
|
|
|
font-size: 80%;
|
|
|
padding-top: 10px;
|
|
|
font-weight: 100;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .separator {
|
|
|
background: transparent;
|
|
|
border: none;
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .horizontal-rule {
|
|
|
height: 6px;
|
|
|
margin-top: 3px;
|
|
|
margin-bottom: 0;
|
|
|
width: 100%;
|
|
|
border-radius: 0;
|
|
|
border-top: var(--_horizontal-rule);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .ghost {
|
|
|
background: var(--_toolbar-background);
|
|
|
border: none;
|
|
|
color: var(--_toolbar-text);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .ghost:hover {
|
|
|
background: var(--_toolbar-background-hover);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .bigfnbutton {
|
|
|
font-size: var(--_keycap-extra-small-font-size);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift,
|
|
|
.MLK__rows > .MLK__row .action {
|
|
|
color: var(--_keycap-secondary-text);
|
|
|
background: var(--_keycap-secondary-background);
|
|
|
border-color: var(--_keycap-secondary-border);
|
|
|
border-bottom-color: var(--_keycap-secondary-border-bottom);
|
|
|
line-height: 0.8;
|
|
|
font-size: min(1rem, var(--_keycap-small-font-size));
|
|
|
font-weight: 600;
|
|
|
padding: 8px 12px 8px 12px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift:hover,
|
|
|
.MLK__rows > .MLK__row .action:hover {
|
|
|
background: var(--_keycap-secondary-background-hover);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .action.primary {
|
|
|
background: var(--_keycap-primary-background);
|
|
|
color: var(--_keycap-primary-text);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .action.primary:hover {
|
|
|
background: var(--_keycap-primary-background-hover);
|
|
|
color: var(--_keycap-primary-text);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift.selected,
|
|
|
.MLK__rows > .MLK__row .action.selected {
|
|
|
color: var(--_toolbar-text-active);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .shift.selected.is-pressed,
|
|
|
.MLK__rows > .MLK__row .action.selected.is-pressed,
|
|
|
.MLK__rows > .MLK__row .shift.selected.is-active,
|
|
|
.MLK__rows > .MLK__row .action.selected.is-active {
|
|
|
color: white;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .warning {
|
|
|
background: #cd0030;
|
|
|
color: white;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row .warning svg.svg-glyph {
|
|
|
width: 24px;
|
|
|
height: 24px;
|
|
|
min-height: 24px;
|
|
|
}
|
|
|
/** A regular keycap
|
|
|
* Use the :where() pseudo-class to give it a very low specifity,
|
|
|
* so that it can be overriden by custom style.
|
|
|
*/
|
|
|
:where(.MLK__rows > .MLK__row div) {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
align-items: center;
|
|
|
justify-content: space-evenly;
|
|
|
width: calc(var(--_keycap-width) - var(--_keycap-gap));
|
|
|
height: var(--_keycap-height);
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
vertical-align: top;
|
|
|
text-align: center;
|
|
|
float: left;
|
|
|
color: var(--_keycap-text);
|
|
|
fill: currentColor;
|
|
|
font-size: var(--_keycap-font-size);
|
|
|
background: var(--_keycap-background);
|
|
|
border: 1px solid var(--_keycap-border);
|
|
|
border-bottom-color: var(--_keycap-border-bottom);
|
|
|
border-radius: 6px;
|
|
|
cursor: pointer;
|
|
|
touch-action: none;
|
|
|
/* Keys with a variants panel */
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
-webkit-user-select: none;
|
|
|
user-select: none;
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div):hover {
|
|
|
overflow: visible;
|
|
|
background: var(--_keycap-background-hover);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) .ML__latex {
|
|
|
pointer-events: none;
|
|
|
touch-action: none;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) svg.svg-glyph {
|
|
|
margin: 8px 0;
|
|
|
width: 20px;
|
|
|
height: 20px;
|
|
|
min-height: 20px;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) svg.svg-glyph-lg {
|
|
|
margin: 8px 0;
|
|
|
width: 24px;
|
|
|
height: 24px;
|
|
|
min-height: 24px;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__tex-math {
|
|
|
font-size: 25px;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).is-pressed {
|
|
|
background: var(--_keycap-background-pressed);
|
|
|
color: var(--_keycap-text-pressed);
|
|
|
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed {
|
|
|
z-index: calc(var(--_keyboard-zindex) - 5);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active aside,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active aside,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed aside,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed aside {
|
|
|
display: none;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active .MLK__shift,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active .MLK__shift,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed .MLK__shift,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed .MLK__shift {
|
|
|
display: none;
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).shift.is-pressed,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-pressed {
|
|
|
background: var(--_keycap-background-pressed);
|
|
|
color: var(--_keycap-text-pressed);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div).shift.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,
|
|
|
:where(.MLK__rows > .MLK__row div).action.is-active {
|
|
|
background: var(--_keycap-background-active);
|
|
|
color: var(--_keycap-text-active);
|
|
|
--_box-placeholder-color: var(--_box-placeholder-pressed-color);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) small {
|
|
|
color: var(--_keycap-secondary-text);
|
|
|
}
|
|
|
:where(.MLK__rows > .MLK__row div) aside {
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-size: 10px;
|
|
|
line-height: 10px;
|
|
|
color: var(--_keycap-secondary-text);
|
|
|
}
|
|
|
/* Add an attribute 'data-tooltip' to display a tooltip on hover.
|
|
|
Note there are a different set of tooltip rules for the keyboard toggle
|
|
|
(it's in a different CSS tree) */
|
|
|
.ML__keyboard [data-tooltip] {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__keyboard [data-tooltip]::after {
|
|
|
position: absolute;
|
|
|
display: inline-table;
|
|
|
content: attr(data-tooltip);
|
|
|
top: inherit;
|
|
|
bottom: 100%;
|
|
|
width: max-content;
|
|
|
max-width: 200px;
|
|
|
padding: 8px 8px;
|
|
|
background: #616161;
|
|
|
color: #fff;
|
|
|
text-align: center;
|
|
|
z-index: 2;
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
|
border-radius: 2px;
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
|
font-weight: 400;
|
|
|
font-size: 12px;
|
|
|
transition: all 0.15s cubic-bezier(0.4, 0, 1, 1) 1s;
|
|
|
opacity: 0;
|
|
|
transform: scale(0.5);
|
|
|
}
|
|
|
.ML__keyboard [data-tooltip]:hover {
|
|
|
position: relative;
|
|
|
}
|
|
|
.ML__keyboard [data-tooltip]:hover::after {
|
|
|
opacity: 1;
|
|
|
transform: scale(1);
|
|
|
}
|
|
|
.MLK__toolbar {
|
|
|
align-self: center;
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
justify-content: space-between;
|
|
|
width: 100%;
|
|
|
max-width: 996px;
|
|
|
min-height: 32px;
|
|
|
/* Icons for undo/redo, etc. */
|
|
|
}
|
|
|
.MLK__toolbar svg {
|
|
|
height: 20px;
|
|
|
width: 20px;
|
|
|
}
|
|
|
.MLK__toolbar > .left {
|
|
|
position: relative;
|
|
|
display: flex;
|
|
|
justify-content: flex-start;
|
|
|
flex-flow: row;
|
|
|
}
|
|
|
.MLK__toolbar > .right {
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
flex-flow: row;
|
|
|
}
|
|
|
.MLK__toolbar > div > div {
|
|
|
/* "button" in the toolbar */
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
color: var(--_toolbar-text);
|
|
|
fill: currentColor;
|
|
|
background: var(--_toolbar-background);
|
|
|
font-size: var(--_toolbar-font-size);
|
|
|
padding: 4px 15px;
|
|
|
cursor: pointer;
|
|
|
width: max-content;
|
|
|
min-width: 42px;
|
|
|
min-height: 34px;
|
|
|
border: none;
|
|
|
padding-left: 10px;
|
|
|
padding-right: 10px;
|
|
|
padding-bottom: 8px;
|
|
|
padding-top: 8px;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 4px;
|
|
|
margin-left: 4px;
|
|
|
margin-right: 4px;
|
|
|
border-radius: 8px;
|
|
|
box-shadow: none;
|
|
|
border-bottom: 2px solid transparent;
|
|
|
}
|
|
|
.MLK__toolbar > div > div:not(.disabled):not(.selected):hover {
|
|
|
background: var(--_toolbar-background-hover);
|
|
|
}
|
|
|
.MLK__toolbar > div > div.disabled svg,
|
|
|
.MLK__toolbar > div > div.disabled:hover svg,
|
|
|
.MLK__toolbar > div > div.disabled.is-pressed svg {
|
|
|
color: var(--_toolbar-text);
|
|
|
opacity: 0.2;
|
|
|
}
|
|
|
.MLK__toolbar > div > div:hover,
|
|
|
.MLK__toolbar > div > div:active,
|
|
|
.MLK__toolbar > div > div.is-pressed,
|
|
|
.MLK__toolbar > div > div.is-active {
|
|
|
color: var(--_toolbar-text-active);
|
|
|
}
|
|
|
.MLK__toolbar > div > div.selected {
|
|
|
color: var(--_toolbar-text-active);
|
|
|
background: var(--_toolbar-background-selected);
|
|
|
border-radius: 0;
|
|
|
border-bottom-color: var(--_toolbar-text-active);
|
|
|
padding-bottom: 4px;
|
|
|
margin-bottom: 8px;
|
|
|
}
|
|
|
/* This is the element that displays variants on press+hold */
|
|
|
.MLK__variant-panel {
|
|
|
visibility: hidden;
|
|
|
position: fixed;
|
|
|
display: flex;
|
|
|
flex-flow: row wrap-reverse;
|
|
|
justify-content: center;
|
|
|
align-content: center;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
bottom: auto;
|
|
|
top: 0;
|
|
|
box-sizing: content-box;
|
|
|
transform: none;
|
|
|
z-index: calc(var(--_keyboard-zindex) + 1);
|
|
|
touch-action: none;
|
|
|
max-width: 350px;
|
|
|
background: var(--_variant-panel-background);
|
|
|
text-align: center;
|
|
|
border-radius: 6px;
|
|
|
padding: 6px;
|
|
|
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
|
transition: none;
|
|
|
}
|
|
|
.MLK__variant-panel.is-visible {
|
|
|
visibility: visible;
|
|
|
}
|
|
|
.MLK__variant-panel.compact {
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 50px);
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
|
|
|
--_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 10px);
|
|
|
}
|
|
|
.MLK__variant-panel .item {
|
|
|
display: flex;
|
|
|
flex-flow: column;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
font-size: var(--_variant-keycap-font-size);
|
|
|
height: var(--_variant-keycap-length);
|
|
|
width: var(--_variant-keycap-length);
|
|
|
margin: 0;
|
|
|
box-sizing: border-box;
|
|
|
border-radius: 5px;
|
|
|
border: 1px solid transparent;
|
|
|
background: transparent;
|
|
|
pointer-events: all;
|
|
|
cursor: pointer;
|
|
|
color: var(--_variant-keycap-text);
|
|
|
fill: currentColor;
|
|
|
}
|
|
|
@media (max-height: 412px) {
|
|
|
.MLK__variant-panel .item {
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 50px);
|
|
|
}
|
|
|
}
|
|
|
.MLK__variant-panel .item .ML__latex {
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
.MLK__variant-panel .item.is-active {
|
|
|
background: var(--_variant-keycap-background-active);
|
|
|
color: var(--_variant-keycap-text-active);
|
|
|
}
|
|
|
.MLK__variant-panel .item.is-pressed {
|
|
|
background: var(--_variant-keycap-background-pressed);
|
|
|
color: var(--_variant-keycap-text-pressed);
|
|
|
}
|
|
|
.MLK__variant-panel .item.small {
|
|
|
font-size: var(--_keycap-small-font-size);
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button {
|
|
|
box-sizing: border-box;
|
|
|
background: #fbfbfb;
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button > span {
|
|
|
display: inline-block;
|
|
|
margin: 6px;
|
|
|
width: calc(100% - 12px);
|
|
|
height: calc(100% - 12px);
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button:hover {
|
|
|
background: #f0f0f0;
|
|
|
}
|
|
|
.MLK__variant-panel .item.swatch-button:hover > span {
|
|
|
border-radius: 2px;
|
|
|
}
|
|
|
.MLK__variant-panel .item.box > div,
|
|
|
.MLK__variant-panel .item.box > span {
|
|
|
border: 1px dashed rgba(0, 0, 0, 0.24);
|
|
|
}
|
|
|
.MLK__variant-panel .item .warning {
|
|
|
min-height: 60px;
|
|
|
min-width: 60px;
|
|
|
background: #cd0030;
|
|
|
color: white;
|
|
|
padding: 5px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
.MLK__variant-panel .item .warning.is-pressed,
|
|
|
.MLK__variant-panel .item .warning.is-active {
|
|
|
background: red;
|
|
|
}
|
|
|
.MLK__variant-panel .item .warning svg.svg-glyph {
|
|
|
width: 50px;
|
|
|
height: 50px;
|
|
|
}
|
|
|
.MLK__variant-panel .item aside {
|
|
|
font-size: var(--_variant-keycap-aside-font-size);
|
|
|
line-height: 12px;
|
|
|
opacity: 0.78;
|
|
|
padding-top: 2px;
|
|
|
}
|
|
|
.MLK__keycap {
|
|
|
position: relative;
|
|
|
}
|
|
|
.MLK__shift {
|
|
|
display: block;
|
|
|
position: absolute;
|
|
|
right: 4px;
|
|
|
top: 4px;
|
|
|
font-size: var(--_keycap-shift-font-size);
|
|
|
color: var(--_keycap-shift-color);
|
|
|
}
|
|
|
.hide-shift .MLK__shift {
|
|
|
display: none;
|
|
|
}
|
|
|
@media (max-width: 414px) {
|
|
|
.MLK__variant-panel {
|
|
|
max-width: 350px;
|
|
|
--_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);
|
|
|
--_variant-keycap-length: var(--variant-keycap-length, 50px);
|
|
|
}
|
|
|
}
|
|
|
/* @xs breakpoint: iPhone 5 */
|
|
|
@container (max-width: 414px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-gap: max(var(--_keycap-gap, 2px), 2px);
|
|
|
--_keycap-height: max(var(--_keycap-height), 42px);
|
|
|
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
|
|
|
}
|
|
|
.MLK__toolbar > div > div {
|
|
|
font-size: 100%;
|
|
|
margin-left: 2px;
|
|
|
margin-right: 2px;
|
|
|
}
|
|
|
.MLK__rows .shift,
|
|
|
.MLK__rows .action {
|
|
|
font-size: 65%;
|
|
|
}
|
|
|
.MLK__rows .warning svg.svg-glyph {
|
|
|
width: 14px;
|
|
|
height: 14px;
|
|
|
min-height: 14px;
|
|
|
}
|
|
|
}
|
|
|
@container (max-width: 744px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-gap: max(var(--keycap-gap, 2px), 2px);
|
|
|
--_keycap-height: max(var(--keycap-height, 52px), 52px);
|
|
|
--_keycap-width: min(min(var(--_keycap-max-width), 10cqw), 62px);
|
|
|
}
|
|
|
.MLK__toolbar > div > div {
|
|
|
padding-left: 0;
|
|
|
padding-right: 0;
|
|
|
}
|
|
|
.MLK__tooltip::after {
|
|
|
padding: 8px 16px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div.fnbutton {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div.bigfnbutton {
|
|
|
font-size: calc(var(--_keycap-extra-small-font-size) / 1.55);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div.small {
|
|
|
font-size: 13px;
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div > aside {
|
|
|
display: none;
|
|
|
}
|
|
|
.MLK__shift {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
/* Medium breakpoint: larger phones */
|
|
|
@container (max-width: 768px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-height: max(var(--keycap-height, 42px), 42px);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div > small {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
@media (max-height: 768px) {
|
|
|
.MLK__rows {
|
|
|
--_keycap-height: max(var(--keycap-height, 42px), 42px);
|
|
|
}
|
|
|
.MLK__rows > .MLK__row > div > small {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
@container (max-width: 1444px) {
|
|
|
.MLK__rows .if-wide {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
.ML__keyboard {
|
|
|
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
|
|
|
--_background: var(--keyboard-background, #151515);
|
|
|
--_border: var(--keyboard-border, transparent);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
|
|
|
--keyboard-toolbar-background-hover: #303030;
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
|
|
|
--_keycap-background: var(--keycap-background, #1f2022);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
|
|
|
--_keycap-border: var(--_keycap-border, transparent);
|
|
|
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
|
|
|
--_keycap-text: var(--keycap-text, #e3e4e8);
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
|
|
|
--keycap-secondary-border: transparent;
|
|
|
--keycap-secondary-border-bottom: transparent;
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
|
|
|
--_variant-panel-background: var(--variant-panel-background, #303030);
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
|
|
|
}
|
|
|
}
|
|
|
/* Same as the media query, but with a class */
|
|
|
[theme='dark'] .ML__keyboard {
|
|
|
--_accent-color: var(--keyboard-accent-color, #0b5c9c);
|
|
|
--_background: var(--keyboard-background, #151515);
|
|
|
--_border: var(--keyboard-border, transparent);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);
|
|
|
--keyboard-toolbar-background-hover: #303030;
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);
|
|
|
--_keycap-background: var(--keycap-background, #1f2022);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #2f3032);
|
|
|
--_keycap-border: var(--_keycap-border, transparent);
|
|
|
--_keycap-border-bottom: var(--_keycap-border-bottom, transparent);
|
|
|
--_keycap-text: var(--keycap-text, #e3e4e8);
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);
|
|
|
--keycap-secondary-border: transparent;
|
|
|
--keycap-secondary-border-bottom: transparent;
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, transparent);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);
|
|
|
--_variant-panel-background: var(--variant-panel-background, #303030);
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);
|
|
|
}
|
|
|
[theme='light'] .ML__keyboard {
|
|
|
--_accent-color: var(--keyboard-accent-color, #0c75d8);
|
|
|
--_background: var(--keyboard-background, #cacfd7);
|
|
|
--_border: var(--keyboard-border, #ddd);
|
|
|
--_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);
|
|
|
--_toolbar-background: var(--keyboard-toolbar-background, transparent);
|
|
|
--_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);
|
|
|
--_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);
|
|
|
--_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);
|
|
|
--_keycap-background: var(--keycap-background, white);
|
|
|
--_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);
|
|
|
--_keycap-background-active: var(--keycap-background-active, var(--_accent-color));
|
|
|
--_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));
|
|
|
--_keycap-border: var(--_keycap-border, #e5e6e9);
|
|
|
--_keycap-border-bottom: var(--_keycap-border-bottom, #8d8f92);
|
|
|
--_keycap-text: var(--keycap-text, #000);
|
|
|
--_keycap-text-active: var(--keycap-text-active, #fff);
|
|
|
--_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));
|
|
|
--_keycap-text-pressed: var(--keycap-text-pressed, #fff);
|
|
|
--_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));
|
|
|
--_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);
|
|
|
--_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);
|
|
|
--_keycap-secondary-text: var(--keycap-secondary-text, #060707);
|
|
|
--_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);
|
|
|
--_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);
|
|
|
--_variant-panel-background: var(--variant-panel-background, #fff);
|
|
|
--_variant-keycap-text: var(--variant-keycap-textvar, var(--_keycap-text));
|
|
|
--_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));
|
|
|
--_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));
|
|
|
}
|
|
|
`,xd=`:host {
|
|
|
--primary-color: #5898ff;
|
|
|
--primary-color-dimmed: #c0c0f0;
|
|
|
--primary-color-dark: var(--blue-500);
|
|
|
--primary-color-light: var(--blue-100);
|
|
|
--primary-color-reverse: #ffffff;
|
|
|
--secondary-color: #ff8a65;
|
|
|
--secondary-color-dimmed: #f0d5c5;
|
|
|
--secondary-color-dark: var(--orange-500);
|
|
|
--secondary-color-light: var(--orange-100);
|
|
|
--secondary-color-reverse: #ffffff;
|
|
|
--link-color: #5898ff;
|
|
|
--link-color-dimmed: #c5c5c5;
|
|
|
--link-color-dark: #121212;
|
|
|
--link-color-light: #e2e2e2;
|
|
|
--link-color-reverse: #ffffff;
|
|
|
--semantic-blue: var(--blue-700);
|
|
|
--semantic-red: var(--red-400);
|
|
|
--semantic-orange: var(--orange-400);
|
|
|
--semantic-green: var(--green-700);
|
|
|
--neutral-100: #f5f5f5;
|
|
|
--neutral-200: #eeeeee;
|
|
|
--neutral-300: #e0e0e0;
|
|
|
--neutral-400: #bdbdbd;
|
|
|
--neutral-500: #9e9e9e;
|
|
|
--neutral-600: #757575;
|
|
|
--neutral-700: #616161;
|
|
|
--neutral-800: #424242;
|
|
|
--neutral-900: #212121;
|
|
|
--red-25: #fff8f7;
|
|
|
--red-50: #fff1ef;
|
|
|
--red-100: #ffeae6;
|
|
|
--red-200: #ffcac1;
|
|
|
--red-300: #ffa495;
|
|
|
--red-400: #ff7865;
|
|
|
--red-500: #f21c0d;
|
|
|
--red-600: #e50018;
|
|
|
--red-700: #d30024;
|
|
|
--red-800: #bd002c;
|
|
|
--red-900: #a1002f;
|
|
|
--orange-25: #fffbf8;
|
|
|
--orange-50: #fff7f1;
|
|
|
--orange-100: #fff3ea;
|
|
|
--orange-200: #ffe1c9;
|
|
|
--orange-300: #ffcca2;
|
|
|
--orange-400: #ffb677;
|
|
|
--orange-500: #fe9310;
|
|
|
--orange-600: #f58700;
|
|
|
--orange-700: #ea7c00;
|
|
|
--orange-800: #dc6d00;
|
|
|
--orange-900: #ca5b00;
|
|
|
--brown-25: #fff8ef;
|
|
|
--brown-50: #fff1df;
|
|
|
--brown-100: #ffe9ce;
|
|
|
--brown-200: #ebcca6;
|
|
|
--brown-300: #cdaf8a;
|
|
|
--brown-400: #af936f;
|
|
|
--brown-500: #856a47;
|
|
|
--brown-600: #7f5e34;
|
|
|
--brown-700: #78511f;
|
|
|
--brown-800: #6e4200;
|
|
|
--brown-900: #593200;
|
|
|
--yellow-25: #fffdf9;
|
|
|
--yellow-50: #fffcf2;
|
|
|
--yellow-100: #fffaec;
|
|
|
--yellow-200: #fff2ce;
|
|
|
--yellow-300: #ffe8ab;
|
|
|
--yellow-400: #ffdf85;
|
|
|
--yellow-500: #ffcf33;
|
|
|
--yellow-600: #f1c000;
|
|
|
--yellow-700: #dfb200;
|
|
|
--yellow-800: #c9a000;
|
|
|
--yellow-900: #ad8a00;
|
|
|
--lime-25: #f4ffee;
|
|
|
--lime-50: #e9ffdd;
|
|
|
--lime-100: #ddffca;
|
|
|
--lime-200: #a8fb6f;
|
|
|
--lime-300: #94e659;
|
|
|
--lime-400: #80d142;
|
|
|
--lime-500: #63b215;
|
|
|
--lime-600: #45a000;
|
|
|
--lime-700: #268e00;
|
|
|
--lime-800: #007417;
|
|
|
--lime-900: #005321;
|
|
|
--green-25: #f5fff5;
|
|
|
--green-50: #ebffea;
|
|
|
--green-100: #e0ffdf;
|
|
|
--green-200: #a7ffa7;
|
|
|
--green-300: #5afa65;
|
|
|
--green-400: #45e953;
|
|
|
--green-500: #17cf36;
|
|
|
--green-600: #00b944;
|
|
|
--green-700: #00a34a;
|
|
|
--green-800: #008749;
|
|
|
--green-900: #00653e;
|
|
|
--teal-25: #f3ffff;
|
|
|
--teal-50: #e6fffe;
|
|
|
--teal-100: #d9fffe;
|
|
|
--teal-200: #8dfffe;
|
|
|
--teal-300: #57f4f4;
|
|
|
--teal-400: #43e5e5;
|
|
|
--teal-500: #17cfcf;
|
|
|
--teal-600: #00c2c0;
|
|
|
--teal-700: #00b5b1;
|
|
|
--teal-800: #00a49e;
|
|
|
--teal-900: #009087;
|
|
|
--cyan-25: #f7fcff;
|
|
|
--cyan-50: #eff8ff;
|
|
|
--cyan-100: #e7f5ff;
|
|
|
--cyan-200: #c2e6ff;
|
|
|
--cyan-300: #95d5ff;
|
|
|
--cyan-400: #61c4ff;
|
|
|
--cyan-500: #13a7ec;
|
|
|
--cyan-600: #069eda;
|
|
|
--cyan-700: #0095c9;
|
|
|
--cyan-800: #0088b2;
|
|
|
--cyan-900: #0a7897;
|
|
|
--blue-25: #f7faff;
|
|
|
--blue-50: #eef5ff;
|
|
|
--blue-100: #e5f1ff;
|
|
|
--blue-200: #bfdbff;
|
|
|
--blue-300: #92c2ff;
|
|
|
--blue-400: #63a8ff;
|
|
|
--blue-500: #0d80f2;
|
|
|
--blue-600: #0077db;
|
|
|
--blue-700: #006dc4;
|
|
|
--blue-800: #0060a7;
|
|
|
--blue-900: #005086;
|
|
|
--indigo-25: #f8f7ff;
|
|
|
--indigo-50: #f1efff;
|
|
|
--indigo-100: #eae7ff;
|
|
|
--indigo-200: #ccc3ff;
|
|
|
--indigo-300: #ac99ff;
|
|
|
--indigo-400: #916aff;
|
|
|
--indigo-500: #63c;
|
|
|
--indigo-600: #5a21b2;
|
|
|
--indigo-700: #4e0b99;
|
|
|
--indigo-800: #3b0071;
|
|
|
--indigo-900: #220040;
|
|
|
--purple-25: #fbf7ff;
|
|
|
--purple-50: #f8f0ff;
|
|
|
--purple-100: #f4e8ff;
|
|
|
--purple-200: #e4c4ff;
|
|
|
--purple-300: #d49aff;
|
|
|
--purple-400: #c36aff;
|
|
|
--purple-500: #a219e6;
|
|
|
--purple-600: #9000c4;
|
|
|
--purple-700: #7c009f;
|
|
|
--purple-800: #600073;
|
|
|
--purple-900: #3d0043;
|
|
|
--magenta-25: #fff8fb;
|
|
|
--magenta-50: #fff2f6;
|
|
|
--magenta-100: #ffebf2;
|
|
|
--magenta-200: #ffcddf;
|
|
|
--magenta-300: #ffa8cb;
|
|
|
--magenta-400: #ff7fb7;
|
|
|
--magenta-500: #eb4799;
|
|
|
--magenta-600: #da3689;
|
|
|
--magenta-700: #c82179;
|
|
|
--magenta-800: #b00065;
|
|
|
--magenta-900: #8a004c;
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
:host {
|
|
|
--semantic-blue: var(--blue-700);
|
|
|
--semantic-red: var(--red-400);
|
|
|
--semantic-orange: var(--orange-400);
|
|
|
--semantic-green: var(--green-700);
|
|
|
--semantic-bg-blue: var(--blue-25);
|
|
|
--semantic-bg-red: var(--red-25);
|
|
|
--semantic-bg-orange: var(--orange-25);
|
|
|
--semantic-bg-green: var(--green-25);
|
|
|
--neutral-100: #121212;
|
|
|
--neutral-200: #424242;
|
|
|
--neutral-300: #616161;
|
|
|
--neutral-400: #757575;
|
|
|
--neutral-500: #9e9e9e;
|
|
|
--neutral-600: #bdbdbd;
|
|
|
--neutral-700: #e0e0e0;
|
|
|
--neutral-800: #eeeeee;
|
|
|
--neutral-900: #f5f5f5;
|
|
|
}
|
|
|
}
|
|
|
:host([theme='dark']) {
|
|
|
--semantic-blue: var(--blue-700);
|
|
|
--semantic-red: var(--red-400);
|
|
|
--semantic-orange: var(--orange-400);
|
|
|
--semantic-green: var(--green-700);
|
|
|
--semantic-bg-blue: var(--blue-25);
|
|
|
--semantic-bg-red: var(--red-25);
|
|
|
--semantic-bg-orange: var(--orange-25);
|
|
|
--semantic-bg-green: var(--green-25);
|
|
|
--neutral-100: #121212;
|
|
|
--neutral-200: #424242;
|
|
|
--neutral-300: #616161;
|
|
|
--neutral-400: #757575;
|
|
|
--neutral-500: #9e9e9e;
|
|
|
--neutral-600: #bdbdbd;
|
|
|
--neutral-700: #e0e0e0;
|
|
|
--neutral-800: #eeeeee;
|
|
|
--neutral-900: #f5f5f5;
|
|
|
}
|
|
|
/* @media (prefers-color-scheme: dark) {
|
|
|
:host {
|
|
|
--label-color: #fff;
|
|
|
--active-label-color: #000;
|
|
|
--menu-bg: #525252;
|
|
|
--active-bg: #5898ff;
|
|
|
--active-bg-dimmed: #5c5c5c;
|
|
|
}
|
|
|
} */
|
|
|
:host {
|
|
|
--ui-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
|
|
|
'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
|
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
|
--ui-font-size: 14px;
|
|
|
--ui-line-height: 1.5;
|
|
|
--ui-letter-spacing: 0.007em;
|
|
|
--mono-font-family: 'Berkeley Mono', 'JetBrains Mono', 'IBM Plex Mono',
|
|
|
'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;
|
|
|
--ui-layer-1: var(--neutral-100);
|
|
|
--ui-layer-2: var(--neutral-200);
|
|
|
--ui-layer-3: var(--neutral-300);
|
|
|
--ui-layer-4: var(--neutral-400);
|
|
|
--ui-layer-5: var(--neutral-500);
|
|
|
--ui-layer-6: var(--neutral-600);
|
|
|
--ui-border-color: var(--primary-color);
|
|
|
--ui-border-radius: 4px;
|
|
|
--ui-text: var(--neutral-900);
|
|
|
--ui-text-secondary: var(--neutral-700);
|
|
|
--ui-text-placeholder: var(--neutral-500);
|
|
|
--ui-text-muted: var(--neutral-300);
|
|
|
/** A field is a UI element in which a user can type data, for
|
|
|
* example an input or textarea element.
|
|
|
*/
|
|
|
--ui-field-bg: var(--neutral-100);
|
|
|
--ui-field-bg-hover: var(--neutral-100);
|
|
|
--ui-field-bg-disabled: var(--neutral-300);
|
|
|
--ui-field-bg-invalid: var(--red-100);
|
|
|
--ui-field-bg-focus: var(--neutral-100);
|
|
|
--ui-field-border: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-hover: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-disabled: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-invalid: 0.5px solid var(--border-color);
|
|
|
--ui-field-border-focus: 0.5px solid var(--border-color);
|
|
|
--ui-menu-bg: var(--neutral-100);
|
|
|
--ui-menu-text: var(--neutral-900);
|
|
|
--ui-menu-bg-hover: var(--neutral-200);
|
|
|
--ui-menu-text-hover: var(--neutral-900);
|
|
|
/** The \`active\` state is used for the state of menu items
|
|
|
* when they are selected.
|
|
|
*/
|
|
|
--ui-menu-bg-active: var(--primary-color);
|
|
|
--ui-menu-text-active: var(--primary-color-reverse);
|
|
|
/** The \`active-muted\` set is used for the state of
|
|
|
* submenus when they are open.
|
|
|
*/
|
|
|
--ui-menu-bg-active-muted: var(--neutral-300);
|
|
|
--ui-menu-text-active-muted: var(--neutral-900);
|
|
|
/* --ui-menu-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),
|
|
|
0 2px 6px 2px rgba(60, 64, 67, 0.149); */
|
|
|
--ui-menu-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);
|
|
|
--ui-menu-divider: 0.5px solid #c7c7c7;
|
|
|
/* var(--neutral-300); */
|
|
|
--ui-menu-z-index: 10000;
|
|
|
--page-bg: var(--neutral-100);
|
|
|
--content-bg: var(--neutral-200);
|
|
|
}
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
:host {
|
|
|
--ui-menu-bg: var(--neutral-200);
|
|
|
}
|
|
|
}
|
|
|
:host([theme='dark']) {
|
|
|
--ui-menu-bg: var(--neutral-200);
|
|
|
}
|
|
|
/* PingFang SC is a macOS font. Microsoft Yahei is a Windows font.
|
|
|
Noto is a Linux/Android font.
|
|
|
*/
|
|
|
:lang(zh-cn),
|
|
|
:lang(zh-sg),
|
|
|
:lang(zh-my),
|
|
|
:lang(zh) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'PingFang SC', 'Hiragino Sans GB',
|
|
|
'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans', 'Microsoft Yahei UI',
|
|
|
'Microsoft YaHei New', 'Microsoft Yahei', '\u5FAE\u8F6F\u96C5\u9ED1', SimSun, '\u5B8B\u4F53',
|
|
|
STXihei, '\u534E\u6587\u7EC6\u9ED1', sans-serif;
|
|
|
}
|
|
|
:lang(zh-tw),
|
|
|
:lang(zh-hk),
|
|
|
:lang(zh-mo) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Noto Sans',
|
|
|
'Microsoft JhengHei UI', 'Microsoft JhengHei', '\u5FAE\u8EDF\u6B63\u9ED1\u9AD4', '\u65B0\u7D30\u660E\u9AD4',
|
|
|
'PMingLiU', '\u7D30\u660E\u9AD4', 'MingLiU', sans-serif;
|
|
|
}
|
|
|
:lang(ja),
|
|
|
:lang(ja-jp),
|
|
|
:lang(ja-jp-mac) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Hiragino Sans',
|
|
|
'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans',
|
|
|
'\u6E38\u30B4\u30B7\u30C3\u30AF', '\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53', YuGothic, 'Yu Gothic', '\u30E1\u30A4\u30EA\u30AA', Meiryo,
|
|
|
'\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF', 'MS PGothic', sans-serif;
|
|
|
}
|
|
|
:lang(ko),
|
|
|
:lang(ko-kr),
|
|
|
:lang(ko-kr-std) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
|
|
|
'Noto Sans', 'Malgun Gothic', '\uB9D1\uC740 \uACE0\uB515', 'Apple SD Gothic Neo',
|
|
|
'\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo', 'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
|
|
|
}
|
|
|
:lang(ko-kr-apple) {
|
|
|
--ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR',
|
|
|
'Noto Sans', 'Apple SD Gothic Neo', '\uC560\uD50C SD \uC0B0\uB3CC\uACE0\uB515 Neo',
|
|
|
'Apple SD \uC0B0\uB3CC\uACE0\uB515 Neo', '\uB3CB\uC6C0', Dotum, sans-serif;
|
|
|
}
|
|
|
:lang(zh-cn),
|
|
|
:lang(zh-sg),
|
|
|
:lang(zh-my),
|
|
|
:lang(zh),
|
|
|
:lang(zh-tw),
|
|
|
:lang(zh-hk),
|
|
|
:lang(zh-mo),
|
|
|
:lang(ja),
|
|
|
:lang(ja-jp),
|
|
|
:lang(ja-jp-mac),
|
|
|
:lang(ko),
|
|
|
:lang(ko-kr),
|
|
|
:lang(ko-kr-std),
|
|
|
:lang(ko-kr-apple) {
|
|
|
--ui-font-size: 1rem;
|
|
|
--ui-line-height: 1.7;
|
|
|
--ui-letter-spacing: 0;
|
|
|
}
|
|
|
:dir(rtl) {
|
|
|
--ui-line-height: auto;
|
|
|
--ui-letter-spacing: 0;
|
|
|
}
|
|
|
`,dh=`.ui-menu *,
|
|
|
.ui-menu ::before,
|
|
|
.ui-menu ::after {
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
.ui-menu {
|
|
|
display: none;
|
|
|
color-scheme: light dark;
|
|
|
-webkit-user-select: none;
|
|
|
/* Important: Safari iOS doesn't respect user-select */
|
|
|
user-select: none;
|
|
|
cursor: default;
|
|
|
-webkit-touch-callout: none;
|
|
|
-webkit-tap-highlight-color: rgba(0 0 0 0);
|
|
|
--active-label-color: #fff;
|
|
|
/* ui-menu-text-active */
|
|
|
--label-color: #121212;
|
|
|
/* ui-menu-text */
|
|
|
--menu-bg: #e2e2e2;
|
|
|
/* ui-menu-background */
|
|
|
--active-bg: #5898ff;
|
|
|
/* ui-menu-background-active */
|
|
|
--active-bg-dimmed: #c5c5c5;
|
|
|
/* ui-menu-background-active-muted */
|
|
|
}
|
|
|
/** Use the :where pseudo selector to make the specificity of the
|
|
|
* selector 0, so that it can be overridden by the user.
|
|
|
*/
|
|
|
:where(.ui-menu-container) {
|
|
|
position: absolute;
|
|
|
overflow: visible;
|
|
|
width: auto;
|
|
|
height: auto;
|
|
|
z-index: 10000;
|
|
|
border-radius: 8px;
|
|
|
background: var(--ui-menu-bg);
|
|
|
box-shadow: var(--ui-menu-shadow);
|
|
|
list-style: none;
|
|
|
padding: 6px 0 6px 0;
|
|
|
margin: 0;
|
|
|
user-select: none;
|
|
|
cursor: default;
|
|
|
color: var(--ui-menu-text);
|
|
|
font-weight: normal;
|
|
|
font-style: normal;
|
|
|
text-shadow: none;
|
|
|
text-transform: none;
|
|
|
letter-spacing: 0;
|
|
|
outline: none;
|
|
|
opacity: 1;
|
|
|
/* The [popover] elements have a 1px solid black border. Ugh. */
|
|
|
border: none;
|
|
|
width: fit-content;
|
|
|
height: fit-content;
|
|
|
}
|
|
|
:where(.ui-menu-container > li) {
|
|
|
display: flex;
|
|
|
flex-flow: row;
|
|
|
align-items: center;
|
|
|
padding: 1px 7px 1px 7px;
|
|
|
margin-top: 0;
|
|
|
margin-left: 6px;
|
|
|
margin-right: 6px;
|
|
|
border-radius: 4px;
|
|
|
white-space: nowrap;
|
|
|
position: relative;
|
|
|
outline: none;
|
|
|
fill: currentColor;
|
|
|
user-select: none;
|
|
|
cursor: default;
|
|
|
text-align: left;
|
|
|
color: inherit;
|
|
|
font-family: var(--ui-font-family);
|
|
|
font-size: var(--ui-font-size);
|
|
|
line-height: var(--ui-line-height);
|
|
|
letter-spacing: var(--ui-letter-spacing);
|
|
|
}
|
|
|
:where(.ui-menu-container > li > .label) {
|
|
|
appearance: none;
|
|
|
background: none;
|
|
|
outline: none;
|
|
|
width: 100%;
|
|
|
margin: 0;
|
|
|
padding: 1px 2px 1px 1px;
|
|
|
overflow: visible;
|
|
|
border: 1px solid transparent;
|
|
|
white-space: nowrap;
|
|
|
text-align: start;
|
|
|
}
|
|
|
:where(.ui-menu-container > li:has(.heading)) {
|
|
|
margin-top: 0.5em;
|
|
|
}
|
|
|
:where(.ui-menu-container > li > .label.heading) {
|
|
|
font-weight: bold;
|
|
|
opacity: 0.4;
|
|
|
}
|
|
|
:where(.ui-menu-container > li.indent > .label) {
|
|
|
margin-inline-start: 12px;
|
|
|
}
|
|
|
:where(.ui-menu-container > li > .label.indent) {
|
|
|
margin-inline-start: 12px;
|
|
|
}
|
|
|
:where(.ui-menu-container > li[role='divider']) {
|
|
|
border-bottom: 1px solid var(--ui-menu-divider);
|
|
|
border-radius: 0;
|
|
|
padding: 0;
|
|
|
margin-left: 15px;
|
|
|
margin-right: 15px;
|
|
|
padding-top: 5px;
|
|
|
margin-bottom: 5px;
|
|
|
width: calc(100% - 30px);
|
|
|
/** 100% - (margin-left + margin-right) */
|
|
|
}
|
|
|
:where(.ui-menu-container > li[aria-disabled='true']) {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
:where(.ui-menu-container > li.active) {
|
|
|
background: var(--ui-menu-bg-active);
|
|
|
background: -apple-system-control-accent;
|
|
|
color: var(--ui-menu-text-active);
|
|
|
}
|
|
|
:where(.ui-menu-container > li.active.is-submenu-open) {
|
|
|
background: var(--ui-menu-bg-active-muted);
|
|
|
color: inherit;
|
|
|
}
|
|
|
:where(.ui-menu-container > li[aria-haspopup='true'] > .label) {
|
|
|
padding-inline-end: 0;
|
|
|
}
|
|
|
:where(.ui-menu-container > li[aria-haspopup='true'].active::after) {
|
|
|
color: var(--ui-menu-text-active);
|
|
|
}
|
|
|
/** Keyboard shortcut */
|
|
|
:where(.ui-menu-container > li > kbd) {
|
|
|
font-family: var(--ui-font-family);
|
|
|
margin-inline-start: 12px;
|
|
|
opacity: 0.4;
|
|
|
}
|
|
|
:where(.ui-menu-container > li.active > kbd) {
|
|
|
opacity: 0.85;
|
|
|
}
|
|
|
.ui-trailing-chevron {
|
|
|
display: flex;
|
|
|
margin-inline-start: 24px;
|
|
|
width: 10px;
|
|
|
height: 10px;
|
|
|
margin-bottom: 4px;
|
|
|
}
|
|
|
.ui-trailing-chevron:dir(rtl) {
|
|
|
transform: scaleX(-1);
|
|
|
}
|
|
|
.ui-checkmark {
|
|
|
display: flex;
|
|
|
margin-inline-end: -11px;
|
|
|
margin-inline-start: -4px;
|
|
|
margin-top: 2px;
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
}
|
|
|
.ui-mixedmark {
|
|
|
display: flex;
|
|
|
margin-inline-end: -11px;
|
|
|
margin-inline-start: -4px;
|
|
|
margin-top: 2px;
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
}
|
|
|
`,bo;function vc(a){let y="";switch(a){case"mathfield-element":y=`
|
|
|
:host { display: inline-block; background-color: field; color: fieldtext; border-width: 1px; border-style: solid; border-color: #acacac; border-radius: 2px; padding:4px;}
|
|
|
:host([hidden]) { display: none; }
|
|
|
:host([disabled]), :host([disabled]:focus), :host([disabled]:focus-within) { outline: none; opacity: .5; }
|
|
|
:host(:focus), :host(:focus-within) {
|
|
|
outline: Highlight auto 1px; /* For Firefox */
|
|
|
outline: -webkit-focus-ring-color auto 1px;
|
|
|
}
|
|
|
:host([readonly]:focus), :host([readonly]:focus-within),
|
|
|
:host([read-only]:focus), :host([read-only]:focus-within) {
|
|
|
outline: none;
|
|
|
}
|
|
|
@media (hover: none) and (pointer: coarse) {
|
|
|
:host(:not(:focus)) :first-child { pointer-events: none !important; }
|
|
|
}`;break;case"core":y=ho;break;case"mathfield":y=Af;break;case"environment-popover":y=Mf;break;case"suggestion-popover":y=uh;break;case"keystroke-caption":y=Ic;break;case"virtual-keyboard":y=ch;break;case"ui":y=xd;break;case"menu":y=dh;break;default:debugger}return y}function Oc(a){return bo||(bo={}),bo[a]||(bo[a]=new CSSStyleSheet,bo[a].replaceSync(vc(a))),bo[a]}var Pu;function Hl(a){var y;if(!("adoptedStyleSheets"in document)){if(window.document.getElementById(`mathlive-style-${a}`))return;const b=window.document.createElement("style");b.id=`mathlive-style-${a}`,b.append(window.document.createTextNode(vc(a))),window.document.head.appendChild(b);return}if(Pu||(Pu={}),((y=Pu[a])!=null?y:0)!==0)Pu[a]+=1;else{const b=Oc(a);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b],Pu[a]=1}}function x(a){if("adoptedStyleSheets"in document&&Pu!=null&&Pu[a]&&(Pu[a]-=1,Pu[a]<=0)){const y=bo[a];document.adoptedStyleSheets=document.adoptedStyleSheets.filter(b=>b!==y)}}var z=class kp extends ar{constructor(y){var b;super(Ee(xe({},y),{type:"accent",body:(b=y.body)!=null?b:void 0})),y.accentChar?this.accent=y.accentChar:this.svgAccent=y==null?void 0:y.svgAccent,this.skipBoundary=!0,this.captureSelection=!0}static fromJson(y){return new kp(y)}toJson(){return Ee(xe({},super.toJson()),{accentChar:this.accent,svgAccent:this.svgAccent})}render(y){var b;const E=new La({parent:y,mathstyle:"cramp"},this.style),ee=(b=ar.createBox(E,this.body))!=null?b:new Vr("\u25A2",{style:this.style});let re=0;!this.hasEmptyBranch("body")&&this.body.length===2&&this.body[1].isCharacterBox()&&(re=ee.skew);let oe=Math.min(ee.height,Fl),me;if(this.svgAccent)me=Ml(this.svgAccent),oe=E.metrics.bigOpSpacing1-oe;else if(this.accent){const we=new Vr(this.accent,{fontFamily:"Main-Regular"});we.italic=0;const Me=this.accent===8407?" ML__accent-vec":"";me=new Vr(new Vr(we),{classes:"ML__accent-body"+Me})}me=new oo({shift:0,children:[{box:new Vr(ee)},-oe,{box:me,marginLeft:ee.left+2*re,classes:["ML__center"]}]});const ge=new Vr(me,{type:"lift"});return this.caret&&(ge.caret=this.caret),this.bind(E,ge.wrap(E)),this.attachSupsub(E,{base:ge})}},ne={"(":")","{":"}","[":"]","|":"|","\\lbrace":"\\rbrace","\\lparen":"\\rparen","\\{":"\\}","\\langle":"\\rangle","\\lfloor":"\\rfloor","\\lceil":"\\rceil","\\vert":"\\vert","\\lvert":"\\rvert","\\Vert":"\\Vert","\\lVert":"\\rVert","\\lbrack":"\\rbrack","\\ulcorner":"\\urcorner","\\llcorner":"\\lrcorner","\\lgroup":"\\rgroup","\\lmoustache":"\\rmoustache"},te=Object.fromEntries(Object.entries(ne).map(([a,y])=>[y,a]));function ie(a){var y;return(y={"[":91,"]":93,"(":40,")":41,"\\mid":8739,"|":8739,"\u2223":8739,"\u2225":8741,"\\|":8739,"\\{":123,"\\}":125,"\\lbrace":123,"\\rbrace":125,"\\lparen":40,"\\rparen":41,"\\lbrack":91,"\\rbrack":93,"\\vert":8739,"\\lvert":8739,"\\mvert":8739,"\\rvert":8739,"\\Vert":8741,"\\lVert":8741,"\\mVert":8741,"\\rVert":8741,"\\parallel":8741,"\\shortparallel":8741,"\\langle":10216,"\\rangle":10217,"\\lfloor":8970,"\\rfloor":8971,"\\lceil":8968,"\\rceil":8969,"\\ulcorner":9484,"\\urcorner":9488,"\\llcorner":9492,"\\lrcorner":9496,"\\lgroup":10222,"\\rgroup":10223,"\\lmoustache":9136,"\\rmoustache":9137,"\\surd":8730}[a])!=null?y:a.codePointAt(0)}function de(a,y,b,E){var ee;const oe=new Vr(ie(a),{fontFamily:"Main-Regular",isSelected:E.isSelected,classes:"ML__small-delim "+((ee=E.classes)!=null?ee:"")}).wrap(y);return b&&oe.setTop((1-y.scalingFactor)*to),oe}function be(a,y,b,E,ee){var re,oe;const me=new La({parent:E,mathstyle:"textstyle"},ee==null?void 0:ee.style),ge=new Vr(ie(a),{fontFamily:`Size${y}-Regular`,isSelected:ee.isSelected,classes:((re=ee.classes)!=null?re:"")+` ML__delim-size${y}`,type:(oe=ee.type)!=null?oe:"ignore"}).wrap(me);return b&&ge.setTop((1-me.scalingFactor)*to),ge}function De(a,y,b,E,ee){var re;let oe,me,ge,we;oe=ge=we=ie(a),me=null;let Me="Size1-Regular";a==="\\vert"||a==="\\lvert"||a==="\\rvert"||a==="\\mvert"||a==="\\mid"?ge=oe=we=8739:a==="\\Vert"||a==="\\lVert"||a==="\\rVert"||a==="\\mVert"||a==="\\|"?ge=oe=we=8741:a==="\\uparrow"?ge=we=9168:a==="\\Uparrow"?ge=we=8214:a==="\\downarrow"?oe=ge=9168:a==="\\Downarrow"?oe=ge=8214:a==="\\updownarrow"?(oe=8593,ge=9168,we=8595):a==="\\Updownarrow"?(oe=8657,ge=8214,we=8659):a==="["||a==="\\lbrack"?(oe=9121,ge=9122,we=9123,Me="Size4-Regular"):a==="]"||a==="\\rbrack"?(oe=9124,ge=9125,we=9126,Me="Size4-Regular"):a==="\\lfloor"||a==="\u230A"?(ge=oe=9122,we=9123,Me="Size4-Regular"):a==="\\lceil"||a==="\u2308"?(oe=9121,ge=we=9122,Me="Size4-Regular"):a==="\\rfloor"||a==="\u230B"?(ge=oe=9125,we=9126,Me="Size4-Regular"):a==="\\rceil"||a==="\u2309"?(oe=9124,ge=we=9125,Me="Size4-Regular"):a==="("||a==="\\lparen"?(oe=9115,ge=9116,we=9117,Me="Size4-Regular"):a===")"||a==="\\rparen"?(oe=9118,ge=9119,we=9120,Me="Size4-Regular"):a==="\\{"||a==="\\lbrace"?(oe=9127,me=9128,we=9129,ge=9130,Me="Size4-Regular"):a==="\\}"||a==="\\rbrace"?(oe=9131,me=9132,we=9133,ge=9130,Me="Size4-Regular"):a==="\\lgroup"||a==="\u27EE"?(oe=9127,we=9129,ge=9130,Me="Size4-Regular"):a==="\\rgroup"||a==="\u27EF"?(oe=9131,we=9133,ge=9130,Me="Size4-Regular"):a==="\\lmoustache"||a==="\u23B0"?(oe=9127,we=9133,ge=9130,Me="Size4-Regular"):a==="\\rmoustache"||a==="\u23B1"?(oe=9131,we=9129,ge=9130,Me="Size4-Regular"):a==="\\surd"?(oe=57345,we=9143,ge=57344,Me="Size4-Regular"):a==="\\ulcorner"?(oe=9484,ge=we=32):a==="\\urcorner"?(oe=9488,ge=we=32):a==="\\llcorner"?(we=9492,ge=oe=32):a==="\\lrcorner"&&(oe=9496,ge=oe=32);const Je=_l(oe,Me),mt=Je.height+Je.depth,It=_l(ge,Me),_t=It.height+It.depth,Wn=_l(we,Me),Yr=Wn.height+Wn.depth;let zn=0,hr=1;if(me!==null){const Ws=_l(me,Me);zn=Ws.height+Ws.depth,hr=2}const ei=mt+Yr+zn,Ar=Math.max(0,Math.ceil((y-ei)/(hr*_t))),Li=ei+Ar*hr*_t;let Hi=to;b&&(Hi=Hi*E.scalingFactor);const Ri=Li/2-Hi,Na=.008,po=[];po.push({box:new Vr(we,{fontFamily:Me})}),po.push(-Na);const ii=new Vr(ge,{fontFamily:Me});if(me===null)for(let Ws=0;Ws<Ar;Ws++)po.push({box:ii});else{for(let Ws=0;Ws<Ar;Ws++)po.push({box:ii});po.push(-Na),po.push({box:new Vr(me,{fontFamily:Me})}),po.push(-Na);for(let Ws=0;Ws<Ar;Ws++)po.push({box:ii})}po.push(-Na),po.push({box:new Vr(oe,{fontFamily:Me})});let eu="";Me==="Size1-Regular"?eu=" delim-size1":Me==="Size4-Regular"&&(eu=" delim-size4");const ec=new oo({bottom:Ri,children:po},{classes:eu});return new Vr(ec,Ee(xe({},ee!=null?ee:{}),{classes:((re=ee==null?void 0:ee.classes)!=null?re:"")+" ML__delim-mult"}))}var Ie=new Set(["(",")","\\lparen","\\rparen","[","]","\\lbrack","\\rbrack","\\{","\\}","\\lbrace","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd","\u230A","\u230B","\u2308","\u2309"]),Xe=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\mvert","\\mid","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","\u27EE","\u27EF","\u23B0","\u23B1"]),Ft=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Yt=[0,1.2,1.8,2.4,3];function Ln(a,y,b,E){return a===void 0||a==="."?Bi(b,E.classes):(a==="<"||a==="\\lt"||a==="\u27E8"?a="\\langle":(a===">"||a==="\\gt"||a==="\u27E9")&&(a="\\rangle"),Ie.has(a)||Ft.has(a)?be(a,y,!1,b,E):Xe.has(a)?De(a,Yt[y],!1,b,E):(console.assert(!1,"Unknown delimiter '"+a+"'"),null))}var Mn=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],cr=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"stack"}],Pr=[{type:"small",mathstyle:"scriptscriptstyle"},{type:"small",mathstyle:"scriptstyle"},{type:"small",mathstyle:"textstyle"},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}];function ni(a){return a.type==="small"?"Main-Regular":a.type==="large"?"Size"+a.size+"-Regular":(console.assert(a.type==="stack"),"Size4-Regular")}function yi(a,y,b,E){const ee={"-4":0,"-3":1,0:2}[E.mathstyle.sizeDelta];for(let re=ee;re<b.length&&b[re].type!=="stack";re++){const oe=_l(a,ni(b[re]));if(oe.defaultMetrics)return{type:"small",mathstyle:"scriptstyle"};let me=oe.height+oe.depth;if(b[re].type==="small"&&(b[re].mathstyle==="scriptscriptstyle"?me*=Math.max(oc[Math.max(1,E.size-2)],E.minFontScale):b[re].mathstyle==="scriptstyle"&&(me*=Math.max(oc[Math.max(1,E.size-1)],E.minFontScale))),me>y)return b[re]}return b[b.length-1]}function Mi(a,y,b,E,ee,re){if(!y||y.length===0||y===".")return Bi(ee);y==="<"||y==="\\lt"?y="\\langle":(y===">"||y==="\\gt")&&(y="\\rangle");let oe;Ft.has(y)?oe=Mn:Ie.has(y)?oe=Pr:oe=cr;const me=yi(ie(y),b,oe,ee),ge=new La({parent:ee,mathstyle:me.mathstyle},re==null?void 0:re.style);return me.type==="small"?de(y,ge,E,Ee(xe({},re),{type:a})):me.type==="large"?be(y,me.size,E,ge,Ee(xe({},re),{type:a})):(console.assert(me.type==="stack"),De(y,b,E,ge,Ee(xe({},re),{type:a})))}function hi(a,y,b,E,ee,re){if(y===".")return Bi(ee,re==null?void 0:re.classes);const oe=to*ee.scalingFactor,me=901,ge=5/Ko,we=Math.max(b-oe,E+oe),Me=Math.max(we/500*me,2*we-ge);return Mi(a,y,Me,!0,ee,re)}function Bi(a,y){const b=new Vr(null,{classes:" nulldelimiter "+(y!=null?y:""),type:"ignore"});return b.width=a.getRegisterAsEm("nulldelimiterspace"),b.wrap(new La({parent:a,mathstyle:"textstyle"}))}var Wi=class Dp extends ar{constructor(y){var b;super({type:"placeholder",command:"\\placeholder",mode:(b=y==null?void 0:y.mode)!=null?b:"math",style:y==null?void 0:y.style}),this.captureSelection=!0}static fromJson(y){return new Dp(y)}toJson(){return super.toJson()}render(y){let b;return this.value=y.placeholderSymbol,typeof y.renderPlaceholder=="function"?b=y.renderPlaceholder(y):b=this.createBox(y),this.caret&&(b.classes+=" ML__placeholder-selected"),b}_serialize(y){return y.skipPlaceholders?"":"\\placeholder{}"}},_i=["matrix","matrix*","pmatrix","pmatrix*","bmatrix","bmatrix*","Bmatrix","Bmatrix*","vmatrix","vmatrix*","Vmatrix","Vmatrix*"],ka=["cases","dcases","rcases"],xo=["align","align*","aligned","gather","gathered","split"],Fs=["array","subequations","eqnarray"];function Zo(a){return Fs.concat(xo).concat(ka).concat(_i).includes(a)}function ol(a){return _i.includes(a)}function sl(a){return ka.includes(a)}function vs(a){return xo.includes(a)}function ll(a,y,b){let E=0;for(const we of b)"align"in we&&(E+=1);let ee=0;const re=[];for(const we of y){let Me=0;for(ee=Math.max(ee,Math.min(we.length,E));Me<we.length;){const Je=[],mt=Math.min(we.length,Me+E);for(;Me<mt;){const It=we[Me];It.length===0?Je.push([new ar({type:"first",mode:a.mode})]):It[0].type!=="first"?Je.push([new ar({type:"first",mode:a.mode}),...It]):(console.assert(!It.slice(1).some(_t=>_t.type==="first")),Je.push(It)),Me+=1}re.push(Je)}}re.length>0&&re[re.length-1].length===1&&re[re.length-1][0].length===1&&re[re.length-1][0][0].type==="first"&&re.pop();const oe=[];for(const we of re){if(we.length!==ee)for(let Me=we.length;Me<ee;Me++)we.push([new ar({type:"first",mode:a.mode}),new Wi]);oe.push(we)}let me=0,ge=0;for(const we of oe){ge=0;for(const Me of we){for(const Je of Me)Je.parent=a,Je.parentBranch=[me,ge];ge+=1}me+=1}return a.isDirty=!0,oe}var la=class Bp extends ar{constructor(y,b,E,ee={}){var re;super({type:"array"}),this.environmentName=y,this.rowGaps=E,ee.mathstyleName&&(this.mathstyleName=ee.mathstyleName),ee.columns&&(ee.columns.length===0?this.colFormat=[{align:"l"}]:this.colFormat=ee.columns),this.colFormat||(this.colFormat=[{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"},{align:"l"}]),this.array=ll(this,b,this.colFormat),ee.leftDelim&&(this.leftDelim=ee.leftDelim),ee.rightDelim&&(this.rightDelim=ee.rightDelim),ee.arraycolsep!==void 0&&(this.arraycolsep=ee.arraycolsep),this.colSeparationType=ee.colSeparationType,ee.arraystretch!==void 0&&(this.arraystretch=ee.arraystretch),this.minColumns=(re=ee.minColumns)!=null?re:1}static fromJson(y){return new Bp(y.environmentName,y.array,y.rowGaps,y)}toJson(){const y=Ee(xe({},super.toJson()),{environmentName:this.environmentName,array:this.array.map(b=>b.map(E=>E.map(ee=>ee.toJson()))),rowGaps:this.rowGaps,columns:this.colFormat,colSeparationType:this.colSeparationType});return this.arraystretch!==void 0&&(y.arraystretch=this.arraystretch),this.arraycolsep!==void 0&&(y.arraycolsep=this.arraycolsep),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}branch(y){var b;if(ju(y))return(b=this.array[y[0]][y[1]])!=null?b:void 0}createBranch(y){var b;return ju(y)?(this.isDirty=!0,(b=this.branch(y))!=null?b:[]):[]}get rowCount(){return this.array.length}get colCount(){return this.array[0].length}get maxColumns(){return this.colFormat.filter(y=>!!y.align).length}removeBranch(y){if(Ns(y))return super.removeBranch(y);const b=this.branch(y);return this.array[y[0]][y[1]]=void 0,b.forEach(E=>{E.parent=void 0,E.parentBranch=void 0}),console.assert(b[0].type==="first"),b.shift(),this.isDirty=!0,b}get hasChildren(){return this.children.length>0}get children(){const y=[];for(const b of this.array)for(const E of b)if(E)for(const ee of E)y.push(...ee.children),y.push(ee);return[...y,...super.children]}render(y){var b,E,ee,re,oe,me;const ge=new La({parent:y,mathstyle:this.mathstyleName},this.style),we=ge.getRegisterAsEm("arrayrulewidth"),Me=ge.getRegisterAsEm("arraycolsep"),Je=ge.getRegisterAsEm("doublerulesep"),mt=(E=(b=this.arraystretch)!=null?b:ge.getRegisterAsNumber("arraystretch"))!=null?E:1;let It=typeof this.arraycolsep=="number"?this.arraycolsep:Me;this.colSeparationType==="small"&&(It=.2778*(new La({parent:y,mathstyle:"scriptstyle"}).scalingFactor/y.scalingFactor));const _t=mt*Ac,Wn=.7*_t,Yr=.3*_t;let zn=0;const hr=[];let ei=0;const Ar=this.array.length;for(let Co=0;Co<Ar;++Co){const ss=this.array[Co];ei=Math.max(ei,ss.length);const Zs=new La({parent:ge,mathstyle:this.mathstyleName},this.style);let tc=Wn/Zs.scalingFactor,nc=Yr/Zs.scalingFactor;const rc={cells:[],height:0,depth:0,pos:0};for(const Ou of ss){const e0=(ee=ar.createBox(Zs,Ou,{type:"ignore"}))!=null?ee:new Vr(null,{type:"ignore"});nc=Math.max(nc,e0.depth),tc=Math.max(tc,e0.height),rc.cells.push(e0)}let ic=(re=Bc(this.rowGaps[Co]))!=null?re:0;ic>0&&(ic+=Yr,nc=Math.max(nc,ic),ic=0),Co<Ar-1&&!ol(this.environmentName)&&this.environmentName!=="cases"&&this.environmentName!=="array"&&(nc+=ge.getRegisterAsEm("jot")),rc.height=tc,rc.depth=nc,zn+=tc,rc.pos=zn,zn+=nc+ic,hr.push(rc)}const Li=zn/2+to,Hi=[];for(let Co=0;Co<ei;Co++){const ss=[];for(const Zs of hr){const tc=Zs.cells[Co];tc.depth=Zs.depth,tc.height=Zs.height,ss.push({box:tc,shift:Zs.pos-Li})}ss.length>0&&Hi.push(new oo({individualShift:ss}))}const Ri=[];let Na=!1,po=!1,ii=0,eu=!this.leftDelim;const{colFormat:ec}=this;for(const Co of ec){if("align"in Co&&ii>=Hi.length)break;if("align"in Co)Na?Ri.push(jo(2*It)):(po||eu)&&Ri.push(jo(It)),Ri.push(new Vr(Hi[ii],{classes:"col-align-"+Co.align})),ii++,Na=!0,po=!1,eu=!1;else if("gap"in Co){if(typeof Co.gap=="number")Ri.push(jo(Co.gap));else{const ss=Xo(y,hr,Li,Co.gap);ss&&Ri.push(ss)}Na=!1,po=!1,eu=!1}else if("separator"in Co){const ss=new Vr(null,{classes:"vertical-separator"});ss.height=zn,ss.setStyle("height",zn,"em"),ss.setStyle("border-right",`${we}em ${Co.separator} currentColor`),ss.setStyle("vertical-align",-(zn-Li),"em");let Zs=0;po?Zs=Je-we:Na&&(Zs=It-we),ss.left=Zs,Ri.push(ss),Na=!1,po=!0,eu=!1}}Na&&!this.rightDelim&&Ri.push(jo(It));const wu=new Vr(Ri,{classes:"mtable"});if((!this.leftDelim||this.leftDelim===".")&&(!this.rightDelim||this.rightDelim==="."))return this.caret&&(wu.caret=this.caret),this.bind(y,wu);const Ws=wu.height,tu=wu.depth,Bl=this.bind(y,new Vr([this.bind(y,hi("open",(oe=this.leftDelim)!=null?oe:".",Ws,tu,ge,{isSelected:this.isSelected})),wu,this.bind(y,hi("close",(me=this.rightDelim)!=null?me:".",Ws,tu,ge,{isSelected:this.isSelected}))],{type:"ord"}));return Bl?(Bl.setStyle("display","inline-block"),this.caret&&(Bl.caret=this.caret),this.bind(y,this.attachSupsub(y,{base:Bl}))):null}_serialize(y){var b;const E=[];if(this.environmentName==="lines"?E.push("{\\displaylines"):E.push(`\\begin{${this.environmentName}}`),this.environmentName==="array"){if(E.push("{"),this.colFormat!==void 0)for(const ee of this.colFormat)"align"in ee&&typeof ee.align=="string"?E.push(ee.align):"separator"in ee&&ee.separator==="solid"?E.push("|"):"separator"in ee&&ee.separator==="dashed"&&E.push(":");E.push("}")}for(let ee=0;ee<this.array.length;ee++){for(let re=0;re<this.array[ee].length;re++)re>0&&E.push(" & "),E.push(ar.serialize(this.array[ee][re],y));if(ee<this.array.length-1){const re=this.rowGaps[ee];re!=null&&re.dimension?E.push(`\\\\[${re.dimension} ${(b=re.unit)!=null?b:"pt"}] `):E.push("\\\\ ")}}return this.environmentName==="lines"?E.push("}"):E.push(`\\end{${this.environmentName}}`),wa(E)}getCell(y,b){return this.array[y][b]}setCell(y,b,E){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.array[y][b]!==void 0);for(const re of this.array[y][b])re.parent=void 0,re.parentBranch=void 0;let ee=E;(E.length===0||E[0].type!=="first")&&(ee=[new ar({type:"first",mode:this.mode}),...E]),this.array[y][b]=ee;for(const re of ee)re.parent=this,re.parentBranch=[y,b];this.isDirty=!0}addRowBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(Qo(this));this.array.splice(y,0,b);for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const oe of re)oe.parentBranch=[E,ee]}this.isDirty=!0}addRowAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));const b=[];for(let E=0;E<this.colCount;E++)b.push(Qo(this));this.array.splice(y+1,0,b);for(let E=y+1;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const oe of re)oe.parentBranch=[E,ee]}this.isDirty=!0}removeRow(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.rowCount>y);const b=this.array.splice(y,1);for(const E of b)for(const ee of E)if(ee)for(const re of ee)re.parent=void 0,re.parentBranch=void 0;for(let E=y;E<this.rowCount;E++)for(let ee=0;ee<this.colCount;ee++){const re=this.array[E][ee];if(re)for(const oe of re)oe.parentBranch=[E,ee]}this.isDirty=!0}addColumnBefore(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y,0,Qo(this));for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const re of ee)re.parentBranch=[b,E]}this.isDirty=!0}addColumnAfter(y){console.assert(this.type==="array"&&Array.isArray(this.array));for(const b of this.array)b.splice(y+1,0,Qo(this));for(let b=0;b<this.rowCount;b++)for(let E=y+1;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const re of ee)re.parentBranch=[b,E]}this.isDirty=!0}addColumn(){this.addColumnAfter(this.colCount-1)}removeColumn(y){console.assert(this.type==="array"&&Array.isArray(this.array)&&this.colCount>y);for(const b of this.array){const E=b.splice(y,1);for(const ee of E)if(ee)for(const re of ee)re.parent=void 0,re.parentBranch=void 0}for(let b=0;b<this.rowCount;b++)for(let E=y;E<this.colCount;E++){const ee=this.array[b][E];if(ee)for(const re of ee)re.parentBranch=[b,E]}this.isDirty=!0}get cells(){const y=[];for(const b of this.array)for(const E of b)E&&y.push(E.filter(ee=>ee.type!=="first"));return y}};function Qo(a){const y=new ar({type:"first",mode:a.mode});y.parent=a;const b=new Wi;return b.parent=a,[y,b]}function jo(a){const y=new Vr(null,{classes:"arraycolsep"});return y.width=a,y}function Xo(a,y,b,E){if(!E)return null;const ee=[];for(const re of y){const oe=ar.createBox(a,E,{type:"ignore"});oe&&(oe.depth=re.depth,oe.height=re.height,ee.push({box:oe,shift:re.pos-b}))}return new oo({individualShift:ee}).wrap(a)}var as=class Lp extends ar{constructor(y){super({mode:y.mode,command:y.command,style:y.style,body:y.body,type:"box"}),this.framecolor=y.framecolor,this.backgroundcolor=y.backgroundcolor,this.padding=y.padding,this.offset=y.offset,this.border=y.border}static fromJson(y){return new Lp(y)}toJson(){return Ee(xe({},super.toJson()),{framecolor:this.framecolor,backgroundcolor:this.backgroundcolor,padding:this.padding,offset:this.offset,border:this.border})}render(y){var b,E,ee,re;const oe=ar.createBox(y,this.body,{type:"lift"});if(!oe)return null;const me=y.toEm((b=this.offset)!=null?b:{dimension:0});oe.depth+=me,oe.setStyle("display","inline-block"),oe.setStyle("position","relative"),oe.setStyle("height",Math.floor(100*oe.height+oe.depth)/100,"em"),oe.setStyle("vertical-align",-Math.floor(100*oe.height)/100,"em");const ge=new La({parent:y},this.style),we=ge.toEm((E=this.padding)!=null?E:{register:"fboxsep"}),Me=new Vr(null,{classes:"ML__box"});Me.height=oe.height+we,Me.depth=oe.depth+we,Me.setStyle("box-sizing","border-box"),Me.setStyle("position","absolute"),Me.setStyle("top",-we+.3,"em"),Me.setStyle("left",0),Me.setStyle("height",Me.height+Me.depth,"em"),Me.setStyle("width","100%"),this.backgroundcolor&&Me.setStyle("background-color",(ee=ge.toColor(this.backgroundcolor))!=null?ee:"transparent"),this.framecolor&&Me.setStyle("border",`${ge.getRegisterAsEm("fboxrule",2)}em solid ${(re=ge.toColor(this.framecolor))!=null?re:"black"}`),this.border&&Me.setStyle("border",this.border);const Je=new Vr([Me,oe],{type:"lift"});return Je.setStyle("display","inline-block"),Je.setStyle("position","relative"),Je.setStyle("line-height",0),Je.height=oe.height+we+(me>0?me:0),Je.depth=oe.depth+we+(me<0?-me:0),Je.setStyle("padding-left",we,"em"),Je.setStyle("padding-right",we,"em"),Je.setStyle("height",Math.floor(100*(oe.height+oe.depth+2*we+Math.abs(me)))/100,"em"),Je.setStyle("margin-top",-we,"em"),Je.setStyle("top",Math.floor(100*(oe.depth-oe.height+2*we-me))/100,"em"),Je.setStyle("vertical-align",Math.floor(100*(oe.depth+2*we))/100,"em"),this.caret&&(Je.caret=this.caret),this.attachSupsub(y,{base:Je})}_serialize(y){return y.skipStyles?wa([this.bodyToLatex(y),this.supsubToLatex(y)]):super._serialize(y)}},yc=class Pp extends ar{constructor(y,b){var E;super({type:"composition",mode:(E=b==null?void 0:b.mode)!=null?E:"math",value:y})}static fromJson(y){return new Pp(y.value,y)}toJson(){return super.toJson()}get computedStyle(){return{}}render(y){const b=new Vr(this.value,{classes:"ML__composition",type:"composition"});return this.bind(y,b),this.caret&&(b.caret=this.caret),b}_serialize(y){return""}},yl=class Fp extends ar{constructor(y){super({type:"error",value:y,command:y,mode:"math"}),this.verbatimLatex=y}static fromJson(y){return new Fp(y.command)}toJson(){return super.toJson()}render(y){const b=this.createBox(y,{classes:"ML__error"});return this.caret&&(b.caret=this.caret),b}},zs=class Ip extends ar{constructor(y,b,E){super({type:"group",mode:b,style:E}),this.body=y,this.boxType=y.length>1?"ord":"ignore",this.skipBoundary=!0,this.displayContainsHighlight=!1,y&&y.length===1&&y[0].command===","&&(this.captureSelection=!0)}static fromJson(y){return new Ip(y.body,y.mode,y.style)}render(y){const b=ar.createBox(y,this.body,{type:this.boxType});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):`{${this.bodyToLatex(y)}}`}},Xa=class Op extends ar{constructor(y,b,E){super({type:"leftright",style:E.style,displayContainsHighlight:!0}),this.variant=y,this.body=b,this.leftDelim=E.leftDelim,this.rightDelim=E.rightDelim}static fromJson(y){var b;return new Op((b=y.variant)!=null?b:"",y.body,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),y}_serialize(y){var b,E;const ee=this.matchingRightDelim();return this.variant==="left...right"?wa(["\\left",(b=this.leftDelim)!=null?b:".",this.bodyToLatex(y),"\\right",ee]):this.variant==="mleft...mright"?wa(["\\mleft",(E=this.leftDelim)!=null?E:".",this.bodyToLatex(y),"\\mright",ee]):wa([!this.leftDelim||this.leftDelim==="."?"":this.leftDelim,this.bodyToLatex(y),ee])}matchingRightDelim(){var y,b;if(this.rightDelim&&this.rightDelim!=="?")return this.rightDelim;const E=(y=this.leftDelim)!=null?y:".";return(b=ne[E])!=null?b:E}render(y){var b,E;const ee=new La({parent:y},this.style);console.assert(this.body!==void 0);const re=new La({parent:y,mathstyle:"textstyle"},this.style),oe=(b=ar.createBox(ee,this.body,{type:"inner"}))!=null?b:new Vr(null,{type:"inner"}),me=oe.height/re.scalingFactor,ge=oe.depth/re.scalingFactor,we=[];if(this.leftDelim&&we.push(this.bind(re,hi("open",this.leftDelim,me,ge,re,{isSelected:this.isSelected,classes:"ML__open"+(this.containsCaret?" ML__contains-caret":""),mode:this.mode,style:this.style}))),oe&&(ks(oe.children,this,ee,me,ge),we.push(oe)),this.rightDelim){let It=this.containsCaret?" ML__contains-caret":"",_t=this.rightDelim;_t==="?"&&(ee.smartFence?(_t=this.matchingRightDelim(),It+=" ML__smart-fence__close"):_t="."),we.push(this.bind(re,hi("close",_t,me,ge,re,{isSelected:this.isSelected,classes:It+" ML__close",mode:this.mode,style:this.style})))}let Me=this.variant==="mleft...mright";const Je=this.leftSibling;Je&&(!Me&&Je.isFunction&&(Me=!0),!Me&&Je.type==="subsup"&&((E=Je.leftSibling)!=null&&E.isFunction)&&(Me=!0));const mt=new Vr(we,{type:Me?"close":"inner",classes:"left-right"});return mt.setStyle("margin-top",`${-oe.depth}em`),mt.setStyle("height",`${oe.height+oe.depth}em`),this.caret&&(mt.caret=this.caret),this.bind(ee,mt.wrap(ee))}};function ks(a,y,b,E,ee){if(a)for(let re=0;re<a.length;re++){const oe=a[re];oe.type==="middle"?(a[re]=y.bind(b,hi("inner",oe.value,E,ee,b,{isSelected:y.isSelected})),a[re].caret=oe.caret,a[re].isSelected=oe.isSelected,a[re].cssId=oe.cssId,a[re].htmlData=oe.htmlData,a[re].htmlStyle=oe.htmlStyle,a[re].attributes=oe.attributes,a[re].cssProperties=oe.cssProperties):oe.children&&ks(oe.children,y,b,E,ee)}}var wd=class Tp extends ar{constructor(y,b){var E;super({type:"macro",command:y,style:b.style}),this.body=b.body,b.captureSelection===void 0?b.args?this.captureSelection=!1:this.captureSelection=!0:this.captureSelection=b.captureSelection,this.macroArgs=b.args,this.expand=(E=b.expand)!=null?E:!1}static fromJson(y){return new Tp(y.command,y)}toJson(){const y=super.toJson();return this.expand&&(y.expand=!0),this.captureSelection!==void 0&&(y.captureSelection=this.captureSelection),this.macroArgs&&(y.args=this.macroArgs),y}_serialize(y){var b;return y.expandMacro&&this.expand?this.bodyToLatex(y):this.command+((b=this.macroArgs)!=null?b:"")}render(y){const b=ar.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},Fu=class Rp extends ar{constructor(){super({type:"macro-argument"})}static fromJson(y){return new Rp}toJson(){return super.toJson()}_serialize(y){return""}render(y){return null}},Uu=class Np extends ar{constructor(y,b,E=!1,ee,re){var oe;super({type:"prompt",mode:(oe=re==null?void 0:re.mode)!=null?oe:"math",style:re==null?void 0:re.style,command:"\\placeholder"}),this.body=ee,this.correctness=b,this.placeholderId=y,this.locked=E,this.captureSelection=this.locked}static fromJson(y){return new Np(y.placeholderId,y.correctness,y.locked,y.body,y)}toJson(){const y=super.toJson();return this.placeholderId&&(y.placeholderId=this.placeholderId),this.body||delete y.body,this.body&&(y.body=this.body.filter(b=>b.type!=="first").map(b=>b.toJson())),this.correctness&&(y.correctness=this.correctness),y.locked=this.locked,y}render(y){const b=new La({parent:y}),E=b.getRegisterAsEm("fboxsep"),ee=E,re=E,oe=ar.createBox(y,this.body);if(!oe)return null;oe.height||(oe.height=b.metrics.xHeight),oe.setStyle("vertical-align",-oe.height,"em"),this.correctness==="correct"?oe.setStyle("color","var(--correct-color, var(--ML__correct-color))"):this.correctness==="incorrect"&&oe.setStyle("color","var(--incorrect-color, var(--ML__incorrect-color))");const me=new Vr(oe,{type:"ord"});me.setStyle("display","inline-block"),me.setStyle("height",oe.height+oe.depth,"em"),me.setStyle("vertical-align",-re,"em");let ge="ML__prompt ";this.locked?ge+=" ML__lockedPromptBox ":ge+=" ML__editablePromptBox ",this.correctness==="correct"?ge+=" ML__correctPromptBox ":this.correctness==="incorrect"&&(ge+=" ML__incorrectPromptBox "),this.containsCaret&&(ge+=" ML__focusedPromptBox ");const we=new Vr(null,{classes:ge,attributes:{part:"prompt"}});we.height=me.height+re,we.depth=me.depth+re,we.width=me.width+2*ee,we.setStyle("box-sizing","border-box"),we.setStyle("position","absolute"),we.setStyle("height",me.height+me.depth+2*re,"em"),ee===0&&we.setStyle("width","100%"),ee!==0&&(we.setStyle("width",`calc(100% + ${2*ee}em)`),we.setStyle("top",E,"em"),we.setStyle("left",-ee,"em")),(!this.body||this.body.length===1)&&(we.width=3*ee,we.setStyle("width",`calc(100% + ${3*ee}em)`),we.setStyle("left",-1.5*ee,"em"));let Me="";this.correctness==="incorrect"&&(Me+='<line x1="3%" y1="97%" x2="97%" y2="3%" stroke-width="0.5" stroke="var(--incorrect-color, var(--ML__incorrect-color))" stroke-linecap="round" />'),Me&&(we.svgOverlay=Me);const Je=new Vr([we,me],{classes:"ML__prompt-atom"});return Je.setStyle("position","relative"),Je.setStyle("display","inline-block"),Je.setStyle("line-height",0),Je.height=me.height+re+.2,Je.depth=me.depth+re,Je.left=ee,Je.right=ee,Je.setStyle("height",me.height+re,"em"),Je.setStyle("top",me.depth-me.height,"em"),Je.setStyle("vertical-align",me.depth+re,"em"),Je.setStyle("margin-left",.5,"em"),Je.setStyle("margin-right",.5,"em"),this.caret&&(Je.caret=this.caret),this.bind(b,this.attachSupsub(y,{base:Je}))}_serialize(y){var b;const E=(b=this.bodyToLatex(y))!=null?b:"";if(y.skipPlaceholders)return E;let ee="\\placeholder";return this.placeholderId&&(ee+=`[${this.placeholderId}]`),this.correctness==="correct"?ee+="[correct]":this.correctness==="incorrect"&&(ee+="[incorrect]"),this.locked&&(ee+="[locked]"),yo(ee,E)}},yu=class zp extends ar{constructor(y){super({type:"subsup",style:y==null?void 0:y.style}),this.subsupPlacement="auto"}static fromJson(y){const b=new zp(y);for(const E of mu)y[E]&&b.setChildren(y[E],E);return b}render(y){var b;const E=new La({parent:y,isPhantom:!0}),ee=this.leftSibling,re=(b=ee.render(E))!=null?b:new Vr(null),oe=new Vr(null);return oe.height=re.height,oe.depth=re.depth,this.attachSupsub(y,{base:oe,isCharacterBox:ee.isCharacterBox(),type:"ignore"})}_serialize(y){return this.supsubToLatex(y)}};function ys(a){return a?!/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\?]|\\.+)$/.test(a):!1}var bc=class{constructor(a,y,b){this.errors=[],this.index=0,this.endCount=0;var E,ee,re,oe;b!=null||(b={}),this.tokens=a,this.context=y instanceof La&&!(b!=null&&b.parseMode)&&!b.mathstyle?y:new La({from:y,mathstyle:b.mathstyle},b.style),this.args=(E=b.args)!=null?E:void 0,this.smartFence=this.context.smartFence,this.parsingContext={parent:void 0,mathlist:[],style:(ee=b.style)!=null?ee:{},parseMode:(re=b.parseMode)!=null?re:"math",mathstyle:(oe=b.mathstyle)!=null?oe:"displaystyle",tabular:!1}}beginContext(a){var y,b,E;const ee=this.parsingContext,re={parent:ee,mathlist:[],style:xe({},ee.style),parseMode:(y=a==null?void 0:a.mode)!=null?y:ee.parseMode,mathstyle:(b=a==null?void 0:a.mathstyle)!=null?b:ee.mathstyle,tabular:(E=a==null?void 0:a.tabular)!=null?E:!1};this.parsingContext=re}endContext(){this.parsingContext=this.parsingContext.parent}onError(a){this.errors.push(xe({before:du(this.tokens.slice(this.index,this.index+10)),after:du(this.tokens.slice(Math.max(0,this.index-10),this.index))},a))}get mathlist(){return this.parsingContext.mathlist}set mathlist(a){this.parsingContext.mathlist=a}get parseMode(){return this.parsingContext.parseMode}set parseMode(a){this.parsingContext.parseMode=a}get tabularMode(){return this.parsingContext.tabular}get style(){let a=this.parsingContext;for(;a;){if(a.style)return xe({},a.style);a=a.parent}return{}}set style(a){this.parsingContext.style=a}end(){return this.endCount++,this.index>=this.tokens.length||this.endCount>1e3}next(){this.index+=1}get(){return this.endCount=0,this.index<this.tokens.length?this.tokens[this.index++]:""}peek(){return this.tokens[this.index]}match(a){return this.tokens[this.index]===a?(this.index++,!0):!1}lastSubsupAtom(){let a;return this.mathlist.length>0&&(a=this.mathlist[this.mathlist.length-1],a.type==="subsup"||a.subsupPlacement!==void 0)||(a=new yu({style:this.style}),this.mathlist.push(a)),a}hasPattern(a){return a.test(this.tokens[this.index])}hasInfixCommand(){var a;const{index:y}=this;if(y<this.tokens.length&&this.tokens[y].startsWith("\\")){const b=Ue(this.tokens[y],this.parseMode);return!b||b.definitionType==="symbol"||b.ifMode&&!b.ifMode.includes(this.parseMode)?!1:(a=b.infix)!=null?a:!1}return!1}matchColumnSeparator(){return!this.tabularMode||this.peek()!=="&"?!1:(this.index++,!0)}matchRowSeparator(){if(!this.tabularMode)return!1;const a=this.peek();return a!=="\\\\"&&a!=="\\cr"&&a!=="\\tabularnewline"?!1:(this.index++,!0)}placeholder(){var a;const y=(a=this.args)==null?void 0:a.call(this,"?");return y?Hs(y,{parseMode:this.parseMode,mathstyle:"textstyle"}):[new Wi({mode:this.parseMode,style:this.style})]}skipWhitespace(){for(;this.match("<space>"););}skipUntilToken(a){let y=this.tokens[this.index];for(;y&&y!==a;)y=this.tokens[++this.index];y===a&&this.index++}skipFiller(){for(;this.match("\\relax")||this.match("<space>"););}matchKeyword(a){const y=this.index;let b=this.end(),E="";for(;!b;){const re=this.get();ys(re)?(E+=re,b=this.end()||E.length>=a.length):b=!0}const ee=a.toUpperCase()===E.toUpperCase();return ee||(this.index=y),ee}scanString(){let a="";for(;!this.end();){const y=this.peek();if(y==="]")return a;if(y==="<space>")a+=" ";else if(y.startsWith("\\"))this.onError({code:"unexpected-command-in-string"}),a+=y.substring(1);else if(ys(y))a+=y;else return a;this.next()}return a}scanBalancedString(){let a="",y=this.end(),b=1;for(;!y;){const E=this.get();E==="<space>"?a+=" ":E==="<{>"?(a+="{",b+=1):E==="<}>"?(b-=1,b>0?a+="}":this.index-=1):E==="<$>"?a+="$":E==="<$$>"?a+="$$":a+=E,y=b===0||this.end()}return a}scanLiteralGroup(){var a;if(!this.match("<{>"))return"";let y="",b=1;for(;b>0&&!this.end();){const E=this.get();E==="<}>"?(b-=1,b>0&&(y+="}")):E==="<{>"?(b+=1,y+="{"):(/\\[a-zA-Z]+$/.test(y)&&/^[a-zA-Z]/.test(E)&&(y+=" "),y+=(a={"<space>":" ","<$$>":"$$","<$>":"$"}[E])!=null?a:E)}return y}scanNumber(a=!0){var y,b;let E=!1,ee=this.peek();for(;ee==="<space>"||ee==="+"||ee==="-";)this.get(),ee==="-"&&(E=!E),ee=this.peek();a=!!a;let re=10,oe=/\d/;if(this.match("'"))re=8,oe=/[0-7]/,a=!0;else if(this.match('"'))re=16,oe=/[\dA-F]/,a=!0;else if(this.match("x"))re=16,oe=/[\dA-Fa-f]/,a=!0;else if(this.match("`"))return ee=this.get(),ee?ee.length===2&&ee.startsWith("\\")?{number:(E?-1:1)*((y=ee.codePointAt(1))!=null?y:0),base:"alpha"}:{number:(E?-1:1)*((b=ee.codePointAt(0))!=null?b:0),base:"alpha"}:null;let me="";for(;this.hasPattern(oe);)me+=this.get();if(!a&&(this.match(".")||this.match(",")))for(me+=".";this.hasPattern(oe);)me+=this.get();const ge=a?Number.parseInt(me,re):Number.parseFloat(me);return Number.isNaN(ge)?null:{number:E?-ge:ge,base:re===16?"hexadecimal":re===8?"octal":"decimal"}}scanRegister(){var a;const y=this.index,b=this.scanNumber(!1);if(this.skipWhitespace(),this.match("\\relax"))return b;let E=!1;if(b===null)for(;;){const re=this.peek();if(re==="-")E=!E;else if(re!=="+")break;this.next(),this.skipWhitespace()}if(this.match("\\global")){this.skipWhitespace();const re=this.get();return re.startsWith("\\")?b?{register:re,global:!0,factor:(E?-1:1)*b.number}:E?{register:re,global:!0,factor:-1}:{register:re,global:!0}:(this.index=y,null)}let ee=this.get();return ee!=null&&ee.startsWith("\\")?(ee=ee.substring(1),this.context.registers[ee]?!E||b!==null?{register:ee,factor:(E?-1:1)*((a=b==null?void 0:b.number)!=null?a:1)}:{register:ee}:(this.index=y,null)):(this.index=y,null)}scanValue(){const a=this.scanRegister();if(a)return a;const y=this.index,b=this.scanGlueOrDimen();if(b&&("unit"in b||"glue"in b&&"unit"in b.glue))return b;this.index=y;const E=this.scanNumber();if(E)return E;if(this.end()||!ys(this.peek()))return null;const ee=this.scanString();return ee.length>0?{string:ee}:null}scanDimen(){const a=this.scanNumber(!1);if(a===null)return null;const y=a.number;this.skipWhitespace(),this.matchKeyword("true"),this.skipWhitespace();let b;return this.matchKeyword("pt")?b="pt":this.matchKeyword("mm")?b="mm":this.matchKeyword("cm")?b="cm":this.matchKeyword("ex")?b="ex":this.matchKeyword("px")?b="px":this.matchKeyword("em")?b="em":this.matchKeyword("bp")?b="bp":this.matchKeyword("dd")?b="dd":this.matchKeyword("pc")?b="pc":this.matchKeyword("in")?b="in":this.matchKeyword("mu")&&(b="mu"),b?{dimension:y,unit:b}:{dimension:y}}scanGlueOrDimen(){const a=this.scanDimen();if(a===null)return null;if(this.skipWhitespace(),this.match("\\relax"))return a;const y={glue:a};if(this.matchKeyword("plus")){const b=this.scanDimen();if(b)y.grow=b;else return y}if(this.skipWhitespace(),this.match("\\relax"))return y;if(this.skipWhitespace(),this.matchKeyword("minus")){const b=this.scanDimen();if(b)y.shrink=b;else return y}return!y.grow&&!y.shrink?a:y}scanColspec(){this.skipWhitespace();const a=[];for(;!this.end()&&!(this.peek()==="<}>"||this.peek()==="]");){const y=this.get();y==="c"||y==="r"||y==="l"?a.push({align:y}):y==="|"?a.push({separator:"solid"}):y===":"?a.push({separator:"dashed"}):y==="@"&&(this.match("<{>")&&(this.beginContext({mode:"math"}),a.push({gap:this.scan(b=>b==="<}>")}),this.endContext()),this.match("<}>")||this.onError({code:"unbalanced-braces"}))}return a}scanModeSet(){let a;if(this.match("\\(")&&(a="textstyle"),!a&&this.match("\\[")&&(a="displaystyle"),!a)return null;this.beginContext({mode:"math",mathstyle:a});const y=this.scan(b=>b===(a==="displaystyle"?"\\]":"\\)"));return this.match(a==="displaystyle"?"\\]":"\\)")||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanModeShift(){let a="";if(this.match("<$>")&&(a="<$>"),!a&&this.match("<$$>")&&(a="<$$>"),!a)return null;this.beginContext({mode:"math",mathstyle:"textstyle"});const y=this.scan(b=>b===a);return this.match(a)||this.onError({code:"unbalanced-mode-shift"}),this.endContext(),y}scanEnvironment(){if(!this.match("\\begin"))return null;const a=this.scanArgument("string");if(!a)return null;const y=Dt(a);if(!y)return this.onError({code:"unknown-environment",arg:a}),null;const b=[];if(y.params)for(const me of y.params)if(me.isOptional)b.push(this.scanOptionalArgument(me.type));else{const ge=this.scanArgument(me.type);ge||this.onError({code:"missing-argument",arg:a}),b.push(ge)}this.beginContext({tabular:y.tabular});const E=[],ee=[];let re=[],oe=!1;do if(this.end()&&(this.onError({code:"unbalanced-environment",arg:a}),oe=!0),!oe&&this.match("\\end")&&(this.scanArgument("string")!==a&&this.onError({code:"unbalanced-environment",arg:a}),oe=!0),!oe)if(this.matchColumnSeparator())re.push(this.mathlist),this.mathlist=[];else if(this.matchRowSeparator()){re.push(this.mathlist),this.mathlist=[];let me=null;this.skipWhitespace(),this.match("[")&&(me=this.scanDimen(),this.skipWhitespace(),this.match("]")),ee.push(me!=null?me:{dimension:0}),E.push(re),re=[]}else this.mathlist.push(...this.scan(me=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline"].includes(me)));while(!oe);return re.push(this.mathlist),re.length>0&&E.push(re),this.endContext(),y.createAtom(a,E,ee,b)}scanExpression(){const a=this.mathlist;if(this.mathlist=[],this.parseExpression()){const y=this.mathlist;return this.mathlist=a,y}return this.mathlist=a,null}scan(a){this.beginContext(),a||(a=oe=>oe==="<}>");let y="",b=null,E=[],ee=null;for(;!this.end()&&!a(this.peek());)this.hasInfixCommand()&&!y?(y=this.get(),b=Ue(y,"math"),b&&(E=this.scanArguments(b)[1]),ee=this.mathlist,this.mathlist=[]):this.parseExpression();let re;return y?(console.assert(!!b),E.unshift(this.mathlist),ee&&E.unshift(ee),re=[b.createAtom({command:y,args:E,style:this.style,mode:this.parseMode})]):re=this.mathlist,this.endContext(),re}scanGroup(){const a=this.index;if(!this.match("<{>"))return null;const y=this.scan(E=>E==="<}>");this.match("<}>")||this.onError({code:"unbalanced-braces"});const b=new zs(y,this.parseMode,this.style);return b.verbatimLatex=du(this.tokens.slice(a,this.index)),b}scanSmartFence(){if(this.skipWhitespace(),!this.match("("))return null;this.beginContext();let a=1;for(;!this.end()&&a!==0;)this.match("(")&&(a+=1),this.match(")")&&(a-=1),a!==0&&this.parseExpression();const y=new Xa("",this.mathlist,{leftDelim:"(",rightDelim:a===0?")":"?"});return this.endContext(),y}scanDelim(){this.skipWhitespace();const a=this.peek();if(!a)return this.onError({code:"unexpected-end-of-string"}),null;if(!ys(a)&&!a.startsWith("\\"))return null;this.next();const y=Ue(a,"math");return y?y.definitionType==="function"&&y.ifMode&&!y.ifMode.includes(this.parseMode)?(this.onError({code:"unexpected-delimiter",arg:a}),null):y.definitionType==="symbol"&&(y.type==="mopen"||y.type==="mclose")||/^(\.|\?|\||<|>|\\vert|\\Vert|\\\||\\surd|\\uparrow|\\downarrow|\\Uparrow|\\Downarrow|\\updownarrow|\\Updownarrow|\\mid|\\mvert|\\mVert)$/.test(a)?a:(this.onError({code:"unexpected-delimiter",arg:a}),null):(this.onError({code:"unknown-command",arg:a}),null)}scanLeftRight(){var a;if(this.match("\\right"))return this.onError({code:"unbalanced-braces"}),new yl("\\right");if(this.match("\\mright"))return this.onError({code:"unbalanced-braces"}),new yl("\\mright");let y="\\right";if(!this.match("\\left")){if(!this.match("\\mleft"))return null;y="\\mright"}const b=this.scanDelim();if(!b)return this.onError({code:"unexpected-delimiter"}),new yl(y==="\\right"?"\\left":"\\mleft");for(this.beginContext();!this.end()&&!this.match(y);)this.parseExpression();const E=this.mathlist;this.endContext();const ee=(a=this.scanDelim())!=null?a:".";return new Xa(y==="\\right"?"left...right":"mleft...mright",E,{leftDelim:b,rightDelim:ee,style:this.style})}parseSupSub(){if(this.parseMode!=="math")return!1;let a=this.peek();if(a!=="^"&&a!=="_"&&a!=="'")return!1;const y=this.lastSubsupAtom();for(;a==="^"||a==="_"||a==="'";)this.match("'")?this.match("'")?y.addChild(new ar({type:"mord",command:"\\doubleprime",mode:"math",value:"\u2032\u2032"}),"superscript"):y.addChild(new ar({type:"mord",command:"\\prime",mode:"math",value:"\u2032"}),"superscript"):(this.match("^")||this.match("_"))&&y.addChildren(tt(this.scanArgument("expression")),a==="_"?"subscript":"superscript"),a=this.peek();return!0}parseLimits(){if(this.parseMode!=="math")return!1;const a=this.match("\\limits"),y=!a&&this.match("\\nolimits"),b=!y&&!a&&this.match("\\displaylimits");if(!a&&!y&&!b)return!1;const E=this.mathlist.length>0?this.mathlist[this.mathlist.length-1]:null;return E===null?!1:(E.explicitSubsupPlacement=!0,a&&(E.subsupPlacement="over-under"),y&&(E.subsupPlacement="adjacent"),b&&(E.subsupPlacement="auto"),!0)}scanArguments(a){if(!(a!=null&&a.params))return[void 0,[]];let y;const b=[];let E=a.infix?2:0;for(;E<a.params.length;){const ee=a.params[E];ee.type==="rest"?b.push(this.scan(re=>["<}>","&","\\end","\\cr","\\\\","\\tabularnewline","\\right"].includes(re))):ee.isOptional?b.push(this.scanOptionalArgument(ee.type)):ee.type.endsWith("*")?y=ee.type.slice(0,-1):b.push(this.scanArgument(ee.type)),E+=1}return[y,b]}scanSymbolOrLiteral(){const a=this.peek();if(!a)return null;this.next();let y;if(ys(a)){const b=Es.createAtom(this.parseMode,a,xe({},this.style));return b?[b]:null}if(y=this.scanMacro(a),y)return[y];if(a.startsWith("\\")){const b=Ue(a,this.parseMode);if(!b)return this.onError({code:"unknown-command",arg:a}),[new yl(a)];if(b.definitionType==="symbol"){const E=xe({},this.style);b.variant&&(E.variant=b.variant),y=new ar({type:b.type,command:a,style:E,value:String.fromCodePoint(b.codepoint),mode:this.parseMode,verbatimLatex:a})}else{if(b.applyMode||b.applyStyle||b.infix)return this.onError({code:"invalid-command",arg:a}),[new yl(a)];b.createAtom&&(y=b.createAtom({command:a,args:[],style:this.style,mode:this.parseMode}))}}return y?[y]:null}scanArgument(a){var y;this.skipFiller();const b=this.parseMode;if(a==="auto"&&(a=b),!this.match("<{>")){if(a==="string")return this.scanString();if(a==="value")return this.scanValue();if(a==="delim")return(y=this.scanDelim())!=null?y:".";if(a==="expression")return this.scanExpression();if(a==="math"){a!==b&&this.beginContext({mode:"math"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}if(a==="text"){a!==b&&this.beginContext({mode:"text"});const ee=this.scanSymbolOrLiteral();return a!==b&&this.endContext(),ee}return a==="balanced-string"||console.assert(!1),null}if(a==="text"){this.beginContext({mode:"text"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}if(a==="math"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}let E=null;if(a==="expression"){this.beginContext({mode:"math"});do this.mathlist.push(...this.scan());while(!this.match("<}>")&&!this.end());const ee=this.mathlist;return this.endContext(),{group:ee}}return a==="string"?E=this.scanString():a==="balanced-string"?E=this.scanBalancedString():a==="colspec"?E=this.scanColspec():a==="value"&&(E=this.scanValue()),this.skipUntilToken("<}>"),E}scanOptionalArgument(a){if(a=a==="auto"?this.parseMode:a,this.skipFiller(),!this.match("["))return null;let y=null;for(;!this.end()&&!this.match("]");)if(a==="string")y=this.scanString();else if(a==="value")y=this.scanValue();else if(a==="colspec")y=this.scanColspec();else if(a==="bbox"){const b={},E=this.scanString().toLowerCase().trim().split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const ee of E){const re=ee.match(/^\s*([\d.]+)\s*([a-z]{2})/);if(re)b.padding={dimension:parseInt(re[1]),unit:re[2]};else{const oe=ee.match(/^\s*border\s*:\s*(.*)/);oe?b.border=oe[1]:b.backgroundcolor={string:ee}}}y=b}else a==="math"&&(this.beginContext({mode:"math"}),y=this.mathlist.concat(this.scan(b=>b==="]")),this.endContext());return y}scanSymbolOrCommand(a){var y,b,E;if(a==="\\placeholder"){const me=this.scanOptionalArgument("string"),ge=this.scanOptionalArgument("math"),we=ar.serialize(ge,{defaultMode:"math"});let Me=[],Je;!Je&&we==="correct"?Je="correct":!Je&&we==="incorrect"?Je="incorrect":we!==""&&(Me=ge);const mt=this.scanOptionalArgument("string")==="locked",It=this.scanArgument("auto");let _t;return It&&Array.isArray(It)&&It.length>0?_t=It:It&&typeof It=="object"&&"group"in It?_t=It.group:_t=Me,me?[new Uu(me,Je,mt,_t!=null?_t:Me,{mode:this.parseMode,style:this.style})]:[new Wi({mode:this.parseMode,style:this.style})]}if(a==="\\renewcommand"||a==="\\newcommand"||a==="\\providecommand"||a==="\\def"){const me=this.index,ge=this.scanLiteralGroup()||this.next();if(!ge)return null;if(this.context.registers[ge.substring(1)]){const we=this.scanArgument("string");we!==null&&(this.context.registers[ge.substring(1)]=we);const Me=wa([a,du(this.tokens.slice(me,this.index))]);return[new ar({type:"text",value:"",verbatimLatex:Me})]}}let ee=this.scanMacro(a);if(ee)return[ee];const re=Ue(a,this.parseMode);if(!re)return this.parseMode==="text"?(/[a-zA-Z]/.test((y=this.peek())!=null?y:"")&&(a+=" "),[...a].map(me=>new ar({type:"text",value:me,mode:"text",style:this.style}))):(this.onError({code:"unknown-command",arg:a}),[new yl(a)]);const oe=this.index;if(re.definitionType==="symbol"){const me=xe({},this.style);re.variant&&(me.variant=re.variant),ee=new ar({type:re.type,command:a,style:me,value:String.fromCodePoint(re.codepoint),mode:this.parseMode})}else{if(re.ifMode&&!re.ifMode.includes(this.parseMode))return[];const me=this.parseMode;re.applyMode&&(this.parseMode=re.applyMode);let ge,we=[];if(re.parse?we=re.parse(this):[ge,we]=this.scanArguments(re),this.parseMode=me,re.applyMode&&!re.applyStyle&&!re.createAtom)return tt(we[0]);if(re.infix)return this.onError({code:"too-many-infix-commands",arg:a}),null;if(typeof re.createAtom=="function")ee=re.createAtom({command:a,args:we,style:this.style,mode:this.parseMode}),ge&&(ee.body=tt(this.scanArgument(ge)));else if(typeof re.applyStyle=="function"){const Me=xe(xe({},this.style),re.applyStyle(a,we,this.context)),Je=this.parseMode;if(re.applyMode&&(this.parseMode=re.applyMode),ge){const mt=this.style;this.style=Me;const It=this.scanArgument(ge);return this.style=mt,this.parseMode=Je,tt(It)}this.style=Me}else ee=new ar({type:"mord",command:(b=re.command)!=null?b:a,style:xe({},this.style),value:a,mode:(E=re.applyMode)!=null?E:this.parseMode})}if(!ee)return null;if(ee instanceof ar&&ee.verbatimLatex===void 0&&!/^\\(llap|rlap|class|cssId|htmlData)$/.test(a)){const me=wa([a,du(this.tokens.slice(oe,this.index))]);me&&(ee.verbatimLatex=me)}if(ee.verbatimLatex===null&&(ee.verbatimLatex=void 0),ee.isFunction&&this.smartFence){const me=this.scanSmartFence();if(me)return[ee,me]}return[ee]}scanSymbolCommandOrLiteral(){const a=this.get();if(!a)return null;if(ys(a)){const y=Es.createAtom(this.parseMode,a,xe({},this.style));if(!y)return null;if(y.isFunction&&this.smartFence){const b=this.scanSmartFence();if(b)return[y,b]}return[y]}return a.startsWith("\\")?this.scanSymbolOrCommand(a):a==="<space>"?this.parseMode==="text"?[new Yl(" "," ",this.style)]:null:(a==="<}>"?this.onError({latex:"",code:"unbalanced-braces"}):this.onError({latex:"",code:"unexpected-token",arg:a}),null)}scanMacro(a){var y;const b=this.context.getMacro(a);if(!b)return null;const E=this.index,ee=b.args,re={"?":(y=this.args)==null?void 0:y.call(this,"?")};for(let oe=1;oe<=ee;oe++){let me=this.scanLiteralGroup();if(!me){const ge=this.index;this.scanExpression(),me=du(this.tokens.slice(ge,this.index))}re[oe]=me}return new wd(a,{expand:b.expand,captureSelection:b.captureSelection,args:E===this.index?null:du(this.tokens.slice(E,this.index)),style:this.parsingContext.style,body:Hs(b.def,{context:this.context,parseMode:this.parseMode,args:oe=>re[oe],mathstyle:this.parsingContext.mathstyle,style:this.parsingContext.style})})}parseExpression(){var a,y,b,E;let ee=(E=(b=(y=(a=this.scanEnvironment())!=null?a:this.scanModeShift())!=null?y:this.scanModeSet())!=null?b:this.scanGroup())!=null?E:this.scanLeftRight();if(ee===null){if(this.parseSupSub()||this.parseLimits())return!0;ee=this.scanSymbolCommandOrLiteral()}return ee?(Array.isArray(ee)?this.mathlist.push(...ee):this.mathlist.push(ee),!0):!1}};function Hs(a,y){var b,E,ee,re;const oe=(b=y==null?void 0:y.args)!=null?b:void 0,me=new bc(Ol(a,oe),y==null?void 0:y.context,{args:oe,mathstyle:(E=y==null?void 0:y.mathstyle)!=null?E:"displaystyle",parseMode:(ee=y==null?void 0:y.parseMode)!=null?ee:"math",style:(re=y==null?void 0:y.style)!=null?re:{}}),ge=[];for(;!me.end();)ge.push(...me.scan(()=>!1));return ge}function t0(a,y){var b;const E=new bc(Ol(a,null),y==null?void 0:y.context,{mathstyle:"displaystyle",parseMode:(b=y==null?void 0:y.parseMode)!=null?b:"math"});for(;!E.end();)E.scan();return E.errors}var n0=class Hp extends ar{constructor(y,b){super({type:"chem"},{command:y,mode:"math"});const E=To.go(Kr.go(b,y==="\\pu"?"pu":"ce"),!1);this.body=Hs(E),this._verbatimLatex=y+"{"+b+"}",this.arg=b,this.captureSelection=!0}static fromJson(y){return new Hp(y.command,y.arg)}set verbatimLatex(y){}get verbatimLatex(){return this._verbatimLatex}toJson(){return Ee(xe({},super.toJson()),{arg:this.arg})}render(y){const b=ar.createBox(y,this.body,{type:"inner"});return this.caret&&(b.caret=this.caret),this.bind(y,b)}_serialize(y){return console.assert(this.verbatimLatex!==void 0),this.verbatimLatex}};Mt(["ce","pu"],"{chemformula:balanced-string}",{createAtom:a=>{var y;return new n0(a.command,(y=a.args[0])!=null?y:"")}});var Kr={go:function(a,y){if(!a)return[];y===void 0&&(y="ce");var b="0",E={};E.parenthesisLevel=0,a=a.replace(/\n/g," "),a=a.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),a=a.replace(/[\u2026]/g,"...");for(var ee,re=10,oe=[];;){ee!==a?(re=10,ee=a):re--;var me=Kr.stateMachines[y],ge=me.transitions[b]||me.transitions["*"];e:for(var we=0;we<ge.length;we++){var Me=Kr.patterns.match_(ge[we].pattern,a);if(Me){for(var Je=ge[we].task,mt=0;mt<Je.action_.length;mt++){var It;if(me.actions[Je.action_[mt].type_])It=me.actions[Je.action_[mt].type_](E,Me.match_,Je.action_[mt].option);else if(Kr.actions[Je.action_[mt].type_])It=Kr.actions[Je.action_[mt].type_](E,Me.match_,Je.action_[mt].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+Je.action_[mt].type_+")"];Kr.concatArray(oe,It)}if(b=Je.nextState||b,a.length>0){if(Je.revisit||(a=Me.remainder),!Je.toContinue)break e}else return oe}}if(re<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(a,y){if(y)if(Object.prototype.toString.call(y)==="[object Array]")for(var b=0;b<y.length;b++)a.push(y[b]);else a.push(y)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:(?:([eE])|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"(-)(9)^(-9)":function(a){var y=a.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return y&&y[0]?{match_:y.slice(1),remainder:a.substr(y[0].length)}:null},"state of aggregation $":function(a){var y=Kr.patterns.findObserveGroups(a,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(y&&y.remainder.match(/^($|[\s,;\)\]\}])/))return y;var b=a.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return b?{match_:b[0],remainder:a.substr(b[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"^{","","","}")},"^($...$)":function(a){return Kr.patterns.findObserveGroups(a,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(a){return Kr.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(a){return Kr.patterns.findObserveGroups(a,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"_{","","","}")},"_($...$)":function(a){return Kr.patterns.findObserveGroups(a,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(a){return Kr.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(a){return Kr.patterns.findObserveGroups(a,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(a){return Kr.patterns.findObserveGroups(a,"","{","}","")},"{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"{","","","}")},"$...$":function(a){return Kr.patterns.findObserveGroups(a,"","$","$","")},"${(...)}$":function(a){return Kr.patterns.findObserveGroups(a,"${","","","}$")},"$(...)$":function(a){return Kr.patterns.findObserveGroups(a,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(a){return Kr.patterns.findObserveGroups(a,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(a){return Kr.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(a){return Kr.patterns.findObserveGroups(a,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(a){return Kr.patterns.findObserveGroups(a,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(a){return Kr.patterns.findObserveGroups(a,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(a){return Kr.patterns.findObserveGroups(a,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(a){return Kr.patterns.findObserveGroups(a,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(a){var y;if(y=a.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),y)return{match_:y[0],remainder:a.substr(y[0].length)};var b=Kr.patterns.findObserveGroups(a,"","$","$","");return b&&(y=b.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),y)?{match_:y[0],remainder:a.substr(y[0].length)}:null},amount2:function(a){return this.amount(a)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(a){if(a.match(/^\([a-z]+\)$/))return null;var y=a.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return y?{match_:y[0],remainder:a.substr(y[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(a,y,b,E,ee,re,oe,me,ge,we){var Me=function(zn,hr){if(typeof hr=="string")return zn.indexOf(hr)!==0?null:hr;var ei=zn.match(hr);return ei?ei[0]:null},Je=function(zn,hr,ei){for(var Ar=0;hr<zn.length;){var Li=zn.charAt(hr),Hi=Me(zn.substr(hr),ei);if(Hi!==null&&Ar===0)return{endMatchBegin:hr,endMatchEnd:hr+Hi.length};if(Li==="{")Ar++;else if(Li==="}"){if(Ar===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];Ar--}hr++}return Ar>0,null},mt=Me(a,y);if(mt===null||(a=a.substr(mt.length),mt=Me(a,b),mt===null))return null;var It=Je(a,mt.length,E||ee);if(It===null)return null;var _t=a.substring(0,E?It.endMatchEnd:It.endMatchBegin);if(re||oe){var Wn=this.findObserveGroups(a.substr(It.endMatchEnd),re,oe,me,ge);if(Wn===null)return null;var Yr=[_t,Wn.match_];return{match_:we?Yr.join(""):Yr,remainder:Wn.remainder}}else return{match_:_t,remainder:a.substr(It.endMatchEnd)}},match_:function(a,y){var b=Kr.patterns.patterns[a];if(b===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+a+")"];if(typeof b=="function")return Kr.patterns.patterns[a](y);var E=y.match(b);if(E){var ee;return E[2]?ee=[E[1],E[2]]:E[1]?ee=E[1]:ee=E[0],{match_:ee,remainder:y.substr(E[0].length)}}return null}},actions:{"a=":function(a,y){a.a=(a.a||"")+y},"b=":function(a,y){a.b=(a.b||"")+y},"p=":function(a,y){a.p=(a.p||"")+y},"o=":function(a,y){a.o=(a.o||"")+y},"q=":function(a,y){a.q=(a.q||"")+y},"d=":function(a,y){a.d=(a.d||"")+y},"rm=":function(a,y){a.rm=(a.rm||"")+y},"text=":function(a,y){a.text_=(a.text_||"")+y},insert:function(a,y,b){return{type_:b}},"insert+p1":function(a,y,b){return{type_:b,p1:y}},"insert+p1+p2":function(a,y,b){return{type_:b,p1:y[0],p2:y[1]}},copy:function(a,y){return y},rm:function(a,y){return{type_:"rm",p1:y||""}},text:function(a,y){return Kr.go(y,"text")},"{text}":function(a,y){var b=["{"];return Kr.concatArray(b,Kr.go(y,"text")),b.push("}"),b},"tex-math":function(a,y){return Kr.go(y,"tex-math")},"tex-math tight":function(a,y){return Kr.go(y,"tex-math tight")},bond:function(a,y,b){return{type_:"bond",kind_:b||y}},"color0-output":function(a,y){return{type_:"color0",color:y[0]}},ce:function(a,y){return Kr.go(y)},"1/2":function(a,y){var b=[];y.match(/^[+\-]/)&&(b.push(y.substr(0,1)),y=y.substr(1));var E=y.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return E[1]=E[1].replace(/\$/g,""),b.push({type_:"frac",p1:E[1],p2:E[2]}),E[3]&&(E[3]=E[3].replace(/\$/g,""),b.push({type_:"tex-math",p1:E[3]})),b},"9,9":function(a,y){return Kr.go(y,"9,9")}},createTransitions:function(a){var y,b,E,ee,re={};for(y in a)for(b in a[y])for(E=b.split("|"),a[y][b].stateArray=E,ee=0;ee<E.length;ee++)re[E[ee]]=[];for(y in a)for(b in a[y])for(E=a[y][b].stateArray||[],ee=0;ee<E.length;ee++){var oe=a[y][b];if(oe.action_){oe.action_=[].concat(oe.action_);for(var me=0;me<oe.action_.length;me++)typeof oe.action_[me]=="string"&&(oe.action_[me]={type_:oe.action_[me]})}else oe.action_=[];for(var ge=y.split("|"),we=0;we<ge.length;we++)if(E[ee]==="*")for(var Me in re)re[Me].push({pattern:ge[we],task:oe});else re[E[ee]].push({pattern:ge[we],task:oe})}return re},stateMachines:{}};Kr.stateMachines={ce:{transitions:Kr.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(a,y){var b;if((a.d||"").match(/^[0-9]+$/)){var E=a.d;a.d=void 0,b=this.output(a),a.b=E}else b=this.output(a);return Kr.actions["o="](a,y),b},"d= kv":function(a,y){a.d=y,a.dType="kv"},"charge or bond":function(a,y){if(a.beginsWithBond){var b=[];return Kr.concatArray(b,this.output(a)),Kr.concatArray(b,Kr.actions.bond(a,y,"-")),b}else a.d=y},"- after o/d":function(a,y,b){var E=Kr.patterns.match_("orbital",a.o||""),ee=Kr.patterns.match_("one lowercase greek letter $",a.o||""),re=Kr.patterns.match_("one lowercase latin letter $",a.o||""),oe=Kr.patterns.match_("$one lowercase latin letter$ $",a.o||""),me=y==="-"&&(E&&E.remainder===""||ee||re||oe);me&&!a.a&&!a.b&&!a.p&&!a.d&&!a.q&&!E&&re&&(a.o="$"+a.o+"$");var ge=[];return me?(Kr.concatArray(ge,this.output(a)),ge.push({type_:"hyphen"})):(E=Kr.patterns.match_("digits",a.d||""),b&&E&&E.remainder===""?(Kr.concatArray(ge,Kr.actions["d="](a,y)),Kr.concatArray(ge,this.output(a))):(Kr.concatArray(ge,this.output(a)),Kr.concatArray(ge,Kr.actions.bond(a,y,"-")))),ge},"a to o":function(a){a.o=a.a,a.a=void 0},"sb=true":function(a){a.sb=!0},"sb=false":function(a){a.sb=!1},"beginsWithBond=true":function(a){a.beginsWithBond=!0},"beginsWithBond=false":function(a){a.beginsWithBond=!1},"parenthesisLevel++":function(a){a.parenthesisLevel++},"parenthesisLevel--":function(a){a.parenthesisLevel--},"state of aggregation":function(a,y){return{type_:"state of aggregation",p1:Kr.go(y,"o")}},comma:function(a,y){var b=y.replace(/\s*$/,""),E=b!==y;return E&&a.parenthesisLevel===0?{type_:"comma enumeration L",p1:b}:{type_:"comma enumeration M",p1:b}},output:function(a,y,b){var E;if(!a.r)E=[],!a.a&&!a.b&&!a.p&&!a.o&&!a.q&&!a.d&&!b||(a.sb&&E.push({type_:"entitySkip"}),!a.o&&!a.q&&!a.d&&!a.b&&!a.p&&b!==2?(a.o=a.a,a.a=void 0):!a.o&&!a.q&&!a.d&&(a.b||a.p)?(a.o=a.a,a.d=a.b,a.q=a.p,a.a=a.b=a.p=void 0):a.o&&a.dType==="kv"&&Kr.patterns.match_("d-oxidation$",a.d||"")?a.dType="oxidation":a.o&&a.dType==="kv"&&!a.q&&(a.dType=void 0),E.push({type_:"chemfive",a:Kr.go(a.a,"a"),b:Kr.go(a.b,"bd"),p:Kr.go(a.p,"pq"),o:Kr.go(a.o,"o"),q:Kr.go(a.q,"pq"),d:Kr.go(a.d,a.dType==="oxidation"?"oxidation":"bd"),dType:a.dType}));else{var ee;a.rdt==="M"?ee=Kr.go(a.rd,"tex-math"):a.rdt==="T"?ee=[{type_:"text",p1:a.rd||""}]:ee=Kr.go(a.rd);var re;a.rqt==="M"?re=Kr.go(a.rq,"tex-math"):a.rqt==="T"?re=[{type_:"text",p1:a.rq||""}]:re=Kr.go(a.rq),E={type_:"arrow",r:a.r,rd:ee,rq:re}}for(var oe in a)oe!=="parenthesisLevel"&&oe!=="beginsWithBond"&&delete a[oe];return E},"oxidation-output":function(a,y){var b=["{"];return Kr.concatArray(b,Kr.go(y,"oxidation")),b.push("}"),b},"frac-output":function(a,y){return{type_:"frac-ce",p1:Kr.go(y[0]),p2:Kr.go(y[1])}},"overset-output":function(a,y){return{type_:"overset",p1:Kr.go(y[0]),p2:Kr.go(y[1])}},"underset-output":function(a,y){return{type_:"underset",p1:Kr.go(y[0]),p2:Kr.go(y[1])}},"underbrace-output":function(a,y){return{type_:"underbrace",p1:Kr.go(y[0]),p2:Kr.go(y[1])}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Kr.go(y[1])}},"r=":function(a,y){a.r=y},"rdt=":function(a,y){a.rdt=y},"rd=":function(a,y){a.rd=y},"rqt=":function(a,y){a.rqt=y},"rq=":function(a,y){a.rq=y},operator:function(a,y,b){return{type_:"operator",kind_:b||y}}}},a:{transitions:Kr.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:Kr.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:Kr.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(a){if(a.text_){var y={type_:"text",p1:a.text_};for(var b in a)delete a[b];return y}}}},pq:{transitions:Kr.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(a,y){return{type_:"state of aggregation subscript",p1:Kr.go(y,"o")}},"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Kr.go(y[1],"pq")}}}},bd:{transitions:Kr.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(a,y){return{type_:"color",color1:y[0],color2:Kr.go(y[1],"bd")}}}},oxidation:{transitions:Kr.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(a,y){return{type_:"roman numeral",p1:y||""}}}},"tex-math":{transitions:Kr.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"tex-math tight":{transitions:Kr.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(a,y){a.o=(a.o||"")+"{"+y+"}"},output:function(a){if(a.o){var y={type_:"tex-math",p1:a.o};for(var b in a)delete a[b];return y}}}},"9,9":{transitions:Kr.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:Kr.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),y[1]&&(Kr.concatArray(b,Kr.go(y[1],"pu-9,9")),y[2]&&(y[2].match(/[,.]/)?Kr.concatArray(b,Kr.go(y[2],"pu-9,9")):b.push(y[2])),(y[3]||y[4])&&(y[3]==="e"||y[4]==="*"?b.push({type_:"cdot"}):b.push({type_:"times"}))),y[5]&&b.push("10^{"+y[5]+"}"),b},"number^":function(a,y){var b=[];return y[0]==="+-"||y[0]==="+/-"?b.push("\\pm "):y[0]&&b.push(y[0]),Kr.concatArray(b,Kr.go(y[1],"pu-9,9")),b.push("^{"+y[2]+"}"),b},operator:function(a,y,b){return{type_:"operator",kind_:b||y}},space:function(){return{type_:"pu-space-1"}},output:function(a){var y,b=Kr.patterns.match_("{(...)}",a.d||"");b&&b.remainder===""&&(a.d=b.match_);var E=Kr.patterns.match_("{(...)}",a.q||"");if(E&&E.remainder===""&&(a.q=E.match_),a.d&&(a.d=a.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.d=a.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),a.q){a.q=a.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),a.q=a.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var ee={d:Kr.go(a.d,"pu"),q:Kr.go(a.q,"pu")};a.o==="//"?y={type_:"pu-frac",p1:ee.d,p2:ee.q}:(y=ee.d,ee.d.length>1||ee.q.length>1?y.push({type_:" / "}):y.push({type_:"/"}),Kr.concatArray(y,ee.q))}else y=Kr.go(a.d,"pu-2");for(var re in a)delete a[re];return y}}},"pu-2":{transitions:Kr.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(a,y){a.rm+="^{"+y+"}"},space:function(){return{type_:"pu-space-2"}},output:function(a){var y=[];if(a.rm){var b=Kr.patterns.match_("{(...)}",a.rm||"");b&&b.remainder===""?y=Kr.go(b.match_,"pu"):y={type_:"rm",p1:a.rm}}for(var E in a)delete a[E];return y}}},"pu-9,9":{transitions:Kr.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){var b=a.text_.length%3;b===0&&(b=3);for(var E=a.text_.length-3;E>0;E-=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(0,b)),y.reverse()}else y.push(a.text_);for(var ee in a)delete a[ee];return y},"output-o":function(a){var y=[];if(a.text_=a.text_||"",a.text_.length>4){for(var b=a.text_.length-3,E=0;E<b;E+=3)y.push(a.text_.substr(E,3)),y.push({type_:"1000 separator"});y.push(a.text_.substr(E))}else y.push(a.text_);for(var ee in a)delete a[ee];return y}}}};var To={go:function(a,y){if(!a)return"";for(var b="",E=!1,ee=0;ee<a.length;ee++){var re=a[ee];typeof re=="string"?b+=re:(b+=To._go2(re),re.type_==="1st-level escape"&&(E=!0))}return!y&&!E&&b&&(b="{"+b+"}"),b},_goInner:function(a){return a&&To.go(a,!0)},_go2:function(a){var y;switch(a.type_){case"chemfive":y="";var b={a:To._goInner(a.a),b:To._goInner(a.b),p:To._goInner(a.p),o:To._goInner(a.o),q:To._goInner(a.q),d:To._goInner(a.d)};b.a&&(b.a.match(/^[+\-]/)&&(b.a="{"+b.a+"}"),y+=b.a+"\\,"),(b.b||b.p)&&(y+="{\\vphantom{X}}",y+="^{\\hphantom{"+(b.b||"")+"}}_{\\hphantom{"+(b.p||"")+"}}",y+="{\\vphantom{X}}",y+="^{\\smash[t]{\\vphantom{2}}\\llap{"+(b.b||"")+"}}",y+="_{\\vphantom{2}\\llap{\\smash[t]{"+(b.p||"")+"}}}"),b.o&&(b.o.match(/^[+\-]/)&&(b.o="{"+b.o+"}"),y+=b.o),a.dType==="kv"?((b.d||b.q)&&(y+="{\\vphantom{X}}"),b.d&&(y+="^{"+b.d+"}"),b.q&&(y+="_{\\smash[t]{"+b.q+"}}")):a.dType==="oxidation"?(b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"),b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}")):(b.q&&(y+="{\\vphantom{X}}",y+="_{\\smash[t]{"+b.q+"}}"),b.d&&(y+="{\\vphantom{X}}",y+="^{"+b.d+"}"));break;case"rm":y="\\mathrm{"+a.p1+"}";break;case"text":a.p1.match(/[\^_]/)?(a.p1=a.p1.replace(" ","~").replace("-","\\text{-}"),y="\\mathrm{"+a.p1+"}"):y="\\text{"+a.p1+"}";break;case"roman numeral":y="\\mathrm{"+a.p1+"}";break;case"state of aggregation":y="\\mskip2mu "+To._goInner(a.p1);break;case"state of aggregation subscript":y="\\mskip1mu "+To._goInner(a.p1);break;case"bond":if(y=To._getBond(a.kind_),!y)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+a.kind_+")"];break;case"frac":var E="\\frac{"+a.p1+"}{"+a.p2+"}";y="\\mathchoice{\\textstyle"+E+"}{"+E+"}{"+E+"}{"+E+"}";break;case"pu-frac":var ee="\\frac{"+To._goInner(a.p1)+"}{"+To._goInner(a.p2)+"}";y="\\mathchoice{\\textstyle"+ee+"}{"+ee+"}{"+ee+"}{"+ee+"}";break;case"tex-math":y=a.p1+" ";break;case"frac-ce":y="\\frac{"+To._goInner(a.p1)+"}{"+To._goInner(a.p2)+"}";break;case"overset":y="\\overset{"+To._goInner(a.p1)+"}{"+To._goInner(a.p2)+"}";break;case"underset":y="\\underset{"+To._goInner(a.p1)+"}{"+To._goInner(a.p2)+"}";break;case"underbrace":y="\\underbrace{"+To._goInner(a.p1)+"}_{"+To._goInner(a.p2)+"}";break;case"color":y="{\\color{"+a.color1+"}{"+To._goInner(a.color2)+"}}";break;case"color0":y="\\color{"+a.color+"}";break;case"arrow":var re={rd:To._goInner(a.rd),rq:To._goInner(a.rq)},oe=To._getArrow(a.r);re.rd||re.rq?a.r==="<=>"||a.r==="<=>>"||a.r==="<<=>"||a.r==="<-->"?(oe="\\long"+oe,re.rd&&(oe="\\overset{"+re.rd+"}{"+oe+"}"),re.rq&&(a.r==="<-->"?oe="\\underset{\\lower2mu{"+re.rq+"}}{"+oe+"}":oe="\\underset{\\lower6mu{"+re.rq+"}}{"+oe+"}"),oe=" {}\\mathrel{"+oe+"}{} "):(re.rq&&(oe+="[{"+re.rq+"}]"),oe+="{"+re.rd+"}",oe=" {}\\mathrel{\\x"+oe+"}{} "):oe=" {}\\mathrel{\\long"+oe+"}{} ",y=oe;break;case"operator":y=To._getOperator(a.kind_);break;case"1st-level escape":y=a.p1+" ";break;case"space":y=" ";break;case"entitySkip":y="~";break;case"pu-space-1":y="~";break;case"pu-space-2":y="\\mkern3mu ";break;case"1000 separator":y="\\mkern2mu ";break;case"commaDecimal":y="{,}";break;case"comma enumeration L":y="{"+a.p1+"}\\mkern6mu ";break;case"comma enumeration M":y="{"+a.p1+"}\\mkern3mu ";break;case"comma enumeration S":y="{"+a.p1+"}\\mkern1mu ";break;case"hyphen":y="\\text{-}";break;case"addition compound":y="\\,{\\cdot}\\,";break;case"electron dot":y="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":y="{\\times}";break;case"prime":y="\\prime ";break;case"cdot":y="\\cdot ";break;case"tight cdot":y="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":y="\\times ";break;case"circa":y="{\\sim}";break;case"^":y="uparrow";break;case"v":y="downarrow";break;case"ellipsis":y="\\ldots ";break;case"/":y="/";break;case" / ":y="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return y},_getArrow:function(a){switch(a){case"->":return"rightarrow";case"\u2192":return"rightarrow";case"\u27F6":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"leftrightarrows";case"<=>":return"rightleftharpoons";case"\u21CC":return"rightleftharpoons";case"<=>>":return"Rightleftharpoons";case"<<=>":return"Leftrightharpoons";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(a){switch(a){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\rlap{\\lower.1em{-}}\\raise.1em{\\tripledash}}";case"~=":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"~--":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{\\tripledash}}-}";case"-~-":return"{\\rlap{\\lower.2em{-}}\\rlap{\\raise.2em{-}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(a){switch(a){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};function A1(a){}function M1(a){}var r0=class Kp extends ar{constructor(y){super(Ee(xe({},y),{type:"delim"})),this.value=y.delim,this.size=y.size}static fromJson(y){return new Kp(y)}toJson(){return Ee(xe({},super.toJson()),{delim:this.value,size:this.size})}render(y){return new Vr(this.value,{type:"middle"})}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):yo(this.command,this.value)}},i0=class Wp extends ar{constructor(y){super(Ee(xe({},y),{type:"sizeddelim",value:y.delim})),this.delimType=y.delimType,this.size=y.size}static fromJson(y){return new Wp(y)}toJson(){return Ee(xe({},super.toJson()),{delim:this.value,size:this.size,delimType:this.delimType})}render(y){let b=Ln(this.value,this.size,y,{classes:{open:"mopen",close:"mclose"}[this.delimType],type:this.delimType,isSelected:this.isSelected});return b?(b=this.bind(y,b),this.caret&&(b.caret=this.caret),b):null}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);return b!=null&&b.serialize?b.serialize(this,y):yo(this.command,this.value)}},Jd=class Zp extends ar{constructor(y,b,E,ee){var re,oe;super({type:"enclose",command:y,style:ee.style}),this.body=b,this.backgroundcolor=ee.backgroundcolor,E.updiagonalarrow&&(E.updiagonalstrike=!1),E.box&&(E.left=!1,E.right=!1,E.bottom=!1,E.top=!1),this.notation=E,this.shadow=(re=ee.shadow)!=null?re:"none",this.strokeWidth=(oe=ee.strokeWidth)!=null?oe:"0.06em",this.strokeWidth||(this.strokeWidth="0.06em"),this.strokeStyle=ee.strokeStyle,this.svgStrokeStyle=ee.svgStrokeStyle,this.strokeColor=ee.strokeColor,this.borderStyle=ee.borderStyle,this.padding=ee.padding,this.captureSelection=!1}static fromJson(y){return new Zp(y.command,y.body,y.notation,y)}toJson(){return Ee(xe({},super.toJson()),{notation:this.notation,shadow:this.shadow,strokeWidth:this.strokeWidth,strokeStyle:this.strokeStyle,svgStrokeStyle:this.svgStrokeStyle,strokeColor:this.strokeColor,borderStyle:this.borderStyle,padding:this.padding})}_serialize(y){var b;if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=Ue(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);let ee=(b=this.command)!=null?b:"";if(this.command==="\\enclose"){ee+="{"+Object.keys(this.notation).join(" ")+"}";let re="",oe="";this.backgroundcolor&&this.backgroundcolor!=="transparent"&&(re+=oe+'mathbackground="'+this.backgroundcolor+'"',oe=","),this.shadow&&this.shadow!=="auto"&&(re+=oe+'shadow="'+this.shadow+'"',oe=","),this.strokeWidth||this.strokeStyle!=="solid"?(re+=oe+this.borderStyle,oe=","):this.strokeColor&&this.strokeColor!=="currentColor"&&(re+=oe+'mathcolor="'+this.strokeColor+'"',oe=","),re&&(ee+=`[${re}]`)}return yo(ee,this.bodyToLatex(y))}render(y){const b=new La({parent:y},this.style),E=ar.createBox(b,this.body);if(!E)return null;const ee=im(this.borderStyle),re=b.toEm(!this.padding||this.padding==="auto"?{register:"fboxsep"}:{string:this.padding});E.setStyle("position","relative"),E.setStyle("display","inline-block"),E.setStyle("top",re,"em"),E.setStyle("height",E.height+E.depth,"em"),E.setStyle("width",E.width,"em");const oe=new Vr(null,{classes:"ML__notation"});let me=E.height+E.depth+2*re;const ge=E.width+2*re;let we="";if(this.notation.horizontalstrike&&(we+=this.line(3,50,97,50)),this.notation.verticalstrike&&(we+=this.line(50,3,50,97)),this.notation.updiagonalstrike&&(we+=this.line(3,97,97,3)),this.notation.downdiagonalstrike&&(we+=this.line(3,3,97,97)),this.notation.updiagonalarrow){we+=this.line(re.toString(),(re+E.depth+E.height).toString(),(re+E.width).toString(),re.toString());const _t=.03*Math.sqrt(ge*ge+me*me)*1,Wn=E.width*_t,Yr=(E.depth+E.height)*_t,zn=re+E.width;let hr=re;hr+Yr-.4*Wn<0&&(hr=.4*Wn-Yr),we+='<polygon points="',we+=`${zn},${hr} ${zn-Wn-.4*Yr},${hr+Yr-.4*Wn} `,we+=`${zn-.7*Wn},${hr+.7*Yr} ${zn-Wn+.4*Yr},${hr+Yr+.4*Wn} `,we+=`${zn},${hr}`,we+=`" stroke='none' fill="${this.strokeColor}"`,we+="/>"}let Me=0;if(this.notation.phasorangle){const mt=a0(b),It=(E.height+E.depth+2*mt+re).toString(),_t=(E.height+E.depth)/2;we+=this.line(re.toString(),It,(re+_t+E.width).toString(),It),we+=this.line(re.toString(),It,(re+_t).toString(),(re-mt).toString()),me+=mt,Me=_t,E.left+=me/2-re}if(this.notation.longdiv){const mt=a0(b);me+=mt,we+=this.line(re.toString(),re.toString(),(re+E.width).toString(),re.toString());const It=.3;Me=It+mt,E.left+=It+mt,E.setTop(re+mt),we+='<path d="',we+=`M ${re} ${re} a${It} ${(E.depth+E.height+2*mt)/2}, 0, 1, 1, 0 ${E.depth+E.height+2*mt} "`,we+=` stroke-width="${am(b)}" stroke="${this.strokeColor}" fill="none"`,we+="/>"}if(oe.width=E.width+2*re+Me,oe.height=E.height+re,oe.depth=E.depth+re,oe.setStyle("box-sizing","border-box"),oe.setStyle("left",`calc(-${ee} / 2 )`),oe.setStyle("height",`${Math.floor(100*me)/100}em`),oe.setStyle("top",`calc(${ee} / 2 )`),this.backgroundcolor&&oe.setStyle("background-color",this.backgroundcolor),this.notation.box&&oe.setStyle("border","1px solid red"),this.notation.actuarial&&(oe.setStyle("border-top",this.borderStyle),oe.setStyle("border-right",this.borderStyle)),this.notation.madruwb&&(oe.setStyle("border-bottom",this.borderStyle),oe.setStyle("border-right",this.borderStyle)),this.notation.roundedbox&&(oe.setStyle("border-radius","8px"),oe.setStyle("border",this.borderStyle)),this.notation.circle&&(oe.setStyle("border-radius","50%"),oe.setStyle("border",this.borderStyle)),this.notation.top&&oe.setStyle("border-top",this.borderStyle),this.notation.left&&oe.setStyle("border-left",this.borderStyle),this.notation.right&&oe.setStyle("border-right",this.borderStyle),this.notation.bottom&&oe.setStyle("border-bottom",this.borderStyle),we){let mt="";this.shadow==="auto"&&(mt+="filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)"),this.shadow!=="none"&&(mt+=`filter: drop-shadow(${this.shadow})`),mt+=` stroke-width="${this.strokeWidth}" stroke="${this.strokeColor}"`,mt+=' stroke-linecap="round"',this.svgStrokeStyle&&(mt+=` stroke-dasharray="${this.svgStrokeStyle}"`),oe.svgStyle=mt,oe.svgOverlay=we}const Je=new Vr([oe,E]);return Je.setStyle("position","relative"),Je.setStyle("vertical-align",re,"em"),Je.setStyle("height",`${Math.floor(100*(E.height+E.depth+2*re))/100}em`),Je.setStyle("display","inline-block"),Je.height=oe.height,Je.depth=oe.depth,Je.width=oe.width-2*re,Je.left=re,Je.right=re,this.caret&&(Je.caret=this.caret),Je.wrap(b)}line(y,b,E,ee){return`<line x1="${kf(y)}" y1="${kf(b)}" x2="${kf(E)}" y2="${kf(ee)}" vector-effect="non-scaling-stroke"></line>`}};function kf(a){return typeof a=="number"?`${Math.floor(100*a)/100}%`:a}function im(a){if(!a)return"1px";const y=a.match(/([0-9][a-zA-Z\%]+)/);return y===null?"1px":y[1]}function am(a){return(Math.floor(100*a.metrics.sqrtRuleThickness/a.scalingFactor)/100/10).toString()+"em"}function a0(a){const y=a.isDisplayStyle?Fl:a.metrics.defaultRuleThickness;return a.metrics.defaultRuleThickness+a.scalingFactor*y/4}var Cd=class jp extends ar{constructor(y,b,E){var ee,re;super(Ee(xe({},E),{type:"genfrac",displayContainsHighlight:!0})),this.above=y,this.below=b,this.hasBarLine=(ee=E==null?void 0:E.hasBarLine)!=null?ee:!0,this.continuousFraction=(re=E==null?void 0:E.continuousFraction)!=null?re:!1,this.numerPrefix=E==null?void 0:E.numerPrefix,this.denomPrefix=E==null?void 0:E.denomPrefix,this.mathstyleName=E==null?void 0:E.mathstyleName,this.leftDelim=E==null?void 0:E.leftDelim,this.rightDelim=E==null?void 0:E.rightDelim,this.fractionNavigationOrder=E==null?void 0:E.fractionNavigationOrder}static fromJson(y){return new jp(y.above,y.below,y)}toJson(){const y={};return this.continuousFraction&&(y.continuousFraction=!0),this.numerPrefix&&(y.numerPrefix=this.numerPrefix),this.denomPrefix&&(y.denomPrefix=this.denomPrefix),this.leftDelim&&(y.leftDelim=this.leftDelim),this.rightDelim&&(y.rightDelim=this.rightDelim),this.hasBarLine||(y.hasBarLine=!1),this.mathstyleName&&(y.mathstyleName=this.mathstyleName),this.fractionNavigationOrder&&(y.fractionNavigationOrder=this.fractionNavigationOrder),xe(xe({},super.toJson()),y)}get children(){if(this._children)return this._children;const y=[];if(this.fractionNavigationOrder==="denominator-numerator"){for(const b of this.below)y.push(...b.children),y.push(b);for(const b of this.above)y.push(...b.children),y.push(b)}else{for(const b of this.above)y.push(...b.children),y.push(b);for(const b of this.below)y.push(...b.children),y.push(b)}return this._children=y,y}render(y){var b,E;const ee=new La({parent:y,mathstyle:this.mathstyleName},this.style),re=ee.metrics,oe=new La({parent:ee,mathstyle:this.continuousFraction?"":"numerator"},this.style),me=this.numerPrefix?new Vr([new Vr(this.numerPrefix),ar.createBox(oe,this.above)],{isTight:oe.isTight,type:"ignore"}):(b=ar.createBox(oe,this.above,{type:"ignore"}))!=null?b:new Vr(null,{type:"ignore"}),ge=new La({parent:ee,mathstyle:this.continuousFraction?"":"denominator"},this.style),we=this.denomPrefix?new Vr([new Vr(this.denomPrefix),ar.createBox(ge,this.below,{type:"ignore"})]):(E=ar.createBox(ge,this.below,{type:"ignore"}))!=null?E:new Vr(null,{type:"ignore"}),Me=this.hasBarLine?re.defaultRuleThickness:0;let Je,mt=0,It;ee.isDisplayStyle?(Je=oe.metrics.num1,mt=Me>0?3*Me:7*Me,It=ge.metrics.denom1):(Me>0?(Je=oe.metrics.num2,mt=Me):(Je=oe.metrics.num3,mt=3*re.defaultRuleThickness),It=ge.metrics.denom2);const _t=[];this.isSelected&&_t.push("ML__selected");const Wn=me.depth,Yr=we.height;let zn;if(Me<=0){const Ri=Je-Wn-(Yr-It);Ri<mt&&(Je+=(mt-Ri)/2,It+=(mt-Ri)/2),zn=new oo({individualShift:[{box:me,shift:-Je,classes:[..._t,"ML__center"]},{box:we,shift:It,classes:[..._t,"ML__center"]}]}).wrap(ee)}else{const Ri=new Vr(null,{classes:"ML__frac-line",mode:this.mode,style:this.style});Ri.softWidth=Math.max(me.width,we.width),Ri.height=Me/2,Ri.depth=Me/2;const Na=to+Me/2;Je<mt+Wn+Na&&(Je=mt+Wn+Na);const po=to-Me/2;It<mt+Yr-po&&(It=mt+Yr-po),zn=new oo({individualShift:[{box:we,shift:It,classes:[..._t,"ML__center"]},{box:Ri,shift:-po,classes:_t},{box:me,shift:-Je,classes:[..._t,"ML__center"]}]}).wrap(ee)}const hr=ee.isDisplayStyle?re.delim1:re.delim2,ei=this.leftDelim?this.bind(y,Mi("open",this.leftDelim,hr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Bi(ee,"open");let Ar=null;this.continuousFraction?Ar=new Vr(null,{type:"close"}):this.rightDelim?Ar=this.bind(y,Mi("close",this.rightDelim,hr,!0,y,{style:this.style,mode:this.mode,isSelected:this.isSelected})):Ar=Bi(ee,"close");const Li=new Vr([ei,zn,Ar],{isTight:ee.isTight,type:"inner",classes:"mfrac"}),Hi=this.bind(y,Li);return this.caret&&(Hi.caret=this.caret),this.attachSupsub(y,{base:Hi})}},Xs=class Vp extends ar{constructor(y,b){var E;super({type:"latex",value:y,mode:"latex"}),this.isSuggestion=(E=b==null?void 0:b.isSuggestion)!=null?E:!1,this.isError=!1}static fromJson(y){const b=new Vp(y.value);return y.isSuggestion&&(b.isSuggestion=!0),y.isError&&(b.isError=!0),b}toJson(){const y={};return this.isSuggestion&&(y.isSuggestion=!0),this.isError&&(y.isError=!0),xe({type:"latex",value:this.value},y)}get computedStyle(){return{}}render(y){const b=new Vr(this.value,{classes:this.isSuggestion?"ML__suggestion":this.isError?"ML__error":"",type:"latex",maxFontSize:1});return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}},qd=class _p extends ar{constructor(y){super({type:"latexgroup",mode:"latex"}),this.body=[...y].map(b=>new Xs(b)),this.skipBoundary=!1}static fromJson(y){return new _p("")}toJson(){return super.toJson()}render(y){const b=ar.createBox(y,this.body);return b?(this.caret&&(b.caret=this.caret),this.bind(y,b)):null}_serialize(y){var b,E;return(E=(b=this.body)==null?void 0:b.map(ee=>ee.value).join(""))!=null?E:""}},fh=class Gp extends ar{constructor(y,b){super(Ee(xe({},b),{type:"extensible-symbol",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new Gp(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.isExtensibleSymbol&&(y.isExtensibleSymbol=!0),this.value&&(y.symbol=this.value),y}render(y){var b;const E=y.isDisplayStyle&&this.value!=="\\smallint",ee=new Vr(this.value,{fontFamily:E?"Size2-Regular":"Size1-Regular",classes:"op-symbol "+(E?"large-op":"small-op"),type:"op",maxFontSize:y.scalingFactor,isSelected:this.isSelected});if(!ee)return null;ee.right=ee.italic;const re=(ee.height-ee.depth)/2-to*y.scalingFactor,oe=ee.italic;ee.setTop(re);let me=ee;if(this.superscript||this.subscript){const ge=(b=this.subsupPlacement)!=null?b:"auto";me=ge==="over-under"||ge==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:ee,baseShift:re,slant:oe}):this.attachSupsub(y,{base:ee})}return new Vr(this.bind(y,me),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[];return E.push(this.command),this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),wa(E)}},ed=class Up extends ar{constructor(y){const b=y.body;super(Ee(xe({},y),{type:"overlap",body:typeof b=="string"?[new ar({value:b})]:b,style:y==null?void 0:y.style})),this.skipBoundary=!0,this.align=y==null?void 0:y.align,this.boxType=y==null?void 0:y.boxType}static fromJson(y){return new Up(y)}toJson(){const y={};return this.align&&(y.align=this.align),this.boxType&&(y.boxType=this.boxType),xe(xe({},super.toJson()),y)}render(y){const b=ar.createBox(y,this.body,{classes:"inner"});return b?(this.caret&&(b.caret=this.caret),this.bind(y,new Vr([b,new Vr(null,{classes:"fix"})],{classes:this.align==="right"?"rlap":"llap",type:this.boxType}))):null}},bu=class Yp extends ar{constructor(y){var b,E,ee,re;super({type:"overunder",command:y.command,style:y.style,mode:y.mode,body:y.body,skipBoundary:(b=y.skipBoundary)!=null?b:!0}),this.subsupPlacement=y.supsubPlacement,this.svgAbove=y.svgAbove,this.svgBelow=y.svgBelow,this.svgBody=y.svgBody,this.above=y.above,this.below=y.below,this.boxType=(E=y.boxType)!=null?E:"ord",this.paddedBody=(ee=y.paddedBody)!=null?ee:!1,this.paddedLabels=(re=y.paddedLabels)!=null?re:!1}static fromJson(y){return new Yp(y)}toJson(){const y=super.toJson();return this.skipBoundary||(y.skipBoundary=!1),this.subsupPlacement&&(y.subsupPlacement=this.subsupPlacement),this.svgAbove&&(y.svgAbove=this.svgAbove),this.svgBelow&&(y.svgBelow=this.svgBelow),this.svgBody&&(y.svgBody=this.svgBody),this.boxType!=="ord"&&(y.boxType=this.boxType),this.paddedBody&&(y.paddedBody=!0),this.paddedLabels&&(y.paddedLabels=!0),y}render(y){let b=this.svgBody?Ml(this.svgBody):ar.createBox(y,this.body,{type:"ignore"});const E=new La({parent:y,mathstyle:"scriptstyle"},this.style);let ee=null;this.svgAbove?ee=Ml(this.svgAbove):this.above&&(ee=ar.createBox(E,this.above,{type:"ignore"}));let re=null;this.svgBelow?re=Ml(this.svgBelow):this.below&&(re=ar.createBox(E,this.below,{type:"ignore"})),this.paddedBody&&(b=new Vr([Bi(y,"open"),b,Bi(y,"close")],{type:"ignore"}));let oe=om(y,{base:b,above:ee,below:re,type:this.boxType==="bin"||this.boxType==="rel"?this.boxType:"ord",paddedAboveBelow:this.paddedLabels});return oe?(this.subsupPlacement==="over-under"?oe=this.attachLimits(y,{base:oe,type:oe.type}):oe=this.attachSupsub(y,{base:oe}),this.caret&&(oe.caret=this.caret),this.bind(y,oe)):null}};function om(a,y){if(!y.base)return null;if(!y.above&&!y.below){const me=new Vr(y.base,{type:y.type});return me.setStyle("position","relative"),me}let b=0;y.above&&(b=a.metrics.bigOpSpacing5);let E=null;const ee=y.base,re=0,oe=["ML__center"];if(y.paddedAboveBelow&&oe.push("ML__label_padding"),y.below&&y.above){const me=a.metrics.bigOpSpacing5+y.below.height+y.below.depth+ee.depth+re;E=new oo({bottom:me,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:oe},{box:ee,classes:["ML__center"]},b,{box:y.above,classes:oe},a.metrics.bigOpSpacing5]})}else y.below?E=new oo({top:ee.height-re,children:[a.metrics.bigOpSpacing5,{box:y.below,classes:oe},{box:ee,classes:["ML__center"]}]}):y.above&&(E=new oo({bottom:ee.depth+re,children:[{box:ee,classes:["ML__center"]},b,{box:y.above,classes:oe},a.metrics.bigOpSpacing5]}));return new Vr(E,{type:y.type})}var $d=class Qp extends ar{constructor(y){var b,E,ee,re;super(Ee(xe({},y),{type:"phantom"})),this.captureSelection=!0,this.isInvisible=(b=y.isInvisible)!=null?b:!1,this.smashDepth=(E=y.smashDepth)!=null?E:!1,this.smashHeight=(ee=y.smashHeight)!=null?ee:!1,this.smashWidth=(re=y.smashWidth)!=null?re:!1}static fromJson(y){return new Qp(y)}toJson(){const y={};return this.isInvisible&&(y.isInvisible=!0),this.smashDepth&&(y.smashDepth=!0),this.smashHeight&&(y.smashHeight=!0),this.smashWidth&&(y.smashWidth=!0),xe(xe({},super.toJson()),y)}render(y){const b=new La({parent:y,isPhantom:!0});if(!this.smashDepth&&!this.smashHeight&&!this.smashWidth)return console.assert(this.isInvisible),ar.createBox(b,this.body,{classes:"inner"});const E=ar.createBox(this.isInvisible?b:y,this.body);if(!E)return null;if(this.smashWidth){const ee=new Vr(null,{classes:"fix"});return new Vr([E,ee],{classes:"rlap"}).wrap(y)}if(!this.smashHeight&&!this.smashDepth)return E;if(this.smashHeight&&(E.height=0),this.smashDepth&&(E.depth=0),E.children)for(const ee of E.children)this.smashHeight&&(ee.height=0),this.smashDepth&&(ee.depth=0);return new oo({firstBaseline:[{box:E}]},{type:E.type}).wrap(y)}},ef=class Xp extends ar{constructor(y){var b;super(xe({type:"spacing"},y)),this.width=y==null?void 0:y.width,this._braced=(b=y==null?void 0:y.braced)!=null?b:!1}static fromJson(y){return new Xp(y)}toJson(){const y=super.toJson();return this.width!==void 0&&(y.width=this.width),this._braced&&(y.braced=!0),y}render(y){var b;if(this.command==="space")return new Vr(this.mode==="math"?null:" ");let E;if(this.width!==void 0)E=new Vr(null,{classes:"mspace"}),E.left=y.toEm(this.width);else{const ee=(b={"\\qquad":"qquad","\\quad":"quad","\\enspace":"enspace","\\;":"thickspace","\\:":"mediumspace","\\>":"mediumspace","\\,":"thinspace","\\!":"negativethinspace"}[this.command])!=null?b:"mediumspace";E=new Vr(null,{classes:ee})}return E=this.bind(y,E),this.caret&&(E.caret=this.caret),E}_serialize(y){var b;if(!y.expandMacro&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const E=Ue(this.command,this.mode);if(E!=null&&E.serialize)return E.serialize(this,y);const ee=(b=this.command)!=null?b:"";return this.width===void 0?ee:this._braced&&!("register"in this.width)?`${ee}{${Yo(this.width)}}`:`${ee}${Yo(this.width)}`}},o0=class Jp extends ar{constructor(y){var b;super(Ee(xe({},y),{type:"surd",mode:(b=y.mode)!=null?b:"math",style:y.style,displayContainsHighlight:!0,body:y.body})),this.above=y.index}static fromJson(y){return new Jp(Ee(xe({},y),{index:y.above}))}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=this.command,ee=this.bodyToLatex(y);return this.above&&!this.hasEmptyBranch("above")?yo(`${E}[${this.aboveToLatex(y)}]`,ee):/^[0-9]$/.test(ee)?`${E}${ee}`:yo(E,ee)}get children(){if(this._children)return this._children;const y=[];if(this.above)for(const b of this.above)y.push(...b.children),y.push(b);if(this.body)for(const b of this.body)y.push(...b.children),y.push(b);return this._children=y,y}render(y){var b;const E=new La({parent:y,mathstyle:"cramp"},this.style),ee=(b=ar.createBox(E,this.body,{type:"inner"}))!=null?b:new Vr(null),re=E.scalingFactor,oe=E.metrics.defaultRuleThickness/re,me=y.isDisplayStyle?Fl:oe,ge=new Vr(null,{classes:"ML__sqrt-line",style:this.style});ge.height=oe,ge.softWidth=ee.width;let we=re*(oe+me/4);const Je=Math.max(re*2*me,ee.height+ee.depth)+we+oe,mt=new La({parent:y},this.style),It=this.bind(mt,new Vr(Mi("inner","\\surd",Je,!1,mt,{isSelected:this.isSelected}),{isSelected:this.isSelected,classes:"ML__sqrt-sign",style:this.style}));if(!It)return null;const _t=It.height+It.depth-oe;_t>ee.height+ee.depth+we&&(we=(we+_t-(ee.height+ee.depth))/2),It.setTop(It.height-ee.height-we);const Wn=this.bind(y,new oo({firstBaseline:[{box:new Vr(ee)},we-2*oe,{box:ge},oe]})),Yr=ar.createBox(new La({parent:y,mathstyle:"scriptscriptstyle"}),this.above,{type:"ignore"});if(!Yr){const ei=new Vr([It,Wn],{classes:this.containsCaret?"ML__contains-caret":"",type:"inner"});return ei.setStyle("display","inline-block"),ei.setStyle("height",ei.height+ei.depth,"em"),this.caret&&(ei.caret=this.caret),this.bind(y,ei)}const zn=new oo({shift:-.6*(Math.max(It.height,Wn.height)-Math.max(It.depth,Wn.depth)),children:[{box:Yr}]}),hr=new Vr([new Vr(zn,{classes:"ML__sqrt-index",type:"ignore"}),It,Wn],{type:"inner",classes:this.containsCaret?"ML__contains-caret":""});return hr.height=It.height,hr.depth=It.depth,this.caret&&(hr.caret=this.caret),this.bind(y,hr)}},sm=class extends Vr{constructor(a){super(null,{type:"skip"}),this._width=a}toMarkup(){return`<span style="display:inline-block;width:${Math.ceil(this.width*100)/100}em"></span>`}};function Df(a,y){if(!a.parent)return;const b=a.parent.children,E=b.indexOf(a);let ee=E-1;for(;ee>=0&&b[ee].type==="ignore";)ee-=1;if(ee<0&&a.parent.parent&&a.parent.type==="lift"){Df(a.parent,y);return}E>0&&b[E-1].type==="skip"?b[E-1].width+=y:b.splice(E,0,new sm(y))}var lm={ord:{op:3,bin:4,rel:5,inner:3},op:{ord:3,op:3,rel:5,inner:3},bin:{ord:4,op:4,open:4,inner:4},rel:{ord:5,op:5,open:5,inner:5},close:{op:3,bin:4,rel:5,inner:3},punct:{ord:3,op:3,rel:3,open:3,punct:3,inner:3},inner:{ord:3,op:3,bin:4,rel:5,open:3,punct:3,inner:3}},um={ord:{op:3},op:{ord:3,op:3},close:{op:3},inner:{op:3}};function cm(a){nf(a,(y,b)=>{b.type==="bin"&&(!y||/^(middle|bin|op|rel|open|punct)$/.test(y.type))&&(b.type="ord"),(y==null?void 0:y.type)==="bin"&&/^(rel|close|punct)$/.test(b.type)&&(y.type="ord"),b.type!=="ignore"&&(y=b)})}function tf(a,y){if(!a.children)return a;const b=a.children;cm(b);const E=y.getRegisterAsEm("thinmuskip"),ee=y.getRegisterAsEm("medmuskip"),re=y.getRegisterAsEm("thickmuskip");return nf(b,(oe,me)=>{var ge,we,Me;if(!oe)return;const Je=oe.type,mt=me.isTight?(ge=um[Je])!=null?ge:null:(we=lm[Je])!=null?we:null,It=(Me=mt==null?void 0:mt[me.type])!=null?Me:null;It===3&&Df(me,E),It===4&&Df(me,ee),It===5&&Df(me,re)}),a}function nf(a,y,b=void 0){if(!a)return b;a=[...a];for(const E of a)E.type==="lift"?b=nf(E.children,y,b):E.type==="ignore"?nf(E.children,y):(y(b,E),nf(E.children,y),b=E);return b}var hh=class qp extends ar{constructor(y){super({type:"tooltip",command:y.command,mode:y.mode,style:y.style,body:y.body,displayContainsHighlight:!0}),this.tooltip=new ar({type:"root",mode:y.content,body:y.tooltip,style:{}}),this.skipBoundary=!0,this.captureSelection=!1}static fromJson(y){return new qp(Ee(xe({},y),{tooltip:Tc(y.tooltip)}))}toJson(){var y;const b=(y=this.tooltip.body)==null?void 0:y.filter(E=>E.type!=="first").map(E=>E.toJson());return Ee(xe({},super.toJson()),{tooltip:b})}render(y){const b=ar.createBox(new La,this.body);if(!b)return null;const E=new La({parent:y,mathstyle:"displaystyle"},{fontSize:Al}),ee=Zu(tf(new Vr(this.tooltip.render(E),{classes:"ML__tooltip-content"}),E)),re=new Vr([ee,b],{classes:"ML__tooltip-container"});return this.caret&&(re.caret=this.caret),this.bind(y,re)}},td=class $p extends ar{constructor(y,b){super(Ee(xe({},b),{type:"operator",isFunction:b==null?void 0:b.isFunction})),this.value=y,this.variant=b==null?void 0:b.variant,this.variantStyle=b==null?void 0:b.variantStyle,this.subsupPlacement=b==null?void 0:b.limits}static fromJson(y){return new $p(y.symbol,y)}toJson(){const y=super.toJson();return this.variant&&(y.variant=this.variant),this.variantStyle&&(y.variantStyle=this.variantStyle),this.subsupPlacement&&(y.limits=this.subsupPlacement),this.value&&(y.symbol=this.value),y}render(y){var b;const E=new Vr(this.value,{type:"op",mode:"math",maxFontSize:y.scalingFactor,style:{variant:this.variant,variantStyle:this.variantStyle},isSelected:this.isSelected,letterShapeStyle:y.letterShapeStyle});let ee=E;if(this.superscript||this.subscript){const re=(b=this.subsupPlacement)!=null?b:"auto";ee=re==="over-under"||re==="auto"&&y.isDisplayStyle?this.attachLimits(y,{base:E}):this.attachSupsub(y,{base:E})}return new Vr(this.bind(y,ee),{type:"op",caret:this.caret,isSelected:this.isSelected,classes:"op-group"}).wrap(y)}_serialize(y){if(!(y.expandMacro||y.skipStyles||y.skipPlaceholders)&&typeof this.verbatimLatex=="string")return this.verbatimLatex;const b=Ue(this.command,this.mode);if(b!=null&&b.serialize)return b.serialize(this,y);const E=[this.command];return this.explicitSubsupPlacement&&(this.subsupPlacement==="over-under"&&E.push("\\limits"),this.subsupPlacement==="adjacent"&&E.push("\\nolimits"),this.subsupPlacement==="auto"&&E.push("\\displaylimits")),E.push(this.supsubToLatex(y)),wa(E)}};function Tc(a){if(Be(a))return a.map(E=>Tc(E));if(typeof a=="string")return ar.fromJson(a);a=xe({},a);for(const E of mu)a[E]&&(a[E]=Tc(a[E]));a.args&&(a.args=dm(a.args)),a.array&&(a.array=Tc(a.array));const y=a.type;let b;y==="accent"&&(b=z.fromJson(a)),y==="array"&&(b=la.fromJson(a)),y==="box"&&(b=as.fromJson(a)),y==="chem"&&(b=n0.fromJson(a)),y==="composition"&&(b=yc.fromJson(a)),y==="delim"&&(b=r0.fromJson(a)),y==="enclose"&&(b=Jd.fromJson(a)),y==="error"&&(b=yl.fromJson(a)),y==="extensible-symbol"&&(b=fh.fromJson(a)),y==="genfrac"&&(b=Cd.fromJson(a)),y==="group"&&(b=zs.fromJson(a)),y==="latex"&&(b=Xs.fromJson(a)),y==="latexgroup"&&(b=qd.fromJson(a)),y==="leftright"&&(b=Xa.fromJson(a)),y==="macro"&&(b=wd.fromJson(a)),y==="macro-argument"&&(b=Fu.fromJson(a)),y==="operator"&&(b=td.fromJson(a)),y==="overlap"&&(b=ed.fromJson(a)),y==="overunder"&&(b=bu.fromJson(a)),y==="placeholder"&&(b=Wi.fromJson(a)),y==="prompt"&&(b=Uu.fromJson(a)),y==="phantom"&&(b=$d.fromJson(a)),y==="sizeddelim"&&(b=i0.fromJson(a)),y==="spacing"&&(b=ef.fromJson(a)),y==="subsup"&&(b=yu.fromJson(a)),y==="surd"&&(b=o0.fromJson(a)),y==="text"&&(b=Yl.fromJson(a)),y==="tooltip"&&(b=hh.fromJson(a)),b||(console.assert(!y||["first","mbin","mrel","mclose","minner","mop","mopen","mord","mpunct","root","space"].includes(y),`MathLive 0.98.5: an unexpected atom type "${y}" was encountered. Add new atom constructors to \`fromJson()\` in "atom.ts"`),b=ar.fromJson(a));for(const E of mu)a[E]&&b.setChildren(a[E],E);return a.verbatimLatex!==void 0&&(b.verbatimLatex=a.verbatimLatex),a.subsupPlacement&&(b.subsupPlacement=a.subsupPlacement),a.explicitSubsupPlacement&&(b.explicitSubsupPlacement=!0),a.isFunction&&(b.isFunction=!0),a.isExtensibleSymbol&&(b.isExtensibleSymbol=!0),a.skipBoundary&&(b.skipBoundary=!0),a.captureSelection&&(b.captureSelection=!0),b}function dm(a){if(a&&Array.isArray(a))return a.map(y=>y==="<null>"?null:typeof y=="object"&&"group"in y?{group:y.group.map(b=>Tc(b))}:typeof y=="object"&&"atoms"in y?y.atoms.map(b=>Tc(b)):y)}var s0={main:["Main-Regular","ML__cmr"],"main-italic":["Main-Italic","ML__cmr ML__it"],"main-bold":["Main-Bold","ML__cmr ML__bold"],"main-bolditalic":["Main-BoldItalic","ML__cmr ML__bold ML__it"],normal:["Main-Regular","ML__cmr"],"normal-bold":["Main-Bold","ML__mathbf"],"normal-italic":["Math-Italic","ML__mathit"],"normal-bolditalic":["Math-BoldItalic","ML__mathbfit"],ams:["AMS-Regular","ML__ams"],"ams-bold":["AMS-Regular","ML__ams"],"ams-italic":["AMS-Regular","ML__ams"],"ams-bolditalic":["AMS-Regular","ML__ams"],"sans-serif":["SansSerif-Regular","ML__sans"],"sans-serif-bold":["SansSerif-Regular","ML__sans ML__bold"],"sans-serif-italic":["SansSerif-Regular","ML__sans"],"sans-serif-bolditalic":["SansSerif-Regular","ML__sans"],calligraphic:["Caligraphic-Regular","ML__cal"],"calligraphic-bold":["Caligraphic-Regular","ML__cal ML__bold"],"calligraphic-italic":["Caligraphic-Regular","ML__cal ML__it"],"calligraphic-bolditalic":["Caligraphic-Regular","ML__cal ML__bold ML__it"],script:["Script-Regular","ML__script"],"script-bold":["Script-Regular","ML__script ML__bold"],"script-italic":["Script-Regular","ML__script ML__it"],"script-bolditalic":["Script-Regular","ML__script ML__bold ML__it"],fraktur:["Fraktur-Regular","ML__frak"],"fraktur-bold":["Fraktur-Regular","ML__frak"],"fraktur-italic":["Fraktur-Regular","ML__frak"],"fraktur-bolditalic":["Fraktur-Regular","ML__frak"],monospace:["Typewriter-Regular","ML__tt"],"monospace-bold":["Typewriter-Regular","ML__tt ML__bold"],"monospace-italic":["Typewriter-Regular","ML__tt ML__it"],"monospace-bolditalic":["Typewriter-Regular","ML__tt ML__bold ML__it"],"double-struck":["AMS-Regular","ML__bb"],"double-struck-bold":["AMS-Regular","ML__bb"],"double-struck-italic":["AMS-Regular","ML__bb"],"double-struck-bolditalic":["AMS-Regular","ML__bb"]},ph={"double-struck":/^[A-Z ]$/,script:/^[A-Z ]$/,calligraphic:/^[\dA-Z ]$/,fraktur:/^[\dA-Za-z ]$|^[!"#$%&'()*+,\-./:;=?[]^’‘]$/,monospace:/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/,"sans-serif":/^[\dA-Za-z ]$|^[!"&'()*+,\-./:;=?@[\]^_~\u0131\u0237\u0393\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A8\u03A9]$/},l0=/^[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5]$/,fm=/^[\u0393|\u0394\u0398\u039B\u039E\u03A0\u03A3\u03A5\u03A6\u03A8\u03A9]$/,hm=[/^[a-z]$/,/^[A-Z]$/,l0,fm],pm={iso:["it","it","it","it"],tex:["it","it","it","up"],french:["it","up","up","up"],upright:["up","up","up","up"]},mm=class extends Es{constructor(){super("math")}createAtom(a,y,b){var E,ee,re,oe;if(y===null)return new ar({type:"mord",mode:"math",command:a,value:a,style:b});const me=window.MathfieldElement.isFunction((E=y.command)!=null?E:a);if(y.definitionType==="symbol"){const we=new ar({type:(ee=y.type)!=null?ee:"mord",mode:"math",command:(re=y.command)!=null?re:a,value:String.fromCodePoint(y.codepoint),style:b});return me&&(we.isFunction=!0),a.startsWith("\\")&&(we.verbatimLatex=a),we}const ge=new ar({type:"mord",mode:"math",command:(oe=y.command)!=null?oe:a,value:a,style:b});return me&&(ge.isFunction=!0),a.startsWith("\\")&&(ge.verbatimLatex=a),ge}serialize(a,y){const b=gm(a,Ee(xe({},y),{defaultMode:"math"}));return b.length===0||y.defaultMode!=="text"?b:["$ ",...b," $"]}getFont(a,y){console.assert(y.variant!==void 0);let{variant:b}=y,{variantStyle:E}=y;b==="normal"&&!E&&/[\u00A3\u0131\u0237]/.test(a.value)&&(b="main",E="italic"),b==="normal"&&!E&&a.value.length===1&&hm.forEach((me,ge)=>{var we;me.test(a.value)&&pm[(we=y.letterShapeStyle)!=null?we:"tex"][ge]==="it"&&(E="italic")}),E==="up"&&(E=void 0);const ee=E?b+"-"+E:b;console.assert(s0[ee]!==void 0);const[re,oe]=s0[ee];return ph[b]&&!ph[b].test(a.value)?(a.value=$t(a.value,b,E),null):(l0.test(a.value)&&(a.classes+=" lcGreek"),oe&&(a.classes+=" "+oe),re)}};function gm(a,y){const{parent:b}=a[0],E=u0(b);return Wo(a,"variant").map(ee=>{const re=u0(ee[0]);let oe="";re&&re!==E&&(oe={calligraphic:"\\mathcal",fraktur:"\\mathfrak","double-struck":"\\mathbb",script:"\\mathscr",monospace:"\\mathtt","sans-serif":"\\mathsf",normal:"\\mathrm","normal-italic":"\\mathnormal","normal-bold":"\\mathbf","normal-bolditalic":"\\mathbfit",ams:"","ams-italic":"\\mathit","ams-bold":"\\mathbf","ams-bolditalic":"\\mathbfit",main:"","main-italic":"\\mathit","main-bold":"\\mathbf","main-bolditalic":"\\mathbfit"}[re],console.assert(oe!==void 0));const me=wa(ee.map(ge=>ge._serialize(y)));return oe?yo(oe,me):me})}function u0(a){if(!a)return"";const{style:y}=a;if(y.variant===void 0)return"";let b=y.variant;return!["calligraphic","fraktur","double-struck","script","monospace","sans-serif"].includes(y.variant)&&y.variantStyle&&y.variantStyle!=="up"&&(b+="-"+y.variantStyle),b}new mm;function vm(a,y){return a.map(b=>b._serialize(y))}function ym(a,y){return Wo(a,"fontShape").map(b=>{const E=vm(b,y),{fontShape:ee}=b[0].style;let re="";return ee==="it"&&(re="\\textit"),ee==="sl"&&(re="\\textsl"),ee==="sc"&&(re="\\textsc"),ee==="n"&&(re="\\textup"),!re&&ee?`{${yo("\\fontshape",ee)}${wa(E)}}`:re?yo(re,wa(E)):wa(E)})}function bm(a,y){return Wo(a,"fontSeries").map(b=>{const E=ym(b,y),{fontSeries:ee}=b[0].style;let re="";return ee==="b"&&(re="\\textbf"),ee==="l"&&(re="\\textlf"),ee==="m"&&(re="\\textmd"),ee&&!re?`{${yo("\\fontseries",ee)}${wa(E)}}`:re?yo(re,wa(E)):wa(E)})}function xm(a,y){return Wo(a,"fontSize").map(b=>{var E,ee;const re=bm(b,y),oe=(ee=["","\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"][(E=b[0].style.fontSize)!=null?E:""])!=null?ee:"";return oe?`${oe} ${wa(re)}`:wa(re)})}function wm(a,y,b){return Wo(a,"fontFamily").map(E=>{var ee,re;const oe=xm(E,y),me=(re={roman:"textrm",monospace:"texttt","sans-serif":"textsf"}[(ee=E[0].style.fontFamily)!=null?ee:""])!=null?re:"";return me?`\\${me}{${wa(oe)}}`:E[0].style.fontFamily?`{\\fontfamily{${E[0].style.fontFamily}} ${wa(oe)}}`:b?`\\text{${wa(oe)}}`:wa(oe)})}var c0={roman:"","sans-serif":"ML__sans",monospace:"ML__tt"},Cm=class extends Es{constructor(){super("text")}createAtom(a,y,b){return y&&y.definitionType==="symbol"?new Yl(a,String.fromCodePoint(y.codepoint),b!=null?b:{}):null}serialize(a,y){return wm(a,Ee(xe({},y),{defaultMode:"text"}),y.defaultMode!=="text")}getFont(a,y){var b,E,ee,re,oe;const{fontFamily:me}=y;if(c0[me]?a.classes+=" "+c0[me]:me&&a.setStyle("font-family",me),y.fontShape&&(a.classes+=" ",a.classes+=(b={it:"ML__it",sl:"ML__shape_sl",sc:"ML__shape_sc",ol:"ML__shape_ol"}[y.fontShape])!=null?b:""),y.fontSeries){const ge=y.fontSeries.match(/(.?[lbm])?(.?[cx])?/);ge&&(a.classes+=" ",a.classes+=(ee={ul:"ML__series_ul",el:"ML__series_el",l:"ML__series_l",sl:"ML__series_sl",m:"",sb:"ML__series_sb",b:"ML__bold",eb:"ML__series_eb",ub:"ML__series_ub"}[(E=ge[1])!=null?E:""])!=null?ee:"",a.classes+=" ",a.classes+=(oe={uc:"ML__series_uc",ec:"ML__series_ec",c:"ML__series_c",sc:"ML__series_sc",n:"",sx:"ML__series_sx",x:"ML__series_x",ex:"ML__series_ex",ux:"ML__series_ux"}[(re=ge[2])!=null?re:""])!=null?oe:"")}return"Main-Regular"}};new Cm;var Sm=class extends Es{constructor(){super("latex")}createAtom(a){return new Xs(a)}serialize(a,y){return a.filter(b=>b instanceof Xs&&!b.isSuggestion).map(b=>b.value)}getFont(){return null}};new Sm;var Em={id:"dvorak",locale:"en",displayName:"Dvorak",virtualLayout:"dvorak",platform:"",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["x","X","\u2248","\u02DB"],KeyC:["j","J","\u2206","\xD4"],KeyD:["e","E","\xB4","\xB4"],KeyE:[".",">","\u2265","\u02D8"],KeyF:["u","U","\xA8","\xA8"],KeyG:["i","I","\u02C6","\u02C6"],KeyH:["d","D","\u2202","\xCE"],KeyI:["c","C","\xE7","\xC7"],KeyJ:["h","H","\u02D9","\xD3"],KeyK:["t","T","\u2020","\u02C7"],KeyL:["n","N","\u02DC","\u02DC"],KeyM:["m","M","\xB5","\xC2"],KeyN:["b","B","\u222B","\u0131"],KeyO:["r","R","\xAE","\u2030"],KeyP:["l","L","\xAC","\xD2"],KeyQ:["'",'"',"\xE6","\xC6"],KeyR:["p","P","\u03C0","\u220F"],KeyS:["o","O","\xF8","\xD8"],KeyT:["y","Y","\xA5","\xC1"],KeyU:["g","G","\xA9","\u02DD"],KeyV:["k","K","\u02DA","\uF8FF"],KeyW:[",","<","\u2264","\xAF"],KeyX:["q","Q","\u0153","\u0152"],KeyY:["f","F","\u0192","\xCF"],KeyZ:[";",":","\u2026","\xDA"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["[","{","\u201C","\u201D"],Equal:["]","}","\u2018","\u2019"],BracketLeft:["/","?","\xF7","\xBF"],BracketRight:["=","+","\u2260","\xB1"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:["s","S","\xDF","\xCD"],Quote:["-","_","\u2013","\u2014"],Backquote:["`","~","`","`"],Comma:["w","W","\u2211","\u201E"],Period:["v","V","\u221A","\u25CA"],Slash:["z","Z","\u03A9","\xB8"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},mh={id:"apple.en-intl",displayName:"English (international)",virtualLayout:"qwerty",platform:"apple",locale:"en",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u0131"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\xCE"],KeyE:["e","E","\xB4","\xB4"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\u02DD"],KeyH:["h","H","\u02D9","\xD3"],KeyI:["i","I","\u02C6","\u02C6"],KeyJ:["j","J","\u2206","\xD4"],KeyK:["k","K","\u02DA","\uF8FF"],KeyL:["l","L","\xAC","\xD2"],KeyM:["m","M","\xB5","\xC2"],KeyN:["n","N","\u02DC","\u02DC"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE","\u2030"],KeyS:["s","S","\xDF","\xCD"],KeyT:["t","T","\u2020","\u02C7"],KeyU:["u","U","\xA8","\xA8"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\u02DB"],KeyY:["y","Y","\xA5","\xC1"],KeyZ:["z","Z","\u03A9","\xB8"],Digit1:["1","!","\xA1","\u2044"],Digit2:["2","@","\u2122","\u20AC"],Digit3:["3","#","\xA3","\u2039"],Digit4:["4","$","\xA2","\u203A"],Digit5:["5","%","\u221E","\uFB01"],Digit6:["6","^","\xA7","\uFB02"],Digit7:["7","&","\xB6","\u2021"],Digit8:["8","*","\u2022","\xB0"],Digit9:["9","(","\xAA","\xB7"],Digit0:["0",")","\xBA","\u201A"],Space:[" "," "," "," "],Minus:["-","_","\u2013","\u2014"],Equal:["=","+","\u2260","\xB1"],BracketLeft:["[","{","\u201C","\u201D"],BracketRight:["]","}","\u2018","\u2019"],Backslash:["\\","|","\xAB","\xBB"],Semicolon:[";",":","\u2026","\xDA"],Quote:["'",'"',"\xE6","\xC6"],Backquote:["`","\u02DC","`","`"],Comma:[",","<","\u2264","\xAF"],Period:[".",">","\u2265","\u02D8"],Slash:["/","?","\xF7","\xBF"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[".",".",".","."],IntlBackslash:["\xA7","\xB1","\xA7","\xB1"],NumpadEqual:["=","=","=","="],AudioVolumeUp:["","=","","="]}},d0={id:"windows.en-intl",displayName:"English (international)",platform:"windows",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","\xE1","\xC1"],KeyB:["b","B","",""],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\xE9","\xC9"],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","\xED","\xCD"],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","\xF8","\xD8"],KeyM:["m","M","\xB5",""],KeyN:["n","N","\xF1","\xD1"],KeyO:["o","O","\xF3","\xD3"],KeyP:["p","P","\xF6","\xD6"],KeyQ:["q","Q","\xE4","\xC4"],KeyR:["r","R","\xAE",""],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\xFE","\xDE"],KeyU:["u","U","\xFA","\xDA"],KeyV:["v","V","",""],KeyW:["w","W","\xE5","\xC5"],KeyX:["x","X","",""],KeyY:["y","Y","\xFC","\xDC"],KeyZ:["z","Z","\xE6","\xC6"],Digit1:["1","!","\xA1","\xB9"],Digit2:["2","@","\xB2",""],Digit3:["3","#","\xB3",""],Digit4:["4","$","\xA4","\xA3"],Digit5:["5","%","\u20AC",""],Digit6:["6","^","\xBC",""],Digit7:["7","&","\xBD",""],Digit8:["8","*","\xBE",""],Digit9:["9","(","\u2018",""],Digit0:["0",")","\u2019",""],Space:[" "," ","",""],Minus:["-","_","\xA5",""],Equal:["=","+","\xD7","\xF7"],BracketLeft:["[","{","\xAB",""],BracketRight:["]","}","\xBB",""],Backslash:["\\","|","\xAC","\xA6"],Semicolon:[";",":","\xB6","\xB0"],Quote:["'",'"',"\xB4","\xA8"],Backquote:["`","~","",""],Comma:[",","<","\xE7","\xC7"],Period:[".",">","",""],Slash:["/","?","\xBF",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["\\","|","",""]}},f0={id:"linux.en",displayName:"English",platform:"linux",virtualLayout:"qwerty",locale:"en",score:0,mapping:{KeyA:["a","A","a","A"],KeyB:["b","B","b","B"],KeyC:["c","C","c","C"],KeyD:["d","D","d","D"],KeyE:["e","E","e","E"],KeyF:["f","F","f","F"],KeyG:["g","G","g","G"],KeyH:["h","H","h","H"],KeyI:["i","I","i","I"],KeyJ:["j","J","j","J"],KeyK:["k","K","k","K"],KeyL:["l","L","l","L"],KeyM:["m","M","m","M"],KeyN:["n","N","n","N"],KeyO:["o","O","o","O"],KeyP:["p","P","p","P"],KeyQ:["q","Q","q","Q"],KeyR:["r","R","r","R"],KeyS:["s","S","s","S"],KeyT:["t","T","t","T"],KeyU:["u","U","u","U"],KeyV:["v","V","v","V"],KeyW:["w","W","w","W"],KeyX:["x","X","x","X"],KeyY:["y","Y","y","Y"],KeyZ:["z","Z","z","Z"],Digit1:["1","!","1","!"],Digit2:["2","@","2","@"],Digit3:["3","#","3","#"],Digit4:["4","$","4","$"],Digit5:["5","%","5","%"],Digit6:["6","^","6","^"],Digit7:["7","&","7","&"],Digit8:["8","*","8","*"],Digit9:["9","(","9","("],Digit0:["0",")","0",")"],Space:[" "," "," "," "],Minus:["-","_","-","_"],Equal:["=","+","=","+"],BracketLeft:["[","{","[","{"],BracketRight:["]","}","]","}"],Backslash:["\\","|","\\","|"],Semicolon:[";",":",";",":"],Quote:["'",'"',"'",'"'],Backquote:["`","~","`","~"],Comma:[",","<",",","<"],Period:[".",">",".",">"],Slash:["/","?","/","?"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}},Am={id:"apple.french",locale:"fr",displayName:"French",platform:"apple",virtualLayout:"azerty",score:0,mapping:{KeyA:["q","Q","\u2021","\u03A9"],KeyB:["b","B","\xDF","\u222B"],KeyC:["c","C","\xA9","\xA2"],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\xEA","\xCA"],KeyF:["f","F","\u0192","\xB7"],KeyG:["g","G","\uFB01","\uFB02"],KeyH:["h","H","\xCC","\xCE"],KeyI:["i","I","\xEE","\xEF"],KeyJ:["j","J","\xCF","\xCD"],KeyK:["k","K","\xC8","\xCB"],KeyL:["l","L","\xAC","|"],KeyM:[",","?","\u221E","\xBF"],KeyN:["n","N","~","\u0131"],KeyO:["o","O","\u0153","\u0152"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xAE","\u201A"],KeyS:["s","S","\xD2","\u2211"],KeyT:["t","T","\u2020","\u2122"],KeyU:["u","U","\xBA","\xAA"],KeyV:["v","V","\u25CA","\u221A"],KeyW:["z","Z","\xC2","\xC5"],KeyX:["x","X","\u2248","\u2044"],KeyY:["y","Y","\xDA","\u0178"],KeyZ:["w","W","\u2039","\u203A"],Digit1:["&","1","\uF8FF","\xB4"],Digit2:["\xE9","2","\xEB","\u201E"],Digit3:['"',"3","\u201C","\u201D"],Digit4:["'","4","\u2018","\u2019"],Digit5:["(","5","{","["],Digit6:["\xA7","6","\xB6","\xE5"],Digit7:["\xE8","7","\xAB","\xBB"],Digit8:["!","8","\xA1","\xDB"],Digit9:["\xE7","9","\xC7","\xC1"],Digit0:["\xE0","0","\xF8","\xD8"],Space:[" "," "," "," "],Minus:[")","\xB0","}","]"],Equal:["-","_","\u2014","\u2013"],BracketLeft:["^","\xA8","\xF4","\xD4"],BracketRight:["$","*","\u20AC","\xA5"],Backslash:["`","\xA3","@","#"],Semicolon:["m","M","\xB5","\xD3"],Quote:["\xF9","%","\xD9","\u2030"],Backquote:["<",">","\u2264","\u2265"],Comma:[";",".","\u2026","\u2022"],Period:[":","/","\xF7","\\"],Slash:["=","+","\u2260","\xB1"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",".",",","."],IntlBackslash:["@","#","\u2022","\u0178"],NumpadEqual:["=","=","=","="]}},Mm={id:"windows.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"windows",score:0,mapping:{KeyA:["q","Q","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:[",","?","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["a","A","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["z","Z","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["w","W","",""],Digit1:["&","1","",""],Digit2:["\xE9","2","~",""],Digit3:['"',"3","#",""],Digit4:["'","4","{",""],Digit5:["(","5","[",""],Digit6:["-","6","|",""],Digit7:["\xE8","7","`",""],Digit8:["_","8","\\",""],Digit9:["\xE7","9","^",""],Digit0:["\xE0","0","@",""],Space:[" "," ","",""],Minus:[")","\xB0","]",""],Equal:["=","+","}",""],BracketLeft:["^","\xA8","",""],BracketRight:["$","\xA3","\xA4",""],Backslash:["*","\xB5","",""],Semicolon:["m","M","",""],Quote:["\xF9","%","",""],Backquote:["\xB2","","",""],Comma:[";",".","",""],Period:[":","/","",""],Slash:["!","\xA7","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},km={id:"linux.french",locale:"fr",displayName:"French",virtualLayout:"azerty",platform:"linux",score:0,mapping:{KeyA:["q","Q","@","\u03A9"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:[",","?","\u0301","\u030B"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["a","A","\xE6","\xC6"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["z","Z","\xAB","<"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["w","W","\u0142","\u0141"],Digit1:["&","1","\xB9","\xA1"],Digit2:["\xE9","2","~","\u215B"],Digit3:['"',"3","#","\xA3"],Digit4:["'","4","{","$"],Digit5:["(","5","[","\u215C"],Digit6:["-","6","|","\u215D"],Digit7:["\xE8","7","`","\u215E"],Digit8:["_","8","\\","\u2122"],Digit9:["\xE7","9","^","\xB1"],Digit0:["\xE0","0","@","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:[")","\xB0","]","\xBF"],Equal:["=","+","}","\u0328"],BracketLeft:["\u0302","\u0308","\u0308","\u030A"],BracketRight:["$","\xA3","\xA4","\u0304"],Backslash:["*","\xB5","\u0300","\u0306"],Semicolon:["m","M","\xB5","\xBA"],Quote:["\xF9","%","\u0302","\u030C"],Backquote:["\xB2","~","\xAC","\xAC"],Comma:[";",".","\u2500","\xD7"],Period:[":","/","\xB7","\xF7"],Slash:["!","\xA7","\u0323","\u0307"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"]}},Dm={id:"apple.german",locale:"de",displayName:"German",virtualLayout:"qwertz",platform:"apple",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\u222B","\u2039"],KeyC:["c","C","\xE7","\xC7"],KeyD:["d","D","\u2202","\u2122"],KeyE:["e","E","\u20AC","\u2030"],KeyF:["f","F","\u0192","\xCF"],KeyG:["g","G","\xA9","\xCC"],KeyH:["h","H","\xAA","\xD3"],KeyI:["i","I","\u2044","\xDB"],KeyJ:["j","J","\xBA","\u0131"],KeyK:["k","K","\u2206","\u02C6"],KeyL:["l","L","@","\uFB02"],KeyM:["m","M","\xB5","\u02D8"],KeyN:["n","N","~","\u203A"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\xAB","\xBB"],KeyR:["r","R","\xAE","\xB8"],KeyS:["s","S","\u201A","\xCD"],KeyT:["t","T","\u2020","\u02DD"],KeyU:["u","U","\xA8","\xC1"],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\u2211","\u201E"],KeyX:["x","X","\u2248","\xD9"],KeyY:["z","Z","\u03A9","\u02C7"],KeyZ:["y","Y","\xA5","\u2021"],Digit1:["1","!","\xA1","\xAC"],Digit2:["2",'"',"\u201C","\u201D"],Digit3:["3","\xA7","\xB6","#"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","[","\uFB01"],Digit6:["6","&","]","^"],Digit7:["7","/","|","\\"],Digit8:["8","(","{","\u02DC"],Digit9:["9",")","}","\xB7"],Digit0:["0","=","\u2260","\xAF"],Space:[" "," "," "," "],Minus:["\xDF","?","\xBF","\u02D9"],Equal:["\xB4","`","'","\u02DA"],BracketLeft:["\xFC","\xDC","\u2022","\xB0"],BracketRight:["+","*","\xB1","\uF8FF"],Backslash:["#","'","\u2018","\u2019"],Semicolon:["\xF6","\xD6","\u0153","\u0152"],Quote:["\xE4","\xC4","\xE6","\xC6"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u221E","\u02DB"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadDecimal:[",",",",".","."],IntlBackslash:["^","\xB0","\u201E","\u201C"],NumpadEqual:["=","=","=","="]}},Bm={id:"windows.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","\xB5",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","@",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["z","Z","",""],KeyZ:["y","Y","",""],Digit1:["1","!","",""],Digit2:["2",'"',"\xB2",""],Digit3:["3","\xA7","\xB3",""],Digit4:["4","$","",""],Digit5:["5","%","",""],Digit6:["6","&","",""],Digit7:["7","/","{",""],Digit8:["8","(","[",""],Digit9:["9",")","]",""],Digit0:["0","=","}",""],Space:[" "," ","",""],Minus:["\xDF","?","\\","\u1E9E"],Equal:["\xB4","`","",""],BracketLeft:["\xFC","\xDC","",""],BracketRight:["+","*","~",""],Backslash:["#","'","",""],Semicolon:["\xF6","\xD6","",""],Quote:["\xE4","\xC4","",""],Backquote:["^","\xB0","",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","|",""]}},Lm={id:"linux.german",locale:"de",displayName:"German",platform:"windows",virtualLayout:"qwertz",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201C","\u2018"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0323","\u0307"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","\u201D","\u2019"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\u017F","\u1E9E"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201E","\u201A"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xAB","\u2039"],KeyY:["z","Z","\u2190","\xA5"],KeyZ:["y","Y","\xBB","\u203A"],Digit1:["1","!","\xB9","\xA1"],Digit2:["2",'"',"\xB2","\u215B"],Digit3:["3","\xA7","\xB3","\xA3"],Digit4:["4","$","\xBC","\xA4"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["\xDF","?","\\","\xBF"],Equal:["\u0301","\u0300","\u0327","\u0328"],BracketLeft:["\xFC","\xDC","\u0308","\u030A"],BracketRight:["+","*","~","\xAF"],Backslash:["#","'","\u2019","\u0306"],Semicolon:["\xF6","\xD6","\u030B","\u0323"],Quote:["\xE4","\xC4","\u0302","\u030C"],Backquote:["\u0302","\xB0","\u2032","\u2033"],Comma:[",",";","\xB7","\xD7"],Period:[".",":","\u2026","\xF7"],Slash:["-","_","\u2013","\u2014"],PrintScreen:["","","",""],PageUp:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",",","",","],IntlBackslash:["<",">","|","\u0331"],AltRight:["\r","\r","\r","\r"],MetaRight:[".",".",".","."]}},Pm={id:"apple.spanish",locale:"es",displayName:"Spanish ISO",platform:"apple",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE5","\xC5"],KeyB:["b","B","\xDF",""],KeyC:["c","C","\xA9"," "],KeyD:["d","D","\u2202","\u2206"],KeyE:["e","E","\u20AC","\u20AC"],KeyF:["f","F","\u0192","\uFB01"],KeyG:["g","G","\uF8FF","\uFB02"],KeyH:["h","H","\u2122"," "],KeyI:["i","I"," "," "],KeyJ:["j","J","\xB6","\xAF"],KeyK:["k","K","\xA7","\u02C7"],KeyL:["l","L"," ","\u02D8"],KeyM:["m","M","\xB5","\u02DA"],KeyN:["n","N"," ","\u02D9"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\u03C0","\u220F"],KeyQ:["q","Q","\u0153","\u0152"],KeyR:["r","R","\xAE"," "],KeyS:["s","S","\u222B"," "],KeyT:["t","T","\u2020","\u2021"],KeyU:["u","U"," "," "],KeyV:["v","V","\u221A","\u25CA"],KeyW:["w","W","\xE6","\xC6"],KeyX:["x","X","\u2211","\u203A"],KeyY:["y","Y","\xA5"," "],KeyZ:["z","Z","\u03A9","\u2039"],Digit1:["1","!","|","\u0131"],Digit2:["2",'"',"@","\u02DD"],Digit3:["3","\xB7","#","\u2022"],Digit4:["4","$","\xA2","\xA3"],Digit5:["5","%","\u221E","\u2030"],Digit6:["6","&","\xAC"," "],Digit7:["7","/","\xF7","\u2044"],Digit8:["8","(","\u201C","\u2018"],Digit9:["9",")","\u201D","\u2019"],Digit0:["0","=","\u2260","\u2248"],Space:[" "," "," "," "],Minus:["'","?","\xB4","\xB8"],Equal:["\xA1","\xBF","\u201A","\u02DB"],BracketLeft:["`","^","[","\u02C6"],BracketRight:["+","*","]","\xB1"],Backslash:["\xE7","\xC7","}","\xBB"],Semicolon:["\xF1","\xD1","~","\u02DC"],Quote:["\xB4","\xA8","{","\xAB"],Backquote:["<",">","\u2264","\u2265"],Comma:[",",";","\u201E",""],Period:[".",":","\u2026","\u2026"],Slash:["-","_","\u2013","\u2014"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],Numpad1:["1","1","1","1"],Numpad2:["2","2","2","2"],Numpad3:["3","3","3","3"],Numpad4:["4","4","4","4"],Numpad5:["5","5","5","5"],Numpad6:["6","6","6","6"],Numpad7:["7","7","7","7"],Numpad8:["8","8","8","8"],Numpad9:["9","9","9","9"],Numpad0:["0","0","0","0"],NumpadDecimal:[",",",",",",","],IntlBackslash:["\xBA","\xAA","\\","\xB0"]}},Fm={id:"windows.spanish",locale:"es",displayName:"Spanish",platform:"windows",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","",""],KeyB:["b","B","",""],KeyC:["c","C","",""],KeyD:["d","D","",""],KeyE:["e","E","\u20AC",""],KeyF:["f","F","",""],KeyG:["g","G","",""],KeyH:["h","H","",""],KeyI:["i","I","",""],KeyJ:["j","J","",""],KeyK:["k","K","",""],KeyL:["l","L","",""],KeyM:["m","M","",""],KeyN:["n","N","",""],KeyO:["o","O","",""],KeyP:["p","P","",""],KeyQ:["q","Q","",""],KeyR:["r","R","",""],KeyS:["s","S","",""],KeyT:["t","T","",""],KeyU:["u","U","",""],KeyV:["v","V","",""],KeyW:["w","W","",""],KeyX:["x","X","",""],KeyY:["y","Y","",""],KeyZ:["z","Z","",""],Digit1:["1","!","|",""],Digit2:["2",'"',"@",""],Digit3:["3","\xB7","#",""],Digit4:["4","$","~",""],Digit5:["5","%","\u20AC",""],Digit6:["6","&","\xAC",""],Digit7:["7","/","",""],Digit8:["8","(","",""],Digit9:["9",")","",""],Digit0:["0","=","",""],Space:[" "," ","",""],Minus:["'","?","",""],Equal:["\xA1","\xBF","",""],BracketLeft:["`","^","[",""],BracketRight:["+","*","]",""],Backslash:["\xE7","\xC7","}",""],Semicolon:["\xF1","\xD1","",""],Quote:["\xB4","\xA8","{",""],Backquote:["\xBA","\xAA","\\",""],Comma:[",",";","",""],Period:[".",":","",""],Slash:["-","_","",""],NumpadDivide:["/","/","",""],NumpadMultiply:["*","*","",""],NumpadSubtract:["-","-","",""],NumpadAdd:["+","+","",""],IntlBackslash:["<",">","",""]}},Im={id:"linux.spanish",locale:"es",displayName:"Spanish",platform:"linux",virtualLayout:"qwerty",score:0,mapping:{KeyA:["a","A","\xE6","\xC6"],KeyB:["b","B","\u201D","\u2019"],KeyC:["c","C","\xA2","\xA9"],KeyD:["d","D","\xF0","\xD0"],KeyE:["e","E","\u20AC","\xA2"],KeyF:["f","F","\u0111","\xAA"],KeyG:["g","G","\u014B","\u014A"],KeyH:["h","H","\u0127","\u0126"],KeyI:["i","I","\u2192","\u0131"],KeyJ:["j","J","\u0309","\u031B"],KeyK:["k","K","\u0138","&"],KeyL:["l","L","\u0142","\u0141"],KeyM:["m","M","\xB5","\xBA"],KeyN:["n","N","n","N"],KeyO:["o","O","\xF8","\xD8"],KeyP:["p","P","\xFE","\xDE"],KeyQ:["q","Q","@","\u03A9"],KeyR:["r","R","\xB6","\xAE"],KeyS:["s","S","\xDF","\xA7"],KeyT:["t","T","\u0167","\u0166"],KeyU:["u","U","\u2193","\u2191"],KeyV:["v","V","\u201C","\u2018"],KeyW:["w","W","\u0142","\u0141"],KeyX:["x","X","\xBB",">"],KeyY:["y","Y","\u2190","\xA5"],KeyZ:["z","Z","\xAB","<"],Digit1:["1","!","|","\xA1"],Digit2:["2",'"',"@","\u215B"],Digit3:["3","\xB7","#","\xA3"],Digit4:["4","$","~","$"],Digit5:["5","%","\xBD","\u215C"],Digit6:["6","&","\xAC","\u215D"],Digit7:["7","/","{","\u215E"],Digit8:["8","(","[","\u2122"],Digit9:["9",")","]","\xB1"],Digit0:["0","=","}","\xB0"],Enter:["\r","\r","\r","\r"],Escape:["\x1B","\x1B","\x1B","\x1B"],Backspace:["\b","\b","\b","\b"],Tab:[" ",""," ",""],Space:[" "," "," "," "],Minus:["'","?","\\","\xBF"],Equal:["\xA1","\xBF","\u0303","~"],BracketLeft:["\u0300","\u0302","[","\u030A"],BracketRight:["+","*","]","\u0304"],Backslash:["\xE7","\xC7","}","\u0306"],Semicolon:["\xF1","\xD1","~","\u030B"],Quote:["\u0301","\u0308","{","{"],Backquote:["\xBA","\xAA","\\","\\"],Comma:[",",";","\u2500","\xD7"],Period:[".",":","\xB7","\xF7"],Slash:["-","_","\u0323","\u0307"],NumpadDivide:["/","/","/","/"],NumpadMultiply:["*","*","*","*"],NumpadSubtract:["-","-","-","-"],NumpadAdd:["+","+","+","+"],NumpadEnter:["\r","\r","\r","\r"],Numpad1:["","1","","1"],Numpad2:["","2","","2"],Numpad3:["","3","","3"],Numpad4:["","4","","4"],Numpad5:["","5","","5"],Numpad6:["","6","","6"],Numpad7:["","7","","7"],Numpad8:["","8","","8"],Numpad9:["","9","","9"],Numpad0:["","0","","0"],NumpadDecimal:["",".","","."],IntlBackslash:["<",">","|","\xA6"],NumpadEqual:["=","=","=","="],NumpadComma:[".",".",".","."],NumpadParenLeft:["(","(","(","("],NumpadParenRight:[")",")",")",")"]}};function h0(a){const y=a.split("+"),b={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:y.pop()};return y.includes("shift")&&(b.shift=!0),y.includes("alt")&&(b.alt=!0),y.includes("ctrl")&&(b.ctrl=!0),y.includes("cmd")&&(b.cmd=!0),y.includes("win")&&(b.win=!0),y.includes("meta")&&(b.meta=!0),b}function Sd(a){let y="";return a.shift&&(y+="shift+"),a.alt&&(y+="alt+"),a.ctrl&&(y+="ctrl+"),a.cmd&&(y+="cmd+"),a.win&&(y+="win+"),a.meta&&(y+="meta+"),y+a.key}var Om={enter:"[Enter]",escape:"[Escape]",backspace:"[Backspace]",tab:"[Tab]",space:"[Space]",pausebreak:"[Pause]",insert:"[Insert]",home:"[Home]",pageup:"[PageUp]",delete:"[Delete]",end:"[End]",pagedown:"[PageDown]",right:"[ArrowRight]",left:"[ArrowLeft]",down:"[ArrowDown]",up:"[ArrowUp]",numpad0:"[Numpad0]",numpad1:"[Numpad1]",numpad2:"[Numpad2]",numpad3:"[Numpad3]",numpad4:"[Numpad4]",numpad5:"[Numpad5]",numpad6:"[Numpad6]",numpad7:"[Numpad7]",numpad8:"[Numpad8]",numpad9:"[Numpad9]",numpad_divide:"[NumpadDivide]",numpad_multiply:"[NumpadMultiply]",numpad_subtract:"[NumpadSubtract]",numpad_add:"[NumpadAdd]",numpad_decimal:"[NumpadDecimal]",numpad_separator:"[NumpadComma]",capslock:"[Capslock]",f1:"[F1]",f2:"[F2]",f3:"[F3]",f4:"[F4]",f5:"[F5]",f6:"[F6]",f7:"[F7]",f8:"[F8]",f9:"[F9]",f10:"[F10]",f11:"[F11]",f12:"[F12]",f13:"[F13]",f14:"[F14]",f15:"[F15]",f16:"[F16]",f17:"[F17]",f18:"[F18]",f19:"[F19]"},rf=[],af;function gh(){switch(lt()){case"macos":case"ios":return"apple";case"windows":return"windows"}return"linux"}function ql(a){(!a.platform||a.platform===gh())&&rf.push(a)}function Tm(a,y){var b;const E={shift:!1,alt:!1,cmd:!1,win:!1,meta:!1,ctrl:!1,key:""};if(!a)return E;for(const[ee,re]of Object.entries(y.mapping)){if(re[0]===a)return E.key=`[${ee}]`,E;if(re[1]===a)return E.shift=!0,E.key=`[${ee}]`,E;if(re[2]===a)return E.alt=!0,E.key=`[${ee}]`,E;if(re[3]===a)return E.shift=!0,E.alt=!0,E.key=`[${ee}]`,E}return E.key=(b=Om[a])!=null?b:"",E}function Rm(a){if(a.code)return a;const y=Object.entries(of().mapping);let b=!1,E=!1,ee="";for(let re=0;re<4;re++){for(const[oe,me]of y)if(me[re]===a.key){ee=oe,re===3?(b=!0,E=!0):re===2?b=!0:re===1&&(E=!0);break}if(ee)break}return new KeyboardEvent(a.type,Ee(xe({},a),{altKey:b,shiftKey:E,code:ee}))}function Nm(a){var y,b;if(!a||a.key==="Unidentified"||a.key==="Dead")return;const E=a.shiftKey&&a.altKey?3:a.altKey?2:a.shiftKey?1:0;for(const ee of rf)((y=ee.mapping[a.code])==null?void 0:y[E])===a.key?ee.score+=1:(b=ee.mapping[a.code])!=null&&b[E]&&(ee.score=0);rf.sort((ee,re)=>re.score-ee.score)}function zm(a){af=rf.find(y=>a.startsWith(y.locale))}function of(){return af!=null?af:rf[0]}function Hm(){switch(gh()){case"apple":return mh;case"windows":return d0;case"linux":return f0}return mh}switch(gh()){case"apple":ql(mh),ql(Am),ql(Pm),ql(Dm);break;case"windows":ql(d0),ql(Mm),ql(Fm),ql(Bm);break;case"linux":ql(f0),ql(km),ql(Im),ql(Lm);break}ql(Em);function vh(a){var y;const b=/macos|ios/.test(lt()),E=a.split("+");let ee="";for(const re of E)ee&&(ee+=b?"\u2009":'<span class="ML__shortcut-join">+</span>'),re.startsWith("[Key")?ee+=re.slice(4,5):re.startsWith("Key")?ee+=re.slice(3,4):re.startsWith("[Digit")?ee+=re.slice(6,7):re.startsWith("Digit")?ee+=re.slice(5,6):ee+=(y={cmd:"\u2318",meta:b?"\u2318":"Ctrl",shift:b?"\u21E7":"Shift",alt:b?"\u2325":"Alt",ctrl:b?"\u2303":"Ctrl","\n":b?"\u23CE":"Return","[return]":b?"\u23CE":"Return","[enter]":b?"\u2324":"Enter","[tab]":b?"\u21E5":"Tab","[escape]":"Esc","[backspace]":b?"\u232B":"Backspace","[delete]":b?"\u2326":"Del","[pageup]":b?"\u21DE":"Page Up","[pagedown]":b?"\u21DF":"Page Down","[home]":b?"\u2912":"Home","[end]":b?"\u2913":"End","[space]":"Space","[equal]":"=","[minus]":"-","[comma]":",","[slash]":"/","[backslash]":"\\","[bracketleft]":"[","[bracketright]":"]",semicolon:";",period:".",comma:",",minus:"-",equal:"=",quote:"'",backslash:"\\",intlbackslash:"\\",backquote:"`",slash:"/",numpadmultiply:"* 🔢",numpaddivide:"/ 🔢",numpadsubtract:"- 🔢",numpadadd:"+ 🔢",numpaddecimal:". 🔢",numpadcomma:", 🔢",help:"help",left:"\u21E0",up:"\u21E1",right:"\u21E2",down:"\u21E3","[arrowleft]":"\u21E0","[arrowup]":"\u21E1","[arrowright]":"\u21E2","[arrowdown]":"\u21E3"}[re.toLowerCase()])!=null?y:re.toUpperCase();return ee}function Bf(a){if(a instanceof MouseEvent||a instanceof PointerEvent)return{x:a.clientX,y:a.clientY};if(a instanceof TouchEvent){const y=[...a.touches].reduce((E,ee)=>({x:E.x+ee.clientX,y:E.y+ee.clientY}),{x:0,y:0}),b=a.touches.length;return{x:y.x/b,y:y.y/b}}}function nd(a){const y={alt:!1,control:!1,shift:!1,meta:!1};return(a instanceof MouseEvent||a instanceof PointerEvent||a instanceof TouchEvent||a instanceof KeyboardEvent)&&(a.altKey&&(y.alt=!0),a.ctrlKey&&(y.control=!0),a.metaKey&&(y.meta=!0),a.shiftKey&&(y.shift=!0)),y}function Km(a,y){return!a&&y||a&&!y?!1:!a||!y?!0:a.alt===y.alt&&a.control===y.control&&a.shift===y.shift&&a.meta===y.meta}var Wm=new Set(["Backquote","Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6","Digit7","Digit8","Digit9","Minus","Equal","IntlYen","KeyQ","KeyW","KeyE","KeyR","KeyT","KeyY","KeyU","KeyI","KeyO","KeyP","BracketLeft","BracketRight","Backslash","KeyA","KeyS","KeyD","KeyF","KeyG","KeyH","KeyJ","KeyK","KeyL","Semicolon","Quote","IntlBackslash","KeyZ","KeyX","KeyC","KeyV","KeyB","KeyN","KeyM","Comma","Period","Slash","IntlRo","Space","Numpad0","Numpad1","Numpad2","Numpad3","Numpad4","Numpad5","Numpad6","Numpad7","Numpad8","Numpad9","NumpadAdd","NumpadComma","NumpadDecimal","NumpadDivide","NumpadEqual","NumpadHash","NumpadMultiply","NumpadParenLeft","NumpadParenRight","NumpadStar","NumpadSubstract"]);function Lf(a){return a.ctrlKey||a.metaKey||["Dead","Process"].includes(a.key)?!1:a.code===""?!0:Wm.has(a.code)}function Pf(){var a;let y=document.activeElement;for(;(a=y==null?void 0:y.shadowRoot)!=null&&a.activeElement;)y=y.shadowRoot.activeElement;return y}var Yu=class Sc{static get scrim(){return Sc._scrim||(Sc._scrim=new Sc),Sc._scrim}static open(y){Sc.scrim.open(y)}static close(){Sc.scrim.close()}static get state(){return Sc.scrim.state}static get element(){return Sc.scrim.element}constructor(y){var b,E;this.lightDismiss=(b=y==null?void 0:y.lightDismiss)!=null?b:!0,this.translucent=(E=y==null?void 0:y.translucent)!=null?E:!1,this.state="closed"}get element(){if(this._element)return this._element;const y=document.createElement("div");return y.setAttribute("role","presentation"),y.style.position="fixed",y.style.contain="content",y.style.top="0",y.style.left="0",y.style.right="0",y.style.bottom="0",y.style.zIndex="var(--scrim-zindex, 10099)",y.style.outline="none",this.translucent?(y.style.background="rgba(255, 255, 255, .2)",y.style.backdropFilter="contrast(40%)"):y.style.background="transparent",this._element=y,y}open(y){var b;if(this.state!=="closed")return;this.state="opening",this.onDismiss=y==null?void 0:y.onDismiss,this.savedActiveElement=Pf();const{element:E}=this;((b=y==null?void 0:y.root)!=null?b:document.body).appendChild(E),E.addEventListener("click",this),document.addEventListener("touchmove",this,!1),document.addEventListener("scroll",this,!1);const ee=window.innerWidth-document.documentElement.clientWidth;this.savedMarginRight=document.body.style.marginRight,this.savedOverflow=document.body.style.overflow,document.body.style.overflow="hidden";const re=Number.parseFloat(getComputedStyle(document.body).marginRight);document.body.style.marginRight=`${re+ee}px`,y!=null&&y.child&&E.append(y.child),this.state="open"}close(){var y,b,E,ee;if(this.state!=="open"){console.assert(this.element.parentElement!==null);return}this.state="closing",typeof this.onDismiss=="function"&&this.onDismiss(),this.onDismiss=void 0;const{element:re}=this;re.removeEventListener("click",this),document.removeEventListener("touchmove",this,!1),document.removeEventListener("scroll",this,!1),re.remove(),document.body.style.overflow=(y=this.savedOverflow)!=null?y:"",document.body.style.marginRight=(b=this.savedMarginRight)!=null?b:"",Pf()!==this.savedActiveElement&&((ee=(E=this.savedActiveElement)==null?void 0:E.focus)==null||ee.call(E)),re.innerHTML="",this.state="closed"}handleEvent(y){this.lightDismiss&&(y.target===this._element&&y.type==="click"?(this.close(),y.preventDefault(),y.stopPropagation()):y.target===document&&(y.type==="touchmove"||y.type==="scroll")&&(this.close(),y.preventDefault(),y.stopPropagation()))}};function Zm(a,y,b){let E=null,ee=null,re=!1,oe=!1,me=!1;const ge=new AbortController,we=ge.signal;return a.addEventListener("keydown",Me=>{if(re||Me.key==="Process"||Me.code==="CapsLock"||/(Control|Meta|Alt|Shift)(Left|Right)/.test(Me.code)){E=null;return}E=Me,ee=null,b.onKeystroke(Me)?a.textContent="":E=null},{capture:!0,signal:we}),a.addEventListener("keypress",Me=>{re||(E&&ee&&b.onKeystroke(E),ee=Me)},{capture:!0,signal:we}),a.addEventListener("compositionstart",Me=>{a.textContent="",re=!0,b.onCompositionStart(Me.data)},{capture:!0,signal:we}),a.addEventListener("compositionupdate",Me=>{re&&b.onCompositionUpdate(Me.data)},{capture:!0,signal:we}),a.addEventListener("compositionend",Me=>{a.textContent="",re&&(re=!1,b.onCompositionEnd(Me.data))},{capture:!0,signal:we}),a.addEventListener("beforeinput",Me=>Me.stopImmediatePropagation(),{signal:we}),a.addEventListener("input",Me=>{var Je;if(!re&&(a.textContent="",Me.inputType!=="insertCompositionText")){if(Me.inputType==="insertFromPaste"){Me.preventDefault(),Me.stopPropagation();return}b.onInput((Je=Me.data)!=null?Je:""),Me.preventDefault(),Me.stopPropagation()}},{signal:we}),a.addEventListener("paste",Me=>{a.focus({preventScroll:!0}),a.textContent="",b.onPaste(Me)||Me.preventDefault(),Me.stopImmediatePropagation()},{signal:we}),a.addEventListener("cut",Me=>b.onCut(Me),{capture:!0,signal:we}),a.addEventListener("copy",Me=>b.onCopy(Me),{capture:!0,signal:we}),a.addEventListener("blur",Me=>{var Je,mt;if(((mt=(Je=Me.relatedTarget)==null?void 0:Je._mathfield)==null?void 0:mt.element)===y){a.focus({preventScroll:!0}),Me.preventDefault(),Me.stopPropagation();return}const It=Yu.state;if(It==="open"||It==="opening"){Me.preventDefault(),Me.stopPropagation();return}if(Me.relatedTarget===Me.target.getRootNode().host){Me.preventDefault(),Me.stopPropagation();return}me||oe||(me=!0,E=null,ee=null,b.onBlur(),me=!1)},{capture:!0,signal:we}),a.addEventListener("focus",Me=>{me||oe||(oe=!0,b.onFocus(),oe=!1)},{capture:!0,signal:we}),{dispose:()=>ge.abort(),cancelComposition:()=>{re&&(a.blur(),requestAnimationFrame(()=>a.focus({preventScroll:!0})))},blur:()=>{typeof a.blur=="function"&&a.blur()},focus:()=>{!oe&&typeof a.focus=="function"&&a.focus({preventScroll:!0})},hasFocus:()=>Pf()===a,setAriaLabel:Me=>a.setAttribute("aria-label",Me),setValue:Me=>{var Je;a.textContent=Me,a.style.left="-1000px",(Je=window.getSelection())==null||Je.selectAllChildren(a)},moveTo:(Me,Je)=>{a.style.top=`${Je}px`,a.style.left=`${Me}px`}}}function Ed(a){var y;if(!a||!Lf(a))return"";let b;return a.key==="Unidentified"&&a.target&&(b=a.target.value),b=(y=b!=null?b:a.key)!=null?y:a.code,/^(Dead|Return|Enter|Tab|Escape|Delete|PageUp|PageDown|Home|End|Help|ArrowLeft|ArrowRight|ArrowUp|ArrowDown)$/.test(b)&&(b=""),b}function p0(a){a=Rm(a);const y=[];return a.ctrlKey&&y.push("ctrl"),a.metaKey&&y.push("meta"),a.altKey&&y.push("alt"),a.shiftKey&&y.push("shift"),y.length===0?`[${a.code}]`:(y.push(`[${a.code}]`),y.join("+"))}function jm(a){if(dt()){const y=lt(),b=a.startsWith("!"),E=a.endsWith(y);if(b&&!E||!b&&E)return!0}return a==="!other"?!1:a==="other"}function Vm(a,y,b){if(a.length===0)return"";const E=Sd(h0(p0(b))),ee=Sd({key:b.key,shift:b.shiftKey,alt:b.altKey,ctrl:b.ctrlKey,meta:b.metaKey||b.ctrlKey&&/macos|ios/.test(lt()),cmd:!1,win:!1});for(let re=a.length-1;re>=0;re--)if((a[re].key===E||a[re].key===ee)&&(!a[re].ifMode||a[re].ifMode===y))return a[re].command;return""}function m0(a){let y=a;return Be(y)&&(y=y.length>0?y[0]+"("+y.slice(1).join("")+")":""),y}function _m(a,y){let b=[];if(typeof y=="string"){const re=_d[y];Be(re)?b=re.slice():re&&b.push(re)}const E=m0(y),ee=new RegExp("^"+E.replace("\\","\\\\").replace("|","\\|").replace("*","\\*").replace("$","\\$").replace("^","\\^")+"([^*a-zA-Z]|$)");for(const re of a)ee.test(m0(re.command))&&b.push(re.key);return b.map(vh)}function Gm(a,y){if(a.ifPlatform&&!/^!?(macos|windows|android|ios|chromeos|other)$/.test(a.ifPlatform))throw new Error(`Unexpected platform "${a.ifPlatform}" for keybinding ${a.key}`);if(a.ifLayout!==void 0&&(y.score===0||!a.ifLayout.includes(y.id)))return;const b=h0(a.key);let E=a.ifPlatform;if(b.cmd){if(E&&E!=="macos"&&E!=="ios")throw new Error('Unexpected "cmd" modifier with platform "'+E+`"
|
|
|
"cmd" modifier can only be used with macOS or iOS platform.`);E||(E=lt()==="ios"?"ios":"macos"),b.win=!1,b.cmd=!1,b.meta=!0}if(b.win){if(E&&E!=="windows")throw new Error('Unexpected "win" modifier with platform "'+E+`"
|
|
|
"win" modifier can only be used with Windows platform.`);E="windows",b.win=!1,b.cmd=!1,b.meta=!0}if(E&&!jm(E))return;if(/^\[.+\]$/.test(b.key))return Ee(xe({},a),{key:Sd(b)});const ee=Tm(b.key,y);if(!ee)return Ee(xe({},a),{key:Sd(b)});if(ee.shift&&b.shift||ee.alt&&b.alt)throw new Error(`The keybinding ${a.key} (${yh(a.command)}) is conflicting with the key combination ${Sd(ee)} using the ${y.displayName} keyboard layout`);return ee.shift=ee.shift||b.shift,ee.alt=ee.alt||b.alt,ee.meta=b.meta,ee.ctrl=b.ctrl,Ee(xe({},a),{key:Sd(ee)})}function yh(a){if(Array.isArray(a)){const y=[...a];return y.shift()+"("+y.map(b=>typeof b=="string"?`"${b}"`:b.toString()).join(", ")+")"}return a}function Um(a,y){const b=[],E=[];for(const ee of a)try{const re=Gm(ee,y);if(!re)continue;const oe=E.find(me=>me.key===re.key&&me.ifMode===re.ifMode);if(oe)throw new Error(`Ambiguous key binding ${ee.key} (${yh(ee.command)}) matches ${oe.key} (${yh(oe.command)}) with the ${y.displayName} keyboard layout`);E.push(re)}catch(re){re instanceof Error&&b.push(re.message)}return[E,b]}var Ym=class extends ra{constructor(){super("latex")}createAtom(a){return new Xs(a)}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("application/x-latex")||y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Jo(a)),a.startRecording(),!0):!1}insert(a,y,b){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b||(b={}),b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(As(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const re=[];for(const ge of y)le.test(ge)&&re.push(new Xs(ge));let oe=a.at(a.position);if(oe instanceof qd&&(oe=oe.lastChild),!(oe.parent instanceof qd)){const ge=new qd("");oe.parent.addChildAfter(ge,oe),oe=ge.firstChild}const me=oe.parent.addChildrenAfter(re,oe);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(me)):me&&(a.position=a.offsetOf(me))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function Qm(a){return a.atoms.find(y=>y.type==="latexgroup")}function sf(a){var y,b;const E=a.atoms.find(ee=>ee.type==="latexgroup");return E?(b=(y=E.body)==null?void 0:y.filter(ee=>ee.type==="latex"))!=null?b:[]:[]}function g0(a,y){var b;let E=0,ee=!1;const re=Number.isFinite(y==null?void 0:y.before)?(b=y==null?void 0:y.before)!=null?b:0:a.lastOffset;for(;E<=re&&!ee;){const ge=a.at(E);ee=ge instanceof Xs&&ge.isSuggestion,ee||E++}if(!ee)return[void 0,void 0];let oe=E,me=!1;for(;oe<=re&&!me;){const ge=a.at(oe);me=!(ge instanceof Xs&&ge.isSuggestion),me||oe++}return[E-1,oe-1]}new Ym;function Ff(a){const y=sf(a.model).filter(b=>b.isSuggestion);if(y.length!==0){a.model.position=a.model.offsetOf(y[0].leftSibling);for(const b of y)b.parent.removeChild(b)}}function lf(a,y){var b;const{model:E}=a;Ff(a);for(const Me of sf(E))Me.isError=!1;if(!E.selectionIsCollapsed||a.options.popoverPolicy==="off"){Md(a);return}const ee=[];let re=E.at(E.position);for(;re&&re instanceof Xs&&/^[a-zA-Z\*]$/.test(re.value);)re=re.leftSibling;if(re&&re instanceof Xs&&re.value==="\\")for(ee.push(re),re=re.rightSibling;re&&re instanceof Xs&&/^[a-zA-Z\*]$/.test(re.value);)ee.push(re),re=re.rightSibling;const oe=ee.map(Me=>Me.value).join(""),me=Lt(a,oe);if(me.length===0){if(/^\\[a-zA-Z\*]+$/.test(oe))for(const Me of ee)Me.isError=!0;Md(a);return}const ge=(b=y==null?void 0:y.atIndex)!=null?b:0;a.suggestionIndex=ge<0?me.length-1:ge%me.length;const we=me[a.suggestionIndex];if(we!==oe){const Me=ee[ee.length-1];Me.parent.addChildrenAfter([...we.slice(oe.length-we.length)].map(Je=>new Xs(Je,{isSuggestion:!0})),Me),rd(a,{interactive:!0})}Jm(a,me)}function v0(a){const[y,b]=g0(a,{before:a.position});if(y===void 0||b===void 0)return!1;let E=!1;return a.getAtoms([y,b]).forEach(ee=>{ee.isSuggestion&&(ee.isSuggestion=!1,E=!0)}),E}function Ad(a,y="accept",b){var E,ee;Md(a);const re=Qm(a.model);if(!re)return!1;if(y==="accept-suggestion"||y==="accept-all"){const we=sf(a.model).filter(Me=>Me.isSuggestion);if(we.length!==0){for(const Me of we)Me.isSuggestion=!1;a.model.position=a.model.offsetOf(we[we.length-1])}if(y==="accept-suggestion")return we.length!==0}const me=sf(a.model).filter(we=>!we.isSuggestion).map(we=>we.value).join(""),ge=re.leftSibling;return re.parent.removeChild(re),a.model.position=a.model.offsetOf(ge),a.switchMode((E=b==null?void 0:b.mode)!=null?E:"math"),y==="reject"||(ra.insert(a.model,me,{selectionMode:(ee=b==null?void 0:b.selectItem)!=null&&ee?"item":"placeholder",format:"latex",mode:"math"}),a.snapshot(),a.model.announce("replacement"),a.switchMode("math")),!0}function If(a){var y;let b=document.getElementById(a);return b?b.dataset.refcount=Number(Number.parseInt((y=b.dataset.refcount)!=null?y:"0")+1).toString():(b=document.createElement("div"),b.setAttribute("aria-hidden","true"),b.dataset.refcount="1",b.id=a,document.body.append(b)),b}function bh(a){var y;const b=document.getElementById(a);if(!b)return;const E=Number.parseInt((y=b.getAttribute("data-refcount"))!=null?y:"0");E<=1?b.remove():b.dataset.refcount=Number(E-1).toString()}function Xm(a,y){const b=new La({from:a.context}),E=new ar({mode:"math",type:"root",body:Hs(y,{context:b})}),ee=Zu(tf(new Vr(E.render(b),{classes:"ML__base"}),b));return kc(ee,{classes:"ML__latex"}).toMarkup()}function Jm(a,y){var b;if(y.length===0){Md(a);return}let E="";for(const[re,oe]of y.entries()){const me=oe,ge=Xm(a,oe),we=_m(a.keybindings,me).join("<br>");E+=`<li role="button" data-command="${me}" ${re===a.suggestionIndex?"class=ML__popover__current":""}><span class="ML__popover__latex">${me}</span><span class="ML__popover__command">${ge}</span>`,we&&(E+=`<span class="ML__popover__keybinding">${we}</span>`),E+="</li>"}const ee=qm(a,`<ul>${E}</ul>`);xh()&&((b=ee.querySelector(".ML__popover__current"))==null||b.scrollIntoView({block:"nearest",inline:"nearest"})),setTimeout(()=>{var re;ee&&!xh()&&(ee.classList.add("is-visible"),Of(a),(re=ee.querySelector(".ML__popover__current"))==null||re.scrollIntoView({block:"nearest",inline:"nearest"}))},32)}function xh(){const a=document.getElementById("mathlive-suggestion-popover");return a?a.classList.contains("is-visible"):!1}function Of(a,y){var b;if(!a.element||a.element.mathfield!==a||!xh())return;if(((b=a.model.at(a.model.position))==null?void 0:b.type)!=="latex"){Md(a);return}if(y!=null&&y.deferred){setTimeout(()=>Of(a),32);return}const E=Gu(a.field);if(!E)return;const ee=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,re=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,oe=window.innerWidth-document.documentElement.clientWidth,me=window.innerHeight-document.documentElement.clientHeight,ge=window.mathVirtualKeyboard.boundingRect.height,we=document.getElementById("mathlive-suggestion-popover");E.x+we.offsetWidth/2>re-oe?we.style.left=`${re-we.offsetWidth-oe}px`:E.x-we.offsetWidth/2<0?we.style.left="0":we.style.left=`${E.x-we.offsetWidth/2}px`;const Me=E.y-E.height;ee-me-ge-E.y<Me?(we.classList.add("ML__popover--reverse-direction"),we.classList.remove("top-tip"),we.classList.add("bottom-tip"),we.style.top=`${E.y-E.height-we.offsetHeight-15}px`):(we.classList.remove("ML__popover--reverse-direction"),we.classList.add("top-tip"),we.classList.remove("bottom-tip"),we.style.top=`${E.y+15}px`)}function Md(a){a.suggestionIndex=0;const y=document.getElementById("mathlive-suggestion-popover");y&&(y.classList.remove("is-visible"),y.innerHTML="")}function qm(a,y){let b=document.getElementById("mathlive-suggestion-popover");return b||(b=If("mathlive-suggestion-popover"),Hl("suggestion-popover"),Hl("core"),b.addEventListener("pointerdown",E=>E.preventDefault()),b.addEventListener("click",E=>{let ee=E.target;for(;ee&&!ee.dataset.command;)ee=ee.parentElement;ee&&(Ad(a,"reject"),ra.insert(a.model,ee.dataset.command,{selectionMode:"placeholder",format:"latex",mode:"math"}),a.dirty=!0,a.focus())})),b.innerHTML=window.MathfieldElement.createHTML(y),b}function $m(){document.getElementById("mathlive-suggestion-popover")&&(bh("mathlive-suggestion-popover"),x("suggestion-popover"),x("core"))}function eg(){const a=String(new Error().stack).replace(/^Error.*\n/,"").split(`
|
|
|
`);if(a.length===0)return console.error(`Can't use relative paths to specify assets location because the sourcefile location could not be determined (unexpected stack trace format "${new Error().stack}").`),"";let y=a[1],b=y.match(/http.*\.ts[\?:]/);return b&&(y=a[2]),b=y.match(/(https?:.*):[0-9]+:[0-9]+/),b||(b=y.match(/at (.*(\.ts))[\?:]/),b||(b=y.match(/at (.*(\.mjs|\.js))[\?:]/))),b?b[1]:(console.error(a),console.error(`Can't use relative paths to specify assets location because the source file location could not be determined (unexpected location "${y}").`),"")}var Tf=null,y0,b0,wh=((b0=(y0=globalThis==null?void 0:globalThis.document)==null?void 0:y0.currentScript)==null?void 0:b0.src)||eg();function x0(a){return Kc(this,null,function*(){if(/^(?:[a-z+]+:)?\/\//i.test(a))return new URL(a).href;if(Tf===null)try{const y=yield fetch(wh,{method:"HEAD"});y.status===200&&(Tf=y.url)}catch(y){console.error(`Invalid URL "${a}" (relative to "${wh}")`)}return new URL(a,Tf!=null?Tf:wh).href})}function tg(a,y,b={}){return new FontFace(a,`url(${y}.woff2) format('woff2')`,b)}var $l="not-loaded";function ng(){return Kc(this,null,function*(){return $l="not-loaded",Rf()})}function Rf(){return Kc(this,null,function*(){var a;if($l!=="not-loaded")return;if($l="loading",(a=getComputedStyle(document.documentElement).getPropertyValue("--ML__static-fonts"))!=null?a:!1){$l="ready";return}if(document.body.classList.remove("ML__fonts-did-not-load"),"fonts"in document){const b=["KaTeX_Main","KaTeX_Math","KaTeX_AMS","KaTeX_Caligraphic","KaTeX_Fraktur","KaTeX_SansSerif","KaTeX_Script","KaTeX_Typewriter","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4"],E=Array.from(document.fonts).map(oe=>oe.family);if(b.every(oe=>E.includes(oe))){$l="ready";return}if(!window.MathfieldElement.fontsDirectory){$l="not-loaded";return}const ee=yield x0(window.MathfieldElement.fontsDirectory);if(!ee){document.body.classList.add("ML__fonts-did-not-load"),$l="error";return}const re=[["KaTeX_Main-Regular"],["KaTeX_Main-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_Main-Bold",{weight:"bold"}],["KaTeX_Main-Italic",{style:"italic"}],["KaTeX_Math-Italic",{style:"italic"}],["KaTeX_Math-BoldItalic",{style:"italic",weight:"bold"}],["KaTeX_AMS-Regular"],["KaTeX_Caligraphic-Regular"],["KaTeX_Caligraphic-Bold",{weight:"bold"}],["KaTeX_Fraktur-Regular"],["KaTeX_Fraktur-Bold",{weight:"bold"}],["KaTeX_SansSerif-Regular"],["KaTeX_SansSerif-Bold",{weight:"bold"}],["KaTeX_SansSerif-Italic",{style:"italic"}],["KaTeX_Script-Regular"],["KaTeX_Typewriter-Regular"],["KaTeX_Size1-Regular"],["KaTeX_Size2-Regular"],["KaTeX_Size3-Regular"],["KaTeX_Size4-Regular"]].map(oe=>tg(oe[0].replace(/-[a-zA-Z]+$/,""),`${ee}/${oe[0]}`,oe[1]));try{(yield Promise.all(re.map(me=>{try{return me.load()}catch(ge){}}))).forEach(me=>document.fonts.add(me)),$l="ready";return}catch(oe){console.error(`MathLive 0.98.5: The math fonts could not be loaded from "${ee}"`,{cause:oe}),document.body.classList.add("ML__fonts-did-not-load")}$l="error"}})}function rg(a){let y=0;for(let b=0;b<a.length;b++)y=y*31+a.charCodeAt(b),y=y|0;return Math.abs(y)}function Jo(a,y){a&&(a.dirty||(a.dirty=!0,requestAnimationFrame(()=>{Xl(a)&&a.dirty&&(a.atomBoundsCache=new Map,rd(a,y),a.atomBoundsCache=void 0)})))}function ig(a,y){var b;y=y!=null?y:{};const E=new La({from:Ee(xe({},a.context),{atomIdsSettings:{seed:y.forHighlighting?rg(ar.serialize([a.model.root],{expandMacro:!1,defaultMode:a.options.defaultMode})):"random",groupNumbers:(b=y.forHighlighting)!=null?b:!1},letterShapeStyle:a.options.letterShapeStyle}),mathstyle:a.options.defaultMode==="inline-math"?"textstyle":"displaystyle"}),ee=a.model.root.render(E);return kc(tf(ee,E),{classes:a.hasEditablePrompts?"ML__latex ML__prompting":"ML__latex",attributes:{translate:"no","aria-hidden":"true"}})}function w0(a,y){const{model:b}=a;b.root.caret=void 0,b.root.isSelected=!1,b.root.containsCaret=!0;for(const ee of b.atoms)ee.caret=void 0,ee.isSelected=!1,ee.containsCaret=!1;if(b.selectionIsCollapsed){const ee=b.at(b.position);ee.caret=a.model.mode;let re=ee.parent;for(;re;)re.containsCaret=!0,re=re.parent}else{const ee=b.getAtoms(b.selection,{includeChildren:!0});for(const re of ee)re.isSelected=!0}return ig(a,y).toMarkup()}function rd(a,y){if(!Xl(a))return;y!=null||(y={});const b=a.element.querySelector("[part=virtual-keyboard-toggle]");b&&(b.style.display=a.hasEditableContent?"":"none");const E=a.field;if(!E)return;const ee=a.isSelectionEditable&&a.hasFocus(),re=E.classList.contains("ML__focused");re&&!ee?E.classList.remove("ML__focused"):!re&&ee&&E.classList.add("ML__focused");let oe=w0(a,y);const me=a.element.querySelector("[part=menu-toggle]");if(me&&(a.model.atoms.length<=1||a.disabled||a.readOnly&&!a.hasEditableContent||a.userSelect==="none"?me.style.display="none":me.style.display=""),a.model.atoms.length<=1){const ge=a.options.contentPlaceholder;ge&&(oe+=`<span part=placeholder class="ML__content-placeholder">${Ks(ge)}</span>`)}E.innerHTML=window.MathfieldElement.createHTML(oe),Nf(a,y.interactive),a.dirty=!1}function Nf(a,y){const b=a.field;if(!b)return;for(const me of b.querySelectorAll(".ML__selection, .ML__contains-highlight"))me.remove();!(y!=null&&y)&&$l!=="error"&&$l!=="ready"&&setTimeout(()=>{$l==="ready"?Nf(a):setTimeout(()=>Nf(a),128)},32);const E=a.model,ee=b.offsetWidth,re=b.getBoundingClientRect().width;let oe=Math.floor(re)/ee;if(oe=isNaN(oe)?1:oe,E.selectionIsCollapsed){Of(a,{deferred:!0});let me=E.at(E.position);for(;me&&me.type!=="prompt"&&!(me.containsCaret&&me.displayContainsHighlight);)me=me.parent;if(me!=null&&me.containsCaret&&me.displayContainsHighlight){const ge=Ud(a,Fc(a,me),oe);if(ge){ge.left/=oe,ge.right/=oe,ge.top/=oe,ge.bottom/=oe;const we=document.createElement("div");we.classList.add("ML__contains-highlight"),we.style.position="absolute",we.style.left=`${ge.left+1}px`,we.style.top=`${Math.ceil(ge.top)}px`,we.style.width=`${Math.ceil(ge.right-ge.left)}px`,we.style.height=`${Math.ceil(ge.bottom-ge.top)}px`,b.insertBefore(we,b.childNodes[0])}}return}for(const me of ag(Qd(a,{excludeAtomsWithBackground:!0}))){me.left/=oe,me.right/=oe,me.top/=oe,me.bottom/=oe;const ge=document.createElement("div");ge.classList.add("ML__selection"),ge.style.position="absolute",ge.style.left=`${me.left}px`,ge.style.top=`${me.top}px`,ge.style.width=`${Math.ceil(me.right-me.left)}px`,ge.style.height=`${Math.ceil(me.bottom-me.top-1)}px`,b.insertBefore(ge,b.childNodes[0])}}function ag(a){let y=[];for(const b of a){let E=!1;for(const ee of y)if(b.left===ee.left&&b.right===ee.right&&b.top===ee.top&&b.bottom===ee.bottom){E=!0;break}E||y.push(b)}a=y,y=[];for(const b of a){let E=0;for(const ee of a)if(b.left>=ee.left&&b.right<=ee.right&&b.top>=ee.top&&b.bottom<=ee.bottom&&(E+=1,E>1))break;E===1&&y.push(b)}return y}var C0=3,Qu;function Kl(a,y){y=xe({target:"mathfield",canUndo:!1,audioFeedback:void 0,changeContent:!1,changeSelection:!1},y!=null?y:{}),Qu||(Qu={});for(const b of Object.keys(a))console.assert(!Qu[b],"Selector already defined: ",b),Qu[b]=Ee(xe({},y),{fn:a[b]})}function Ch(a){let y;if(Array.isArray(a)){if(a[0]==="performWithFeedback")return Ch(a[1]);y=a[0]}else y=a;return y=y.replace(/-\w/g,b=>b[1].toUpperCase()),Qu[y]}function kd(a){var y;return(y=Ch(a))==null?void 0:y.target}function og(a,y){var b;if(!y)return!1;let E,ee=[],re=!1,oe=!1;Be(y)?(E=y[0],ee=y.slice(1)):E=y,E=E.replace(/-\w/g,we=>we[1].toUpperCase());const me=Qu[E],ge=me==null?void 0:me.target;if(ge==="model"){if(!a.isSelectionEditable&&(me!=null&&me.changeContent))return a.model.announce("plonk"),!1;/^(delete|add)/.test(E)&&(E!=="deleteBackward"&&a.flushInlineShortcutBuffer(),a.snapshot(E)),/^complete/.test(E)||Ff(a),Qu[E].fn(a.model,...ee),lf(a),oe=!0,re=!0}else if(ge==="virtual-keyboard")oe=(b=window.mathVirtualKeyboard.executeCommand(y))!=null?b:!1,re=!0;else if(Qu[E]){if(!a.isSelectionEditable&&(me!=null&&me.changeContent))return a.model.announce("plonk"),!1;/^(undo|redo)/.test(E)&&a.flushInlineShortcutBuffer(),oe=Qu[E].fn(a,...ee),re=!0}else throw new Error(`Unknown command "${E}"`);return ge!=="virtual-keyboard"&&(!a.model.selectionIsCollapsed||me!=null&&me.changeSelection&&y!=="deleteBackward")&&(a.flushInlineShortcutBuffer(),me!=null&&me.changeContent||a.stopCoalescingUndo(),a.defaultStyle={}),oe&&Jo(a),re}function sg(a,y){var b;if(!a)return!1;a.focus(),vp.keypressVibration&&ft()&&navigator.vibrate(C0);const E=Ch(y);window.MathfieldElement.playSound((b=E==null?void 0:E.audioFeedback)!=null?b:"keypress");const ee=a.executeCommand(y);return a.scrollIntoView(),ee}Kl({performWithFeedback:(a,y)=>sg(a,y)});function lg(a){return lf(a,{atIndex:a.suggestionIndex+1}),!1}function ug(a){return lf(a,{atIndex:a.suggestionIndex-1}),!1}Kl({complete:Ad},{target:"mathfield",audioFeedback:"return",canUndo:!0,changeContent:!0,changeSelection:!0}),Kl({nextSuggestion:lg,previousSuggestion:ug},{target:"mathfield",audioFeedback:"keypress",changeSelection:!0});var zf="mathlive#virtual-keyboard-message";function Sh(a){var y;return a.type!=="message"?!1:((y=a.data)==null?void 0:y.type)===zf}var cg=class em{constructor(){this.targetOrigin=window.origin,this.originValidator="none",this._boundingRect=new DOMRect(0,0,0,0),this._isShifted=!1,window.addEventListener("message",this),this.sendMessage("proxy-created"),this.listeners={}}static get singleton(){return this._singleton||(this._singleton=new em),this._singleton}set alphabeticLayout(y){this.sendMessage("update-setting",{alphabeticLayout:y})}set layouts(y){this.sendMessage("update-setting",{layouts:y})}get normalizedLayouts(){return[]}set editToolbar(y){this.sendMessage("update-setting",{editToolbar:y})}set actionKeycap(y){this.sendMessage("update-setting",{actionKeycap:y})}set shiftKeycap(y){this.sendMessage("update-setting",{shiftKeycap:y})}set backspaceKeycap(y){this.sendMessage("update-setting",{backspaceKeycap:y})}set tabKeycap(y){this.sendMessage("update-setting",{tabKeycap:y})}set container(y){throw new Error("Container inside an iframe cannot be changed")}show(y){this.sendMessage("show",y)}hide(y){this.sendMessage("hide",y)}get isShifted(){return this._isShifted}get visible(){return this._boundingRect.height>0}set visible(y){y?this.show():this.hide()}get boundingRect(){return this._boundingRect}executeCommand(y){return this.sendMessage("execute-command",{command:y}),!0}updateToolbar(y){this.sendMessage("update-toolbar",y)}update(y){this.sendMessage("update-setting",y)}connect(){this.sendMessage("connect")}disconnect(){this.sendMessage("disconnect")}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}handleEvent(y){if(Sh(y)){if(!Xd(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");this.handleMessage(y.data)}}handleMessage(y){const{action:b}=y;if(b==="execute-command"){const{command:E}=y;kd(E)==="virtual-keyboard"&&this.executeCommand(E);return}if(b==="synchronize-proxy"){this._boundingRect=y.boundingRect,this._isShifted=y.isShifted;return}if(b==="geometry-changed"){this._boundingRect=y.boundingRect,this.dispatchEvent(new Event("geometrychange"));return}}sendMessage(y,b={}){if(!window.top)throw new DOMException("A frame does not have access to the top window and can\u2018t communicate with the keyboard. Review virtualKeyboardTargetOrigin and originValidator on mathfields embedded in an iframe","SecurityError");window.top.postMessage(xe({type:zf,action:y},b),this.targetOrigin)}},S0={numeric:{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",rows:[[{latex:"x",shift:"y",variants:["y","z","t","r","x^2","x^n","x^{#?}","x_n","x_i","x_{#?}",{latex:"f(#?)",class:"small"},{latex:"g(#?)",class:"small"}]},{latex:"n",shift:"a",variants:["i","j","p","k","a","u"]},"[separator-5]","[7]","[8]","[9]","[/]","[separator-5]",{latex:"\\exponentialE",shift:"\\ln",variants:["\\exp","\\times 10^{#?}","\\ln","\\log_{10}","\\log"]},{latex:"\\imaginaryI",variants:["\\Re","\\Im","\\imaginaryJ","\\Vert #0 \\Vert"]},{latex:"\\pi",shift:"\\sin",variants:["\\prod",{latex:"\\theta",aside:"theta"},{latex:"\\rho",aside:"rho"},{latex:"\\tau",aside:"tau"},"\\sin","\\cos","\\tan"]}],[{label:"<",latex:"<",class:"hide-shift",shift:{latex:"\\le",label:"\u2264"}},{label:">",latex:">",class:"hide-shift",shift:{latex:"\\ge",label:"\u2265"}},"[separator-5]","[4]","[5]","[6]","[*]","[separator-5]",{class:"hide-shift",latex:"#@^2}",shift:"#@^{\\prime}}"},{latex:"#@^{#0}}",class:"hide-shift",shift:"#@_{#?}"},{class:"hide-shift",latex:"\\sqrt{#0}",shift:{latex:"\\sqrt[#0]{#?}}"}}],["[(]","[)]","[separator-5]","[1]","[2]","[3]","[-]","[separator-5]",{latex:"\\int^{\\infty}_{0}\\!#?\\,\\mathrm{d}x",class:"small hide-shift",shift:"\\int",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{class:"hide-shift",latex:"\\forall",shift:"\\exists"},{label:"[backspace]",width:1}],[{label:"[shift]",width:2},"[separator-5]","[0]","[.]","[=]","[+]","[separator-5]","[left]","[right]",{label:"[action]",width:1}]]},greek:{label:"αβγ",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.greek",rows:[[{label:"<i>φ</i>",class:"MLK__tex hide-shift",insert:"\\varphi",aside:"phi var.",shift:"\\Phi"},{label:"<i>ς</i>",class:"MLK__tex hide-shift",insert:"\\varsigma",aside:"sigma var.",shift:"\\Sigma"},{label:"<i>ϵ</i>",class:"MLK__tex hide-shift",insert:"\\epsilon",aside:"espilon",shift:'\\char"0190'},{label:"<i>ρ</i>",class:"MLK__tex hide-shift",insert:"\\rho",aside:"rho",shift:'\\char"3A1'},{label:"<i>τ</i>",class:"MLK__tex hide-shift",insert:"\\tau",aside:"tau",shift:'\\char"3A4'},{label:"<i>υ</i>",class:"MLK__tex hide-shift",insert:"\\upsilon",aside:"upsilon",shift:"\\Upsilon"},{label:"<i>θ</i>",class:"MLK__tex hide-shift",insert:"\\theta",aside:"theta",shift:"\\Theta"},{label:"<i>ι</i>",class:"MLK__tex hide-shift",insert:"\\iota",aside:"iota",shift:'\\char"399'},{label:"<i>ο</i>",class:"MLK__tex hide-shift",insert:"\\omicron",aside:"omicron",shift:'\\char"39F'},{label:"<i>π</i>",class:"MLK__tex hide-shift",insert:"\\pi",aside:"pi",shift:"\\Pi"}],["[separator-5]",{label:"<i>α</i>",class:"MLK__tex hide-shift",insert:"\\alpha",aside:"alpha",shift:'\\char"391'},{label:"<i>σ</i>",class:"MLK__tex hide-shift",insert:"\\sigma",aside:"sigma",shift:"\\Sigma"},{label:"<i>δ</i>",class:"MLK__tex hide-shift",insert:"\\delta",aside:"delta",shift:"\\Delta"},{latex:"\\phi",class:"MLK__tex hide-shift",insert:"\\phi",aside:"phi",shift:"\\Phi"},{label:"<i>γ</i>",class:"MLK__tex hide-shift",insert:"\\gamma",aside:"gamma",shift:"\\Gamma"},{label:"<i>η</i>",class:"MLK__tex hide-shift",insert:"\\eta",aside:"eta",shift:'\\char"397'},{label:"<i>ξ</i>",class:"MLK__tex hide-shift",insert:"\\xi",aside:"xi",shift:"\\Xi"},{label:"<i>κ</i>",class:"MLK__tex hide-shift",insert:"\\kappa",aside:"kappa",shift:"\\Kappa"},{label:"<i>λ</i>",class:"MLK__tex hide-shift",insert:"\\lambda",aside:"lambda",shift:"\\Lambda"},"[separator-5]"],["[shift]",{label:"<i>ζ</i>",class:"MLK__tex hide-shift",insert:"\\zeta",aside:"zeta",shift:'\\char"396'},{label:"<i>χ</i>",class:"MLK__tex hide-shift",insert:"\\chi",aside:"chi",shift:'\\char"3A7'},{label:"<i>ψ</i>",class:"MLK__tex hide-shift",insert:"\\psi",aside:"zeta",shift:"\\Psi"},{label:"<i>ω</i>",class:"MLK__tex hide-shift",insert:"\\omega",aside:"omega",shift:"\\Omega"},{label:"<i>β</i>",class:"MLK__tex hide-shift",insert:"\\beta",aside:"beta",shift:'\\char"392'},{label:"<i>ν</i>",class:"MLK__tex hide-shift",insert:"\\nu",aside:"nu",shift:'\\char"39D'},{label:"<i>μ</i>",class:"MLK__tex hide-shift",insert:"\\mu",aside:"mu",shift:'\\char"39C'},"[backspace]"],["[separator]",{label:"<i>ε</i>",class:"MLK__tex",insert:"\\varepsilon",aside:"espilon var."},{label:"<i>ϑ</i>",class:"MLK__tex",insert:"\\vartheta",aside:"theta var."},{label:"<i>ϰ</i>",class:"MLK__tex",insert:"\\varkappa",aside:"kappa var."},{label:"<i>ϖ</i>",class:"MLK__tex",insert:"\\varpi",aside:"pi var."},{label:"<i>ϱ</i>",class:"MLK__tex",insert:"\\varrho",aside:"rho var."},"[left]","[right]","[action]"]]},symbols:{label:"∞\u2260\u2208",labelClass:"MLK__tex",tooltip:"keyboard.tooltip.symbols",rows:[[{latex:"\\sin",shift:"\\sin^{-1}",variants:[{class:"small",latex:"\\sinh"},{class:"small",latex:"\\sin^{-1}"},{class:"small",latex:"\\arsinh"}]},"\\ln",{latex:"\\mathrm{abs}",insert:"\\mathrm{abs}\\left(#0\\right)"},{latex:"\\rarr",shift:"\\rArr",variants:[{latex:"\\implies",aside:"implies"},{latex:"\\to",aside:"to"},"\\dashv",{latex:"\\roundimplies",aside:"round implies"}]},{latex:"\\exists",variants:["\\nexists"],shift:"\\nexists"},{latex:"\\in",shift:"\\notin",variants:["\\notin","\\owns"]},"\\cup",{latex:"\\overrightarrow{#@}",shift:"\\overleftarrow{#@}",variants:["\\overleftarrow{#@}","\\bar{#@}","\\vec{#@}","\\hat{#@}","\\check{#@}","\\dot{#@}","\\ddot{#@}","\\mathring{#@}","\\breve{#@}","\\acute{#@}","\\tilde{#@}","\\grave{#@}"]},{class:"small",latex:"\\lim_{#?}",shift:"\\lim_{x\\to\\infty}",variants:[{class:"small",latex:"\\liminf_{#?}"},{class:"small",latex:"\\limsup_{#?}"}]},"\\exponentialE"],[{latex:"\\cos",shift:"\\cos^{-1}",variants:[{class:"small",latex:"\\cosh"},{class:"small",latex:"\\cos^{-1}"},{class:"small",latex:"\\arcosh"}]},{latex:"\\log",shift:"\\log_{10}",variants:["\\log_{#0}","\\log_{10}"]},"\\left\\vert#0\\right\\vert",{latex:"\\larr",shift:"\\lArr",variants:[{latex:"\\impliedby",aside:"implied by"},{latex:"\\gets",aside:"gets"},"\\lArr","\\vdash",{latex:"\\models",aside:"models"}]},{latex:"\\forall",shift:"\\lnot",variants:[{latex:"\\land",aside:"and"},{latex:"\\lor",aside:"or"},{latex:"\\oplus",aside:"xor"},{latex:"\\lnot",aside:"not"},{latex:"\\downarrow",aside:"nor"},{latex:"\\uparrow",aside:"nand"},{latex:"\\curlywedge",aside:"nor"},{latex:"\\bar\\curlywedge",aside:"nand"}]},{latex:"\\ni",shift:"\\not\\owns"},"\\cap",{latex:"\\overline{#@}",shift:"\\underline{#@}",variants:["\\overbrace{#@}","\\overlinesegment{#@}","\\overleftrightarrow{#@}","\\overrightarrow{#@}","\\overleftarrow{#@}","\\overgroup{#@}","\\underbrace{#@}","\\underlinesegment{#@}","\\underleftrightarrow{#@}","\\underrightarrow{#@}","\\underleftarrow{#@}","\\undergroup{#@}"]},{class:"hide-shift",latex:"\\int",shift:"\\iint",variants:[{latex:"\\int_{#?}^{#?}",class:"small"},{latex:"\\int",class:"small"},{latex:"\\smallint",class:"small"},{latex:"\\iint",class:"small"},{latex:"\\iiint",class:"small"},{latex:"\\oint",class:"small"},"\\intop","\\iiint","\\oiint","\\oiiint","\\intclockwise","\\varointclockwise","\\ointctrclockwise","\\intctrclockwise"]},{latex:"\\pi",shift:"\\tau",variants:["\\tau"]}],[{latex:"\\tan",shift:"\\tan^{-1}",variants:[{class:"small",latex:"\\tanh"},{class:"small",latex:"\\tan^{-1}"},{class:"small",latex:"\\artanh"},{class:"small",latex:"\\arctan"},{class:"small",latex:"\\arctg"},{class:"small",latex:"\\tg"}]},{latex:"\\exp",insert:"\\exp\\left(#0\\right)",variants:["\\exponentialE^{#0}"]},"\\left\\Vert#0\\right\\Vert",{latex:"\\lrArr",shift:"\\leftrightarrow",variants:[{latex:"\\iff",aside:"if and only if"},"\\leftrightarrow","\\leftrightarrows","\\Leftrightarrow",{latex:"^\\biconditional",aside:"biconditional"}]},{latex:"\\vert",shift:"!"},{latex:"#@^{\\complement}",aside:"complement",variants:[{latex:"\\setminus",aside:"set minus"},{latex:"\\smallsetminus",aside:"small set minus"}]},{latex:"\\subset",shift:"\\subseteq",variants:["\\subset","\\subseteq","\\subsetneq","\\varsubsetneq","\\subsetneqq","\\nsubset","\\nsubseteq","\\supset","\\supseteq","\\supsetneq","\\supsetneqq","\\nsupset","\\nsupseteq"]},{latex:"#@^{\\prime}",shift:"#@^{\\doubleprime}",variants:["#@^{\\doubleprime}","#@\\degree"]},{latex:"\\mathrm{d}",shift:"\\partial",variants:["\\mathrm{d}x",{latex:"\\dfrac{\\mathrm{d}}{\\mathrm{d} x}",class:"small"},{latex:"\\frac{\\partial}{\\partial x}",class:"small"},"\\partial"]},{latex:"\\infty",variants:["\\aleph_0","\\aleph_1","\\omega","\\mathfrak{m}"]}],[{label:"[shift]",width:2},{class:"box",latex:",",shift:";",variants:[";","?"]},{class:"box",latex:"\\colon",shift:"\\Colon",variants:[{latex:"\\Colon",aside:"such that",class:"box"},{latex:":",aside:"ratio",class:"box"},{latex:"\\vdots",aside:"",class:"box"},{latex:"\\ddots",aside:"",class:"box"},{latex:"\\ldotp",aside:"low dot",class:"box"},{latex:"\\cdotp",aside:"center dot",class:"box"},{latex:"\\ldots",aside:"low ellipsis",class:"box"},{latex:"\\cdots",aside:"center ellipsis",class:"box"},{latex:"\\therefore",aside:"therefore",class:"box"},{latex:"\\because",aside:"because",class:"box"}]},{class:"box",latex:"\\cdot",aside:"centered dot",shift:"\\ast",variants:["\\circ","\\bigcirc","\\bullet","\\odot","\\oslash","\\circledcirc","\\ast","\\star","\\times","\\doteq","\\doteqdot"]},"[separator]","[left]","[right]",{label:"[backspace]",width:1,class:"action hide-shift"},{label:"[action]",width:1}]]},compact:{label:"compact",rows:[["[+]","[-]","[*]","[/]","[=]","[.]","[(]","[)]","\\sqrt{#0}","#@^{#?}"],["[1]","[2]","[3]","[4]","[5]","[6]","[7]","[8]","[9]","[0]"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]},minimalist:{label:"minimalist",layers:[{style:`
|
|
|
.minimalist-backdrop {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
}
|
|
|
.minimalist-container {
|
|
|
--keycap-height: 40px;
|
|
|
--keycap-max-width: 53px;
|
|
|
--keycap-small-font-size: 12px;
|
|
|
background: var(--keyboard-background);
|
|
|
padding: 20px;
|
|
|
border-top-left-radius: 8px;
|
|
|
border-top-right-radius: 8px;
|
|
|
border: 1px solid var(--keyboard-border);
|
|
|
box-shadow: 0 0 32px rgb(0 0 0 / 30%);
|
|
|
}
|
|
|
`,backdrop:"minimalist-backdrop",container:"minimalist-container",rows:[["+","-","\\times",{latex:"\\frac{#@}{#0}",class:"small"},"=","[.]","(",")",{latex:"\\sqrt{#0}",class:"small"},{latex:"#@^{#?}",class:"small"}],["1","2","3","4","5","6","7","8","9","0"],["[hr]"],["[undo]","[redo]","[separator]","[separator]","[separator]","[left]","[right]",{label:"[backspace]",class:"action hide-shift"},"[hide-keyboard]"]]}]},"numeric-only":{label:"123",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.numeric",id:"numeric-only",rows:[["7","8","9","[separator]",{label:"[backspace]",width:2}],["4","5","6","[separator]","[separator]","[separator]"],["1","2","3","[separator]","[separator]","[separator]"],["0",{label:"[.]",variants:[]},"-","[separator]","[left]","[right]"]]}},Hf={0:["\\varnothing","\\infty"],1:["\\frac{1}{#@}","#@^{-1}","\\times 10^{#?}","\\phi","\\imaginaryI"],2:["\\frac{1}{2}","#@^2","\\sqrt2","\\exponentialE"],3:["\\frac{1}{3}","#@^3","\\sqrt3","\\pi"],4:["\\frac{1}{4}","#@^4"],5:["\\frac{1}{5}","#@^5","\\sqrt5"],6:["\\frac{1}{6}","#@^6"],7:["\\frac{1}{7}","#@^7"],8:["\\frac{1}{8}","#@^8"],9:["\\frac{1}{9}","#@^9"],".":[".",",",";","\\colon"],",":["{,}",".",";","\\colon"],a:[{latex:"\\aleph",aside:"aleph"},{latex:"\\forall",aside:"for all"},"\xE0","\xE1","\xE2","\xE4","\xE6"],b:[{latex:"\\beth",aside:"beth"}],c:[{latex:"\\C",aside:"set of complex numbers"},"\xE7"],d:[{latex:"\\daleth",aside:"daleth"}],e:[{latex:"\\exponentialE",aside:"exponential e"},{latex:"\\exists",aside:"there is"},{latex:"\\nexists",aside:"there isn\u2019t"},"\xE8","\xE9","\xEA","\xEB"],g:[{latex:"\\gimel",aside:"gimel"}],h:[{latex:"\\hbar",aside:"h bar"},{latex:"\\hslash",aside:"h slash"}],i:[{latex:"\\imaginaryI",aside:"imaginary i"},"\xEC","\xED","\xEE","\xEF"],j:[{latex:"\\imaginaryJ",aside:"imaginary j"}],l:[{latex:"\\ell",aside:"ell"}],n:[{latex:"\\mathbb{N}",aside:"set of natural numbers"},"\xF1"],o:["\xF8","\u0153","\xF2","\xF3","\xF4","\xF6","\u0153"],p:[{latex:"\\mathbb{P}",aside:"set of primes"}],q:[{latex:"\\mathbb{Q}",aside:"set of rational numbers"}],r:[{latex:"\\mathbb{R}",aside:"set of real numbers"}],u:["\xF9","\xFA","\xFB","\xFC"],z:[{latex:"\\mathbb{Z}",aside:"set of integers"}],y:["\xFD","\xFF"],space:[{latex:'\\char"203A\\!\\char"2039',insert:"\\!",aside:"negative thin space<br>\u207B\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\,\\char"2039',insert:"\\,",aside:"thin space<br>\xB3\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\:\\char"2039',insert:"\\:",aside:"medium space<br>\u2074\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\;\\char"2039',insert:"\\;",aside:"thick space<br>\u2075\u29F8\u2081\u2088 em"},{latex:'\\char"203A\\ \\char"2039',insert:"\\ ",aside:"\u2153 em"},{latex:'\\char"203A\\enspace\\char"2039',insert:"\\enspace",aside:"\xBD em"},{latex:'\\char"203A\\quad\\char"2039',insert:"\\quad",aside:"1 em"},{latex:'\\char"203A\\qquad\\char"2039',insert:"\\qquad",aside:"2 em"}]},uf;function E0(a,y){var b,E,ee;const re=Rc.singleton;if(!re)return;const oe=Dd(a),me=(E=(b=re.getKeycap(oe==null?void 0:oe.id))==null?void 0:b.variants)!=null?E:"";if(typeof me=="string"&&!A0(me)||Array.isArray(me)&&me.length===0){y==null||y();return}const ge={};let we="";for(const Wn of fg(me)){const Yr=k0(Wn),zn=Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);ge[zn]=Yr;const[hr,ei]=Kf(Yr);we+=`<div id=${zn} class="item ${ei}">${hr}</div>`}const Me=document.createElement("div");Me.setAttribute("aria-hidden","true"),Me.className="MLK__variant-panel",Me.style.height="auto";const Je=Object.keys(ge).length;let mt=5;Je===1?mt=1:Je===2||Je===4?mt=2:Je===3||Je===5||Je===6?mt=3:Je>=7&&Je<14&&(mt=4),Me.style.width=`calc(var(--variant-keycap-length) * ${mt} + 12px)`,Me.innerHTML=vp.createHTML(we),Yu.open({root:(ee=re==null?void 0:re.container)==null?void 0:ee.querySelector(".ML__keyboard"),child:Me}),uf=new AbortController;const{signal:It}=uf,_t=a==null?void 0:a.getBoundingClientRect();if(_t){_t.top-Me.clientHeight<0&&(Me.style.width="auto",Je<=6?Me.style.height="56px":Je<=12?Me.style.height="108px":Je<=18?Me.style.height="205px":Me.classList.add("compact"));const Wn=Math.max(0,Math.min(window.innerWidth-Me.offsetWidth,(_t.left+_t.right-Me.offsetWidth)/2)),Yr=_t.top-Me.clientHeight+5;Me.style.transform=`translate(${Wn}px, ${Yr}px)`,Me.classList.add("is-visible"),requestAnimationFrame(()=>{Me.addEventListener("pointerup",zn=>{const hr=Dd(zn.target);!(hr!=null&&hr.id)||!ge[hr.id]||(Eh(ge[hr.id]),cf(),y==null||y(),zn.preventDefault())},{capture:!0,passive:!1,signal:It}),Me.addEventListener("pointerenter",zn=>{const hr=Dd(zn.target);!(hr!=null&&hr.id)||!ge[hr.id]||hr.classList.add("is-active")},{capture:!0,signal:It}),Me.addEventListener("pointerleave",zn=>{const hr=Dd(zn.target);!(hr!=null&&hr.id)||!ge[hr.id]||hr.classList.remove("is-active")},{capture:!0,signal:It}),window.addEventListener("pointercancel",()=>{cf(),y==null||y()},{signal:It}),window.addEventListener("pointerup",()=>{cf(),y==null||y()},{signal:It})})}}function cf(){uf==null||uf.abort(),uf=null,Yu.state==="open"&&Yu.close()}function dg(a){if(a==="foreground-color"){const y=[];for(const b of Object.keys(et))y.push({class:"swatch-button",label:'<span style="border: 3px solid '+et[b]+'"></span>',command:["applyStyle",{color:b}]});return y}if(a==="background-color"){const y=[];for(const b of Object.keys($e))y.push({class:"swatch-button",label:'<span style="background:'+$e[b]+'"></span>',command:["applyStyle",{backgroundColor:b}]});return y}}function A0(a){return Hf[a]!==void 0}function fg(a){var y;return typeof a!="string"?a:(Hf[a]||(Hf[a]=(y=dg(a))!=null?y:[]),Hf[a])}function hg(a){return typeof a=="string"?a:Object.entries(a).map(([y,b])=>`${y}:${b} !important`).join(";")}function pg(a){return Object.keys(a).map(y=>`${y} {${hg(a[y])}}`).join("")}function df(a){if(!a)return"";const y=new La,b=new ar({mode:"math",type:"root",body:Hs(a,{context:y,args:ee=>ee==="@"?"{\\class{ML__box-placeholder}{\\blacksquare}}":"\\placeholder{}"})}),E=Zu(tf(new Vr(b.render(y),{classes:"ML__base"}),y));return kc(E,{classes:"ML__latex"}).toMarkup()}function ff(a){var y;if(Array.isArray(a))return a.map(E=>ff(E)).flat();const b=typeof a=="string"?{markup:a}:a;return"rows"in b&&Array.isArray(b.rows)&&(b.rows=b.rows.map(E=>E.map(ee=>k0(ee)))),(y=b.id)!=null||(b.id="ML__layer_"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36)),[b]}function mg(){var a,y;let E=window.mathVirtualKeyboard.alphabeticLayout;if(E==="auto"){const me=of();me&&(E=me.virtualLayout),(!E||E==="auto")&&(E=(a={fr:"azerty",be:"azerty",al:"qwertz",ba:"qwertz",cz:"qwertz",de:"qwertz",hu:"qwertz",sk:"qwertz",ch:"qwertz"}[st.locale.slice(0,2)])!=null?a:"qwerty")}const ee={qwerty:["qwertyuiop"," asdfghjkl ","^zxcvbnm~"],azerty:["azertyuiop","qsdfghjklm","^ wxcvbn ~"],qwertz:["qwertzuiop"," asdfghjkl ","^yxcvbnm~"],dvorak:["^ pyfgcrl ","aoeuidhtns","qjkxbmwvz~"],colemak:[" qwfpgjluy ","arstdhneio","^zxcvbkm~"]},re=(y=ee[E])!=null?y:ee.qwerty,oe=E==="azerty"?[[{label:"1",variants:"1"},{label:"2",shift:{latex:"\xE9"},variants:"2"},{label:"3",shift:{latex:"\xF9"},variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{label:"(",latex:"("},variants:"5"},{label:"6",shift:{label:")",latex:")"},variants:"6"},{label:"7",shift:{latex:"\xE8"},variants:"7"},{label:"8",shift:{latex:"\xEA"},variants:"8"},{label:"9",shift:{latex:"\xE7"},variants:"9"},{label:"0",shift:{latex:"\xE0"},variants:"0"}]]:[[{label:"1",variants:"1"},{label:"2",variants:"2"},{label:"3",variants:"3"},{label:"4",variants:"4"},{label:"5",shift:{latex:"\\frac{#@}{#?}"},variants:"5"},{label:"6",shift:{latex:"#@^#?"},variants:"6"},{label:"7",variants:"7"},{label:"8",shift:{latex:"\\times"},variants:"8"},{label:"9",shift:{label:"(",latex:"("},variants:"9"},{label:"0",shift:{label:")",latex:")"},variants:"0"}]];for(const me of re){const ge=[];for(const we of me)/[a-z]/.test(we)?ge.push({label:we,class:"hide-shift",shift:{label:we.toUpperCase()},variants:A0(we)?we:void 0}):we==="~"?E!=="dvorak"?ge.push("[backspace]"):ge.push({label:"[backspace]",width:1}):we==="^"?ge.push("[shift]"):we===" "&&ge.push("[separator-5]");oe.push(ge)}return oe.push(["[-]","[+]","[=]",{label:" ",width:1.5},{label:",",shift:";",variants:".",class:"hide-shift"},"[.]","[left]","[right]",{label:"[action]",width:1.5}]),{label:"abc",labelClass:"MLK__tex-math",tooltip:"keyboard.tooltip.alphabetic",layers:ff({rows:oe})}}function M0(a){if(a==="alphabetic")return mg();if(typeof a=="string")return console.assert(S0[a]!==void 0,`MathLive 0.98.5: unknown keyboard layout "${a}"`),M0(S0[a]);let y;if("rows"in a&&Array.isArray(a.rows)){console.assert(!("layers"in a||"markup"in a),'MathLive 0.98.5: when providing a "rows" property, "layers" and "markup" are ignored');const ee=a,{rows:re}=ee,oe=yt(ee,["rows"]);y=Ee(xe({},oe),{layers:ff({rows:a.rows})})}else if("markup"in a&&typeof a.markup=="string"){const ee=a,{markup:re}=ee,oe=yt(ee,["markup"]);y=Ee(xe({},oe),{layers:ff(a.markup)})}else y=xe({},a),"layers"in a?y.layers=ff(a.layers):console.error('MathLive 0.98.5: provide either a "rows", "markup" or "layers" property');let b=!1,E=!1;for(const ee of y.layers)if(ee.rows)for(const re of ee.rows.flat()){Bd(re)&&(b=!0);const oe=re.command;typeof oe=="string"&&["undo","redo","cut","copy","paste"].includes(oe)&&(E=!0)}return(!("displayShiftedKeycaps"in a)||a.displayShiftedKeycaps===void 0)&&(y.displayShiftedKeycaps=b),(!("displayEditToolbar"in a)||a.displayEditToolbar===void 0)&&(y.displayEditToolbar=!E),y}function gg(a,y){var b,E;let ee='<div class="left">';if(a.normalizedLayouts.length>1)for(const[re,oe]of a.normalizedLayouts.entries()){const me=oe,ge=[re===y?"selected":"layer-switch"];me.tooltip&&ge.push("MLK__tooltip"),me.labelClass&&ge.push(...me.labelClass.split(" ")),ee+=`<div class="${ge.join(" ")}"`,me.tooltip&&(ee+=" data-tooltip='"+((b=vt(me.tooltip))!=null?b:me.tooltip)+"' "),re!==y&&(ee+=`data-layer="${me.layers[0].id}"`),ee+=`>${(E=me.label)!=null?E:"untitled"}</div>`}return ee+="</div>",ee}function vg(a,y){let b="";if(a.editToolbar==="none")return"";const ee=[];y.selectionIsCollapsed?ee.push("undo","redo","pasteFromClipboard"):ee.push("cutToClipboard","copyToClipboard","pasteFromClipboard");const re={undo:`<div class='action ${y.canUndo===!1?"disabled":""}'
|
|
|
data-command='"undo"'
|
|
|
data-tooltip='${vt("tooltip.undo")}'>
|
|
|
<svg><use xlink:href='#svg-undo' /></svg>
|
|
|
</div>`,redo:`<div class='action ${y.canRedo===!1?"disabled":""}'
|
|
|
data-command='"redo"'
|
|
|
data-tooltip='${vt("tooltip.redo")}'>
|
|
|
<svg><use xlink:href='#svg-redo' /></svg>
|
|
|
</div>`,cutToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"cutToClipboard"'
|
|
|
data-tooltip='${vt("tooltip.cut to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-cut' /></svg>
|
|
|
</div>
|
|
|
`,copyToClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"copyToClipboard"'
|
|
|
data-tooltip='${vt("tooltip.copy to clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-copy' /></svg>
|
|
|
</div>
|
|
|
`,pasteFromClipboard:`
|
|
|
<div class='action'
|
|
|
data-command='"pasteFromClipboard"'
|
|
|
data-tooltip='${vt("tooltip.paste from clipboard")}'>
|
|
|
<svg><use xlink:href='#svg-paste' /></svg>
|
|
|
</div>
|
|
|
`};return b+=ee.map(oe=>re[oe]).join(""),b}function yg(a){for(const y of a)bg(y)}function bg(a){const y=Rc.singleton;if(!y)return;const b={};if(!a.id){if(a.hasAttribute("data-label")&&(b.label=a.dataset.label),a.hasAttribute("data-latex")&&(b.latex=a.dataset.latex),a.hasAttribute("data-key")&&(b.key=a.dataset.key),a.hasAttribute("data-insert")&&(b.insert=a.dataset.insert),a.hasAttribute("data-variants")&&(b.variants=a.dataset.variants),a.hasAttribute("data-aside")&&(b.aside=a.dataset.aside),a.className&&(b.class=a.className),!b.label&&!b.latex&&!b.key&&!b.insert&&(b.latex=a.innerText,b.label=a.innerHTML),a.hasAttribute("data-command"))try{b.command=JSON.parse(a.dataset.command)}catch(E){}a.id=y.registerKeycap(b)}if(!a.innerHTML){const[E,ee]=Kf(b);a.innerHTML=window.MathfieldElement.createHTML(E)}}function xg(){Hl("virtual-keyboard"),Hl("core"),Rf()}function wg(){x("core"),x("virtual-keyboard")}var Cg=`<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
|
|
|
|
<symbol id="svg-delete-backward" viewBox="0 0 576 512">
|
|
|
<path d="M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z"/>
|
|
|
</symbol>
|
|
|
|
|
|
<symbol id="svg-shift" viewBox="0 0 384 512">
|
|
|
<path d="M2.438 252.3C7.391 264.2 19.06 272 32 272h80v160c0 26.51 21.49 48 48 48h64C250.5 480 272 458.5 272 432v-160H352c12.94 0 24.61-7.797 29.56-19.75c4.953-11.97 2.219-25.72-6.938-34.88l-160-176C208.4 35.13 200.2 32 192 32S175.6 35.13 169.4 41.38l-160 176C.2188 226.5-2.516 240.3 2.438 252.3zM192 86.63L313.4 224H224v208H160V224H70.63L192 86.63z"/>
|
|
|
</symbol>
|
|
|
|
|
|
<symbol id="svg-commit" viewBox="0 0 512 512">
|
|
|
<path d="M135 432.1l-128-128C2.344 300.3 0 294.2 0 288s2.344-12.28 7.031-16.97l128-128c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L81.94 264H464v-208C464 42.75 474.8 32 488 32S512 42.75 512 56V288c0 13.25-10.75 24-24 24H81.94l87.03 87.03c9.375 9.375 9.375 24.56 0 33.94S144.4 442.3 135 432.1z"/>
|
|
|
</symbol>
|
|
|
|
|
|
|
|
|
<symbol id="circle-plus" viewBox="0 0 512 512"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24V280h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V168c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"/></symbol>
|
|
|
|
|
|
<symbol id="svg-command" viewBox="0 0 640 512">
|
|
|
<path d="M34.495 36.465l211.051 211.05c4.686 4.686 4.686 12.284 0 16.971L34.495 475.535c-4.686 4.686-12.284 4.686-16.97 0l-7.071-7.07c-4.686-4.686-4.686-12.284 0-16.971L205.947 256 10.454 60.506c-4.686-4.686-4.686-12.284 0-16.971l7.071-7.07c4.686-4.687 12.284-4.687 16.97 0zM640 468v-10c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h328c6.627 0 12-5.373 12-12z"/>
|
|
|
</symbol>
|
|
|
|
|
|
<symbol id="svg-undo" viewBox="0 0 512 512">
|
|
|
<path d="M20 8h10c6.627 0 12 5.373 12 12v110.625C85.196 57.047 165.239 7.715 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.834 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l7.069-7.069c4.503-4.503 11.749-4.714 16.482-.454C150.782 449.238 200.935 470 256 470c117.744 0 214-95.331 214-214 0-117.744-95.331-214-214-214-82.862 0-154.737 47.077-190.289 116H180c6.627 0 12 5.373 12 12v10c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V20c0-6.627 5.373-12 12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-redo" viewBox="0 0 512 512">
|
|
|
<path d="M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-arrow-left" viewBox="0 0 320 512">
|
|
|
<path d="M206.7 464.6l-183.1-191.1C18.22 267.1 16 261.1 16 256s2.219-11.97 6.688-16.59l183.1-191.1c9.152-9.594 24.34-9.906 33.9-.7187c9.625 9.125 9.938 24.37 .7187 33.91L73.24 256l168 175.4c9.219 9.5 8.906 24.78-.7187 33.91C231 474.5 215.8 474.2 206.7 464.6z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-arrow-right" viewBox="0 0 320 512">
|
|
|
<path d="M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-tab" viewBox="0 0 448 512">
|
|
|
<path d="M32 217.1c0-8.8 7.2-16 16-16h144v-93.9c0-7.1 8.6-10.7 13.6-5.7l143.5 143.1c6.3 6.3 6.3 16.4 0 22.7L205.6 410.4c-5 5-13.6 1.5-13.6-5.7v-93.9H48c-8.8 0-16-7.2-16-16v-77.7m-32 0v77.7c0 26.5 21.5 48 48 48h112v61.9c0 35.5 43 53.5 68.2 28.3l143.6-143c18.8-18.8 18.8-49.2 0-68L228.2 78.9c-25.1-25.1-68.2-7.3-68.2 28.3v61.9H48c-26.5 0-48 21.6-48 48zM436 64h-8c-6.6 0-12 5.4-12 12v360c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-paste" viewBox="0 0 512 512"><path d="M160 32c11.6 0 21.3 8.2 23.5 19.2C185 58.6 191.6 64 199.2 64H208c8.8 0 16 7.2 16 16V96H96V80c0-8.8 7.2-16 16-16h8.8c7.6 0 14.2-5.4 15.7-12.8C138.7 40.2 148.4 32 160 32zM64 64h2.7C65 69 64 74.4 64 80V96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V80c0-5.6-1-11-2.7-16H256c17.7 0 32 14.3 32 32h32c0-35.3-28.7-64-64-64H210.6c-9-18.9-28.3-32-50.6-32s-41.6 13.1-50.6 32H64C28.7 32 0 60.7 0 96V384c0 35.3 28.7 64 64 64H192V416H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM288 480c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h96v56c0 22.1 17.9 40 40 40h56V448c0 17.7-14.3 32-32 32H288zM416 165.3L474.7 224H424c-4.4 0-8-3.6-8-8V165.3zM448 512c35.3 0 64-28.7 64-64V235.9c0-12.7-5.1-24.9-14.1-33.9l-59.9-59.9c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448z"/></symbol>
|
|
|
<symbol id="svg-cut" viewBox="0 0 512 512"><path d="M485.6 444.2L333.6 314.9C326.9 309.2 326.1 299.1 331.8 292.4C337.5 285.6 347.6 284.8 354.4 290.5L506.4 419.8C513.1 425.5 513.9 435.6 508.2 442.4C502.5 449.1 492.4 449.9 485.6 444.2zM485.7 67.76C492.5 62.07 502.5 62.94 508.2 69.69C513.9 76.45 513.1 86.55 506.3 92.24L208.5 343.1C218.3 359.7 224 379.2 224 400C224 461.9 173.9 512 112 512C50.14 512 0 461.9 0 400C0 338.1 50.14 288 112 288C141.5 288 168.4 299.4 188.4 318.1L262.2 256L188.4 193.9C168.4 212.6 141.5 224 112 224C50.14 224 0 173.9 0 112C0 50.14 50.14 0 112 0C173.9 0 224 50.14 224 112C224 132.8 218.3 152.3 208.5 168.9L287 235.1L485.7 67.76zM32 112C32 156.2 67.82 192 112 192C156.2 192 192 156.2 192 112C192 67.82 156.2 32 112 32C67.82 32 32 67.82 32 112zM112 480C156.2 480 192 444.2 192 400C192 355.8 156.2 320 112 320C67.82 320 32 355.8 32 400C32 444.2 67.82 480 112 480z"/></symbol>
|
|
|
<symbol id="svg-copy" viewBox="0 0 512 512"><path d="M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-angle-double-right" viewBox="0 0 512 512"><path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-angle-double-left" viewBox="0 0 512 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-trash" viewBox="0 0 448 512">
|
|
|
<path d="M336 64l-33.6-44.8C293.3 7.1 279.1 0 264 0h-80c-15.1 0-29.3 7.1-38.4 19.2L112 64H24C10.7 64 0 74.7 0 88v2c0 3.3 2.7 6 6 6h26v368c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V96h26c3.3 0 6-2.7 6-6v-2c0-13.3-10.7-24-24-24h-88zM184 32h80c5 0 9.8 2.4 12.8 6.4L296 64H152l19.2-25.6c3-4 7.8-6.4 12.8-6.4zm200 432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V96h320v368zm-176-44V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm-80 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm160 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12z"/>
|
|
|
</symbol>
|
|
|
<symbol id="svg-keyboard-down" viewBox="0 0 576 512"><path d="M64 48c-8.8 0-16 7.2-16 16V240c0 8.8 7.2 16 16 16H512c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H64zM0 64C0 28.7 28.7 0 64 0H512c35.3 0 64 28.7 64 64V240c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM159 359c9.4-9.4 24.6-9.4 33.9 0l95 95 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L305 505c-4.5 4.5-10.6 7-17 7s-12.5-2.5-17-7L159 393c-9.4-9.4-9.4-24.6 0-33.9zm1-167c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V192zM120 88h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H200c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H280c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H360c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H440c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16z"/></symbol>
|
|
|
</svg>`;function Sg(a){a.resetKeycapRegistry(),xg();const y=document.createElement("div");y.className="ML__keyboard";const b=document.createElement("div");b.className="MLK__plate",b.innerHTML=window.MathfieldElement.createHTML(Cg+a.normalizedLayouts.map((oe,me)=>Eg(a,oe,me)).join(""));const E=document.createElement("div");E.className="MLK__backdrop",E.appendChild(b),y.appendChild(E),y.addEventListener("pointerdown",Mg,{passive:!1});const ee=y.querySelectorAll(".ML__edit-toolbar");if(ee)for(const oe of ee)oe.addEventListener("click",me=>{var ge,we;let Me=me.target,Je="";for(;Me&&!Je;)Je=(ge=Me==null?void 0:Me.getAttribute("data-command"))!=null?ge:"",Me=(we=Me==null?void 0:Me.parentElement)!=null?we:null;Je&&a.executeCommand(JSON.parse(Je))});yg(y.querySelectorAll(".MLK__keycap, .action, .fnbutton, .bigfnbutton"));const re=y.querySelectorAll(".MLK__layer");console.assert(re.length>0,"No virtual keyboards available");for(const oe of re)oe.addEventListener("pointerdown",me=>me.preventDefault());return a.currentLayer=a.latentLayer,y}function Eg(a,y,b){const E=[];if(!("layers"in y))return"";for(const ee of y.layers)E.push(`<div tabindex="-1" class="MLK__layer" id="${ee.id}">`),(a.normalizedLayouts.length>1||y.displayEditToolbar)&&(E.push("<div class='MLK__toolbar' role='toolbar'>"),E.push(gg(a,b)),y.displayEditToolbar&&E.push('<div class="ML__edit-toolbar right"></div>'),E.push("</div>")),E.push(Ag(a,ee)),E.push("</div>");return E.join("")}function Ag(a,y){if(typeof y=="string")return y;let b="";if(typeof y.style=="string"?b+=`<style>${y.style}</style>`:typeof y.style=="object"&&(b+=`<style>${pg(y.style)}</style>`),y.backdrop&&(b+=`<div class='${y.backdrop}'>`),y.container&&(b+=`<div class='${y.container}'>`),y.rows){b+="<div class=MLK__rows>";for(const E of y.rows){b+="<div dir='ltr' class=MLK__row>";for(const ee of E)if(ee){const re=a.registerKeycap(ee),[oe,me]=Kf(ee);/(^|\s)separator/.test(me)?b+=`<div class="${me}"`:b+=`<div tabindex="-1" id="${re}" class="${me}"`,ee.tooltip&&(b+=` data-tooltip="${ee.tooltip}"`),b+=`>${oe}</div>`}b+="</div>"}b+="</div>"}else y.markup&&(b+=y.markup);return y.container&&(b+="</div>"),y.backdrop&&(b+="</div>"),b}function Kf(a,y={shifted:!1}){var b,E,ee,re,oe,me,ge;let we="",Me=(b=a.class)!=null?b:"";if(y.shifted&&Bd(a)&&(Me+=" is-active"),y.shifted&&"shift"in a)typeof a.shift=="string"?we=df(a.shift):typeof a.shift=="object"&&(we=a.shift.label?a.shift.label:(E=df(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?E:""),typeof a.shift=="object"&&(Me=(re=(ee=a.shift.class)!=null?ee:a.class)!=null?re:"");else{if(we=a.label?a.label:(oe=df(a.latex||a.insert||"")||a.key)!=null?oe:"",a.shift){let Je;typeof a.shift=="string"?Je=df(a.shift):a.shift.label?Je=a.shift.label:Je=(me=df(a.shift.latex||a.shift.insert||"")||a.shift.key)!=null?me:"",we+=`<span class="MLK__shift">${Je}</span>`}a.aside&&(we+=`<aside>${a.aside}</aside>`)}return a.layer&&!/layer-switch/.test(Me)&&(Me+=" layer-switch"),/(^|\s)(separator|action|shift|fnbutton|bigfnbutton)($|\s)/.test(Me)||(Me+=" MLK__keycap"),!/\bw[0-9]+\b/.test(Me)&&a.width&&(Me+=(ge={0:" w0",.5:" w5",1.5:" w15",2:" w20",5:" w50"}[a.width])!=null?ge:""),[we,Me||"MLK__keycap"]}var id={"[left]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-left /></svg>",command:["performWithFeedback","moveToPreviousChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-left /></svg>",command:["performWithFeedback","extendSelectionBackward"]}},"[right]":{class:"action hide-shift",label:"<svg class=svg-glyph><use xlink:href=#svg-arrow-right /></svg>",command:["performWithFeedback","moveToNextChar"],shift:{label:"<svg class=svg-glyph><use xlink:href=#svg-angle-double-right /></svg>",command:["performWithFeedback","extendSelectionForward"]}},"[up]":{class:"action hide-shift",label:"\u2191",command:["performWithFeedback","moveUp"],shift:{label:"\u219F",command:["performWithFeedback","extendSelectionUpward"]}},"[down]":{class:"action hide-shift",label:"\u2193",command:["performWithFeedback","moveDown"],shift:{label:"\u21A1",command:["performWithFeedback","extendSelectionDownward"]}},"[return]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[action]":{class:"action hide-shift",command:["performWithFeedback","commit"],shift:{label:"<svg class=svg-glyph><use xlink:href=#circle-plus /></svg>",command:["performWithFeedback","addRowAfter"]},width:1.5,label:"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>"},"[hr]":{class:"separator horizontal-rule"},"[hide-keyboard]":{class:"action",command:["hideVirtualKeyboard"],width:1.5,label:"<svg class=svg-glyph-lg><use xlink:href=#svg-keyboard-down /></svg>"},"[.]":{variants:".",command:["performWithFeedback","insertDecimalSeparator"],shift:",",class:"big-op hide-shift",label:"."},"[,]":{variants:",",command:["performWithFeedback","insertDecimalSeparator"],shift:".",class:"big-op hide-shift",label:","},"[+]":{variants:[{latex:"\\sum_{#0}^{#0}",class:"small"},"\\oplus"],latex:"+",label:"+",class:"big-op hide-shift",shift:{latex:"\\sum",insert:"\\sum",class:"small"}},"[-]":{variants:["\\pm","\\ominus"],latex:"-",label:"−",shift:"\\pm",class:"big-op hide-shift"},"[/]":{class:"big-op hide-shift",shift:{class:"",latex:"\\frac{1}{#@}"},variants:["/","\\div","\\%","\\oslash"],latex:"\\frac{#@}{#?}",label:"÷"},"[*]":{variants:[{latex:"\\prod_{#0}^{#0}",class:"small"},"\\otimes","\\cdot"],latex:"\\cdot",label:"×",shift:{latex:"\\times"},class:"big-op hide-shift"},"[=]":{variants:["\\neq","\\equiv","\\varpropto","\\thickapprox","\\lt","\\gt","\\le","\\ge"],latex:"=",label:"=",shift:{label:"\u2260",latex:"\\ne"},class:"big-op hide-shift"},"[backspace]":{class:"action bottom right hide-shift",width:1.5,command:["performWithFeedback","deleteBackward"],label:"<svg class=svg-glyph><use xlink:href=#svg-delete-backward /></svg>",shift:{class:"action warning",label:"<svg class=svg-glyph><use xlink:href=#svg-trash /></svg>",command:"deleteAll"}},"[undo]":{class:"ghost if-can-undo",command:"undo",label:"<svg class=svg-glyph><use xlink:href=#svg-undo /></svg>",tooltip:"tooltip.undo"},"[redo]":{class:"ghost if-can-redo",command:"redo",label:"<svg class=svg-glyph><use xlink:href=#svg-redo /></svg>",tooltip:"tooltip.redo"},"[(]":{variants:[{latex:"\\lbrack",key:"["},"\\langle","\\lfloor","\\lceil",{latex:"\\lbrace",key:"{"}],key:"(",label:"(",shift:{label:"[",key:"["},class:"hide-shift"},"[)]":{variants:[{latex:"\\rbrack",key:"]"},"\\rangle","\\rfloor","\\rceil",{latex:"\\rbrace",key:"]"}],key:")",label:")",shift:{label:"]",latex:"\\rbrack"},class:"hide-shift"},"[0]":{variants:"0",latex:"0",label:"0",shift:"\\infty",class:"hide-shift"},"[1]":{variants:"1",latex:"1",label:"1",shift:"#@^{-1}",class:"hide-shift"},"[2]":{variants:"2",latex:"2",label:"2",shift:"#@^2",class:"hide-shift"},"[3]":{variants:"3",latex:"3",label:"3",shift:"#@^3",class:"hide-shift"},"[4]":{variants:"4",latex:"4",label:"4",shift:"#@^4",class:"hide-shift"},"[5]":{variants:"5",latex:"5",label:"5",shift:"#@^5",class:"hide-shift"},"[6]":{variants:"6",latex:"6",label:"6",shift:"#@^6",class:"hide-shift"},"[7]":{variants:"7",latex:"7",label:"7",shift:"#@^7",class:"hide-shift"},"[8]":{variants:"8",latex:"8",label:"8",shift:"#@^8",class:"hide-shift"},"[9]":{variants:"9",latex:"9",label:"9",shift:"#@^9",class:"hide-shift"},"[separator-5]":{class:"separator",width:.5},"[separator]":{class:"separator"},"[separator-10]":{class:"separator"},"[separator-15]":{class:"separator",width:1.5},"[separator-20]":{class:"separator",width:2},"[separator-50]":{class:"separator",width:5},"[shift]":{class:"shift bottom left",width:1.5,label:"<span class=caps-lock-indicator></span><svg class=svg-glyph><use xlink:href=#svg-shift /></svg>"},"[foreground-color]":{variants:"foreground-color",command:["applyStyle",{color:"red"}],label:"<span style='border-radius: 50%;width:22px;height:22px; border: 3px solid #cc2428; box-sizing: border-box'>"},"[background-color]":{variants:"background-color",command:["applyStyle",{backgroundColor:"yellow"}],label:"<span style='border-radius: 50%;width:22px;height:22px; background:#fff590; box-sizing: border-box'></span>"}};function k0(a){var y;if(typeof a=="string"){if(a==="[.]"&&window.MathfieldElement.decimalSeparator===","&&(a="[,]"),!id[a])return{latex:a};a={label:a}}let b;return"label"in a&&a.label&&id[a.label]&&(b=Ee(xe(xe({},id[a.label]),a),{label:id[a.label].label})),"key"in a&&a.key&&id[a.key]&&(b=Ee(xe(xe({},id[a.key]),a),{key:id[a.key].key})),b?(b.command==="insertDecimalSeparator"&&(b.label=(y=window.MathfieldElement.decimalSeparator)!=null?y:"."),a.label==="[action]"&&(b=xe(xe({},b),window.mathVirtualKeyboard.actionKeycap)),a.label==="[shift]"&&(b=xe(xe({},b),window.mathVirtualKeyboard.shiftKeycap)),a.label==="[backspace]"&&(b=xe(xe({},b),window.mathVirtualKeyboard.backspaceKeycap)),a.label==="[tab]"&&(b=xe(xe({},b),window.mathVirtualKeyboard.tabKeycap)),b):a}var hf;function Mg(a){var y;if(a.button!==0)return;const b=Rc.singleton;if(!b)return;let E=a.target;for(;E&&!E.getAttribute("data-layer");)E=E.parentElement;if(E){b.currentLayer=(y=E.getAttribute("data-layer"))!=null?y:"",a.preventDefault();return}const ee=Dd(a.target);if(!(ee!=null&&ee.id))return;const re=b.getKeycap(ee.id);if(!re)return;console.assert(a.type==="pointerdown");const oe=new AbortController,me=oe.signal;ee.classList.add("is-pressed"),ee.addEventListener("pointerenter",Wf(oe),{capture:!0,signal:me}),ee.addEventListener("pointerleave",Wf(oe),{capture:!0,signal:me}),ee.addEventListener("pointercancel",Wf(oe),{signal:me}),ee.addEventListener("pointerup",Wf(oe),{signal:me}),Bd(re)&&(ee.classList.add("is-active"),b.shiftPressCount++),re.variants&&(hf&&clearTimeout(hf),hf=setTimeout(()=>{ee.classList.contains("is-pressed")&&(ee.classList.remove("is-pressed"),ee.classList.add("is-active"),a.target&&"releasePointerCapture"in a.target&&a.target.releasePointerCapture(a.pointerId),E0(ee,()=>{oe.abort(),ee==null||ee.classList.remove("is-active")}))},300)),a.preventDefault()}function Wf(a){return y=>{const b=Dd(y.target);if(!(b!=null&&b.id))return;const E=Rc.singleton;if(!E)return;const ee=E.getKeycap(b.id);if(ee){if(y.type==="pointerenter"&&y.target===b&&y.isPrimary&&b.classList.add("is-pressed"),y.type==="pointercancel"){b.classList.remove("is-pressed"),Bd(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted)),a.abort();return}if(y.type==="pointerleave"&&y.target===b){b.classList.remove("is-pressed"),Bd(ee)&&(E.shiftPressCount--,b.classList.toggle("is-active",E.isShifted));return}if(y.type==="pointerup"){hf&&clearTimeout(hf),Bd(ee)?b.classList.toggle("is-active",E.isShifted):b.classList.contains("is-pressed")&&(b.classList.remove("is-pressed"),E.isShifted&&ee.shift?typeof ee.shift=="string"?E.executeCommand(["insert",ee.shift,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]):Eh(ee.shift):Eh(ee),E.shiftPressCount===1&&!y.shiftKey&&(E.shiftPressCount=0)),a.abort(),y.preventDefault();return}}}}function Eh(a){var y;let b=a.command;!b&&a.insert&&(b=["insert",a.insert,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),!b&&a.key&&(b=["typedText",a.key,{focus:!0,feedback:!0,simulateKeystroke:!0}]),!b&&a.latex&&(b=["insert",a.latex,{focus:!0,feedback:!0,scrollIntoView:!0,mode:"math",format:"latex"}]),b||(b=["typedText",a.label,{focus:!0,feedback:!0,simulateKeystroke:!0}]),(y=Rc.singleton)==null||y.executeCommand(b)}function kg(a){if(a.nodeType!==1)return!1;const y=a.classList;return y.contains("MLK__keycap")||y.contains("shift")||y.contains("action")||y.contains("fnbutton")||y.contains("bigfnbutton")}function Dd(a){if(!a)return;let y=a;for(;y&&!kg(y);)y=y.parentElement;return y!=null?y:void 0}function Bd(a){return!!a.class&&/(^|\s)shift($|\s)/.test(a.class)}var Rc=class tm{constructor(){this.originalContainerBottomPadding=null,this.keycapRegistry={},this._shiftPressCount=0;var y,b,E;this.targetOrigin=window.origin,this.originValidator="none",this._alphabeticLayout="auto",this._layouts=Object.freeze(["default"]),this._editToolbar="default",this._container=(b=(y=window.document)==null?void 0:y.body)!=null?b:null,this._visible=!1,this._rebuilding=!1,this.observer=new ResizeObserver(ee=>{this.adjustBoundingRect(),this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect})}),this.listeners={};try{(E=window.top)==null||E.addEventListener("message",this)}catch(ee){window.addEventListener("message",this)}document.body.addEventListener("focusin",ee=>{const re=ee.target;re!=null&&re.isConnected&&setTimeout(()=>{const oe=D0();oe&&!oe.readOnly&&oe.mathVirtualKeyboardPolicy==="auto"&&ot()&&this.show({animate:!0})},300)}),document.addEventListener("focusout",ee=>{ee.target.mathVirtualKeyboardPolicy!=="manual"&&setTimeout(()=>{D0()||this.hide()},300)})}get currentLayer(){var y,b,E;return(E=(b=(y=this._element)==null?void 0:y.querySelector(".MLK__layer.is-visible"))==null?void 0:b.id)!=null?E:""}set currentLayer(y){var b;if(!this._element){this.latentLayer=y;return}let E=y?this._element.querySelector(`#${y}.MLK__layer`):null;E||(E=this._element.querySelector(".MLK__layer")),E&&((b=this._element.querySelector(".MLK__layer.is-visible"))==null||b.classList.remove("is-visible"),E.classList.add("is-visible")),this.render()}get shiftPressCount(){return this._shiftPressCount}set shiftPressCount(y){var b;this._shiftPressCount=y>2||y<0?0:y,(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.render()}get isShifted(){return this._shiftPressCount>0}resetKeycapRegistry(){this.keycapRegistry={}}registerKeycap(y){const b="ML__k"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36);return this.keycapRegistry[b]=y,b}getKeycap(y){return y?this.keycapRegistry[y]:void 0}getLayer(y){const b=this.normalizedLayouts;for(const E of b)for(const ee of E.layers)if(ee.id===y)return ee}get alphabeticLayout(){return this._alphabeticLayout}set alphabeticLayout(y){this._alphabeticLayout=y,this.rebuild()}get actionKeycap(){return this._actionKeycap}set actionKeycap(y){this._actionKeycap=typeof y=="string"?{label:y}:y}get shiftKeycap(){return this._shiftKeycap}set shiftKeycap(y){this._shiftKeycap=typeof y=="string"?{label:y}:y}get backspaceKeycap(){return this._backspaceKeycap}set backspaceKeycap(y){this._backspaceKeycap=typeof y=="string"?{label:y}:y}get tabKeycap(){return this._tabKeycap}set tabKeycap(y){this._tabKeycap=typeof y=="string"?{label:y}:y}get layouts(){return this._layouts}set layouts(y){this.updateNormalizedLayouts(y),this.rebuild()}updateNormalizedLayouts(y){const b=Array.isArray(y)?[...y]:[y],E=b.findIndex(ee=>ee==="default");E>=0&&b.splice(E,1,"numeric","symbols","alphabetic","greek"),this._layouts=Object.freeze(b),this._normalizedLayouts=b.map(ee=>M0(ee))}get normalizedLayouts(){return this._normalizedLayouts||this.updateNormalizedLayouts(this._layouts),this._normalizedLayouts}get editToolbar(){return this._editToolbar}set editToolbar(y){this._editToolbar=y,this.rebuild()}get container(){return this._container}set container(y){this._container=y,this.rebuild()}static get singleton(){if(this._singleton===void 0)try{this._singleton=new tm}catch(y){this._singleton=null}return this._singleton}get style(){return this._style}addEventListener(y,b,E){this.listeners[y]||(this.listeners[y]=new Set),this.listeners[y].has(b)||this.listeners[y].add(b)}dispatchEvent(y){return!this.listeners[y.type]||this.listeners[y.type].size===0?!0:(this.listeners[y.type].forEach(b=>{typeof b=="function"?b(y):b==null||b.handleEvent(y)}),!y.defaultPrevented)}removeEventListener(y,b,E){this.listeners[y]&&this.listeners[y].delete(b)}get element(){return this._element}set element(y){var b;this._element!==y&&((b=this._element)==null||b.remove(),this._element=y)}get visible(){return this._visible}set visible(y){y?this.show():this.hide()}get boundingRect(){var y;if(!this._visible)return new DOMRect;const b=(y=this._element)==null?void 0:y.getElementsByClassName("MLK__plate")[0];return b?b.getBoundingClientRect():new DOMRect}adjustBoundingRect(){var y,b;const E=this.boundingRect.height;if(this.container===document.body){(y=this._element)==null||y.style.setProperty("--_keyboard-height",`calc(${E}px + var(--_padding-top) + var(--_padding-bottom) + env(safe-area-inset-bottom, 0))`);const ee=E-1;this.container.style.paddingBottom=this.originalContainerBottomPadding?`calc(${this.originalContainerBottomPadding} + ${ee}px)`:`${ee}px`}else(b=this._element)==null||b.style.setProperty("--_keyboard-height",`${E}px`)}rebuild(){if(this._rebuilding||!this._element)return;this._rebuilding=!0;const y=this.currentLayer;requestAnimationFrame(()=>{this._rebuilding=!1,this._element&&(this._element.remove(),this._element=void 0),this.visible&&(this.buildAndAttachElement(),this.currentLayer=y,this.render(),this.adjustBoundingRect(),this._element.classList.add("is-visible"))})}render(){if(!this._element)return;const y=this.getLayer(this.currentLayer);this._element.classList.toggle("backdrop-is-transparent",!!(y&&(y.backdrop||y.container)));const b=this._element.querySelectorAll(".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift");if(b)for(const E of b){const ee=this.getKeycap(E.id);if(ee){const[re,oe]=Kf(ee,{shifted:this.isShifted});E.innerHTML=window.MathfieldElement.createHTML(re),E.className=oe}}}show(y){var b;if(this._visible)return;const E=this.container;if(E&&window.mathVirtualKeyboard&&this.stateWillChange(!0)){if(this._element||(this.buildAndAttachElement(),this.adjustBoundingRect()),!this._visible){const ee=this._element.getElementsByClassName("MLK__plate")[0];if(ee&&this.observer.observe(ee),E===window.document.body){const re=E.style.paddingBottom;this.originalContainerBottomPadding=re;const oe=ee.offsetHeight-1;E.style.paddingBottom=re?`calc(${re} + ${oe}px)`:`${oe}px`}window.addEventListener("mouseup",this),window.addEventListener("blur",this),window.addEventListener("keydown",this,{capture:!0}),window.addEventListener("keyup",this,{capture:!0}),(b=this._element)==null||b.classList.toggle("is-caps-lock",this.shiftPressCount===2),this.currentLayer=this.latentLayer}this._visible=!0,y!=null&&y.animate?requestAnimationFrame(()=>{this._element&&(this._element.classList.add("animate"),this._element.addEventListener("transitionend",()=>{var ee;return(ee=this._element)==null?void 0:ee.classList.remove("animate")},{once:!0}),this._element.classList.add("is-visible"),this.stateChanged())}):(this._element.classList.add("is-visible"),this.stateChanged())}}hide(y){var b;const E=this.container;if(E&&this._visible&&this.stateWillChange(!1)){if(this._visible=!1,this._element){this.latentLayer=this.currentLayer;const ee=this._element.getElementsByClassName("MLK__plate")[0];ee&&this.observer.unobserve(ee),window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("keydown",this,{capture:!0}),window.removeEventListener("keyup",this,{capture:!0}),window.removeEventListener("contextmenu",this,{capture:!0}),cf(),wg(),(b=this._element)==null||b.remove(),this._element=void 0,this.originalContainerBottomPadding!==null&&(E.style.paddingBottom=this.originalContainerBottomPadding)}this.stateChanged()}}get height(){var y,b;return(b=(y=this.element)==null?void 0:y.offsetHeight)!=null?b:0}buildAndAttachElement(){var y;console.assert(!this.element),this.element=Sg(this),window.addEventListener("contextmenu",this,{capture:!0}),this.element.addEventListener("contextmenu",b=>{b.shiftKey||((b.ctrlKey||b.button===2)&&E0(b.target),b.preventDefault(),b.stopPropagation())},{capture:!0}),(y=this.container)==null||y.appendChild(this.element)}handleEvent(y){if(Sh(y)){if(!Xd(y.origin,this.originValidator))throw new DOMException(`Message from unknown origin (${y.origin}) cannot be handled`,"SecurityError");y.data.action==="disconnect"?this.connectedMathfieldWindow=void 0:y.data.action!=="update-setting"&&y.data.action!=="proxy-created"&&y.data.action!=="execute-command"&&(console.assert(y.source!==void 0),this.connectedMathfieldWindow=y.source),this.handleMessage(y.data,y.source)}if(this._element)switch(y.type){case"mouseup":case"blur":document.body.style.userSelect="",this.shiftPressCount=0;break;case"contextmenu":y.button!==2&&y.preventDefault();break;case"keydown":{y.key==="Shift"&&!y.repeat&&(this.shiftPressCount=1);break}case"keyup":{(y.key==="Shift"||!y.getModifierState("Shift")&&this.shiftPressCount!==2)&&(this.shiftPressCount=0);break}}}handleMessage(y,b){const{action:E}=y;if(E==="execute-command"){const{command:ee}=y,re=kd(ee);if(window.top!==void 0&&re!=="virtual-keyboard")return;this.executeCommand(ee);return}if((E==="connect"||E==="show")&&this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b),E!=="disconnect"&&window===window.top){if(E==="show"){typeof y.animate!="undefined"?this.show({animate:y.animate}):this.show();return}if(E==="hide"){typeof y.animate!="undefined"?this.hide({animate:y.animate}):this.hide();return}if(E==="update-setting"){y.alphabeticLayout&&(this.alphabeticLayout=y.alphabeticLayout),y.layouts&&(this.layouts=y.layouts),y.editToolbar&&(this.editToolbar=y.editToolbar);return}if(E==="proxy-created"){this.sendMessage("synchronize-proxy",{boundingRect:this.boundingRect,alphabeticLayout:this._alphabeticLayout,layouts:this._layouts,editToolbar:this._editToolbar},b);return}}}sendMessage(y,b,E){if(E||(E=this.connectedMathfieldWindow),this.targetOrigin===null||this.targetOrigin==="null"||E===window){window.dispatchEvent(new MessageEvent("message",{source:window,data:xe({type:zf,action:y},b)}));return}if(E)E.postMessage(xe({type:zf,action:y},b),{targetOrigin:this.targetOrigin});else if(b.command&&this.dispatchEvent(new CustomEvent("math-virtual-keyboard-command",{detail:b.command})),y==="execute-command"&&Array.isArray(b.command)&&b.command[0]==="insert"){const ee=b.command[1].split("");for(const re of ee)this.dispatchEvent(new KeyboardEvent("keydown",{key:re,bubbles:!0})),this.dispatchEvent(new KeyboardEvent("keyup",{key:re,bubbles:!0}))}}stateWillChange(y){return this.dispatchEvent(new CustomEvent("before-virtual-keyboard-toggle",{detail:{visible:y},bubbles:!0,cancelable:!0,composed:!0}))}stateChanged(){this.dispatchEvent(new Event("virtual-keyboard-toggle")),this._visible||(this.dispatchEvent(new Event("geometrychange")),this.sendMessage("geometry-changed",{boundingRect:this.boundingRect}))}focus(){this.sendMessage("focus",{})}blur(){this.sendMessage("blur",{})}updateToolbar(y){const b=this._element;if(!b)return;b.classList.toggle("is-math-mode",y.mode==="math"),b.classList.toggle("is-text-mode",y.mode==="text"),b.classList.toggle("can-undo",y.canUndo),b.classList.toggle("can-redo",y.canRedo),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-copy",!y.selectionIsCollapsed),b.classList.toggle("can-paste",!0);const E=b.querySelectorAll(".ML__edit-toolbar");if(E)for(const ee of E)ee.innerHTML=vg(this,y)}update(y){this._style=y.style,this.updateToolbar(y)}connect(){this.connectedMathfieldWindow=window}disconnect(){this.connectedMathfieldWindow=void 0}executeCommand(y){let b,E=[],ee=kd(y);return Be(y)?(b=y[0],b==="performWithFeedback"&&(y=y.slice(1),ee=kd(y)),E=y.slice(1)):b=y,b=b.replace(/-\w/g,re=>re[1].toUpperCase()),ee==="virtual-keyboard"?Qu[b].fn(void 0,...E):(this.sendMessage("execute-command",{command:y}),!1)}dispose(){window.removeEventListener("mouseup",this),window.removeEventListener("blur",this),window.removeEventListener("message",this)}};function D0(){var a,y;let b=Pf(),E=null;for(;b;){if("host"in b&&((y=(a=b.host)==null?void 0:a.tagName)==null?void 0:y.toLowerCase())==="math-field"){E=b.host;break}b=b.parentNode}return E}if(dt()&&!("mathVirtualKeyboard"in window))if(window===window.top){const a=Rc.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>a})}else Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>cg.singleton,configurable:!0});function Zf(a){const y={};for(const b of Object.keys(a))switch(b){case"scriptDepth":const E=a.scriptDepth;if(Be(E))y.scriptDepth=[E[0],E[1]];else if(typeof E=="number")y.scriptDepth=[E,E];else if(typeof E=="string"){const[re,oe]=E.split(",").map(me=>parseInt(me.trim()));y.scriptDepth=[re,oe]}else throw new TypeError("Unexpected value for scriptDepth");break;case"mathVirtualKeyboardPolicy":let ee=a.mathVirtualKeyboardPolicy.toLowerCase();if(ee==="sandboxed"){if(window!==window.top){const re=Rc.singleton;Object.defineProperty(window,"mathVirtualKeyboard",{get:()=>re})}ee="manual"}y.mathVirtualKeyboardPolicy=ee;break;case"letterShapeStyle":a.letterShapeStyle==="auto"?st.locale.startsWith("fr")?y.letterShapeStyle="french":y.letterShapeStyle="tex":y.letterShapeStyle=a.letterShapeStyle;break;case"defaultMode":["text","math","inline-math"].includes(a.defaultMode)?y.defaultMode=a.defaultMode:(console.error('MathLive 0.98.5: valid values for defaultMode are "text", "math" or "inline-math"'),y.defaultMode="math");break;case"macros":y.macros=We(a.macros);break;default:Be(a[b])?y[b]=[...a[b]]:typeof a[b]=="object"&&!(a[b]instanceof Element)&&b!=="computeEngine"?y[b]=xe({},a[b]):y[b]=a[b]}return y}function ad(a,y){let b;typeof y=="string"?b=[y]:y===void 0?b=Object.keys(a):b=y;const E={};for(const ee of b)a[ee]===null?E[ee]=null:Be(a[ee])?E[ee]=[...a[ee]]:typeof a[ee]=="object"&&!(a[ee]instanceof Element)&&ee!=="computeEngine"?E[ee]=xe({},a[ee]):E[ee]=a[ee];return typeof y=="string"?E[y]:E}function jf(){return{readOnly:!1,defaultMode:"math",macros:{},registers:{},colorMap:pt,backgroundColorMap:at,letterShapeStyle:st.locale.startsWith("fr")?"french":"tex",minFontScale:0,smartMode:!1,smartFence:!0,smartSuperscript:!0,scriptDepth:[1/0,1/0],removeExtraneousParentheses:!0,isImplicitFunction:a=>["\\sin","\\cos","\\tan","\\arcsin","\\arccos","\\arctan","\\arcsec","\\arccsc","\\arsinh","\\arcosh","\\artanh","\\arcsech","\\arccsch","\\arg","\\ch","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\sec","\\sinh","\\sh","\\tanh","\\tg","\\th","\\lg","\\lb","\\log","\\ln"].includes(a),mathModeSpace:"",placeholderSymbol:"\u25A2",contentPlaceholder:"",popoverPolicy:"auto",environmentPopoverPolicy:"off",keybindings:lh,inlineShortcuts:Ra,inlineShortcutTimeout:0,mathVirtualKeyboardPolicy:"auto",virtualKeyboardTargetOrigin:window==null?void 0:window.origin,originValidator:"none",onInlineShortcut:()=>"",onScrollIntoView:null,onExport:Lu,value:""}}function B0(a){return a.defaultMode==="inline-math"?"math":a.defaultMode}function Nc(a,y){!a||!y||(Be(a)?a.forEach(b=>Nc(b,y)):typeof a=="object"&&!a.style.color&&!a.style.backgroundColor&&!a.style.fontFamily&&!a.style.fontShape&&!a.style.fontSeries&&!a.style.fontSize&&!a.style.variant&&!a.style.variantStyle&&(a.applyStyle(y),Nc(a.body,y),Nc(a.above,y),Nc(a.below,y),Nc(a.subscript,y),Nc(a.superscript,y)))}function Ah(a,y,b,E){function ee(oe,me){for(const ge of re)if(ge.style[oe]!==me)return!1;return!0}if(y=a.normalizeRange(y),y[0]===y[1])return!1;const re=a.getAtoms(y,{includeChildren:!0});E.operation==="toggle"&&(b.color&&ee("color",b.color)&&(b.color="none",delete b.verbatimColor),b.backgroundColor&&ee("backgroundColor",b.backgroundColor)&&(b.backgroundColor="none",delete b.verbatimBackgroundColor),b.fontFamily&&ee("fontFamily",b.fontFamily)&&(b.fontFamily="none"),b.fontSeries&&ee("fontSeries",b.fontSeries)&&(b.fontSeries="auto"),b.fontShape&&ee("fontShape",b.fontShape)&&(b.fontShape="auto"),b.fontSize&&ee("fontSize",b.fontSize)&&(b.fontSize=Al),b.variant&&ee("variant",b.variant)&&(b.variant="normal"),b.variantStyle&&ee("variantStyle",b.variantStyle)&&(b.variantStyle=""));for(const oe of re)oe.applyStyle(b);return!0}function Dg(a,y){const b=a.at(a.position);if(b.type==="composition")b.value=y;else{const{caret:E}=b;b.caret=void 0;const ee=new yc(y,{mode:b.mode});ee.caret=E,b.parent.addChildAfter(ee,b),a.position+=1}}function Bg(a){const y=a.at(a.position);y.type==="composition"&&(y.parent.removeChild(y),a.position-=1)}bn(["math","displaymath"],xu),bn("center",xu),Mt("displaylines","",{parse:a=>{const y=[];let b=[];a.beginContext({tabular:!0});do{if(a.end()||a.match("<}>"))break;a.matchColumnSeparator()||a.matchRowSeparator()?(y.push([b]),b=[]):b.push(...a.scan(E=>["<}>","&","\\cr","\\\\","\\tabularnewline"].includes(E)))}while(!0);return a.endContext(),y.push([b]),y},createAtom:a=>new la("lines",a.args,[],{leftDelim:".",rightDelim:".",columns:[{align:"l"}]})}),In("array","{columns:colspec}",(a,y,b,E)=>new la(a,Mh(y),b,{columns:E[0],mathstyleName:"textstyle"})),In(["equation","equation*","subequations"],"",(a,y,b)=>new la(a,Mh(y),b,{columns:[{align:"c"}]})),In(["multline","multline*"],"",xu),In(["align","align*","aligned","eqnarray"],"",xu),In("split","",xu),In(["gather","gathered"],"",xu),In(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],"[columns:colspec]",xu),In(["smallmatrix","smallmatrix*"],"[columns:colspec]",xu),In(["cases","dcases","rcases"],"",xu);function Lg(a){for(const y of a)for(const b of y)if(b.length>0)return!1;return!0}function Mh(a,y=1){return Lg(a)?Array(y).fill([[new ar({type:"first"}),new Wi]]):a.map(b=>b.length===0?[[new ar({type:"first"})]]:b.map(E=>E.length===0?[new ar({type:"first"})]:(E[0].type!=="first"&&E.unshift(new ar({type:"first"})),E)))}function xu(a,y=[[[]]],b=[],E=[]){switch(y=Mh(y,["split","align","align*","aligned","eqnarray"].includes(a)?2:1),a){case"math":return new la(a,y,b,{mathstyleName:"textstyle"});case"displaymath":return new la(a,y,b,{mathstyleName:"textstyle"});case"center":return new la(a,y,b,{columns:[{align:"c"}]});case"multline":case"multline*":return new la(a,y,b,{columns:[{align:"m"}],leftDelim:".",rightDelim:"."});case"split":return new la(a,y,b,{columns:[{align:"r"},{align:"l"}],minColumns:2});case"gather":case"gathered":return new la(a,y,b,{columns:[{gap:.25},{align:"c"},{gap:0}]});case"pmatrix":case"pmatrix*":return new la(a,y,b,{mathstyleName:"textstyle",leftDelim:"(",rightDelim:")",columns:od(E[0])});case"bmatrix":case"bmatrix*":return new la(a,y,b,{mathstyleName:"textstyle",leftDelim:"[",rightDelim:"]",columns:od(E[0])});case"Bmatrix":case"Bmatrix*":return new la(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\lbrace",rightDelim:"\\rbrace",columns:od(E[0])});case"vmatrix":case"vmatrix*":return new la(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\vert",rightDelim:"\\vert",columns:od(E[0])});case"Vmatrix":case"Vmatrix*":return new la(a,y,b,{mathstyleName:"textstyle",leftDelim:"\\Vert",rightDelim:"\\Vert",columns:od(E[0])});case"matrix":case"matrix*":return new la(a,y,b,{mathstyleName:"textstyle",leftDelim:".",rightDelim:".",columns:od(E==null?void 0:E[0])});case"smallmatrix":case"smallmatrix*":return new la(a,y,b,{mathstyleName:"scriptstyle",columns:od(E==null?void 0:E[0]),colSeparationType:"small",arraystretch:.5});case"cases":case"dcases":return new la(a,y,b,{mathstyleName:a==="dcases"?"displaystyle":"textstyle",arraystretch:1.2,leftDelim:"\\lbrace",rightDelim:".",columns:[{align:"l"},{gap:1},{align:"l"}]});case"rcases":return new la(a,y,b,{arraystretch:1.2,leftDelim:".",rightDelim:"\\rbrace",columns:[{align:"l"},{gap:1},{align:"l"}]});case"lines":return new la(a,y,b,{leftDelim:".",rightDelim:".",columns:[{align:"l"}]});case"align":case"align*":case"aligned":case"eqnarray":{let ee=0;for(const me of y)ee=Math.max(ee,me.length);const re=[{gap:0},{align:"r"},{gap:.25},{align:"l"}];let oe=2;for(;oe<ee;)re.push({gap:1},{align:"r"},{gap:.25},{align:"l"}),oe+=2;return re.push({gap:0}),new la(a,y,b,{arraycolsep:0,columns:re,minColumns:2})}}return new la(a,y,b,{mathstyleName:"textstyle"})}function od(a){return a!=null?a:[{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"},{align:"c"}]}function Pg(a,y){let b=a.at(a.position);for(;b&&!(b.parent instanceof la);)b=b.parent;if(b&&b.type==="array"&&b.environmentName,!b||!(b.parent instanceof la)){const E=a.at(a.position);if(b=E,!b.parent.parent){let ee=a.extractAtoms([a.position,a.lastOffset]),re=a.extractAtoms([0,a.position]);re.length===0&&(re=Gf()),ee.length===0&&(ee=Gf());let oe;return y.endsWith("column")?(oe=xu("split",[[re,ee]]),a.root=oe,sd(oe,0,0)?ld(a,oe,0,0):sd(oe,0,1)?ld(a,oe,0,1):a.position=a.offsetOf(E)):(oe=xu("lines",[[re],[ee]]),a.root=oe,sd(oe,0,0)?ld(a,oe,0,0):sd(oe,1,0)?ld(a,oe,1,0):a.position=a.offsetOf(E)),[void 0,[0,0]]}if(b.parent instanceof Xa){const ee=b.parent;let re=a.extractAtoms([a.position,a.offsetOf(ee.lastChild)]),oe=a.extractAtoms([a.offsetOf(ee.firstChild),a.position]);oe.length===0&&(oe=Gf()),re.length===0&&(re=Gf());let me="pmatrix";const ge=ee.leftDelim,we=ee.rightDelim;ge==="("&&(we===")"||we==="?")?me="pmatrix":(ge==="["||ge==="\\lbrack")&&(we==="]"||we==="\\rbrack"||we==="?")?me="bmatrix":ge==="\\vert"&&we==="\\vert"?me="vmatrix":ge==="\\Vert"&&we==="\\Vert"?me="Vmatrix":(ge==="{"||ge==="\\lbrace")&&(we==="."||we==="?")&&(me="cases");const Me=xu(me,y.endsWith("column")?[[oe,re]]:[[oe],[re]]);return ee.parent.addChildBefore(Me,ee),ee.parent.removeChild(ee),sd(Me,0,0)?ld(a,Me,0,0):y.endsWith("column")?sd(Me,0,1)?ld(a,Me,0,1):a.position=a.offsetOf(b):sd(Me,1,0)?ld(a,Me,1,0):a.position=a.offsetOf(b),[void 0,[0,0]]}}return b&&b.parent instanceof la?[b.parent,b.parentBranch]:[void 0,[0,0]]}function sd(a,y,b){const E=a.getCell(y,b);return!E||E.length!==2?!1:E[1].type==="placeholder"}function Fg(a,y,b,E){const ee=y.getCell(b,E);return ee?[a.offsetOf(ee[0]),a.offsetOf(ee[ee.length-1])]:-1}function ld(a,y,b,E){const ee=Fg(a,y,b,E);typeof ee!="number"&&a.setSelection(ee)}function Vf(a,y,b,E,ee){const re=y.getCell(b,E);re&&a.setPositionHandlingPlaceholder(a.offsetOf(re[ee==="start"?0:re.length-1]))}function _f(a,y){const[b,[E,ee]]=Pg(a,y);if(b)switch(y){case"after row":b.addRowAfter(E),Vf(a,b,E+1,0,"end");break;case"after column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnAfter(ee),Vf(a,b,E,ee+1,"end");break;case"before row":b.addRowBefore(E),Vf(a,b,E,0,"start");break;case"before column":if(b.maxColumns<=b.colCount){a.announce("plonk");return}b.addColumnBefore(ee),Vf(a,b,E,ee,"start");break}}function L0(a){return a.contentWillChange({inputType:"insertText"})?(_f(a,"after row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Ig(a){return a.contentWillChange({inputType:"insertText"})?(_f(a,"before row"),a.contentDidChange({inputType:"insertText"}),!0):!1}function P0(a){return a.contentWillChange({inputType:"insertText"})?(_f(a,"after column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function Og(a){return a.contentWillChange({inputType:"insertText"})?(_f(a,"before column"),a.contentDidChange({inputType:"insertText"}),!0):!1}function F0(a,y){if(!a.contentWillChange({}))return!1;a.mathfield.snapshot();let b=".",E=".";switch(y){case"pmatrix":case"pmatrix*":b="(",E=")";break;case"bmatrix":case"bmatrix*":b="[",E="]";break;case"Bmatrix":case"Bmatrix*":b="\\lbrace",E="\\rbrace";break;case"vmatrix":case"vmatrix*":b="\\vert",E="\\vert";break;case"Vmatrix":case"Vmatrix*":b="\\Vert",E="\\Vert";break;case"matrix":case"matrix*":b=".",E=".";break;case"cases":case"dcases":b="\\lbrace";break;case"rcases":E="\\rbrace";break}const ee=a.at(a.position),re=ee.type==="array"?ee:a.parentEnvironment;return re.environmentName=y,re.leftDelim=b,re.rightDelim=E,a.contentDidChange({}),!0}function I0(a,y){let b=a.at(a.position);for(;b&&!(Array.isArray(b.parentBranch)&&b.parent instanceof la);)b=b.parent;if(Array.isArray(b==null?void 0:b.parentBranch)&&(b==null?void 0:b.parent)instanceof la){const E=b.parent,ee=b.parentBranch;let re;switch(y){case"row":if(E.rowCount>1){E.removeRow(ee[0]);const oe=E.getCell(Math.max(0,ee[0]-1),ee[1]);re=a.offsetOf(oe[oe.length-1])}break;case"column":if(E.colCount>E.minColumns){E.removeColumn(ee[1]);const oe=E.getCell(ee[0],Math.max(0,ee[1]-1));re=a.offsetOf(oe[oe.length-1])}break}re&&a.setPositionHandlingPlaceholder(re)}}function Tg(a){return a.contentWillChange({inputType:"deleteContent"})?(I0(a,"row"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}function Rg(a){return a.contentWillChange({inputType:"deleteContent"})?(I0(a,"column"),a.contentDidChange({inputType:"deleteContent"}),!0):!1}Kl({addRowAfter:L0,addColumnAfter:P0,addRowBefore:Ig,addColumnBefore:Og,removeRow:Tg,removeColumn:Rg,setEnvironment:F0},{target:"model",canUndo:!0,changeContent:!0,changeSelection:!0});function Gf(){return[new Wi]}var O0=class nm{constructor(y){this.recording=!1,this.model=y,this.reset()}reset(){this.stack=[],this.index=-1,this.lastOp=""}startRecording(){this.recording=!0}stopRecording(){this.recording=!1}canUndo(){return this.index-1>=0}canRedo(){return this.stack.length-1>this.index}stopCoalescing(y){y&&this.index>=0&&(this.stack[this.index].selection=y),this.lastOp=""}undo(){return this.canUndo()?(this.model.setState(this.stack[this.index-1],{silenceNotifications:!1,type:"undo"}),this.index-=1,this.lastOp="",!0):!1}redo(){return this.canRedo()?(this.index+=1,this.model.setState(this.stack[this.index],{silenceNotifications:!1,type:"redo"}),this.lastOp="",!0):!1}pop(){this.canUndo()&&(this.stack.splice(this.index,this.stack.length-this.index),this.index-=1)}snapshot(y){return this.recording?(y&&y===this.lastOp&&this.pop(),this.stack.splice(this.index+1,this.stack.length-this.index-1),this.stack.push(this.model.getState()),this.index+=1,this.stack.length>nm.maximumDepth&&(this.stack.shift(),this.index-=1),this.lastOp=y!=null?y:"",!0):!1}};O0.maximumDepth=1e3;var Ng=O0;function kh(a,y,b){if(a.at(y).mode!=="text")return y;const E=b==="backward"?-1:1;let ee;if(he.test(a.at(y).value)){let re=y,oe;do oe=a.at(re).mode==="text"&&he.test(a.at(re).value),re+=E;while(a.at(re)&&oe);ee=a.at(re)?re-2*E:re-E}else if(/\s/.test(a.at(y).value)){let re=y;for(;a.at(re)&&a.at(re).mode==="text"&&/\s/.test(a.at(re).value);)re+=E;if(!a.at(re))ee=re-E;else{let oe=!0;do oe=a.at(re).mode==="text"&&!/\s/.test(a.at(re).value),re+=E;while(a.at(re)&&oe);ee=a.at(re)?re-2*E:re-E}}else{let re=y;for(;a.at(re)&&a.at(re).mode==="text"&&!/\s/.test(a.at(re).value);)re+=E;ee=a.at(re)?re:re-E;let oe=!0;for(;a.at(re)&&oe;)oe=a.at(re).mode==="text"&&/\s/.test(a.at(re).value),oe&&(ee=re),re+=E;ee=a.at(re)?re-2*E:re-E}return ee-(E>0?0:1)}function Ld(a,y,b){var E,ee,re,oe,me,ge,we;const Me=a.position;(E=b==null?void 0:b.extend)!=null&&E||a.collapseSelection(y);let Je=a.at(a.position);if(y==="forward"&&(Je.type==="subsup"?(Je=Je.rightSibling,Je||(Je=a.at(a.position+1))):Je=a.at(a.position+1)),!Je)return a.announce("plonk"),!1;let mt=a.offsetOf(Je);if(Je instanceof Yl)mt=kh(a,mt,y);else if(Je instanceof Xs)if(Je.isSuggestion)for(console.assert(y==="forward");Je&&Je instanceof Xs;)Je.isSuggestion=!1,mt=a.offsetOf(Je),Je=Je.rightSibling;else if(y==="forward"){if(Je=Je.rightSibling,!Je||!(Je instanceof Xs))return a.announce("plonk"),!1;for(;Je&&Je instanceof Xs&&/[a-zA-Z\*]/.test(Je.value);)mt=a.offsetOf(Je),Je=Je.rightSibling}else{if(Je=Je.leftSibling,!Je||!(Je instanceof Xs))return a.announce("plonk"),!1;for(;Je&&Je instanceof Xs&&/[a-zA-Z\*]/.test(Je.value);)mt=a.offsetOf(Je),Je=Je.leftSibling}else if(y==="forward"&&Je.type==="mopen"){let It=0;do Je.type==="mopen"?It+=1:Je.type==="mclose"&&(It-=1),Je=Je.rightSibling;while(!Je.isLastSibling&&It!==0);mt=a.offsetOf(Je.leftSibling)}else if(y==="backward"&&Je.type==="mclose"){let It=0;do Je.type==="mopen"?It+=1:Je.type==="mclose"&&(It-=1),Je=Je.leftSibling;while(!Je.isFirstSibling&&It!==0);mt=a.offsetOf(Je)}else if(y==="backward")if(Je.type==="first")for(;mt>0&&Je.type==="first";)mt-=1,Je=a.at(mt);else{const It=Je.type;Je.type==="subsup"&&(mt=a.offsetOf(a.at(mt).leftSibling)),mt-=1;let _t=(ee=a.at(mt))==null?void 0:ee.type;for(;mt>=0&&_t===It;)((re=a.at(mt))==null?void 0:re.type)==="subsup"?mt=a.offsetOf(a.at(mt).leftSibling):mt-=1,_t=a.at(mt).type}else{const{type:It}=Je;let _t=(oe=a.at(mt))==null?void 0:oe.type;const{lastOffset:Wn}=a;for(;mt<=Wn&&(_t===It||_t==="subsup");){for(;((me=a.at(mt).rightSibling)==null?void 0:me.type)==="subsup";)mt=a.offsetOf(a.at(mt).rightSibling);mt+=1,_t=(ge=a.at(mt))==null?void 0:ge.type}mt-=1}if((we=b==null?void 0:b.extend)!=null&&we){if(!a.setSelection(a.anchor,mt))return a.announce("plonk"),!1}else{if(mt===a.position)return a.announce("plonk"),!1;a.position=mt}return a.announce("move",Me),a.mathfield.stopCoalescingUndo(),!0}function Xu(a,y,b){var E,ee;if(b=b!=null?b:{extend:!1},a.mathfield.adoptStyle=y==="backward"?"right":"left",y!=="forward"){const[me,ge]=g0(a);me!==void 0&&ge!==void 0&&a.deleteAtoms([me,ge])}if(y==="upward")return Hg(a,b);if(y==="downward")return Kg(a,b);if(b.extend){let me=Uf(a,a.position,y);me<0&&(me=0),me>a.lastOffset&&(me=a.lastOffset);const ge=a.setSelection(a.anchor,me);return a.mathfield.stopCoalescingUndo(),ge}if(a.selectionIsPlaceholder){a.collapseSelection(y);const me=Xu(a,y);return a.mathfield.stopCoalescingUndo(),me}let re=a.position;const oe=re;if(a.collapseSelection(y)?(re=a.position,T0(a,re)||(re=Uf(a,re,y))):re=Uf(a,re,y),re<0||re>a.lastOffset){let me=!0;return a.silenceNotifications||(me=(ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0),me&&a.announce("plonk"),me}return a.setPositionHandlingPlaceholder(re),a.mathfield.stopCoalescingUndo(),a.announce("move",oe),!0}function Uf(a,y,b){return y=y+(b==="forward"?1:-1),y<0||y>a.lastOffset||T0(a,y)?y:Uf(a,y,b)}function T0(a,y){var b;const E=a.at(y);let ee=E.parent;for(;ee&&!ee.inCaptureSelection;)ee=ee.parent;return!(ee!=null&&ee.inCaptureSelection||(b=E.parent)!=null&&b.skipBoundary&&(!E.isFirstSibling&&E.isLastSibling||E.type==="first")||a.mathfield.hasEditablePrompts&&!E.parentPrompt)}function zg(a,y,b){let E=1/0,ee=0;for(;ee<y.length;ee++){const re=bd(a.getHTMLElement(y[ee])).right,oe=Math.abs(b-re);if(oe<=E)E=oe;else break}return y[ee-1]}function Yf(a,y,b,E,ee){const re=a.mathfield.hasEditablePrompts,oe=re?b.filter(we=>we.type==="prompt"&&!we.captureSelection):b,me=bd(a.mathfield.getHTMLElement(y)).right,ge=a.offsetOf(zg(a.mathfield,oe,me))-(re?1:0);if(E){const[we,Me]=a.selection.ranges[0];let Je;ge<(ee==="up"?we:Me)?Je={ranges:[[ge,Me]],direction:"backward"}:Je={ranges:[[we,ge]],direction:"forward"},a.setSelection(Je)}else a.setPositionHandlingPlaceholder(ge);a.announce(`move ${ee}`)}function Hg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("backward");const re=()=>{var ge,we;let Me=!0;return a.silenceNotifications||(Me=(we=(ge=a.mathfield.host)==null?void 0:ge.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"upward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?we:!0),a.announce(Me?"plonk":"line"),Me},oe=a.at(a.position);let me=oe;for(;me&&me.parentBranch!=="below"&&!(Array.isArray(me.parentBranch)&&me.parent instanceof la);)me=me.parent;if(Array.isArray(me==null?void 0:me.parentBranch)&&me.parent instanceof la){const ge=me.parent;if(me.parentBranch[0]<1)return re();const we=me.parentBranch[0]-1,Me=ge.array[we][me.parentBranch[1]];if(!Me.some(mt=>mt.type==="prompt"&&!mt.captureSelection)&&a.mathfield.hasEditablePrompts)return re();Yf(a,oe,Me,ee,"up")}else if(me){const ge=(E=me.parent.branch("above"))!=null?E:me.parent.createBranch("above");if(!ge.some(Me=>Me.type==="prompt"&&Me.placeholderId)&&a.mathfield.hasEditablePrompts)return re();Yf(a,oe,ge,ee,"up")}else return re();return a.mathfield.stopCoalescingUndo(),!0}function Kg(a,y){var b,E;const ee=(b=y==null?void 0:y.extend)!=null?b:!1;ee||a.collapseSelection("forward");const re=()=>{var ge,we;let Me=!0;return a.silenceNotifications||(Me=(we=(ge=a.mathfield.host)==null?void 0:ge.dispatchEvent(new CustomEvent("move-out",{detail:{direction:"downward"},cancelable:!0,bubbles:!0,composed:!0})))!=null?we:!0),a.announce(Me?"plonk":"line"),Me},oe=a.at(a.position);let me=oe;for(;me&&me.parentBranch!=="above"&&!(Array.isArray(me.parentBranch)&&me.parent instanceof la);)me=me.parent;if(Array.isArray(me==null?void 0:me.parentBranch)&&me.parent instanceof la){const ge=me.parent;if(me.parentBranch[0]+1>ge.array.length-1)return re();const we=me.parentBranch[0]+1,Me=ge.array[we][me.parentBranch[1]];if(!Me.some(mt=>mt.type==="prompt"&&!mt.captureSelection)&&a.mathfield.hasEditablePrompts)return re();Yf(a,oe,Me,ee,"down")}else if(me){const ge=(E=me.parent.branch("below"))!=null?E:me.parent.createBranch("below");if(!ge.some(Me=>Me.type==="prompt")&&a.mathfield.hasEditablePrompts)return re();Yf(a,oe,ge,ee,"down")}else return re();return!0}function R0(a){const y=a.position,b=a.at(y).parent;return b!=null&&b.parent?(a.position=a.offsetOf(b),a.mathfield.stopCoalescingUndo(),a.announce("move",y),!0):(a.announce("plonk"),!1)}function Wg(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!1):E=!0,b=b.parent;return E?y:0}function Zg(a){let y=0,b=a.at(a.position),E=!1;for(;b;)(!b.hasEmptyBranch("superscript")||!b.hasEmptyBranch("subscript"))&&(y+=1),b.hasEmptyBranch("superscript")?b.hasEmptyBranch("subscript")||(E=!0):E=!1,b=b.parent;return E?y:0}function N0(a){var y;if(a.collapseSelection(),Wg(a)>=a.mathfield.options.scriptDepth[1])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=b.rightSibling)==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new yu({style:b.computedStyle}),b),b=b.rightSibling),b.createBranch("superscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.superscript[0]))),!0}function z0(a){var y;if(a.collapseSelection(),Zg(a)>=a.mathfield.options.scriptDepth[0])return a.announce("plonk"),!1;let b=a.at(a.position);return b.subsupPlacement===void 0&&(((y=a.at(a.position+1))==null?void 0:y.type)!=="subsup"&&b.parent.addChildAfter(new yu({style:a.at(a.position).computedStyle}),b),b=a.at(a.position+1)),b.createBranch("subscript"),a.setSelection(a.getSiblingsRange(a.offsetOf(b.subscript[0]))),!0}function jg(){function a(ge){const we=[],Me=[];return[...ge.querySelectorAll(`input, select, textarea, a[href], button,
|
|
|
[tabindex], audio[controls], video[controls],
|
|
|
[contenteditable]:not([contenteditable="false"]), details>summary`)].filter(y).forEach((mt,It)=>{const _t=E(mt);_t===0?we.push(mt):Me.push({documentOrder:It,tabIndex:_t,node:mt})}),Me.sort((mt,It)=>mt.tabIndex===It.tabIndex?mt.documentOrder-It.documentOrder:mt.tabIndex-It.tabIndex).map(mt=>mt.node).concat(we)}function y(ge){return!(!b(ge)||ee(ge)||E(ge)<0)}function b(ge){return!(ge.disabled||ge.type==="hidden"&&ge.tagName.toUpperCase()==="INPUT"||me(ge))}function E(ge){var we;const Me=Number.parseInt((we=ge.getAttribute("tabindex"))!=null?we:"NaN",10);return Number.isNaN(Me)?ge.contentEditable==="true"||(ge.nodeName==="AUDIO"||ge.nodeName==="VIDEO")&&ge.getAttribute("tabindex")===null?0:ge.tabIndex:Me}function ee(ge){return ge.tagName.toUpperCase()==="INPUT"&&ge.type==="radio"&&!oe(ge)}function re(ge,we){for(const Me of ge)if(Me.checked&&Me.form===we)return Me;return null}function oe(ge){var we;if(!ge.name)return!0;const Je=((we=ge.form)!=null?we:ge.ownerDocument).querySelectorAll('input[type="radio"][name="'+ge.name+'"]'),mt=re(Je,ge.form);return!mt||mt===ge}function me(ge){if(!dt()||ge===document.activeElement||ge.contains(document.activeElement))return!1;if(getComputedStyle(ge).visibility==="hidden")return!0;const we=ge.getBoundingClientRect();if(we.width===0||we.height===0)return!0;for(;ge;){if(getComputedStyle(ge).display==="none")return!0;ge=ge.parentElement}return!1}return dt()?a(document.body):[]}function bl(a,y,b="forward"){const E=a.position;if(Array.isArray(y)){const ee=a.offsetOf(y[0]),re=a.offsetOf(y[y.length-1]);return b==="forward"?a.setSelection(ee,re):a.setSelection(re,ee),a.announce("move",E),a.mathfield.stopCoalescingUndo(),!0}return b==="forward"?bl(a,[y.leftSibling,y]):bl(a,[y,y.leftSibling])}function Iu(a,y){const b=a.position;if(typeof y=="number"&&(y=a.at(y)),y.type==="prompt")a.setSelection(a.offsetOf(y.firstChild),a.offsetOf(y.lastChild));else{const E=a.offsetOf(y);y.type==="placeholder"?a.setSelection(E-1,E):a.position=E}return a.announce("move",b),a.mathfield.stopCoalescingUndo(),!0}function Qf(a,y,b=!0){var E,ee;const re=y==="forward"?1:-1;a.at(a.anchor).type==="placeholder"&&Xu(a,y);let oe;const me=a.at(a.anchor).parentPrompt;me?y==="forward"?oe=a.offsetOf(me)+1:oe=a.offsetOf(me.leftSibling):oe=Math.max(a.position+re,0);const ge=Dh(a,oe,y);if(!ge||y==="forward"&&a.offsetOf(ge)<oe||y==="backward"&&a.offsetOf(ge)>oe){if(!b||!((ee=(E=a.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("move-out",{detail:{direction:y},cancelable:!0,bubbles:!0,composed:!0})))==null||ee))return a.announce("plonk"),!1;const Me=jg();if(!document.activeElement||Me.length<=1)return a.announce("plonk"),!1;let Je=Me.indexOf(document.activeElement)+re;return Je<0&&(Je=Me.length-1),Je>=Me.length&&(Je=0),Me[Je].focus(),a.mathfield.stopCoalescingUndo(),!0}return Iu(a,ge),!0}function Dh(a,y=0,b="forward"){return a.findAtom(E=>E.type==="placeholder"||E.type==="prompt"||!a.mathfield.readOnly&&E.treeDepth>2&&E.isFirstSibling&&E.isLastSibling,y,b)}Kl({moveToOpposite:a=>{const y={superscript:"subscript",subscript:"superscript",above:"below",below:"above"},b=a.at(a.position),{parent:E}=b;if(!E)return a.announce("plonk"),!1;const ee=b.parentBranch;let re;if(typeof ee=="string"&&(re=y[ee]),!re){const me=b.subsupPlacement?z0(a):N0(a);return a.mathfield.stopCoalescingUndo(),me}E.branch(re)||E.createBranch(re);const oe=a.setSelection(a.getBranchRange(a.offsetOf(E),re));return a.mathfield.stopCoalescingUndo(),oe},moveBeforeParent:a=>{const{parent:y}=a.at(a.position);return y?(a.position=a.offsetOf(y),a.mathfield.stopCoalescingUndo(),!0):(a.announce("plonk"),!1)},moveAfterParent:a=>R0(a),moveToNextChar:a=>Xu(a,"forward"),moveToPreviousChar:a=>Xu(a,"backward"),moveUp:a=>Xu(a,"upward"),moveDown:a=>Xu(a,"downward"),moveToNextWord:a=>Ld(a,"forward"),moveToPreviousWord:a=>Ld(a,"backward"),moveToGroupStart:a=>{const y=a.offsetOf(a.at(a.position).firstSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToGroupEnd:a=>{const y=a.offsetOf(a.at(a.position).lastSibling);return y===a.position?(a.announce("plonk"),!1):(a.position=y,a.mathfield.stopCoalescingUndo(),!0)},moveToNextGroup:a=>{var y,b,E,ee;if(a.position===a.lastOffset&&a.anchor===a.lastOffset)return Qf(a,"forward");const re=a.at(a.position);if(re.mode==="text"){if(a.selectionIsCollapsed){let mt=re;for(;mt&&mt.mode==="text";)mt=mt.leftSibling;let It=re;for(;((y=It.rightSibling)==null?void 0:y.mode)==="text";)It=It.rightSibling;if(mt&&It)return bl(a,[mt,It])}if(re.rightSibling.mode==="text"){let mt=re;for(;mt&&mt.mode==="text";)mt=mt.rightSibling;return mt?(Iu(a,(b=mt.leftSibling)!=null?b:mt),a.mathfield.switchMode("math"),!0):Iu(a,a.lastOffset)}}const me=a.at(a.anchor).parentPrompt,ge=me?a.offsetOf(me)+1:Math.max(a.position+1,0),we=Dh(a,ge,"forward");if(we)return Iu(a,we);const Me=H0(a,re,mt=>mt.type==="leftright"||mt.type==="text","forward");if(Me){if(Me.mode==="text"){let mt=Me;for(;mt&&mt.mode==="text";)mt=mt.rightSibling;return bl(a,[(E=Me.leftSibling)!=null?E:Me,(ee=mt.leftSibling)!=null?ee:mt])}return bl(a,Me)}const Je=re.parent;if(Je){if(Je.type==="leftright"||Je.type==="surd")return bl(a,Je);if(re.parentBranch==="superscript"&&Je.subscript)return bl(a,Je.subscript);if(re.parentBranch==="above"&&Je.below)return bl(a,Je.below);if(re.parentBranch==="superscript"||re.parentBranch==="subscript")return Iu(a,Je);if(re.parentBranch==="above"||re.parentBranch==="below")return bl(a,Je)}return Iu(a,a.lastOffset)},moveToPreviousGroup:a=>{var y;if(a.position===0&&a.anchor===0)return Qf(a,"backward");let b=a.at(a.position);const E=b.mode;if(E==="text"){if(a.selectionIsCollapsed){let me=b;for(;me&&me.mode==="text";)me=me.leftSibling;let ge=b;for(;((y=ge.rightSibling)==null?void 0:y.mode)==="text";)ge=ge.rightSibling;if(me&&ge)return bl(a,[me,ge])}for(;b&&b.mode==="text";)b=b.leftSibling;return b?Iu(a,b):Iu(a,0)}const ee=a.at(a.anchor).parentPrompt,re=ee?a.offsetOf(ee.leftSibling):Math.max(a.position-1,0),oe=Dh(a,re,"backward");if(oe)return Iu(a,oe);if(E==="math"){const me=H0(a,b,we=>we.type==="leftright"||we.type==="text","backward");if(me){if(me.mode==="text"){let we=me;for(;we&&we.mode==="text";)we=we.leftSibling;return bl(a,[me,we])}return bl(a,me)}const ge=b.parent;if(ge){if(ge.type==="leftright"||ge.type==="surd")return bl(a,ge);if(b.parentBranch==="subscript"&&ge.superscript)return bl(a,ge.superscript);if(b.parentBranch==="below"&&ge.above)return bl(a,ge.above);if(b.parentBranch==="superscript"||b.parentBranch==="subscript")return Iu(a,ge);if(b.parentBranch==="above"||b.parentBranch==="below")return bl(a,ge)}return Iu(a,0)}return!1},moveToMathfieldStart:a=>a.selectionIsCollapsed&&a.position===0?(a.announce("plonk"),!1):(a.position=0,a.mathfield.stopCoalescingUndo(),!0),moveToMathfieldEnd:a=>a.selectionIsCollapsed&&a.position===a.lastOffset?(a.announce("plonk"),!1):(a.position=a.lastOffset,a.mathfield.stopCoalescingUndo(),!0),moveToSuperscript:N0,moveToSubscript:z0},{target:"model",changeSelection:!0}),Kl({moveToNextPlaceholder:a=>Qf(a,"forward"),moveToPreviousPlaceholder:a=>Qf(a,"backward")},{target:"model",changeSelection:!0,audioFeedback:"return"});function H0(a,y,b,E){if(E==="forward"){let re=y.rightSibling;for(;re&&!b(re);)re=re.rightSibling;return re}let ee=y.leftSibling;for(;ee&&!b(ee);)ee=ee.leftSibling;return ee}function Xf(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1,re="";for(;!ee;){const oe=a.at(E);ee=y===0||oe===void 0||oe.type==="first"||oe.mode!=="math"||!(oe.type&&/mord|mpunct|operator/.test(oe.type)||oe.type==="mop"&&/[a-zA-Z ]+/.test(oe.value))||!oe.hasEmptyBranch("superscript")||!oe.hasEmptyBranch("subscript")||typeof b=="function"&&!b(oe),ee||(oe.mode="text",oe.command=oe.value,oe.verbatimLatex=void 0,re+=oe.value),E-=1,y-=1}a.contentDidChange({data:re,inputType:"insertText"})}function ud(a,y,b){typeof y=="function"&&(b=y,y=1/0),y===void 0&&(y=1/0);let E=a.position,ee=!1;const re=[];for(;!ee;){const oe=a.at(E);ee=y===0||!oe||oe.type==="first"||oe.isFirstSibling||oe.mode!=="text"||oe.value===" "||typeof b=="function"&&!b(oe),ee||(re.push(ar.serialize([oe],{defaultMode:"math"})),oe.mode="math"),E-=1,y-=1}Bh(a),a.contentDidChange({data:wa(re),inputType:"insertText"})}function Bh(a){var y;let b=a.position-1;for(;b>=0&&((y=a.at(b))==null?void 0:y.mode)==="math";)b-=1;if(!(b<0)&&a.at(b).mode==="text"&&a.at(b).value===" "&&a.at(b-1).mode==="math"){a.at(b-1).parent.removeChild(a.at(b-1));const E=a.silenceNotifications;a.silenceNotifications=!0,a.position-=1,a.silenceNotifications=E,a.contentDidChange({inputType:"deleteContent"})}}function Vg(a){let y="",b=a.position,E=!1;for(;!E;){const ee=a.at(b);E=!(ee&&(ee.mode==="text"||ee.mode==="math"&&ee.type&&/mord|mpunct/.test(ee.type))),E||(y=ee.value+y),b-=1}return y}function _g(a,y,b){const{model:E}=a;if(E.mode==="latex"||!E.at(E.position).isLastSibling||!b||!Lf(b))return!1;const ee=Ed(b);if(!E.selectionIsCollapsed)return!!(a.model.mode==="text"&&/[/_^]/.test(ee));const re=Vg(E)+ee;if(a.model.mode==="text"){if(y==="Esc"||/[/\\]/.test(ee))return!0;if(/[\^_]/.test(ee))return/(^|\s)[a-zA-Z][^_]$/.test(re)&&ud(E,1),!0;const oe={")":"(","}":"{","]":"["}[ee],{parent:me}=E.at(E.position);if(oe&&me instanceof Xa&&me.leftDelim===oe)return!0;if(/(^|[^a-zA-Z])(a|I) $/.test(re))return!1;if(/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(ee))return!0;if(/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(re))return ud(E,1),!1;if(/\D\.[^\d\s]$/.test(re)){ud(E,1);const ge=E.at(E.position);return ge.value="\u22C5",ge.style.variant="normal",ge.command="\\cdot",ge.verbatimLatex=void 0,E.contentDidChange({data:"\\cdot",inputType:"insertText"}),!0}if(/(^|\s)[a-zA-Z][^a-zA-Z]$/.test(re)||/\.\d$/.test(re)||/\([\d+\-.]$/.test(re))return ud(E,1),!0;if(/\([a-z][,;]$/.test(re))return ud(E,2),!0;if(/[\d+\-=><*|]$/.test(ee))return Bh(E),!0}else{if(y==="[Space]")return Xf(E,void 0,oe=>/[a-z][:,;.]$/.test(oe.value)),!0;if(/[a-zA-Z]{3,}$/.test(re)&&!/(dxd|abc|xyz|uvw)$/.test(re))return Xf(E,void 0,oe=>/[a-zA-Z]/.test(oe.value)),!0;if(/(^|\W)(if)$/i.test(re))return Xf(E,1),!0;if(/(\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5){3,}$/u.test(re)&&!/(αβγ)$/.test(re))return Xf(E,void 0,oe=>/(:|,|;|.|\u0393|\u0394|\u0398|\u039B|\u039E|\u03A0|\u03A3|\u03A5|\u03A6|\u03A8|\u03A9|[\u03B1-\u03C9]|\u03D1|\u03D5|\u03D6|\u03F1|\u03F5)/u.test(oe.value)),!0;if(ee==="?"||ee==="."&&!/[\d-+]\.$/.test(re))return!0}return!1}function Gg(a,y){if(!a.isSelectionEditable||!a.keystrokeCaptionVisible)return;const b=K0(),E=a.element.getBoundingClientRect();b.style.left=`${E.left}px`,b.style.top=`${E.top-64}px`,b.innerHTML=window.MathfieldElement.createHTML("<span>"+(vh(y)||y)+"</span>"+b.innerHTML),b.style.visibility="visible",setTimeout(()=>{b.childNodes.length>0&&b.childNodes[b.childNodes.length-1].remove(),b.childNodes.length===0&&(b.style.visibility="hidden")},3e3)}function Ug(a){if(a.keystrokeCaptionVisible=!a.keystrokeCaptionVisible,a.keystrokeCaptionVisible){const y=K0();y.innerHTML=""}else{const y=If("mathlive-keystroke-caption-panel");y.style.visibility="hidden"}return!1}function K0(){const a=document.getElementById("mathlive-keystroke-caption-panel");return a||(Hl("keystroke-caption"),Hl("core"),If("mathlive-keystroke-caption-panel"))}function Yg(){document.getElementById("mathlive-keystroke-caption-panel")&&(bh("mathlive-keystroke-caption-panel"),x("core"),x("keystroke-caption"))}function W0(a,y){var b,E,ee;const{model:re}=a,oe=p0(y);if(y.isTrusted){Nm(y);const It=of();a.keyboardLayout!==It.id&&(a.keyboardLayout=It.id,a._keybindings=void 0)}if(clearTimeout(a.inlineShortcutBufferFlushTimer),a.inlineShortcutBufferFlushTimer=0,Gg(a,oe),y.isTrusted&&y.defaultPrevented)return a.flushInlineShortcutBuffer(),!1;let me,ge="",we;const Me=a.inlineShortcutBuffer;if(a.isSelectionEditable){if(re.mode==="math")if(oe==="[Backspace]")Me.pop();else if(!Lf(y))a.flushInlineShortcutBuffer();else{const It=Ed(y),_t=[...(E=(b=Me[Me.length-1])==null?void 0:b.keystrokes)!=null?E:[],It];Me.push({state:re.getState(),keystrokes:_t,leftSiblings:Qg(a)});let Wn=0,Yr="";for(;!me&&Wn<_t.length;)we=Me.length-(_t.length-Wn),Yr=_t.slice(Wn).join(""),me=$c(Me[we].leftSiblings,Yr,a.options.inlineShortcuts),!me&&/^[a-zA-Z][a-zA-Z0-9]+?([_\^][a-zA-Z0-9\*\+\-]+?)?$/.test(Yr)&&(me=a.options.onInlineShortcut(a,Yr)),Wn+=1;a.flushInlineShortcutBuffer({defer:!0})}a.options.smartMode&&(me?a.switchMode("math"):_g(a,oe,y)&&(a.switchMode({math:"text",text:"math"}[re.mode]),ge=""))}if(!me){if(ge||(ge=Vm(a.keybindings,re.mode,y)),!ge&&(oe==="[Enter]"||oe==="[Return]")){let It=!1;return re.contentWillChange({inputType:"insertLineBreak"})&&(a.host&&(It=!a.host.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),It||y.preventDefault&&(y.preventDefault(),y.stopPropagation()),re.contentDidChange({inputType:"insertLineBreak"})),It}if((!ge||oe==="[Space]")&&re.mode==="math"){if(oe==="[Space]"){if(a.adoptStyle="none",a.flushInlineShortcutBuffer(),a.options.mathModeSpace)return ra.insert(re,a.options.mathModeSpace,{format:"latex",mode:"math"}),a.snapshot("insert-space"),ge="",a.dirty=!0,a.scrollIntoView(),y.preventDefault&&(y.preventDefault(),y.stopPropagation()),!1;const It=re.at(re.position+1),_t=re.at(re.position-1);if((It==null?void 0:It.mode)==="text"||(_t==null?void 0:_t.mode)==="text")return ra.insert(re," ",{mode:"text"}),a.snapshot("insert-space"),a.dirty=!0,a.scrollIntoView(),!1}(ee=re.at(re.position))!=null&&ee.isDigit()&&window.MathfieldElement.decimalSeparator===","&&Ed(y)===","&&(ge="insertDecimalSeparator")}}if(!me&&!ge){if(re.mathfield.smartFence){if(Ph(re,Ed(y),a.effectiveStyle))return a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}else{const{parent:It}=re.at(re.position);if(It instanceof Xa&&It.rightDelim==="?"&&re.at(re.position).isLastSibling&&/^[)}\]|]$/.test(oe))return a.snapshot(),It.isDirty=!0,It.rightDelim=oe,re.position+=1,re.selectionDidChange(),re.contentDidChange({data:Ed(y),inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1;if(!re.selectionIsCollapsed){const _t=Ed(y);if(_t==="("||_t==="{"||_t==="["){const Wn={"(":"(","{":"\\lbrace","[":"\\lbrack"}[_t],Yr={"(":")","{":"\\rbrace","[":"\\rbrack"}[_t],[zn,hr]=As(re.selection);return a.snapshot(),re.position=hr,ra.insert(re,Yr,{format:"latex"}),re.position=zn,ra.insert(re,Wn,{format:"latex"}),re.setSelection(zn+1,hr+1),re.contentDidChange({data:_t,inputType:"insertText"}),a.snapshot("insert-fence"),a.dirty=!0,a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}}}return!0}const Je=re.at(Math.max(re.position,re.anchor)),{parent:mt}=Je;if(ge==="moveAfterParent"&&(mt==null?void 0:mt.type)==="leftright"&&Je.isLastSibling&&a.options.smartFence&&Ph(re,".",a.defaultStyle)&&(ge="",Jo(a)),a.keyboardDelegate.cancelComposition(),ge)a.executeCommand(ge);else if(me){const It=a.effectiveStyle;re.setState(Me[we].state);const _t=Me[Me.length-1].keystrokes;for(const Wn of _t)ra.insert(re,Wn,{silenceNotifications:!0,style:It});a.snapshot("insert-shortcut"),re.setState(Me[we].state),re.deferNotifications({content:!0,selection:!0,data:me,type:"insertText"},()=>(ra.insert(re,me,{format:"latex",style:It}),Bh(a.model),me.endsWith(" ")&&(a.switchMode("text"),ra.insert(re," ",{style:It,mode:"text"})),a.snapshot(),re.selectionIsCollapsed||a.flushInlineShortcutBuffer(),!0)),a.dirty=!0,re.announce("replacement")}return a.scrollIntoView(),y.preventDefault&&y.preventDefault(),!1}function Lh(a,y,b){const{model:E}=a;if(!a.isSelectionEditable){E.announce("plonk");return}b!=null||(b={}),b.focus&&a.focus(),b.feedback&&window.MathfieldElement.playSound("keypress"),typeof b.mode=="string"&&(a.switchMode(b.mode),a.snapshot());let ee=jc(y);const re=window.mathVirtualKeyboard;if(re!=null&&re.isShifted&&(ee=typeof ee=="string"?ee.toUpperCase():ee.map(ge=>ge.toUpperCase())),b.simulateKeystroke){let ge=!0;for(const we of ee)W0(a,new KeyboardEvent("keypress",{key:we}))&&(ge=!1);if(ge)return}const oe=E.at(E.position),me=xe(xe({},oe.computedStyle),a.defaultStyle);if(E.selectionIsCollapsed||(E.deleteAtoms(As(E.selection)),a.snapshot("delete")),E.mode==="latex")E.deferNotifications({content:!0,selection:!0,data:y,type:"insertText"},()=>{Ff(a);for(const ge of ee)ra.insert(E,ge);a.snapshot("insert-latex"),lf(a)});else if(E.mode==="text"){for(const ge of ee)ra.insert(E,ge,{style:me});a.snapshot("insert-text")}else if(E.mode==="math")for(const ge of ee)Xg(a,ge,me,oe);a.dirty=!0,a.scrollIntoView()}function Qg(a){const y=a.model,b=[];let E=y.at(Math.min(y.position,y.anchor));for(;E.type!=="first";)b.push(E),E=E.leftSibling;return b}function Xg(a,y,b,E){const ee=a.model;let re={"^":"moveToSuperscript",_:"moveToSubscript"," ":"moveAfterParent"}[y];if(y===" "&&a.options.mathModeSpace&&(re=["insert",a.options.mathModeSpace]),re){a.executeCommand(re);return}if(/\d/.test(y)&&a.options.smartSuperscript&&E.parentBranch==="superscript"&&E.parent.type!=="mop"&&E.parent.type!=="operator"&&E.parent.type!=="extensible-symbol"&&E.hasNoSiblings){Jg(ee),ra.insert(ee,y,{style:b}),a.snapshot(),R0(ee),a.snapshot();return}if(/[a-zA-Z0-9]/.test(y)&&a.adoptStyle!=="none"){const oe=a.adoptStyle==="left"?E:E.parent?E.rightSibling:null;(oe==null?void 0:oe.type)==="mord"&&/[a-zA-Z0-9]/.test(oe.value)&&(b=xe({},b),oe.style.variant&&(b.variant=oe.style.variant),oe.style.variantStyle&&(b.variantStyle=oe.style.variantStyle))}ra.insert(ee,y,{style:b}),a.snapshot(`insert-${ee.at(ee.position).type}`)}function Jg(a){a.selectionIsCollapsed||(a.deleteAtoms(As(a.selection)),a.mathfield.snapshot("delete"))}function Ph(a,y,b){if(!y||a.mode!=="math")return!1;const E=a.at(a.position),{parent:ee}=E,re={"(":"(",")":")","{":"\\lbrace","}":"\\rbrace","[":"\\lbrack","]":"\\rbrack","|":"|"}[y];if(!re)return!1;const oe=te[re],me=ne[re];if(!a.selectionIsCollapsed){a.mathfield.snapshot();const[ge,we]=As(a.selection),Me=a.extractAtoms([ge,we]),Je=ee.addChildrenAfter([new Xa("left...right",Me,{leftDelim:re,rightDelim:me})],a.at(ge));return a.setSelection(a.offsetOf(Je.firstChild),a.offsetOf(Je.lastChild)),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:re,inputType:"insertText"}),!0}if(re==="|"){const ge=ee instanceof Xa?ee.leftDelim+ee.rightDelim:"";if(ge==="\\lbrace\\rbrace"||ge==="\\{\\}"||ge==="\\lbrace?")return a.mathfield.snapshot(),ra.insert(a,"\\,\\middle\\vert\\,",{format:"latex",style:b}),a.mathfield.snapshot("insert-fence"),a.contentDidChange({data:re,inputType:"insertText"}),!0}if(me){if(ee instanceof Xa&&ee.firstChild===E&&(ee.leftDelim==="?"||ee.leftDelim==="."))return ee.leftDelim=re,ee.isDirty=!0,a.mathfield.snapshot(),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(!(ee instanceof Xa)){let Je=E;for(;Je&&!(Je.type==="mclose"&&Je.value===me);)Je=Je.rightSibling;if(Je){a.mathfield.snapshot();const mt=a.extractAtoms([a.offsetOf(E),a.offsetOf(Je)]);return mt.pop(),ee.addChildrenAfter([new Xa("left...right",mt,{leftDelim:re,rightDelim:me})],E),a.position=a.offsetOf(ee.firstChild)+1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}}const ge=a.offsetOf(E.lastSibling);let we;for(we=a.position;we<=ge;we++){const Je=a.at(we);if(Je instanceof Xa&&(Je.leftDelim==="?"||Je.leftDelim===".")&&Z0(re,Je.rightDelim))break}const Me=a.at(we);if(we<=ge&&Me instanceof Xa){Me.leftDelim=re,a.mathfield.snapshot();let Je=a.extractAtoms([a.position,we-1]);return Je=Je.filter(mt=>mt.type!=="first"),Me.addChildren(Je,Me.parentBranch),a.position+=1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(ee instanceof Xa&&(ee.leftDelim==="?"||ee.leftDelim===".")&&Z0(re,ee.rightDelim)){ee.isDirty=!0,ee.leftDelim=re,a.mathfield.snapshot();const Je=a.extractAtoms([a.offsetOf(E.firstSibling),a.position]);for(const mt of Je)ee.parent.addChildBefore(mt,ee);return a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}if(!(ee instanceof Xa&&ee.leftDelim==="|")){if(a.mathfield.snapshot(),ra.insert(a,`\\left${re}\\right?`,{format:"latex",style:b}),E.lastSibling.type!=="first"){const Je=a.offsetOf(E.lastSibling),mt=a.extractAtoms([a.position,Je]);a.at(a.position).body=mt,a.position-=1}return a.mathfield.snapshot("insert-fence"),!0}}if(oe){let ge=E;for(;ge;){if(ge.type==="mopen"&&ge.value===oe){a.mathfield.snapshot();const It=ge.leftSibling,_t=a.extractAtoms([a.offsetOf(ge.leftSibling),a.offsetOf(E)]);_t.shift();const Wn=new Xa("left...right",_t,{leftDelim:oe,rightDelim:re});return ee.addChildrenAfter([Wn],It),a.position=a.offsetOf(Wn),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0}ge=ge.leftSibling}if(ee instanceof Xa&&E.isLastSibling&&Fh(ee.leftDelim,re))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=re,a.position+=1,a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const we=a.offsetOf(E.firstSibling);let Me;for(Me=a.position;Me>=we;Me--){const It=a.at(Me);if(It instanceof Xa&&(It.rightDelim==="?"||It.rightDelim===".")&&Fh(It.leftDelim,re))break}const Je=a.at(Me);if(Me>=we&&Je instanceof Xa)return a.mathfield.snapshot(),Je.rightDelim=re,Je.addChildren(a.extractAtoms([Me,a.position]),Je.parentBranch),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;if(ee instanceof Xa&&(ee.rightDelim==="?"||ee.rightDelim===".")&&Fh(ee.leftDelim,re))return a.mathfield.snapshot(),ee.isDirty=!0,ee.rightDelim=re,ee.parent.addChildren(a.extractAtoms([a.position,a.offsetOf(E.lastSibling)]),ee.parentBranch),a.position=a.offsetOf(ee),a.contentDidChange({data:re,inputType:"insertText"}),a.mathfield.snapshot("insert-fence"),!0;const mt=ee.parent;return mt instanceof Xa&&(mt.rightDelim==="?"||mt.rightDelim===".")&&a.at(a.position).isLastSibling?(a.position=a.offsetOf(mt),Ph(a,re,b)):!1}return!1}function Fh(a,y){return a?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a)?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y):ne[a]===y:!0}function Z0(a,y){return y?[")","\\rparen","}","\\}","\\rbrace","]","\\rbrack"].includes(y)?["(","\\lparen","{","\\{","\\lbrace","[","\\lbrack"].includes(a):te[y]===a:!0}Kl({undo:a=>(a.undo(),!0),redo:a=>(a.redo(),!0),scrollIntoView:a=>(a.scrollIntoView(),!0),scrollToStart:a=>(a.field.scroll(0,0),!0),scrollToEnd:a=>{const y=a.field.getBoundingClientRect();return a.field.scroll(y.left-window.scrollX,0),!0},toggleKeystrokeCaption:Ug,toggleContextMenu:a=>{const y=a.toggleContextMenu();return y||a.model.announce("plonk"),y},plonk:a=>(a.model.announce("plonk"),!0),switchMode:(a,y,b,E)=>(a.switchMode(y,b,E),!0),insert:(a,y,b)=>a.insert(y,b),typedText:(a,y,b)=>(Lh(a,y,b),!0),insertDecimalSeparator:a=>{const y=a.model;return y.mode==="math"&&window.MathfieldElement.decimalSeparator===","&&y.at(Math.max(y.position,y.anchor)).isDigit()?(a.insert("{,}",{format:"latex"}),a.snapshot("insert-mord"),!0):(a.insert("."),!0)},commit:a=>{var y;return a.model.contentWillChange({inputType:"insertLineBreak"})&&((y=a.host)==null||y.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),a.model.contentDidChange({inputType:"insertLineBreak"})),!0},insertPrompt:(a,y,b)=>{const E=a.getPrompts();let ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),re=0;for(;E.includes(ee)&&re<100;){if(re===99)return console.error("could not find a unique ID after 100 tries"),!1;ee="prompt-"+Date.now().toString(36).slice(-2)+Math.floor(Math.random()*1e5).toString(36),re++}return a.insert(`\\placeholder[${y!=null?y:ee}]{}`,b),!0}}),Kl({copyToClipboard:a=>(a.focus(),a.model.selectionIsCollapsed&&a.select(),"queryCommandSupported"in document&&document.queryCommandSupported("copy")?document.execCommand("copy"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("copy",{bubbles:!0,composed:!0})),!1)},{target:"mathfield"}),Kl({cutToClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("cut")?document.execCommand("cut"):a.element.querySelector(".ML__keyboard-sink").dispatchEvent(new ClipboardEvent("cut",{bubbles:!0,composed:!0})),!0),pasteFromClipboard:a=>(a.focus(),"queryCommandSupported"in document&&document.queryCommandSupported("paste")?(document.execCommand("paste"),!0):(navigator.clipboard.readText().then(y=>{y&&a.model.contentWillChange({inputType:"insertFromPaste",data:y})?(a.stopCoalescingUndo(),a.stopRecording(),a.insert(y,{mode:a.model.mode})&&(lf(a),a.startRecording(),a.snapshot("paste"),a.model.contentDidChange({inputType:"insertFromPaste"}),Jo(a))):a.model.announce("plonk"),a.startRecording()}),!0))},{target:"mathfield",canUndo:!0,changeContent:!0,changeSelection:!0});function qg(a,y){a.flushInlineShortcutBuffer(),a.stopCoalescingUndo();const b=Ih(a,y),{model:E}=a;return E.selectionIsCollapsed?(a.defaultStyle.fontSeries&&b.fontSeries===a.defaultStyle.fontSeries&&(b.fontSeries="auto"),b.fontShape&&b.fontShape===a.defaultStyle.fontShape&&(b.fontShape="auto"),b.color&&b.color===a.defaultStyle.color&&(b.color="none"),b.backgroundColor&&b.backgroundColor===a.defaultStyle.backgroundColor&&(b.backgroundColor="none"),b.fontSize&&b.fontSize===a.defaultStyle.fontSize&&(b.fontSize="auto"),a.defaultStyle=xe(xe({},a.defaultStyle),b)):a.model.deferNotifications({content:!0,type:"insertText"},()=>{E.selection.ranges.forEach(ee=>Ah(E,ee,b,{operation:"toggle"})),a.snapshot("style-change")}),!0}Kl({applyStyle:qg},{target:"mathfield",canUndo:!0,changeContent:!0});function Ih(a,y){var b,E,ee,re,oe,me,ge,we,Me,Je;const mt={};if(typeof y.color=="string"){const _t=(E=a.colorMap((b=y.color)!=null?b:y.verbatimColor))!=null?E:"none";_t!==y.color&&(mt.verbatimColor=(ee=y.verbatimColor)!=null?ee:y.color),mt.color=_t}if(typeof y.backgroundColor=="string"){const _t=(oe=a.backgroundColorMap((re=y.backgroundColor)!=null?re:y.verbatimBackgroundColor))!=null?oe:"none";_t!==y.backgroundColor&&(mt.verbatimBackgroundColor=(me=y.verbatimBackgroundColor)!=null?me:y.backgroundColor),mt.backgroundColor=_t}typeof y.fontFamily=="string"&&(mt.fontFamily=y.fontFamily),typeof y.series=="string"&&(mt.fontSeries=y.series),typeof y.fontSeries=="string"&&(mt.fontSeries=y.fontSeries.toLowerCase()),mt.fontSeries&&(mt.fontSeries=(ge={bold:"b",medium:"m",normal:"m"}[mt.fontSeries])!=null?ge:mt.fontSeries),typeof y.shape=="string"&&(mt.fontShape=y.shape),typeof y.fontShape=="string"&&(mt.fontShape=y.fontShape.toLowerCase()),mt.fontShape&&(mt.fontShape=(we={italic:"it",up:"n",upright:"n",normal:"n"}[mt.fontShape])!=null?we:mt.fontShape),y.variant&&(mt.variant=y.variant.toLowerCase()),y.variantStyle&&(mt.variantStyle=y.variantStyle.toLowerCase());const It=(Me=y.size)!=null?Me:y.fontSize;return typeof It=="number"?mt.fontSize=Math.max(1,Math.min(10,It)):typeof It=="string"&&(mt.fontSize=(Je={size1:1,size2:2,size3:3,size4:4,size5:5,size6:6,size7:7,size8:8,size9:9,size10:10}[It.toLowerCase()])!=null?Je:{tiny:1,scriptsize:2,footnotesize:3,small:4,normal:5,normalsize:5,large:6,Large:7,LARGE:8,huge:9,Huge:10}[It]),mt}function Oh(a){let[y,b]=As(a.selection);if(y=j0(a,y,"backward"),b=j0(a,b,"forward"),y===b){const E=a.at(y);if(E.type==="leftright")return a.setSelection(a.offsetOf(E.firstChild)-1,b);if(E.type==="first"&&(E.parent.type==="leftright"||E.parent.type==="surd"))return a.setSelection(y-1,a.offsetOf(E.parent.lastChild)+1);a.setSelection(y-1,b)}else a.setSelection(y,b);return!0}function j0(a,y,b){var E,ee,re;let oe=a.at(y);if(!oe)return y;const me=b==="forward"?1:-1;if(oe.mode==="text"){for(;oe&&!(oe.mode!=="text"||!he.test(oe.value));)y+=me,oe=a.at(y);return b==="backward"?y-1:y}if(oe.mode==="latex"){if(/[a-zA-Z\*]/.test(oe.value))if(b==="backward")for(;oe&&oe.mode==="latex"&&oe.value!=="\\"&&/[a-zA-Z]/.test(oe.value);)y+=me,oe=a.at(y);else for(;oe&&oe.mode==="latex"&&/[a-zA-Z\*]/.test(oe.value);)y+=me,oe=a.at(y);else if(oe.value==="{"){if(b==="forward"){for(;oe&&oe.mode==="latex"&&oe.value!=="}";)y+=me,oe=a.at(y);return y}return y-1}else if(oe.value==="}"){if(b==="backward"){for(;oe&&oe.mode==="latex"&&oe.value!=="{";)y+=me,oe=a.at(y);return y-1}return y}return y-1}if(oe.mode==="math"){if(oe.isDigit()){for(;(E=a.at(y+me))!=null&&E.isDigit();)y+=me;return b==="backward"?y-1:y}if(oe.style.variant||oe.style.variantStyle){let ge=(ee=a.at(y))==null?void 0:ee.style;for(;ge&&ge.variant===oe.style.variant&&ge.variantStyle===oe.style.variantStyle;)ge=(re=a.at(y+me))==null?void 0:re.style,y+=me;return b==="backward"?y-1:y}return y}return y}Kl({selectGroup:a=>{const y=Oh(a);return y||a.announce("plonk"),y},selectAll:a=>a.setSelection(0,a.lastOffset),extendSelectionForward:a=>Xu(a,"forward",{extend:!0}),extendSelectionBackward:a=>Xu(a,"backward",{extend:!0}),extendToNextWord:a=>Ld(a,"forward",{extend:!0}),extendToPreviousWord:a=>Ld(a,"backward",{extend:!0}),extendSelectionUpward:a=>Xu(a,"upward",{extend:!0}),extendSelectionDownward:a=>Xu(a,"downward",{extend:!0}),extendToNextBoundary:a=>Ld(a,"forward",{extend:!0}),extendToPreviousBoundary:a=>Ld(a,"backward",{extend:!0}),extendToGroupStart:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).firstSibling));return y||a.announce("plonk"),y},extendToGroupEnd:a=>{const y=a.setSelection(a.anchor,a.offsetOf(a.at(a.position).lastSibling));return y||a.announce("plonk"),y},extendToMathFieldStart:a=>{const y=a.setSelection(a.anchor,0);return y||a.announce("plonk"),y},extendToMathFieldEnd:a=>{const y=a.setSelection(a.anchor,a.lastOffset);return y||a.announce("plonk"),y}},{target:"model",changeSelection:!0});var cd=null,pf=0,Jf=class Cu{static start(y,b,E,ee){var re;Cu.element=y,(re=Cu.controller)==null||re.abort(),Cu.controller=new AbortController;const oe={signal:Cu.controller.signal};"PointerEvent"in window?(y.addEventListener("pointermove",E,oe),y.addEventListener("pointerup",ee,oe),y.addEventListener("pointercancel",ee,oe),Th(b)&&(Cu.pointerId=b.pointerId,y.setPointerCapture(b.pointerId))):(window.addEventListener("mousemove",E,oe),window.addEventListener("blur",ee,oe),window.addEventListener("mouseup",ee,oe))}static stop(){var y;(y=Cu.controller)==null||y.abort(),Cu.controller=void 0,typeof Cu.pointerId=="number"&&(Cu.element.releasePointerCapture(Cu.pointerId),Cu.pointerId=void 0)}};function Th(a){return a!==null&&globalThis.PointerEvent!==void 0&&a instanceof PointerEvent}function V0(a,y){var b;if(y.buttons>1)return;a.atomBoundsCache=new Map;const E=a;let ee,re=!1,oe=!1,me="none",ge=!1,we=!1;const Me=y.clientX,Je=y.clientY,mt=Date.now(),It=E.field,_t=setInterval(()=>{ge?It.scroll({top:0,left:It.scrollLeft-16}):we&&It.scroll({top:0,left:It.scrollLeft+16})},32);function Wn(){Jf.stop(),re=!1,clearInterval(_t),a.element.classList.remove("tracking"),y&&y.preventDefault()}function Yr(hr){if(!E.hasFocus()){Wn();return}const ei=hr.clientX,Ar=hr.clientY,Li=Th(hr)&&hr.pointerType==="touch"?20:5;if(Date.now()<mt+500&&Math.abs(Me-ei)<Li&&Math.abs(Je-Ar)<Li){hr.preventDefault(),hr.stopPropagation();return}const Hi=It.getBoundingClientRect();we=ei>Hi.right,ge=ei<Hi.left;let Ri=ee;Th(hr)&&(hr.isPrimary||(Ri=mf(E,hr.clientX,hr.clientY,{bias:0})));const Na=mf(E,ei,Ar,{bias:ei<=Me?ei===Me?0:-1:1});Ri>=0&&Na>=0&&(E.model.extendSelectionTo(Ri,Na),Jo(a)),oe&&Oh(E.model)}cd&&Math.abs(cd.x-Me)<5&&Math.abs(cd.y-Je)<5&&Date.now()<cd.time+500?(pf+=1,cd.time=mt):(cd={x:Me,y:Je,time:mt},pf=1);const zn=It.getBoundingClientRect();if(Me>=zn.left&&Me<=zn.right&&Je>=zn.top&&Je<=zn.bottom){if(a.flushInlineShortcutBuffer(),a.adoptStyle="left",ee=mf(a,Me,Je,{bias:0}),ee>=0){if(a.element.classList.add("tracking"),y.shiftKey){const hr=a.model.selectionIsCollapsed;a.model.extendSelectionTo(a.model.anchor,ee),v0(a.model)||hr?me="all":me="selection"}else a.model.at(ee).type==="placeholder"?(a.model.setSelection(ee-1,ee),me="selection"):((b=a.model.at(ee).rightSibling)==null?void 0:b.type)==="placeholder"?(a.model.setSelection(ee,ee+1),me="selection"):(a.model.position=ee,v0(a.model)?me="all":me="selection");a.defaultStyle={},y.detail===3||pf>2?(Wn(),(y.detail===3||pf===3)&&(a.model.selection={ranges:[[0,a.model.lastOffset]]},me="all")):re||(re=!0,Jf.start(It,y,Yr,Wn),(y.detail===2||pf===2)&&(oe=!0,Oh(a.model),me="all"))}a.hasFocus()||(me="none",a.focus({preventScroll:!0}))}else cd=null;a.stopCoalescingUndo(),me!=="none"&&(a.model.selectionIsCollapsed&&(me="all"),Jo(a)),y.preventDefault()}function $g(a,y,b){if(a>=b.left&&a<=b.right&&y>=b.top&&y<=b.bottom)return 0;const E=a-(b.left+b.right)/2,ee=y-(b.top+b.bottom)/2;return E*E+ee*ee}function _0(a,y,b,E,ee){if(!b.id)return[1/0,null];if(y.has(b.id))return y.get(b.id);const re=Fc(a,b);if(!re)return[1/0,null];let oe=[1/0,null];if(b.hasChildren&&!b.captureSelection&&E>=re.left&&E<=re.right)for(const me of b.children){const ge=_0(a,y,me,E,ee);ge[0]<=oe[0]&&(oe=ge)}return oe[1]||(oe=[$g(E,ee,re),b]),y.set(b.id,oe),oe}function ev(a,y,b){const[,E]=_0(a,new Map,a.model.root,y,b);return E}function mf(a,y,b,E){var ee;const re=a.field.querySelector(".ML__latex").getBoundingClientRect();if(!re)return 0;if(y>re.right||b>re.bottom+8)return a.model.lastOffset;if(y<re.left||b<re.top-8)return 0;E=E!=null?E:{},E.bias=(ee=E.bias)!=null?ee:0;let oe=ev(a,y,b);const me=[];let ge=oe;for(;ge;)me.unshift(ge),ge=ge.parent;for(const Me of me)if(Me.captureSelection){oe=Me;break}let we=a.model.offsetOf(oe);if(we<0)return-1;if(oe.leftSibling)if(E.bias===0&&oe.type!=="placeholder"){const Me=Fc(a,oe);Me&&y<(Me.left+Me.right)/2&&(we=a.model.offsetOf(oe.leftSibling))}else E.bias<0&&(we=a.model.offsetOf(oe.leftSibling));return we}var tv=class extends ra{constructor(){super("math")}onPaste(a,y){if(!y||!a.model.contentWillChange({data:typeof y=="string"?y:null,dataTransfer:typeof y=="string"?null:y,inputType:"insertFromPaste"}))return!1;let b="",E="auto",ee=typeof y!="string"?y.getData("application/json+mathlive"):"";if(ee)try{const re=JSON.parse(ee);if(re&&Array.isArray(re)){a.snapshot();const oe=Tc(re),{model:me}=a;me.selectionIsCollapsed||me.deleteAtoms(As(me.selection));const ge=me.at(me.position);if(ge.parent instanceof la){console.assert(ge.parentBranch!==void 0);const we=[];let Me=[];oe[0].type==="first"&&oe.shift(),oe[oe.length-1].type==="first"&&oe.pop();for(const _t of oe)_t.type==="first"&&Me.length>0?(we.push(Me),Me=[_t]):Me.push(_t);Me.length>0&&we.push(Me);let Je=Number(ge.parentBranch[0]),mt=Number(ge.parentBranch[1]);const It=ge.parent.maxColumns;for(;ge.parent.colCount-mt<we.length&&ge.parent.colCount<It;)ge.parent.addColumn();ge.parent.addChildrenAfter(we[0],ge);for(let _t=1;_t<we.length;_t++)mt++,mt>=It&&(mt=0,ge.parent.addRowAfter(Je),Je++),ge.parent.setCell(Je,mt,we[_t])}else ge.parent.addChildrenAfter(oe.filter(we=>we.type!=="first"),ge);return me.position=me.offsetOf(oe[oe.length-1]),me.contentDidChange({inputType:"insertFromPaste"}),Jo(a),!0}}catch(re){}if(ee=typeof y!="string"?y.getData("application/json"):"",ee&&window.MathfieldElement.computeEngine)try{const re=JSON.parse(ee);if(typeof re=="object"&&"latex"in re&&re.latex&&(b=re.latex),!b){const oe=window.MathfieldElement.computeEngine.box(re);oe&&!oe.has("Error")&&(b=oe.latex)}b||(E="latex")}catch(re){}if(!b&&typeof y!="string"&&(b=y.getData("application/x-latex"),b&&(E="latex")),b||(b=typeof y=="string"?y:y.getData("text/plain")),b){let re;return[re,b]=Ms(b),E==="auto"&&re&&(E="latex"),a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b,{format:E})&&(a.startRecording(),a.snapshot("paste"),Jo(a)),a.startRecording(),!0}return!1}insert(a,y,b){var E,ee;const re=typeof y=="string"?y:(ee=(E=window.MathfieldElement.computeEngine)==null?void 0:E.box(y).latex)!=null?ee:"";if(!b.silenceNotifications&&!a.contentWillChange({data:re,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:oe}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const me=a.silenceNotifications;a.silenceNotifications=!0;const ge={"?":"\\placeholder{}","@":"\\placeholder{}"};ge[0]=b.insertionMode==="replaceAll"?"":a.getValue(a.selection,"latex-unstyled"),b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(As(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward"),!a.at(a.position).isLastSibling&&a.at(a.position+1).type==="placeholder"?a.deleteAtoms([a.position,a.position+1]):a.at(a.position).type==="placeholder"&&a.deleteAtoms([a.position-1,a.position]);let we=-1;ge[0]?ge["@"]=ge[0]:typeof y=="string"&&/(^|[^\\])#@/.test(y)&&(we=rv(a),we>=0&&(ge["@"]=a.getValue(we,a.position,"latex"))),ge[0]||(ge[0]=ge["?"]);let Me=!1;const Je=ei=>(Me=!0,ge[ei]);let[mt,It]=G0(a,y,Je,b);if(!It)return!1;const _t=It.length===1&&It[0].type==="genfrac";_t&&we>=0&&typeof a.mathfield.options.isImplicitFunction=="function"&&a.mathfield.options.isImplicitFunction(a.at(a.position).command)?(ge["@"]=ge["?"],Me=!1,[mt,It]=G0(a,y,Je,b)):we>=0&&a.deleteAtoms([we,a.position]);const{parent:Wn}=a.at(a.position),Yr=Wn.hasEmptyBranch("body");if(_t&&mt!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&Wn instanceof Xa&&Wn.leftDelim==="("&&Yr){const ei=Wn.parent,Ar=Wn.parentBranch;ei.removeChild(Wn),ei.setChildren(It,Ar)}const zn=a.at(a.position);zn.parent.addChildrenAfter(It,zn),mt==="latex"&&typeof y=="string"&&(Wn==null?void 0:Wn.type)==="root"&&Yr&&!Me&&(Wn.verbatimLatex=y),a.silenceNotifications=me;const hr=It[It.length-1];if(b.selectionMode==="placeholder"){const ei=It.flatMap(Ar=>[Ar,...Ar.children]).find(Ar=>Ar.type==="placeholder");if(ei){const Ar=a.offsetOf(ei);a.setSelection(Ar-1,Ar),a.announce("move")}else hr&&(a.position=a.offsetOf(hr))}else b.selectionMode==="before"||(b.selectionMode==="after"?hr&&(a.position=a.offsetOf(hr)):b.selectionMode==="item"&&a.setSelection(a.anchor,a.offsetOf(hr)));return a.contentDidChange({data:re,inputType:"insertText"}),a.silenceNotifications=oe,!0}};function G0(a,y,b,E){var ee;let re,oe=[];if(typeof y!="string"||E.format==="math-json"){const me=window.MathfieldElement.computeEngine;if(!me)return["math-json",[]];[re,y]=["latex",me.box(y).latex],oe=Hs(y,{context:a.mathfield.context})}else typeof y=="string"&&E.format==="ascii-math"?([re,y]=Fi(y,{format:"ascii-math",inlineShortcuts:a.mathfield.options.inlineShortcuts}),oe=Hs(y,{context:a.mathfield.context}),re!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&qf(oe)):(E.format==="auto"||(ee=E.format)!=null&&ee.startsWith("latex"))&&(E.format==="auto"&&([re,y]=Fi(y,{format:"auto",inlineShortcuts:a.mathfield.options.inlineShortcuts})),E.format==="latex"&&([,y]=Ms(y)),oe=Hs(y,{context:a.mathfield.context,args:b}),E.format!=="latex"&&a.mathfield.options.removeExtraneousParentheses&&qf(oe));return Nc(oe,E.style),[re!=null?re:"latex",oe]}function nv(a){if(!a||(console.assert(a[0].type==="first"),a.length>1))return null;const y=a[0];return y instanceof Xa&&y.leftDelim==="("&&y.rightDelim===")"?y.removeBranch("body"):null}function qf(a){if(a){for(let y=0;a[y];y++){const b=a[y];if(b instanceof Xa&&b.leftDelim==="("){let E=0,ee=0,re=0;for(let oe=0;b.body[oe];oe++)b.body[oe].type==="genfrac"&&(E++,ee=oe),re++;re===0&&E===1&&(a[y]=b.body[ee])}}for(const y of a){for(const b of y.branches)if(!y.hasEmptyBranch(b)){qf(y.branch(b));const E=nv(y.branch(b));E&&y.setChildren(E,b)}if(y instanceof la)for(const b of y.cells)qf(b)}}}function rv(a){let y=a.at(a.position);if(y.mode==="text"){for(;!y.isFirstSibling&&y.mode==="text";)y=y.leftSibling;return a.offsetOf(y)}const b=y;let E=!1;if(y.type==="mclose"){const ee=te[y.value];for(;!y.isFirstSibling&&!(y.type==="mopen"&&y.value===ee);)y=y.leftSibling;y.isFirstSibling||(y=y.leftSibling),E=!0}else y.type==="leftright"&&(y=y.leftSibling,E=!0);if(E)for(;!y.isFirstSibling&&(y.isFunction||U0(y));)y=y.leftSibling;else{const ee=[];for(;!y.isFirstSibling&&(U0(y)||ee.length>0);)y.type==="mclose"&&ee.unshift(y.value),y.type==="mopen"&&ee.length>0&&y.value===te[ee[0]]&&ee.shift(),y=y.leftSibling}return b===y?-1:a.offsetOf(y)}function U0(a){return a.isDigit()?!0:a.type&&/^(mord|surd|subsup|leftright|mop|mclose)$/.test(a.type)?!a.isExtensibleSymbol:!1}new tv;var iv=class extends ra{constructor(){super("text")}onPaste(a,y){if(!y)return!1;const b=typeof y=="string"?y:y.getData("text/plain");return b&&a.model.contentWillChange({inputType:"insertFromPaste",data:b})?(a.stopCoalescingUndo(),a.stopRecording(),this.insert(a.model,b)&&(a.model.contentDidChange({inputType:"insertFromPaste"}),a.startRecording(),a.snapshot("paste"),Jo(a)),a.startRecording(),!0):!1}insert(a,y,b={}){if(!a.contentWillChange({data:y,inputType:"insertText"}))return!1;b.insertionMode||(b.insertionMode="replaceSelection"),b.selectionMode||(b.selectionMode="placeholder"),b.format||(b.format="auto");const{silenceNotifications:E}=a;b.silenceNotifications&&(a.silenceNotifications=!0);const ee=a.silenceNotifications;a.silenceNotifications=!0,b.insertionMode==="replaceSelection"&&!a.selectionIsCollapsed?a.deleteAtoms(As(a.selection)):b.insertionMode==="replaceAll"?(a.root.setChildren([],"body"),a.position=0):b.insertionMode==="insertBefore"?a.collapseSelection("backward"):b.insertionMode==="insertAfter"&&a.collapseSelection("forward");const re=av(y,a.mathfield.context);if(Nc(re,b.style),!re)return!1;const oe=a.at(a.position),me=oe.parent.addChildrenAfter(re,oe);return a.silenceNotifications=ee,b.selectionMode==="before"||(b.selectionMode==="item"?a.setSelection(a.anchor,a.offsetOf(me)):me&&(a.position=a.offsetOf(me))),a.contentDidChange({data:y,inputType:"insertText"}),a.silenceNotifications=E,!0}};function av(a,y){return a=a.replace(/\\/g,"\\textbackslash "),a=a.replace(/#/g,"\\#"),a=a.replace(/\$/g,"\\$"),a=a.replace(/%/g,"\\%"),a=a.replace(/&/g,"\\&"),a=a.replace(/_/g,"\\_"),a=a.replace(/{/g,"\\textbraceleft "),a=a.replace(/}/g,"\\textbraceright "),a=a.replace(/lbrace/g,"\\textbraceleft "),a=a.replace(/rbrace/g,"\\textbraceright "),a=a.replace(/\^/g,"\\textasciicircum "),a=a.replace(/~/g,"\\textasciitilde "),a=a.replace(/£/g,"\\textsterling "),Hs(a,{context:y,parseMode:"text"})}new iv;function Ju(a){return{value:a.model.getValue(),selectionIsCollapsed:a.model.selectionIsCollapsed,canUndo:a.canUndo(),canRedo:a.canRedo(),style:a.selectionStyle,mode:a.model.mode}}var Do=4,Dl=20,Ds=2*(Dl+Do),$f=(a,y)=>`
|
|
|
<line x1="${a+Dl}" y1="${y+Dl}"
|
|
|
x2="${a>y?a+Dl:7*Dl+10*Do}"
|
|
|
y2="${a<y?y+Dl:7*Dl+10*Do}"/>
|
|
|
<svg id="plus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
|
|
|
<circle class="cls-2" cx="20" cy="20" r="20"/>
|
|
|
<path class="font" d="m33.33,20c0,1.84-1.49,3.34-3.33,3.34h-6.67v6.66c0,1.84-1.49,3.34-3.33,3.34s-3.34-1.5-3.34-3.34v-6.66h-6.66c-1.84,0-3.34-1.5-3.34-3.34s1.5-3.33,3.34-3.33h6.66v-6.67c0-1.84,1.5-3.33,3.34-3.33s3.33,1.49,3.33,3.33v6.67h6.67c1.84,0,3.33,1.49,3.33,3.33Z"/>
|
|
|
</svg>`,Y0=(a,y)=>`
|
|
|
<line x1="${a+Dl}" y1="${y+Dl}"
|
|
|
x2="${a>y?a+Dl:7*Dl+10*Do}"
|
|
|
y2="${a<y?y+Dl:7*Dl+10*Do}"/>
|
|
|
<svg id="minus" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
|
|
|
<circle class="cls-2" cx="20" cy="20" r="20"/>
|
|
|
<path class="font" d="m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z"/>
|
|
|
</svg>`,eh=(a,y,b)=>`
|
|
|
<svg id="arrow" viewBox="0 0 40 40" x="${a}" y="${y}" width="40" height="40">
|
|
|
<circle class="cls-2" cx="20" cy="20" r="20"/>
|
|
|
<g transform="rotate(${b})" transform-origin="20 20">
|
|
|
<path class="font" d="m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z"/>
|
|
|
</g>
|
|
|
</svg>`,ov=`
|
|
|
<svg class="MLEP__array-buttons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
viewBox=
|
|
|
"-2 -2 ${8*Dl+10*Do+5} ${8*Dl+10*Do+5}">
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background rows"
|
|
|
x="0"
|
|
|
y="${Ds+Do}"
|
|
|
height="${3*Ds}"
|
|
|
width="${Ds}"
|
|
|
rx="${Ds/2}"/>
|
|
|
<rect
|
|
|
class="MLEP__array-insert-background columns"
|
|
|
x="${Ds+Do}"
|
|
|
y="0"
|
|
|
height="${Ds}"
|
|
|
width="${3*Ds}"
|
|
|
rx="${Ds/2}"/>
|
|
|
<g data-command='"moveDown"'>
|
|
|
${eh(2*(Do+Ds),2*Do+3*Ds,0)}
|
|
|
</g>
|
|
|
<g data-command='"moveUp"'>
|
|
|
${eh(2*(Do+Ds),2*Do+Ds,180)}
|
|
|
</g>
|
|
|
<g data-command='"moveToNextWord"'>
|
|
|
${eh(2*Do+3*Ds,2*(Do+Ds),-90)}
|
|
|
</g>
|
|
|
<g data-command='"moveToPreviousWord"'>
|
|
|
${eh(2*Do+Ds,2*(Do+Ds),90)}
|
|
|
</g>
|
|
|
<g>
|
|
|
|
|
|
<g data-command='"addColumnBefore"'>
|
|
|
${$f(2*Do+Ds,Do)}
|
|
|
</g>
|
|
|
<g data-command='"removeColumn"'>
|
|
|
${Y0(2*Do+2*Ds,Do)}
|
|
|
</g>
|
|
|
<g data-command='"addColumnAfter"'>
|
|
|
${$f(2*Do+3*Ds,Do)}
|
|
|
</g>
|
|
|
<g data-command='"addRowBefore"'>
|
|
|
${$f(Do,2*Do+Ds)}
|
|
|
</g>
|
|
|
<g data-command='"removeRow"'>
|
|
|
${Y0(Do,2*Do+2*Ds)}
|
|
|
</g>
|
|
|
<g data-command='"addRowAfter"'>
|
|
|
${$f(Do,2*Do+3*Ds)}
|
|
|
</g>
|
|
|
</svg>`,sv=a=>`
|
|
|
<svg id="matrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","matrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/></svg>`,lv=a=>`
|
|
|
<svg id="pmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","pmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m6,4c-3.96,4.6-3.96,11.4,0,16"/>
|
|
|
<path class="cls-2" d="m22,4c3.96,4.6,3.96,11.4,0,16"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/></svg>`,Q0=a=>`
|
|
|
<svg id="Bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","Bmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
|
|
|
<path class="cls-2" d="m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
</svg>`,uv=a=>`
|
|
|
<svg id="bmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","bmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m6,4h-3v16h3"/>
|
|
|
<path class="cls-2" d="m22,4h3v16h-3"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
</svg>`,cv=a=>`
|
|
|
<svg id="vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","vmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
<line class="cls-2" x1="4" y1="4" x2="4" y2="20"/>
|
|
|
<line class="cls-2" x1="24" y1="4" x2="24" y2="20"/>
|
|
|
</svg>`,dv=a=>`
|
|
|
<svg id="Vmatrix" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="-3.5 -3 35 30"
|
|
|
data-command='["setEnvironment","Vmatrix"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<circle cx="10" cy="8" r="1"/>
|
|
|
<circle cx="14" cy="12" r="1"/>
|
|
|
<circle cx="18" cy="16" r="1"/>
|
|
|
<line class="cls-2" x1="6" y1="4" x2="6" y2="20"/>
|
|
|
<line class="cls-2" x1="22" y1="4" x2="22" y2="20"/>
|
|
|
<line class="cls-2" x1="2" y1="4" x2="2" y2="20"/>
|
|
|
<line class="cls-2" x1="26" y1="4" x2="26" y2="20"/>
|
|
|
</svg>`,fv=a=>`
|
|
|
<svg id="cases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","cases"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m10,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2"/>
|
|
|
<circle cx="13" cy="8" r="1"/>
|
|
|
<circle cx="13" cy="16" r="1"/>
|
|
|
<circle cx="21" cy="8" r="1"/>
|
|
|
<circle cx="21" cy="16" r="1"/>
|
|
|
</svg>`,hv=a=>`
|
|
|
<svg id="rcases" class="${a}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 24"
|
|
|
data-command='["setEnvironment","rcases"]'>
|
|
|
<rect class="cls-1" width="28" height="24"/>
|
|
|
<path class="cls-2" d="m18,20c1.1,0,2-.9,2-2v-3c0-1.66.9-3,2-3-1.1,0-2-1.34-2-3v-3c0-1.1-.9-2-2-2"/>
|
|
|
<circle cx="15" cy="8" r="1"/>
|
|
|
<circle cx="15" cy="16" r="1"/>
|
|
|
<circle cx="7" cy="8" r="1"/>
|
|
|
<circle cx="7" cy="16" r="1"/>
|
|
|
</svg>`,Rh={matrix:sv,pmatrix:lv,bmatrix:uv,Bmatrix:Q0,vmatrix:cv,Vmatrix:dv},Nh={cases:fv,rcases:hv,Bmatrix:Q0};function pv(a){var y,b;const E=(y=a.model.parentEnvironment)==null?void 0:y.array;if(!E)return;let ee=0;E.forEach(_t=>{(!ee||_t.length>ee)&&(ee=_t.length)});let re=document.getElementById("mathlive-environment-popover");re||(re=If("mathlive-environment-popover"),Hl("environment-popover"),Hl("core"),re.setAttribute("aria-hidden","true"));let oe;const me=re.querySelector(".MLEP__environment-controls");me?oe=me:(oe=document.createElement("div"),re.innerHTML="",re.appendChild(oe)),oe.className="MLEP__environment-controls",oe.style.display="flex",oe.style.width="100%",oe.style.height="100%",oe.style.boxSizing="border-box",oe.innerHTML=ov;let ge=[],we="";const Me=a.model.parentEnvironment.environmentName;if(ol(Me)){const _t=gv(Me);we=Rh[_t]("active");const Wn=Rh,{[_t]:Yr}=Wn,zn=yt(Wn,[Ze(_t)]);ge=Object.values(zn).map(hr=>hr("inactive"))}else if(sl(Me)){const _t=vv(Me);we=Nh[_t]("active");const Wn=Nh,{[_t]:Yr}=Wn,zn=yt(Wn,[Ze(_t)]);ge=Object.values(zn).map(hr=>hr("inactive"))}else vs(Me)&&(we=Rh.matrix("active"),ge=Object.values(Nh).map(_t=>_t("inactive")));const Je=document.createElement("div");Je.className="MLEP__environment-delimiter-controls",Je.style.display="flex",Je.style.flexDirection="column",Je.innerHTML=`
|
|
|
<div class='MLEP__array-delimiter-options'>
|
|
|
${we}
|
|
|
${ge.join("")}
|
|
|
</div>`,we&&oe.appendChild(Je),oe.querySelectorAll("[data-command]").forEach(_t=>{const Wn=_t.dataset.command;let Yr=Wn;try{Yr=JSON.parse(Wn)}catch(zn){}_t.addEventListener("mousedown",zn=>zn.preventDefault()),Yr&&_t.addEventListener("click",()=>a.executeCommand(Yr))});const It=(b=a.field)==null?void 0:b.getBoundingClientRect();It&&(re.style.top=`${window.scrollY+(It.top-re.clientHeight-15)}px`,re.style.left=`${It.left+20}px`,re.classList.add("is-visible"))}function zh(){const a=document.getElementById("mathlive-environment-popover");a==null||a.classList.remove("is-visible")}function mv(){document.getElementById("mathlive-environment-popover")&&(bh("mathlive-environment-popover"),x("environment-popover"),x("core"))}function th(a){if(!a.hasFocus())return;let y=!1;if(a.model.mode==="math"){const b=a.model.parentEnvironment;if(b!=null&&b.array&&Zo(b.environmentName)){const E=a.options.environmentPopoverPolicy;y=E==="auto"||E==="on"}}y?pv(a):zh()}function gv(a){return a.replace("*","")}function vv(a){return a==="dcases"?"cases":a}function X0(a){const y=getComputedStyle(a).direction;return y==="ltr"||y==="rtl"?y:"ltr"}function J0(a,y,b){return y==="left"||y==="leading"&&b==="ltr"||y==="trailing"&&b==="rtl"?a.left:a.right}function Hh(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="rtl"||b==="end"&&E==="ltr"||b==="top"||b==="right"?Math.max(0,a-y):a}function yv(a,y,b,E){return b==="middle"?a-y/2:b==="start"&&E==="ltr"||b==="end"&&E==="rtl"||b==="top"||b==="right"?a:a-y}function bv(a,y){var b,E,ee;const re=(b=X0(a))!=null?b:"ltr";a.style.position="fixed",a.style.left="",a.style.top="",a.style.right="",a.style.bottom="",a.style.height="",a.style.width="";const oe=a.getBoundingClientRect(),me=Number.isFinite(y.maxHeight)?Math.min(y.maxHeight,window.innerHeight):window.innerHeight;let ge=Math.min(me,(E=y.height)!=null?E:oe.height),we=Hh(y.location.y,ge,y.verticalPos,re);we+ge>window.innerHeight-8&&(y.alternateLocation?(we=Hh(y.alternateLocation.y,ge,y.verticalPos,re),we+ge>window.innerHeight-8&&(we=void 0)):we=void 0),Number.isFinite(we)||(we=Math.max(8,window.innerHeight-8-ge),8+ge>window.innerHeight-8&&(a.style.bottom="8px")),ge=Math.min(we+ge,window.innerHeight-8)-we;const Me=Number.isFinite(y.maxWidth)?Math.min(y.maxWidth,window.innerWidth):window.innerWidth;let Je=Math.min(Me,(ee=y.width)!=null?ee:oe.width),mt=Hh(y.location.x,Je,y.horizontalPos,re);mt+Je>window.innerWidth-8&&(y.alternateLocation?(mt=yv(y.alternateLocation.x,Je,y.verticalPos,re),mt+Je>window.innerWidth-8&&(mt=void 0)):mt=void 0),Number.isFinite(mt)||(mt=Math.max(8,window.innerWidth-8-Je),8+Je>window.innerWidth-8&&(a.style.right="8px")),Je=Math.min(mt+Je,window.innerWidth-8)-mt,re==="rtl"?a.style.right=`${Math.ceil(window.innerWidth-mt-Je).toString()}px`:a.style.left=`${Math.ceil(mt).toString()}px`,a.style.top=`${Math.ceil(we).toString()}px`,ge!==oe.height&&(a.style.height=`${Math.ceil(ge).toString()}px`),Je!==oe.width&&(a.style.width=`${Math.ceil(Je).toString()}px`)}function xv(a,y){return Math.hypot(y.x-a.x,y.y-a.y)}function Pd(a){return"submenu"in a}function qu(a){return"type"in a&&a.type==="command"||"onMenuSelect"in a||"id"in a}function Kh(a){return"type"in a&&a.type==="divider"}function Wh(a){return"type"in a&&a.type==="heading"}var q0={};function Zh(a){let y=q0[a];if(!y){let b;switch(a){case"checkmark":b=`<span aria-hidden="true" class="ui-checkmark"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z"></path></svg>
|
|
|
</span>`;break;case"trailing-chevron":b='<span aria-hidden="true" class="ui-trailing-chevron"><svg focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg></span>';break;case"mixedmark":b='<span aria-hidden="true" class="ui-mixedmark"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z"/></svg></span>'}if(b){const E=document.createElement("template");E.innerHTML=b,q0[a]=E,y=E}}if(y){if("content"in y)return y.content.cloneNode(!0);const b=document.createElement("svg");return b.innerHTML=y.innerHTML,b}}var $0=80,ep=class{constructor(a,y){this._element=null;var b;this.parentMenu=y,this._declaration=a,Pd(a)?(this.type="submenu",this.submenu=new tp(a.submenu,{parentMenu:y,submenuClass:a.submenuClass,columnCount:a.columnCount})):this.type=(b=a.type)!=null?b:"command",this.hasCheck=qu(a)&&a.checked!==void 0}get rootMenu(){return this.parentMenu.rootMenu}get abortController(){return this._abortController||(this._abortController=new AbortController),this._abortController}dispose(){var a,y;(a=this._abortController)==null||a.abort(),this._abortController=void 0,(y=this._element)==null||y.remove(),this._element=null,this.submenu&&this.submenu.dispose(),this.submenu=void 0}get menuItem(){return this._declaration}get label(){var a;return(a=this._label)!=null?a:""}set label(a){a===void 0&&(a=""),a!==this._label&&(this._label=a,this.dirty=!0)}get visible(){return this._visible}set visible(a){a!==this._visible&&(this._visible=a,this.dirty=!0)}get enabled(){return this._enabled}set enabled(a){this._enabled=a,this.element&&(a?this.element.removeAttribute("aria-disabled"):this.element.setAttribute("aria-disabled","true")),this.dirty=!0}get checked(){return this._checked}set checked(a){this._checked=a,this.dirty=!0}get tooltip(){return this._tooltip}set tooltip(a){a!==this._tooltip&&(this._tooltip=a,this.dirty=!0)}get ariaLabel(){return this._ariaLabel}set ariaLabel(a){a!==this._ariaLabel&&(this._ariaLabel=a,this.dirty=!0)}get active(){var a,y;return(y=(a=this.element)==null?void 0:a.classList.contains("active"))!=null?y:!1}set active(a){this.element&&this.element.classList.toggle("active",a)}updateState(a){var y,b,E;const ee=this._declaration;if(Kh(ee)){this.enabled=!1,this.checked=!1;return}Wh(ee)&&(this.enabled=!1,this.checked=!1,this.visible=!0),qu(ee)&&(this.checked=qu(ee)&&((y=Fd(ee.checked,a))!=null?y:!1)),(qu(ee)||Pd(ee))&&(this.enabled=(b=Fd(ee.enabled,a))!=null?b:!0,this.visible=(E=Fd(ee.visible,a))!=null?E:!0,this.visible&&this.enabled&&this.submenu&&(this.submenu.updateState(a),this.submenu.visible||(this.visible=!1))),(qu(ee)||Wh(ee)||Pd(ee))&&(this.label=Fd(ee.label,a),this.tooltip=Fd(ee.tooltip,a),this.ariaLabel=Fd(ee.ariaLabel,a)),this._element&&this.updateElement()}set dirty(a){console.assert(a===!0),a&&this.parentMenu&&(this.parentMenu.dirty=!0)}updateElement(){if(!this.visible||!this.element)return;const a=this.element;a.textContent="",this.enabled?a.removeAttribute("aria-disabled"):a.setAttribute("aria-disabled","true"),this.checked===!0?(a.setAttribute("aria-checked","true"),a.append(Zh("checkmark"))):this.checked==="mixed"?(a.setAttribute("aria-checked","mixed"),a.append(Zh("mixedmark"))):a.removeAttribute("aria-checked"),this.ariaLabel&&a.setAttribute("aria-label",this.ariaLabel);const y=document.createElement("span");if(y.className=this.parentMenu.hasCheck?"label indent":"label",this.type==="heading"&&y.classList.add("heading"),y.innerHTML=this.label,a.append(y),this._tooltip&&a.setAttribute("data-tooltip",this._tooltip),qu(this._declaration)&&this._declaration.keyboardShortcut){const b=document.createElement("kbd");b.innerHTML=vh(this._declaration.keyboardShortcut),a.append(b)}this.type==="submenu"&&a.append(Zh("trailing-chevron"))}get element(){if(this._element)return this._element;if(Kh(this._declaration)){const b=document.createElement("li");return b.setAttribute("part","menu-divider"),b.setAttribute("role","divider"),this._element=b,b}const a=document.createElement("li");this._element=a,(qu(this._declaration)||Wh(this._declaration)||Pd(this._declaration))&&this._declaration.class&&(a.className=this._declaration.class),a.setAttribute("part","menu-item"),a.setAttribute("tabindex","-1"),this.hasCheck?a.setAttribute("role","menuitemcheckbox"):a.setAttribute("role","menuitem"),this.type==="submenu"&&(a.setAttribute("aria-haspopup","true"),a.setAttribute("aria-expanded","false"));const y=this.abortController.signal;return a.addEventListener("pointerenter",this,{signal:y}),a.addEventListener("pointerleave",this,{signal:y}),a.addEventListener("pointerup",this,{signal:y}),a.addEventListener("click",this,{signal:y}),this._element}dispatchSelect(){if(!qu(this._declaration))return;const a=new CustomEvent("menu-select",{cancelable:!0,bubbles:!0,detail:{modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data}});this.parentMenu.dispatchEvent(a)&&typeof this._declaration.onMenuSelect=="function"&&this._declaration.onMenuSelect({modifiers:this.rootMenu.modifiers,id:this._declaration.id,data:this._declaration.data})}handleEvent(a){var y;if(!(!this.visible||!this.enabled)){if(a.type==="click"){this.rootMenu.state==="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}if(a.type==="pointerenter"){const b=a;this.rootMenu.cancelDelayedOperation(),this.parentMenu.isSubmenuOpen&&((y=this.parentMenu.activeMenuItem)!=null&&y.movingTowardSubmenu(b))?this.rootMenu.scheduleOperation(()=>{this.parentMenu.activeMenuItem=this,this.openSubmenu()}):(this.parentMenu.activeMenuItem=this,this.openSubmenu({withDelay:!0}));return}if(a.type==="pointerleave"){this.rootMenu.activeSubmenu===this.parentMenu&&(this.parentMenu.activeMenuItem=null);return}if(a.type==="pointerup"){this.rootMenu.state!=="modal"&&this.select(),a.stopPropagation(),a.preventDefault();return}}}select(){if(this.rootMenu.cancelDelayedOperation(),this.type==="submenu"){this.openSubmenu();return}this.active=!1,setTimeout(()=>{this.active=!0,setTimeout(()=>{this.rootMenu.hide(),this.dispatchSelect()},$0)},$0)}openSubmenu(a){var y;if(this.type!=="submenu"||!this.element)return;if((y=a==null?void 0:a.withDelay)!=null&&y){this.rootMenu.scheduleOperation(()=>this.openSubmenu());return}const b=this.element.getBoundingClientRect(),E=X0(this.element);this.submenu.show({container:this.rootMenu.element.parentNode,location:{x:J0(b,"trailing",E),y:b.top-4},alternateLocation:{x:J0(b,"leading",E),y:b.top-4}})}movingTowardSubmenu(a){if(!this.element||this.type!=="submenu")return!1;const y=this.rootMenu.lastMoveEvent;if(!y)return!1;const b=a.timeStamp-y.timeStamp;if(b>500)return!1;const E=a.clientX-y.clientX;if(wv(E,y.clientY-a.clientY,b)<=.2)return!1;let re="right";if(this.submenu.element){const oe=this.submenu.element.getBoundingClientRect(),me=this.element.getBoundingClientRect();oe.left<me.left+me.width/2&&(re="left")}return re==="right"?E>0:E<0}};function wv(a,y,b){return Math.hypot(a,y)/b}function Fd(a,y){return a===void 0||typeof a!="function"?a:(y!=null||(y={alt:!1,control:!1,shift:!1,meta:!1}),a(y))}var tp=class Kd{constructor(y,b){this._element=null,this._activeMenuItem=null,this._dirty=!0;var E,ee;this.parentMenu=(E=b==null?void 0:b.parentMenu)!=null?E:null,this._submenuClass=b==null?void 0:b.submenuClass,this.columnCount=(ee=b==null?void 0:b.columnCount)!=null?ee:1,this.isSubmenuOpen=!1,this.menuItems=y}get children(){return this._menuItems}set menuItems(y){const b=this.parentMenu;this.dispose(),this.parentMenu=b,y=[...y],this._menuItems=y.map(E=>E.onCreate?E.onCreate(E,this):new ep(E,this)),this.hasCheck=void 0,this.dirty=!0}dispose(){var y;this.hide(),this._element&&this._element.remove(),this._abortController&&this._abortController.abort(),(y=this._menuItems)==null||y.forEach(b=>b.dispose()),this._menuItems=[],this._activeMenuItem=null,this.parentMenu=null}handleEvent(y){if(y.type==="wheel"&&this._element){const b=y;this._element.scrollBy(0,b.deltaY),y.stopPropagation()}}dispatchEvent(y){return this.rootMenu.dispatchEvent(y)}get rootMenu(){return this.parentMenu.rootMenu}updateState(y){var b,E,ee;this._menuItems.forEach(we=>we.updateState(y));const re=this.hasCheck;this.hasCheck=this._menuItems.some(we=>we.visible&&we.hasCheck),this.hasCheck!==re&&this._menuItems.forEach(we=>we.updateState(y));let oe,me=0;for(const we of this._menuItems)we.type==="heading"?(oe&&me===0&&(oe.visible=!1),oe=we,me=0):we.type==="divider"&&oe?(oe.visible=me>0,oe=void 0,me=0):oe&&we.visible&&(me+=1);oe&&(oe.visible=me>0);let ge=!0;for(const we of this._menuItems)we.type==="divider"?(we.visible=!ge,ge=!0):we.visible&&(ge=!1);(b=this.activeMenuItem)!=null&&b.visible||(this.activeMenuItem=null),!((E=this.activeMenuItem)!=null&&E.enabled)&&((ee=this.activeMenuItem)==null?void 0:ee.type)==="submenu"&&this._activeMenuItem.submenu.hide(),this._dirty=!1}get enabled(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible&&y.enabled)}get visible(){return this.updateIfDirty(),this._menuItems.some(y=>y.type!=="divider"&&y.visible)}set dirty(y){console.assert(y===!0),this._dirty!==y&&y&&this.parentMenu&&(this._dirty=!0,this.parentMenu.dirty=!0)}updateIfDirty(){this._dirty&&this.updateState(this.rootMenu.modifiers)}updateElement(){var y;if(this._element){this._element.textContent="";for(const{element:b,visible:E}of this._menuItems)b&&E&&this._element.append(b);(y=this._element.querySelector("li:first-of-type"))==null||y.setAttribute("tabindex","0")}}get element(){if(this._element)return this._element;const y=document.createElement("menu");y.setAttribute("role","menu"),y.setAttribute("tabindex","-1"),y.setAttribute("aria-orientation","vertical"),y.setAttribute("part","ui-menu-container"),this._submenuClass&&y.classList.add(this._submenuClass),y.classList.add("ui-menu-container"),this._abortController||(this._abortController=new AbortController);const b=this._abortController.signal;return y.addEventListener("focus",this,{signal:b}),y.addEventListener("wheel",this,{passive:!0,signal:b}),this._element=y,this.updateElement(),y}get activeMenuItem(){return this._activeMenuItem}set activeMenuItem(y){var b,E,ee,re;if(this.rootMenu.cancelDelayedOperation(),y!==this._activeMenuItem){if(this.activeMenuItem){const oe=this.activeMenuItem;oe.active=!1,(b=oe.submenu)==null||b.hide()}if(!((E=y==null?void 0:y.visible)==null||E)){this._activeMenuItem=null;return}this._activeMenuItem=y,y&&(y.active=!0)}y?(ee=y.element)==null||ee.focus({preventScroll:!0}):(re=this._element)==null||re.focus({preventScroll:!0})}get firstMenuItem(){this.updateIfDirty();let y=0,b=!1;const E=this._menuItems;for(;!b&&y<=E.length-1;){const ee=E[y];b=ee.type!=="divider"&&ee.visible&&ee.enabled,y+=1}return b?E[y-1]:null}get lastMenuItem(){this.updateIfDirty();const y=this._menuItems;let b=y.length-1,E=!1;for(;!E&&b>=0;){const ee=y[b];E=ee.type!=="divider"&&ee.visible&&ee.enabled,b-=1}return E?y[b+1]:null}nextMenuItem(y){if(y===0)return this._activeMenuItem;if(!this._activeMenuItem)return y>0?this.firstMenuItem:this.lastMenuItem;if(!this.firstMenuItem||!this.lastMenuItem||!this._activeMenuItem)return null;this.updateIfDirty();const b=this._menuItems.indexOf(this.firstMenuItem),E=this._menuItems.indexOf(this.lastMenuItem);let ee=this._menuItems.indexOf(this._activeMenuItem),re=1;for(;ee>=b&&ee<=E;){ee+=y>0?1:-1;const oe=this._menuItems[ee];if(!oe)break;if(oe.visible&&oe.enabled){if(re===Math.abs(y))return this._menuItems[ee];re+=1}}return y>0?this.lastMenuItem:this.firstMenuItem}getMenuItemColumn(y){this.updateIfDirty();const E=this._menuItems.filter(ee=>ee.visible&&ee.enabled).indexOf(y);return E<0?-1:E%this.columnCount}static get collator(){return Kd._collator||(Kd._collator=new Intl.Collator(void 0,{usage:"search",sensitivity:"base"})),Kd._collator}findMenuItem(y){var b;this.updateIfDirty();const E=this._menuItems.filter(me=>me.type!=="divider"&&me.visible&&me.enabled);if(E.length===0)return null;const ee=Math.max(...E.map(me=>me.label.length))-y.length;if(ee<0)return null;let re=null,oe=0;for(;oe<ee&&!re;)re=(b=E.find(me=>Kd.collator.compare(y,me.label.substring(oe,y.length))===0))!=null?b:null,oe++;return re}show(y){return!this.visible||!y.container?!1:(this.updateElement(),y.container.appendChild(this.element),Vt()&&(this.element.popover="manual",this.element.showPopover()),y.location&&bv(this.element,{location:y.location,alternateLocation:y.alternateLocation,verticalPos:"bottom",horizontalPos:"start"}),this.element.focus({preventScroll:!0}),this.parentMenu&&(this.parentMenu.openSubmenu=this),!0)}hide(){var y,b,E,ee,re;this.openSubmenu=null,this.activeMenuItem=null,this.parentMenu&&(this.parentMenu.openSubmenu=null),Vt()&&((y=this._element)!=null&&y.popover)&&this.element.hidePopover(),(E=(b=this.parentMenu)==null?void 0:b.element)==null||E.focus(),(re=(ee=this._element)==null?void 0:ee.parentNode)==null||re.removeChild(this._element)}set openSubmenu(y){var b,E,ee,re;const oe=y!==null;((b=this.activeMenuItem)==null?void 0:b.type)==="submenu"&&((E=this.activeMenuItem.element)==null||E.setAttribute("aria-expanded",oe.toString())),(re=(ee=this.activeMenuItem)==null?void 0:ee.element)==null||re.classList.toggle("is-submenu-open",oe),this.isSubmenuOpen=oe}},np=class rm extends tp{constructor(y,b){var E;super(y),this.state="closed",this.typingBufferResetTimer=0,this.hysteresisTimer=0,this._updating=!1,this._host=(E=b==null?void 0:b.host)!=null?E:null,this.isDynamic=y.some(rp),this._modifiers={shift:!1,control:!1,alt:!1,meta:!1},this.typingBuffer="",this.state="closed"}get modifiers(){return this._modifiers}set modifiers(y){Km(this._modifiers,y)||(this._modifiers=y,this.dirty=!0)}get activeSubmenu(){let y=this;for(;y.isSubmenuOpen;)y=y.activeMenuItem.submenu;return y}set dirty(y){this._updating||(console.assert(y===!0),this._dirty!==y&&(this._dirty=!0,y&&setTimeout(()=>{this.updateState(this.modifiers),this.updateElement()})))}updateState(y){this._updating=!0,this.modifiers=y!=null?y:this.modifiers,super.updateState(this.modifiers),this._updating=!1}handleKeyupEvent(y){this.isDynamic&&(this.modifiers=nd(y)),y.stopImmediatePropagation()}handleKeydownEvent(y){var b,E,ee;if(y.key==="Tab"||y.key==="Escape"){this.hide();return}this.isDynamic&&(this.modifiers=nd(y));let re=!0;const oe=this.activeSubmenu,me=oe.activeMenuItem;switch(y.key){case" ":case"Space":case"Return":case"Enter":me==null||me.select(nd(y));break;case"ArrowRight":if((me==null?void 0:me.type)==="submenu")me.select(nd(y)),this.activeSubmenu.activeMenuItem=this.activeSubmenu.firstMenuItem;else if(!me)oe.activeMenuItem=oe.firstMenuItem;else{const ge=(b=oe.getMenuItemColumn(me))!=null?b:-1;if(ge>=0&&ge<((E=oe.columnCount)!=null?E:1)-1){const we=oe.nextMenuItem(1);we&&(oe.activeMenuItem=we)}}break;case"ArrowLeft":if(oe===this.rootMenu)me||(oe.activeMenuItem=oe.firstMenuItem);else if((me&&(ee=oe.getMenuItemColumn(me))!=null?ee:-1)<=0||!me){oe.hide();const we=oe.parentMenu.activeMenuItem;if(we){const{element:Me}=we;Me==null||Me.focus(),Me==null||Me.classList.remove("is-submenu-open")}}else{const we=oe.nextMenuItem(-1);we&&(oe.activeMenuItem=we)}break;case"ArrowDown":oe.activeMenuItem=oe.nextMenuItem(oe.columnCount);break;case"ArrowUp":oe.activeMenuItem=oe.nextMenuItem(-oe.columnCount);break;case"Home":case"PageUp":oe.activeMenuItem=oe.firstMenuItem;break;case"End":case"PageDown":oe.activeMenuItem=oe.lastMenuItem;break;case"Backspace":if(this.typingBuffer&&(this.typingBuffer=this.typingBuffer.slice(0,-1),this.typingBuffer)){clearTimeout(this.typingBufferResetTimer);const ge=oe.findMenuItem(this.typingBuffer);ge&&(oe.activeMenuItem=ge),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}break;default:if(Lf(y)){isFinite(this.typingBufferResetTimer)&&clearTimeout(this.typingBufferResetTimer),this.typingBuffer+=y.key;const ge=oe.findMenuItem(this.typingBuffer);ge&&(oe.activeMenuItem=ge),this.typingBufferResetTimer=setTimeout(()=>{this.typingBuffer=""},500)}else re=!1}re&&(y.preventDefault(),y.stopPropagation())}handleEvent(y){if(y.type==="keydown")this.handleKeydownEvent(y);else if(y.type==="keyup")this.handleKeyupEvent(y);else if(y.type==="pointermove")this.lastMoveEvent=y;else if(y.type==="pointerup"&&y.target===this.scrim)Number.isFinite(this.rootMenu._openTimestamp)&&Date.now()-this.rootMenu._openTimestamp<120?this.state="modal":this.state==="modal"&&this.hide();else if(y.type==="contextmenu"){y.preventDefault(),y.stopPropagation();return}super.handleEvent(y)}dispatchEvent(y){return this._host?this._host.dispatchEvent(y):!0}get scrim(){return Yu.element}connectScrim(y){const b=this.scrim;b.addEventListener("pointerup",this),b.addEventListener("contextmenu",this),b.addEventListener("keydown",this),b.addEventListener("keyup",this),b.addEventListener("pointermove",this),Yu.open({root:y,onDismiss:()=>this.hide()})}disconnectScrim(){const y=this.scrim;y.removeEventListener("pointerup",this),y.removeEventListener("contextmenu",this),y.removeEventListener("keydown",this),y.removeEventListener("keyup",this),y.removeEventListener("pointermove",this),Yu.state==="open"&&Yu.scrim.close()}get rootMenu(){return this}show(y){return this._onDismiss=y==null?void 0:y.onDismiss,y!=null&&y.modifiers&&(this.modifiers=y.modifiers),this.updateState(),this.connectScrim(y==null?void 0:y.target),super.show(Ee(xe({},y),{container:this.scrim}))?(this._openTimestamp=Date.now(),this.state="open",!0):(this.disconnectScrim(),!1)}hide(){this.cancelDelayedOperation(),this.state!==void 0&&(this.state!=="closed"&&(this.activeMenuItem=null,Yu.element.parentElement.focus(),super.hide(),this.state="closed",this.disconnectScrim()),this._onDismiss&&(this._onDismiss(),this._onDismiss=void 0))}scheduleOperation(y){this.cancelDelayedOperation();const b=rm.SUBMENU_DELAY;if(b<=0){y();return}this.hysteresisTimer=setTimeout(()=>{this.hysteresisTimer=0,y()},b)}cancelDelayedOperation(){this.hysteresisTimer&&(clearTimeout(this.hysteresisTimer),this.hysteresisTimer=0)}};np.SUBMENU_DELAY=120;var Cv=np;function rp(a){return Kh(a)?!1:typeof a.label=="function"||typeof a.ariaLabel=="function"||typeof a.tooltip=="function"||(qu(a)||Pd(a))&&(typeof a.enabled=="function"||typeof a.visible=="function")||qu(a)&&typeof a.checked=="function"?!0:Pd(a)?a.submenu.some(rp):!1}var nh=class{};nh.DELAY=300,nh.MAX_DISTANCE=10;function Sv(a){return new Promise((y,b)=>{const E=Bf(a);E||y(!1);let ee=E;const re=setTimeout(()=>{oe.abort(),y(xv(ee,E)<nh.MAX_DISTANCE)},nh.DELAY),oe=new AbortController,me=oe.signal;for(const ge of["pointermove","pointerup","pointercancel"])window.addEventListener(ge,we=>{if(we.type==="pointerup"||we.type==="pointercancel")clearTimeout(re),oe.abort(),y(!1);else if(we.type==="pointermove"){const Me=Bf(we);Me&&(ee=Me)}},{passive:!0,signal:me})})}function ip(a,y,b){return Kc(this,null,function*(){if(a.type==="contextmenu"){const E=a;if(b.show({target:y,location:Bf(E),modifiers:nd(E)}))return a.preventDefault(),a.stopPropagation(),!0}if(a.type==="keydown"){const E=a;if(E.code==="ContextMenu"||E.code==="F10"&&E.shiftKey){const ee=y==null?void 0:y.getBoundingClientRect();if(ee&&b.show({target:y,location:{x:Math.ceil(ee.left+ee.width/2),y:Math.ceil(ee.top+ee.height/2)},modifiers:nd(E)}))return a.preventDefault(),a.stopPropagation(),!0}}if(a.type==="pointerdown"&&a.pointerType!=="mouse"&&a.button===0){let E=a.target;for(;E&&y!==E;)E=E.parentNode;if(!E||!b.visible)return!1;const ee=Bf(a);if(yield Sv(a))return b.state!=="closed"?!1:(b.show({target:y,location:ee}),!0)}return!1})}var ap={acute:714,grave:715,dot:729,ddot:168,mathring:730,tilde:126,bar:713,breve:728,check:711,hat:94,vec:8407};Mt(Object.keys(ap),"{body:auto}",{createAtom:a=>new z(Ee(xe({},a),{body:tt(a.args[0]),accentChar:ap[a.command.slice(1)]}))}),Mt(["widehat","widecheck","widetilde"],"{body:auto}",{createAtom:a=>{const y=zt(tt(a.args[0]));return new z(Ee(xe({},a),{body:tt(a.args[0]),svgAccent:a.command.slice(1)+(y.length>5?"4":["1","1","2","2","3","3"][y.length])}))}}),Mt(["overarc","overparen","wideparen"],"{body:auto}",{createAtom:a=>new z(Ee(xe({},a),{body:tt(a.args[0]),svgAccent:"overarc"}))}),Mt(["underarc","underparen"],"{body:auto}",{createAtom:a=>new bu(Ee(xe({},a),{body:tt(a.args[0]),svgBelow:"underarc"}))}),Mt("utilde","{body:auto}",{createAtom:a=>{const y=tt(a.args[0]),b=zt(y),E="widetilde"+(b.length>5?"4":["1","1","2","2","3","3"][b.length]);return new bu(Ee(xe({},a),{body:y,svgBelow:E,boxType:Wu(y)}))}}),Mt("^","{:string}",{createAtom:a=>{var y;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE2",e:"\xEA",i:"\xEE",o:"\xF4",u:"\xFB",A:"\xC2",E:"\xCA",I:"\xCE",O:"\xD4",U:"\xDB"}[a.args[0]])!=null?y:"^"}))}}),Mt("`","{:string}",{createAtom:a=>{var y;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE0",e:"\xE8",i:"\xEC",o:"\xF2",u:"\xF9",A:"\xC0",E:"\xC8",I:"\xCC",O:"\xD2",U:"\xD9"}[a.args[0]])!=null?y:"`"}))}}),Mt("'","{:string}",{createAtom:a=>{var y;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={a:"\xE1",e:"\xE9",i:"\xED",o:"\xF3",u:"\xFA",A:"\xC1",E:"\xC9",I:"\xCD",O:"\xD3",U:"\xDA"}[a.args[0]])!=null?y:"'"}))}}),Mt('"',"{:string}",{createAtom:a=>{var y,b;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\xE4",e:"\xEB",i:"\xEF",o:"\xF6",u:"\xFC",A:"\xC4",E:"\xCB",I:"\xCB",O:"\xD6",U:"\xDC"}[a.args[0]])!=null?b:'"'+a.args[0]:'"'}))}}),Mt(".","{:string}",{createAtom:a=>{var y,b;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0227",e:"\u0117",i:"\u0307i",o:"\u022F",u:"\u0307u",A:"\u0226",E:"\u0116",I:"\u0130",O:"\u022E",U:"\u0307U"}[a.args[0]])!=null?b:"."+a.args[0]:"."}))}}),Mt("=","{:string}",{createAtom:a=>{var y,b;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:(y=a.args)!=null&&y[0]?(b={a:"\u0101",e:"\u0113",i:"\u012B",o:"\u014D",u:"\u016B",A:"\u0100",E:"\u0112",I:"\u012A",O:"\u014C",U:"\u016A"}[a.args[0]])!=null?b:"="+a.args[0]:"="}))}}),Mt("~","{:string}",{createAtom:a=>{var y;return new ar(Ee(xe({type:"mord"},a),{isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={n:"\xF1",N:"\xD1",a:"\xE3",o:"\xF5",A:"\xC3",O:"\xD5"}[a.args[0]])!=null?y:"\xB4"}))}}),Mt("c","{:string}",{createAtom:a=>{var y;return new ar(Ee(xe({},a),{type:"mord",isFunction:!1,limits:"adjacent",value:a.args[0]&&(y={c:"\xE7",C:"\xC7"}[a.args[0]])!=null?y:""}))}}),Mt("enclose","{notation:string}[style:string]{body:auto}",{createAtom:a=>{var y,b;const E=a.args,ee={strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",backgroundcolor:"transparent",padding:"auto",shadow:"none",svgStrokeStyle:void 0,borderStyle:void 0,style:(y=a.style)!=null?y:{}};if(E[1]){const oe=E[1].split(/,(?![^(]*\)(?:(?:[^(]*\)){2})*[^"]*$)/);for(const me of oe){const ge=me.match(/\s*(\S+)\s+(\S+)\s+(.*)/);if(ge)ee.strokeWidth=ge[1],ee.strokeStyle=ge[2],ee.strokeColor=ge[3];else{const we=me.match(/\s*([a-z]*)\s*=\s*"(.*)"/);we&&(we[1]==="mathbackground"?ee.backgroundcolor=we[2]:we[1]==="mathcolor"?ee.strokeColor=we[2]:we[1]==="padding"?ee.padding=we[2]:we[1]==="shadow"&&(ee.shadow=we[2]))}}ee.strokeStyle==="dashed"?ee.svgStrokeStyle="5,5":ee.strokeStyle==="dotted"&&(ee.svgStrokeStyle="1,5")}ee.borderStyle=`${ee.strokeWidth} ${ee.strokeStyle} ${ee.strokeColor}`;const re={};return((b=E[0])!=null?b:"").split(/[, ]/).filter(oe=>oe.length>0).forEach(oe=>{re[oe.toLowerCase()]=!0}),new Jd(a.command,tt(E[2]),re,ee)}}),Mt("cancel","{body:auto}",{createAtom:a=>{var y;return new Jd(a.command,tt(a.args[0]),{updiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Mt("bcancel","{body:auto}",{createAtom:a=>{var y;return new Jd(a.command,tt(a.args[0]),{downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Mt("xcancel","{body:auto}",{createAtom:a=>{var y;return new Jd(a.command,tt(a.args[0]),{updiagonalstrike:!0,downdiagonalstrike:!0},{strokeColor:"currentColor",strokeWidth:"",strokeStyle:"solid",borderStyle:"1px solid currentColor",backgroundcolor:"transparent",padding:"auto",shadow:"none",style:(y=a.style)!=null?y:{}})}}),Mt(["overrightarrow","overleftarrow","Overrightarrow","overleftharpoon","overrightharpoon","overleftrightarrow","overlinesegment","overgroup"],"{:auto}",{createAtom:a=>{var y;return new bu(Ee(xe({},a),{body:tt((y=a.args)==null?void 0:y[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgAbove:a.command.slice(1)}))}}),Mt("overbrace","{:auto}",{createAtom:a=>new bu(Ee(xe({},a),{body:tt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgAbove:a.command.slice(1)}))}),Mt(["underrightarrow","underleftarrow","underleftrightarrow","underlinesegment","undergroup"],"{:auto}",{createAtom:a=>new bu(Ee(xe({},a),{body:tt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"rel",svgBelow:a.command.slice(1)}))}),Mt(["underbrace"],"{:auto}",{createAtom:a=>new bu(Ee(xe({},a),{body:tt(a.args[0]),skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,boxType:"ord",svgBelow:a.command.slice(1)}))}),Mt(["xrightarrow","longrightarrow","xleftarrow","longleftarrow","xRightarrow","xLeftarrow","xleftharpoonup","xleftharpoondown","xrightharpoonup","xrightharpoondown","xlongequal","xtwoheadleftarrow","xtwoheadrightarrow","xleftrightarrow","longleftrightarrow","xLeftrightarrow","xrightleftharpoons","longrightleftharpoons","xleftrightharpoons","xhookleftarrow","xhookrightarrow","xmapsto","xtofrom","xleftrightarrows","longleftrightarrows","xRightleftharpoons","longRightleftharpoons","xLeftrightharpoons","longLeftrightharpoons"],"[:auto]{:auto}",{createAtom:a=>{var y,b,E,ee,re;return new bu(Ee(xe({},a),{svgBody:a.command.slice(1),above:((b=tt((y=a.args)==null?void 0:y[1]))==null?void 0:b.length)===0?void 0:tt((E=a.args)==null?void 0:E[1]),below:(re=tt((ee=a.args)==null?void 0:ee[0]))!=null?re:null,skipBoundary:!1,supsubPlacement:"over-under",paddedBody:!0,paddedLabels:!0,boxType:"rel"}))},serialize:(a,y)=>a.command+(a.hasEmptyBranch("below")?"":`[${a.belowToLatex(y)}]`)+`{${a.aboveToLatex(y)}}${a.supsubToLatex(y)}`}),Mt(["arccos","arcsin","arctan","arctg","arcctg","arg","ch","cos","cosh","cot","cotg","coth","ctg","cth","csc","cosec","deg","dim","exp","gcd","hom","inf","ker","lb","lg","ln","log","Pr","sec","sh","sin","sinh","sup","tan","tanh","tg","th","arcsec","arccsc","arsinh","arcosh","artanh","arcsech","arccsch"],"",{isFunction:!0,ifMode:"math",createAtom:a=>new td(a.command.slice(1),Ee(xe({},a),{limits:"adjacent",isFunction:!0,variant:"main",variantStyle:"up"}))}),Mt(["liminf","limsup"],"",{ifMode:"math",createAtom:a=>new td({"\\liminf":"lim inf","\\limsup":"lim sup"}[a.command],Ee(xe({},a),{limits:"over-under",variant:"main"}))}),Mt(["lim","mod"],"",{ifMode:"math",createAtom:a=>new td(a.command.slice(1),Ee(xe({},a),{limits:"over-under",variant:"main"}))}),Mt(["det","max","min"],"",{ifMode:"math",isFunction:!0,createAtom:a=>new td(a.command.slice(1),Ee(xe({},a),{limits:"over-under",isFunction:!0,variant:"main"}))}),Mt(["ang"],"{:math}",{ifMode:"math",createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),serialize:(a,y)=>`\\ang{${a.bodyToLatex(y)}}`,render:(a,y)=>{const b=a.createBox(y),E=b.caret;b.caret=void 0;const ee=new Vr("\xB0",{style:Ee(xe({},a.style),{variant:"normal",variantStyle:"up"})});return new Vr([b,ee],{type:"inner",isSelected:a.isSelected,caret:E})}}),Mt("sqrt","[index:auto]{radicand:expression}",{ifMode:"math",createAtom:a=>new o0(Ee(xe({},a),{body:tt(a.args[1]),index:a.args[0]?tt(a.args[0]):void 0}))}),Mt(["frac","dfrac","tfrac","cfrac","binom","dbinom","tbinom"],"{:expression}{:expression}",{ifMode:"math",createAtom:a=>{const y=xe({},a),b=a.command,E=a.args;switch(b){case"\\dfrac":case"\\frac":case"\\tfrac":y.hasBarLine=!0;break;case"\\atopfrac":y.hasBarLine=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":y.hasBarLine=!1,y.leftDelim="(",y.rightDelim=")";break;case"\\cfrac":y.hasBarLine=!0,y.continuousFraction=!0;break;default:}switch(b){case"\\dfrac":case"\\dbinom":y.mathstyleName="displaystyle";break;case"\\tfrac":case"\\tbinom":y.mathstyleName="textstyle";break;default:}return new Cd(E[0]?tt(E[0]):[new Wi],E[1]?tt(E[1]):[new Wi],y)},serialize:(a,y)=>{const b=a.aboveToLatex(y),E=a.belowToLatex(y);return/^[0-9]$/.test(b)&&/^[0-9]$/.test(E)?`${a.command}${b}${E}`:yo(a.command,b,E)}}),Mt(["brace","brack"],"",{infix:!0,createAtom:a=>new Cd(tt(a.args[0]),tt(a.args[1]),Ee(xe({},a),{hasBarLine:!1,leftDelim:a.command==="\\brace"?"\\lbrace":"\\lbrack",rightDelim:a.command==="\\brace"?"\\rbrace":"\\rbrack"})),serialize:(a,y)=>wa([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Mt(["over","atop","choose"],"",{infix:!0,createAtom:a=>{let y,b;const E=a.args;return a.command==="\\choose"&&(y="(",b=")"),new Cd(tt(E[0]),tt(E[1]),Ee(xe({},a),{hasBarLine:a.command==="\\over",leftDelim:y,rightDelim:b}))},serialize:(a,y)=>wa([a.aboveToLatex(y),a.command,a.belowToLatex(y)])}),Mt(["overwithdelims","atopwithdelims"],"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}",{infix:!0,createAtom:a=>{var y,b;const E=a.args;return new Cd(tt(E[0]),tt(E[1]),Ee(xe({},a),{leftDelim:(y=E[2])!=null?y:".",rightDelim:(b=E[3])!=null?b:".",hasBarLine:!1}))},serialize:(a,y)=>`${a.aboveToLatex(y)} ${a.command}${a.leftDelim}${a.rightDelim}${a.belowToLatex(y)}`}),Mt("pdiff","{numerator}{denominator}",{ifMode:"math",createAtom:a=>new Cd(tt(a.args[0]),tt(a.args[1]),Ee(xe({},a),{hasBarLine:!0,numerPrefix:"\u2202",denomPrefix:"\u2202"}))}),Mt(["sum","prod","bigcup","bigcap","coprod","bigvee","bigwedge","biguplus","bigotimes","bigoplus","bigodot","bigsqcup","intop"],"",{ifMode:"math",createAtom:a=>new fh({coprod:"\u2210",bigvee:"\u22C1",bigwedge:"\u22C0",biguplus:"\u2A04",bigcap:"\u22C2",bigcup:"\u22C3",intop:"\u222B",prod:"\u220F",sum:"\u2211",bigotimes:"\u2A02",bigoplus:"\u2A01",bigodot:"\u2A00",bigsqcup:"\u2A06",smallint:"\u222B"}[a.command.slice(1)],Ee(xe({},a),{limits:"auto",variant:"main"}))}),Mt("smallint","",{ifMode:"math",createAtom:a=>new td("\u222B",Ee(xe({},a),{limits:"adjacent",variant:"main"}))});var op={int:"\u222B",iint:"\u222C",iiint:"\u222D",oint:"\u222E",oiint:"\u222F",oiiint:"\u2230",intclockwise:"\u2231",varointclockwise:"\u2232",ointctrclockwise:"\u2233",intctrclockwise:"\u2A11",sqcup:"\u2294",sqcap:"\u2293",uplus:"\u228E",wr:"\u2240",amalg:"\u2A3F",Cap:"\u22D2",Cup:"\u22D3",doublecap:"\u22D2",doublecup:"\u22D3"};Mt(Object.keys(op),"",{ifMode:"math",createAtom:a=>{const y=a.command,b=op[y.slice(1)];return new fh(b,Ee(xe({},a),{limits:"adjacent",variant:{"\u22D2":"ams","\u22D3":"ams"}[b]}))}}),Mt(["Re","Im"],"",{ifMode:"math",createAtom:a=>new td({"\\Re":"\u211C","\\Im":"\u2111"}[a.command],Ee(xe({},a),{limits:"adjacent",isFunction:!0,variant:"fraktur"}))}),Mt("middle","{:delim}",{ifMode:"math",createAtom:a=>{var y;return new r0(Ee(xe({},a),{delim:(y=a.args[0])!=null?y:"|",size:1}))}}),Mt("the","{:value}",{createAtom:a=>new ar(Ee(xe({},a),{captureSelection:!0,verbatimLatex:null})),render:(a,y)=>{var b;const E=new La({parent:y},a.style);let ee="";a.isSelected&&(ee+=" ML__selected");const re=E.evaluate(a.args[0]);return new Vr(((b=Yo(re))!=null?b:"").split("").map(oe=>new Vr(oe,{type:"ord",classes:ee,mode:a.mode,isSelected:a.isSelected,style:xe({variant:"main"},a.style)})),{type:"lift",style:a.style,caret:a.caret,isSelected:a.isSelected,classes:ee}).wrap(E)},serialize:a=>{var y;return`\\the${(y=Yo(a.args[0]))!=null?y:"\\relax"}`}}),Mt("mathtip","{:auto}{:math}",{createAtom:a=>new hh(Ee(xe({},a),{body:tt(a.args[0]),tooltip:tt(a.args[1]),content:"math"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${ar.serialize([a.tooltip],Ee(xe({},y),{defaultMode:"math"}))}}`}),Mt("texttip","{:auto}{:text}",{createAtom:a=>new hh(Ee(xe({},a),{body:tt(a.args[0]),tooltip:tt(a.args[1]),content:"text"})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\texttip{${a.bodyToLatex(y)}}{${ar.serialize([a.tooltip],Ee(xe({},y),{defaultMode:"text"}))}}`}),Mt("error","{:math}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),serialize:(a,y)=>`\\error{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__error"})}),Mt("ensuremath","{:math}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(Ee(xe({},y),{defaultMode:"math"}))}}`}),Mt("color","{:value}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=Yo(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),Mt("textcolor","{:value}{content:auto*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimColor:(E=Yo(y[0]))!=null?E:void 0,color:b.toColor((ee=y[0])!=null?ee:{string:"red"})}}}),Mt("boxed","{content:math}",{createAtom:a=>new as(Ee(xe({},a),{body:tt(a.args[0]),framecolor:{string:"black"}}))}),Mt("colorbox","{:value}{:text*}",{applyStyle:(a,y,b)=>{var E,ee;return{verbatimBackgroundColor:(E=Yo(y[0]))!=null?E:void 0,backgroundColor:b.toBackgroundColor((ee=y[0])!=null?ee:{string:"yellow"})}}}),Mt("fcolorbox","{frame-color:value}{background-color:value}{content:text}",{applyMode:"text",createAtom:a=>{var y,b;return new as(Ee(xe({},a),{body:tt(a.args[2]),framecolor:(y=a.args[0])!=null?y:{string:"blue"},backgroundcolor:(b=a.args[1])!=null?b:{string:"yellow"}}))},serialize:(a,y)=>{var b,E;return y.skipStyles?a.bodyToLatex(Ee(xe({},y),{defaultMode:"text"})):yo(a.command,(b=Yo(a.framecolor))!=null?b:"",(E=Yo(a.backgroundcolor))!=null?E:"",a.bodyToLatex(Ee(xe({},y),{defaultMode:"text"})))}}),Mt("bbox","[:bbox]{body:auto}",{createAtom:a=>{var y;const b=a.args[0],E=tt(a.args[1]);return b?new as(Ee(xe({},a),{body:E,padding:b.padding,border:b.border,backgroundcolor:(y=b.backgroundcolor)!=null?y:void 0})):new as(Ee(xe({},a),{body:E}))},serialize:(a,y)=>{var b,E;if(y.skipStyles)return a.bodyToLatex(y);let ee=a.command;if(Number.isFinite(a.padding)||a.border!==void 0||a.backgroundcolor!==void 0){const re=[];a.padding&&re.push((b=Yo(a.padding))!=null?b:""),a.border&&re.push(`border: ${a.border}`),a.backgroundcolor&&re.push((E=Yo(a.backgroundcolor))!=null?E:""),ee+=`[${re.join(",")}]`}return yo(ee,a.bodyToLatex(y))}}),Mt(["displaystyle","textstyle","scriptstyle","scriptscriptstyle"],"{:rest}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),render:(a,y)=>{const b=new La({parent:y,mathstyle:a.command.slice(1)},a.style),E=ar.createBox(b,a.body,{type:"lift"});return a.caret&&(E.caret=a.caret),a.bind(y,E)},serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{${wa([a.command,a.bodyToLatex(y)])}}`}),Mt(["tiny","scriptsize","footnotesize","small","normalsize","large","Large","LARGE","huge","Huge"],"",{applyStyle:a=>({fontSize:{"\\tiny":1,"\\scriptsize":2,"\\footnotesize":3,"\\small":4,"\\normalsize":5,"\\large":6,"\\Large":7,"\\LARGE":8,"\\huge":9,"\\Huge":10}[a]})}),Mt("fontseries","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontSeries:(b=y[0])!=null?b:"auto"}}}),Mt("fontshape","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontShape:(b=y[0])!=null?b:"auto"}}}),Mt("fontfamily","{:string}",{ifMode:"text",applyStyle:(a,y)=>{var b;return{fontFamily:(b=y[0])!=null?b:"roman"}}}),Mt("selectfont","",{ifMode:"text",applyStyle:()=>({})}),Mt("bf","{:rest}",{applyStyle:()=>({fontSeries:"b",fontShape:"n",fontFamily:"roman"})}),Mt(["boldsymbol","bm"],"{:math}",{applyMode:"math",createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),serialize:(a,y)=>`${a.command}{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__boldsymbol"})}),Mt("bold","{:math*}",{applyMode:"math",applyStyle:()=>({variantStyle:"bold"})}),Mt("bfseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Mt("mdseries","{:rest}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Mt("upshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Mt("slshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Mt("scshape","{:rest}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Mt("textbf","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"b"})}),Mt("textmd","{:text*}",{applyMode:"text",applyStyle:()=>({fontSeries:"m"})}),Mt("textup","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n"})}),Mt("textnormal","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"n",fontSeries:"m"})}),Mt("textsl","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sl"})}),Mt("textit","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"it"})}),Mt("textsc","{:text*}",{applyMode:"text",applyStyle:()=>({fontShape:"sc"})}),Mt("textrm","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"roman"})}),Mt("textsf","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"sans-serif"})}),Mt("texttt","{:text*}",{applyMode:"text",applyStyle:()=>({fontFamily:"monospace"})}),Mt("mathbf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"bold"})}),Mt("mathit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"italic"})}),Mt("mathnormal","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"italic"})}),Mt("mathbfit","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"main",variantStyle:"bolditalic"})}),Mt("mathrm","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"normal",variantStyle:"up"})}),Mt("mathsf","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"sans-serif",variantStyle:"up"})}),Mt("mathtt","{:math*}",{applyMode:"math",applyStyle:()=>({variant:"monospace",variantStyle:"up"})}),Mt("it","{:rest}",{applyStyle:()=>({fontSeries:"m",fontShape:"it",fontFamily:"roman",variantStyle:"italic"})}),Mt("rmfamily","",{applyStyle:()=>({fontFamily:"roman"})}),Mt("sffamily","",{applyStyle:()=>({fontFamily:"sans-serif"})}),Mt("ttfamily","",{applyStyle:()=>({fontFamily:"monospace"})}),Mt(["Bbb","mathbb"],"{:math*}",{applyStyle:()=>({variant:"double-struck",variantStyle:"up"})}),Mt(["frak","mathfrak"],"{:math*}",{applyStyle:()=>({variant:"fraktur",variantStyle:"up"})}),Mt("mathcal","{:math*}",{applyStyle:()=>({variant:"calligraphic",variantStyle:"up"})}),Mt("mathscr","{:math*}",{applyStyle:()=>({variant:"script",variantStyle:"up"})}),Mt("mbox","{:text}",{ifMode:"math",createAtom:a=>new ar(Ee(xe({},a),{type:"mord",body:tt(a.args[0]),mode:"math"})),serialize:(a,y)=>yo("\\mbox",a.bodyToLatex(Ee(xe({},y),{defaultMode:"text"})))}),Mt("text","{:text}",{ifMode:"math",applyMode:"text"}),Mt(["class","htmlClass"],"{name:string}{content:auto}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[1])})),serialize:(a,y)=>!a.args[0]||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`,render:(a,y)=>{var b;return a.createBox(y,{classes:(b=a.args[0])!=null?b:""})}}),Mt(["cssId","htmlId"],"{id:string}{content:auto}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.cssId=(b=a.args[0])!=null?b:"",E}}),Mt("htmlData","{data:string}{content:auto}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`\\htmlData{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlData=(b=a.args[0])!=null?b:"",E}}),Mt(["style","htmlStyle"],"{data:string}{content:auto}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[1])})),serialize:(a,y)=>{var b;return!((b=a.args)!=null&&b[0])||y.skipStyles?a.bodyToLatex(y):`${a.command}{${a.args[0]}}{${a.bodyToLatex(y)}}`},render:(a,y)=>{var b;const E=a.createBox(y);return E.htmlStyle=(b=a.args[0])!=null?b:"",E}}),Mt("em","{:rest}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`{\\em ${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})}),Mt("emph","{:auto}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[1])})),serialize:(a,y)=>y.skipStyles?a.bodyToLatex(y):`\\emph{${a.bodyToLatex(y)}}`,render:(a,y)=>a.createBox(y,{classes:"ML__emph",boxType:"lift"})});var sp={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}};Mt(["bigl","Bigl","biggl","Biggl","bigr","Bigr","biggr","Biggr","bigm","Bigm","biggm","Biggm","big","Big","bigg","Bigg"],"{:delim}",{createAtom:a=>{var y;return new i0(Ee(xe({},a),{delim:(y=a.args[0])!=null?y:".",size:sp[a.command].size,delimType:sp[a.command].mclass}))}}),Mt(["hspace","hspace*"],"{width:value}",{createAtom:a=>{var y;return new ef(Ee(xe({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Mt(["mkern","kern","mskip","hskip","mspace"],"{width:value}",{createAtom:a=>{var y;return new ef(Ee(xe({},a),{width:(y=a.args[0])!=null?y:{dimension:0}}))}}),Mt("mathchoice","{:math}{:math}{:math}{:math}",{createAtom:a=>new ar(a),render:(a,y)=>{let b=0;const E=y.mathstyle.id;(E===pc||E===Ul)&&(b=1),(E===Du||E===Ps)&&(b=2),(E===al||E===gs)&&(b=3);const ee=tt(a.args[b]);return ar.createBox(y,ee)},serialize:(a,y)=>`\\mathchoice{${ar.serialize(a.args[0],y)}}{${ar.serialize(a.args[1],y)}}{${ar.serialize(a.args[2],y)}}{${ar.serialize(a.args[3],y)}}`}),Mt("mathop","{:auto}",{createAtom:a=>new ar(Ee(xe({},a),{type:"mop",body:tt(a.args[0]),limits:"over-under",isFunction:!0,captureSelection:!0})),render:(a,y)=>{var b;let E=ar.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return new Vr(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[yo(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),wa(b)}}),Mt(["mathbin","mathrel","mathopen","mathclose","mathpunct","mathord","mathinner"],"{:auto}",{createAtom:a=>new ar(Ee(xe({},a),{type:{"\\mathbin":"mbin","\\mathrel":"mrel","\\mathopen":"mopen","\\mathclose":"mclose","\\mathpunct":"mpunct","\\mathord":"mord","\\mathinner":"minner"}[a.command],body:tt(a.args[0])}))}),Mt(["operatorname","operatorname*"],"{operator:math}",{createAtom:a=>{const y=tt(a.args[0]).map(b=>{var E;return b.type!=="first"&&(b.type="mord",b.value=(E={"\u2217":"*","\u2212":"-"}[b.value])!=null?E:b.value,b.isFunction=!1,!b.style.variant&&!b.style.variantStyle&&(b.style.variant="main",b.style.variantStyle="up")),b});return new ar(Ee(xe({},a),{type:"mop",body:y,isFunction:!0,limits:a.command==="\\operatorname"?"adjacent":"over-under"}))},render:(a,y)=>{var b;let E=ar.createBox(y,a.body);if(a.superscript||a.subscript){const ee=(b=a.subsupPlacement)!=null?b:"auto";E=ee==="over-under"||ee==="auto"&&y.isDisplayStyle?a.attachLimits(y,{base:E}):a.attachSupsub(y,{base:E})}return a.caret&&(E.caret=a.caret),new Vr(a.bind(y,E),{type:"op",isSelected:a.isSelected,classes:"op-group"})},serialize:(a,y)=>{const b=[yo(a.command,a.bodyToLatex(y))];return a.explicitSubsupPlacement&&(a.subsupPlacement==="over-under"&&b.push("\\limits"),a.subsupPlacement==="adjacent"&&b.push("\\nolimits"),a.subsupPlacement==="auto"&&b.push("\\displaylimits")),b.push(a.supsubToLatex(y)),wa(b)}}),Mt(["char","unicode"],"{charcode:value}",{createAtom:a=>new ar(Ee(xe({},a),{type:a.mode==="text"?"text":"mord"})),serialize:a=>{var y;return`${a.command}${Yo((y=a.args[0])!=null?y:{number:10067,base:"hexadecimal"})}`},render:(a,y)=>{let b=y.evaluate(a.args[0]);return(!b||!("number"in b))&&(b={number:10067,base:"hexadecimal"}),a.value=String.fromCodePoint(b.number),a.createBox(y)}}),Mt("rule","[raise:value]{width:value}{thickness:value}",{createAtom:a=>new ar(a),render:(a,y)=>{var b,E,ee;const re=new La({parent:y,mathstyle:"textstyle"},a.style),oe=re.toEm((b=a.args[0])!=null?b:{dimension:0}),me=re.toEm((E=a.args[1])!=null?E:{dimension:10}),ge=re.toEm((ee=a.args[2])!=null?ee:{dimension:10}),we=new Vr(null,{classes:"rule",type:"ord"});return we.width=me,we.height=ge+oe,we.depth=-oe,we.setStyle("border-right-width",me,"em"),we.setStyle("border-top-width",ge,"em"),we.setStyle("border-color",a.style.color),we.setStyle("vertical-align",oe,"em"),a.isSelected&&we.setStyle("opacity","50%"),a.bind(re,we),a.caret&&(we.caret=a.caret),we.wrap(y)},serialize:a=>`\\rule${a.args[0]?`[${Yo(a.args[0])}]`:""}{${Yo(a.args[1])}}{${Yo(a.args[2])}}`}),Mt(["overline","underline"],"{:auto}",{createAtom:a=>new ar(Ee(xe({},a),{body:tt(a.args[0])})),render:(a,y)=>{const b=a.command.substring(1),E=new La({parent:y,mathstyle:"cramp"},a.style),ee=ar.createBox(E,a.body);if(!ee)return null;const re=E.metrics.defaultRuleThickness/E.scalingFactor,oe=new Vr(null,{classes:b+"-line"});oe.height=re,oe.maxFontSize=re*1.125*E.scalingFactor;let me;return b==="overline"?me=new oo({shift:0,children:[{box:ee},3*re,{box:oe},re]}):me=new oo({top:ee.height,children:[re,{box:oe},3*re,{box:ee}]}),a.caret&&(me.caret=a.caret),new Vr(me,{classes:b,type:"ignore"})}}),Mt("overset","{:auto}{base:auto}",{createAtom:a=>{const y=tt(a.args[1]);return new bu(Ee(xe({},a),{above:tt(a.args[0]),body:y,skipBoundary:!1,boxType:Wu(y)}))},serialize:(a,y)=>yo(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Mt("underset","{:auto}{base:auto}",{createAtom:a=>{const y=tt(a.args[1]);return new bu(Ee(xe({},a),{below:tt(a.args[0]),body:y,skipBoundary:!1,boxType:Wu(y)}))},serialize:(a,y)=>yo(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Mt("overunderset","{above:auto}{below:auto}{base:auto}",{createAtom:a=>{const y=tt(a.args[2]);return new bu(Ee(xe({},a),{above:tt(a.args[0]),below:tt(a.args[1]),body:y,skipBoundary:!1,boxType:Wu(y)}))},serialize:(a,y)=>yo(a.command,a.belowToLatex(y),a.bodyToLatex(y))}),Mt(["stackrel","stackbin"],"[below:auto]{above:auto}{base:auto}",{createAtom:a=>new bu(Ee(xe({},a),{body:tt(a.args[2]),above:tt(a.args[1]),below:tt(a.args[0]),skipBoundary:!1,boxType:a.command==="\\stackrel"?"rel":"bin"})),serialize:(a,y)=>yo(a.command,a.aboveToLatex(y),a.bodyToLatex(y))}),Mt("smash","[:string]{:auto}",{createAtom:a=>{var y,b,E,ee;return new $d(Ee(xe({},a),{body:tt(a.args[1]),smashHeight:(b=(y=a.args[0])==null?void 0:y.includes("t"))!=null?b:!0,smashDepth:(ee=(E=a.args[0])==null?void 0:E.includes("b"))!=null?ee:!0}))}}),Mt(["vphantom"],"{:auto}",{createAtom:a=>new $d(Ee(xe({},a),{body:tt(a.args[0]),isInvisible:!0,smashWidth:!0}))}),Mt(["hphantom"],"{:auto}",{createAtom:a=>new $d(Ee(xe({},a),{body:tt(a.args[0]),isInvisible:!0,smashHeight:!0,smashDepth:!0}))}),Mt(["phantom"],"{:auto}",{createAtom:a=>new $d(Ee(xe({},a),{body:tt(a.args[0]),isInvisible:!0}))}),Mt("not","{:math}",{createAtom:a=>{const y=tt(a.args[0]);return y.length===0?new ar(Ee(xe({},a),{type:"mrel",value:"\uE020"})):new ar(Ee(xe({},a),{body:[new ed(Ee(xe({},a),{body:"\uE020",align:"right"})),...y],captureSelection:!0}))},serialize:(a,y)=>{const b=a.args[0],E=b&&typeof b=="object"&&"group"in b;return a.value!=="\uE020"?E?`\\not{${ar.serialize(b.group,y)}}`:`\\not${ar.serialize(b,y)}`:E?"\\not{}":"\\not"},render:(a,y)=>{if(a.value)return a.createBox(y);const E=a.args[0]&&typeof a.args[0]=="object"&&"group"in a.args[0]?"ord":Wu(tt(a.args[0])),ee=ar.createBox(y,a.body,{type:E});return a.caret&&(ee.caret=a.caret),a.bind(y,ee)}}),Mt(["ne","neq"],"",{createAtom:a=>new ar(Ee(xe({},a),{type:"mrel",body:[new ed(Ee(xe({},a),{body:"\uE020",align:"right",boxType:"rel"})),new ar(Ee(xe({},a),{value:"="}))],captureSelection:!0})),serialize:a=>a.command}),Mt("rlap","{:auto}",{createAtom:a=>new ed(Ee(xe({},a),{body:tt(a.args[0]),align:"right"}))}),Mt("llap","{:auto}",{createAtom:a=>new ed(Ee(xe({},a),{body:tt(a.args[0]),align:"left"}))}),Mt("mathrlap","{:math}",{createAtom:a=>new ed(Ee(xe({},a),{body:tt(a.args[0]),align:"left"}))}),Mt("mathllap","{:math}",{createAtom:a=>new ed(Ee(xe({},a),{body:tt(a.args[0]),align:"left"}))}),Mt("raisebox","{:value}{:text}",{createAtom:a=>{var y;return new as(Ee(xe({},a),{body:tt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return yo("\\raisebox",(b=Yo(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Mt("raise","{:value}{:auto}",{createAtom:a=>{var y;return new as(Ee(xe({},a),{body:tt(a.args[1]),padding:{dimension:0},offset:(y=a.args[0])!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b;return yo("\\raise",(b=Yo(a.offset))!=null?b:"0pt",a.bodyToLatex(y))}}),Mt("lower","{:value}{:auto}",{createAtom:a=>{var y;return new as(Ee(xe({},a),{body:tt(a.args[1]),padding:{dimension:0},offset:(y=zl(a.args[0],-1))!=null?y:{dimension:0}}))},serialize:(a,y)=>{var b,E;return yo("\\lower",(E=Yo(zl((b=a.offset)!=null?b:{dimension:0},-1)))!=null?E:"0pt",a.bodyToLatex(y))}}),Pe("0123456789/@.?!"),_e(65,90),_e(97,122),Pe([["\\forall",8704],["\\exists",8707],["\\nexists",8708,"mord","ams"],["\\mid",8739,"mrel"],["\\top",8868],["\\bot",8869]]),Pe([["\\#",35],["\\&",38],["\\parallelogram",9649],["\\spadesuit",9824],["\\heartsuit",9825],["\\diamondsuit",9826],["\\clubsuit",9827],["\\flat",9837],["\\natural",9838],["\\sharp",9839]]),Pe([["\\backslash",92],["\\nabla",8711],["\\partial",8706],["\\ell",8467],["\\hbar",8463],["\\Q",81,"mord","double-struck"],["\\C",67,"mord","double-struck"],["\\P",80,"mord","double-struck"],["\\pounds",163],["\\euro",8364]]),Pe([["\\rightarrow",8594],["\\to",8594],["\\leftarrow",8592],["\\gets",8592],["\\Rightarrow",8658],["\\Leftarrow",8656],["\\longrightarrow",10230],["\\longleftarrow",10229],["\\Longrightarrow",10233],["\\implies",10233],["\\Longleftarrow",10232],["\\impliedby",10232],["\\longleftrightarrow",10231],["\\biconditional",10231],["\\Longleftrightarrow",10234],["\\mapsto",8614],["\\longmapsto",10236],["\\uparrow",8593],["\\downarrow",8595],["\\Uparrow",8657],["\\Downarrow",8659],["\\updownarrow",8597],["\\Updownarrow",8661],["\\hookrightarrow",8618],["\\hookleftarrow",8617],["\\rightharpoonup",8640],["\\leftharpoonup",8636],["\\rightharpoondown",8641],["\\leftharpoondown",8637],["\\searrow",8600],["\\nearrow",8599],["\\swarrow",8601],["\\nwarrow",8598],["\\originalof",8886],["\\laplace",8886],["\\imageof",8887],["\\Laplace",8887]],"mrel"),Pe([["\\mapsfrom",8612,"mrel"],["\\Mapsfrom",10502,"mrel"],["\\MapsTo",10503,"mrel"],["\\Yup",8516,"mord"],["\\lightning",8623,"mrel"],["\\leftarrowtriangle",8701,"mrel"],["\\rightarrowtriangle",8702,"mrel"],["\\leftrightarrowtriangle",8703,"mrel"],["\\boxdot",8865,"mbin"],["\\bigtriangleup",9651,"mbin"],["\\bigtriangledown",9661,"mbin"],["\\boxbar",9707,"mbin"],["\\Lbag",10181,"mopen"],["\\Rbag",10182,"mclose"],["\\llbracket",10214,"mopen"],["\\rrbracket",10215,"mclose"],["\\longmapsfrom",10235,"mrel"],["\\Longmapsfrom",10237,"mrel"],["\\Longmapsto",10238,"mrel"],["\\boxslash",10692,"mbin"],["\\boxbslash",10693,"mbin"],["\\boxast",10694,"mbin"],["\\boxcircle",10695,"mbin"],["\\boxbox",10696,"mbin"],["\\fatsemi",10783,"mop"],["\\leftslice",10918,"mrel"],["\\rightslice",10919,"mrel"],["\\interleave",10996,"mbin"],["\\biginterleave",11004,"mop"],["\\sslash",11005,"mbin"],["\\talloblong",11006,"mbin"]]),Pe([["\\lbrace",123,"mopen"],["\\rbrace",125,"mclose"],["\\lparen",40,"mopen"],["\\rparen",41,"mclose"],["\\langle",10216,"mopen"],["\\rangle",10217,"mclose"],["\\lfloor",8970,"mopen"],["\\rfloor",8971,"mclose"],["\\lceil",8968,"mopen"],["\\rceil",8969,"mclose"],["\\vert",8739],["\\lvert",8739,"mopen"],["\\rvert",8739,"mclose"],["\\|",8741],["\\Vert",8741],["\\mVert",8741],["\\lVert",8741,"mopen"],["\\rVert",8741,"mclose"],["\\lbrack",91,"mopen"],["\\rbrack",93,"mclose"],["\\{",123,"mopen"],["\\}",125,"mclose"],["(",40,"mopen"],[")",41,"mclose"],["[",91,"mopen"],["]",93,"mclose"],["\\ulcorner",9484,"mopen","ams"],["\\urcorner",9488,"mclose","ams"],["\\llcorner",9492,"mopen","ams"],["\\lrcorner",9496,"mclose","ams"],["\\lgroup",10222,"mopen"],["\\rgroup",10223,"mclose"],["\\lmoustache",9136,"mopen"],["\\rmoustache",9137,"mclose"]]),Pe([["\\dashrightarrow",8674],["\\dashleftarrow",8672],["\\Rrightarrow",8667],["\\Lleftarrow",8666],["\\leftrightarrows",8646],["\\rightleftarrows",8644],["\\curvearrowright",8631],["\\curvearrowleft",8630],["\\rightrightarrows",8649],["\\leftleftarrows",8647],["\\upuparrows",8648],["\\downdownarrows",8650],["\\vartriangle",9651],["\\triangleq",8796],["\\vartriangleleft",8882],["\\trianglelefteq",8884],["\\ntriangleleft",8938],["\\ntrianglelefteq",8940],["\\vartriangleright",8883],["\\trianglerighteq",8885],["\\ntriangleright",8939],["\\ntrianglerighteq",8941],["\\blacktriangleleft",9664],["\\blacktriangleright",9654],["\\leftarrowtail",8610],["\\rightarrowtail",8611],["\\looparrowright",8620],["\\looparrowleft",8619],["\\twoheadleftarrow",8606],["\\twoheadrightarrow",8608],["\\twoheadrightarrowtail",10518],["\\rightleftharpoons",8652],["\\leftrightharpoons",8651],["\\Rsh",8625],["\\Lsh",8624],["\\circlearrowright",8635],["\\circlearrowleft",8634],["\\restriction",8638],["\\upharpoonright",8638],["\\upharpoonleft",8639],["\\downharpoonright",8642],["\\downharpoonleft",8643],["\\rightsquigarrow",8669],["\\leadsto",8669],["\\leftrightsquigarrow",8621],["\\multimap",8888],["\\nleftarrow",8602],["\\nrightarrow",8603],["\\nRightarrow",8655],["\\nLeftarrow",8653],["\\nleftrightarrow",8622],["\\nLeftrightarrow",8654],["\\nvrightarrow",8696],["\\nvtwoheadrightarrow",10496],["\\nvrightarrowtail",10516],["\\nvtwoheadrightarrowtail",10519],["\\shortparallel",8741],["\\nless",8814],["\\nleqslant",57360],["\\lneq",10887],["\\lneqq",8808],["\\nleqq",57361],["\\lvertneqq",57356],["\\lnsim",8934],["\\lnapprox",10889],["\\nprec",8832],["\\npreceq",8928],["\\precnsim",8936],["\\precnapprox",10937],["\\nsim",8769],["\\nshortmid",57350],["\\nmid",8740],["\\nvdash",8876],["\\nvDash",8877],["\\ngtr",8815],["\\ngeqslant",57359],["\\ngeqq",57358],["\\gneq",10888],["\\gneqq",8809],["\\gvertneqq",57357],["\\gnsim",8935],["\\gnapprox",10890],["\\nsucc",8833],["\\nsucceq",8929],["\\succnsim",8937],["\\succnapprox",10938],["\\ncong",8774],["\\nshortparallel",57351],["\\nparallel",8742],["\\nVDash",8879],["\\nsupseteqq",57368],["\\supsetneq",8843],["\\varsupsetneq",57371],["\\supsetneqq",10956],["\\varsupsetneqq",57369],["\\nVdash",8878],["\\precneqq",10933],["\\succneqq",10934],["\\nsubseteqq",57366],["\\leqslant",10877],["\\geqslant",10878],["\\gtrsim",8819],["\\approxeq",8778],["\\thickapprox",8776],["\\lessapprox",10885],["\\gtrapprox",10886],["\\precapprox",10935],["\\succapprox",10936],["\\thicksim",8764],["\\succsim",8831],["\\precsim",8830],["\\backsim",8765],["\\eqsim",8770],["\\backsimeq",8909],["\\lesssim",8818],["\\nleq",8816],["\\ngeq",8817],["\\smallsmile",8995],["\\smallfrown",8994],["\\leqq",8806],["\\eqslantless",10901],["\\lll",8920],["\\lessgtr",8822],["\\lesseqgtr",8922],["\\lesseqqgtr",10891],["\\risingdotseq",8787],["\\fallingdotseq",8786],["\\subseteqq",10949],["\\Subset",8912],["\\sqsubset",8847],["\\preccurlyeq",8828],["\\curlyeqprec",8926],["\\vDash",8872],["\\Vvdash",8874],["\\bumpeq",8783],["\\Bumpeq",8782],["\\geqq",8807],["\\eqslantgtr",10902],["\\ggg",8921],["\\gtrless",8823],["\\gtreqless",8923],["\\gtreqqless",10892],["\\supseteqq",10950],["\\Supset",8913],["\\sqsupset",8848],["\\succcurlyeq",8829],["\\curlyeqsucc",8927],["\\Vdash",8873],["\\shortmid",8739],["\\between",8812],["\\pitchfork",8916],["\\varpropto",8733],["\\backepsilon",8717],["\\llless",8920],["\\gggtr",8921],["\\doteqdot",8785],["\\Doteq",8785],["\\eqcirc",8790],["\\circeq",8791],["\\therefore",8756],["\\because",8757]],"mrel","ams"),Pe([["+",43],["-",8722],["\u2212",8722],["\\pm",177],["\\mp",8723],["*",8727],["\\times",215],["\\div",247],["\\divides",8739],["\\cdot",8901],["\\cap",8745],["\\cup",8746],["\\setminus",8726],["\\land",8743],["\\wedge",8743],["\\lor",8744],["\\vee",8744],["\\circ",8728],["\\bigcirc",9711],["\\bullet",8729],["\\oplus",8853],["\\ominus",8854],["\\otimes",8855],["\\odot",8857],["\\oslash",8856],["\\bigtriangleup",9651],["\\bigtriangledown",9661],["\\triangleleft",9667],["\\triangleright",9657],["\\And",38],["\\dagger",8224],["\\dag",8224],["\\ddag",8225],["\\ddagger",8225],["\\ast",8727],["\\star",8902],["\\bigstar",9733],["\\diamond",8900]],"mbin"),Pe([["\\lhd",8882],["\\rhd",8883],["\\lessdot",8918],["\\gtrdot",8919],["\\ltimes",8905],["\\rtimes",8906],["\\leftthreetimes",8907],["\\rightthreetimes",8908],["\\intercal",8890],["\\dotplus",8724],["\\doublebarwedge",10846],["\\divideontimes",8903],["\\centerdot",8901],["\\smallsetminus",8726],["\\barwedge",8892],["\\veebar",8891],["\\nor",8891],["\\curlywedge",8911],["\\curlyvee",8910],["\\boxminus",8863],["\\boxplus",8862],["\\boxtimes",8864],["\\boxdot",8865],["\\circleddash",8861],["\\circledast",8859],["\\circledcirc",8858],["\\unlhd",8884],["\\unrhd",8885]],"mbin","ams"),Pe([["\\surd",8730],["\\infty",8734],["\\prime",8242],["\\doubleprime",8243],["\\angle",8736],["`",8216],["\\$",36],["\\%",37],["\\_",95],["\\alpha",945],["\\beta",946],["\\gamma",947],["\\delta",948],["\\epsilon",1013],["\\varepsilon",949],["\\zeta",950],["\\eta",951],["\\theta",952],["\\vartheta",977],["\\iota",953],["\\kappa",954],["\\varkappa",1008,"mord","ams"],["\\lambda",955],["\\mu",956],["\\nu",957],["\\xi",958],["\\omicron",111],["\\pi",960],["\\varpi",982],["\\rho",961],["\\varrho",1009],["\\sigma",963],["\\varsigma",962],["\\tau",964],["\\phi",981],["\\varphi",966],["\\upsilon",965],["\\chi",967],["\\psi",968],["\\omega",969],["\\Gamma",915],["\\Delta",916],["\\Theta",920],["\\Lambda",923],["\\Xi",926],["\\Pi",928],["\\Sigma",931],["\\Upsilon",933],["\\Phi",934],["\\Psi",936],["\\Omega",937],["\\digamma",989,"mord","ams"],["\\emptyset",8709]]),Pe([["=",61],["<",60],["\\lt",60],[">",62],["\\gt",62],["\\le",8804],["\\leq",8804],["\\ge",8805],["\\geq",8805],["\\ll",8810],["\\gg",8811],["\\coloneq",8788],["\\coloneqq",8788],["\\colonequals",8788],["\\measeq",8797],["\\eqdef",8798],["\\questeq",8799],[":",58],["\\cong",8773],["\\equiv",8801],["\\prec",8826],["\\preceq",10927],["\\succ",8827],["\\succeq",10928],["\\perp",8869],["\\propto",8733],["\\Colon",8759],["\\smile",8995],["\\frown",8994],["\\sim",8764],["\\doteq",8784],["\\bowtie",8904],["\\Join",8904],["\\asymp",8781],["\\sqsubseteq",8849],["\\sqsupseteq",8850],["\\approx",8776],["\\~",126],["\\leftrightarrow",8596],["\\Leftrightarrow",8660],["\\models",8872],["\\vdash",8866],["\\dashv",8867],["\\roundimplies",10608],["\\in",8712],["\\notin",8713],["\\ni",8715],["\\owns",8715],["\\subset",8834],["\\supset",8835],["\\subseteq",8838],["\\supseteq",8839],["\\differencedelta",8710],["\\mvert",8739],["\\parallel",8741],["\\simeq",8771]],"mrel"),Pe([["\\lnot",172],["\\neg",172],["\\triangle",9651],["\\subsetneq",8842],["\\varsubsetneq",57370],["\\subsetneqq",10955],["\\varsubsetneqq",57367],["\\nsubset",8836],["\\nsupset",8837],["\\nsubseteq",8840],["\\nsupseteq",8841]],"mrel","ams"),Pe([["\\wp",8472],["\\aleph",8501]]),Pe([["\\blacktriangle",9650],["\\hslash",8463],["\\Finv",8498],["\\Game",8513],["\\eth",240],["\\mho",8487],["\\Bbbk",107],["\\yen",165],["\\square",9633],["\\Box",9633],["\\blacksquare",9632],["\\circledS",9416],["\\circledR",174],["\\triangledown",9661],["\\blacktriangledown",9660],["\\checkmark",10003],["\\diagup",9585],["\\measuredangle",8737],["\\sphericalangle",8738],["\\backprime",8245],["\\backdoubleprime",8246],["\\Diamond",9674],["\\lozenge",9674],["\\blacklozenge",10731],["\\varnothing",8709],["\\complement",8705],["\\maltese",10016],["\\beth",8502],["\\daleth",8504],["\\gimel",8503]],"mord","ams"),Pe([["\\ ",160],["~",160]],"space"),Mt(["!",",",":",";",">","enskip","enspace","quad","qquad"],"",{createAtom:a=>new ef(a)}),Mt("space","",{createAtom:a=>new ef(a)}),Pe([["\\colon",58],["\\cdotp",8901],["\\vdots",8942,"mord"],["\\ldotp",46],[",",44],[";",59]],"mpunct"),Pe([["\\cdots",8943],["\\ddots",8945],["\\ldots",8230],["\\mathellipsis",8230]],"minner"),Pe([["\\/",47],["|",8739,"mord"],["\\imath",305],["\\jmath",567],["\\degree",176],["'",8242],['"',8221]]);var lp="<mo>⁡</mo>",rh="<mo>⁢</mo>";function ih(a){return a.replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function wo(a,y){return!a||!y.generateID?"":` extid="${a}"`}function Ev(a,y,b){var E,ee,re,oe,me,ge,we,Me,Je,mt,It;let _t=!1;y=y!=null?y:a.atoms.length;let Wn="",Yr="",zn=a.atoms[a.index];const hr=(ee=(E=zn.style)==null?void 0:E.variant)!=null?ee:"",ei=(oe=(re=zn.style)==null?void 0:re.variantStyle)!=null?oe:"";let Ar="";if(hr||ei){const Hi=$t(zn.value,(me=zn.style)==null?void 0:me.variant,(ge=zn.style)==null?void 0:ge.variantStyle);if(Hi!==zn.value)return a.index+=1,Wn=`<mi${wo(zn.id,b)}>${Hi}</mi>`,xc(Wn,a,b)||(a.mathML+=Wn,a.lastType="mi"),!0;Ar=(we={upnormal:"normal",boldnormal:"bold",italicmain:"italic",bolditalicmain:"bold-italic","updouble-struck":"double-struck","double-struck":"double-struck",boldfraktur:"bold-fraktur",calligraphic:"script",upcalligraphic:"script",script:"script",boldscript:"bold-script",boldcalligraphic:"bold-script",fraktur:"fraktur","upsans-serif":"sans-serif","boldsans-serif":"bold-sans-serif","italicsans-serif":"sans-serif-italic","bolditalicsans-serif":"sans-serif-bold-italic",monospace:"monospace"}[ei+hr])!=null?we:"",Ar=` mathvariant="${Ar}"`}const Li={"\\exponentialE":"ⅇ","\\imaginaryI":"ⅈ","\\differentialD":"ⅆ","\\capitalDifferentialD":"ⅅ","\\alpha":"α","\\pi":"π","\\infty":"∞","\\forall":"∀","\\nexists":"∄","\\exists":"∃","\\hbar":"\u210F","\\cdotp":"\u22C5","\\ldots":"\u2026","\\cdots":"\u22EF","\\ddots":"\u22F1","\\vdots":"\u22EE","\\ldotp":"."};if(zn.command==="!")return a.index+=1,Wn="<mo>!</mo>",xc(Wn,a,b)||(a.mathML+=Wn,a.lastType="mo"),!0;if(Li[zn.command]){a.index+=1;let Hi=`<mi${wo(zn.id,b)}${Ar}>${Li[zn.command]}</mi>`;return(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mtext"||a.lastType==="fence")&&(Hi=rh+Hi),xc(Hi,a,b)||(a.mathML+=Hi,a.lastType="mi"),!0}if(zn.command==="\\operatorname")Yr=Id(zn.body),a.index+=1;else if(hr||ei)for(;a.index<y&&(zn.type==="mord"||zn.type==="macro")&&!zn.isDigit()&&hr===((Je=(Me=zn.style)==null?void 0:Me.variant)!=null?Je:"")&&ei===((It=(mt=zn.style)==null?void 0:mt.variantStyle)!=null?It:"");)Yr+=Id([zn]),a.index+=1,zn=a.atoms[a.index];else(zn.type==="mord"||zn.type==="macro")&&!zn.isDigit()&&(Yr+=Id([zn]),a.index+=1);if(Yr.length>0){_t=!0,Wn=`<mi${Ar}>${Yr}</mi>`;const Hi=a.lastType;Wn.endsWith(">f</mi>")||Wn.endsWith(">g</mi>")?(Wn+=lp,a.lastType="applyfunction"):a.lastType=/^<mo>(.*)<\/mo>$/.test(Wn)?"mo":"mi",xc(Wn,a,b)||((Hi==="mi"||Hi==="mn"||Hi==="mtext"||Hi==="fence")&&(Wn=rh+Wn),a.mathML+=Wn)}return _t}function Av(a){return a.index<a.atoms.length&&a.atoms[a.index].superscript&&a.atoms[a.index].type==="subsup"}function Mv(a){let y=-1,b=a.index,E=!1,ee=!1;for(;b<a.atoms.length&&!E&&!ee;){const re=a.atoms[b];E=!re.isDigit(),ee=!E&&re.superscript!==void 0,b++}return ee&&(y=b-1),y}function xc(a,y,b){var E;let ee=y.atoms[y.index-1];if(!ee)return!1;if(!ee.superscript&&!ee.subscript)if(((E=y.atoms[y.index])==null?void 0:E.type)==="subsup")ee=y.atoms[y.index],y.index+=1;else return!1;const re=y.lastType;y.lastType="";const oe=Ja(ee.superscript,b);y.lastType="";const me=Ja(ee.subscript,b);if(y.lastType=re,!oe&&!me)return!1;let ge="";return oe&&me?ge=`<msubsup>${a}${me}${oe}</msubsup>`:oe?ge=`<msup>${a}${oe}</msup>`:me&&(ge=`<msub>${a}${me}</msub>`),y.mathML+=ge,y.lastType="",!0}function kv(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="";for(;a.index<y&&a.atoms[a.index].mode==="text";)ee+=a.atoms[a.index].value?a.atoms[a.index].value:" ",a.index+=1;return ee.length>0?(a.mathML+=`<mtext ${wo(a.atoms[E].id,b)}>${ee}</mtext>`,a.lastType="mtext",!0):!1}function Dv(a,y,b){y=y!=null?y:a.atoms.length;const E=a.index;let ee="",re=Mv(a);for(re>=0&&re<y&&(y=re);a.index<y&&a.atoms[a.index].isDigit();)ee+=a.atoms[a.index].asDigit(),a.index+=1;return ee.length<=0?!1:(ee="<mn"+wo(a.atoms[E].id,b)+">"+ee+"</mn>",re<0&&Av(a)&&(re=a.index,a.index+=1),xc(ee,a,b)||(a.mathML+=ee,a.lastType="mn"),!0)}function Bv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",re="";if(a.index<y&&a.atoms[a.index].type==="mopen"){let oe=!1,me=0;const ge=a.index;let we=-1,Me=ge+1;for(;Me<y&&!oe;)a.atoms[Me].type==="mopen"?me+=1:a.atoms[Me].type==="mclose"&&(me-=1),me===-1&&(oe=!0,we=Me),Me+=1;oe&&(ee="<mrow>",ee+=dd(a.atoms[ge],b),ee+=Ja(a.atoms,b,ge+1,we),ee+=dd(a.atoms[we],b),ee+="</mrow>",a.index=we+1,(a.lastType==="mi"||a.lastType==="mn"||a.lastType==="mfrac"||a.lastType==="fence")&&(a.mathML+=rh),xc(ee,a,b)&&(E=!0,a.lastType="",ee=""),re="fence")}return ee.length>0&&(E=!0,a.mathML+=ee,a.lastType=re),E}function Lv(a,y,b){let E=!1;y=y!=null?y:a.atoms.length;let ee="",re="";const oe=a.atoms[a.index];if(!oe)return!1;const me={"\\ne":"≠","\\neq":"&neq;","\\pm":"±","\\times":"×","\\colon":":","\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lbrack":"[","\\rbrack":"]","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"};if(me[oe.command]){a.index+=1;const ge=`<mo${wo(oe.id,b)}>${me[oe.command]}</mo>`;return xc(ge,a,b)||(a.mathML+=ge,a.lastType="mo"),!0}if(a.index<y&&(oe.type==="mbin"||oe.type==="mrel"))ee+=jh(a.atoms[a.index],b),a.index+=1,re="mo";else if(a.index<y&&(oe.type==="mop"||oe.type==="operator"||oe.type==="extensible-symbol")){if(oe.subsupPlacement==="over-under"&&(oe.superscript||oe.subscript)){const ge=dd(oe,b);return oe.superscript&&oe.subscript?(ee+="<munderover>"+ge,ee+=Ja(oe.subscript,b),ee+=Ja(oe.superscript,b),ee+="</munderover>"):oe.superscript?(ee+="<mover>"+ge,ee+=Ja(oe.superscript,b),ee+="</mover>"):oe.subscript&&(ee+="<munder>"+ge,ee+=Ja(oe.subscript,b),ee+="</munder>"),a.mathML+=ee,a.lastType="mo",a.index+=1,!0}{const ge=a.atoms[a.index],we=ge.value==="\\operatorname",Me=we?'<mi class="MathML-Unit"'+wo(ge.id,b)+">"+Id(ge.value)+"</mi>":dd(ge,b);ee+=Me,!we&&!/^<mo>(.*)<\/mo>$/.test(Me)?(ee+=lp,re="applyfunction"):re=we?"mi":"mo"}(a.lastType==="mi"||a.lastType==="mn")&&!/^<mo>(.*)<\/mo>$/.test(ee)&&(ee=rh+ee),a.index+=1}return ee.length>0&&(E=!0,xc(ee,a,b)||(a.mathML+=ee,a.lastType=re)),E}function Ja(a,y,b,E){y!=null||(y={});const ee={atoms:[],index:b!=null?b:0,mathML:"",lastType:""};if(typeof a=="number"||typeof a=="boolean")ee.mathML=a.toString();else if(typeof a=="string")ee.mathML=a;else if(a instanceof ar)ee.mathML=jh(a,y);else if(Array.isArray(a)){ee.atoms=a;let re=0;for(E=E||(a?a.length:0);ee.index<E;)if(kv(ee,E,y)||Dv(ee,E,y)||Ev(ee,E,y)||Lv(ee,E,y)||Bv(ee,E,y))re+=1;else if(ee.index<E){let oe=jh(ee.atoms[ee.index],y);ee.lastType==="mn"&&oe.length>0&&ee.atoms[ee.index].type==="genfrac"&&(oe="<mo>⁤</mo>"+oe),ee.atoms[ee.index].type==="genfrac"?ee.lastType="mfrac":ee.lastType="",ee.index+=1,xc(oe,ee,y)?re+=1:oe.length>0&&(ee.mathML+=oe,re+=1)}re>1&&(ee.mathML="<mrow>"+ee.mathML+"</mrow>")}return ee.mathML}function dd(a,y){let b="";const E=Id(a.value);return E&&(b="<mo"+wo(a.id,y)+">"+E+"</mo>"),b}function Id(a){if(!a)return"";if(typeof a=="string")return ih(a);if(!Array.isArray(a)&&typeof a.body=="string")return ih(a.body);let y="";for(const b of a)typeof b.value=="string"&&(y+=b.value);return ih(y)}function jh(a,y){var b,E,ee,re,oe,me,ge,we,Me,Je,mt,It,_t,Wn,Yr,zn,hr,ei,Ar,Li,Hi,Ri;if(a.mode==="text")return`<mi${wo(a.id,y)}>${a.value}</mi>`;const Na={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",longleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",longrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",longrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xleftrightarrows:"\u21C4",xRightleftharpoons:"\u21CC",longRightleftharpoons:"\u21CC",xLeftrightharpoons:"\u21CB",longLeftrightharpoons:"\u21CB"},po={"\\!":-3/18,"\\ ":6/18,"\\,":3/18,"\\:":4/18,"\\>":4/18,"\\;":5/18,"\\enspace":.5,"\\quad":1,"\\qquad":2,"\\enskip":.5};let ii="",eu="",ec,wu,Ws,tu,Bl,Co;const{command:ss}=a;if(a.command==="\\error")return`<merror${wo(a.id,y)}>${Ja(a.body,y)}</merror>`;const Zs={"\\vert":"|","\\Vert":"\u2225","\\mid":"\u2223","\\lbrack":"[","\\rbrack":"]","\\{":"{","\\}":"}","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"\u27E8","\\rangle":"\u27E9","\\lfloor":"\u230A","\\rfloor":"\u230B","\\lceil":"\u2308","\\rceil":"\u2309"},tc={"\\vec":"⃗","\\acute":"´","\\grave":"`","\\dot":"˙","\\ddot":"¨","\\tilde":"~","\\bar":"¯","\\breve":"˘","\\check":"ˇ","\\hat":"^"};switch(a.type){case"first":break;case"group":case"root":ii=Ja(a.body,y);break;case"array":if((a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(ii+="<mrow>",a.leftDelim&&a.leftDelim!=="."&&(ii+="<mo>"+(Zs[a.leftDelim]||a.leftDelim)+"</mo>")),ii+="<mtable",a.colFormat){for(ii+=' columnalign="',Ws=0;Ws<a.colFormat.length;Ws++)a.colFormat[Ws].align&&(ii+={l:"left",c:"center",r:"right"}[a.colFormat[Ws].align]+" ");ii+='"'}for(ii+=">",wu=0;wu<a.array.length;wu++){for(ii+="<mtr>",ec=0;ec<a.array[wu].length;ec++)ii+="<mtd>"+Ja(a.array[wu][ec],y)+"</mtd>";ii+="</mtr>"}ii+="</mtable>",(a.leftDelim&&a.leftDelim!=="."||a.rightDelim&&a.rightDelim!==".")&&(a.rightDelim&&a.rightDelim!=="."&&(ii+="<mo>"+(Zs[a.leftDelim]||a.rightDelim)+"</mo>"),ii+="</mrow>");break;case"genfrac":(a.leftDelim||a.rightDelim)&&(ii+="<mrow>"),a.leftDelim&&a.leftDelim!=="."&&(ii+="<mo"+wo(a.id,y)+">"+(Zs[a.leftDelim]||a.leftDelim)+"</mo>"),a.hasBarLine?(ii+="<mfrac>",ii+=Ja(a.above,y)||"<mi> </mi>",ii+=Ja(a.below,y)||"<mi> </mi>",ii+="</mfrac>"):(ii+="<mtable"+wo(a.id,y)+">",ii+="<mtr>"+Ja(a.above,y)+"</mtr>",ii+="<mtr>"+Ja(a.below,y)+"</mtr>",ii+="</mtable>"),a.rightDelim&&a.rightDelim!=="."&&(ii+="<mo"+wo(a.id,y)+">"+(Zs[a.rightDelim]||a.rightDelim)+"</mo>"),(a.leftDelim||a.rightDelim)&&(ii+="</mrow>");break;case"surd":a.hasEmptyBranch("above")?(ii+="<msqrt"+wo(a.id,y)+">",ii+=Ja(a.body,y),ii+="</msqrt>"):(ii+="<mroot"+wo(a.id,y)+">",ii+=Ja(a.body,y),ii+=Ja(a.above,y),ii+="</mroot>");break;case"leftright":const nc=a,rc=nc.leftDelim;ii="<mrow>",rc&&rc!=="."&&(ii+=`<mo${wo(a.id,y)}>${(b=Zs[rc])!=null?b:rc}</mo>`),a.body&&(ii+=Ja(a.body,y));const ic=nc.matchingRightDelim();ic&&ic!=="."&&(ii+=`<mo${wo(a.id,y)}>${(E=Zs[ic])!=null?E:ic}</mo>`),ii+="</mrow>";break;case"sizeddelim":case"delim":ii+=`<mo${wo(a.id,y)}>${Zs[a.value]||a.value}</mo>`;break;case"accent":ii+='<mover accent="true"'+wo(a.id,y)+">",ii+=Ja(a.body,y),ii+="<mo>"+(tc[ss]||a.accent)+"</mo>",ii+="</mover>";break;case"line":case"overlap":break;case"overunder":Bl=a.above,tu=a.below,(a.svgAbove||Bl)&&(a.svgBelow||tu)?Co=a.body:Bl&&Bl.length>0?(Co=a.body,(re=(ee=a.body)==null?void 0:ee[0])!=null&&re.below?(tu=a.body[0].below,Co=a.body[0].body):((me=(oe=a.body)==null?void 0:oe[0])==null?void 0:me.type)==="first"&&((we=(ge=a.body)==null?void 0:ge[1])!=null&&we.below)&&(tu=a.body[1].below,Co=a.body[1].body)):tu&&tu.length>0&&(Co=a.body,(Je=(Me=a.body)==null?void 0:Me[0])!=null&&Je.above?(Bl=a.body[0].above,Co=a.body[0].body):((It=(mt=a.body)==null?void 0:mt[0])==null?void 0:It.type)==="first"&&((Wn=(_t=a.body)==null?void 0:_t[1])!=null&&Wn.above)&&(Bl=a.body[1].overscript,Co=a.body[1].body)),(a.svgAbove||Bl)&&(a.svgBelow||tu)?(ii+=`<munderover ${wo(a.id,y)}>`,ii+=(Yr=Na[a.svgBody])!=null?Yr:Ja(Co,y),ii+=(zn=Na[a.svgBelow])!=null?zn:Ja(tu,y),ii+=(hr=Na[a.svgAbove])!=null?hr:Ja(Bl,y),ii+="</munderover>"):a.svgAbove||Bl?(ii+=`<mover ${wo(a.id,y)}>`+((ei=Na[a.svgBody])!=null?ei:Ja(Co,y)),ii+=(Ar=Na[a.svgAbove])!=null?Ar:Ja(Bl,y),ii+="</mover>"):(a.svgBelow||tu)&&(ii+=`<munder ${wo(a.id,y)}>`+((Li=Na[a.svgBody])!=null?Li:Ja(Co,y)),ii+=(Hi=Na[a.svgBelow])!=null?Hi:Ja(tu,y),ii+="</munder>");break;case"placeholder":ii+="?";break;case"mord":{ii=typeof a.value=="string"?a.value:ss,ss==="\\char"?ii="&#x"+("000000"+a.args[0].number.toString(16)).slice(-4)+";":ii.length>0&&ii.startsWith("\\")&&(typeof a.value=="string"&&a.value.charCodeAt(0)>255?ii="&#x"+("000000"+a.value.charCodeAt(0).toString(16)).slice(-4)+";":typeof a.value=="string"?ii=a.value.charAt(0):(console.error("Did not expect this"),ii=""));const Ou=/\d/.test(ii)?"mn":"mi";ii=`<${Ou}${wo(a.id,y)}>${ih(ii)}</${Ou}>`;break}case"mbin":case"mrel":case"minner":ii=dd(a,y);break;case"mpunct":ii='<mo separator="true"'+wo(a.id,y)+">"+ss+"</mo>";break;case"mop":case"operator":case"extensible-symbol":a.body!=="\u200B"&&(ii="<mo"+wo(a.id,y)+">",ii+=ss==="\\operatorname"?a.body:ss||a.body,ii+="</mo>");break;case"box":ii='<menclose notation="box"',a.backgroundcolor&&(ii+=' mathbackground="'+a.backgroundcolor+'"'),ii+=wo(a.id,y)+">"+Ja(a.body,y)+"</menclose>";break;case"spacing":ii+='<mspace width="'+((Ri=po[ss])!=null?Ri:0)+'em"/>';break;case"enclose":ii='<menclose notation="';for(const Ou in a.notation)Object.prototype.hasOwnProperty.call(a.notation,Ou)&&a.notation[Ou]&&(ii+=eu+Ou,eu=" ");ii+=wo(a.id,y)+'">'+Ja(a.body,y)+"</menclose>";break;case"prompt":ii='<menclose notation="roundexbox""">'+Ja(a.body,y)+"</menclose>";break;case"space":ii+=" ";break;case"subsup":break;case"phantom":break;case"composition":break;case"rule":break;case"chem":break;case"mopen":ii+=dd(a,y);break;case"mclose":ii+=dd(a,y);break;case"macro":{const Ou=a.command+Id(a.macroArgs);Ou&&(ii+=`<mo ${wo(a.id,y)}>${Ou}</mo>`)}break;case"latexgroup":ii+=Ja(a.body,y);break;case"latex":ii+="<mtext"+wo(a.id,y)+">"+a.value+"</mtext>";break;case"tooltip":ii+=Ja(a.body,y);break;case"text":ii+=`<mtext ${wo(a.id,y)}x>${a.value}</mtext>`;break;default:if(a.command==="\\displaystyle")return`<mrow ${wo(a.id,y)} displaystyle="true">${Ja(a.body,y)}</mrow>`;if(a.command==="\\textstyle")return`<mrow ${wo(a.id,y)} displaystyle="false">${Ja(a.body,y)}</mrow>`;console.info("Unexpected element in conversion to MathML:",a)}return ii}var Od={"\\alpha":"alpha ","\\mu":"mew ","\\sigma":"sigma ","\\pi":"pie ","\\imaginaryI":"imaginary eye ","\\imaginaryJ":"imaginary jay ","\\sum":"Summation ","\\prod":"Product ","+":"plus ","-":"minus ",";":'<break time="150ms"/> semi-colon <break time="150ms"/>',",":'<break time="150ms"/> comma <break time="150ms"/>',"|":'<break time="150ms"/>Vertical bar<break time="150ms"/>',"(":'<break time="150ms"/>Open paren. <break time="150ms"/>',")":'<break time="150ms"/> Close paren. <break time="150ms"/>',"=":"equals ","<":"is less than ","\\lt":"is less than ","<=":"is less than or equal to ","\\le":"is less than or equal to ","\\gt":"is greater than ",">":"is greater than ","\\pm":"plus or minus","\\mp":"minus or plus","\\ge":"is greater than or equal to ","\\geq":"is greater than or equal to ","\\leq":"is less than or equal to ","\\ne":"is not equal to ","\\neq":"is not equal to ","!":"factorial ","\\sin":"sine ","\\cos":"cosine ","\u200B":"","\u2212":"minus ",":":'<break time="150ms"/> such that <break time="200ms"/> ',"\\colon":'<break time="150ms"/> such that <break time="200ms"/> ',"\\hbar":"etch bar ","\\iff":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\Longleftrightarrow":'<break time="200ms"/>if, and only if, <break time="200ms"/>',"\\land":"and ","\\lor":"or ","\\neg":"not ","\\div":"divided by ","\\forall":"for all ","\\exists":"there exists ","\\nexists":"there does not exists ","\\in":"element of ","\\N":'the set <break time="150ms"/><say-as interpret-as="character">n</say-as>',"\\C":'the set <break time="150ms"/><say-as interpret-as="character">c</say-as>',"\\Z":'the set <break time="150ms"/><say-as interpret-as="character">z</say-as>',"\\Q":'the set <break time="150ms"/><say-as interpret-as="character">q</say-as>',"\\infty":"infinity ","\\nabla":"nabla ","\\partial":"partial derivative of ","\\cdot":"times ","\\cdots":"dot dot dot ","\\Rightarrow":"implies ","\\lparen":'<break time="150ms"/>open paren<break time="150ms"/>',"\\rparen":'<break time="150ms"/>close paren<break time="150ms"/>',"\\lbrace":'<break time="150ms"/>open brace<break time="150ms"/>',"\\{":'<break time="150ms"/>open brace<break time="150ms"/>',"\\rbrace":'<break time="150ms"/>close brace<break time="150ms"/>',"\\}":'<break time="150ms"/>close brace<break time="150ms"/>',"\\langle":'<break time="150ms"/>left angle bracket<break time="150ms"/>',"\\rangle":'<break time="150ms"/>right angle bracket<break time="150ms"/>',"\\lfloor":'<break time="150ms"/>open floor<break time="150ms"/>',"\\rfloor":'<break time="150ms"/>close floor<break time="150ms"/>',"\\lceil":'<break time="150ms"/>open ceiling<break time="150ms"/>',"\\rceil":'<break time="150ms"/>close ceiling<break time="150ms"/>',"\\vert":'<break time="150ms"/>vertical bar<break time="150ms"/>',"\\mvert":'<break time="150ms"/>divides<break time="150ms"/>',"\\lvert":'<break time="150ms"/>left vertical bar<break time="150ms"/>',"\\rvert":'<break time="150ms"/>right vertical bar<break time="150ms"/>',"\\lbrack":'<break time="150ms"/> open square bracket <break time="150ms"/>',"\\rbrack":'<break time="150ms"/> close square bracket <break time="150ms"/>',mm:"millimeters",cm:"centimeters",km:"kilometers",kg:"kilograms"},Vh={array:"array",matrix:"matrix",pmatrix:"parenthesis matrix",bmatrix:"square brackets matrix",Bmatrix:"braces matrix",vmatrix:"bars matrix",Vmatrix:"double bars matrix","matrix*":"matrix",smallmatrix:"small matrix"};function Pv(a){let y="";return a.startsWith("\\")&&(y=" "+a.replace("\\","")+" "),y}function gf(a){let y=0;if(Be(a))for(const b of a)b.type!=="first"&&(y+=1);return y===1}function Fv(a){if(Be(a)){for(const y of a)if(y.type!=="first"&&y.id)return y.id.toString()}return""}function up(a){let y="";if(Be(a))for(const b of a)b.type!=="first"&&typeof b.value=="string"&&(y+=b.value);return y}function Iv(a){return a?a.map(y=>y.value).join(""):""}function Pa(a,y){var b,E,ee,re,oe;function me(Me){return window.MathfieldElement.textToSpeechMarkup?/[a-z]/.test(Me)?` <say-as interpret-as="character">${Me}</say-as>`:/[A-Z]/.test(Me)?`capital <say-as interpret-as="character">${Me.toLowerCase()}</say-as>`:Me:/[a-z]/.test(Me)?" '"+Me.toUpperCase()+"'":/[A-Z]/.test(Me)?" 'capital "+Me.toUpperCase()+"'":Me}function ge(Me){return"<emphasis>"+Me+"</emphasis>"}if(!y)return"";let we="";if(Be(y)){let Me=!1,Je=!1;for(let mt=0;mt<y.length;mt++)y[mt].type!=="first"&&(y[mt].mode!=="text"&&(Je=!1),mt<y.length-2&&y[mt].type==="mopen"&&y[mt+2].type==="mclose"&&y[mt+1].type==="mord"?(we+=" of ",we+=ge(Pa(a,y[mt+1])),mt+=2):y[mt].mode==="text"?Je?we+=(b=y[mt].value)!=null?b:" ":(Je=!0,we+=Pa("text",y[mt])):y[mt].isDigit()?Me?we+=y[mt].asDigit():(Me=!0,we+=Pa(a,y[mt])):(Me=!1,we+=Pa(a,y[mt])))}else if(y.mode==="text")y.id&&a==="math"&&(we+='<mark name="'+y.id.toString()+'"/>'),we+=y.value;else{y.id&&a==="math"&&(we+='<mark name="'+y.id.toString()+'"/>');let Me="",Je="",mt="",It=!1;const{command:_t}=y;switch(_t){case"\\vec":return"vector "+Pa(a,y.body);case"\\acute":return Pa(a,y.body)+" acute";case"\\grave":return Pa(a,y.body)+" grave";case"\\dot":return"dot over"+Pa(a,y.body);case"\\ddot":return"double dot over"+Pa(a,y.body);case"\\mathring":return"ring over"+Pa(a,y.body);case"\\tilde":case"\\widetilde":return"tilde over"+Pa(a,y.body);case"\\bar":return Pa(a,y.body)+" bar";case"\\breve":return Pa(a,y.body)+" breve";case"\\check":case"\\widecheck":return"check over "+Pa(a,y.body);case"\\hat":case"\\widehat":return"hat over"+Pa(a,y.body);case"\\overarc":case"\\overparen":case"\\wideparen":return"arc over "+Pa(a,y.body);case"\\underarc":case"\\underparen":return"arc under "+Pa(a,y.body)}switch(y.type){case"prompt":const Wn=y.body.length>1?'start input . <break time="500ms"/> '+Pa(a,y.body)+'. <break time="500ms"/> end input':"blank";we+=' <break time="300ms"/> '+Wn+'. <break time="700ms"/>'+((E=y.correctness)!=null?E:"")+' . <break time="700ms"/> ';break;case"array":const Yr=y.array,zn=y.environmentName;if(Object.keys(Vh).includes(zn)){we+=` begin ${Vh[zn]} `;for(let Ar=0;Ar<Yr.length;Ar++){Ar>0&&(we+=","),we+=` row ${Ar+1} `;for(let Li=0;Li<Yr[Ar].length;Li++)Li>0&&(we+=","),we+=` column ${Li+1}: `,we+=Pa("math",Yr[Ar][Li])}we+=` end ${Vh[zn]} `}break;case"group":_t==="\\ne"?we+=" not equal ":(_t==="\\not"&&(we+=" not "),we+=Pa("math",y.body));break;case"root":we+=Pa("math",y.body);break;case"genfrac":if(Me=Pa("math",y.above),Je=Pa("math",y.below),gf(y.above)&&gf(y.below)){const Li={"1/2":" half ","1/3":" one third ","2/3":" two third","1/4":" one quarter ","3/4":" three quarter ","1/5":" one fifth ","2/5":" two fifths ","3/5":" three fifths ","4/5":" four fifths ","1/6":" one sixth ","5/6":" five sixths ","1/8":" one eight ","3/8":" three eights ","5/8":" five eights ","7/8":" seven eights ","1/9":" one ninth ","2/9":" two ninths ","4/9":" four ninths ","5/9":" five ninths ","7/9":" seven ninths ","8/9":" eight ninths "}[up(y.above)+"/"+up(y.below)];Li?we=Li:we+=Me+" over "+Je}else we+=' the fraction <break time="150ms"/>'+Me+' over <break time="150ms"/>'+Je+'.<break time="150ms"/> End fraction.<break time="150ms"/>';break;case"surd":if(mt=Pa("math",y.body),y.hasEmptyBranch("above"))we+=gf(y.body)?" the square root of "+mt+" , ":' the square root of <break time="200ms"/>'+mt+'. <break time="200ms"/> End square root';else{let Ar=Pa("math",y.above);Ar=Ar.trim();const Li=Ar.replace(/<mark([^/]*)\/>/g,"");Li==="3"?we+=' the cube root of <break time="200ms"/>'+mt+'. <break time="200ms"/> End cube root':Li==="n"?we+=' the nth root of <break time="200ms"/>'+mt+'. <break time="200ms"/> End root':we+=' the root with index: <break time="200ms"/>'+Ar+', of <break time="200ms"/>'+mt+'. <break time="200ms"/> End root'}break;case"leftright":{const Ar=y;we+=(ee=Ar.leftDelim?Od[Ar.leftDelim]:void 0)!=null?ee:Ar.leftDelim,we+=Pa("math",y.body),we+=(re=Ar.rightDelim?Od[Ar.rightDelim]:void 0)!=null?re:Ar.rightDelim}break;case"rule":break;case"overunder":break;case"overlap":break;case"macro":const hr=_t.replace(/^\\/g,""),ei=Gn()[hr];ei&&(ei!=null&&ei.expand?we+=Pa("math",y.body):we+=`${hr} `);break;case"placeholder":we+="placeholder ";break;case"delim":case"sizeddelim":case"mord":case"minner":case"mbin":case"mrel":case"mpunct":case"mopen":case"mclose":{if(_t==="\\mathbin"||_t==="\\mathrel"||_t==="\\mathopen"||_t==="\\mathclose"||_t==="\\mathpunct"||_t==="\\mathord"||_t==="\\mathinner"){we=Pa(a,y.body);break}let Ar=y.isDigit()?y.asDigit():y.value,Li=y.command;if((y.type==="delim"||y.type==="sizeddelim")&&(Li=y.value,Ar=Li),a==="text")we+=Ar;else{if(y.type==="mbin"&&(we+='<break time="150ms"/>'),Ar){const Hi=Od[Ar]||(Li?Od[Li.trim()]:"");if(Hi)we+=" "+Hi;else{const Ri=Li?Pv(Li.trim()):"";we+=Ri||me(Ar)}}else we+=Pa("math",y.body);y.type==="mbin"&&(we+='<break time="150ms"/>')}break}case"mop":case"operator":case"extensible-symbol":if(y.value!=="\u200B"){const Ar=y.command;if(Ar==="\\sum")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Li=Pa("math",y.superscript);Li=Li.trim();let Hi=Pa("math",y.subscript);Hi=Hi.trim(),we+=' the summation from <break time="200ms"/>'+Hi+'<break time="200ms"/> to <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',It=!0}else if(y.hasEmptyBranch("subscript"))we+=" the summation of";else{let Li=Pa("math",y.subscript);Li=Li.trim(),we+=' the summation from <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',It=!0}else if(Ar==="\\prod")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Li=Pa("math",y.superscript);Li=Li.trim();let Hi=Pa("math",y.subscript);Hi=Hi.trim(),we+=' the product from <break time="200ms"/>'+Hi+'<break time="200ms"/> to <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',It=!0}else if(y.hasEmptyBranch("subscript"))we+=" the product of ";else{let Li=Pa("math",y.subscript);Li=Li.trim(),we+=' the product from <break time="200ms"/>'+Li+'<break time="200ms"/> of <break time="150ms"/>',It=!0}else if(Ar==="\\int")if(!y.hasEmptyBranch("superscript")&&!y.hasEmptyBranch("subscript")){let Li=Pa("math",y.superscript);Li=Li.trim();let Hi=Pa("math",y.subscript);Hi=Hi.trim(),we+=' the integral from <break time="200ms"/>'+ge(Hi)+'<break time="200ms"/> to <break time="200ms"/>'+ge(Li)+' <break time="200ms"/> of ',It=!0}else we+=' the integral of <break time="200ms"/> ';else if(typeof y.value=="string"){const Li=(oe=Od[y.value])!=null?oe:y.command?Od[y.command]:void 0;we+=Li||" "+y.value}else y.command&&(y.command==="\\mathop"?we+=Pa("math",y.body):y.command==="\\operatorname"?we+=Iv(y.body):we+=y.command.startsWith("\\")?" "+y.command.slice(1):" "+y.command)}break;case"enclose":mt=Pa("math",y.body),we+=" crossed out "+mt+". End crossed out.";break;case"space":case"spacing":break}if(!It&&!y.hasEmptyBranch("superscript")){let Wn=Pa(a,y.superscript);Wn=Wn.trim();const Yr=Wn.replace(/<[^>]*>/g,"");if(gf(y.superscript)){if(a==="math"){const zn=Fv(y.superscript);zn&&(we+='<mark name="'+zn+'"/>')}Yr==="\u2032"?we+=" prime ":Yr==="2"?we+=" squared ":Yr==="3"?we+=" cubed ":Number.isNaN(Number.parseInt(Yr))?we+=" to the "+Wn+"; ":we+=' to the <say-as interpret-as="ordinal">'+Yr+"</say-as> power; "}else Number.isNaN(Number.parseInt(Yr))?we+=" raised to the "+Wn+"; ":we+=' raised to the <say-as interpret-as="ordinal">'+Yr+"</say-as> power; "}if(!It&&!y.hasEmptyBranch("subscript")){let Wn=Pa("math",y.subscript);Wn=Wn.trim(),we+=gf(y.subscript)?" sub "+Wn:" subscript "+Wn+". End subscript. "}}return we}function Td(a){var y,b;if(window.MathfieldElement.textToSpeechRules==="sre"&&("sre"in window||"SRE"in window)){const ee=Ja(a);if(ee){window.MathfieldElement.textToSpeechMarkup&&(window.MathfieldElement.textToSpeechRulesOptions=(y=window.MathfieldElement.textToSpeechRulesOptions)!=null?y:{},window.MathfieldElement.textToSpeechRulesOptions=Ee(xe({},window.MathfieldElement.textToSpeechRulesOptions),{markup:window.MathfieldElement.textToSpeechMarkup}),window.MathfieldElement.textToSpeechRulesOptions.markup==="ssml"&&(window.MathfieldElement.textToSpeechRulesOptions=Ee(xe({},window.MathfieldElement.textToSpeechRulesOptions),{markup:"ssml_step"})),window.MathfieldElement.textToSpeechRulesOptions=Ee(xe({},window.MathfieldElement.textToSpeechRulesOptions),{rate:window.MathfieldElement.speechEngineRate}));const re=(b=window.SRE)!=null?b:window.sre.System.getInstance();window.MathfieldElement.textToSpeechRulesOptions&&re.setupEngine(window.MathfieldElement.textToSpeechRulesOptions);let oe="";try{oe=re.toSpeech(ee)}catch(me){console.error("MathLive 0.98.5: `SRE.toSpeech()` runtime error",me)}return oe}return""}let E=Pa("math",a);if(window.MathfieldElement.textToSpeechMarkup==="ssml"){let ee="";window.MathfieldElement.speechEngineRate&&(ee='<prosody rate="'+window.MathfieldElement.speechEngineRate+'">'),E='<?xml version="1.0"?><speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><amazon:auto-breaths>'+ee+"<p><s>"+E+"</s></p>"+(ee?"</prosody>":"")+"</amazon:auto-breaths></speak>"}else window.MathfieldElement.textToSpeechMarkup==="mac"&<()==="macos"?E=E.replace(/<mark([^/]*)\/>/g,"").replace(/<emphasis>/g,"[[emph+]]").replace(/<\/emphasis>/g,"").replace(/<break time="(\d*)ms"\/>/g,"[[slc $1]]").replace(/<say-as[^>]*>/g,"").replace(/<\/say-as>/g,""):E=E.replace(/<[^>]*>/g,"").replace(/\s{2,}/g," ");return E}var vf={"\\ne":"\u2260","\\neq":"\u2260","\u2212":"-","-":"-","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\delta":"delta","\\epsilon":"epsilon","\\varepsilon":"varepsilon","\\zeta":"zeta","\\eta":"eta","\\theta":"theta","\\vartheta":"vartheta","\\iota":"iota","\\kappa":"kappa","\\lambda":"lambda","\\mu":"mu","\\nu":"nu","\\xi":"xi","\\pi":"pi","\\rho":"rho","\\sigma":"sigma","\\tau":"tau","\\upsilon":"upsilon","\\phi":"phi","\\varphi":"varphi","\\chi":"chi","\\psi":"psi","\\omega":"omega","\\Gamma":"Gamma","\\Delta":"Delta","\\Theta":"Theta","\\Lambda":"Lambda","\\Xi":"Xi","\\Pi":"Pi","\\Sigma":"Sigma","\\Phi":"Phi","\\Psi":"Psi","\\Omega":"Omega","\\exponentialE":"e","\\imaginaryI":"i","\\imaginaryJ":"j","\\!":" ","\\,":" ","\\:":" ","\\>":" ","\\;":" ","\\enskip":" ","\\enspace":" ","\\qquad":" ","\\quad":" ","\\infty":"oo"},yf={"\\pm":"+-","\\colon":":","\\vert":"|","\\Vert":"||","\\mid":"|","\\lbrack":"[","\\rbrack":"]","\\lbrace":"{","\\rbrace":"}","\\lparen":"(","\\rparen":")","\\langle":"(:","\\rangle":":)","\\sum":" sum ","\\prod":" prod ","\\bigcap":" nnn ","\\bigcup":" uuu ","\\int":" int ","\\oint":" oint ","\\ge":">=","\\le":"<=","\\ne":"!=","\\neq":"!=","\\lt":"<","\\gt":">","\\gets":"<-","\\to":"->","\\land":" and ","\\lor":" or ","\\lnot":" not ","\\forall":" AA ","\\exists":" EE ","\\in":" in ","\\notin":" !in ","\\mapsto":"|->","\\implies":"=>","\\iff":"<=>","\\cdot":"*","\\ast":"**","\\star":"***","\\times":"xx","\\div":"-:","\\ltimes":"|><","\\rtimes":"><|","\\bowtie":"|><|","\\circ":"@"};function Ov(a){let y="";for(const b of a){const E=y[y.length-1];E!==void 0&&/\d/.test(E)&&/^\d/.test(b)&&(y+=" "),y+=b}return y}function os(a){var y,b,E,ee,re,oe,me,ge,we,Me,Je,mt,It;if(!a)return"";if(Be(a)){if(a.length===0)return"";if(a[0].mode==="latex")return a.map(os).join("");if(a[0].mode==="text"){let ei=0,Ar="";for(;((y=a[ei])==null?void 0:y.mode)==="text";)Ar+=a[ei].body?os(a[ei].body):a[ei].value,ei++;return`"${Ar}" ${os(a.slice(ei))}`}let zn=0;const hr=[];for(;a[zn]&&a[zn].mode==="math";){let ei="";for(;a[zn]&&a[zn].type==="mord"&&/\d/.test(a[zn].value);)ei+=a[zn++].value;ei?hr.push(ei):hr.push(os(a[zn++]))}return hr.push(os(a.slice(zn))),Ov(hr)}if(a.mode==="text")return`"${a.value}"`;let _t="";const{command:Wn}=a;let Yr;if(Wn==="\\placeholder")return`(${os(a.body)})`;switch(a.type){case"accent":const zn={"\\vec":"vec","\\dot":"dot","\\ddot":"ddot","\\bar":"bar","\\hat":"hat","\\acute":"acute;","\\grave":"grave","\\tilde":"tilde","\\breve":"breave","\\check":"check"}[Wn];_t=`${zn!=null?zn:""} ${os(a.body)} `;break;case"first":return"";case"latexgroup":return a.body.map(Ri=>Ri.value).join("");case"group":case"root":_t=(b=vf[Wn])!=null?b:os(a.body);break;case"genfrac":{const Ri=a;(Ri.leftDelim||Ri.rightDelim)&&(_t=Ri.leftDelim==="."||!Ri.leftDelim?"{:":Ri.leftDelim),Ri.hasBarLine?(_t+="(",_t+=os(Ri.above),_t+=")/(",_t+=os(Ri.below),_t+=")"):(_t+="("+os(Ri.above)+"),",_t+="("+os(Ri.below)+")"),(Ri.leftDelim||Ri.rightDelim)&&(_t+=Ri.rightDelim==="."||!Ri.rightDelim?"{:":Ri.rightDelim)}break;case"surd":_t+=a.hasEmptyBranch("above")?"sqrt("+os(a.body)+")":"root("+os(a.above)+")("+os(a.body)+")";break;case"latex":_t=a.value;break;case"leftright":{const Ri=a,Na=Ri.leftDelim;_t+=Na==="."||!Na?"{:":Na,_t+=os(Ri.body);const po=Ri.matchingRightDelim();_t+=po==="."||!po?":}":po}break;case"sizeddelim":case"delim":_t=a.value;break;case"overlap":break;case"overunder":break;case"mord":_t=(ee=(E=vf[Wn])!=null?E:Wn)!=null?ee:typeof a.value=="string"?a.value:"",_t.startsWith("\\")&&(_t+=" "),Yr=Wn?Wn.match(/{?\\char"([\dabcdefABCDEF]+)}?/):null,Yr?_t=String.fromCodePoint(Number.parseInt("0x"+Yr[1])):_t.length>0&&_t.startsWith("\\")&&(_t=typeof a.value=="string"?a.value.charAt(0):a.command),_t=Tv(_t,a.style);break;case"mbin":case"mrel":case"minner":_t=(oe=(re=vf[Wn])!=null?re:yf[Wn])!=null?oe:a.value;break;case"mopen":case"mclose":_t=a.value;break;case"mpunct":_t=(me=yf[Wn])!=null?me:Wn;break;case"mop":case"operator":case"extensible-symbol":a.value!=="\u200B"&&(yf[Wn]?_t=yf[Wn]:_t=Wn==="\\operatorname"?os(a.body):(ge=a.value)!=null?ge:Wn,_t+=" ");break;case"array":const hr=a.array,ei=a.environmentName,Ar=(we={bmatrix:["[","]"],"bmatrix*":["[","]"]}[ei])!=null?we:["(",")"],Li=[];for(const Ri of hr){const Na=[];for(const po of Ri)Na.push(Ar[0]+os(po)+Ar[1]);Li.push(Na.join(","))}const Hi=(Me={bmatrix:["[","]"],"bmatrix*":["[","]"],cases:["{",":}"]}[ei])!=null?Me:["(",")"];_t=Hi[0]+Li.join(",")+Hi[1];break;case"box":break;case"spacing":_t=(Je=vf[Wn])!=null?Je:" ";break;case"enclose":_t="("+os(a.body)+")";break;case"space":_t=" ";break;case"subsup":_t="";break;case"macro":_t=(It=(mt=vf[Wn])!=null?mt:yf[Wn])!=null?It:os(a.body);break}if(!a.hasEmptyBranch("subscript")){_t+="_";const zn=os(a.subscript);_t+=zn.length!==1?`(${zn})`:zn}if(!a.hasEmptyBranch("superscript")){_t+="^";const zn=os(a.superscript);_t+=zn.length!==1?`(${zn})`:zn}return _t}function Tv(a,y){if(!y)return a;let b=a;return y.variant==="double-struck"&&(b=`bbb "${b}"`),y.variant==="script"&&(b=`cc "${b}"`),y.variant==="fraktur"&&(b=`fr "${b}"`),y.variant==="sans-serif"&&(b=`sf "${b}"`),y.variant==="monospace"&&(b=`tt "${b}"`),y.variantStyle==="bold"&&(b=`bb "${b}"`),y.color?`color({${y.color}})(${b})`:b}function Ks(a,y){var b,E;y!=null||(y={}),y.mathstyle=(b=y.mathstyle)!=null?b:"displaystyle";const ee=new La({from:Ee(xe({},Pc()),{renderPlaceholder:()=>new Vr(160,{maxFontSize:1}),letterShapeStyle:(E=y==null?void 0:y.letterShapeStyle)!=null?E:"tex"}),mathstyle:y.mathstyle}),oe=new ar({mode:"math",type:"root",body:Hs(a,{context:ee,parseMode:"math",mathstyle:y.mathstyle})}).render(ee);return oe?(Zu(tf(oe,ee)),kc(oe,{classes:"ML__latex"}).toMarkup()):""}function k1(a){return t0(a,{context:Pc()})}function Rv(a,y={}){return Ja(Hs(a,{parseMode:"math",args:()=>"",mathstyle:"displaystyle"}),y)}function Nv(a){const y=Hs(a,{parseMode:"math",mathstyle:"displaystyle"});return Td(y)}var ah;function zv(a){var y,b;if(!ah){const E=(y=globalThis[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;E?ah=new E:console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}return(b=ah==null?void 0:ah.box(a).latex)!=null?b:""}function D1(a,y="math"){return os(new ar({type:"root",body:Hs(a,{parseMode:y})}))}function B1(a){return Fi(a,{format:"ascii-math"})[1]}function _h(a){if(typeof a=="string"){const y=Hv(a);if(!y)throw new Error(`Invalid color: ${a}`);return y}return"C"in a?Wv(a):"a"in a?cp(a):a}function Rd(a){return a<0?0:a>255?255:Math.round(a)}function Hv(a){if(!a||a[0]!=="#")return;a=a.slice(1);let y;return a.length<=4?(y={r:parseInt(a[0]+a[0],16),g:parseInt(a[1]+a[1],16),b:parseInt(a[2]+a[2],16)},a.length===4&&(y.a=parseInt(a[3]+a[3],16)/255)):(y={r:parseInt(a[0]+a[1],16),g:parseInt(a[2]+a[3],16),b:parseInt(a[4]+a[5],16)},a.length===8&&(y.a=parseInt(a[6]+a[7],16)/255)),y&&typeof y.a=="undefined"&&(y.a=1),y}function Gh(a){const[y,b,E]=[a.L,a.C,a.H],ee=E*Math.PI/180,re={L:y,a:b*Math.cos(ee),b:b*Math.sin(ee)};return a.alpha!==void 0&&(re.alpha=a.alpha),re}function Kv(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.sqrt(b*b+E*E),oe=Math.atan2(E,b)*180/Math.PI,me={L:y,C:ee,H:oe};return a.alpha!==void 0&&(me.alpha=a.alpha),me}function Uh(a){const[y,b,E]=[a.L,a.a,a.b],ee=Math.pow(.9999999984505198*y+.39633779217376786*b+.2158037580607588*E,3),re=Math.pow(1.00000000888176*y-.10556134232365635*b-.0638541747717059*E,3),oe=Math.pow(y*1.000000054672411-.0894841820949657*b-1.2914855378640917*E,3),me=4.076741661347994*ee-3.307711590408193*re+.230969928729428*oe,ge=-1.2684380040921763*ee+2.6097574006633715*re-.3413193963102197*oe,we=-.004196086541837188*ee-.7034186144594493*re+1.7076147009309444*oe,Me=Je=>{const mt=Math.abs(Je);return mt<=.0031308?Je*12.92:(Math.sign(Je)||1)*(1.055*Math.pow(mt,1/2.4)-.055)};return[Me(me),Me(ge),Me(we)]}function Yh(a){const[y,b,E]=a;return y>=0&&y<=1&&b>=0&&b<=1&&E>=0&&E<=1}function Qh(a,y){let[b,E,ee]=a;return b=Rd(b*255),E=Rd(E*255),ee=Rd(ee*255),y!==void 0?{r:b,g:E,b:ee,alpha:y}:{r:b,g:E,b:ee}}function cp(a){let[y,b,E]=Uh(a);if(Yh([y,b,E]))return Qh([y,b,E],a.alpha);const ee=Kv(a);if(ee.C=0,[y,b,E]=Uh(Gh(ee)),!Yh([y,b,E]))return Qh([y,b,E],a.alpha);let re=0,oe=a.L,me=(re+oe)/2;ee.C=me;const ge=.36/Math.pow(2,12);for(;oe-re>ge;)me=(re+oe)/2,ee.C=me,[y,b,E]=Uh(Gh(ee)),Yh([y,b,E])?re=me:oe=me;return Qh([y,b,E],a.alpha)}function Wv(a){return cp(Gh(a))}function dp(a,y){const b=_h(a),E=_h(y),ee=.56,re=.57,oe=.62,me=.65,ge=.022,we=1.414,Me=.1,Je=5e-4,mt=1.14,It=.027,_t=1.14,Wn=.027;function Yr(Ri){return Ri>=ge?Ri:Ri+ac(ge-Ri,we)}function zn(Ri){return(Ri<0?-1:1)*Math.pow(Math.abs(Ri),2.4)}const hr=Yr(zn(E.r/255)*.2126729+zn(E.g/255)*.7151522+zn(E.b/255)*.072175),ei=Yr(zn(b.r/255)*.2126729+zn(b.g/255)*.7151522+zn(b.b/255)*.072175);let Ar,Li,Hi;return Math.abs(ei-hr)<Je?Li=0:ei>hr?(Ar=ac(ei,ee)-ac(hr,re),Li=Ar*mt):(Ar=ac(ei,me)-ac(hr,oe),Li=Ar*_t),Math.abs(Li)<Me?Hi=0:Li>0?Hi=Li-Wn:Hi=Li+It,Hi*100}function fp(a,y,b){b!=null||(b="#fff"),y!=null||(y="#000");const E=dp(a,b),ee=dp(a,y);return Math.abs(E)>Math.abs(ee)?b:y}function Zv(a){const y=_h(a);let b=((1<<24)+(Rd(y.r)<<16)+(Rd(y.g)<<8)+Rd(y.b)).toString(16).slice(1);return y.alpha!==void 0&&y.alpha<1&&(b+=("00"+Math.round(y.alpha*255).toString(16)).slice(-2)),b[0]===b[1]&&b[2]===b[3]&&b[4]===b[5]&&b[6]===b[7]&&(b=b[0]+b[2]+b[4]+(y.alpha!==void 0&&y.alpha<1?b[6]:"")),"#"+b}function Fo(a){const y=hp(a);let b="";for(const E of y){if(typeof E.value!="string")return"";b+=E.value}return b}function hp(a){const b=a.model.selection.ranges;return b.length!==1?[]:a.model.getAtoms(b[0])}function jv(a,y){const b=hp(a);if(b.length!==1)return!1;const E=ph[y];return E?!!E.test(b[0].value):!1}function Vv(a,y){return Fo(a).length>0}function _v(a){return[Xh(a,"double-struck","mathbb","tooltip.blackboard"),Xh(a,"fraktur","mathfrak","tooltip.fraktur"),Xh(a,"calligraphic","mathcal","tooltip.caligraphic"),Jh(a,"up","mathrm","tooltip.roman-upright"),Jh(a,"bold","mathbf","tooltip.bold"),Jh(a,"italic","mathit","tooltip.italic")]}function Gv(a){return[{label:()=>Ks(`\\vec{${Fo(a)}}`),visible:()=>Fo(a).length===1,onMenuSelect:()=>a.insert("\\vec{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\overrightarrow{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\overrightarrow{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\overleftarrow{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\overleftarrow{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\dot{${Fo(a)}}`),visible:()=>Fo(a).length===1,onMenuSelect:()=>a.insert("\\dot{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\ddot{${Fo(a)}}`),visible:()=>Fo(a).length===1,onMenuSelect:()=>a.insert("\\ddot{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\bar{${Fo(a)}}`),visible:()=>Fo(a).length===1,onMenuSelect:()=>a.insert("\\bar{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\overline{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\overline{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\overgroup{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\overgroup{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\overbrace{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\overbrace{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\underline{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\underline{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\undergroup{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\undergroup{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\underbrace{${Fo(a)}}`),visible:()=>Fo(a).length>0,onMenuSelect:()=>a.insert("\\underbrace{#@}",{selectionMode:"item"})}]}function Uv(a){return[{label:()=>Ks(`\\boxed{${a.getValue(a.model.selection)}}}`),onMenuSelect:()=>a.insert("\\boxed{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\bbox[5px, border: 2px solid red]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px solid red]{#@}",{selectionMode:"item"})},{label:()=>Ks(`\\bbox[5px, border: 2px dashed black]{${a.getValue(a.model.selection)}}`),onMenuSelect:()=>a.insert("\\bbox[5px, border: 2px dashed black]{#@}",{selectionMode:"item"})}]}function Yv(a){const y=[];for(const b of Object.keys($e))y.push({class:(Zv(fp($e[b]))==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${$e[b]} "></span>`,ariaLabel:()=>{var E;return(E=vt(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({backgroundColor:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({backgroundColor:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}function Qv(a){const y=[];for(const b of Object.keys(et))y.push({class:(fp(et[b])==="#000"?"dark-contrast":"light-contrast")+" menu-swatch",label:`<span style="background:${et[b]} "></span>`,ariaLabel:()=>{var E;return(E=vt(b))!=null?E:b},checked:()=>{var E;return{some:"mixed",all:!0}[(E=a.queryStyle({color:b}))!=null?E:!1]},onMenuSelect:()=>{a.applyStyle({color:b},{operation:"toggle"}),a.adoptStyle="none"}});return y}var Xv=class extends ep{constructor(a,y,b,E){super(a,y),this.row=b,this.col=E}set active(a){const y=this.parentMenu.children;if(a)for(const b of y)b.element.classList.toggle("active",b.row<=this.row&&b.col<=this.col);else for(const b of y)b.element.classList.remove("active")}};function Jv(a){const y=[];for(let b=1;b<=5;b++)for(let E=1;E<=5;E++)y.push({onCreate:(ee,re)=>new Xv(ee,re,b,E),label:"\u2610",tooltip:()=>vt("tooltip.row-by-col",b,E),data:{row:b,col:E},onMenuSelect:()=>{a.insert(`\\begin{pmatrix}${Array(b).fill(Array(E).fill("#?").join(" & ")).join("\\\\")}\\end{pmatrix}`,{selectionMode:"item"})}});return y}function qv(a){return[{label:()=>vt("menu.array.add row above"),id:"add-row-above",onMenuSelect:()=>a.executeCommand("addRowBefore"),visible:()=>fd(a)},{label:()=>vt("menu.array.add row below"),id:"add-row-below",onMenuSelect:()=>a.executeCommand("addRowAfter"),visible:()=>fd(a)},{label:()=>vt("menu.array.add column before"),id:"add-column-before",onMenuSelect:()=>a.executeCommand("addColumnBefore"),visible:()=>fd(a),enabled:()=>{const y=a.model.parentEnvironment;if(!y)return!1;const[b,E]=e1(a);return b<y.maxColumns}},{label:()=>vt("menu.array.add column after"),id:"add-column-after",onMenuSelect:()=>a.executeCommand("addColumnAfter"),visible:()=>fd(a)},{type:"divider"},{label:()=>vt("menu.array.delete row"),id:"delete-row",onMenuSelect:()=>a.executeCommand("removeRow"),visible:()=>fd(a)},{label:()=>vt("menu.array.delete column"),id:"delete-column",onMenuSelect:()=>a.executeCommand("removeColumn"),visible:()=>fd(a)},{type:"divider"},{label:()=>vt("menu.borders"),visible:()=>($v(a)||fd(a))&&a.isSelectionEditable,submenu:[{label:" \u22F1 ",id:"environment-no-border",onMenuSelect:()=>bf(a,"matrix")},{label:"(\u22F1)",id:"environment-parentheses",onMenuSelect:()=>bf(a,"pmatrix")},{label:"[\u22F1]",id:"environment-brackets",onMenuSelect:()=>bf(a,"bmatrix")},{label:"|\u22F1|",id:"environment-bar",onMenuSelect:()=>bf(a,"vmatrix")},{label:"{\u22F1}",id:"environment-braces",onMenuSelect:()=>bf(a,"Bmatrix")}],submenuClass:"border-submenu"},{type:"divider"},{label:()=>vt("menu.insert matrix"),id:"insert-matrix",visible:()=>a.isSelectionEditable,submenu:Jv(a),submenuClass:"insert-matrix-submenu",columnCount:5},{label:()=>vt("menu.mode"),id:"mode",visible:()=>a.isSelectionEditable&&a.model.selectionIsCollapsed,submenu:[{label:()=>vt("menu.mode-math"),id:"mode-math",onMenuSelect:()=>{Ad(a,"accept-all"),a.executeCommand(["switchMode","math"])},checked:()=>a.model.mode==="math"},{label:()=>vt("menu.mode-text"),id:"mode-text",onMenuSelect:()=>{Ad(a,"accept-all"),a.executeCommand(["switchMode","text"])},checked:()=>a.model.mode==="text"},{label:()=>vt("menu.mode-latex"),id:"mode-latex",onMenuSelect:()=>a.executeCommand(["switchMode","latex"]),checked:()=>a.model.mode==="latex"}]},{type:"divider"},{label:()=>vt("menu.font-style"),id:"variant",visible:()=>a.isSelectionEditable,submenu:_v(a),submenuClass:"variant-submenu"},{label:()=>vt("menu.color"),id:"color",visible:()=>a.isSelectionEditable,submenu:Qv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>vt("menu.background-color"),id:"background-color",visible:()=>a.isSelectionEditable,submenu:Yv(a),columnCount:4,submenuClass:"swatches-submenu"},{label:()=>vt("menu.accent"),id:"accent",visible:()=>a.isSelectionEditable,submenu:Gv(a),submenuClass:"variant-submenu"},{label:()=>vt("menu.decoration"),id:"decoration",visible:()=>a.isSelectionEditable&&Fo(a).length>0,submenu:Uv(a),submenuClass:"variant-submenu"},{type:"divider"},{label:()=>vt("menu.evaluate"),id:"ce-evaluate",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{const y=t1(a);if(!y){a.model.announce("plonk");return}a.model.selectionIsCollapsed?(a.model.position=a.model.lastOffset,a.insert(`=${y}`,{insertionMode:"insertAfter",selectionMode:"item"})):a.insert(y,{insertionMode:"replaceSelection",selectionMode:"item"})}},{label:()=>vt("menu.simplify"),id:"ce-simplify",visible:()=>a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null,onMenuSelect:()=>{var y,b;if(a.model.selectionIsCollapsed){const E=(y=a.expression)==null?void 0:y.simplify();if(a.model.position=a.model.lastOffset,!E){a.model.announce("plonk");return}a.insert(`=${E.latex}`,{insertionMode:"insertAfter",selectionMode:"item"})}else{const E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection)).simplify();if(!E){a.model.announce("plonk");return}a.insert(E.latex,{insertionMode:"replaceSelection",selectionMode:"item"})}}},{label:()=>{var y;if(window.MathfieldElement.computeEngine===null)return"";const b=(y=a.expression)==null?void 0:y.unknowns[0];return b?vt("menu.solve-for",Ks(b)):vt("menu.solve")},id:"ce-solve",visible:()=>{var y;return a.isSelectionEditable&&window.MathfieldElement.computeEngine!==null&&((y=a.expression)==null?void 0:y.unknowns.length)===1&&a.expression.unknowns[0]!=="Nothing"},onMenuSelect:()=>{var y;const b=a.expression,E=b==null?void 0:b.unknowns[0],ee=(y=b.solve(E))==null?void 0:y.map(re=>{var oe;return(oe=re.simplify().latex)!=null?oe:""});if(!ee){a.model.announce("plonk");return}a.insert(`${E}=${ee.length===1?ee[0]:"\\left\\lbrace"+(ee==null?void 0:ee.join(", "))+"\\right\\rbrace"}`,{insertionMode:"replaceAll",selectionMode:"item"})}},{type:"divider"},{label:()=>vt("menu.cut"),onMenuSelect:()=>a.executeCommand("cutToClipboard"),visible:()=>!a.options.readOnly&&a.isSelectionEditable,keyboardShortcut:"meta+X"},{label:()=>vt("menu.copy"),id:"copy",submenu:[{label:()=>vt("menu.copy-as-latex"),id:"copy-latex",onMenuSelect:()=>ra.copyToClipboard(a,"latex"),keyboardShortcut:"meta+C"},{label:()=>vt("menu.copy-as-ascii-math"),id:"copy-ascii-math",onMenuSelect:()=>ra.copyToClipboard(a,"ascii-math")},{label:()=>vt("menu.copy-as-mathml"),id:"copy-math-ml",onMenuSelect:()=>ra.copyToClipboard(a,"math-ml")}]},{label:()=>vt("menu.paste"),id:"paste",onMenuSelect:()=>a.executeCommand("pasteFromClipboard"),visible:()=>a.hasEditableContent,keyboardShortcut:"meta+V"},{label:()=>vt("menu.select-all"),id:"select-all",keyboardShortcut:"meta+A",onMenuSelect:()=>a.executeCommand("selectAll")}]}function fd(a){var y;return!!((y=a.model.parentEnvironment)!=null&&y.array)}function $v(a){return a.model.at(a.model.position).type==="array"}function e1(a){var y;const b=(y=a.model.parentEnvironment)==null?void 0:y.array;return b?[b.length,b.reduce((E,ee)=>Math.max(E,ee.length),0)]:[0,0]}function bf(a,y){Ff(a),a.flushInlineShortcutBuffer(),F0(a.model,y),Jo(a)}function t1(a){var y,b;let E;if(a.model.selectionIsCollapsed?E=(y=window.MathfieldElement.computeEngine)==null?void 0:y.parse(a.getValue(),{canonical:!1}):E=(b=window.MathfieldElement.computeEngine)==null?void 0:b.parse(a.getValue(a.model.selection),{canonical:!1}),!E)return"";let ee=E.evaluate();return ee.isSame(E)&&(ee=E.N()),ee.latex}function Xh(a,y,b,E){return{label:()=>Ks(`\\${b}{${Fo(a)}}`),tooltip:()=>{var ee;return(ee=vt(E))!=null?ee:E},visible:()=>jv(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variant:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variant:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Jh(a,y,b,E){return{label:()=>Ks(`\\${b}{${Fo(a)}}`),tooltip:()=>{var ee;return(ee=vt(E))!=null?ee:E},visible:()=>Vv(a,y),checked:()=>{var ee;return{some:"mixed",all:!0}[(ee=a.queryStyle({variantStyle:y}))!=null?ee:!1]},onMenuSelect:()=>{a.applyStyle({variantStyle:y},{operation:"toggle"}),a.adoptStyle="none"}}}function Nd(a,y){return a+Td(y)}Kl({speak:(a,y,b)=>n1(a,y,b)},{target:"mathfield"});function n1(a,y,b){var E,ee;b=b!=null?b:{withHighlighting:!1};const{model:re}=a;function oe(Me){let Je=null;switch(Me){case"all":Je=re.root;break;case"selection":Je=re.getAtoms(re.selection);break;case"left":{Je=re.getAtoms(re.offsetOf(re.at(re.position).leftSibling),re.position);break}case"right":{Je=re.getAtoms(re.position,re.offsetOf(re.at(re.position).rightSibling));break}case"group":Je=re.getAtoms(re.getSiblingsRange(re.position));break;case"parent":{const{parent:mt}=re.at(re.position);mt!=null&&mt.parent?Je=mt:Je=re.root;break}default:Je=re.root}return Je}function me(Me){let Je="";switch(Me){case"all":console.log("Internal failure: speak all failed");break;case"selection":Je="no selection";break;case"left":Je="at start";break;case"right":Je="at end";break;case"group":console.log("Internal failure: speak group failed");break;case"parent":Je="no parent";break;default:console.log('unknown speak_ param value: "'+Me+'"');break}return Je}const ge=oe(y);if(ge===null)return(ee=(E=window.MathfieldElement).speakHook)==null||ee.call(E,me(y)),!1;(b.withHighlighting||window.MathfieldElement.speechEngine==="amazon")&&(window.MathfieldElement.textToSpeechMarkup=window.sre&&window.MathfieldElement.textToSpeechRules==="sre"?"ssml_step":"ssml");const we=Td(ge);return dt()&&b.withHighlighting?(Hc().readAloudMathfield=a,rd(a,{forHighlighting:!0}),window.MathfieldElement.readAloudHook&&window.MathfieldElement.readAloudHook(a.field,we)):window.MathfieldElement.speakHook&&window.MathfieldElement.speakHook(we),!1}function r1(a){var y,b;if(!dt()){console.log("Speak:",a);return}if(!window.MathfieldElement.speechEngine||window.MathfieldElement.speechEngine==="local"){const E=new SpeechSynthesisUtterance(a);window.speechSynthesis.speak(E)}else if(window.MathfieldElement.speechEngine==="amazon")if(!("AWS"in window))console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");else{const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),ee={OutputFormat:"mp3",VoiceId:(y=window.MathfieldElement.speechEngineVoice)!=null?y:"Joanna",Engine:["Amy","Emma","Brian","Ivy","Joanna","Kendra","Kimberly","Salli","Joey","Justin","Matthew"].includes((b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna")?"neural":"standard",Text:a,TextType:"ssml"};E.synthesizeSpeech(ee,(re,oe)=>{if(re)console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${re}`);else if(oe!=null&&oe.AudioStream){const me=new Uint8Array(oe.AudioStream),ge=new Blob([me.buffer],{type:"audio/mpeg"}),we=URL.createObjectURL(ge);new Audio(we).play().catch(Je=>console.log(Je))}else console.log("polly.synthesizeSpeech():",oe)})}else window.MathfieldElement.speechEngine==="google"&&console.error("MathLive 0.98.5: The Google speech engine is not supported yet. Please come again.")}function pp(a){var y;let b;if(a.parent.type==="prompt")a.parentBranch==="body"&&(b="prompt");else if(a.parentBranch==="body")b=a.type&&(y={enclose:"cross out",leftright:"delimiter",surd:"square root",root:"math field",mop:"operator",first:"first"}[a.type])!=null?y:"parent";else if(a.parent.type==="genfrac"){if(a.parentBranch==="above")return"numerator";if(a.parentBranch==="below")return"denominator"}else a.parent.type==="surd"?a.parentBranch==="above"&&(b="index"):a.parentBranch==="superscript"?b="superscript":a.parentBranch==="subscript"&&(b="subscript");return b||console.log("unknown relationship"),b!=null?b:"parent"}function i1(a,y,b,E){let ee="";if(y==="plonk")window.MathfieldElement.playSound("plonk"),a.flushInlineShortcutBuffer();else if(y==="delete")ee=Nd("deleted: ",E);else if(y==="focus"||y.includes("move"))ee=a1(a.model,b)+(a.model.selectionIsCollapsed?"":"selected: ")+o1(a.model);else if(y==="replacement")ee=Nd("",a.model.at(a.model.position));else if(y==="line"){const re=Nd("",a.model.root);a.keyboardDelegate.setAriaLabel(re)}else ee=E?Nd(y+" ",E):y;if(ee){const re=a.ariaLiveText.textContent.includes("\xA0")?" \u202F ":" \xA0 ";a.ariaLiveText.textContent=ee+re}}function a1(a,y){if(Number.isNaN(y))return"";const b=a.at(y);if(!b||b.treeDepth<=a.at(a.position).treeDepth)return"";let E="",ee=b.parent;const re=a.at(a.position).parent;for(;ee!==a.root&&ee!==re;)E+=`out of ${pp(ee)};`,ee=ee.parent;return E}function o1(a){if(!a.selectionIsCollapsed)return Nd("",a.getAtoms(a.selection));let y="";const b=a.at(a.position),E=pp(b);return b.isFirstSibling&&(y=(E?"start of "+E:"unknown")+": "),b.isLastSibling?b.isFirstSibling||(y+=E?"end of "+E:"unknown"):y+=Nd("",b),y}var s1=class{constructor(a,y,b){this.mathfield=a,this.mode=y,this.silenceNotifications=!1,this._selection={ranges:[[0,0]],direction:"none"},this._anchor=0,this._position=0,this.root=b}dispose(){this.mathfield=void 0}getState(){const a={ranges:[...this._selection.ranges]};return this.selection.direction&&this.selection.direction!=="none"&&(a.direction=this.selection.direction),{content:this.root.toJson(),selection:a,mode:this.mode}}setState(a,y){var b;const E=this.silenceNotifications;this.silenceNotifications=(b=y==null?void 0:y.silenceNotifications)!=null?b:!0;let ee={};if((y==null?void 0:y.type)==="undo"&&(ee={inputType:"historyUndo"}),(y==null?void 0:y.type)==="redo"&&(ee={inputType:"historyRedo"}),this.contentWillChange(ee)){const re=this.silenceNotifications;this.silenceNotifications=!0,this.mode=a.mode,this.root=Tc(a.content),this.selection=a.selection,this.silenceNotifications=re,this.contentDidChange(ee)}this.silenceNotifications=E}get atoms(){return this.root.children}get selection(){return this._selection}set selection(a){this.setSelection(a)}setSelection(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{var b,E,ee;const re=this.normalizeSelection(a,y);if(re===void 0)throw new TypeError("Invalid selection");if(re.ranges.length===1&&re.ranges[0][0]===re.ranges[0][1]){const Me=re.ranges[0][0];if(!this.mathfield.dirty&&!((b=this.at(Me))!=null&&b.parentPrompt)&&this.mathfield.hasEditablePrompts){if((E=this.at(Me-1))!=null&&E.parentPrompt){this._anchor=this.normalizeOffset(Me-1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}if((ee=this.at(Me+1))!=null&&ee.parentPrompt){this._anchor=this.normalizeOffset(Me+1),this._position=this._anchor,this._selection=this.normalizeSelection(this._anchor);return}this._anchor=0,this._position=0,this._selection={ranges:[[0,0]]};return}this._anchor=Me,this._position=Me,this._selection=re;return}const oe=As(re);re.direction==="backward"?[this._position,this._anchor]=oe:[this._anchor,this._position]=oe;const me=this.at(oe[0]+1),ge=this.at(oe[1]),we=ar.commonAncestor(me,ge);(we==null?void 0:we.type)==="array"&&me.parent===we&&ge.parent===we?this._selection={ranges:[oe],direction:re.direction}:this._selection={ranges:[oe],direction:re.direction},console.assert(this._position>=0&&this._position<=this.lastOffset)})}setPositionHandlingPlaceholder(a){var y;const b=this.at(a);(b==null?void 0:b.type)==="placeholder"?this.setSelection(a-1,a):((y=b==null?void 0:b.rightSibling)==null?void 0:y.type)==="placeholder"?this.setSelection(a,a+1):this.position=a,b instanceof Xs&&b.isSuggestion&&(b.isSuggestion=!1),this.mathfield.stopCoalescingUndo()}get position(){return this._position}set position(a){this.setSelection(a,a)}get anchor(){return this._anchor}get selectionIsCollapsed(){return this._anchor===this._position}get selectionIsPlaceholder(){return Math.abs(this._anchor-this._position)===1?this.at(Math.max(this._anchor,this._position)).type==="placeholder":!1}collapseSelection(a="forward"){return this._anchor===this._position?!1:(a==="backward"?this.position=Math.min(this._anchor,this._position):this.position=Math.max(this._anchor,this._position),!0)}get lastOffset(){return this.atoms.length-1}at(a){return this.atoms[a]}offsetOf(a){return this.atoms.indexOf(a)}getSiblingsRange(a){const y=this.at(a),{parent:b}=y;if(!b)return[0,this.lastOffset];const E=y.parent.branch(y.parentBranch);return[this.offsetOf(E[0]),this.offsetOf(E[E.length-1])]}getBranchRange(a,y){const b=this.at(a).branch(y);return[this.offsetOf(b[0]),this.offsetOf(b[b.length-1])]}getAtoms(a,y,b){let E=b!=null?b:{};if(_u(a)){if(E=y!=null?y:{},a.ranges.length>1)return a.ranges.reduce((we,Me)=>[...we,...this.getAtoms(Me,E)],[]);a=a.ranges[0]}let ee,re;if(gu(a)){if(ee=a,!gu(y))return[];re=y}else[ee,re]=a,E=y!=null?y:{};if(!Number.isFinite(ee))return[];E.includeChildren===void 0&&(E.includeChildren=!1),ee<0&&(ee=this.lastOffset-ee+1),re<0&&(re=this.lastOffset-re+1);const oe=Math.min(ee,re)+1,me=Math.max(ee,re);if(!E.includeChildren&&oe===1&&me===this.lastOffset)return[this.root];let ge=[];for(let we=oe;we<=me;we++){const Me=this.atoms[we];mp(this,Me,oe,me)&&ge.push(Me)}return E.includeChildren||(ge=ge.filter(we=>{let Me=!1,{parent:Je}=we;for(;Je&&!Me;)Me=mp(this,Je,oe,me),Je=Je.parent;return!Me})),ge}getAllAtoms(a=0){const y=[],b=this.lastOffset;for(let E=a;E<=b;E++)y.push(this.atoms[E]);for(let E=0;E<a;E++)y.push(this.atoms[E]);return y}findAtom(a,y=0,b="forward"){let E;const ee=this.lastOffset;if(b==="forward"){for(let re=y;re<=ee;re++)if(E=this.atoms[re],a(E))return E;for(let re=0;re<y;re++)if(E=this.atoms[re],a(E))return E;return}for(let re=y;re>=0;re--)if(E=this.atoms[re],a(E))return E;for(let re=ee;re>y;re--)if(E=this.atoms[re],a(E))return E}extractAtoms(a){let y=this.getAtoms(a);if(y.length===1&&!y[0].parent)if(y[0].type==="root")y=[...y[0].body],y.shift();else return y=this.root.cells.flat(),this.root=new ar({type:"root",body:[]}),y;for(const b of y)b.parent.removeChild(b);return y}deleteAtoms(a){this.extractAtoms(a),this.position=a[0]}atomToString(a,y){const b=y!=null?y:"latex";if(b.startsWith("latex"))return ar.serialize([a],{expandMacro:b==="latex-expanded",skipStyles:b==="latex-unstyled",skipPlaceholders:b==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode});if(b==="math-ml")return Ja(a);if(b==="spoken")return Td(a);if(b==="spoken-text"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="";const ee=Td(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}if(b==="spoken-ssml"||b==="spoken-ssml-with-highlighting"){const E=window.MathfieldElement.textToSpeechMarkup;window.MathfieldElement.textToSpeechMarkup="ssml";const ee=Td(a);return window.MathfieldElement.textToSpeechMarkup=E,ee}return b==="ascii-math"?os(a):(console.error(`MathLive 0.98.5: Unexpected format "${b}`),"")}getValue(a,y,b){if(a===void 0)return this.atomToString(this.root,"latex");if(typeof a=="string"&&a!=="math-json")return this.atomToString(this.root,a);let E,ee;if(gu(a)&&gu(y)?(E=[this.normalizeRange([a,y])],ee=b):mc(a)?(E=[this.normalizeRange(a)],ee=y):_u(a)?(E=a.ranges,ee=y):(E=[this.normalizeRange([0,-1])],ee=a),ee!=null||(ee="latex"),ee==="math-json"){if(!window.MathfieldElement.computeEngine)return window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`The CortexJS Compute Engine library is not available.
|
|
|
Load the library, for example with:
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`),'["Error", "compute-engine-not-available"]';const re=this.getValue({ranges:E},"latex-unstyled");try{const oe=window.MathfieldElement.computeEngine.parse(re);return JSON.stringify(oe.json)}catch(oe){return JSON.stringify(["Error",`'${oe.toString()}'`])}}if(ee.startsWith("latex")){const re={expandMacro:ee==="latex-expanded",skipStyles:ee==="latex-unstyled",skipPlaceholders:ee==="latex-without-placeholders",defaultMode:this.mathfield.options.defaultMode};return wa(E.map(oe=>ar.serialize(this.getAtoms(oe),re)))}return E.map(re=>this.getAtoms(re).map(oe=>this.atomToString(oe,ee)).join("")).join("")}extendSelectionTo(a,y){return!this.mathfield.contentEditable&&this.mathfield.userSelect==="none"?!1:this.deferNotifications({selection:!0},()=>{const b=this.normalizeRange([a,y]);let[E,ee]=b,{parent:re}=this.at(ee);if(re&&(re.type==="genfrac"||re.type==="subsup"))for(;re!==this.root&&qh(this,re,[E,ee]);)ee=this.offsetOf(re),re=re.parent;for(re=this.at(E).parent;re!==this.root&&qh(this,re,[E,ee]);)E=this.offsetOf(re.leftSibling),re=re.parent;if(re=this.at(ee).parent,(re==null?void 0:re.type)==="genfrac")for(;re!==this.root&&qh(this,re,[E,ee]);)ee=this.offsetOf(re),console.assert(ee>=0),re=re.parent;this._position=this.normalizeOffset(y),this._selection={ranges:[[E,ee]],direction:"none"}})}announce(a,y,b=[]){var E,ee;((ee=(E=this.mathfield.host)==null?void 0:E.dispatchEvent(new CustomEvent("announce",{detail:{command:a,previousPosition:y,atoms:b},cancelable:!0,bubbles:!0,composed:!0})))!=null?ee:!0)&&i1(this.mathfield,a,y,b)}deferNotifications(a,y){const b=this._selection,E=this._anchor,ee=this._position,re=this.silenceNotifications;this.silenceNotifications=!0;const oe=this.root.changeCounter;y();const me=this.root.changeCounter!==oe,ge=E!==this._anchor||ee!==this._position||Vu(this._selection,b)==="different";return this.silenceNotifications=re,a.content&&me&&this.contentDidChange({inputType:a.type}),a.selection&&ge&&this.selectionDidChange(),me||ge}normalizeOffset(a){return a>0?a=Math.min(a,this.lastOffset):a<0&&(a=this.lastOffset+a+1),a}normalizeRange(a){let[y,b]=a;return y=this.normalizeOffset(y),b=this.normalizeOffset(b),y<b?[y,b]:[b,y]}normalizeSelection(a,y){var b;let E;if(gu(a)){const ee=this.normalizeOffset(a);if(gu(y)){const re=this.normalizeOffset(y);E=ee<=re?{ranges:[[ee,re]],direction:"none"}:{ranges:[[re,ee]],direction:"backward"}}else E={ranges:[[ee,ee]],direction:"none"}}else if(mc(a)){const ee=this.normalizeOffset(a[0]),re=this.normalizeOffset(a[1]);E=ee<=re?{ranges:[[ee,re]],direction:"none"}:{ranges:[[re,ee]],direction:"backward"}}else _u(a)&&(E={ranges:a.ranges.map(ee=>this.normalizeRange(ee)),direction:(b=a.direction)!=null?b:"none"});return console.assert(E!==void 0),E}get parentEnvironment(){let a=this.at(this.position).parent;if(a){for(;a.parent&&a.type!=="array";)a=a.parent;if(a.type==="array")return a}}get cell(){var a;let y=this.at(this.position);if(y){for(;y&&((a=y.parent)==null?void 0:a.type)!=="array";)y=y.parent;if(!(!(y!=null&&y.parent)||y.parent.type!=="array"))return y.parentBranch}}contentWillChange(a={}){if(this.silenceNotifications||!this.mathfield)return!0;const y=this.silenceNotifications;this.silenceNotifications=!0;const b=this.mathfield.onContentWillChange(a);return this.silenceNotifications=y,b}contentDidChange(a){var y;if(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this.mathfield)),this.silenceNotifications||!this.mathfield.host||!this.mathfield)return;const b=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.host.dispatchEvent(new InputEvent("input",Ee(xe({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",bubbles:!0,composed:!0}))),this.silenceNotifications=b}selectionDidChange(){if(!this.mathfield||(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this.mathfield)),this.silenceNotifications))return;const a=this.silenceNotifications;this.silenceNotifications=!0,this.mathfield.onSelectionDidChange(),this.silenceNotifications=a}};function mp(a,y,b,E){const ee=a.offsetOf(y);if(ee<b||ee>E)return!1;if(!y.hasChildren)return!0;const re=a.offsetOf(y.firstChild);if(re>=b&&re<=E){const oe=a.offsetOf(y.lastChild);if(oe>=b&&oe<=E)return!0}return!1}function qh(a,y,b){if(!(y!=null&&y.hasChildren))return!1;const[E,ee]=b,re=a.offsetOf(y.firstChild),oe=a.offsetOf(y.lastChild);return re>=E&&re<=ee&&oe>=re&&oe<=ee}function xf(a,y,b,E){var ee,re,oe,me,ge,we;const Me=b.parent;if(Me&&b instanceof Xa){const Je=!E&&y==="forward"||E==="body"&&y==="backward";let mt=Je?a.offsetOf(b.firstChild):a.offsetOf(b.lastChild);return Je?b.rightDelim!=="?"&&b.rightDelim!=="."?(b.leftDelim=".",b.isDirty=!0):(Me.addChildrenAfter(b.removeBranch("body"),b),Me.removeChild(b),mt--):b.leftDelim!=="?"&&b.leftDelim!=="."?(b.rightDelim=".",b.isDirty=!0):(Me.addChildrenAfter(b.removeBranch("body"),b),Me.removeChild(b),mt--),a.position=mt,!0}if(Me&&b.type==="surd"){if(y==="forward"&&!E||y==="backward"&&E==="body"){const Je=b.leftSibling;b.hasChildren&&Me.addChildrenAfter(b.removeBranch("body"),b),Me.removeChild(b),a.position=a.offsetOf(Je)}else y==="forward"&&E==="body"?a.position=a.offsetOf(b):!E&&y==="backward"?b.hasChildren?a.position=a.offsetOf(b.lastChild):(a.position=Math.max(0,a.offsetOf(b)-1),Me.removeChild(b)):E==="above"&&(b.hasEmptyBranch("above")&&b.removeBranch("above"),y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b.body[0]));return!0}if(Me&&(b.type==="box"||b.type==="enclose")){const Je=E&&y==="backward"||!E&&y==="forward"?b.leftSibling:b.lastChild;return Me.addChildrenAfter(b.removeBranch("body"),b),Me.removeChild(b),a.position=a.offsetOf(Je),!0}if(b.type==="genfrac"||b.type==="overunder"){if(!E)return b.type==="overunder"&&b.hasEmptyBranch("body")||b.type==="genfrac"&&b.hasEmptyBranch("below")&&b.hasEmptyBranch("above")?!1:(a.position=a.offsetOf(y==="forward"?b.firstChild:b.lastChild),!0);const Je=wf.fractionNavigationOrder==="numerator-denominator"?"above":"below",mt=Je==="above"?"below":"above";if(Me&&(y==="forward"&&E===Je||y==="backward"&&E===mt)){const It=b.removeBranch(Je),_t=b.removeBranch(mt);return Me.addChildrenAfter([...It,..._t],b),Me.removeChild(b),a.position=a.offsetOf(It.length>0?It[It.length-1]:_t[0]),!0}return y==="backward"?a.position=a.offsetOf(b.leftSibling):a.position=a.offsetOf(b),!0}if(b.isExtensibleSymbol||b.type==="subsup"){if(!E&&y==="forward")return!1;if(!E){if(b.subscript||b.superscript){const Je=y==="forward"?(oe=(ee=b.superscript)==null?void 0:ee[0])!=null?oe:(re=b.subscript)==null?void 0:re[0]:(we=(me=b.subscript)==null?void 0:me[0].lastSibling)!=null?we:(ge=b.superscript)==null?void 0:ge[0].lastSibling;return Je&&(a.position=a.offsetOf(Je)),!0}return!1}if(!b.hasChildren&&b.type==="subsup"){const Je=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);return b.parent.removeChild(b),a.position=Je,!0}if(E==="superscript")if(y==="backward"){const Je=a.offsetOf(b.firstChild)-1;console.assert(Je>=0),a.position=Je}else b.subscript?a.position=a.offsetOf(b.subscript[0]):a.position=a.offsetOf(b);else E==="subscript"&&(y==="backward"&&b.superscript?a.position=a.offsetOf(b.superscript[0].lastSibling):y==="backward"?a.position=a.offsetOf(b.firstChild)-1:a.position=a.offsetOf(b));if(E&&b.hasEmptyBranch(E)&&(b.removeBranch(E),b.type==="subsup"&&!b.subscript&&!b.superscript)){const Je=y==="forward"?a.offsetOf(b):Math.max(0,a.offsetOf(b)-1);b.parent.removeChild(b),a.position=Je}return!0}if((Me==null?void 0:Me.type)==="genfrac"&&!E&&b.type!=="first"){let Je=a.offsetOf(b.leftSibling);return Me.removeChild(b),Me.hasEmptyBranch("above")&&Me.hasEmptyBranch("below")?(Je=a.offsetOf(Me.leftSibling),Me.parent.removeChild(Me),a.announce("delete",void 0,[Me]),a.position=Je,!0):(a.announce("delete",void 0,[b]),a.position=Je,!0)}if(y==="backward"&&((Me==null?void 0:Me.command)==="\\ln"||(Me==null?void 0:Me.command)==="\\log")&&b.parentBranch!=="body"){const Je=a.offsetOf(Me.leftSibling);return Me.parent.removeChild(Me),a.announce("delete",void 0,[Me]),a.position=Je,!0}return!1}function l1(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentBackward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentBackward"},()=>{let y=a.at(a.position);if(!(y&&xf(a,"backward",y))){if(y!=null&&y.isFirstSibling){if(xf(a,"backward",y.parent,y.parentBranch))return;y=null}if(!y){a.announce("plonk");return}a.position=a.offsetOf(y.leftSibling),y.parent.removeChild(y),a.announce("delete",void 0,[y])}}):$u(a,As(a.selection),"deleteContentBackward")}function u1(a){return!a.mathfield.isSelectionEditable||!a.contentWillChange({inputType:"deleteContentForward"})?!1:a.selectionIsCollapsed?a.deferNotifications({content:!0,selection:!0,type:"deleteContentForward"},()=>{var y,b;let E=a.at(a.position).rightSibling;if(E&&xf(a,"forward",E))return;if(E){if(a.at(a.position).isLastSibling&&xf(a,"forward",E.parent,E.parentBranch))return}else{if(E=a.at(a.position),E.isLastSibling&&xf(a,"forward",E.parent,E.parentBranch))return;E=void 0}if(a.position===a.lastOffset||!E){a.announce("plonk");return}E.parent.removeChild(E);let ee=(y=a.at(a.position))==null?void 0:y.rightSibling;for(;(ee==null?void 0:ee.type)==="subsup";)ee.parent.removeChild(ee),ee=(b=a.at(a.position))==null?void 0:b.rightSibling;a.announce("delete",void 0,[E])}):$u(a,As(a.selection),"deleteContentForward")}function $u(a,y,b){const E=a.getAtoms(y);if(E.length>0&&E[0].parent){let ee=E[0].parent.firstChild;ee.type==="first"&&(ee=ee.rightSibling);const re=E[E.length-1].parent.lastChild;let oe=E[0];oe.type==="first"&&(oe=oe.rightSibling);const me=E[E.length-1];if(oe===ee&&me===re){const ge=E[0].parent;ge.parent&&ge.type!=="prompt"&&(y=[a.offsetOf(ge.leftSibling),a.offsetOf(ge)])}if(E.length===1&&E[0].type==="placeholder"&&E[0].parent.type==="genfrac"){const ge=E[0].parent,we=E[0].parentBranch==="below"?"above":"below",Me=a.offsetOf(ge.leftSibling);return a.deferNotifications({content:!0,selection:!0,type:b},()=>{var Je,mt;const It=ge.removeBranch(we);if(It.length===1&&It[0].type==="placeholder")(mt=ge.parent)==null||mt.removeChild(ge),a.position=Math.max(0,Me);else{const _t=ge.parent.addChildrenAfter(It,ge);(Je=ge.parent)==null||Je.removeChild(ge),a.position=a.offsetOf(_t)}})}}return a.deferNotifications({content:!0,selection:!0,type:b},()=>a.deleteAtoms(y))}Kl({deleteAll:a=>a.contentWillChange({inputType:"deleteContent"})&&$u(a,[0,-1],"deleteContent"),deleteForward:a=>u1(a),deleteBackward:a=>l1(a),deleteNextWord:a=>a.contentWillChange({inputType:"deleteWordForward"})&&$u(a,[a.anchor,kh(a,a.position,"forward")],"deleteWordForward"),deletePreviousWord:a=>a.contentWillChange({inputType:"deleteWordBackward"})&&$u(a,[a.anchor,kh(a,a.position,"backward")],"deleteWordBackward"),deleteToGroupStart:a=>a.contentWillChange({inputType:"deleteSoftLineBackward"})&&$u(a,[a.anchor,a.offsetOf(a.at(a.position).firstSibling)],"deleteSoftLineBackward"),deleteToGroupEnd:a=>a.contentWillChange({inputType:"deleteSoftLineForward"})&&$u(a,[a.anchor,a.offsetOf(a.at(a.position).lastSibling)],"deleteSoftLineForward"),deleteToMathFieldStart:a=>a.contentWillChange({inputType:"deleteHardLineBackward"})&&$u(a,[a.anchor,0],"deleteHardLineBackward"),deleteToMathFieldEnd:a=>a.contentWillChange({inputType:"deleteHardLineForward"})&&$u(a,[a.anchor,-1],"deleteHardLineForward")},{target:"model",audioFeedback:"delete",canUndo:!0,changeContent:!0,changeSelection:!0});var c1=`<svg xmlns="http://www.w3.org/2000/svg" style="width: 21px;" viewBox="0 0 576 512" role="img" aria-label="${vt("tooltip.toggle virtual keyboard")}"><path d="M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.823-7.177 16-16 16H48c-8.823 0-16-7.177-16-16V112c0-8.823 7.177-16 16-16h480c8.823 0 16 7.177 16 16v288zM168 268v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-336 80v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm384 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zM120 188v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-96 152v-8c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"/></svg>`,d1=`<svg xmlns="http://www.w3.org/2000/svg" style="height: 18px;" viewBox="0 0 448 512" role="img" aria-label="${vt("tooltip.menu")}"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`,f1=class{constructor(a,y){this.focusBlurInProgress=!1;var b,E,ee;this.options=xe(Ee(xe({},jf()),{macros:Gn(),registers:pu()}),Zf(y)),this.eventController=new AbortController;const re=this.eventController.signal;y.eventSink&&(this.host=y.eventSink),this.element=a,a.mathfield=this,this.blurred=!0,this.keystrokeCaptionVisible=!1,this.suggestionIndex=0,this.inlineShortcutBuffer=[],this.inlineShortcutBufferFlushTimer=0,this.defaultStyle={},this.adoptStyle="left",this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline"),this.dirty=!1;let oe=(E=(b=y.value)!=null?b:this.element.textContent)!=null?E:"";oe=oe.trim();const me=B0(this.options),ge=new ar({type:"root",mode:me,body:Hs(oe,{context:this.context})});this.model=new s1(this,me,ge),this.undoManager=new Ng(this.model);const we=[];if(we.push("<span contenteditable=true aria-multiline=false part=keyboard-sink class=ML__keyboard-sink autocapitalize=off autocomplete=off autocorrect=off spellcheck=false inputmode=none tabindex=0></span>"),we.push('<span part=container class=ML__container aria-hidden=true style="visibility:hidden">'),we.push("<span part=content class=ML__content>"),we.push(w0(this)),we.push("</span>"),window.mathVirtualKeyboard&&(we.push(`<div part=virtual-keyboard-toggle class=ML__virtual-keyboard-toggle role=button ${this.hasEditableContent?"":'style="display:none;"'} data-l10n-tooltip="tooltip.toggle virtual keyboard">`),we.push(c1),we.push("</div>")),we.push('<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip="tooltip.menu">'),we.push(d1),we.push("</div>"),we.push("</span>"),we.push("<span class=ML__sr-only>"),we.push("<span role=status aria-live=assertive aria-atomic=true></span>"),we.push("</span>"),this.element.innerHTML=window.MathfieldElement.createHTML(we.join("")),!this.element.children){console.error("%cMathLive 0.98.5: Something went wrong and the mathfield could not be created.%c\nIf you are using Vue, this may be because you are using the runtime-only build of Vue. Make sure to include `runtimeCompiler: true` in your Vue configuration. There may a warning from Vue in the log above.","color:red;font-family:system-ui;font-size:1.2rem;font-weight:bold","color:inherit;font-family:system-ui;font-size:inherit;font-weight:inherit");return}this._l10Subscription=st.subscribe(()=>st.update(this.element)),st.update(this.element),this.field=this.element.querySelector("[part=content]"),this.field.addEventListener("click",Je=>Je.stopImmediatePropagation(),{capture:!1,signal:re}),this.field.addEventListener("wheel",this,{passive:!1,signal:re}),"PointerEvent"in window?this.field.addEventListener("pointerdown",this,{signal:re}):this.field.addEventListener("mousedown",this,{signal:re}),(ee=this.element.querySelector("[part=virtual-keyboard-toggle]"))==null||ee.addEventListener("click",()=>{window.mathVirtualKeyboard.visible?window.mathVirtualKeyboard.hide():(window.mathVirtualKeyboard.show({animate:!0}),window.mathVirtualKeyboard.update(Ju(this)))},{signal:re}),this._menu=new Cv(qv(this),{host:this.host}),this.field.addEventListener("contextmenu",this,{signal:re});const Me=this.element.querySelector("[part=menu-toggle]");Me==null||Me.addEventListener("pointerdown",Je=>{if(Je.currentTarget!==Me||this._menu.state!=="closed")return;this.element.classList.add("tracking");const mt=Me.getBoundingClientRect();this._menu.modifiers=nd(Je),this._menu.show({target:Me,location:{x:mt.left,y:mt.bottom},onDismiss:()=>this.element.classList.remove("tracking")}),Je.preventDefault(),Je.stopPropagation()},{signal:re}),(this.model.atoms.length<=1||this.disabled||this.readOnly&&!this.hasEditableContent||this.userSelect==="none")&&(Me.style.display="none"),this.ariaLiveText=this.element.querySelector("[role=status]"),this.keyboardDelegate=Zm(this.element.querySelector(".ML__keyboard-sink"),this.element,this),window.addEventListener("resize",this,{signal:re}),document.addEventListener("scroll",this,{signal:re}),this.resizeObserver=new ResizeObserver(()=>Jo(this)),this.resizeObserver.observe(this.field),window.mathVirtualKeyboard.addEventListener("virtual-keyboard-toggle",this,{signal:re}),af&&!st.locale.startsWith(af.locale)&&zm(st.locale),$l!=="ready"&&document.fonts.ready.then(()=>Nf(this)),a.querySelector("[part=container]").style.removeProperty("visibility"),this.undoManager.startRecording(),this.undoManager.snapshot("set-value")}get defaultStyle(){return this._defaultStyle}set defaultStyle(a){this._defaultStyle=a}get effectiveStyle(){if(this.adoptStyle==="none")return this.defaultStyle;const a=this.model.at(this.model.position),y=this.adoptStyle==="right"?a.rightSibling:a;if(!y)return this.defaultStyle;if(y.type==="group"){const b=y.branch("body");return!b||b.length<2?{}:this.adoptStyle==="right"?b[1].computedStyle:b[b.length-1].computedStyle}return y.computedStyle}connectToVirtualKeyboard(){this.connectedToVirtualKeyboard||(this.connectedToVirtualKeyboard=!0,window.addEventListener("message",this,{signal:this.eventController.signal}),window.mathVirtualKeyboard.connect(),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this)),th(this))}disconnectFromVirtualKeyboard(){this.connectedToVirtualKeyboard&&(window.removeEventListener("message",this),window.mathVirtualKeyboard.disconnect(),this.connectedToVirtualKeyboard=!1,zh())}showMenu(a){var y,b;const E=(b=(y=a==null?void 0:a.location)!=null?y:Gu(this.field))!=null?b:void 0,ee=a==null?void 0:a.modifiers,re=this.element.querySelector("[part=container]");return this._menu.show({target:re,location:E,modifiers:ee})}get colorMap(){return a=>{var y,b,E;return(E=(b=(y=this.options).colorMap)==null?void 0:b.call(y,a))!=null?E:pt(a)}}get backgroundColorMap(){return a=>{var y,b,E,ee,re,oe;return(oe=(re=(b=(y=this.options).backgroundColorMap)==null?void 0:b.call(y,a))!=null?re:(ee=(E=this.options).colorMap)==null?void 0:ee.call(E,a))!=null?oe:at(a)}}get smartFence(){var a;return(a=this.options.smartFence)!=null?a:!1}get readOnly(){var a;return(a=this.options.readOnly)!=null?a:!1}get disabled(){var a,y;return(y=(a=this.host)==null?void 0:a.disabled)!=null?y:!1}get contentEditable(){return this.host?this.host.getAttribute("contenteditable")!=="false":!1}get userSelect(){if(!this.host)return"";const a=getComputedStyle(this.host);return a.getPropertyValue("user-select")||a.getPropertyValue("-webkit-user-select")}get hasEditableContent(){return this.disabled||!this.contentEditable?!1:!this.readOnly||this.hasEditablePrompts}get hasEditablePrompts(){return this.readOnly&&!this.disabled&&this.contentEditable&&this.model.findAtom(a=>a.type==="prompt"&&!a.locked)!==void 0}get isSelectionEditable(){if(this.disabled||!this.contentEditable)return!1;if(!this.readOnly)return!0;const a=this.model.at(this.model.anchor),y=this.model.at(this.model.position),b=ar.commonAncestor(a,y);return!!((b==null?void 0:b.type)==="prompt"||b!=null&&b.parentPrompt)}get letterShapeStyle(){var a;return(a=this.options.letterShapeStyle)!=null?a:"tex"}get minFontScale(){return this.options.minFontScale}get selectionStyle(){if(this.model.selectionIsCollapsed)return this.effectiveStyle;const a=this.model.getAtoms(this.model.selection);if(a.length===0)return{};const y=xe({},a[0].style);for(const b of a)for(const[E,ee]of Object.entries(b.style))y[E]!==ee&&delete y[E];return y}queryStyle(a){const y=Ih(this,a);"verbatimColor"in y&&delete y.verbatimColor,"verbatimBackgroundColor"in y&&delete y.verbatimBackgroundColor;const b=Object.keys(y).length;if(b===0)return"all";if(b>1){for(const ge of Object.keys(y)){const we=this.queryStyle({[ge]:y[ge]});if(we==="none")return"none";if(we==="some")return"some"}return"all"}const E=Object.keys(y)[0],ee=y[E];if(this.model.selectionIsCollapsed)return this.effectiveStyle[E]===ee?"all":"none";const re=this.model.getAtoms(this.model.selection,{includeChildren:!0});let oe=re.length;if(oe===0)return"none";let me=0;for(const ge of re){if(ge.type==="first"){oe-=1;continue}ge.style[E]===ee&&(me+=1)}return me===0?"none":me===oe?"all":"some"}get keybindings(){var a,y;if(this._keybindings)return this._keybindings;const[b,E]=Um(this.options.keybindings,(a=of())!=null?a:Hm());return((y=of())==null?void 0:y.score)>0&&(this._keybindings=b,E.length>0&&console.error("MathLive 0.98.5: Invalid keybindings for current keyboard layout",E)),b}get menu(){return this._menu}setOptions(a){var y;this.options=xe(xe({},this.options),Zf(a)),this._keybindings=void 0,this.options.defaultMode==="inline-math"?this.element.classList.add("ML__is-inline"):this.element.classList.remove("ML__is-inline");let b=this.options.defaultMode;b==="inline-math"&&(b="math"),((y=this.model.root.firstChild)==null?void 0:y.mode)!==b&&(this.model.root.firstChild.mode=b),this.options.readOnly&&this.hasFocus()&&window.mathVirtualKeyboard.visible&&this.executeCommand("hideVirtualKeyboard");const E=ar.serialize([this.model.root],{expandMacro:!1,defaultMode:this.options.defaultMode});("macros"in a||this.model.getValue()!==E)&&ra.insert(this.model,E,{insertionMode:"replaceAll",selectionMode:"after",format:"latex",silenceNotifications:!0,mode:"math"}),("value"in a||"macros"in a||"registers"in a||"colorMap"in a||"backgroundColorMap"in a||"letterShapeStyle"in a||"minFontScale"in a||"readOnly"in a||"placeholderSymbol"in a)&&Jo(this)}getOptions(a){return ad(this.options,a)}getOption(a){return ad(this.options,a)}handleEvent(a){return Kc(this,null,function*(){var y;if(Xl(this)){if(Sh(a)){if(!Xd(a.origin,(y=this.options.originValidator)!=null?y:"none"))throw new DOMException(`Message from unknown origin (${a.origin}) cannot be handled`,"SecurityError");const{action:b}=a.data;if(b==="execute-command"){const E=a.data.command;if(kd(E)==="virtual-keyboard")return;this.executeCommand(E)}else b==="update-state"||(b==="focus"?this.focus({preventScroll:!0}):b==="blur"&&this.blur());return}switch(a.type){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"mousedown":this.userSelect!=="none"&&V0(this,a);break;case"pointerdown":this.userSelect!=="none"&&(V0(this,a),a.shiftKey===!1&&(yield ip(a,this.element.querySelector("[part=container]"),this._menu))&&Jf.stop());break;case"contextmenu":this.userSelect!=="none"&&a.shiftKey===!1&&(yield ip(a,this.element.querySelector("[part=container]"),this._menu))&&Jf.stop();break;case"virtual-keyboard-toggle":this.hasFocus()&&th(this);break;case"resize":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Xl(this)&&this.onGeometryChange());break;case"scroll":this.geometryChangeTimer&&cancelAnimationFrame(this.geometryChangeTimer),this.geometryChangeTimer=requestAnimationFrame(()=>Xl(this)&&this.onGeometryChange());break;case"wheel":this.onWheel(a);break;default:console.warn("Unexpected event type",a.type)}}})}dispose(){if(!Xl(this))return;st.unsubscribe(this._l10Subscription),this.keyboardDelegate.dispose(),this.keyboardDelegate=void 0,this.eventController.abort(),this.eventController=void 0,this.resizeObserver.disconnect(),window.mathVirtualKeyboard.removeEventListener("virtual-keyboard-toggle",this),this.disconnectFromVirtualKeyboard(),this.model.dispose();const a=this.element;delete a.mathfield,this.element=void 0,this.host=void 0,this.field=void 0,this.ariaLiveText=void 0,Yg(),$m(),mv()}flushInlineShortcutBuffer(a){if(a!=null||(a={defer:!1}),!a.defer){this.inlineShortcutBuffer=[],clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=0;return}this.options.inlineShortcutTimeout>0&&(clearTimeout(this.inlineShortcutBufferFlushTimer),this.inlineShortcutBufferFlushTimer=setTimeout(()=>this.flushInlineShortcutBuffer(),this.options.inlineShortcutTimeout))}executeCommand(a){return kd(a)==="virtual-keyboard"?(this.focus({preventScroll:!0}),window.mathVirtualKeyboard.executeCommand(a),requestAnimationFrame(()=>window.mathVirtualKeyboard.update(Ju(this))),!1):og(this,a)}get errors(){return t0(this.model.getValue(),{context:this.context})}getValue(a,y,b){return this.model.getValue(a,y,b)}setValue(a,y){var b;y=y!=null?y:{mode:"math"},y.insertionMode===void 0&&(y.insertionMode="replaceAll"),(y.format===void 0||y.format==="auto")&&(y.format="latex"),(y.mode===void 0||y.mode==="auto")&&(y.mode=(b=qc(this.model,this.model.position))!=null?b:"math");const E=this.undoManager.canUndo();ra.insert(this.model,a,y)&&(Jo(this),E||this.undoManager.reset(),this.undoManager.snapshot("set-value"))}get expression(){const a=window.MathfieldElement.computeEngine;return a?a.box(a.parse(this.model.getValue("latex-unstyled"))):(console.error("MathLive 0.98.5: no compute engine available. Make sure the Compute Engine library is loaded."),null)}scrollIntoView(){var a;if(!this.element)return;if(this.host){if(this.options.onScrollIntoView)this.options.onScrollIntoView(this);else if(this.host.scrollIntoView({block:"nearest",inline:"nearest"}),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.container===window.document.body){const E=window.mathVirtualKeyboard.boundingRect,ee=this.host.getBoundingClientRect();ee.bottom>E.top&&((a=window.document.scrollingElement)==null||a.scrollBy(0,ee.bottom-E.top+8))}}this.dirty&&rd(this,{interactive:!0});const y=this.field.getBoundingClientRect();let b=null;if(this.model.selectionIsCollapsed)b=Gu(this.field);else{const E=Qd(this);if(E.length>0){let ee=-1/0,re=-1/0;for(const oe of E)oe.right>ee&&(ee=oe.right),oe.top<re&&(re=oe.top);b={x:ee+y.left-this.field.scrollLeft,y:re+y.top-this.field.scrollTop,height:0}}}if(this.host&&b){const E=this.host.getBoundingClientRect(),ee=b.y;let re=this.host.scrollTop;ee<E.top?re=ee-E.top+this.host.scrollTop:ee>E.bottom&&(re=ee-E.bottom+this.host.scrollTop+b.height),this.host.scroll({top:re,left:0})}if(b){const E=b.x-window.scrollX;let ee=this.field.scrollLeft;E<y.left?ee=E-y.left+this.field.scrollLeft-20:E>y.right&&(ee=E-y.right+this.field.scrollLeft+20),this.field.scroll({top:this.field.scrollTop,left:ee})}}insert(a,y){return typeof a!="string"||a.length===0&&((y==null?void 0:y.insertionMode)==="insertBefore"||(y==null?void 0:y.insertionMode)==="insertAfter")||a.length===0&&this.model.selectionIsCollapsed?!1:(this.flushInlineShortcutBuffer(),y=y!=null?y:{mode:"math"},y.focus&&this.focus(),y.feedback&&(window.MathfieldElement.keypressVibration&&ft()&&navigator.vibrate(C0),window.MathfieldElement.playSound("keypress")),a==="\\\\"?L0(this.model):a==="&"?P0(this.model):this.model.selectionIsCollapsed?ra.insert(this.model,a,xe({style:this.model.at(this.model.position).computedStyle},y)):ra.insert(this.model,a,y),this.snapshot(`insert-${this.model.at(this.model.position).type}`),Jo(this),y.scrollIntoView&&this.scrollIntoView(),!0)}switchMode(a,y="",b=""){var E;if(this.model.mode===a||!this.hasEditableContent||!this.contentEditable||this.disabled)return;const ee=this.model.mode;if(this.model.mode=a,!((E=this.host)!=null&&E.dispatchEvent(new Event("mode-change",{bubbles:!0,composed:!0,cancelable:!0})))){this.model.mode=ee;return}const re=this.model.mode,{model:oe}=this;oe.deferNotifications({content:!!b||!!y,selection:!0,type:"insertText"},()=>{let me=!1;if(this.flushInlineShortcutBuffer(),this.stopCoalescingUndo(),y&&a!=="latex"){const ge=Hs(y,{context:this.context,parseMode:a});oe.collapseSelection("forward");const we=oe.at(oe.position);oe.position=oe.offsetOf(we.parent.addChildrenAfter(ge,we)),me=!0}if(this.model.mode=a,a==="latex"){let ge=oe.selectionIsCollapsed;Ad(this,"accept");let we,Me=oe.at(oe.position);if(ge)we="\\";else{const mt=As(oe.selection);we=this.model.getValue(mt,"latex");const It=this.model.extractAtoms(mt);It.length===1&&It[0].type==="placeholder"&&(we=y,ge=!0),Me=oe.at(mt[0])}const Je=new qd(we);Me.parent.addChildAfter(Je,Me),ge?oe.position=oe.offsetOf(Je.lastChild):oe.setSelection(oe.offsetOf(Je.firstChild),oe.offsetOf(Je.lastChild))}else sf(oe).forEach(ge=>{ge.isError=!1});if(b){const ge=Hs(b,{context:this.context,parseMode:re});oe.collapseSelection("forward");const we=oe.at(oe.position);oe.position=oe.offsetOf(we.parent.addChildrenAfter(ge,we)),me=!0}return Jo(this),this.undoManager.snapshot(a==="latex"?"insert-latex":"insert"),me}),this.model.mode=a,window.mathVirtualKeyboard.update(Ju(this))}hasFocus(){return!this.blurred}focus(a){var y;this.hasFocus()||(this.keyboardDelegate.focus(),this.connectToVirtualKeyboard(),this.onFocus(),this.model.announce("line")),(y=a==null?void 0:a.preventScroll)!=null&&y||this.scrollIntoView()}blur(){this.disconnectFromVirtualKeyboard(),this.hasFocus()&&this.keyboardDelegate.blur()}select(){this.model.selection={ranges:[[0,this.model.lastOffset]]},this.focus()}applyStyle(a,y={}){var b,E;const ee={operation:"set",silenceNotifications:!1};mc(y)?ee.range=y:(y.operation==="toggle"&&(ee.operation="toggle"),ee.range=y.range,ee.silenceNotifications=(b=y.silenceNotifications)!=null?b:!1);const re=Ih(this,a),oe=(E=ee.operation)!=null?E:"set";if(ee.range===void 0&&this.model.selectionIsCollapsed){if(oe==="set"){this.defaultStyle=xe(xe({},this.defaultStyle),re);return}const me=xe({},this.defaultStyle);for(const ge of Object.keys(re))me[ge]===re[ge]?(ge==="color"&&delete me.verbatimColor,ge==="backgroundColor"&&delete me.verbatimBackgroundColor,delete me[ge]):me[ge]=re[ge];this.defaultStyle=me;return}this.model.deferNotifications({content:!ee.silenceNotifications,type:"insertText"},()=>{if(ee.range===void 0)for(const me of this.model.selection.ranges)Ah(this.model,me,re,{operation:oe});else Ah(this.model,ee.range,re,{operation:oe})}),Jo(this)}toggleContextMenu(){var a;return this._menu.visible?this._menu.state==="open"?(this._menu.hide(),!0):(this._menu.show({target:this.element.querySelector("[part=container]"),location:(a=this.getCaretPoint())!=null?a:void 0,onDismiss:()=>{var y;return(y=this.element)==null?void 0:y.focus()}}),!0):!1}getCaretPoint(){const a=Gu(this.field);return a?{x:a.x,y:a.y}:null}setCaretPoint(a,y){const b=mf(this,a,y,{bias:0});if(b<0)return!1;const E=this.model.position;return this.model.position=b,this.model.announce("move",E),Jo(this),!0}getPrompt(a){const y=this.model.findAtom(b=>b.type==="prompt"&&b.placeholderId===a);return console.assert(y!==void 0,"MathLive 0.98.5: no prompts with matching ID found"),y}getPromptValue(a,y){const b=this.getPrompt(a);if(!b)return"";const E=this.model.offsetOf(b.firstChild),ee=this.model.offsetOf(b.lastChild);return this.model.getValue(E,ee,y)}getPrompts(a){return this.model.getAllAtoms().filter(y=>y.type!=="prompt"?!1:a?!(a.id&&y.placeholderId!==a.id||a.locked&&y.locked!==a.locked||a.correctness==="undefined"&&y.correctness||a.correctness&&y.correctness!==a.correctness):!0).map(y=>y.placeholderId)}setPromptValue(a,y,b){if(y!==void 0){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}const ee=this.model.getBranchRange(this.model.offsetOf(E),"body");this.model.setSelection(ee),this.insert(y,Ee(xe({},b),{insertionMode:"replaceSelection"}))}b!=null&&b.silenceNotifications&&(this.valueOnFocus=this.getValue()),Jo(this)}setPromptState(a,y,b){const E=this.getPrompt(a);if(!E){console.error(`MathLive 0.98.5: unknown prompt ${a}`);return}y==="undefined"?E.correctness=void 0:typeof y=="string"&&(E.correctness=y),typeof b=="boolean"&&(E.locked=b,E.captureSelection=b),Jo(this)}getPromptState(a){const y=this.getPrompt(a);return y?[y.correctness,y.locked]:(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[void 0,!0])}getPromptRange(a){const y=this.getPrompt(a);return y?this.model.getBranchRange(this.model.offsetOf(y),"body"):(console.error(`MathLive 0.98.5: unknown prompt ${a}`),[0,0])}canUndo(){return this.undoManager.canUndo()}canRedo(){return this.undoManager.canRedo()}popUndoStack(){this.undoManager.pop()}snapshot(a){var y;this.undoManager.snapshot(a)&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this)),(y=this.host)==null||y.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"snapshot"}})))}stopCoalescingUndo(){this.undoManager.stopCoalescing(this.model.selection)}stopRecording(){this.undoManager.stopRecording()}startRecording(){this.undoManager.startRecording()}undo(){var a;this.undoManager.undo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}redo(){var a;this.undoManager.redo()&&(window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this)),(a=this.host)==null||a.dispatchEvent(new CustomEvent("undo-state-change",{bubbles:!0,composed:!0,detail:{type:"undo"}})))}resetUndo(){var a;(a=this.undoManager)==null||a.reset()}onSelectionDidChange(){var a,y;const b=this.model;this.keyboardDelegate.setValue(b.getValue(this.model.selection,"latex-expanded"));{const E=b.at(b.position),ee=(a=E.mode)!=null?a:B0(this.options);this.model.mode!==ee&&(this.model.mode==="latex"?(Ad(this,"accept",{mode:ee}),b.position=b.offsetOf(E)):this.switchMode(ee))}(y=this.host)==null||y.dispatchEvent(new Event("selection-change",{bubbles:!0,composed:!0})),window.mathVirtualKeyboard.visible&&window.mathVirtualKeyboard.update(Ju(this)),th(this)}onContentWillChange(a){var y,b,E;return(E=(b=this.host)==null?void 0:b.dispatchEvent(new InputEvent("beforeinput",Ee(xe({},a),{data:a.data?a.data:(y=a.inputType)!=null?y:"",cancelable:!0,bubbles:!0,composed:!0}))))!=null?E:!0}onFocus(){this.focusBlurInProgress||!this.blurred||(this.focusBlurInProgress=!0,this.blurred=!1,this.keyboardDelegate.focus(),this.stopCoalescingUndo(),rd(this,{interactive:!0}),this.valueOnFocus=this.model.getValue(),this.hasEditablePrompts&&!this.model.at(this.model.anchor).parentPrompt&&this.executeCommand("moveToNextPlaceholder"),this.focusBlurInProgress=!1)}onBlur(){var a,y,b;if(this.focusBlurInProgress||this.blurred)return;this.focusBlurInProgress=!0,this.stopCoalescingUndo(),this.blurred=!0,this.ariaLiveText.textContent="",Md(this),this.model.getValue()!==this.valueOnFocus&&((a=this.host)==null||a.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))),this.disconnectFromVirtualKeyboard(),(y=this.host)==null||y.dispatchEvent(new Event("blur",{bubbles:!1,composed:!0})),(b=this.host)==null||b.dispatchEvent(new UIEvent("focusout",{bubbles:!0,composed:!0})),Jo(this),this.focusBlurInProgress=!1,zh();const E=new AbortController,ee=E.signal;document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&document.addEventListener("visibilitychange",()=>{Xl(this)&&document.visibilityState==="visible"&&this.focus({preventScroll:!0})},{once:!0,signal:ee})},{once:!0,signal:ee}),setTimeout(()=>E.abort(),100)}onInput(a){Lh(this,a)}onKeystroke(a){return W0(this,a)}onCompositionStart(a){this.model.deleteAtoms(As(this.model.selection));const y=Gu(this.field);y&&requestAnimationFrame(()=>{rd(this),this.keyboardDelegate.moveTo(y.x,y.y-y.height)})}onCompositionUpdate(a){Dg(this.model,a),Jo(this)}onCompositionEnd(a){Bg(this.model),Lh(this,a,{simulateKeystroke:!0})}onCut(a){if(!this.isSelectionEditable){this.model.announce("plonk");return}this.model.contentWillChange({inputType:"deleteByCut"})&&(this.stopCoalescingUndo(),ra.onCopy(this,a),$u(this.model,As(this.model.selection),"deleteByCut"),this.snapshot("cut"),Jo(this))}onCopy(a){ra.onCopy(this,a)}onPaste(a){let y=this.isSelectionEditable;return y&&(y=ra.onPaste(this.model.at(this.model.position).mode,this,a.clipboardData)),y||this.model.announce("plonk"),a.preventDefault(),a.stopPropagation(),y}onGeometryChange(){this._menu.hide(),Of(this),th(this)}onWheel(a){const y=5*a.deltaX;if(!Number.isFinite(y)||y===0)return;const b=this.field;y<0&&b.scrollLeft===0||y>0&&b.offsetWidth+b.scrollLeft>=b.scrollWidth||(b.scrollBy({top:0,left:y}),a.preventDefault(),a.stopPropagation())}getHTMLElement(a){let y=a;for(;!y.id&&y.hasChildren;)y=a.children[0];return this.field.querySelector(`[data-atom-id="${y.id}"]`)}get context(){var a,y;return{registers:(a=this.options.registers)!=null?a:{},smartFence:this.smartFence,letterShapeStyle:this.letterShapeStyle,minFontScale:this.minFontScale,placeholderSymbol:(y=this.options.placeholderSymbol)!=null?y:"\u25A2",colorMap:b=>this.colorMap(b),backgroundColorMap:b=>this.backgroundColorMap(b),getMacro:b=>nn(b,this.options.macros),atomIdsSettings:{seed:"random",groupNumbers:!1}}}};function gp(a){if(a&&(a.classList.remove("ML__highlight"),a.children))for(const y of a.children)gp(y)}function $h(a,y){var b;a&&(!y||((b=a.dataset)==null?void 0:b.atomId)===y?(a.classList.add("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&$h(E)})):(a.classList.remove("ML__highlight"),a.children&&a.children.length>0&&[...a.children].forEach(E=>{E instanceof HTMLElement&&$h(E,y)})))}function h1(a,y){var b;if(!dt())return;if(window.MathfieldElement.speechEngine!=="amazon"){console.error("MathLive 0.98.5: Use Amazon TTS Engine for synchronized highlighting"),typeof window.MathfieldElement.speakHook=="function"&&window.MathfieldElement.speakHook(y);return}if(!window.AWS){console.error("MathLive 0.98.5: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk");return}const E=new window.AWS.Polly({apiVersion:"2016-06-10"}),ee={OutputFormat:"json",VoiceId:(b=window.MathfieldElement.speechEngineVoice)!=null?b:"Joanna",Engine:"standard",Text:y,TextType:"ssml",SpeechMarkTypes:["ssml"]};Hc().readAloudElement=a,E.synthesizeSpeech(ee,(re,oe)=>{if(re){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech()\` error: ${re}`);return}if(!(oe!=null&&oe.AudioStream)){console.log("polly.synthesizeSpeech():",oe);return}const me=new TextDecoder("utf-8").decode(new Uint8Array(oe.AudioStream));Hc().readAloudMarks=me.split(`
|
|
|
`).map(ge=>ge?JSON.parse(ge):{}),Hc().readAloudTokens=[];for(const ge of Hc().readAloudMarks)ge.value&&Hc().readAloudTokens.push(ge.value);Hc().readAloudCurrentMark="",ee.OutputFormat="mp3",ee.SpeechMarkTypes=[],E.synthesizeSpeech(ee,(ge,we)=>{if(ge){console.trace(`MathLive 0.98.5: \`polly.synthesizeSpeech("${y}") error:${ge}`);return}if(!(we!=null&&we.AudioStream))return;const Me=new Uint8Array(we.AudioStream),Je=new Blob([Me.buffer],{type:"audio/mpeg"}),mt=URL.createObjectURL(Je),It=Hc();It.readAloudAudio?It.readAloudAudio.pause():(It.readAloudAudio=new Audio,It.readAloudAudio.addEventListener("ended",()=>{const _t=It.readAloudMathfield;It.readAloudStatus="ended",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),_t?(rd(_t),It.readAloudElement=null,It.readAloudMathfield=null,It.readAloudTokens=[],It.readAloudMarks=[],It.readAloudCurrentMark=""):gp(It.readAloudElement)}),It.readAloudAudio.addEventListener("timeupdate",()=>{let _t="";const Wn=It.readAloudAudio.currentTime*1e3+100;for(const Yr of It.readAloudMarks)Yr.time<Wn&&(_t=Yr.value);It.readAloudCurrentMark!==_t&&(It.readAloudCurrentToken=_t,_t&&_t===It.readAloudFinalToken?It.readAloudAudio.pause():(It.readAloudCurrentMark=_t,$h(It.readAloudElement,It.readAloudCurrentMark)))})),It.readAloudAudio.src=mt,It.readAloudStatus="playing",document.body.dispatchEvent(new Event("read-aloud-status-change",{bubbles:!0,composed:!0})),It.readAloudAudio.play()})})}dt()||console.error('MathLive 0.98.5: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the "mathlive-ssr" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.');var Ga=new WeakMap,p1=.5,zc={letterShapeStyle:"mf.letterShapeStyle = ...",horizontalSpacingScale:'Removed. Use `"thinmuskip"`, `"medmuskip"`, and `"thickmuskip"` registers ',macros:"mf.macros = ...",registers:"mf.registers = ...",backgroundColorMap:"mf.backgroundColorMap = ...",colorMap:"mf.colorMap = ...",enablePopover:"mf.popoverPolicy = ...",mathModeSpace:"mf.mathModeSpace = ...",placeholderSymbol:"mf.placeholderSymbol = ...",readOnly:"mf.readOnly = ...",removeExtraneousParentheses:"mf.removeExtraneousParentheses = ...",scriptDepth:"mf.scriptDepth = ...",smartFence:"mf.smartFence = ...",smartMode:"mf.smartMode = ...",smartSuperscript:"mf.smartSuperscript = ...",inlineShortcutTimeout:"mf.inlineShortcutTimeout = ...",inlineShortcuts:"mf.inlineShortcuts = ...",keybindings:"mf.keybindings = ...",virtualKeyboardMode:"mf.mathVirtualKeyboardPolicy = ...",customVirtualKeyboardLayers:"mathVirtualKeyboard.layers = ...",customVirtualKeyboards:"mathVirtualKeyboard.layouts = ...",keypressSound:"mathVirtualKeyboard.keypressSound = ...",keypressVibration:"mathVirtualKeyboard.keypressVibration = ...",plonkSound:"mathVirtualKeyboard.plonkSound = ...",virtualKeyboardContainer:"mathVirtualKeyboard.container = ...",virtualKeyboardLayout:"mathVirtualKeyboard.alphabeticLayout = ...",virtualKeyboardTheme:"No longer supported",virtualKeyboardToggleGlyph:"No longer supported",virtualKeyboardToolbar:"mathVirtualKeyboard.editToolbar = ...",virtualKeyboards:"Use `mathVirtualKeyboard.layouts`",speechEngine:"`MathfieldElement.speechEngine`",speechEngineRate:"`MathfieldElement.speechEngineRate`",speechEngineVoice:"`MathfieldElement.speechEngineVoice`",textToSpeechMarkup:"`MathfieldElement.textToSpeechMarkup`",textToSpeechRules:"`MathfieldElement.textToSpeechRules`",textToSpeechRulesOptions:"`MathfieldElement.textToSpeechRulesOptions`",readAloudHook:"`MathfieldElement.readAloudHook`",speakHook:"`MathfieldElement.speakHook`",computeEngine:"`MathfieldElement.computeEngine`",fontsDirectory:"`MathfieldElement.fontsDirectory`",soundsDirectory:"`MathfieldElement.soundsDirectory`",createHTML:"`MathfieldElement.createHTML`",onExport:"`MathfieldElement.onExport`",onInlineShortcut:"`MathfieldElement.onInlineShortcut`",onScrollIntoView:"`MathfieldElement.onScrollIntoView`",locale:"MathfieldElement.locale = ...",strings:"MathfieldElement.strings = ...",decimalSeparator:"MathfieldElement.decimalSeparator = ...",fractionNavigationOrder:"MathfieldElement.fractionNavigationOrder = ..."},Js=class hd extends HTMLElement{static get formAssociated(){return zd()}static get optionsAttributes(){return{"default-mode":"string","letter-shape-style":"string","min-font-scale":"number","popover-policy":"string","math-mode-space":"string","read-only":"boolean","remove-extraneous-parentheses":"on/off","smart-fence":"on/off","smart-mode":"on/off","smart-superscript":"on/off","inline-shortcut-timeout":"string","script-depth":"string",placeholder:"string","virtual-keyboard-target-origin":"string","math-virtual-keyboard-policy":"string"}}static get observedAttributes(){return[...Object.keys(this.optionsAttributes),"contenteditable","disabled","readonly","read-only"]}static get fontsDirectory(){return this._fontsDirectory}static set fontsDirectory(y){y!==this._fontsDirectory&&(this._fontsDirectory=y,ng())}get fontsDirectory(){throw new Error("Use MathfieldElement.fontsDirectory instead")}set fontsDirectory(y){throw new Error("Use MathfieldElement.fontsDirectory instead")}static get soundsDirectory(){return this._soundsDirectory}static set soundsDirectory(y){this._soundsDirectory=y,this.audioBuffers={}}get soundsDirectory(){throw new Error("Use MathfieldElement.soundsDirectory instead")}set soundsDirectory(y){throw new Error("Use MathfieldElement.soundsDirectory instead")}static get keypressSound(){return this._keypressSound}static set keypressSound(y){var b,E,ee;this.audioBuffers={},y===null?this._keypressSound={spacebar:null,return:null,delete:null,default:null}:typeof y=="string"?this._keypressSound={spacebar:y,return:y,delete:y,default:y}:typeof y=="object"&&"default"in y&&(this._keypressSound={spacebar:(b=y.spacebar)!=null?b:y.default,return:(E=y.return)!=null?E:y.default,delete:(ee=y.delete)!=null?ee:y.default,default:y.default})}static get plonkSound(){return this._plonkSound}static set plonkSound(y){this.audioBuffers={},this._plonkSound=y}static get audioContext(){return this._audioContext||(this._audioContext=new AudioContext),this._audioContext}static get speechEngine(){return this._speechEngine}static set speechEngine(y){this._speechEngine=y}static get speechEngineRate(){return this._speechEngineRate}static set speechEngineRate(y){this._speechEngineRate=y}static get speechEngineVoice(){return this._speechEngineVoice}static set speechEngineVoice(y){this._speechEngineVoice=y}static get textToSpeechMarkup(){return this._textToSpeechMarkup}static set textToSpeechMarkup(y){this._textToSpeechMarkup=y}static get textToSpeechRules(){return this._textToSpeechRules}static set textToSpeechRules(y){this._textToSpeechRules=y}static get textToSpeechRulesOptions(){return this._textToSpeechRulesOptions}static set textToSpeechRulesOptions(y){this._textToSpeechRulesOptions=y}static get locale(){return st.locale}static set locale(y){y==="auto"&&(y=navigator.language.slice(0,5)),st.locale=y}get locale(){throw new Error("Use MathfieldElement.locale instead")}set locale(y){throw new Error("Use MathfieldElement.locale instead")}static get strings(){return st.strings}static set strings(y){st.merge(y)}get strings(){throw new Error("Use MathfieldElement.strings instead")}set strings(y){throw new Error("Use MathfieldElement.strings instead")}static get decimalSeparator(){return this._decimalSeparator}static set decimalSeparator(y){this._decimalSeparator=y,this._computeEngine&&(this._computeEngine.latexOptions.decimalMarker=this.decimalSeparator===","?"{,}":".")}get decimalSeparator(){throw new Error("Use MathfieldElement.decimalSeparator instead")}set decimalSeparator(y){throw new Error("Use MathfieldElement.decimalSeparator instead")}static get computeEngine(){var y,b;if(this._computeEngine===void 0){const E=(y=window[Symbol.for("io.cortexjs.compute-engine")])==null?void 0:y.ComputeEngine;if(!E)return null;this._computeEngine=new E,this._computeEngine&&this.decimalSeparator===","&&(this._computeEngine.latexOptions.decimalMarker="{,}")}return(b=this._computeEngine)!=null?b:null}static set computeEngine(y){this._computeEngine=y}get computeEngine(){throw new Error("Use MathfieldElement.computeEngine instead")}set computeEngine(y){throw new Error("Use MathfieldElement.computeEngine instead")}static get isFunction(){return typeof this._isFunction!="function"?()=>!1:this._isFunction}static set isFunction(y){this._isFunction=y}static loadSound(y){return Kc(this,null,function*(){delete this.audioBuffers[y];let b="";switch(y){case"keypress":b=this._keypressSound.default;break;case"return":b=this._keypressSound.return;break;case"spacebar":b=this._keypressSound.spacebar;break;case"delete":b=this._keypressSound.delete;break;case"plonk":b=this.plonkSound;break}if(typeof b!="string")return;b=b.trim();const E=this.soundsDirectory;if(!(E==null||E==="null"||b==="none"||b==="null"))try{const re=yield(yield fetch(yield x0(`${E}/${b}`))).arrayBuffer(),oe=yield this.audioContext.decodeAudioData(re);this.audioBuffers[y]=oe}catch(ee){}})}static playSound(y){return Kc(this,null,function*(){if((this.audioContext.state==="suspended"||this.audioContext.state==="interrupted")&&(yield this.audioContext.resume()),this.audioBuffers[y]||(yield this.loadSound(y)),!this.audioBuffers[y])return;const b=this.audioContext.createBufferSource();b.buffer=this.audioBuffers[y];const E=this.audioContext.createGain();E.gain.value=p1,b.connect(E).connect(this.audioContext.destination),b.start()})}constructor(y){if(super(),y){const b=[];for(const E of Object.keys(y))if(zc[E])if(zc[E].startsWith("mf."))if(zc[E].startsWith(`mf.${E}`))b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${zc[E]}`);else{const ee=zc[E].match(/([a-zA-Z]+) =/);b.push(`Option \`${E}\` has been renamed \`${ee[1]}\``)}else b.push(`Option \`${E}\` cannot be used as a constructor option. Use ${zc[E]}`);if(b.length>0){console.group("%cMathLive 0.98.5: %cInvalid Options","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn("Some of the options passed to `new MathfieldElement(...)` are invalid. \n See https://cortexjs.io/mathlive/changelog/ for details.");for(const E of b)console.warn(E);console.groupEnd()}}if(zd()&&(this._internals=this.attachInternals(),this._internals.role="math",this._internals.ariaLabel="math input field",this._internals.ariaMultiLine="false"),this.attachShadow({mode:"open",delegatesFocus:!0}),this.shadowRoot&&"adoptedStyleSheets"in this.shadowRoot){this.shadowRoot.adoptedStyleSheets=[Oc("core"),Oc("mathfield"),Oc("mathfield-element"),Oc("ui"),Oc("menu")],this.shadowRoot.appendChild(document.createElement("span"));const b=document.createElement("slot");b.style.display="none",this.shadowRoot.appendChild(b)}else this.shadowRoot.innerHTML="<style>"+vc("core")+vc("mathfield")+vc("mathfield-element")+vc("ui")+vc("menu")+'</style><span></span><slot style="display:none"></slot>';y&&this._setOptions(y),this.shadowRoot.addEventListener("slotchange",()=>{var b;const E=this.shadowRoot.querySelector("slot:not([name])");this.value=(b=E==null?void 0:E.assignedNodes().map(ee=>ee.nodeType===3?ee.textContent:"").join("").trim())!=null?b:""})}showMenu(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.showMenu(y))!=null?E:!1}get mathVirtualKeyboard(){throw new Error("The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.")}onPointerDown(){window.addEventListener("pointerup",y=>{var b;y.target===this&&!((b=this._mathfield)!=null&&b.disabled)&&this.dispatchEvent(new MouseEvent("click",{altKey:y.altKey,button:y.button,buttons:y.buttons,clientX:y.clientX,clientY:y.clientY,ctrlKey:y.ctrlKey,metaKey:y.metaKey,movementX:y.movementX,movementY:y.movementY,relatedTarget:y.relatedTarget,screenX:y.screenX,screenY:y.screenY,shiftKey:y.shiftKey}))},{once:!0})}getPromptValue(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.getPromptValue(y,b))!=null?ee:""}setPromptValue(y,b,E){var ee;(ee=this._mathfield)==null||ee.setPromptValue(y,b,E)}getPromptRange(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptRange(y))!=null?E:null}getPrompts(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPrompts(y))!=null?E:[]}get form(){var y;return(y=this._internals)==null?void 0:y.form}get name(){var y;return(y=this.getAttribute("name"))!=null?y:""}get type(){return this.localName}get mode(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.mode)!=null?b:this.defaultMode==="text"?"text":"math"}set mode(y){var b;(b=this._mathfield)==null||b.switchMode(y)}get expression(){if(this._mathfield)return window[Symbol.for("io.cortexjs.compute-engine")]?this._mathfield.expression:(console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`),null)}set expression(y){var b,E;if(!this._mathfield)return;const ee=(E=(b=hd.computeEngine)==null?void 0:b.box(y).latex)!=null?E:null;ee!==null&&this._mathfield.setValue(ee),window[Symbol.for("io.cortexjs.compute-engine")]||console.error(`MathLive 0.98.5: The CortexJS Compute Engine library is not available.
|
|
|
|
|
|
Load the library, for example with:
|
|
|
|
|
|
import "https://unpkg.com/@cortex-js/compute-engine?module"`)}get errors(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.errors)!=null?b:[]}_getOptions(y){return this._mathfield?ad(this._mathfield.options,y):Ga.has(this)?xe({},ad(xe(xe({},jf()),Zf(Ga.get(this).options)),y)):null}getOptions(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOptions()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._mathfield?ad(this._mathfield.options,y):Ga.has(this)?ad(xe(xe({},jf()),Zf(Ga.get(this).options)),y):null}reflectAttributes(){const y=jf(),b=this._getOptions();Object.keys(hd.optionsAttributes).forEach(E=>{const ee=wc(E);hd.optionsAttributes[E]==="on/off"?y[ee]!==b[ee]?this.setAttribute(E,b[ee]?"on":"off"):this.removeAttribute(E):y[ee]!==b[ee]&&(hd.optionsAttributes[E]==="boolean"?b[ee]?this.setAttribute(E,""):this.removeAttribute(E):(typeof b[ee]=="string"||typeof b[ee]=="number")&&this.setAttribute(E,b[ee].toString()))})}getOption(y){return console.warn("%cMathLive 0.98.5: %cDeprecated Usage%c\n `mf.getOption()` is deprecated. Read the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem","color: inherit, font-size: 1rem"),this._getOptions([y])[y]}_getOption(y){return this._getOptions([y])[y]}_setOptions(y){if(this._mathfield)this._mathfield.setOptions(y);else if(Ga.has(this)){const b=xe(xe({},Ga.get(this).options),y);Ga.set(this,Ee(xe({},Ga.get(this)),{selection:{ranges:b.readOnly?[[0,0]]:[[0,-1]]},options:b}))}else Ga.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:y,menuItems:void 0});this.reflectAttributes()}setOptions(y){console.group("%cMathLive 0.98.5: %cDeprecated Usage","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),console.warn(" `mf.setOptions()` is deprecated. Set the property directly on the mathfield instead.\n See https://cortexjs.io/mathlive/changelog/ for details.");for(const b of Object.keys(y))zc[b]&&console.warn(`\`mf.setOptions({${b}:...})\` -> ${zc[b]}`);console.groupEnd(),this._setOptions(y)}executeCommand(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.executeCommand(y))!=null?E:!1}getValue(y,b,E){var ee,re;if(this._mathfield)return this._mathfield.model.getValue(y,b,E);if(Ga.has(this)){let oe,me,ge;if(_u(y)?([oe,me]=y.ranges[0],ge=b):mc(y)?([oe,me]=y,ge=b):gu(y)&&gu(b)?(oe=y,me=b,ge=E):(oe=0,me=-1,ge=y),(ge===void 0||ge==="latex")&&oe===0&&me===-1)return(re=(ee=Ga.get(this).value)!=null?ee:this.textContent)!=null?re:""}return""}setValue(y,b){if(this._mathfield&&y!==void 0){b!=null||(b={silenceNotifications:!0,mode:"math"}),this._mathfield.setValue(y,b);return}if(Ga.has(this)){const ee=Ga.get(this).options;Ga.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:ee,menuItems:void 0});return}const E=Cf(this);Ga.set(this,{value:y,selection:{ranges:[[-1,-1]],direction:"forward"},options:E,menuItems:void 0})}hasFocus(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.hasFocus())!=null?b:!1}focus(){var y;(y=this._mathfield)==null||y.focus()}blur(){var y;(y=this._mathfield)==null||y.blur()}select(){var y;(y=this._mathfield)==null||y.select()}insert(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.insert(y,b))!=null?ee:!1}applyStyle(y,b){var E;return(E=this._mathfield)==null?void 0:E.applyStyle(y,b)}queryStyle(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.queryStyle(y))!=null?E:"none"}get caretPoint(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.getCaretPoint())!=null?b:null}set caretPoint(y){var b;y&&((b=this._mathfield)==null||b.setCaretPoint(y.x,y.y))}setCaretPoint(y,b){var E,ee;return(ee=(E=this._mathfield)==null?void 0:E.setCaretPoint(y,b))!=null?ee:!1}offsetFromPoint(y,b,E){return this._mathfield?mf(this._mathfield,y,b,E):-1}hitboxFromOffset(y){if(!this._mathfield)return null;const b=this._mathfield.model.at(y);if(!b)return null;const E=Fc(this._mathfield,b);return E?new DOMRect(E.left,E.top,E.right-E.left,E.bottom-E.top):null}resetUndo(){var y;(y=this._mathfield)==null||y.resetUndo()}canUndo(){return this._mathfield?this._mathfield.canUndo():!1}canRedo(){return this._mathfield?this._mathfield.canRedo():!1}handleEvent(y){var b,E,ee,re;Yu.state==="closed"&&((E=(b=this._mathfield)==null?void 0:b.menu)==null?void 0:E.state)==="closed"&&(y.type==="pointerdown"&&this.onPointerDown(),y.type==="focus"&&((ee=this._mathfield)==null||ee.focus()),y.type==="blur"&&((re=this._mathfield)==null||re.blur()))}connectedCallback(){var y,b,E,ee;const re=window.getComputedStyle(this),oe=this.shadowRoot,me=re.userSelect!=="none";if(me)oe.host.addEventListener("pointerdown",this,!0);else{const Me=oe.querySelector("span");Me.style.pointerEvents="none"}oe.host.addEventListener("focus",this,!0),oe.host.addEventListener("blur",this,!0),zd()||(this.hasAttribute("role")||this.setAttribute("role","math"),this.hasAttribute("aria-label")||this.setAttribute("aria-label","math input field"),this.setAttribute("aria-multiline","false")),me&&!this.hasAttribute("contenteditable")&&this.setAttribute("contenteditable","true"),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0");const ge=oe.querySelector("slot:not([name])");if(ge)try{this._style=ge.assignedElements().filter(Me=>Me.tagName.toLowerCase()==="style").map(Me=>Me.textContent).join("")}catch(Me){console.error(Me)}if(this._style){const Me=document.createElement("style");Me.textContent=this._style,oe.appendChild(Me)}let we="";if(this.hasAttribute("value")?we=this.getAttribute("value"):we=(y=ge==null?void 0:ge.assignedNodes().map(Me=>Me.nodeType===3?Me.textContent:"").join("").trim())!=null?y:"",this._mathfield=new f1(oe.querySelector(":host > span"),Ee(xe({},(E=(b=Ga.get(this))==null?void 0:b.options)!=null?E:Cf(this)),{eventSink:this,value:we})),!Ga.has(this)){this.upgradeProperty("disabled"),this.upgradeProperty("readonly");for(const Me of Object.keys(hd.optionsAttributes))this.upgradeProperty(wc(Me))}if(!((ee=this._mathfield)!=null&&ee.model)){this._mathfield=null;return}if(Ga.has(this)){const Me=this._mathfield,Je=Ga.get(this),mt=Je.menuItems;Me.model.deferNotifications({content:!1,selection:!1},()=>{const It=Je.value;It!==void 0&&Me.setValue(It),Me.model.selection=Je.selection,Ga.delete(this)}),mt&&(this.menuItems=mt)}window.queueMicrotask(()=>{this.isConnected&&this.dispatchEvent(new Event("mount",{cancelable:!1,bubbles:!0,composed:!0}))}),Rf()}disconnectedCallback(){var y,b;if(this.shadowRoot.host.removeEventListener("pointerdown",this,!0),!this._mathfield)return;window.queueMicrotask(()=>this.dispatchEvent(new Event("unmount",{cancelable:!1,bubbles:!0,composed:!0})));const E=ad(this._mathfield.options,Object.keys(hd.optionsAttributes).map(ee=>wc(ee)));Ga.set(this,{value:this._mathfield.getValue(),selection:this._mathfield.model.selection,menuItems:(b=(y=this._mathfield.menu)==null?void 0:y.menuItems)!=null?b:void 0,options:E}),this._mathfield.dispose(),this._mathfield=null}upgradeProperty(y){if(this.hasOwnProperty(y)){const b=this[y];delete this[y],(y==="readonly"||y==="read-only")&&(y="readOnly"),this[y]=b}}attributeChangedCallback(y,b,E){if(b===E)return;const ee=E!==null;switch(y){case"contenteditable":Jo(this._mathfield);break;case"disabled":this.disabled=ee;break;case"read-only":case"readonly":this.readOnly=ee;break;default:}}get readonly(){return this.hasAttribute("readonly")||this.hasAttribute("read-only")}set readonly(y){const b=!!y;b?(this.setAttribute("readonly",""),zd()?this._internals.ariaReadOnly="true":this.setAttribute("aria-readonly","true"),this.setAttribute("aria-readonly","true")):(zd()?this._internals.ariaReadOnly="false":this.removeAttribute("aria-readonly"),this.removeAttribute("readonly"),this.removeAttribute("read-only")),this._setOptions({readOnly:b})}get disabled(){return this.hasAttribute("disabled")}set disabled(y){var b;const E=!!y;E?this.setAttribute("disabled",""):this.removeAttribute("disabled"),zd()?this._internals.ariaDisabled=E?"true":"false":this.setAttribute("aria-disabled",E?"true":"false"),E&&((b=this._mathfield)!=null&&b.hasFocus)&&window.mathVirtualKeyboard.visible&&this._mathfield.executeCommand("hideVirtualKeyboard")}get value(){return this.getValue()}set value(y){this.setValue(y)}get defaultMode(){return this._getOption("defaultMode")}set defaultMode(y){this._setOptions({defaultMode:y})}get macros(){return this._getOption("macros")}set macros(y){this._setOptions({macros:y})}get registers(){const y=this;return new Proxy({},{get:(b,E)=>{if(typeof E=="string")return y._getOption("registers")[E]},set(b,E,ee){return typeof E!="string"?!1:(y._setOptions({registers:Ee(xe({},y._getOption("registers")),{[E]:ee})}),!0)}})}set registers(y){this._setOptions({registers:y})}get colorMap(){return this._getOption("colorMap")}set colorMap(y){this._setOptions({colorMap:y})}get backgroundColorMap(){return this._getOption("backgroundColorMap")}set backgroundColorMap(y){this._setOptions({backgroundColorMap:y})}get letterShapeStyle(){return this._getOption("letterShapeStyle")}set letterShapeStyle(y){this._setOptions({letterShapeStyle:y})}get minFontScale(){return this._getOption("minFontScale")}set minFontScale(y){this._setOptions({minFontScale:y})}get smartMode(){return this._getOption("smartMode")}set smartMode(y){this._setOptions({smartMode:y})}get smartFence(){return this._getOption("smartFence")}set smartFence(y){this._setOptions({smartFence:y})}get smartSuperscript(){return this._getOption("smartSuperscript")}set smartSuperscript(y){this._setOptions({smartSuperscript:y})}get scriptDepth(){return this._getOption("scriptDepth")}set scriptDepth(y){this._setOptions({scriptDepth:y})}get removeExtraneousParentheses(){return this._getOption("removeExtraneousParentheses")}set removeExtraneousParentheses(y){this._setOptions({removeExtraneousParentheses:y})}get mathModeSpace(){return this._getOption("mathModeSpace")}set mathModeSpace(y){this._setOptions({mathModeSpace:y})}get placeholderSymbol(){return this._getOption("placeholderSymbol")}set placeholderSymbol(y){this._setOptions({placeholderSymbol:y})}get popoverPolicy(){return this._getOption("popoverPolicy")}set popoverPolicy(y){this._setOptions({popoverPolicy:y})}get environmentPopoverPolicy(){return this._getOption("environmentPopoverPolicy")}set environmentPopoverPolicy(y){this._setOptions({environmentPopoverPolicy:y})}get menuItems(){var y,b,E;return this._mathfield?(y=this._mathfield.menu._menuItems.map(ee=>ee.menuItem))!=null?y:[]:(E=(b=Ga.get(this))==null?void 0:b.menuItems)!=null?E:[]}set menuItems(y){var b;if(this._mathfield){const E=(b=this._mathfield.element)==null?void 0:b.querySelector("[part=menu-toggle]");E&&(E.style.display=y.length===0?"none":""),this._mathfield.menu.menuItems=y}Ga.has(this)?Ga.set(this,Ee(xe({},Ga.get(this)),{menuItems:y})):Ga.set(this,{value:void 0,selection:{ranges:[[0,0]]},options:Cf(this),menuItems:y})}get mathVirtualKeyboardPolicy(){return this._getOption("mathVirtualKeyboardPolicy")}set mathVirtualKeyboardPolicy(y){this._setOptions({mathVirtualKeyboardPolicy:y})}get inlineShortcuts(){return this._getOption("inlineShortcuts")}set inlineShortcuts(y){this._setOptions({inlineShortcuts:y})}get inlineShortcutTimeout(){return this._getOption("inlineShortcutTimeout")}set inlineShortcutTimeout(y){this._setOptions({inlineShortcutTimeout:y})}get keybindings(){return this._getOption("keybindings")}set keybindings(y){this._setOptions({keybindings:y})}get onInlineShortcut(){return this._getOption("onInlineShortcut")}set onInlineShortcut(y){this._setOptions({onInlineShortcut:y})}get onScrollIntoView(){return this._getOption("onScrollIntoView")}set onScrollIntoView(y){this._setOptions({onScrollIntoView:y})}get onExport(){return this._getOption("onExport")}set onExport(y){this._setOptions({onExport:y})}get readOnly(){return this._getOption("readOnly")}set readOnly(y){this._setOptions({readOnly:y})}get isSelectionEditable(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.isSelectionEditable)!=null?b:!1}setPromptState(y,b,E){var ee;(ee=this._mathfield)==null||ee.setPromptState(y,b,E)}getPromptState(y){var b,E;return(E=(b=this._mathfield)==null?void 0:b.getPromptState(y))!=null?E:[void 0,!0]}get virtualKeyboardTargetOrigin(){return this._getOption("virtualKeyboardTargetOrigin")}set virtualKeyboardTargetOrigin(y){this._setOptions({virtualKeyboardTargetOrigin:y})}get selection(){return this._mathfield?this._mathfield.model.selection:Ga.has(this)?Ga.get(this).selection:{ranges:[[0,0]],direction:"forward"}}set selection(y){if(typeof y=="number"&&(y={ranges:[[y,y]]}),this._mathfield){this._mathfield.model.selection=y,Jo(this._mathfield);return}if(Ga.has(this)){Ga.set(this,Ee(xe({},Ga.get(this)),{selection:y}));return}Ga.set(this,{value:void 0,selection:y,options:Cf(this),menuItems:void 0})}get selectionIsCollapsed(){const y=this.selection;return y.ranges.length===1&&y.ranges[0][0]===y.ranges[0][1]}get position(){return this._mathfield?this._mathfield.model.position:Ga.has(this)?Ga.get(this).selection.ranges[0][0]:0}set position(y){if(this._mathfield&&(this._mathfield.model.position=y,Jo(this._mathfield)),Ga.has(this)){Ga.set(this,Ee(xe({},Ga.get(this)),{selection:{ranges:[[y,y]]}}));return}Ga.set(this,{value:void 0,selection:{ranges:[[y,y]]},options:Cf(this),menuItems:void 0})}getOffsetDepth(y){var b,E;return this._mathfield?((E=(b=this._mathfield.model.at(y))==null?void 0:b.treeDepth)!=null?E:2)-2:0}get lastOffset(){var y,b;return(b=(y=this._mathfield)==null?void 0:y.model.lastOffset)!=null?b:-1}};Js.version="0.98.5",Js._fontsDirectory="./fonts",Js._soundsDirectory="./sounds",Js.keypressVibration=!0,Js._keypressSound={spacebar:"keypress-spacebar.wav",return:"keypress-return.wav",delete:"keypress-delete.wav",default:"keypress-standard.wav"},Js._plonkSound="plonk.wav",Js.audioBuffers={},Js.createHTML=a=>a,Js._speechEngineRate="100%",Js._speechEngineVoice="Joanna",Js._textToSpeechMarkup="",Js._textToSpeechRules="mathlive",Js._textToSpeechRulesOptions={},Js.speakHook=r1,Js.readAloudHook=h1,Js._decimalSeparator=".",Js.fractionNavigationOrder="numerator-denominator",Js._isFunction=a=>{var y,b;const E=window.MathfieldElement.computeEngine;return(b=(y=E==null?void 0:E.parse(a).domain)==null?void 0:y.isFunction)!=null?b:!1};var wf=Js;function wc(a){return a.replace(/[^a-zA-Z\d]+(.)/g,(y,b)=>b.toUpperCase())}function Cf(a){const y={readOnly:!1},b=wf.optionsAttributes;return Object.keys(b).forEach(E=>{if(a.hasAttribute(E)){const ee=a.getAttribute(E);E==="placeholder"?y.contentPlaceholder=ee!=null?ee:"":b[E]==="boolean"?y[wc(E)]=!0:b[E]==="on/off"?ee==="on"?y[wc(E)]=!0:ee==="off"?y[wc(E)]=!1:y[wc(E)]=void 0:b[E]==="number"?y[wc(E)]=Number.parseFloat(ee!=null?ee:"0"):y[wc(E)]=ee}}),y}function zd(){return!(!("ElementInternals"in window)||!HTMLElement.prototype.attachInternals||!("role"in window.ElementInternals.prototype))}var vp=wf,yp,bp,xp,wp;if(dt()&&!((yp=window.customElements)!=null&&yp.get("math-field"))){(xp=window[bp=Symbol.for("io.cortexjs.mathlive")])!=null||(window[bp]={});const a=window[Symbol.for("io.cortexjs.mathlive")];a.version="0.98.5",window.MathfieldElement=wf,(wp=window.customElements)==null||wp.define("math-field",wf)}function m1(a,y,b){let E=b,ee=0;const re=a.length;for(;E<y.length;){const oe=y[E];if(ee<=0&&y.slice(E,E+re)===a)return E;oe==="\\"?E++:oe==="{"?ee++:oe==="}"&&ee--,E++}return-1}function oh(a,y,b,E,ee="latex"){const re=[];for(const oe of a)if(oe.type==="text"){const me=oe.data;let ge=!0,we=0,Me;Me=me.indexOf(y),Me!==-1&&(we=Me,we>0&&re.push({type:"text",data:me.slice(0,we)}),ge=!1);let Je=!1;for(;!Je;){if(ge){if(Me=me.indexOf(y,we),Me===-1){Je=!0;break}we!==Me&&re.push({type:"text",data:me.slice(we,Me)}),we=Me}else{if(Me=m1(b,me,we+y.length),Me===-1){Je=!0;break}let mt=me.slice(we+y.length,Me);ee==="ascii-math"&&([,mt]=Fi(mt,{format:"ascii-math"})),re.push({type:"math",data:mt,rawData:me.slice(we,Me+b.length),mathstyle:E}),we=Me+b.length}ge=!ge}we<me.length&&re.push({type:"text",data:me.slice(we)})}else re.push(oe);return re}function Cp(a,y,b){let E=[{type:"text",data:a}];return y!=null&&y.inline&&y.inline.forEach(([ee,re])=>{E=oh(E,ee,re,"textstyle")}),y!=null&&y.display&&y.display.forEach(([ee,re])=>{E=oh(E,ee,re,"displaystyle")}),b!=null&&b.inline&&b.inline.forEach(([ee,re])=>{E=oh(E,ee,re,"textstyle","ascii-math")}),b!=null&&b.display&&b.display.forEach(([ee,re])=>{E=oh(E,ee,re,"displaystyle","ascii-math")}),E}function g1(a,y){const b=document.createElement("span");b.setAttribute("translate","no");try{const E="<math xmlns='http://www.w3.org/1998/Math/MathML'>"+y.renderToMathML(a)+"</math>";b.innerHTML=window.MathfieldElement.createHTML(E)}catch(E){console.error(`MathLive 0.98.5: Could not convert "${a}"' to MathML with ${E}`),b.textContent=a}return b.className="ML__sr-only",b}function v1(a,y,b,E){try{const ee=y.renderToMarkup(a,{mathstyle:b,format:"html"}),re=document.createElement("span");return re.dataset.latex=a,re.style.display=b==="displaystyle"?"flex":"inline-flex",re.setAttribute("aria-hidden","true"),re.setAttribute("translate","no"),re.innerHTML=window.MathfieldElement.createHTML(ee),re}catch(ee){if(console.error("Could not parse'"+a+"' with ",ee),E)return document.createTextNode(a)}return null}function Hd(a,y,b,E){var ee;const re=v1(a,b,y||"textstyle",E),oe=(ee=b.renderAccessibleContent)!=null?ee:"";if(re&&/\b(mathml|speakable-text)\b/i.test(oe)){const me=document.createElement("span");if(/\bmathml\b/i.test(oe)&&b.renderToMathML&&me.append(g1(a,b)),/\bspeakable-text\b/i.test(oe)&&b.renderToSpeakableText){const ge=document.createElement("span");ge.setAttribute("translate","no");const we=b.renderToSpeakableText(a);ge.innerHTML=window.MathfieldElement.createHTML(we),ge.className="ML__sr-only",me.append(ge)}return me.append(re),me}return re}function y1(a,y){var b,E,ee;let re=null;if((b=y.TeX)!=null&&b.processEnvironments&&/^\s*\\begin/.test(a)){re=document.createDocumentFragment();const oe=Hd(a,"",y,!0);oe&&re.appendChild(oe)}else{if(!a.trim())return null;const oe=Cp(a,(E=y.TeX)==null?void 0:E.delimiters,(ee=y.asciiMath)==null?void 0:ee.delimiters);if(oe.length===1&&oe[0].type==="text")return null;re=document.createDocumentFragment();for(const me of oe)if(me.type==="text")re.appendChild(document.createTextNode(me.data));else{const ge=Hd(me.data,me.mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);ge&&re.appendChild(ge)}}return re}function Sp(a,y){var b,E,ee,re,oe,me,ge,we,Me,Je,mt,It,_t,Wn,Yr,zn;if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const hr=(b=a.childNodes[0].textContent)!=null?b:"";if((E=y.TeX)!=null&&E.processEnvironments&&/^\s*\\begin/.test(hr)){a.textContent="";const Ar=Hd(hr,"",y,!0);Ar&&a.append(Ar);return}const ei=Cp(hr,(ee=y.TeX)==null?void 0:ee.delimiters,(re=y.asciiMath)==null?void 0:re.delimiters);if(ei.length===1&&ei[0].type==="math"){a.textContent="";const Ar=Hd(ei[0].data,ei[0].mathstyle==="textstyle"?"textstyle":"displaystyle",y,!0);Ar&&a.append(Ar);return}if(ei.length===1&&ei[0].type==="text")return}for(let hr=a.childNodes.length-1;hr>=0;hr--){const ei=a.childNodes[hr];if(ei.nodeType===3){const Ar=y1((oe=ei.textContent)!=null?oe:"",y);Ar&&(hr+=Ar.childNodes.length-1,ei.replaceWith(Ar))}else if(ei.nodeType===1){const Ar=ei,Li=ei.nodeName.toLowerCase();if(Li==="script"){const Hi=ei;let Ri;if((me=y.processScriptTypePattern)!=null&&me.test(Hi.type))Ri=(ge=Hi.textContent)!=null?ge:"";else if((we=y.processMathJSONScriptTypePattern)!=null&&we.test(Hi.type))try{Ri=(Je=y.serializeToLatex)==null?void 0:Je.call(y,JSON.parse((Me=Hi.textContent)!=null?Me:""))}catch(Na){console.error(Na)}if(Ri){let Na="textstyle";for(const ii of Hi.type.split(";")){const[eu,ec]=ii.toLowerCase().split("=");eu.trim()==="mode"&&(Na=ec.trim()==="display"?"displaystyle":"textstyle")}const po=Hd(Ri,Na,y,!0);po&&Hi.parentNode.replaceChild(po,Hi)}}else if(((It=(mt=y.processClassPattern)==null?void 0:mt.test(Ar.className))!=null?It:!1)||!((Wn=(_t=y.skipTags)==null?void 0:_t.includes(Li))!=null&&Wn||(zn=(Yr=y.ignoreClassPattern)==null?void 0:Yr.test(Ar.className))!=null&&zn))if(a.childNodes.length===1&&a.childNodes[0].nodeType===3){const Ri=a.textContent;a.textContent="";const Na=Hd(Ri!=null?Ri:"","displaystyle",y,!0);Na&&a.append(Na)}else Sp(Ar,y)}}}var b1={skipTags:["math-field","noscript","style","textarea","pre","code","annotation","annotation-xml"],processScriptType:"math/tex",processMathJSONScriptType:"math/json",ignoreClass:"tex2jax_ignore",processClass:"tex2jax_process",renderAccessibleContent:"mathml",asciiMath:{delimiters:{inline:[["`","`"]]}},TeX:{processEnvironments:!0,delimiters:{inline:[["\\(","\\)"]],display:[["$$","$$"],["\\[","\\]"]]}}};function x1(a,y){var b,E,ee,re;try{const oe=xe(xe({},b1),y);oe.ignoreClassPattern=new RegExp((b=oe.ignoreClass)!=null?b:""),oe.processClassPattern=new RegExp((E=oe.processClass)!=null?E:""),oe.processScriptTypePattern=new RegExp((ee=oe.processScriptType)!=null?ee:""),oe.processMathJSONScriptTypePattern=new RegExp((re=oe.processMathJSONScriptType)!=null?re:""),Rf(),Hl("core"),Sp(a,oe)}catch(oe){oe instanceof Error?console.error("renderMathInElement(): "+oe.message):console.error("renderMathInElement(): Could not render math for element",a)}}function w1(a,y){const b=Rc.singleton;return b?(b.show(),cf(),b.currentLayer=y,b.render(),b.focus(),!0):!1}function C1(){const a=window.mathVirtualKeyboard;return a.visible?a.hide({animate:!0}):a.show({animate:!0}),!1}Kl({switchKeyboardLayer:w1,toggleVirtualKeyboard:C1,hideVirtualKeyboard:()=>(window.mathVirtualKeyboard.hide({animate:!0}),!1),showVirtualKeyboard:()=>(window.mathVirtualKeyboard.show({animate:!0}),!1)},{target:"virtual-keyboard"});function Hc(){var a,y;return(y=globalThis[a=Symbol.for("io.cortexjs.mathlive")])!=null||(globalThis[a]={}),globalThis[Symbol.for("io.cortexjs.mathlive")]}function L1(){return console.warn("%cMathLive 0.98.5: %cmakeSharedVirtualKeyboard() is deprecated. \n Use `window.mathVirtualKeyboard` to access the virtual keyboard instance.\n See https://cortexjs.io/mathlive/changelog/ for details.","color:#12b; font-size: 1.1rem","color:#db1111; font-size: 1.1rem"),window.mathVirtualKeyboard}function P1(a){E1(document.body,a)}function S1(a){if(typeof a=="string"){const y=document.getElementById(a);if(y===null)throw new Error(`The element with ID "${a}" could not be found.`);return y}return typeof a=="string"?null:a}function E1(a,y){var b,E,ee,re;const oe=S1(a);if(!oe)return;const me=y!=null?y:{};(b=me.renderToMarkup)!=null||(me.renderToMarkup=Ks),(E=me.renderToMathML)!=null||(me.renderToMathML=Rv),(ee=me.renderToSpeakableText)!=null||(me.renderToSpeakableText=Nv),(re=me.serializeToLatex)!=null||(me.serializeToLatex=zv),x1(oe,me)}var F1={mathlive:"0.98.5"}},16722:function(Cn,mn,se){"use strict";se.d(mn,{Z:function(){return xe}});const ae=Ee=>typeof Ee=="object"&&Ee!=null&&Ee.nodeType===1,He=(Ee,Ze)=>(!Ze||Ee!=="hidden")&&Ee!=="visible"&&Ee!=="clip",ze=(Ee,Ze)=>{if(Ee.clientHeight<Ee.scrollHeight||Ee.clientWidth<Ee.scrollWidth){const yt=getComputedStyle(Ee,null);return He(yt.overflowY,Ze)||He(yt.overflowX,Ze)||(Be=>{const Te=(dt=>{if(!dt.ownerDocument||!dt.ownerDocument.defaultView)return null;try{return dt.ownerDocument.defaultView.frameElement}catch(ot){return null}})(Be);return!!Te&&(Te.clientHeight<Be.scrollHeight||Te.clientWidth<Be.scrollWidth)})(Ee)}return!1},rt=(Ee,Ze,yt,Be,Te,dt,ot,ft)=>dt<Ee&&ot>Ze||dt>Ee&&ot<Ze?0:dt<=Ee&&ft<=yt||ot>=Ze&&ft>=yt?dt-Ee-Be:ot>Ze&&ft<yt||dt<Ee&&ft>yt?ot-Ze+Te:0,Se=Ee=>{const Ze=Ee.parentElement;return Ze==null?Ee.getRootNode().host||null:Ze},ke=(Ee,Ze)=>{var yt,Be,Te,dt;if(typeof document=="undefined")return[];const{scrollMode:ot,block:ft,inline:lt,boundary:ht,skipOverflowHiddenElements:Vt}=Ze,st=typeof ht=="function"?ht:Et=>Et!==ht;if(!ae(Ee))throw new TypeError("Invalid target");const vt=document.scrollingElement||document.documentElement,Ke=[];let pe=Ee;for(;ae(pe)&&st(pe);){if(pe=Se(pe),pe===vt){Ke.push(pe);break}pe!=null&&pe===document.body&&ze(pe)&&!ze(document.documentElement)||pe!=null&&ze(pe,Vt)&&Ke.push(pe)}const $e=(Be=(yt=window.visualViewport)==null?void 0:yt.width)!=null?Be:innerWidth,et=(dt=(Te=window.visualViewport)==null?void 0:Te.height)!=null?dt:innerHeight,{scrollX:qe,scrollY:Ye}=window,{height:pt,width:at,top:Pt,right:it,bottom:Nt,left:rn}=Ee.getBoundingClientRect(),{top:Ut,right:un,bottom:jt,left:Qe}=(Et=>{const Ve=window.getComputedStyle(Et);return{top:parseFloat(Ve.scrollMarginTop)||0,right:parseFloat(Ve.scrollMarginRight)||0,bottom:parseFloat(Ve.scrollMarginBottom)||0,left:parseFloat(Ve.scrollMarginLeft)||0}})(Ee);let Ce=ft==="start"||ft==="nearest"?Pt-Ut:ft==="end"?Nt+jt:Pt+pt/2-Ut+jt,nt=lt==="center"?rn+at/2-Qe+un:lt==="end"?it+un:rn-Qe;const $t=[];for(let Et=0;Et<Ke.length;Et++){const Ve=Ke[Et],{height:tt,width:At,top:fn,right:Kt,bottom:yn,left:kt}=Ve.getBoundingClientRect();if(ot==="if-needed"&&Pt>=0&&rn>=0&&Nt<=et&&it<=$e&&(Ve===vt&&!ze(Ve)||Pt>=fn&&Nt<=yn&&rn>=kt&&it<=Kt))return $t;const Bt=getComputedStyle(Ve),xt=parseInt(Bt.borderLeftWidth,10),ve=parseInt(Bt.borderTopWidth,10),ce=parseInt(Bt.borderRightWidth,10),le=parseInt(Bt.borderBottomWidth,10);let fe=0,he=0;const ue="offsetWidth"in Ve?Ve.offsetWidth-Ve.clientWidth-xt-ce:0,Pe="offsetHeight"in Ve?Ve.offsetHeight-Ve.clientHeight-ve-le:0,_e="offsetWidth"in Ve?Ve.offsetWidth===0?0:At/Ve.offsetWidth:0,Dt="offsetHeight"in Ve?Ve.offsetHeight===0?0:tt/Ve.offsetHeight:0;if(vt===Ve)fe=ft==="start"?Ce:ft==="end"?Ce-et:ft==="nearest"?rt(Ye,Ye+et,et,ve,le,Ye+Ce,Ye+Ce+pt,pt):Ce-et/2,he=lt==="start"?nt:lt==="center"?nt-$e/2:lt==="end"?nt-$e:rt(qe,qe+$e,$e,xt,ce,qe+nt,qe+nt+at,at),fe=Math.max(0,fe+Ye),he=Math.max(0,he+qe);else{fe=ft==="start"?Ce-fn-ve:ft==="end"?Ce-yn+le+Pe:ft==="nearest"?rt(fn,yn,tt,ve,le+Pe,Ce,Ce+pt,pt):Ce-(fn+tt/2)+Pe/2,he=lt==="start"?nt-kt-xt:lt==="center"?nt-(kt+At/2)+ue/2:lt==="end"?nt-Kt+ce+ue:rt(kt,Kt,At,xt,ce+ue,nt,nt+at,at);const{scrollLeft:Lt,scrollTop:Ht}=Ve;fe=Dt===0?0:Math.max(0,Math.min(Ht+fe/Dt,Ve.scrollHeight-tt/Dt+Pe)),he=_e===0?0:Math.max(0,Math.min(Lt+he/_e,Ve.scrollWidth-At/_e+ue)),Ce+=Ht-fe,nt+=Lt-he}$t.push({el:Ve,top:fe,left:he})}return $t},Oe=Ee=>Ee===!1?{block:"end",inline:"nearest"}:(Ze=>Ze===Object(Ze)&&Object.keys(Ze).length!==0)(Ee)?Ee:{block:"start",inline:"nearest"};function xe(Ee,Ze){if(!Ee.isConnected||!(Te=>{let dt=Te;for(;dt&&dt.parentNode;){if(dt.parentNode===document)return!0;dt=dt.parentNode instanceof ShadowRoot?dt.parentNode.host:dt.parentNode}return!1})(Ee))return;const yt=(Te=>{const dt=window.getComputedStyle(Te);return{top:parseFloat(dt.scrollMarginTop)||0,right:parseFloat(dt.scrollMarginRight)||0,bottom:parseFloat(dt.scrollMarginBottom)||0,left:parseFloat(dt.scrollMarginLeft)||0}})(Ee);if((Te=>typeof Te=="object"&&typeof Te.behavior=="function")(Ze))return Ze.behavior(ke(Ee,Ze));const Be=typeof Ze=="boolean"||Ze==null?void 0:Ze.behavior;for(const{el:Te,top:dt,left:ot}of ke(Ee,Oe(Ze))){const ft=dt-yt.top+yt.bottom,lt=ot-yt.left+yt.right;Te.scroll({top:ft,left:lt,behavior:Be})}}}}]);
|
|
|
}()); |