You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1184 lines
964 KiB
1184 lines
964 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[67],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(oA,hA){"use strict";hA.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},77277:function(oA,hA){"use strict";hA.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},11081: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 oA={},hA="5.0",Be={},se=null,ct=!1,Le=!1,je=null,Ee=!1,Qe=null,Ye=null,Ke=0;Ke<arguments.length;Ke++){var Ue=arguments[Ke];if(Ue!==null)switch(typeof Ue){case"number":hA=Ue.toFixed(1);break;case"string":Ue.match(new RegExp("^[0-9]\\.[0-9]+$"))?hA=Ue:je=Ue;break;case"object":typeof Ue.is3D!="undefined"?se=Ue:Be=Ue;break;case"boolean":ct=Ue,Le=!0;break}}se===null&&(se={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Be.material_id!==void 0&&!Le&&(ct=!0)),je!==null&&Be.id===void 0&&(Be.id=je);var Ce="",bt="",Fe=!1,Dt=null,Xe=null,Ge=null,ze=!1,Oe=null,wt=null,ht=null,Ft=null,et=null;Be.height!==void 0&&(Be.height=Math.round(Be.height)),Be.width!==void 0&&(Be.width=Math.round(Be.width));var nt=function(Ve){return parseFloat(Ve)>4?parseFloat(Ve):5};oA.setHTML5Codebase=function(Ve,pt){Ye=Ve,Ct(Ve,pt)},oA.setJavaCodebase=oA.setJavaCodebaseVersion=oA.isCompiledInstalled=oA.setPreCompiledScriptPath=oA.setPreCompiledResourcePath=function(){},oA.setHTML5CodebaseVersion=function(Ve,pt){var ft=parseFloat(Ve);if(ft!==NaN&&ft<5){console.log("The GeoGebra HTML5 codebase version "+ft+" is deprecated. Using version latest instead.");return}Qe=Ve,de(Ve,pt)},oA.getHTML5CodebaseVersion=function(){return Xe},oA.getParameters=function(){return Be},oA.setFontsCSSURL=function(Ve){Ft=Ve},oA.setGiacJSURL=function(Ve){},oA.setJNLPFile=function(Ve){Ce=Ve},oA.setJNLPBaseDir=function(Ve){},oA.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var pt="auto",ft=Be.id,$t,It=!1,eA=0;eA<arguments.length;eA++){var Me=arguments[eA];typeof Me=="string"?(Me=Me.toLowerCase(),Me.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?pt=Me:ft=arguments[eA]):typeof Me=="boolean"?It=Me:Me instanceof HTMLElement&&($t=Me)}Bt();function Bt(){if(!Ee){setTimeout(Bt,200);return}pt=Jt(pt);var xt=$t||document.getElementById(ft);if(!xt){console.log("possibly bug on ajax loading? ");return}if(oA.removeExistingApplet(xt,!1),Be.width===void 0&&xt.clientWidth&&(Be.width=xt.clientWidth),Be.height===void 0&&xt.clientHeight&&(Be.height=xt.clientHeight),!(Be.width&&Be.height)&&pt==="html5"&&(delete Be.width,delete Be.height),Dt=pt,pt==="screenshot")_e(xt,Be);else{var ue=!1;Be.hasOwnProperty("playButton")&&Be.playButton||Be.hasOwnProperty("clickToLoad")&&Be.clickToLoad?ue=!0:Be.hasOwnProperty("playButtonAutoDecide")&&Be.playButtonAutoDecide&&(ue=(!lt()||Ve())&&At()),ue?(Dt="screenshot",Mt(xt,Be,It,pt)):$e(xt,Be,It)}}};function lt(){try{return window.self!==window.top}catch(Ve){return!0}}function At(){return Be.hasOwnProperty("screenshotGenerator")&&Be.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}oA.getViews=function(){return se},oA.isJavaInstalled=function(){return!1};var uA=function(Ve){var pt=function(eA){var Me=JSON.parse(eA),Bt=function(ne){return ne.type=="G"||ne.type=="E"},xt=Me.elements?Me.elements.filter(Bt)[0]:Me;if(!xt||!xt.url){ft();return}Be.fileName=xt.url,it(xt.settings||{}),se.is3D=!0;var ue="https://www.geogebra.org/images/";oA.setPreviewImage(Oe||xt.previewUrl,ue+"GeoGebra_loading.png",ue+"applet_play.png"),Ve()},ft=function(){Be.onError&&Be.onError(),qt("Error: Fetching material (id "+Be.material_id+") failed.",Be)},$t=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",It="/materials/"+Be.material_id+"?scope=basic";Je("https://"+$t+"/api/proxy.php?path="+encodeURIComponent(It),pt,ft)};function it(Ve){var pt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(ft){Ve[ft]=!!Ve[ft]}),pt.forEach(function(ft){Be[ft]===void 0&&Ve[ft]!==void 0&&(Be[ft]=Ve[ft])}),Be.showToolBarHelp===void 0&&(Be.showToolBarHelp=Be.showToolBar)}function Je(Ve,pt,ft){var $t=new XMLHttpRequest;$t.open("GET",Ve),$t.onload=function(){pt($t.responseText)},$t.onerror=ft,$t.send()}oA.isHTML5Installed=function(){return!0},oA.getLoadedAppletType=function(){return Dt},oA.setPreviewImage=function(Ve,pt,ft){Oe=Ve,wt=pt,ht=ft},oA.removeExistingApplet=function(Ve,pt){var ft;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),Dt=null;var $t=null;for(ft=0;ft<Ve.childNodes.length;ft++){var It=Ve.childNodes[ft],eA=It.className;eA==="applet_screenshot"?pt?(It.style.display="block",Dt="screenshot"):It.style.display="none":eA!=="applet_scaler prerender"&&(Ve.removeChild(It),$t=eA&&eA.indexOf("appletParameters")!=-1?It.id:null,ft--)}var Me=Be.id!==void 0?Be.id:$t,Bt=window[Me];Bt&&typeof Bt.getBase64=="function"&&(Bt.remove(),window[Me]=null)},oA.refreshHitPoints=function(){if(nt(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ve=oA.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},oA.startAnimation=function(){var Ve=oA.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},oA.stopAnimation=function(){var Ve=oA.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},oA.getAppletObject=function(){var Ve=Be.id!==void 0?Be.id:"ggbApplet";return window[Ve]},oA.resize=function(){};var yt=function(Ve,pt,ft){var $t=document.createElement("param");$t.setAttribute("name",pt),$t.setAttribute("value",ft),Ve.appendChild($t)},We=function(Ve){return Ve&&Ve!=="false"},$e=function(Ve,pt,ft){nt(Xe)<=4.2&&(ft=!0);var $t=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Xe||ggbHTML5LoadedCodebaseIsWebSimple&&!ze)&&($t=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var It=document.createElement("div");It.classList.add("appletParameters","notranslate");var eA=pt.width,Me=pt.height;if(pt.disableAutoScale=pt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():pt.disableAutoScale,pt.width!==void 0)if(nt(Xe)<=4.4)We(pt.showToolBar)&&(pt.height-=7),We(pt.showAlgebraInput)&&(pt.height-=37),pt.width<605&&We(pt.showToolBar)&&(pt.width=605,eA=605);else{var Bt=100;(We(pt.showToolBar)||We(pt.showMenuBar))&&(pt.hasOwnProperty("customToolBar")&&(pt.customToolbar=pt.customToolBar),Bt=We(pt.showMenuBar)?245:155),eA<Bt&&(pt.width=Bt,eA=Bt)}It.style.border="none",It.style.display="inline-block";for(var xt in pt)pt.hasOwnProperty(xt)&&xt!=="appletOnLoad"&&It.setAttribute("data-param-"+xt,pt[xt]);Ft&&It.setAttribute("data-param-fontscssurl",Ft),oA.resize=function(){GGBAppletUtils.responsiveResize(Ve,pt)},window.addEventListener("resize",function(pA){oA.resize()});var ue=typeof pt.appletOnLoad=="function"?pt.appletOnLoad:function(){};if(!ft&&pt.width!==void 0){pt.hasOwnProperty("showSplash")||It.setAttribute("data-param-showSplash","false");var ne=Ve.querySelector(".applet_scaler.prerender"),re=ne!==null;if(re)var ae=ne.querySelector(".ggb_preview");else{var ae=aA(eA,Me,pt.borderColor,!1);ne=document.createElement("div"),ne.className="applet_scaler",ne.style.position="relative",ne.style.display="block",ne.style.width=eA+"px",ne.style.height=Me+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ne,"66%"),nt(Xe)>=5?(pt.appletOnLoad=function(pA){var vA=Ve.querySelector(".ggb_preview");vA&&vA.parentNode.removeChild(vA),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),ue(pA)},re||ne.appendChild(ae)):It.appendChild(ae),ne.appendChild(It),re||Ve.appendChild(ne),setTimeout(function(){oA.resize()},1)}else{var he=document.createElement("div");he.className="applet_scaler",he.style.position="relative",he.style.display="block",he.appendChild(It),Ve.appendChild(he),pt.appletOnLoad=function(pA){oA.resize(),ue(pA)}}function oe(pA,vA){vA&&typeof vA.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(pA,vA.appletOnLoad):renderGGBElement(pA),qt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",vA)}function Se(pA,vA){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:pA,params:vA}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(xA){oe(xA.article,xA.params)}),html5AppletsToProcess=null)},nt(Xe)<5&&(pA.className+=" geogebraweb")):oe(pA,vA)}if($t){scriptLoadStarted=!0;for(var rt=0;rt<It.childNodes.length;rt++){var Yt=It.childNodes[rt].tagName;Yt==="TABLE"&&(It.removeChild(It.childNodes[rt]),rt--)}if(ggbHTML5LoadedScript!==null){var Ht=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ht!=null&&Ht.parentNode.removeChild(Ht)}var Tt=document.createElement("script"),Pt=function(){Se(It,pt)};Tt.src=bt+Ge,ggbHTML5LoadedCodebaseIsWebSimple=ze,ggbHTML5LoadedCodebaseVersion=Xe,ggbHTML5LoadedScript=Tt.src,qt("GeoGebra HTML5 codebase loaded: '"+bt+"'.",pt),!Ye&&(!Qe||Qe=="5.0")?(ze?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Pt()):bt.requirejs?__webpack_require__.e(981).then(function(){var pA=[__webpack_require__(60981)];Pt.apply(null,pA)}.bind(this)).catch(__webpack_require__.oe):(Tt.onload=Pt,Ve.appendChild(Tt))}else Se(It,pt);pt.height=Me,pt.width=eA},_e=function(Ve,pt,ft){var $t=aA(pt.width,pt.height,pt.borderColor,ft),It=document.createElement("div");It.style.position="relative",It.style.display="block",It.style.width=pt.width+"px",It.style.height=pt.height+"px",It.className="applet_screenshot applet_scaler"+(ft?" applet_screenshot_play":""),It.appendChild($t);var eA=GGBAppletUtils.getScale(pt,Ve,ft);ft?(Ve.appendChild(Lt()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(It,"66%"),Ve.appendChild(It),eA!==1&&!isNaN(eA)&&(GGBAppletUtils.scaleElement(It,eA),It.style.width=pt.width+"px",It.style.height=pt.height+"px",It.parentNode.style.width=pt.width*eA+"px",It.parentNode.style.height=pt.height*eA+"px"),oA.resize=function(){Ze(Ve,$t,It,ft)},window.addEventListener("resize",function(Me){oA.resize()}),oA.resize()};function Ze(Ve,pt,ft,$t){if(Ve.contains(pt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ve)}var It=GGBAppletUtils.getScale(Be,Ve,$t);ft.parentNode!==null&&(!isNaN(It)&&It!==1?(GGBAppletUtils.scaleElement(ft,It),ft.parentNode.style.width=Be.width*It+"px",ft.parentNode.style.height=Be.height*It+"px"):(GGBAppletUtils.scaleElement(ft,1),ft.parentNode.style.width=Be.width+"px",ft.parentNode.style.height=Be.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()}}oA.onExitFullscreen=function(Ve,pt){pt.appendChild(Ve)};var Mt=function(Ve,pt,ft,$t){_e(Ve,pt,!0);for(var It=function(){var Bt=[];for(Me=0;Me<Ve.childNodes.length;Me++)Bt.push(Ve.childNodes[Me]);if(window.GGBT_wsf_view){var xt=window.GGBT_wsf_view.renderFullScreen(Ve,pt.id),ue=document.getElementById("fullscreencontainer"),ne=jQuery(Ve).find(".fullscreencontent");ne.length>0?(xt.remove(),ne.attr("id","fullscreencontent").show(),jQuery(ue).append(ne),window.dispatchEvent(new Event("resize"))):$e(xt,pt,!1),window.GGBT_wsf_view.launchFullScreen(ue)}else Dt=$t,$e(Ve,pt,!1);if(!window.GGBT_wsf_view)for(Me=0;Me<Bt.length;Me++)Ve.removeChild(Bt[Me])},eA=Ve.getElementsByClassName("ggb_preview_play"),Me=0;Me<eA.length;Me++)eA[Me].addEventListener("click",It,!1),eA[Me].addEventListener("ontouchstart",It,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),At()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Lt=function(){var Ve=document.createElement("div");if(Ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var pt='.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");}',ft=document.createElement("style");ft.styleSheet?ft.styleSheet.cssText=pt:ft.appendChild(document.createTextNode(pt)),document.getElementsByTagName("head")[0].appendChild(ft)}return Ve},aA=function(Ve,pt,ft,$t){var It=document.createElement("div");It.className="ggb_preview",It.style.position="absolute",It.style.zIndex="90",It.style.width=Ve-2+"px",It.style.height=pt-2+"px",It.style.top="0px",It.style.left="0px",It.style.overflow="hidden",It.style.backgroundColor="white";var eA="lightgrey";ft!==void 0&&(ft==="none"?eA="transparent":eA=ft),It.style.border="1px solid "+eA;var Me=document.createElement("img");if(Me.style.position="relative",Me.style.zIndex="1000",Me.style.top="-1px",Me.style.left="-1px",Oe!==null&&Me.setAttribute("src",Oe),Me.style.opacity=.7,wt!==null){var Bt,xt,ue;if(!$t){Bt=document.createElement("img"),Bt.style.position="absolute",Bt.style.zIndex="1001",Bt.style.opacity=1,Me.style.opacity=.3,xt=360,xt>Ve/4*3&&(xt=Ve/4*3),ue=xt/5.8,Bt.setAttribute("src",wt),Bt.setAttribute("width",xt),Bt.setAttribute("height",ue);var ne=(Ve-xt)/2,re=(pt-ue)/2;Bt.style.left=ne+"px",Bt.style.top=re+"px",It.appendChild(Bt)}}return It.appendChild(Me),It},Jt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},be=["web","webSimple","web3d","tablet","tablet3d","phone"],de=function(Ve,pt){if(Xe=Ve,pt){Ct(Xe,!0);return}var ft=!ct;if(ft){var $t=nt(Xe);!isNaN($t)&&$t<4.4&&(ft=!1)}var It,eA;window.location.protocol.substr(0,4)==="http"?It=window.location.protocol:It="http:";var Me=Xe.indexOf("//");Me>0?eA=Xe:Me===0?eA=It+Xe:eA="https://www.geogebra.org/apps/5.2.814.0/";for(var Bt in be)if(Xe.slice(be[Bt].length*-1)===be[Bt]||Xe.slice((be[Bt].length+1)*-1)===be[Bt]+"/"){Ct(eA,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ft&&!se.is3D&&!se.AV&&!se.SV&&!se.CV&&!se.EV2&&!se.CP&&!se.PC&&!se.DA&&!se.FI&&!se.PV&&!We(Be.showToolBar)&&!We(Be.showMenuBar)&&!We(Be.showAlgebraInput)&&!We(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?eA+="webSimple/":eA+="web3d/",Ct(eA,!1)},Ct=function(Ve,pt){if(Ve.requirejs){bt=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),bt=Ve,pt===null&&(pt=Ve.indexOf("http")===-1),Fe=pt,Ge="web.nocache.js",ze=!1;var ft=bt.split("/");ft.length>1&&(!pt&&ft[ft.length-2]==="webSimple"?(Ge="webSimple.nocache.js",ze=!0):be.indexOf(ft[ft.length-2])>=0&&(Ge=ft[ft.length-2]+".nocache.js")),ft=Ve.split("/"),Xe=ft[ft.length-3],Xe.substr(0,4)==="test"?Xe=Xe.substr(4,1)+"."+Xe.substr(5,1):(Xe.substr(0,3)==="war"||Xe.substr(0,4)==="beta")&&(Xe="5.0");var $t=parseFloat(Xe);$t!==NaN&&$t<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+$t+" is deprecated. Using version latest instead."),de("5.0",pt))},qt=function(Ve,pt){window.console&&window.console.log&&(!pt||typeof pt.showLogging=="undefined"||pt.showLogging&&pt.showLogging!=="false")&&console.log(Ve)};Be.material_id!==void 0?uA(Rt):Rt();function Rt(){var Ve=hA;Qe!==null?Ve=Qe:parseFloat(Ve)<5&&(Ve="5.0"),de(Ve,!1),Ye!==null&&Ct(Ye,Fe),Ee=!0}return oA},GGBAppletUtils=function(){"use strict";function oA(){return window.GGBT_wsf_edit!==void 0}function hA(Ee,Qe){Qe!=1?(Ee.style.transformOrigin="0% 0% 0px",Ee.style.webkitTransformOrigin="0% 0% 0px",Ee.style.transform="scale("+Qe+","+Qe+")",Ee.style.webkitTransform="scale("+Qe+","+Qe+")",Ee.style.maxWidth="initial",Ee.querySelector(".ggb_preview")!==null&&(Ee.querySelector(".ggb_preview").style.maxWidth="initial"),Ee.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ee.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ee.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ee.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ee.style.transform="none",Ee.style.webkitTransform="none")}function Be(Ee,Qe,Ye,Ke,Ue,Ce){var bt=null;if(Ce!=null&&Ce!="")for(var Fe=Ee.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+Ce+" ")>-1){bt=Fe;break}else Fe=Fe.parentNode;var Dt=0,Xe=0,Ge=0,ze=0,Oe=0,wt=0,ht=0;if(bt)Dt=bt.offsetWidth,Xe=Math.max(Ke?bt.offsetWidth:0,bt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Dt=Math.min(window.innerWidth,document.documentElement.clientWidth),Xe=Math.min(window.innerHeight,document.documentElement.clientHeight),Ge=Dt):(Dt=window.innerWidth,Xe=window.innerHeight,Ge=window.innerWidth),Ee){var Ft=Ee.getBoundingClientRect();Ft.left>0&&Ft.left<=Dt&&(Ue===void 0||!Ue)&&(document.dir==="rtl"?(Oe=Dt-Ft.width-Ft.left,wt=Ge<=480?10:30):(wt=Ft.left,Oe=Ge<=480?10:30),ze=wt+Oe)}if(Ee&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var et=Ee.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ze=40,ht=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ze=0,ht=40)}}return Ee&&((Ye===void 0||!Ye)&&Qe>0&&Qe+ze<Dt?Dt=Qe:Dt-=ze,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ye===void 0||!Ye)&&(Xe-=ht)),{width:Dt,height:Xe}}function se(Ee,Qe,Ye,Ke,Ue){if(Ee.isScreenshoGenerator)return 1;var Ce=Ke!==void 0&&Ke,bt=Ee.noScaleMargin!=null&&Ee.noScaleMargin,Fe=function(et){return et&&et!=="false"},Dt=Fe(Ee.autoHeight),Xe=Be(Qe,Ee.width,Ye,Dt,Ce&&window.GGBT_wsf_view||bt,Ue),Ge=parseInt(Xe.width),ze=Ee.width,Oe=Ee.height;if(ze===void 0){var wt=Qe.querySelector(".appletParameters");wt&&(ze=wt.offsetWidth,Oe=wt.offsetHeight)}var ht=Ge/ze,Ft=Ce?1:Xe.height/Oe;return Ye!==void 0&&!Ye&&(ht=Math.min(1,ht),Ft=Math.min(1,Ft)),Math.min(ht,Ft)}function ct(Ee,Qe,Ye){var Ke=1,Ue,Ce=!1;if(Ee.hasOwnProperty("allowUpscale")&&(Ce=Ee.allowUpscale),Ee.hasOwnProperty("scale")&&(Ke=parseFloat(Ee.scale),(isNaN(Ke)||Ke===null||Ke===0)&&(Ke=1),Ke>1&&(Ce=!0)),Qe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ce=!0),!(Ee.hasOwnProperty("disableAutoScale")&&Ee.disableAutoScale))Ue=se(Ee,Qe,Ce,Ye,Ee.scaleContainerClass);else return Ke;return Ce&&(!Ee.hasOwnProperty("scale")||Ke===1)?Ue:Math.min(Ke,Ue)}function Le(Ee){var Qe=Math.min(window.innerWidth,document.documentElement.clientWidth),Ye=Math.min(window.innerHeight,document.documentElement.clientHeight),Ke=Ee.getBoundingClientRect(),Ue=(Qe-Ke.width)/2,Ce=(Ye-Ke.height)/2;Ce<0&&(Ce=0),Ee.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ue<40?Ee.style.left="40px":Ee.style.left=Ue+"px",Ee.style.top=Ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ce<40?Ee.style.top="40px":Ee.style.top=Ce+"px",Ee.style.left=Ue+"px")}function je(Ee,Qe){var Ye=Ee.querySelector(".appletParameters");if(Ye){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Qe.id!==Ye.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ee)}if(Ye.parentElement&&/fullscreen/.test(Ye.parentElement.className))return;var Ke=ct(Qe,Ee);oA()&&Ye.setAttribute("data-param-scale",Ke);for(var Ue=null,Ce=0;Ce<Ee.childNodes.length;Ce++)if(Ee.childNodes[Ce].className!==void 0&&Ee.childNodes[Ce].className.match(/^applet_scaler/)){Ue=Ee.childNodes[Ce];break}if(Ue!==null&&Ue.querySelector(".noscale")!==null)return;var bt=Qe.id!==void 0?Qe.id:"ggbApplet",Fe=window[bt];(Fe==null||!Fe.recalculateEnvironments)&&Ue!==null&&!Ue.className.match(/fullscreen/)&&(Ue.parentNode.style.transform="",!isNaN(Ke)&&Ke!==1?(Ue.parentNode.style.width=Qe.width*Ke+"px",Ue.parentNode.style.height=Qe.height*Ke+"px",hA(Ue,Ke)):(hA(Ue,1),Ue.parentNode.style.width=Qe.width+"px",Ue.parentNode.style.height=Qe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Le(Ee),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Ye).parents(".content-added-content"))}}return{responsiveResize:je,isFlexibleWorksheetEditor:oA,positionCenter:Le,getScale:ct,scaleElement:hA}}();__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 oA=n.location.search;return oA.indexOf(J)!=-1||oA.indexOf(K)!=-1}function q(oA,hA){}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(oA){var hA=s[L].bindings;s[L].bindings=function(){for(var Be=hA?hA():{},se=oA[webModule.__softPermutationId],ct=O;ct<se.length;ct++){var Le=se[ct];Be[Le[O]]=Le[P]}return Be}};var t;function u(){return v(),t}function v(){if(!t){var oA=o.createElement(Q);if(oA.id=L,oA.style.cssText=R+S,oA.tabIndex=-1,o.body.appendChild(oA),t=oA.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var hA=document.compatMode==U?V:W;t.write(hA+X),t.close()}}}function w(oA){function hA(se){function ct(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Le=ct();if(Le){se();return}function je(){if(!Le){if(!ct())return;Le=!0,se(),o.removeEventListener&&o.removeEventListener(Z,je,!1),Ee&&clearInterval(Ee)}}o.addEventListener&&o.addEventListener(Z,je,!1);var Ee=setInterval(function(){je()},$)}function Be(se){var ct=u(),Le=ct.body,je=ct.createElement(_);je.language=ab,je.crossOrigin=W,je.src=se,webModule.__errFn&&(je.onerror=function(){webModule.__errFn(L,new Error(bb+se))}),Le.appendChild(je)}hA(function(){Be(oA)})}webModule.__startLoadingFragment=function(oA){return C(oA)},webModule.__installRunAsyncCode=function(oA){var hA=u(),Be=hA.body,se=hA.createElement(_);se.language=ab,se.text=oA,Be.appendChild(se),Be.removeChild(se)};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(oA){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(oA){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(oA){var hA=c[oA];return hA==null?null:hA},r=d,webModule.__errFn=e}function B(){function oA(Ee){var Qe=Ee.lastIndexOf(rb);Qe==-1&&(Qe=Ee.length);var Ye=Ee.indexOf(sb);Ye==-1&&(Ye=Ee.length);var Ke=Ee.lastIndexOf(tb,Math.min(Ye,Qe));return Ke>=O?Ee.substring(O,Ke+P):W}function hA(Ee){if(!Ee.match(/^\w+:\/\//)){var Qe=o.createElement(ub);Qe.src=Ee+vb,Ee=oA(Qe.src)}return Ee}function Be(){var Ee=__gwt_getMetaProperty(wb);return Ee!=null?Ee:W}function se(){for(var Ee=o.getElementsByTagName(_),Qe=O;Qe<Ee.length;++Qe)if(Ee[Qe].src.indexOf(xb)!=-1)return oA(Ee[Qe].src);return W}function ct(){var Ee=o.getElementsByTagName(yb);return Ee.length>O?Ee[Ee.length-P].href:W}function Le(){var Ee=o.location;return Ee.href==Ee.protocol+zb+Ee.host+Ee.pathname+Ee.search+Ee.hash}var je=Be();return je==W&&(je=se()),je==W&&(je=ct()),je==W&&Le()&&(je=oA(o.location.href)),je=hA(je),je}function C(oA){return oA.match(/^\//)||oA.match(/^[a-zA-Z]+:\/\//)?oA:webModule.__moduleBase+oA}function D(){var oA=[],hA=O,Be=[],se=[];function ct(Ee){var Qe=se[Ee](),Ye=Be[Ee];if(Qe in Ye)return Qe;var Ke=[];for(var Ue in Ye)Ke[Ye[Ue]]=Ue;throw r&&r(Ee,Ke,Qe),null}if(__gwt_isKnownPropertyValue=function(Ee,Qe){return Qe in Be[Ee]},webModule.__getPropMap=function(){var Ee={};for(var Qe in Be)Be.hasOwnProperty(Qe)&&(Ee[Qe]=ct(Qe));return Ee},webModule.__computePropValue=ct,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Le;try{Le=Cb;var je=Le.indexOf(Db);je!=-1&&(hA=parseInt(Le.substring(je+P),$),Le=Le.substring(O,je))}catch(Ee){}return webModule.__softPermutationId=hA,C(Le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/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})()},67303:function(oA,hA,Be){"use strict";Be.d(hA,{Ax:function(){return je},Ds:function(){return Ee},KI:function(){return Ye},SI:function(){return Le},f1:function(){return ct}});var se=Be(90524);function ct(Ke){let Ue=!0;if(Ke.length>0){for(let Ce=0;Ce<Ke.length;Ce++)if(Ke[Ce].compile_success==0||!Ke[Ce].compile_success){Ue=!1;break}}else Ue=!1;return Ue}function Le(Ke,Ue=""){let Ce=[];for(let bt=0;bt<Ke.length;bt++){let Fe=Ke[bt],Dt=Ue?`${Ue}/${Fe.name}`:`${Fe.name}`;Ce.push({title:Fe.name,type:Fe.type,isLeaf:Fe.type!=="tree",key:Dt})}return Ce}function je(Ke,Ue,Ce){for(let bt=0;bt<Ke.length;bt++){let Fe=Ke[bt];if(Fe.key===Ue){Fe.children=Ce;break}Fe.children&&je(Fe.children,Ue,Ce)}return Ke}function Ee(Ke,Ue,Ce){let bt;return function(){let Fe=this,Dt=arguments,Xe=function(){bt=null,Ce||Ke.apply(Fe,Dt)},Ge=Ce&&!bt;clearTimeout(bt),bt=setTimeout(Xe,Ue),Ge&&Ke.apply(Fe,Dt)}}const Qe=!0,Ye=se.Z.API_SERVER},6077:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return bt}});var se=Be(59301),ct={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Le=Be(92310),je=Be.n(Le),Ee=Be(29787),Qe=Be(2859),Ye=Be(82093),Ke=Be(49661),Ue=(Fe,Dt,Xe)=>new Promise((Ge,ze)=>{var Oe=Ft=>{try{ht(Xe.next(Ft))}catch(et){ze(et)}},wt=Ft=>{try{ht(Xe.throw(Ft))}catch(et){ze(et)}},ht=Ft=>Ft.done?Ge(Ft.value):Promise.resolve(Ft.value).then(Oe,wt);ht((Xe=Xe.apply(Fe,Dt)).next())}),bt=({data:Fe,className:Dt,fullWidth:Xe,style:Ge={},onClose:ze,onOk:Oe,showFullTools:wt,noAssociationId:ht})=>{const Ft=(0,se.useRef)(null),et=(0,se.useRef)(null),nt=(0,se.useRef)(null),lt=(0,se.useRef)(null),[At,uA]=(0,se.useState)(!1),[it,Je]=(0,se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,se.useEffect)(()=>(nt.current||(nt.current=document.createElement("style"),document.head.appendChild(nt.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),nt.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&yt()):(document.body.removeAttribute("data-custom"),nt.current&&(document.head.removeChild(nt.current),nt.current=null)),()=>{document.body.removeAttribute("data-custom"),nt.current&&(document.head.removeChild(nt.current),nt.current=null)}),[Fe==null?void 0:Fe.visible]);const yt=()=>Ue(void 0,null,function*(){uA(!0),Je("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ze=yield(0,Ke.ZJ)(Fe==null?void 0:Fe.src);Ft.current.src="",Ft.current.src=Ze,Ft.current.onload=function(){_e()},uA(!1),Je("")}),We=Ze=>Ue(void 0,null,function*(){uA(!0),Je("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Mt=yield(0,Ye.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:Ze.dataUrl}});Mt!=null&&Mt.id&&!ht?(yield(0,Ye.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Mt==null?void 0:Mt.id,settings:JSON.stringify(Ze.state)}})).status===0&&Oe():Mt!=null&&Mt.id&&Oe(Mt),uA(!1),Je("")}),$e=()=>{const Ze=document.querySelector('a[href="https://markerjs.com/"]');Ze&&Ze.parentNode&&(Ze.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(Lt=>{const aA=document.querySelector(Lt.name);aA&&aA.setAttribute("title",Lt.title)})},_e=()=>{et.current=new Qe.hP(Ft.current),et.current.targetRoot=lt.current,et.current.addEventListener("render",We),et.current.addEventListener("beforeclose",ze),wt&&(et.current.availableMarkerTypes=et.current.ALL_MARKER_TYPES,et.current.uiStyleSettings.redoButtonVisible=!0,et.current.uiStyleSettings.notesButtonVisible=!0,et.current.uiStyleSettings.zoomButtonVisible=!0,et.current.uiStyleSettings.zoomOutButtonVisible=!0,et.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=et.current.uiStyleSettings,et.current.show(),Fe!=null&&Fe.snapshotData&&et.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),$e()},300)};return se.createElement(se.Fragment,null,(Fe==null?void 0:Fe.visible)&&se.createElement(Ee.Z,{spinning:At,tip:it,style:{position:"absolute",width:"100vw"}},se.createElement("div",{ref:lt,className:je()(ct.imageDimensions,Dt,Xe?ct.fullWidth:""),style:Ge},se.createElement("img",{className:ct.img,ref:Ft}))))}},88615:function(oA,hA,Be){"use strict";var se=Be(59301),ct=Be(77019),Le=Be(5269),je=Be(20554),Ee=Be(99571),Qe=Be(38394),Ye=Be(21697),Ke=Be(48136),Ue=Be(59301);const Ce=(0,se.forwardRef)(({callback:bt,showSaveButton:Fe,value:Dt=""},Xe)=>{const Ge=(0,se.useRef)(),ze=[{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 "}]}]}],Oe=[{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}`}]}]}],wt=et=>{Ge.current.setValue(Ge.current.getValue()+" "+et.value+" ")},ht=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ue.createElement(ct.Z,{className:Ye.Z.lists,gutter:[10,10]},ze.map((et,nt)=>Ue.createElement(Le.Z,{flex:"110px",className:Ye.Z.item},Ue.createElement("div",null,Ue.createElement(Qe.Z,{value:`$$${et.value}$$`}),et.name),Ue.createElement("div",{className:Ye.Z.children},et.children.map((lt,At)=>Ue.createElement("div",{key:At},Ue.createElement("h1",null,lt.name),Ue.createElement(ct.Z,{gutter:[10,10]},lt.data.map((uA,it)=>Ue.createElement(Le.Z,{key:it,onClick:()=>wt(uA),className:Ye.Z.diamond},Ue.createElement(Qe.Z,{value:"`$$"+uA.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ue.createElement(ct.Z,{className:Ye.Z.lists,gutter:[10,10]},Oe.map((et,nt)=>Ue.createElement(Le.Z,{flex:"110px",className:Ye.Z.item},Ue.createElement("div",null,Ue.createElement(Qe.Z,{value:"`$$"+et.value+"$$`"}),et.name),Ue.createElement("div",{className:Ye.Z.children},et.children.map((lt,At)=>Ue.createElement("div",{key:At},lt.name&&Ue.createElement("h1",null,lt.name),Ue.createElement(ct.Z,{gutter:[10,10]},lt.data.map((uA,it)=>Ue.createElement(Le.Z,{key:it,onClick:()=>wt(uA),className:Ye.Z.diamond},Ue.createElement(Qe.Z,{value:"`$$"+uA.value+"$$`"}))))))))))}],Ft=()=>{var et=document.createElement("div");et.innerHTML=Ge.current.getValue();var nt=et.innerText;return bt&&bt(nt),nt};return(0,se.useImperativeHandle)(Xe,()=>({getData:Ft})),Ue.createElement("div",{className:Ye.Z.mathWrap},Ue.createElement(je.default,{defaultActiveKey:"1",items:ht}),Ue.createElement("math-field",{locale:"zh_cn",className:Ye.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:Ge,style:{width:800,marginTop:30,fontSize:18}},Dt||""),Fe&&Ue.createElement("div",{className:Ye.Z.button},Ue.createElement(Ee.ZP,{size:"large",onClick:Ft,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});hA.Z=Ce},57884:function(oA,hA,Be){"use strict";var se=Be(59301),ct=Be(93314),Le=Be(99571),je=Object.defineProperty,Ee=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Ce=(Xe,Ge,ze)=>Ge in Xe?je(Xe,Ge,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Xe[Ge]=ze,bt=(Xe,Ge)=>{for(var ze in Ge||(Ge={}))Ke.call(Ge,ze)&&Ce(Xe,ze,Ge[ze]);if(Ye)for(var ze of Ye(Ge))Ue.call(Ge,ze)&&Ce(Xe,ze,Ge[ze]);return Xe},Fe=(Xe,Ge)=>Ee(Xe,Qe(Ge));const Dt=({img:Xe,buttonProps:Ge={},styles:ze={},customText:Oe,ButtonText:wt,ButtonClick:ht,Buttonclass:Ft,ButtonTwo:et,imgStyles:nt,loading:lt=!1,className:At=""})=>se.createElement("section",{className:`tc animated fadeIn ${At}`,style:bt({color:"#999",margin:"100px auto",visibility:lt?"hidden":"visible"},ze)},se.createElement("img",{src:Xe||ct,style:Fe(bt({},nt),{pointerEvents:"none",userSelect:"none"})}),se.createElement("p",{className:"mt20 font14"},Oe||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),wt&&se.createElement(Le.ZP,bt({className:Ft,onClick:ht},Ge),wt),et&&et);hA.Z=Dt},41550:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return Ft}});var se=Be(59301),ct={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Le=Be(99571),je=Be(70557),Ee=Be(51124),Qe=Be(25399),Ye=Be(49661),Ke=Be(72664),Ue=Be(57884),Ce=Be(90524),bt=Be(14794),Fe=Be(59301),Dt=Object.defineProperty,Xe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Oe=(et,nt,lt)=>nt in et?Dt(et,nt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):et[nt]=lt,wt=(et,nt)=>{for(var lt in nt||(nt={}))Ge.call(nt,lt)&&Oe(et,lt,nt[lt]);if(Xe)for(var lt of Xe(nt))ze.call(nt,lt)&&Oe(et,lt,nt[lt]);return et},ht=(et,nt,lt)=>new Promise((At,uA)=>{var it=We=>{try{yt(lt.next(We))}catch($e){uA($e)}},Je=We=>{try{yt(lt.throw(We))}catch($e){uA($e)}},yt=We=>We.done?At(We.value):Promise.resolve(We.value).then(it,Je);yt((lt=lt.apply(et,nt)).next())}),Ft=({editOffice:et="view",data:nt,issaver:lt,onSaver:At,theme:uA,type:it,filename:Je,monacoEditor:yt,className:We,style:$e,close:_e,onClose:Ze,hasMask:Mt,disabledDownload:Lt,onImgDimensions:aA,showNodata:Jt,recordInfo:be})=>{const[de,Ct]=(0,se.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[qt,Rt]=(0,se.useState)(""),[Ve,pt]=(0,se.useState)(),ft=window.ENV==="build"?"/react/build":"",$t=location.host.startsWith("localhost")?Ce.Z.PROXY_SERVER:Ce.Z.API_SERVER,eA=10*(1024*1024),Me=(0,se.useRef)();nt!=null&&nt.startsWith("/api")&&it!=="txt"&&(nt=Ce.Z.API_SERVER+nt);const Bt=ae=>ae.substring(ae.lastIndexOf("/")+1).split(".").pop();Je&&yt&&(yt.filename=Je),(0,se.useEffect)(()=>{var ae,he;const oe=(he=(ae=document.cookie)==null?void 0:ae.replace(/\s/g,""))==null?void 0:he.split(";");oe==null||oe.map(Se=>{let rt=Se.split("=");rt[0]==="_educoder_session"&&Rt(rt[1])})},[]),(0,se.useEffect)(()=>{it==="office"&&(nt.indexOf("bigfilescdn.")>-1||nt.indexOf("bigfiles1")>-1?pt({url:nt,fileType:Bt(nt),model:nt.indexOf("model=edit")?"edit":"view"}):ue())},[it,nt]);function xt(ae){return ht(this,null,function*(){ae.data.type==="pdfdata"&&(At(ae.data.data),window.removeEventListener("message",xt,!1)),console.log("mess---:",ae.data)})}const ue=()=>ht(void 0,null,function*(){console.log("data:",nt);let ae=nt;nt.startsWith("http")||(ae=location.origin+ae);let he=new URL(ae).pathname.split("/").pop();const oe=yield(0,Ke.gJ)({attachment_id:he});oe.url=$t+oe.url,pt(oe)}),ne=()=>{if(nt.startsWith("http")||nt.startsWith("blob:")){re();return}(0,Ye.Sv)(Je||"educoder",nt,Je)},re=()=>{be&&(0,bt.fc)({id:be==null?void 0:be.id,watch_type:1,course_id:be==null?void 0:be.course_id}),(0,Ye.Nd)(Je||"educoder",decodeURIComponent(nt))};return Fe.createElement("div",{style:wt({},$e||{}),className:`${Mt&&ct.bgBlack} ${it?ct.wrp:"hide"}`},_e&&Fe.createElement("div",{className:ct.close,ref:Me},!!aA&&Fe.createElement(Qe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Me.current},Fe.createElement("span",{onClick:()=>{Ze(),aA()}},Fe.createElement("i",{className:"icon-yulanpizhu"}))),!Lt&&Fe.createElement(Qe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Me.current},Fe.createElement("span",{onClick:re},Fe.createElement("i",{className:"icon-quxiaozhiding"}))),lt&&Fe.createElement(Qe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Me.current},Fe.createElement("span",{className:"",onClick:()=>{const ae=document.getElementById("pdfiframe");window.addEventListener("message",xt,!1),setTimeout(()=>{ae.contentWindow.postMessage("getData","*")},300)}},Fe.createElement("i",{className:"icon-baocun"}))),Fe.createElement(Qe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Me.current},Fe.createElement("span",{className:"",onClick:()=>{Ze()}},Fe.createElement("i",{className:"icon-guanbi1"})))),Fe.createElement("div",{className:`${ct[We]} ${We} ${ct.monaco} ${it==="txt"?"show":"hide"}`},it==="txt"&&Fe.createElement(Fe.Fragment,null,Fe.createElement(Ee.ZP,wt({},yt)))),it==="audio"&&Fe.createElement("audio",{src:`${(nt==null?void 0:nt.indexOf("http://"))>-1||(nt==null?void 0:nt.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${nt}`,autoPlay:!0}),it==="video"&&Fe.createElement(Fe.Fragment,null,(nt==null?void 0:nt.indexOf("http"))>-1?Fe.createElement("video",{controls:!0,src:`${nt}`,autoPlay:!0}):Fe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${nt}`,autoPlay:!0})),it==="office"&&Ve&&Fe.createElement("iframe",{src:`${ft}/office.html?key=${Ve.key}&url=${btoa(Ve.url)}&callbackUrl=${$t+(Ve.callbackUrl||"")}&fileType=${Ve.fileType}&title=${Ve.title||""}&model=${et}&officeServer=${Ce.Z.ONLYOFFICE}&disabledDownload=${!!Lt}`}),it==="html"&&Fe.createElement("iframe",{src:nt+"&disposition=inline"}),it==="pdf"&&Fe.createElement("iframe",{id:"pdfiframe",src:`${ft}/js/pdfview/index.html?filename=${Je||"educoder.pdf"}&url=${encodeURIComponent(nt)}&disabledDownload=${!!Lt}&model=${et}`}),it==="image"&&Fe.createElement("img",{src:`${(nt==null?void 0:nt.indexOf("http://"))>-1||(nt==null?void 0:nt.indexOf("https://"))>-1?"":"data:image/png;base64,"}${nt}`}),(it==="other"||it==="download")&&Fe.createElement(Fe.Fragment,null,Jt?Fe.createElement(Ue.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Fe.createElement(Le.ZP,{icon:Fe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:Lt},"\u4E0B\u8F7D")}):Fe.createElement(Le.ZP,{type:"primary",size:"middle",onClick:ne,disabled:Lt},Fe.createElement(je.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),it==="flowChart"&&Fe.createElement("div",{className:"embed"},Fe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${nt||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},38394:function(oA,hA,Be){"use strict";Be.d(hA,{z:function(){return yt},Z:function(){return We}});var se=Be(59301),ct=Be(88831),Le=Be(90290),je=Be(64018),Ee=Be(81098),Qe=Be(90524),Ye=Be(49661),Ke=Be(15342),Ue=Be(77736),Ce=Be(99571),bt=Be(1012),Fe=Be(41550),Dt=Be(59301),Ge=({html:$e})=>{const _e=(0,se.useRef)(null),Ze=(0,se.useRef)(null),Mt=`.markdown-body p {
|
|
margin: 0 0 16px 0 !important;
|
|
line-height: 28px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
li {
|
|
list-style-type: none
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
dl {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.markdown-body {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
color: #333;
|
|
overflow: hidden;
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
word-break: break-word;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
position: relative;
|
|
}
|
|
|
|
.markdown-body ul>li {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.markdown-body ol>li {
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
.markdown-body a {
|
|
background: transparent;
|
|
}
|
|
|
|
.markdown-body a:active,
|
|
.markdown-body a:hover {
|
|
outline: 0;
|
|
}
|
|
|
|
.markdown-body strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 2em;
|
|
margin: 0.67em 0;
|
|
}
|
|
|
|
.markdown-body img {
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
-moz-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
.markdown-body code,
|
|
.markdown-body kbd,
|
|
.markdown-body pre {
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body input {
|
|
color: inherit;
|
|
font: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body html input[disabled] {
|
|
cursor: default;
|
|
}
|
|
|
|
.markdown-body input {
|
|
line-height: normal;
|
|
}
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.markdown-body td,
|
|
.markdown-body th {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body * {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body input {
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
}
|
|
|
|
.markdown-body a {
|
|
color: #4183c4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body a:hover,
|
|
.markdown-body a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
height: 0;
|
|
margin: 15px 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body hr:before {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body hr:after {
|
|
display: table;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
font-size: 21px;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
ul.linenums,
|
|
ol.linenums {
|
|
padding: 16px 0 0 56px !important;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
|
|
.markdown-body ol ol,
|
|
.markdown-body ul ol {
|
|
list-style-type: lower-roman;
|
|
}
|
|
|
|
.markdown-body ul ul ol,
|
|
.markdown-body ul ol ol,
|
|
.markdown-body ol ul ol,
|
|
.markdown-body ol ol ol {
|
|
list-style-type: lower-alpha;
|
|
}
|
|
|
|
.markdown-body dd {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.markdown-body code {
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
}
|
|
|
|
.markdown-body .octicon {
|
|
font: normal normal 16px octicons-anchor;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.markdown-body .octicon-link:before {
|
|
content: '\f05c';
|
|
}
|
|
|
|
.markdown-body>*:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.markdown-body>*:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.markdown-body .anchor {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: block;
|
|
padding-right: 6px;
|
|
padding-left: 30px;
|
|
margin-left: -30px;
|
|
}
|
|
|
|
.markdown-body .anchor:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
position: relative;
|
|
margin-top: 1em;
|
|
margin-bottom: 16px;
|
|
font-weight: bold;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
.markdown-body h2 .octicon-link,
|
|
.markdown-body h3 .octicon-link,
|
|
.markdown-body h4 .octicon-link,
|
|
.markdown-body h5 .octicon-link,
|
|
.markdown-body h6 .octicon-link {
|
|
display: none;
|
|
color: #000;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
.markdown-body h2:hover .anchor,
|
|
.markdown-body h3:hover .anchor,
|
|
.markdown-body h4:hover .anchor,
|
|
.markdown-body h5:hover .anchor,
|
|
.markdown-body h6:hover .anchor {
|
|
padding-left: 8px;
|
|
margin-left: -30px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
display: inline-block;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 2.25em;
|
|
line-height: 1.2;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h1 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 1.75em;
|
|
line-height: 1.225;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h2 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 1.5em;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
.markdown-body h3 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.markdown-body h4 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body h5 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 1em;
|
|
color: #777;
|
|
}
|
|
|
|
.markdown-body h6 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body ul ul,
|
|
.markdown-body ul ol,
|
|
.markdown-body ol ol,
|
|
.markdown-body ol ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body li>p {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.markdown-body dl {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body dl dt {
|
|
padding: 0;
|
|
margin-top: 16px;
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body dl dd {
|
|
padding: 0 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
padding: 0 15px;
|
|
color: #777;
|
|
border-left: 4px solid #ddd;
|
|
}
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: auto;
|
|
word-break: normal;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.markdown-body table th {
|
|
font-weight: bold;
|
|
text-align: revert;
|
|
}
|
|
|
|
.markdown-body table th,
|
|
.markdown-body table td {
|
|
padding: 6px 13px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body table tr {
|
|
background-color: #fff;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body code {
|
|
padding: 0;
|
|
padding-top: 0.2em;
|
|
padding-bottom: 0.2em;
|
|
margin: 0;
|
|
font-size: 85%;
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body code:has(.katex) {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.markdown-body code:before,
|
|
.markdown-body code:after {
|
|
letter-spacing: -0.2em;
|
|
content: "\\00a0";
|
|
}
|
|
|
|
.markdown-body pre>code {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 100%;
|
|
word-break: normal;
|
|
white-space: pre;
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body .highlight {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body .highlight pre,
|
|
.markdown-body pre {
|
|
padding: 16px;
|
|
overflow: auto;
|
|
font-size: 85%;
|
|
line-height: 1.45;
|
|
background-color: #f7f7f7;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body .highlight pre {
|
|
margin-bottom: 0;
|
|
word-break: normal;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
word-wrap: normal;
|
|
}
|
|
|
|
.markdown-body pre code {
|
|
display: inline;
|
|
max-width: initial;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: initial;
|
|
line-height: inherit;
|
|
word-wrap: normal;
|
|
background-color: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body pre code:before,
|
|
.markdown-body pre code:after {
|
|
content: normal;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font-size: 11px;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .pl-c {
|
|
color: #969896;
|
|
}
|
|
|
|
.markdown-body .pl-c1,
|
|
.markdown-body .pl-mdh,
|
|
.markdown-body .pl-mm,
|
|
.markdown-body .pl-mp,
|
|
.markdown-body .pl-mr,
|
|
.markdown-body .pl-s1 .pl-v,
|
|
.markdown-body .pl-s3,
|
|
.markdown-body .pl-sc,
|
|
.markdown-body .pl-sv {
|
|
color: #0086b3;
|
|
}
|
|
|
|
.markdown-body .pl-e,
|
|
.markdown-body .pl-en {
|
|
color: #795da3;
|
|
}
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
.markdown-body .pl-smi,
|
|
.markdown-body .pl-smp,
|
|
.markdown-body .pl-stj,
|
|
.markdown-body .pl-vo,
|
|
.markdown-body .pl-vpf {
|
|
color: #333;
|
|
}
|
|
|
|
.markdown-body .pl-ent {
|
|
color: #63a35c;
|
|
}
|
|
|
|
.markdown-body .pl-k,
|
|
.markdown-body .pl-s,
|
|
.markdown-body .pl-st {
|
|
color: #a71d5d;
|
|
}
|
|
|
|
.markdown-body .pl-pds,
|
|
.markdown-body .pl-s1,
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
.markdown-body .pl-sr,
|
|
.markdown-body .pl-sr .pl-cce,
|
|
.markdown-body .pl-sr .pl-sra,
|
|
.markdown-body .pl-sr .pl-sre,
|
|
.markdown-body .pl-src {
|
|
color: #df5000;
|
|
}
|
|
|
|
.markdown-body .pl-mo,
|
|
.markdown-body .pl-v {
|
|
color: #1d3e81;
|
|
}
|
|
|
|
.markdown-body .pl-id {
|
|
color: #b52a1d;
|
|
}
|
|
|
|
.markdown-body .pl-ii {
|
|
background-color: #b52a1d;
|
|
color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
color: #63a35c;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-ml {
|
|
color: #693a17;
|
|
}
|
|
|
|
.markdown-body .pl-mh,
|
|
.markdown-body .pl-mh .pl-en,
|
|
.markdown-body .pl-ms {
|
|
color: #1d3e81;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-mq {
|
|
color: #008080;
|
|
}
|
|
|
|
.markdown-body .pl-mi {
|
|
color: #333;
|
|
font-style: italic;
|
|
}
|
|
|
|
.markdown-body .pl-mb {
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-md,
|
|
.markdown-body .pl-mdhf {
|
|
background-color: #ffecec;
|
|
color: #bd2c00;
|
|
}
|
|
|
|
.markdown-body .pl-mdht,
|
|
.markdown-body .pl-mi1 {
|
|
background-color: #eaffea;
|
|
color: #55a532;
|
|
}
|
|
|
|
.markdown-body .pl-mdr {
|
|
color: #795da3;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .task-list-item {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.markdown-body .task-list-item input {
|
|
float: left;
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
z-index: 1;
|
|
position: relative;
|
|
border-color: #4183c4;
|
|
}
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
.pln {
|
|
color: #000
|
|
}
|
|
|
|
/* plain text */
|
|
|
|
@media screen {
|
|
.str {
|
|
color: #080
|
|
}
|
|
|
|
/* string content */
|
|
.kwd {
|
|
color: #008
|
|
}
|
|
|
|
/* a keyword */
|
|
.com {
|
|
color: #800
|
|
}
|
|
|
|
/* a comment */
|
|
.typ {
|
|
color: #606
|
|
}
|
|
|
|
/* a type name */
|
|
.lit {
|
|
color: #066
|
|
}
|
|
|
|
/* a literal value */
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #660
|
|
}
|
|
|
|
.tag {
|
|
color: #008
|
|
}
|
|
|
|
/* a markup tag name */
|
|
.atn {
|
|
color: #606
|
|
}
|
|
|
|
/* a markup attribute name */
|
|
.atv {
|
|
color: #080
|
|
}
|
|
|
|
/* a markup attribute value */
|
|
.dec,
|
|
.var {
|
|
color: #606
|
|
}
|
|
|
|
/* a declaration; a variable name */
|
|
.fun {
|
|
color: red
|
|
}
|
|
|
|
/* a function name */
|
|
}
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
@media print,
|
|
projection {
|
|
.str {
|
|
color: #060
|
|
}
|
|
|
|
.kwd {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.com {
|
|
color: #600;
|
|
font-style: italic
|
|
}
|
|
|
|
.typ {
|
|
color: #404;
|
|
font-weight: bold
|
|
}
|
|
|
|
.lit {
|
|
color: #044
|
|
}
|
|
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #440
|
|
}
|
|
|
|
.tag {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.atn {
|
|
color: #404
|
|
}
|
|
|
|
.atv {
|
|
color: #060
|
|
}
|
|
}
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
pre.prettyprint {
|
|
padding: 2px;
|
|
/* border: 1px solid #888 */
|
|
}
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
ol.linenums {
|
|
margin-top: 0;
|
|
margin-bottom: 0
|
|
}
|
|
|
|
/* IE indents via margin-left */
|
|
li.L0,
|
|
li.L1,
|
|
li.L2,
|
|
li.L3,
|
|
li.L5,
|
|
li.L6,
|
|
li.L7,
|
|
li.L8 {
|
|
list-style-type: none
|
|
}
|
|
|
|
/* Alternate shading for lines */
|
|
li.L1,
|
|
li.L3,
|
|
li.L5,
|
|
li.L7,
|
|
li.L9 {
|
|
background: #eee
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}`;return(0,se.useEffect)(()=>{const Lt=_e.current.attachShadow({mode:"open"});Ze.current=document.createElement("div"),Ze.current.className="markdown-body",Ze.current.innerHTML=$e,Lt.appendChild(Ze.current);const aA=document.createElement("style");return aA.textContent=Mt,Lt.appendChild(aA),()=>{Lt.innerHTML=""}},[]),(0,se.useEffect)(()=>{Ze.current&&(Ze.current.innerHTML=$e)},[$e]),Dt.createElement("div",{ref:_e})};function ze($e){const _e=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],Ze=new RegExp(`\\b(${_e.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return $e.replace(Ze,"").trim()}var Oe={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},wt=Object.defineProperty,ht=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,nt=($e,_e,Ze)=>_e in $e?wt($e,_e,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):$e[_e]=Ze,lt=($e,_e)=>{for(var Ze in _e||(_e={}))Ft.call(_e,Ze)&&nt($e,Ze,_e[Ze]);if(ht)for(var Ze of ht(_e))et.call(_e,Ze)&&nt($e,Ze,_e[Ze]);return $e};const At="@\u2581\u2581@",uA="@\u2581@",it=/<pre[^>]*>/g;function Je($e){let _e=document.createElement("div");return _e.innerHTML=$e,_e.childNodes.length===0?"":_e.childNodes[0].nodeValue}const yt=($e,_e)=>{$e=$e||"";const Ze=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Mt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Lt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,aA=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return _e?$e.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Ze,(Jt,be,de,Ct,qt,Rt,Ve)=>{const pt=be||Ct||Rt,ft=de||qt||Ve||"?";return Qe.Z.API_SERVER+"/api/attachments/"+pt+ft+"&t="+(0,Ye.Jn)(pt,Date.now())+(Jt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):($e=$e.replace(aA,(Jt,be,de,Ct,qt,Rt,Ve)=>{const pt=be||Ct||Rt,ft=de||qt||Ve||"?";return Qe.Z.API_SERVER+"/attachments/download/"+pt+ft+"&t="+(0,Ye.Jn)(pt,Date.now())+(Jt.indexOf(")")>-1?")":"&")}).replace(Ze,(Jt,be,de,Ct,qt,Rt,Ve)=>{const pt=be||Ct||Rt,ft=de||qt||Ve||"?";return Qe.Z.API_SERVER+"/api/attachments/"+pt+ft+"&t="+(0,Ye.Jn)(pt,Date.now())+(Jt.indexOf(")")>-1?")":"&")}).replace(Mt,(Jt,be,de,Ct,qt)=>{const Rt=be||Ct,Ve=de||qt||"";return'"'+Qe.Z.API_SERVER+"/api/attachments/"+Rt+Ve+Rt+Ve+"&t="+(0,Ye.Jn)(Rt,Date.now())}).replace(Lt,(Jt,be,de,Ct,qt)=>{const Rt=be||Ct,Ve=de||qt||"";return"("+Qe.Z.API_SERVER+"/files/uploads/"+Rt+Ve+Rt+Ve+"&t="+(0,Ye.Jn)(Rt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),$e)};var We=({value:$e="",edit:_e=!1,className:Ze,showTextOnly:Mt,showLines:Lt,style:aA={},stylesPrev:Jt={},highlightKeywords:be,showProgramFill:de,isProgramFill:Ct,disabledFill:qt=!1,programFillValue:Rt,openEditor:Ve=()=>{},onFillChange:pt=It=>{},onFillBlur:ft=()=>{},onFillFocus:$t=()=>{}})=>{let It=ze(String($e||""));const eA=(0,se.useRef)(),Me=(0,se.useRef)(),[Bt,xt]=(0,se.useState)(""),[ue,ne]=(0,se.useState)("office"),[re,ae]=(0,se.useState)([]),he=(0,se.useRef)("a"+(0,bt.Z)()),oe={},Se=mt=>/<style[\s\S]*?>/i.test(mt||""),rt=(mt,GA,mA)=>{const yA=document.createElement(mt===uA?"input":"textarea");yA.style.width="100%",yA.style.height=mt===uA?"40px":"151px",yA.rows=5,yA.spellcheck=!1,yA.name="edu-program-fill",yA.placeholder="\u8BF7\u8F93\u5165",yA.dataset.id=GA;const MA=Object.keys(oe).length;return oe[MA]=yA,`<span class="edu-program-fill-wrap ${mt===uA?"":"show"}" style="width:${mt===uA?"600px":"100%"}" title=${mA||""}><span>${yA.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Yt(mt){return mt=mt.replace(/!\[.*?\]\(.*?\)/g,""),mt=mt.replace(/\[.*?\]\(.*?\)/g,""),mt=mt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),mt=mt.replace(/<embed.*?>/g,""),mt=mt.replace(/<img.*?>/g,""),mt=mt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),mt=mt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),mt=mt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),mt=mt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),mt}const Ht=mt=>!Mt&&Se(It)?mt:mt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(GA,mA){let yA=mA.replace(/(\n|\r)/g,"").split("}"),MA=[];return yA.map(dr=>{dr!=""&&MA.push(`.${he.current} ${dr}`)}),`<style>${MA.join("}")}</style>`}),Tt=(0,se.useMemo)(()=>{try{const yA=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,MA=/\"\/api\/attachments\/|\"\/attachments\/download\//g,dr=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,KA=/\(\/attachments\/download\//g;It=It.replace(KA,"("+Qe.Z.API_SERVER+"/attachments/download/").replace(yA,"("+Qe.Z.API_SERVER+"/api/attachments/").replace(MA,'"'+Qe.Z.API_SERVER+"/api/attachments/").replace(dr,'"'+Qe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),eA.current.style.display="none"}catch(yA){}if(de){let yA=-1;return It=It.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(MA,dr,KA){var ZA;return++yA,rt(MA,yA,(ZA=Rt==null?void 0:Rt[yA])==null?void 0:ZA.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ht(It||"")}</pre>`}let mt=Ht(It);mt=(0,Le.ZP)(mt);const GA=(0,Le.ez)();It.match(/\[TOC\]/)&&(mt=mt.replace("<p>[TOC]</p>",(0,Le.Qv)()),(0,Le.Iy)()),mt=mt.replace(/(__special_katext_id_\d+__)/g,(yA,MA)=>{const{type:dr,expression:KA}=GA[MA];return(0,Ke.renderToString)(Je(KA)||"",{displayMode:dr==="block",throwOnError:!1,output:"html"})}),mt=mt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Le.AL)();const mA=document.createElement("div");if(mA.innerHTML=mt,Mt)return mA.innerText;if(be){const yA=be.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return xA(mA,yA),mA.innerHTML}return setTimeout(()=>CA(),500),mA.innerHTML},[It,be]);(0,se.useEffect)(()=>{sA.current&&sA.current.querySelectorAll(["input","textarea"]).forEach(GA=>{GA.oninput=Pt,GA.onblur=pA,GA.onfocus=vA})},[re]),(0,se.useEffect)(()=>{var mt,GA,mA,yA,MA;if(Rt!=null&&Rt.length)try{const dr=sA.current.querySelectorAll(".edu-program-fill-score"),KA=sA.current.querySelectorAll('[name="edu-program-fill"]');for(const[ZA,$A]of KA.entries())$A.value=((mt=Rt==null?void 0:Rt[ZA])==null?void 0:mt.value)||"",((GA=Rt==null?void 0:Rt[ZA])==null?void 0:GA.type)==="warning"?$A.className="program-fill-warning":((mA=Rt==null?void 0:Rt[ZA])==null?void 0:mA.type)==="success"?$A.className="program-fill-success":$A.className="";for(const[ZA,$A]of dr.entries())$A.innerHTML=(yA=Rt==null?void 0:Rt[ZA])!=null&&yA.score?`${(MA=Rt==null?void 0:Rt[ZA])==null?void 0:MA.score}\u5206`:"";ae(Rt)}catch(dr){console.log(dr,"error")}},[Rt]);const Pt=mt=>{re[mt.target.dataset.id]=re[mt.target.dataset.id]||{},re[mt.target.dataset.id].value=mt.target.value,ae([...re]),pt(re,mt.target.dataset.id)},pA=mt=>{re[mt.target.dataset.id]=re[mt.target.dataset.id]||{},re[mt.target.dataset.id].value=mt.target.value,ae([...re]),ft(re,mt.target.dataset.id)},vA=mt=>{re[mt.target.dataset.id]=re[mt.target.dataset.id]||{},re[mt.target.dataset.id].value=mt.target.value,ae([...re]),$t(re,mt.target.dataset.id)};function xA(mt,GA){return mt.childNodes.forEach(mA=>{var yA;if(mA.childNodes.length>0)xA(mA,GA);else if(mA.nodeName!=="IMG")if(mA.innerHTML)mA.innerHTML=(yA=mA.innerHTML)==null?void 0:yA.replace(new RegExp(GA,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const MA=document.createElement("span");MA.innerHTML=mA.textContent.replace(new RegExp(GA,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),mA.replaceWith(MA)}})}const sA=(0,se.useRef)();Le.jb.WebkitLineClamp=Lt,Lt&&(aA=lt(lt({},aA),Le.jb));function Nt(mt){let GA=mt.target;if(GA.tagName.toUpperCase()==="A"){let mA=GA.getAttribute("href");if(mA.indexOf("office")>-1)mt.preventDefault(),xt(mA),ne("office");else if(mA.indexOf("application/pdf")>-1)mt.preventDefault(),xt(mA),ne("pdf");else if(mA.indexOf("text/html")>-1)mt.preventDefault(),xt(mA),ne("html");else if(mA.startsWith("#")){mt.preventDefault();let yA=document.getElementById(mA.replace("#",""));yA&&yA.scrollIntoView(!0)}}}const CA=()=>{var mt;const GA=(mt=sA.current)==null?void 0:mt.querySelectorAll("video");GA==null||GA.forEach(mA=>{if(mA.oncontextmenu=()=>!1,mA.src.indexOf(".m3u8")>-1&&!mA.canPlayType("application/vnd.apple.mpegurl")){if(Ee.ZP.isSupported()){var yA=new Ee.ZP;yA.loadSource(mA.src),yA.attachMedia(mA)}}})};(0,se.useEffect)(()=>{if(sA.current&&Tt&&Tt.match(it)&&window.PR.prettyPrint(),sA.current)return sA.current.addEventListener("click",Nt),()=>{var mt;(mt=sA.current)==null||mt.removeEventListener("click",Nt),(0,Le.AL)(),(0,Le.Iy)()}},[Tt,sA.current,Nt]);const Xt=mt=>{mt.target.nodeName==="IMG"&&mt.target.className.indexOf("draw-flowchart")>-1?(eA.current.style.zIndex=1,eA.current.style.display="flex",eA.current.style.width=mt.target.clientWidth+"px",eA.current.style.height=mt.target.clientHeight+"px",eA.current.style.top=mt.target.offsetTop+"px",eA.current.style.left=mt.target.offsetLeft+"px",mt.target.id&&(Me.current=mt.target.id)):eA.current.style.display="none"},IA=()=>{eA.current.style.display="none"};return(0,se.useEffect)(()=>{var mt;const GA=mA=>{mA.preventDefault(),mA.clipboardData.setData("text",window.getSelection().toString())};return(mt=sA.current)==null||mt.addEventListener("copy",GA),()=>{var mA;(mA=sA.current)==null||mA.removeEventListener("copy",GA)}},[sA.current]),se.createElement("div",{style:{position:"relative"},onMouseLeave:IA},Mt&&se.createElement("div",{ref:sA,className:`${Oe.mdBody} `},Tt),!Mt&&!Se(Tt)&&se.createElement("div",{ref:sA,style:lt({},aA),onMouseOver:Xt,className:`${Ze||""} ${qt?"disabled-fill":""} markdown-body ${Oe.mdBody} ${he.current}`,dangerouslySetInnerHTML:{__html:Tt}}),!Mt&&Se(Tt)&&se.createElement(Ge,{html:Tt}),se.createElement("div",{ref:eA,className:`${Oe.button} ${_e?"":Oe.previewFlowChart}`},se.createElement(Ue.Z,null,se.createElement(Ce.ZP,{onClick:()=>{_e?Ve(Me.current):(xt(Me.current),ne("flowChart"))}},_e?"\u7F16\u8F91":"\u9884\u89C8"))),se.createElement(Fe.Z,{close:!0,data:Bt,type:Bt!=null&&Bt.length?ue:"",style:lt({},Jt),onClose:()=>xt("")}))}},44905:function(oA,hA,Be){"use strict";Be.d(hA,{h:function(){return et}});var se=Be(59301),ct=Be(82326),Le=Be(28284),je=Be(99571),Ee=Be(89780),Qe=Be.n(Ee),Ye=Be(66543),Ke=Be(59598),Ue=Object.defineProperty,Ce=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Dt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Ge=(nt,lt,At)=>lt in nt?Ue(nt,lt,{enumerable:!0,configurable:!0,writable:!0,value:At}):nt[lt]=At,ze=(nt,lt)=>{for(var At in lt||(lt={}))Dt.call(lt,At)&&Ge(nt,At,lt[At]);if(Fe)for(var At of Fe(lt))Xe.call(lt,At)&&Ge(nt,At,lt[At]);return nt},Oe=(nt,lt)=>Ce(nt,bt(lt));const wt=ct.default.Option,ht={labelCol:{span:4},wrapperCol:{span:20}},Ft={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"]};hA.Z=({callback:nt,onCancel:lt})=>{const[At,uA]=(0,se.useState)("python");function it(yt){uA(Ft[yt][1])}function Je(yt){nt(yt)}return se.createElement(Le.default,Oe(ze({},ht),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Je,style:{width:500}}),se.createElement(Le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},se.createElement(ct.default,{getPopupContainer:yt=>yt.parentNode,onChange:it},Object.keys(Ft).map(yt=>se.createElement(wt,{key:yt,value:yt},Ft[yt][0])))),se.createElement(Le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},se.createElement(et,{mode:At})),se.createElement("div",{className:"flex-container flex-end"},se.createElement(je.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(je.ZP,{type:"ghost",onClick:lt},"\u53D6\u6D88")))};function et({value:nt,onChange:lt,mode:At,options:uA={}}){const it=(0,se.useRef)(),[Je,yt]=(0,se.useState)();return(0,se.useEffect)(()=>{if(Je){let We=function($e){const _e=$e.getValue();lt&<(_e)};return Je.on("change",We),()=>{Je.off("change",We)}}},[Je,lt]),(0,se.useEffect)(()=>{Je&&Je.setOption("mode",At)},[Je,At]),(0,se.useEffect)(()=>{Je&&(nt!==Je.getValue()||nt==="")&&setTimeout(()=>{Je.setValue(nt||"")},300)},[Je,nt]),(0,se.useEffect)(()=>{if(it.current&&!Je){const We=Qe().fromTextArea(it.current,ze({mode:At,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},uA));yt(We)}},[it.current,Je]),se.createElement("div",{className:"my-codemirror-container"},se.createElement("textarea",{ref:it}))}},2978:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return Nr}});var se=Be(59301),ct=Be(89780),Le=Be.n(ct),je=Be(76374),Ee=Be(66543),Qe=Be(6313),Ye=Be(25717),Ke=Be(99498),Ue=Be(25419),Ce=Be(67549),bt=Be(38394),Fe=({value:vt="",className:Qt,showTextOnly:Ot,showLines:cA,style:Ar={}})=>{const YA=(0,se.useMemo)(()=>"",[vt]);return se.createElement(se.Fragment,null,se.createElement("div",{dangerouslySetInnerHTML:{__html:YA}}))},Dt=Object.defineProperty,Xe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,ht=(vt,Qt,Ot)=>Qt in vt?Dt(vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):vt[Qt]=Ot,Ft=(vt,Qt)=>{for(var Ot in Qt||(Qt={}))Oe.call(Qt,Ot)&&ht(vt,Ot,Qt[Ot]);if(ze)for(var Ot of ze(Qt))wt.call(Qt,Ot)&&ht(vt,Ot,Qt[Ot]);return vt},et=(vt,Qt)=>Xe(vt,Ge(Qt));let nt=[{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\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",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 lt({onActionCallback:vt,title:Qt,icon:Ot,actionName:cA,className:Ar="",children:YA}){function UA(){vt(cA)}return se.createElement("a",{title:Qt,className:Ar,onClick:UA},se.createElement("i",{className:`${Ot}`}),YA)}var At=({watch:vt,showNullButton:Qt,showNullProgramButton:Ot,onActionCallback:cA,fullScreen:Ar,insertTemp:YA,hidetoolBar:UA,extraUse:Cr})=>{const hr=[...nt,{title:`${vt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return se.createElement("ul",{className:"markdown-toolbar-container"},!UA&&hr.map((or,JA)=>se.createElement("li",{key:JA},or.actionName?se.createElement(lt,et(Ft({},or),{onActionCallback:cA})):se.createElement("span",{className:"v-line"}))),Qt?se.createElement("li",null,se.createElement(lt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:cA},se.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ot?se.createElement(se.Fragment,null,se.createElement("li",null,se.createElement(lt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:cA},se.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),se.createElement("li",null,se.createElement(lt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:cA},se.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,YA&&se.createElement("li",null,se.createElement(lt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${YA}`,onActionCallback:cA},se.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Cr&&se.createElement("li",null,Cr),se.createElement("li",{className:"btn-full-screen"},se.createElement(lt,{icon:`${Ar?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ar?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:cA})))},uA=Be(75790),it=Be(28284),Je=Be(37568),yt=Be(99571),We=Object.defineProperty,$e=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,aA=(vt,Qt,Ot)=>Qt in vt?We(vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):vt[Qt]=Ot,Jt=(vt,Qt)=>{for(var Ot in Qt||(Qt={}))Mt.call(Qt,Ot)&&aA(vt,Ot,Qt[Ot]);if(Ze)for(var Ot of Ze(Qt))Lt.call(Qt,Ot)&&aA(vt,Ot,Qt[Ot]);return vt},be=(vt,Qt)=>$e(vt,_e(Qt));const de={labelCol:{span:4},wrapperCol:{span:20}};var Ct=({callback:vt,onCancel:Qt})=>{function Ot(cA){vt(cA)}return se.createElement(it.default,be(Jt({},de),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ot,style:{width:500}}),se.createElement(it.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},se.createElement(Je.default,null)),se.createElement(it.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},se.createElement(Je.default,null)),se.createElement("div",{className:"flex-container flex-end"},se.createElement(yt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(yt.ZP,{type:"ghost",onClick:Qt},"\u53D6\u6D88")))},qt=Be(44905),Rt=Be(45596),Ve=Be(62957),pt=Be(77019),ft=Be(6077),$t=Be(59301),It=({callback:vt,onCancel:Qt})=>{const Ot=document.createElement("canvas"),cA=Ot.getContext("2d");Ot.width=1e3,Ot.height=800,cA.fillStyle="#ffffff",cA.fillRect(0,0,Ot.width,Ot.height);const Ar=Ot.toDataURL("image/png");return $t.createElement(Ve.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},$t.createElement(pt.Z,{style:{height:"100vh"}},$t.createElement(ft.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ar,visible:!0,title:String(Date.now())},onOk:YA=>{vt({src:YA.url})},onClose:Qt})))},eA=Be(30641),Me=Be(5269),Bt=Be(6767),xt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ue=Be(59301),re=(0,se.forwardRef)(({onCancel:vt,editImgId:Qt,callback:Ot},cA)=>{let Ar=(0,se.useRef)(),YA=(0,se.useRef)(),UA=(0,se.useRef)(),Cr=(0,se.useRef)(!1);const hr=(0,se.useRef)(!1);console.log("ref:",cA);const[or,JA]=(0,se.useState)(0),[Br,fA]=(0,se.useState)("100vh");return(0,se.useEffect)(()=>{JA(1)},[]),(0,se.useImperativeHandle)(cA,()=>({setHeight:fA})),ue.createElement("div",{ref:hr,className:"body-overflow-initial"},ue.createElement(eA.Z,{width:"100vw",height:Br,footer:null,closable:!0,placement:"bottom",open:!!or,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${xt.drawerWrap}`,onClose:()=>{window.saveDrawData(He=>{Ot({src:`/api/attachments/${He}`,id:He})})},title:ue.createElement(pt.Z,{align:"middle"},ue.createElement(Me.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ue.createElement(Me.Z,{onClick:()=>{fA(Br==="60px"?"100vh":"60px")}},ue.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ue.createElement(Me.Z,{onClick:()=>{window.saveDrawData(He=>{if(He===null){Bt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}Bt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Ot({src:`/api/attachments/${He}`,id:He,disabledClose:!0})})}},ue.createElement(yt.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ue.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Qt||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:YA})))}),ae=Be(90524),he=Be(47889),oe=Be(71051);const Se=he.ZP.Group,rt={margin:"0 8px"};var Yt=({callback:vt,onCancel:Qt})=>{function Ot(cA){vt(cA)}return se.createElement(it.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ot},se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},se.createElement("span",{style:rt},"\u5355\u5143\u683C\u6570\uFF1A"),se.createElement("span",{style:rt},"\u884C\u6570"),se.createElement(it.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},se.createElement(oe.Z,null)),se.createElement("span",{style:rt},"\u5217\u6570"),se.createElement(it.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},se.createElement(oe.Z,null))),se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},se.createElement("span",{style:rt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),se.createElement(it.default.Item,{name:"align"},se.createElement(Se,null,se.createElement(he.ZP,{value:"default"},se.createElement("i",{className:"fa fa-align-justify"})),se.createElement(he.ZP,{value:"left"},se.createElement("i",{className:"fa fa-align-left"})),se.createElement(he.ZP,{value:"center"},se.createElement("i",{className:"fa fa-align-center"})),se.createElement(he.ZP,{value:"right"},se.createElement("i",{className:"fa fa-align-right"}))))),se.createElement("div",{className:"flex-container flex-end"},se.createElement(yt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),se.createElement(yt.ZP,{type:"ghost",onClick:Qt},"\u53D6\u6D88")))},Ht=Be(71411),Tt=Be(11081),Pt=Be.n(Tt),vA=(0,se.forwardRef)(({use3d:vt,width:Qt,height:Ot,callback:cA,showSaveButton:Ar},YA)=>{const UA=(0,se.useRef)(),Cr=(0,se.useRef)(),[hr,or]=(0,se.useState)(!1),JA=(0,se.useRef)({id:UA,appName:"graphing",width:Qt||1e3,height:Ot||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,se.useEffect)(()=>{Cr.current=new(Pt())(JA.current,!0),window.onload=function(){Cr.current.inject("applet_container")}},[]);const Br=()=>{var fA=window.ggbApplet.getPNGBase64(1,!0,72);return cA&&cA(fA),fA};return(0,se.useEffect)(()=>{JA.current.appName=hr?"3D":"graphing",Cr.current.inject("applet_container")},[hr]),(0,se.useEffect)(()=>{or(vt)},[vt]),(0,se.useImperativeHandle)(YA,()=>({getImgData:Br})),se.createElement(se.Fragment,null,se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:UA}),se.createElement(pt.Z,{align:"middle"},se.createElement(Me.Z,{flex:1},se.createElement(Ht.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:hr,onChange:fA=>or(fA)})),se.createElement(Me.Z,null,se.createElement(yt.ZP,{size:"large",onClick:Br,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),xA=Be(88615);const sA="link",Nt="upload-image",CA="add-flowchart",Xt="draw-image",IA="add-flowchart",mt="code-block",GA="add-table",mA="------------",yA={default:mA,left:`:${mA}`,center:`:${mA}:`,right:`${mA}:`};var MA=Be(17904);function dr(){}let KA=0;const ZA=1e4,$A="\u2581",Er="@\u2581\u2581@",Yr="@\u2581@",cn=`
|
|
**\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`,jr=["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 Ur(vt){return/^\d+$/.test(vt)?`${vt}px`:vt}const Ir=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",TA={[Ir+"-B"]:"bold",[Ir+"-I"]:"italic"},ir={[sA]:"\u6DFB\u52A0\u94FE\u63A5",[mt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Nt]:"\u6DFB\u52A0\u56FE\u7247",[Xt]:"\u6DFB\u52A0\u753B\u56FE",[CA]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[GA]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Nr=({defaultValue:vt="",onChange:Qt,width:Ot="100%",height:cA=400,miniToolbar:Ar=!1,isFocus:YA=!1,watch:UA,insertTemp:Cr,mode:hr="markdown",id:or="markdown-editor-id",showResizeBar:JA=!1,noStorage:Br=!1,showNullButton:fA=!1,showNullProgramButton:He=!1,hidetoolBar:jt=!1,fullScreen:kA=!1,onBlur:HA,onCMBeforeChange:Te,onFullScreen:Re,className:dA="",disablePaste:Kt=!1,disabled:qe=!1,disabledFill:Gt=!1,placeholder:EA="",values:DA="",extraUse:VA})=>{const[at,SA]=(0,se.useState)(null),[Wt,ar]=(0,se.useState)(vt),[bA,sr]=(0,se.useState)(UA),[RA,Fr]=(0,se.useState)(kA),[br,zr]=(0,se.useState)(""),[qr,Gr]=(0,se.useState)(0),[fn,Tr]=(0,se.useState)(cA),[vn,ln]=(0,se.useState)(!1),[An,hn]=(0,se.useState)(0),[we,ve]=(0,se.useState)(0),xe=(0,se.useRef)(),Pe=(0,se.useRef)(),st=(0,se.useRef)(),Et=(0,se.useRef)(),Vt=(0,se.useRef)(),rA=(0,se.useRef)();(0,se.useEffect)(()=>{const Ut=window.scrollY||window.pageYOffset;ar(DA),at==null||at.setValue(DA),window.scrollTo(0,Ut)},[DA]),(0,se.useEffect)(()=>{Re==null||Re(RA)},[RA]),(0,se.useEffect)(()=>{if(xe.current){let Ut=function(St,AA){var BA;if(Kt){AA.preventDefault();return}const WA=AA.clipboardData;if(WA){const pr=WA.types.toString(),yr=WA.items;if(pr==="Files"||WA.types.indexOf("Files")>-1){if(AA.preventDefault(),hr=="stex")return;try{let gr=yr[1];((BA=yr[0])==null?void 0:BA.kind)==="file"&&(gr=yr[0]);const Dr=gr.getAsFile(),vr=Dr.name.split(".").pop();(0,Rt.I)(Dr,Kr=>{var on,Sn,an;Kr.id?((on=Dr==null?void 0:Dr.type)==null?void 0:on.indexOf("image"))>-1?tt.replaceSelection(`<img width="100%" src="/api/attachments/${Kr.id}?type=${Kr.content_type})" alt="" />`):((Sn=Dr==null?void 0:Dr.type)==null?void 0:Sn.indexOf("video"))>-1?tt.replaceSelection(`<video width="100%" controls src="/api/attachments/${Kr.id}"></video>`):((an=Dr==null?void 0:Dr.type)==null?void 0:an.indexOf("pdf"))>-1?tt.replaceSelection(`<a href="/api/attachments/${Kr.id}?type=${Dr.type}&disposition=inline" target="_blank">${Dr.name}</a>`):jr.includes(vr)?tt.replaceSelection(`<a href="/api/attachments/${Kr.id}?type=office&disposition=inline" target="_blank">${Dr.name}</a>`):tt.replaceSelection(`[${Dr.name}](/api/attachments/${Kr.id}?type=${Kr.content_type})`):(Kr==null?void 0:Kr.status)===401&&(document.location.href="/user/login")})}catch(gr){Bt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const tt=Le().fromTextArea(xe.current,{mode:hr,lineNumbers:!Ar,lineWrapping:!0,value:vt,autoCloseTags:!0,autoCloseBrackets:!0});return tt.on("keyup",function(St,AA){AA.keyCode===8&&(St.getValue()==""?tt.setOption("placeholder",EA):tt.setOption("placeholder",null))}),tt.on("keydown",function(St,AA){if(AA.keyCode===8){var BA=lA(St);BA&&AA.preventDefault()}}),YA&&tt.focus(),tt.on("paste",Ut),qe&&tt.on("beforeChange",function(St,AA){(AA.origin==="paste"||AA.origin==="+input")&&AA.cancel()}),SA(tt),()=>{tt.off("paste",Ut)}}},[]);const wA=(0,se.useCallback)(()=>{if(Pe.current)try{}catch(Ut){console.log(Ut,"---- to set md editor body height")}},[fn,Pe,RA]);(0,se.useEffect)(()=>{function Ut(){let tt=new je.Z(St=>{for(let AA of St)(AA.target.offsetHeight>0||AA.target.offsetWidth>0)&&(wA(),at.setSize("100%","100%"),at.refresh())});return tt.observe(xe.current.parentElement),tt}if(at){const tt=Ut();return()=>{var St,AA;(St=xe.current)!=null&&St.parentElement&&tt.unobserve((AA=xe.current)==null?void 0:AA.parentElement)}}},[at,wA]),(0,se.useEffect)(()=>{if(at){let Ut=[];for(const[tt,St]of Object.entries(TA)){let AA={[tt]:()=>{zt(St)}};Ut.push(AA),at.addKeyMap(AA)}return()=>{for(let tt of Ut)at.removeKeyMap(tt)}}},[at]),(0,se.useEffect)(()=>{kA!==RA&&Fr(kA)},[kA]),(0,MA.Z)(()=>{if(!Br&&qr>0){let Ut=new Date().getTime(),tt=window.sessionStorage.getItem(or);Ut>=qr+ZA&&(!tt||tt!==Wt)&&(window.sessionStorage.setItem(or,Wt),ln(!0))}},ZA),(0,se.useEffect)(()=>{sr(UA)},[at,UA]),(0,se.useEffect)(()=>{at&&YA&&at.focus()},[at,YA]),(0,se.useEffect)(()=>{if(bA&&at){let Ut=function(St){let AA=St.target;if(Et.current){let BA=AA.scrollTop/AA.scrollHeight;Et.current.scrollTop=Et.current.scrollHeight*BA}};const tt=at.getScrollerElement();return tt.addEventListener("scroll",Ut),()=>{tt.removeEventListener("scroll",Ut)}}},[at,bA]),(0,se.useEffect)(()=>{if(at&&Te){let Ut=function(tt,St){Te(tt,St)};return at.on("beforeChange",Ut),()=>{at.off("beforeChange",Ut)}}},[at,Te]),(0,se.useEffect)(()=>{if(at&&HA){let Ut=function(){HA(at.getValue())};return at.on("blur",Ut),()=>{at.off("blur",Ut)}}},[at,HA]);function lA(Ut,tt){var St=Ut.getDoc(),AA=St.getCursor(),BA=St.getLine(AA.line),WA=BA.charAt(AA.ch-1),pr=BA.lastIndexOf("@\u2581@",AA.ch),yr=BA.lastIndexOf("@\u2581\u2581@",AA.ch),gr=pr>yr?pr:yr,Dr=pr>yr?3:4;if(Er.indexOf(WA)===-1)return null;if(console.log("change1:",tt,Ut,BA,AA,gr,pr,yr,WA),gr>=0&&AA.ch-gr<5){var vr=gr+Dr;return St.replaceRange("",{line:AA.line,ch:gr},{line:AA.line,ch:vr}),{line:AA.line,ch:vr}}return null}(0,se.useEffect)(()=>{if(at){let Ut=function(tt,St){const AA=tt.getValue();ar(AA),Gr(new Date().getTime()),tt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Qt&&(He?Qt(AA,Mr(AA)):Qt(AA))};return at.on("change",Ut),()=>{at.off("change",Ut)}}},[at,Qt]),(0,se.useEffect)(()=>{if(at)if(vt==null)at.setValue(""),ar("");else{const Ut=window.scrollY||window.pageYOffset;vt!==at.getValue()&&(at.setValue(vt),ar(vt),at.setCursor(qe?1:at.lineCount(),0),window.scrollTo(0,Ut))}},[at,vt]);const zt=(0,se.useCallback)(Ut=>{const tt=at.getCursor(),St=at.getSelection();let AA=St.split(`
|
|
`);switch(Ut){case"bold":return at.replaceSelection("**"+St+"**"),St===""&&at.setCursor(tt.line,tt.ch+2),at.focus();case"italic":return at.replaceSelection("*"+St+"*"),St===""&&at.setCursor(tt.line,tt.ch+1),at.focus();case"code":return at.replaceSelection("`"+St+"`"),St===""&&at.setCursor(tt.line,tt.ch+1),at.focus();case"inline-latex":return zr("inline-latex"),at.focus();case"latex":return at.replaceSelection("```latex\n"+St+"\n```"),at.setCursor(tt.line+1,St.length+1),at.focus();case"line-break":return at.replaceSelection(`<br/>
|
|
`),at.focus();case"list-ul":return St===""?at.replaceSelection("- "+St):at.replaceSelection(AA.map(BA=>BA===""?"":`- ${BA}`).join(`
|
|
`)),at.focus();case"list-ol":return St===""?at.replaceSelection("1. "+St):at.replaceSelection(AA.map((BA,WA)=>BA===""?"":`${WA+1}. ${BA}`).join(`
|
|
`)),at.focus();case"add-null-ch":return St===""&&at.setCursor(tt.line,tt.ch),at.replaceSelection($A),at.focus();case"add-signal":return St===""&&at.setCursor(tt.line,tt.ch),at.replaceSelection(Yr),at.focus();case"add-multiple":return St===""&&at.setCursor(tt.line,tt.ch),at.replaceSelection(Er),at.focus();case"inster-template-1":return St===""&&at.setCursor(tt.line,tt.ch),at.replaceSelection(cn),at.focus();case"eraser":return at.setValue(""),at.focus();case"trigger-watch":return sr(!bA),at.focus();case"trigger-full-screen":return Fr(!RA),at.focus();case sA:zr(sA);return;case mt:zr(mt);return;case Nt:zr(Nt);return;case Xt:zr(Xt);return;case"maths-latex":zr("maths-latex");return;case CA:Vt.current="",sessionStorage.removeItem("file_id"),zr(CA);return;case GA:zr(GA);return;default:throw new Error}},[at,bA,RA]),nA=(0,se.useCallback)((Ut,tt)=>{var St,AA,BA,WA,pr,yr;switch(Ut!=null&&Ut.disabledClose||zr(""),br){case sA:const{title:on,link:Sn}=Ut;return at.replaceSelection(`[${on}](${Sn})`),at.focus();case mt:const{language:an,content:dn}=Ut;return at.replaceSelection(["```"+an,dn,"```"].join(`
|
|
`)),at.focus();case"maths-latex":for(var gr=atob(Ut),Dr=new Uint8Array(gr.length),vr=0;vr<gr.length;vr++)Dr[vr]=gr.charCodeAt(vr);var Kr=new Blob([Dr],{type:"image/png"});(0,Rt.I)(Kr,un=>{un.id?at.replaceSelection(``):(un==null?void 0:un.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":at.replaceSelection("`$$"+Ut+"$$`");break;case IA:const{src:Pr,alt:mn,id:sn}=Ut;if(!sn)return;at.getValue().indexOf(Pr)===-1?at.replaceSelection(`<center><img id="${sn}" width="80%" src="${Pr}" class="draw-flowchart" alt="${mn||""}" /></center>`):document.getElementById(sn).src=ae.Z.API_SERVER+Pr+"?t="+Date.now();break;case Nt:case Xt:const Vr=tt,Kn=(BA=(AA=(St=Vr==null?void 0:Vr.name)==null?void 0:St.split("."))==null?void 0:AA.pop)==null?void 0:BA.call(AA);return((WA=Vr==null?void 0:Vr.type)==null?void 0:WA.indexOf("image"))>-1||!(Vr!=null&&Vr.type)?Vr!=null&&Vr.align||Vr!=null&&Vr.width?at.replaceSelection(`<p style="text-align:${Vr.align||"initial"}"><img width="${Vr.width?Vr.width+"%":"initial"}" src="${Pr}" alt="${mn||""}" /></p>`):at.replaceSelection(`<img width="100%" src="${Pr}" alt="${mn||""}" />`):((pr=Vr==null?void 0:Vr.type)==null?void 0:pr.indexOf("video"))>-1?at.replaceSelection(`<video width="100%" controls src="${Pr}"></video>`):((yr=Vr==null?void 0:Vr.type)==null?void 0:yr.indexOf("pdf"))>-1?at.replaceSelection(`<a href="${Pr}?type=${Vr.type}&disposition=inline" target="_blank">${Vr.name}</a>`):jr.includes(Kn)?at.replaceSelection(`<a href="${Pr}?type=office&disposition=inline" target="_blank">${Vr.name}</a>`):at.replaceSelection(`[${Vr.name}](${Pr})`),at.focus();case GA:const{row:On,col:fi,align:Zn}=Ut;let ii=`
|
|
`;for(let un=0;un<On;un++){let jn=[],Si=[];for(let $i=0;$i<fi;$i++)un===1&&Si.push(yA[Zn]),jn.push(" ");un===1&&(ii+=`| ${Si.join(" | ")} |
|
|
`),ii+=`| ${jn.join(fi===1?"":" | ")} |
|
|
`}return at.replaceSelection(ii+`
|
|
`),at.focus();default:throw new Error}},[at,br]),_A=(0,se.useMemo)(()=>{switch(br){case sA:return se.createElement(Ct,{callback:nA,onCancel:er});case mt:return se.createElement(qt.Z,{callback:nA,onCancel:er});case Nt:return se.createElement(Rt.Z,{callback:nA,onCancel:er});case CA:return se.createElement(re,{editImgId:Vt.current,callback:nA,onCancel:er});case GA:return se.createElement(Yt,{callback:nA,onCancel:er});case"maths-latex":return se.createElement(vA,{showSaveButton:!0,callback:nA});case"inline-latex":return se.createElement(xA.Z,{showSaveButton:!0,callback:nA});default:return null}},[br]);function er(){zr("")}(0,se.useEffect)(()=>{if(st.current){let Ut=function(pr){BA=!0,WA=pr.pageY},tt=function(){BA=!1},St=function(pr){if(BA){let yr=pr.pageY-WA;yr<0&&(yr=0),yr>300&&(yr=300);let gr=cA+yr+"px";Tr(gr)}},AA=st.current,BA=!1,WA=0;return AA.addEventListener("mousedown",Ut),document.addEventListener("mousemove",St),document.addEventListener("mouseup",tt),()=>{AA.removeEventListener("mousedown",Ut),document.removeEventListener("mousemove",St),document.removeEventListener("mouseup",tt)}}},[at,st]),(0,se.useEffect)(()=>{Tr(cA)},[cA]);const cr=Ur(Ot),lr=Ur(fn),jA={width:cr,height:lr},Qr=(0,se.useMemo)(()=>{if(qr){let Ut=new Date(qr),tt=Ut.getHours(),St=Ut.getMinutes(),AA=Ut.getSeconds();return tt=tt<10?"0"+tt:tt,St=St<10?"0"+St:St,AA=AA<10?"0"+AA:AA,`${tt}:${St}:${AA}`}return 0},[qr]),Mr=Ut=>{const tt=[];if(He){let St=-1;Ut=Ut.replace(/(@▁▁@|@▁@)/g,function(AA,BA,WA){tt.push({multiLine:AA!==Yr})})}return tt};function fr(){window.sessionStorage.removeItem(or),ln(!1),Gr(0)}function FA(){ln(!1),Gr(0),at.setValue(window.sessionStorage.getItem(or))}(0,se.useEffect)(()=>{ir[br]&&br!==Xt&&br!==CA&&setTimeout(()=>{const Ut=document.getElementsByClassName("markdown-popup-form")[0],tt=window.innerWidth/2-Ut.offsetWidth/2,St=window.innerHeight/2-Ut.offsetHeight/2;hn(tt),ve(St)},0)},[br]);const _t=Ut=>{Ut.preventDefault();const tt=Ut.clientX-An,St=Ut.clientY-we;document.body.onmousemove=AA=>{let BA=AA.clientX-tt,WA=AA.clientY-St;const pr=document.getElementsByClassName("markdown-popup-form")[0],yr=window.innerWidth-pr.offsetWidth,gr=window.innerHeight-pr.offsetHeight;BA=Math.max(0,Math.min(BA,yr)),WA=Math.max(0,Math.min(WA,gr)),tA(AA.clientX,AA.clientY,tt,St)&&(hn(BA),ve(WA))},document.body.onmouseup=function(){document.body.onmousemove=null}},tA=(Ut,tt,St,AA)=>{const BA=document.body.clientHeight,WA=document.body.clientWidth;return Ut<20&&St>Ut||Ut>WA-20&&St<Ut||tt<20&&AA>tt||tt>BA-20&&AA<tt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return se.createElement(se.Fragment,null,se.createElement("div",{className:"markdown-editor-wrapper",ref:Pe},se.createElement("div",{className:`markdown-editor-container ${dA} ${bA?"on-preview":""} ${Ar?"mini":""} ${RA?"full-screen":""}`,style:jA},se.createElement(At,{insertTemp:Cr,watch:bA,fullScreen:RA,showNullButton:fA,showNullProgramButton:He,onActionCallback:zt,hidetoolBar:jt,extraUse:VA}),se.createElement("div",{className:"markdown-editor-body"},se.createElement("div",{className:"codemirror-container"},se.createElement("textarea",{ref:xe,placeholder:EA})),bA?se.createElement("div",{ref:Et,className:"preview-container"},hr==="stex"&&se.createElement(Fe,{value:Wt}),hr!=="stex"&&se.createElement(bt.Z,{edit:!0,disabledFill:Gt,showProgramFill:He,value:Wt,openEditor:Ut=>{var tt;Vt.current=Ut,(tt=rA.current)==null||tt.setHeight("100vh"),setTimeout(()=>{zr("add-flowchart")},150)}})):null))),JA?se.createElement("a",{ref:st,className:"editor-resize"}):null,br===Xt&&se.createElement(It,{callback:nA,onCancel:er}),br===CA&&se.createElement(re,{ref:rA,editImgId:Vt.current,callback:nA,onCancel:er}),se.createElement(uA.Z,null,ir[br]&&br!==Xt&&br!==CA?se.createElement(Ve.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:An,top:we},title:se.createElement("div",{style:{cursor:"move"},onMouseDown:_t},ir[br]),open:!0,onCancel:er,footer:null,destroyOnClose:!0,width:br===CA?"1200px":null,height:br===CA?"80vh":null,className:"markdown-popup-form"},_A):null))}},45596:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return lt},I:function(){return uA}});var se=Be(28284),ct=Be(6767),Le=Be(37568),je=Be(77736),Ee=Be(71051),Qe=Be(47889),Ye=Be(99571),Ke=Be(67303),Ue=Be(59301),Ce=Be(59301),bt=Object.defineProperty,Fe=Object.defineProperties,Dt=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Oe=(it,Je,yt)=>Je in it?bt(it,Je,{enumerable:!0,configurable:!0,writable:!0,value:yt}):it[Je]=yt,wt=(it,Je)=>{for(var yt in Je||(Je={}))Ge.call(Je,yt)&&Oe(it,yt,Je[yt]);if(Xe)for(var yt of Xe(Je))ze.call(Je,yt)&&Oe(it,yt,Je[yt]);return it},ht=(it,Je)=>Fe(it,Dt(Je));const{useForm:Ft}=se.default,et={width:280,marginRight:10},nt={labelCol:{span:5},wrapperCol:{span:19}};var lt=({callback:it,onCancel:Je})=>{const[yt]=Ft();let We=(0,Ue.useRef)();function $e(Mt){We.current.width=yt.getFieldValue("width"),We.current.align=yt.getFieldValue("align"),it(Mt,We.current)}function _e(Mt,Lt){if(Mt.status===-1){ct.ZP.error(Mt.message);return}yt.setFieldsValue({src:`/api/attachments/${Mt.id}`,type:Lt.type})}function Ze(Mt){let Lt=Mt.target.files[0];We.current=Lt,uA(Lt,_e)}return Ce.createElement(se.default,ht(wt({form:yt},nt),{className:"upload-image-panel",onFinish:$e,style:{width:470,overflow:"hidden"}}),Ce.createElement(se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ce.createElement("div",{className:"flex-container"},Ce.createElement(se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},Ce.createElement(Le.default,{style:et})),Ce.createElement(At,{onFileChange:Ze}))),Ce.createElement(se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ce.createElement(Le.default,{style:{width:264}})),Ce.createElement(se.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ce.createElement(je.Z,null,Ce.createElement(se.default.Item,{name:"width",style:{margin:0}},Ce.createElement(Ee.Z,{style:{width:264}})),Ce.createElement("span",{className:"ml8"},"%"))),Ce.createElement(se.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ce.createElement(Qe.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"}]})),Ce.createElement("aside",null,Ce.createElement(se.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ce.createElement(Ye.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ce.createElement(Ye.ZP,{type:"default",onClick:Je},"\u53D6\u6D88"))))};function At({onFileChange:it}){return Ce.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ce.createElement("input",{type:"file",onChange:it}))}function uA(it,Je){if(!it)throw new String("\u6CA1\u6709\u6587\u4EF6");let yt=new FormData;yt.append("editormd-image-file",it),yt.append("file_param_name","editormd-image-file"),yt.append("byxhr","true");var We=new window.XMLHttpRequest;We.withCredentials=!0,We.addEventListener("load",function($e){Je(JSON.parse($e.target.responseText),it)},!1),We.addEventListener("error",function($e){console.error($e)},!1),We.open("POST",`${Ke.KI}/api/attachments.json`),We.send(yt)}},75790:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return Le}});var se=Be(59301),ct=Be(4676);class Le extends se.Component{constructor(Ee){super(Ee);const Qe=window.document;this.node=Qe.createElement("div"),Qe.body.appendChild(this.node)}render(){const{children:Ee}=this.props;return(0,ct.createPortal)(Ee,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},51124:function(oA,hA,Be){"use strict";Be.d(hA,{SV:function(){return eA},ZP:function(){return It}});var se=Be(59301),ct=Be(76374);const Le={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},je={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Ee={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},Qe={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},Ye={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var Ke=Be(53184),Ue=Be.n(Ke),Ce=(Me,Bt,xt)=>new Promise((ue,ne)=>{var re=oe=>{try{he(xt.next(oe))}catch(Se){ne(Se)}},ae=oe=>{try{he(xt.throw(oe))}catch(Se){ne(Se)}},he=oe=>oe.done?ue(oe.value):Promise.resolve(oe.value).then(re,ae);he((xt=xt.apply(Me,Bt)).next())});const bt={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Fe=(Me,Bt,xt,ue)=>{const ne=Bt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:xt.lineNumber,endColumn:xt.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(ae=>({label:ae,kind:Me.languages.CompletionItemKind.Text,insertText:ae,range:ue}))},Dt=(Me,Bt,xt,ue)=>{Me.languages.registerCompletionItemProvider(Bt,{provideCompletionItems(ne,re){const ae=ne.getWordUntilPosition(re),he={startLineNumber:re.lineNumber,endLineNumber:re.lineNumber,startColumn:ae.startColumn,endColumn:ae.endColumn},oe=ne.getLineContent(re.lineNumber).substring(ae.startColumn-2,ae.endColumn);return{suggestions:[...Fe(Me,ne,re,he),...xt.map(rt=>({label:rt,kind:Me.languages.CompletionItemKind.Keyword,documentation:rt,insertText:rt,insertTextRules:Me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...ue.map(rt=>({label:rt.label,kind:Me.languages.CompletionItemKind.Snippet,documentation:rt.content,insertText:oe.startsWith("#")?rt.content.replace(/#/,""):rt.content,insertTextRules:Me.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}})};var Xe=Me=>{bt.languages.forEach(Bt=>{Me.languages.registerDocumentFormattingEditProvider(Bt,{provideDocumentFormattingEdits(xt){return Ce(this,null,function*(){const ue=Ue()(xt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:xt.getFullModelRange(),text:ue}]})}})}),Dt(Me,"java",je.keywords,je.quickKey),Dt(Me,"cpp",Ee.keywords,Ee.quickKey),Dt(Me,"c",Le.keywords,[]),Dt(Me,"python",Qe.keywords,Qe.quickKey),Dt(Me,"scala",Ye.keywords,Ye.quickKey)};const Ge="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ze=Object.defineProperty,Oe=(Me,Bt,xt)=>Bt in Me?ze(Me,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Me[Bt]=xt,wt=(Me,Bt,xt)=>Oe(Me,typeof Bt!="symbol"?Bt+"":Bt,xt);const ht=class nc{constructor(Bt,xt,ue){this.placeholder=Bt,this.editor=xt,this.monaco=ue,xt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return nc.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};wt(ht,"ID","editor.widget.placeholderHint");var et=ht,nt=Be(96236),lt=Be(6767),At=Be(25399),uA=Be(89392),it=Be(33796),Je=Be(56102),yt=Object.defineProperty,We=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,Lt=(Me,Bt,xt)=>Bt in Me?yt(Me,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Me[Bt]=xt,aA=(Me,Bt)=>{for(var xt in Bt||(Bt={}))Ze.call(Bt,xt)&&Lt(Me,xt,Bt[xt]);if(_e)for(var xt of _e(Bt))Mt.call(Bt,xt)&&Lt(Me,xt,Bt[xt]);return Me},Jt=(Me,Bt)=>We(Me,$e(Bt)),be=(Me,Bt)=>{var xt={};for(var ue in Me)Ze.call(Me,ue)&&Bt.indexOf(ue)<0&&(xt[ue]=Me[ue]);if(Me!=null&&_e)for(var ue of _e(Me))Bt.indexOf(ue)<0&&Mt.call(Me,ue)&&(xt[ue]=Me[ue]);return xt},de=(Me,Bt,xt)=>new Promise((ue,ne)=>{var re=oe=>{try{he(xt.next(oe))}catch(Se){ne(Se)}},ae=oe=>{try{he(xt.throw(oe))}catch(Se){ne(Se)}},he=oe=>oe.done?ue(oe.value):Promise.resolve(oe.value).then(re,ae);he((xt=xt.apply(Me,Bt)).next())});function Ct(Me){return/^\d+$/.test(Me)?`${Me}px`:Me}function qt(){}let Rt=!1;const Ve={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function pt(Me=[]){let Bt=Me;if(Array.isArray(Me)){for(let xt=0;xt<Me.length;xt++){let ue=Ve[Me[xt]];if(ue)return ue}return Bt[0]}return Ve[Bt]||Bt}let ft=null;const $t=()=>de(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Me){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Me)}});var It=Me=>{var Bt=Me,{width:xt="100%",height:ue="100%",value:ne,language:re="javascript",style:ae={},options:he={},overrideServices:oe={},theme:Se="vs-dark",onEditBlur:rt,isCopy:Yt=!1,onSave:Ht,autoHeight:Tt=!1,forbidCopy:Pt=!1,onChange:pA=qt,editorDidMount:vA=qt,onFocus:xA=qt,onBreakPoint:sA=qt,breakPointValue:Nt=[],filename:CA="educoder.txt",errorLine:Xt,errorContent:IA="",highlightLine:mt,openBreakPoint:GA=!1,placeholder:mA="",showMiniMap:yA=!0}=Bt,MA=be(Bt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const dr=(0,se.useRef)(),KA=(0,se.useRef)({}),ZA=(0,se.useRef)(),$A=(0,se.useRef)(),Er=(0,se.useRef)([]),Yr=(0,se.useRef)(!1),cn=(0,se.useRef)(),jr=(0,se.useRef)(),Ur=(0,se.useRef)(!1),[zA,Ir]=(0,se.useState)(!1);function TA(){let fA;return dr.current&&(fA=new ct.Z(He=>{for(let jt of He)(jt.target.offsetHeight>0||jt.target.offsetWidth>0)&&KA.current.instance.layout()}),fA.observe(dr.current)),fA}function ir(){lt.ZP.warning({content:decodeURIComponent(Ge),key:"monaco-editor-tip"})}const Nr=()=>{let fA=KA.current.instance;if(ne!=null&&fA&&zA){const He=fA.getModel();He&&ne!==He.getValue()&&(Rt=!0,He.setValue(ne),fA.layout(),Rt=!1)}};(0,se.useEffect)(()=>{const fA=it.Z.subscribe("formatDocument",He=>{var jt;let kA=KA.current.instance;(jt=kA==null?void 0:kA.getAction)==null||jt.call(kA,"editor.action.formatDocument").run()});return window.updateMonacoValue=He=>{pA(He)},fA},[]),(0,se.useEffect)(()=>{var fA;let He=KA.current.instance;$A.current&&clearTimeout($A.current),$A.current=setTimeout(()=>{Nr()},500),ne&&(ne!=null&&ne.length)&&((fA=He==null?void 0:He.updateOptions)==null||fA.call(He,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,zA,KA.current]),(0,se.useEffect)(()=>{if(Xt&&KA.current&&KA.current.instance){let He=KA.current.instance;He.changeViewZones(function(jt){var kA=document.createElement("div");kA.style.padding="10px 20px",kA.style.width="calc(100% - 20px)",kA.className="my-error-line-wrp",kA.innerHTML=IA,jt.addZone({afterLineNumber:Xt||11,heightInLines:3,domNode:kA})});var fA={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};He.addOverlayWidget(fA),He.revealPositionInCenter({lineNumber:20,column:1})}},[Xt,KA.current,zA]);const vt=(fA="",He)=>{if(!fA||fA.trim()==="")return!0;const kA=KA.current.instance.getModel().getLineTokens(He);let HA=!1;for(let Te=0;Te<2;Te++)kA.getStandardTokenType(Te)===1&&(HA=!0);return HA};(0,se.useEffect)(()=>{var fA;const He=(fA=KA.current)==null?void 0:fA.instance;if(He&&zA&&Pt){const jt=He.onDidBlurEditorWidget(()=>{Ur.current=!1}),kA=He.onDidFocusEditorText(()=>{Ur.current=!0});return()=>{jt.dispose(),kA.dispose()}}},[KA.current,zA,Pt]),(0,se.useEffect)(()=>{var fA;if((fA=KA.current)!=null&&fA.instance&&zA&&GA){let He=KA.current.instance,jt=He.getModel();if(!jt)return;(()=>{var at;let SA=[],Wt=[];const ar=jt.getAllDecorations();for(let sr of ar)sr.options.className==="highlighted-line"&&(SA.push((at=sr==null?void 0:sr.range)==null?void 0:at.startLineNumber),Wt.push(sr==null?void 0:sr.id));if(mt===SA[0])return;jt.deltaDecorations(Wt,[]);const bA=jt.getLineCount();mt&&mt<=bA&&(He.deltaDecorations([],[{range:new ft.Range(mt,1,mt,jt.getLineMaxColumn(mt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),He.revealLineInCenter(mt))})();const HA=(at=!1)=>{var SA;let Wt=[],ar=[];const bA=jt.getAllDecorations();for(let sr of bA)sr.options.linesDecorationsClassName==="breakpoints-select"&&(Wt.push((SA=sr==null?void 0:sr.range)==null?void 0:SA.startLineNumber),ar.push(sr==null?void 0:sr.id));if(at)return{lines:Wt,ids:ar};sA(Wt)},Te=at=>de(void 0,null,function*(){let SA={range:new ft.Range(at,1,at,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield jt.deltaDecorations([],[SA]),HA()}),Re=at=>de(void 0,null,function*(){let SA=[];const Wt=He.getLineDecorations(at);for(let ar of Wt)ar.options.linesDecorationsClassName==="breakpoints-select"&&SA.push(ar.id);yield jt.deltaDecorations(SA,[]),HA()}),dA=at=>{let SA=He.getLineDecorations(at);for(let Wt of SA)if(Wt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,uA.isEqual)(Nt,HA(!0).lines)){jt.deltaDecorations(HA(!0).ids,[]);const at=Nt.map(SA=>({range:new ft.Range(SA,1,SA,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));jt.deltaDecorations([],at)}const Kt=He.onDidChangeModelContent(at=>{let SA=He.getPosition();if(SA){let Wt=SA.lineNumber;clearTimeout(jr.current),jr.current=setTimeout(()=>{vt(jt.getLineContent(Wt),Wt)?Re(Wt):dA(Wt)?(Re(Wt),Te(Wt)):HA()},100)}}),qe=He.onMouseDown(at=>{var SA,Wt,ar;if(at.target.detail&&((ar=(Wt=(SA=at.target)==null?void 0:SA.element)==null?void 0:Wt.className)!=null&&ar.includes("line-numbers"))){let bA=at.target.position.lineNumber;if(vt(jt.getLineContent(bA),bA))return;dA(bA)?Re(bA):Te(bA)}}),Gt=at=>{let SA={range:new ft.Range(at,1,at,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Er.current=He.deltaDecorations(Er.current,[SA])},EA=()=>{Er.current=He.deltaDecorations(Er.current,[])},DA=He.onMouseMove(at=>{var SA,Wt,ar;if(EA(),at.target.detail&&((ar=(Wt=(SA=at.target)==null?void 0:SA.element)==null?void 0:Wt.className)!=null&&ar.includes("line-numbers"))){let bA=at.target.position.lineNumber;if(vt(jt.getLineContent(bA),bA))return;Gt(bA)}}),VA=He.onMouseLeave(()=>{EA()});return()=>{Kt.dispose(),qe.dispose(),DA.dispose(),VA.dispose()}}},[KA.current,zA,Nt,mt,GA,re]),(0,se.useEffect)(()=>{var fA;(fA=KA.current)!=null&&fA.instance&&GA&&KA.current.instance.setPosition({lineNumber:0,column:0})},[mt]);function Qt(){let fA=KA.current.instance;if(fA){const He=fA.getSelection(),jt=KA.current.pastePos||{},kA=new ft.Range(jt.startLineNumber||He.endLineNumber,jt.startColumn||He.endColumn,jt.endLineNumber||He.endLineNumber,jt.endColumn||He.endColumn);setTimeout(()=>{fA.executeEdits("",[{range:kA,text:""}])},300)}}function Ot(fA){(window.navigator.platform.match("Mac")?fA.metaKey:fA.ctrlKey)&&fA.keyCode==83&&(fA.preventDefault(),Ht())}const cA=()=>{if(Tt&&KA.current.instance){const fA=KA.current.instance.getContentHeight();JA(fA<ue?ue:fA)}else JA(ue)};function Ar(fA){var He=document.createEvent("MouseEvents");He.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),fA.dispatchEvent(He)}const YA=fA=>{if(!Ur.current)return;const{keyCode:He,ctrlKey:jt,metaKey:kA,target:HA,type:Te}=fA;return(Te==="paste"||(He===67||He===86)&&(kA||jt))&&HA.nodeName==="TEXTAREA"&&(ir(),fA.preventDefault()),!1};function UA(fA,He){var jt=window.URL||window.webkitURL||window,kA=new Blob([He]),HA=document.createElementNS("http://www.w3.org/1999/xhtml","a");HA.href=jt.createObjectURL(kA),HA.download=fA,Ar(HA)}(0,se.useEffect)(()=>{cA()},[cA]),(0,se.useEffect)(()=>{dr.current&&!zA&&Promise.all([Be.e(8909),Be.e(5028)]).then(Be.bind(Be,71448)).then(fA=>{try{ft=fA,KA.current.instance=ft.editor.create(dr.current,{value:ne,language:pt(re),theme:Se,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:yA||!1}},oe);const He=KA.current.instance;let HA=[...nt.BH._menuItems].find(Kt=>Kt[0]._debugName=="EditorContext")[1],Te=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Re=(Kt,qe)=>{var Gt,EA;let DA=Kt._first;do qe.includes((EA=(Gt=DA.element)==null?void 0:Gt.command)==null?void 0:EA.id)&&Kt._remove(DA);while(DA=DA.next)};if(vA(He,ft),setTimeout(()=>{cA(),KA.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{UA(CA||"educoder.txt",He.getValue())}})},500),KA.current.subscription=He.onDidChangeModelContent(Kt=>{Yr.current?clearTimeout(cn.current):(cA(),pA(He.getValue(),Kt)),cn.current=setTimeout(()=>{Yr.current=!1},500)}),window.Monaco||Xe(ft,pt(re)),Pt&&(Re(HA,Te),dr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",YA),window.removeEventListener("paste",YA),window.addEventListener("keydown",YA),window.addEventListener("paste",YA)),window.Monaco=ft,rt&&He.onDidBlurEditorWidget(()=>{rt(He.getValue())}),xA&&He.onDidFocusEditorText(()=>{Pt&&$t(),xA(He.getValue())}),Pt){$t();try{He.onDidPaste(Kt=>{const qe=He.getSelection(),Gt=KA.current.pastePos||{},EA=new ft.Range(Gt.startLineNumber||qe.endLineNumber,Gt.startColumn||qe.endColumn,Gt.endLineNumber||qe.endLineNumber,Gt.endColumn||qe.endColumn);He.executeEdits("",[{range:Kt.range,text:""}])})}catch(Kt){}}let dA=TA();return mA&&typeof mA=="string"&&new et(mA,He,ft),Ir(!0),()=>{const Kt=KA.current.instance;Kt.dispose();const qe=Kt.getModel();qe&&qe.dispose(),KA.current.subscription&&KA.current.subscription.dispose(),dA.unobserve(dr.current)}}catch(He){}})},[]),(0,se.useEffect)(()=>{if(KA.current.instance&&zA)return document.addEventListener("keydown",Ot,!1),()=>{document.removeEventListener("keydown",Ot)}},[Ht,zA]),(0,se.useEffect)(()=>{let fA=KA.current.instance;if(fA&&zA){let He=pt(re);ft.editor.setModelLanguage(fA.getModel(),He)}},[re,zA]),(0,se.useEffect)(()=>{KA.current.instance&&zA&&ft.editor.setTheme(Se)},[Se,zA]),(0,se.useEffect)(()=>{let fA=KA.current.instance;ZA.current=he,fA&&zA&&(fA.updateOptions(aA({},he)),setTimeout(()=>{fA.getModel().updateOptions(aA({},he))},200))},[JSON.stringify(he),zA]),(0,se.useEffect)(()=>{let fA=KA.current.instance;fA&&zA&&fA.layout()},[xt,ue,zA]);const[Cr,hr]=(0,se.useState)(Ct(xt)),[or,JA]=(0,se.useState)(Ct(ue)),Br=Jt(aA({},ae),{width:Cr,height:or,position:"relative"});return se.createElement("div",{className:"my-monaco-editor",ref:dr,style:Br},Yt&&se.createElement(Je.CopyToClipboard,{text:ne,onCopy:()=>lt.ZP.success("\u590D\u5236\u6210\u529F")},se.createElement(At.Z,{title:"\u590D\u5236\u4EE3\u7801"},se.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},se.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function eA({width:Me="100%",height:Bt="100%",original:xt,modified:ue,language:ne,options:re={}}){const ae=(0,se.useRef)(),[he,oe]=(0,se.useState)(null);function Se(Tt){let Pt;return ae.current&&(Pt=new ct.Z(pA=>{for(let vA of pA)(vA.target.offsetHeight>0||vA.target.offsetWidth>0)&&Tt.layout()}),Pt.observe(ae.current)),Pt}(0,se.useEffect)(()=>(ae.current&&Promise.all([Be.e(8909),Be.e(9404)]).then(Be.bind(Be,2550)).then(Tt=>{ft=Tt;const Pt=ft.editor.createDiffEditor(ae.current,Jt(aA({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},re),{wordWrap:!0}));oe(Pt);let pA=Se(Pt);return()=>{Pt.dispose();const vA=Pt.getModel();vA&&vA.dispose(),pA.unobserve(ae.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,se.useEffect)(()=>{he&&he.setModel({original:ft.editor.createModel(xt,ne),modified:ft.editor.createModel(ue,ne)})},[xt,ue,ne,he]);const rt=Ct(Me),Yt=Ct(Bt),Ht={width:rt,height:Yt};return se.createElement("div",{className:"my-diff-editor",ref:ae,style:Ht})}},929:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return Fe}});var se={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"},ct=Be(29787),Le=Be(25399),je=Be(60242),Ee=Be(92310),Qe=Be.n(Ee),Ye=Be(49661),Ke=Be(57884),Ue=Be(34055),Ce=Be(59301),Fe=({className:Dt,dataSource:Xe=[],col:Ge=4,right:ze,bottom:Oe=23,precision:wt=0,wrapWidth:ht=1200,trackEventItems:Ft,loading:et,onRemove:nt=()=>{},isCurrent:lt=!0,showProgress:At=!1,showAlias:uA=!1})=>{const it=Math.floor((ht-(Ge-1)*ze)/Ge),Je=[{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"}];return Ce.createElement(ct.Z,{spinning:et},Ce.createElement("div",{className:Qe()(se.list,Dt)},!!(Xe!=null&&Xe.length)&&(Xe==null?void 0:Xe.map((yt,We)=>{var $e,_e,Ze,Mt,Lt,aA;const{name:Jt,id:be,identifier:de,featured:Ct,school_name:qt,image_url:Rt,excellent:Ve,is_plan:pt}=yt;return Ce.createElement("div",{key:be,className:lt&&At?se.wrapisCurrent:se.wrap,style:{width:it,marginRight:(1+We)%Ge===0?0:ze+wt,marginBottom:Oe}},Ce.createElement("a",{className:se.li,onClick:ft=>{ft.preventDefault(),ft.stopPropagation(),Ft&&(0,Ye.L9)([Ft]),(0,Ye.xg)(`/paths/${de}`)}},Ce.createElement("div",{className:se.img},Ce.createElement("img",{className:se.cover,src:`${Rt}`}),lt&&(0,Ue.bg)()&&(yt==null?void 0:yt.studying)&&Ce.createElement("div",{className:`${se.movebq} user-path-items`,onClick:ft=>{ft.stopPropagation(),nt(yt)}},Ce.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ce.createElement("span",{className:"c-red"},"\u79FB\u9664")),($e=yt==null?void 0:yt.subject_tags)==null?void 0:$e.map((ft,$t)=>{var It,eA;if($t===0){const Bt=(It=Je.find(xt=>xt.name==ft))==null?void 0:It.swimg;return Ce.createElement("img",{className:se.sign,src:Bt,style:{left:"-4px"}})}const Me=(eA=Je.find(Bt=>Bt.name==ft))==null?void 0:eA.ptimg;return Ce.createElement("img",{className:se.sign,src:Me,style:{left:`${48+52*($t-1)+2*$t}px`}})}),Ce.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(yt==null?void 0:yt.excellent)&&Ce.createElement("div",{className:se.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ce.createElement("div",{className:se.name},Ce.createElement(Le.Z,{title:uA&&(yt!=null&&yt.excellent_alias_name)?Ce.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Jt}`,Ce.createElement("br",null),Ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${yt==null?void 0:yt.excellent_alias_name}`)):Jt},Ce.createElement("span",{className:se.e},uA&&(yt==null?void 0:yt.excellent_alias_name)||Jt))),lt&&At&&((_e=yt==null?void 0:yt.progress)==null?void 0:_e.all_score)!=0&&Ce.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ce.createElement(je.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Ze=yt==null?void 0:yt.progress)==null?void 0:Ze.my_score)/((Mt=yt==null?void 0:yt.progress)==null?void 0:Mt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Lt=yt==null?void 0:yt.progress)==null?void 0:Lt.my_score,"/",(aA=yt==null?void 0:yt.progress)==null?void 0:aA.all_score),(!lt||!At)&&Ce.createElement(Le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${qt}`},Ce.createElement("div",{className:se.unit},Ce.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),qt)),(!lt||!At)&&Ce.createElement("div",{className:se.tags},Ce.createElement("div",null,Ce.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ce.createElement("span",null,yt.stages_count))),Ce.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ce.createElement("span",null,yt.members_count)))))))})),!Xe.length&&Ce.createElement(Ke.Z,null)))}},71360:function(oA,hA,Be){"use strict";Be.d(hA,{jL:function(){return Ee},w9:function(){return Ct},QD:function(){return Xt},cQ:function(){return Lt.Z},op:function(){return pA},O5:function(){return Nr},_b:function(){return MA},t7:function(){return wt},Gi:function(){return $t},YG:function(){return pt},qp:function(){return bt},vr:function(){return GA},qE:function(){return sA},Je:function(){return et},wb:function(){return Mt},cq:function(){return ue},tp:function(){return Xe}});var se=Be(59301),ct={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"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+r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mEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ee=({dataSource:vt=[],img:Qt,imgWidth:Ot=346,title:cA,sunTitle:Ar,bannerExtraContent:YA})=>se.createElement("div",{className:ct.banner},se.createElement("div",{className:ct.content},se.createElement("aside",null,se.createElement("p",null,se.createElement("b",null,cA),se.createElement("span",null,Ar)),vt.length>0&&se.createElement("div",{className:ct.btns},vt.map((UA,Cr)=>se.createElement("div",{key:Cr,onClick:UA.click},UA.name,UA.sign?se.createElement("img",{src:Le,width:39}):null))),YA),Qt&&se.createElement("img",{style:{marginTop:33,marginRight:38},src:Qt,width:Ot}))),Qe={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"},Ye=Be(92310),Ke=Be.n(Ye),Ue=Be(89392),bt=({dataSource:vt=[],value:Qt,onChange:Ot,onTitleChange:cA,className:Ar,title:YA,titleWidth:UA=41,style:Cr={},fontColor:hr="#6A7283",showCount:or})=>{const[JA,Br]=(0,se.useState)(0),[fA,He]=(0,se.useState)(!1),jt=(0,se.useRef)(null),kA=(0,se.useRef)(null);return(0,se.useEffect)(()=>{var HA;vt.length!==0&&(((HA=jt==null?void 0:jt.current)==null?void 0:HA.clientHeight)>97?Br(1):Br(0)),vt.length===0&&Br(0),He(!1)},[vt]),se.createElement("div",{className:Ke()(Qe.row,Ar),style:Cr},se.createElement("div",{onClick:(0,Ue.throttle)(()=>cA==null?void 0:cA(),2e3),style:{width:UA,marginTop:fA?12:4},className:`${Qe.title} ${cA?"current":""}`},YA),se.createElement("div",{className:fA?`${Qe.tagsWrap} ${Qe.tagsBorderWrap}`:Qe.tagsWrap},se.createElement("div",{className:Qe.bar,ref:kA,style:JA>0?{height:JA===1?97:"auto",overflow:JA===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},se.createElement("div",{className:Qe.tag,ref:jt},vt==null?void 0:vt.map(HA=>se.createElement("span",{onClick:()=>Ot(HA.id),key:HA.id,style:{color:hr},className:Qt===HA.id?Qe.active:""},se.createElement("span",{title:HA.name,className:Qe.name},HA.name),!!or&&se.createElement("span",{className:Qe.num},HA.count))))),!!JA&&se.createElement(se.Fragment,null,JA===1?se.createElement("div",{onClick:()=>{var HA;Br(2),((HA=jt==null?void 0:jt.current)==null?void 0:HA.clientHeight)>245?He(!0):He(!1)},className:Qe.action},"\u5C55\u5F00",se.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):se.createElement("div",{onClick:()=>{kA.current.scrollTop=0,Br(1),He(!1)},className:Qe.action},"\u6536\u8D77",se.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Fe={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"},Xe=({dataSource:vt=[],value:Qt,onChange:Ot,className:cA,style:Ar={}})=>se.createElement("div",{style:Ar,className:Ke()(Fe.tabs,cA)},vt.map(YA=>se.createElement("span",{onClick:()=>Ot(YA.id),className:Qt===YA.id?Fe.active:"",key:YA.id},YA.name))),Ge={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"},ze=Be(37568),wt=({dataSource:vt=[],value:Qt="",onChange:Ot,onInputChange:cA=()=>{},className:Ar,style:YA={},placeholder:UA,allowClear:Cr=!1})=>{var hr;const[or,JA]=(0,se.useState)(""),[Br,fA]=(0,se.useState)("");(0,se.useEffect)(()=>{var kA;let HA=Qt;(kA=JSON.stringify(Qt))!=null&&kA.includes("{")&&(JA(Qt.id),HA=Qt.value||"");try{fA(decodeURIComponent(HA||""))}catch(Te){fA(decodeURIComponent(HA||""))}},[Qt]);const He=()=>{Ot(encodeURIComponent(Br),or||null)},jt=kA=>{kA!==or&&(JA(kA),Ot(encodeURIComponent(Br),kA))};return se.createElement("div",{className:Ke()(Ge.input,Ar),style:YA},!!vt.length&&se.createElement("div",{className:Ge.dropdown},se.createElement("div",{className:Ge.text},(hr=vt.find(kA=>kA.id===or))==null?void 0:hr.name,se.createElement("i",{className:"iconfont icon-zhankai4"}),se.createElement("b",{className:Ge.b1}),se.createElement("b",{className:Ge.b2})),se.createElement("div",{className:Ge.menu},vt.map((kA,HA)=>se.createElement("div",{key:HA,onClick:()=>jt(kA.id)},kA.name)))),se.createElement(ze.default,{onPressEnter:He,value:Br,onChange:kA=>{fA(kA.target.value),cA(encodeURIComponent(kA.target.value),or||null)},bordered:!1,placeholder:UA}),se.createElement("i",{onClick:He,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ht={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"},et=({value:vt,onChange:Qt,className:Ot,total:cA,pageSize:Ar,style:YA={}})=>{const UA=vt<2,Cr=vt>=Math.ceil(cA/Ar);return cA<=Ar?se.createElement(se.Fragment,null):se.createElement("div",{className:Ke()(ht.quickPager,Ot),style:YA},se.createElement("div",{onClick:()=>{UA||Qt(vt-1,"prev")},className:UA?ht.disabled:""},"\u4E0A\u4E00\u9875"),se.createElement("div",{onClick:()=>{Cr||Qt(vt+1,"next")},className:Cr?ht.disabled:""},"\u4E0B\u4E00\u9875"))},nt={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"},lt=Be(29787),At=Be(25399),uA=Be(58018),it=Be(90524),Je=Be(49661),yt=Be(96908),We=Be(57177),$e=Be(81378),_e=Be(57884),Mt=({className:vt,dataSource:Qt=[],col:Ot=4,right:cA,bottom:Ar=23,precision:YA=0,wrapWidth:UA=1200,trackEventItems:Cr,loading:hr})=>{const or=Math.floor((UA-(Ot-1)*cA)/Ot);return se.createElement(lt.Z,{spinning:hr},se.createElement("div",{className:Ke()(nt.list,vt)},!!Qt.length&&Qt.map((JA,Br)=>{const{name:fA,id:He,identifier:jt,power:kA,cover_image_id:HA,pic:Te}=JA;return se.createElement("div",{className:nt.wrap,key:He,style:{width:or,marginRight:(1+Br)%Ot===0?0:cA+YA,marginBottom:Ar}},se.createElement("a",{target:"_blank",href:`/shixuns/${jt}/challenges`,className:nt.li,onClick:Re=>{Re.preventDefault(),Cr&&(0,Je.L9)([Cr]),kA&&(0,Je.xg)(`/shixuns/${jt}/challenges`)}},se.createElement("div",{className:nt.img},se.createElement("img",{className:nt.cover,src:`${Te}`}),JA.is_jupyter&&se.createElement("img",{className:nt.sign,src:yt}),JA.is_jupyter_lab&&se.createElement("img",{className:nt.sign,src:We}),JA.is_unity_3d&&se.createElement("img",{className:nt.sign,src:$e})),se.createElement("div",{className:nt.name},se.createElement(At.Z,{title:fA||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},se.createElement("span",{className:nt.e},fA||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),se.createElement("div",{className:nt.tags},se.createElement(At.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),se.createElement("span",null,JA.challenges_count))),!!JA.myshixuns_count&&se.createElement(At.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},se.createElement("span",null,se.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),se.createElement("span",null,JA.myshixuns_count))),se.createElement(At.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},se.createElement("span",null,se.createElement("span",null,JA.level))),se.createElement("div",{className:nt.rate},se.createElement(uA.Z,{allowHalf:!0,disabled:!0,defaultValue:JA.score_info}),se.createElement("span",null,"\xA0",JA.score_info?`${JA.score_info}\u5206`:"5\u5206")))),!kA&&se.createElement("div",{className:nt.lockWrap},se.createElement("img",{src:`${it.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),se.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&se.createElement(_e.Z,null)))},Lt=Be(929),aA={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"},Jt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4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RYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",be=Be(59301),Ct=({className:vt,dataSource:Qt=[],col:Ot=4,right:cA,bottom:Ar=23,precision:YA=0,wrapWidth:UA=1200,trackEventItems:Cr,loading:hr,handleVery:or=()=>!0})=>{const JA=Math.floor((UA-(Ot-1)*cA)/Ot);return be.createElement(lt.Z,{spinning:hr},be.createElement("div",{className:Ke()(aA.list,vt)},!!Qt.length&&Qt.map((Br,fA)=>{const{subject_identifier:He,id:jt,identifier:kA,power:HA}=Br,Te=Br.is_public!=0&&Br.is_public;return be.createElement("div",{className:aA.wrap,key:jt,style:{width:JA,marginRight:(1+fA)%Ot===0?0:cA+YA,marginBottom:Ar}},be.createElement("a",{className:aA.li,onClick:Re=>{Re.preventDefault(),or(Br==null?void 0:Br.first_category_url)&&(Cr&&(0,Je.L9)([Cr]),(0,Je.xg)(Br.first_category_url))}},be.createElement("div",{className:aA.top},be.createElement(At.Z,{title:Br.name},be.createElement("div",{className:aA.name},Br.name)),be.createElement("img",{className:aA.img,src:it.Z.IMG_SERVER+"/images/"+Br.avatar_url}),be.createElement("div",{className:aA.text,title:Br.creator},Br.creator),He&&be.createElement("div",{className:aA.btns},be.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),be.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Te&&be.createElement("div",{className:aA.sign},"\u516C\u5F00")),be.createElement("div",{className:aA.bottom},Br.visits>0&&be.createElement(At.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},be.createElement("span",null,be.createElement("i",{className:"iconfont icon-liulanyan"}),be.createElement("span",null,Br.visits))),Br.course_members_count>0&&be.createElement(At.Z,{title:"\u6210\u5458",placement:"bottom"},be.createElement("span",null,be.createElement("i",{className:"iconfont icon-chengyuan"}),Br.course_members_count)),Br.tasks_count>0&&be.createElement(At.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},be.createElement("span",null,be.createElement("i",{className:"iconfont icon-zuoye"}),Br.tasks_count)),Br.is_end?be.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):be.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Br.is_accessible&&be.createElement("div",{className:aA.lockWrap},be.createElement("img",{src:`${it.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),be.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&be.createElement(_e.Z,null)))},qt={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"},Rt=Be(76560),pt=({dataSource:vt=[],value:Qt,onChange:Ot,className:cA,style:Ar={},tabBarExtraContent:YA})=>se.createElement("div",{className:Ke()(qt.tabs,cA),style:Ar},se.createElement("div",{className:qt.tabsWrap},vt.map((UA,Cr)=>!(UA!=null&&UA.hide)&&se.createElement("aside",{className:qt.tab,onClick:()=>{Ot(UA.id),UA.link&&Rt.history.push(UA.link)},key:Cr},se.createElement("div",{className:Qt===UA.id?qt.active:""},UA.name),(UA==null?void 0:UA.resetCount)==null&&(UA==null?void 0:UA.total)!==void 0&&se.createElement("span",null,"\uFF08",UA==null?void 0:UA.total,"\uFF09"),(UA==null?void 0:UA.resetCount)!==void 0&&(UA==null?void 0:UA.total)!==void 0&&se.createElement(At.Z,{title:(UA==null?void 0:UA.tip)!=null?UA==null?void 0:UA.tip:""},se.createElement("span",{style:{color:"#9096A3"}},"\uFF08",se.createElement("span",{style:{color:"#000"}},UA==null?void 0:UA.resetCount),"/",se.createElement("span",null,UA==null?void 0:UA.total),"\uFF09"))))),se.createElement("div",{className:qt.tabBar},YA)),$t=({className:vt,style:Qt={},children:Ot})=>se.createElement("div",{className:Ke()(vt),style:Qt},Ot),It={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"},eA=Be(75727),Me=Be(93041);const Bt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ue=({sortValue:vt,dropValue:Qt,className:Ot,onSort:cA,onDrop:Ar,dataSource:YA=Bt})=>{var UA;return se.createElement("div",{className:Ke()(It.orderWrap,Ot)},se.createElement(eA.Z,{dropdownRender:()=>se.createElement(Me.default,null,YA.map((Cr,hr)=>se.createElement(Me.default.Item,{key:hr,onClick:()=>Ar(Cr.id)},Cr.name)))},se.createElement("span",{className:It.orderTextWrap},(UA=YA.find(Cr=>Qt===Cr.id))==null?void 0:UA.name)),se.createElement("span",{className:It.orderIconWrap},se.createElement("span",{className:It.orderAsc},se.createElement("i",{className:vt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${It.cursorPointer} ${It.active}`:`iconfont icon-sanjiaoxing-up font12 ${It.cursorPointer}`,onClick:()=>cA(vt==="asc"?"desc":"asc")})),se.createElement("span",{className:It.orderDesc},se.createElement("i",{className:vt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${It.cursorPointer} ${It.active}`:`iconfont icon-sanjiaoxing-down font12 ${It.cursorPointer}`,onClick:()=>cA(vt==="asc"?"desc":"asc")}))))},ne={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"},re=Be(99571),ae=Object.defineProperty,he=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,rt=(vt,Qt,Ot)=>Qt in vt?ae(vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):vt[Qt]=Ot,Yt=(vt,Qt)=>{for(var Ot in Qt||(Qt={}))oe.call(Qt,Ot)&&rt(vt,Ot,Qt[Ot]);if(he)for(var Ot of he(Qt))Se.call(Qt,Ot)&&rt(vt,Ot,Qt[Ot]);return vt},Ht=(vt,Qt)=>{var Ot={};for(var cA in vt)oe.call(vt,cA)&&Qt.indexOf(cA)<0&&(Ot[cA]=vt[cA]);if(vt!=null&&he)for(var cA of he(vt))Qt.indexOf(cA)<0&&Se.call(vt,cA)&&(Ot[cA]=vt[cA]);return Ot},Tt=(vt,Qt,Ot)=>new Promise((cA,Ar)=>{var YA=hr=>{try{Cr(Ot.next(hr))}catch(or){Ar(or)}},UA=hr=>{try{Cr(Ot.throw(hr))}catch(or){Ar(or)}},Cr=hr=>hr.done?cA(hr.value):Promise.resolve(hr.value).then(YA,UA);Cr((Ot=Ot.apply(vt,Qt)).next())}),pA=vt=>{var Qt=vt,{className:Ot,style:cA,children:Ar,loading:YA=!1,openLoading:UA,onClick:Cr=()=>{},size:hr="middle",shape:or="round"}=Qt,JA=Ht(Qt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Br,fA]=(0,se.useState)(!1);return se.createElement(re.ZP,Yt({onClick:(0,Ue.throttle)(He=>Tt(void 0,null,function*(){UA&&fA(!0);try{yield Cr(He)}catch(jt){console.log("error",jt)}UA&&fA(!1)}),2e3,{leading:!0,trailing:!1}),className:Ke()(ne.btn,ne[`${hr}-${or}`],Ot),style:cA,size:hr,shape:or,loading:Br||YA},JA),Ar)},vA={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"},sA=({className:vt,style:Qt,children:Ot=null,onClick:cA,title:Ar})=>se.createElement("div",{className:Ke()(vA.head,vt),style:Qt},se.createElement("span",{className:"primary-hover",onClick:cA},se.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),se.createElement("b",{title:Ar},Ar),se.createElement("div",{className:vA.node},Ot)),Nt={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"},Xt=({confirmShow:vt=!0,confirmTitle:Qt,confirmClick:Ot,cancelShow:cA=!0,cancelTitle:Ar,cancelClick:YA,className:UA,style:Cr,confirmLoading:hr=!1})=>se.createElement("div",{className:Ke()(Nt.btns,UA),style:Cr},vt&&se.createElement(re.ZP,{loading:hr,onClick:Ot,type:"primary",className:Nt.confirm},Qt),cA&&se.createElement(re.ZP,{onClick:YA,className:Nt.cancel},Ar)),IA={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"},GA=({className:vt,style:Qt={},LeftContent:Ot,children:cA,RightContent:Ar})=>se.createElement("div",{className:Ke()(IA.fixedBottom,vt),style:Qt},se.createElement("div",{className:IA.wrap},se.createElement("div",{className:IA.left},Ot),se.createElement("div",{className:IA.center},cA),se.createElement("div",{className:IA.right},Ar))),mA={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"},MA=({className:vt,style:Qt={},dataSource:Ot=[]})=>se.createElement("div",{className:Ke()(mA.crumbs,vt),style:Qt},Ot.map((cA,Ar)=>Ar<Ot.length-1?se.createElement(se.Fragment,{key:Ar},cA.path||cA.onClick?se.createElement("span",{className:mA.hover,onClick:cA!=null&&cA.onClick?cA.onClick:()=>Rt.history.push(cA.path)},cA.name):se.createElement("span",null,cA.name),se.createElement("span",null,"\xA0",">","\xA0")):se.createElement("span",{key:Ar,style:{color:"#5F6368"}},cA.name))),dr=Be(11938),KA=Object.defineProperty,ZA=Object.defineProperties,$A=Object.getOwnPropertyDescriptors,Er=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,jr=(vt,Qt,Ot)=>Qt in vt?KA(vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):vt[Qt]=Ot,Ur=(vt,Qt)=>{for(var Ot in Qt||(Qt={}))Yr.call(Qt,Ot)&&jr(vt,Ot,Qt[Ot]);if(Er)for(var Ot of Er(Qt))cn.call(Qt,Ot)&&jr(vt,Ot,Qt[Ot]);return vt},zA=(vt,Qt)=>ZA(vt,$A(Qt)),Ir=(vt,Qt)=>{var Ot={};for(var cA in vt)Yr.call(vt,cA)&&Qt.indexOf(cA)<0&&(Ot[cA]=vt[cA]);if(vt!=null&&Er)for(var cA of Er(vt))Qt.indexOf(cA)<0&&cn.call(vt,cA)&&(Ot[cA]=vt[cA]);return Ot};const{Countdown:TA}=dr.default;var Nr=vt=>{var Qt=vt,{onChange:Ot}=Qt,cA=Ir(Qt,["onChange"]);const[Ar,YA]=(0,se.useState)(null);(0,se.useEffect)(()=>{typeof Ar=="number"&&Ar>=0&&Ot(Ar)},[Ar]);const UA=Cr=>{const hr=Math.floor(Cr/1e3);YA(hr)};return se.createElement(TA,zA(Ur({},cA),{onChange:UA}))}},17904:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return ct}});var se=Be(59301);function ct(Le,je){const Ee=(0,se.useRef)();(0,se.useEffect)(()=>{Ee.current=Le}),(0,se.useEffect)(()=>{function Qe(){Ee.current()}if(je!==null){let Ye=setInterval(Qe,je);return()=>clearInterval(Ye)}},[je])}},57892:function(oA,hA,Be){"use strict";Be.r(hA),Be.d(hA,{default:function(){return eA}});var se=Be(59301),ct=Be(6767),Le=Be(62957),je=Be(29787),Ee=Be(37639),Qe=Be(47889),Ye=Be(77736),Ke={flex_box_center:"flex_box_center___Ja97S",flex_space_between:"flex_space_between___RJu4E",flex_box_vertical_center:"flex_box_vertical_center___jhPTF",flex_box_center_end:"flex_box_center_end___ZtezU",flex_box_column:"flex_box_column___MqeI4",wrap:"wrap___k3OOZ",head:"head___h6t3O",empty:"empty___S6QaM",content:"content___sMZPl",left:"left___J41Si",title:"title___GUZvZ",add:"add___zhwIv",leftBar:"leftBar___u_UUF",li:"li___Hnrra",active:"active___N4MxL",right:"right___eLWWO",rightBar:"rightBar___fMTLo",center:"center____NDzP",tabs:"tabs___jdS5u",cut:"cut___w1Pz_",action:"action___QkQ0f",tagBtn:"tagBtn___g2gHo",actActive:"actActive___ESHzD",answers:"answers___dVktP",btn:"btn___BnDvU",disableBtn:"disableBtn___WYJSQ",open_md:"open_md___Qcc2e",tip_container:"tip_container___cApBC",container_text:"container_text___riFvY",btn_send:"btn_send___jN38z",hide:"hide___wZuLt","md-container":"md-container___Am7nQ",unsolved:"unsolved___z4SON",box:"box____EpoE",hot:"hot___oUwVX",animation:"animation___YQjk7",stop:"stop___R1QBJ",disabledElement:"disabledElement___jKwzo",text:"text___Si2da",md_editor:"md_editor___vGEmh"},Ue=Be(82093),Ce=Be(76560),bt=Be(49661),Fe=Be(90524),Dt=Be(77277),Xe=Be(61186),Ge=Be.n(Xe),ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAYAAAB91L6VAAAAAXNSR0IArs4c6QAAQABJREFUeAHtnQecVcXZ/+fctnc7ve+ilCCINJWo2IgQS2J7TUhilBQNxsSQ2NONpmlM3uQ1/k3QxJqYhJhYo1GjooCiIoogIKDiLh0Wlu23nv8zF5bcu+zdvWVmzsw5v/l8LnvKnOd55juH+9xpz1i2bfsZEgiAAAiAAAiAgFICPqXaoAwEQAAEQAAEQCBFAA4YLwIIgAAIgAAIOEAADtgB6FAJAiAAAiAAAnDAeAdAAARAA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AACagjAAavhDC0gAAIgAAIgkEEADjgDB05AAARAAARAQA0BOGA1nKEFBEAABEAABDIIwAFn4MAJCIAACIAACKghAAeshjO0gAAIgAAIgEAGATjgDBw4AQEQAAEQAAE1BOCA1XCGFhAAARAAARDIIAAHnIEDJyAAAiAAAiCghgAcsBrO0AICIAACIAACGQTggDNw4AQEQAAEQAAE1BCAA1bDGVpAAARAAARAIIMAHHAGDpyAAAiAAAiAgBoCcMBqOEMLCIAACIAACGQQgAPOwIETEAABEAABEFBDAA5YDWdoAQEQAAEQAIEMAnDAGThwAgIgAAIgAAJqCMABq+EMLSAAAiAAAiCQQQAOOAMHTkAABEAABEBADQE4YDWcoQUEQAAEQAAEMgjAAWfgwAkIgAAIgAAIqCEAB6yGM7SAAAiAAAiAQAYBOOAMHDgBARAAARAAATUE4IDVcIYWEAABEAABEMggAAecgQMnIAACIAACIKCGABywGs7QAgIgAAIgAAIZBOCAM3DgBARAAARAAATUEIADVsMZWkAABEAABEAggwAccAYOnIAACIAACICAGgJwwGo4QwsIgAAIgAAIZBCAA87AgRMQAAEQAAEQUEMADlgNZ2gBARAAARAAgQwCcMAZOHACAiAAAiAAAmoIwAGr4QwtIAACIAACIJBBAA44AwdOQAAEQAAEQEANAThgNZyhBQRAAARAAAQyCMABZ+DACQiAAAiAAAioIQAHrIYztIAACIAACIBABgE44AwcOAEBEAABEAABNQTggNVwhhYQAAEQAAEQyCAAB5yBAycgAAIgAAIgoIYAHLAaztACAiAAAiAAAhkE4IAzcOAEBEAABEAABNQQgANWwxlaQAAEQAAEQCCDABxwBg6cgAAIgAAIgIAaAnDAajhDCwiAAAiAAAhkEIADzsCBExAAARAAARBQQwAOWA1naAEBEAABEACBDAJwwBk4cAICIAACIAACagjAAavhDC0gAAIgAAIgkEEADjgDB05AAARAAARAQA0BOGA1nKEFBEAABEAABDIIwAFn4MAJCIAACIAACKghAAeshjO0gAAIgAAIgEAGATjgDBw4AQEQAAEQAAE1BOCA1XCGFhAAARAAARDIIAAHnIEDJyAAAiAAAiCghgAcsBrO0AICIAACIAACGQTggDNw4AQEQAAEQAAE1BCAA1bDGVpAAARAAARAIIMAHHAGDpyAAAiAAAiAgBoCcMBqOEMLCIAACIAACGQQgAPOwIETEAABEAABEFBDAA5YDWdoAQEQAAEQAIEMAnDAGThwAgIgAAIgAAJqCMABq+EMLSAAAiAAAiCQQQAOOAMHTkAABEAABEBADQE4YDWcoQUEQAAEQAAEMgjAAWfgwAkIgAAIgAAIqCEAB6yGM7SAAAiAAAiAQAYBOOAMHDgBARAAARAAATUE4IDVcIYWEAABEAABEMggAAecgQMnIAACIAACIKCGwP8HMXtRHzz6PSEAAAAASUVORK5CYII=",Oe=Be(2978),wt=Be(38394),ht=Be(56102),Ft=Be(44164),et=Be.n(Ft),nt=(Me,Bt,xt)=>new Promise((ue,ne)=>{var re=oe=>{try{he(xt.next(oe))}catch(Se){ne(Se)}},ae=oe=>{try{he(xt.throw(oe))}catch(Se){ne(Se)}},he=oe=>oe.done?ue(oe.value):Promise.resolve(oe.value).then(re,ae);he((xt=xt.apply(Me,Bt)).next())});const lt=Me=>{const Bt=/```[a-z]*\n([\s\S]*?)```/g;return Me.replace(Bt,(xt,ue)=>`<code>${ue.trim()}</code>`)},At=(Me,Bt,xt)=>{const ue={markdown:"text/markdown",html:"text/html"},ne=new Blob([Me],{type:ue[xt]}),re=URL.createObjectURL(ne),ae=document.createElement("a");ae.href=re,ae.download=Bt,ae.click(),URL.revokeObjectURL(re)},uA=Me=>Ge()(Me).format("YYYY-MM-DD HH:mm:ss"),it=(Me,Bt,xt)=>Me.map((ue,ne)=>`
|
|
${ne!==0?`
|
|
<div class="message">
|
|
<p class="user-name">${Bt}<span class="timestamp">${uA(ue.updated_at)}</span></p>
|
|
<pre class="code">${lt(ue.question)}</pre>
|
|
</div>`:""}
|
|
<div class="message">
|
|
<p class="user-name">${xt}<span class="timestamp">${uA(ue.updated_at)}</span></p>
|
|
<pre class="code">${lt(ue.answer)}</pre>
|
|
</div>
|
|
`).join(""),Je=(Me,Bt,xt)=>Me.map((ue,ne)=>`${ne!==0?`${Bt}
|
|
${uA(ue.updated_at)}
|
|
${ue.question}
|
|
|
|
`:""}${xt}
|
|
${uA(ue.updated_at)}
|
|
${ue.answer}
|
|
|
|
`).join(""),yt=(Me,Bt)=>nt(void 0,null,function*(){const xt=it(Me.data,Me.my_user_name,Me.user_name),ue=Je(Me.data,Me.my_user_name,Me.user_name),ne=`export-id-${String(Math.random()).slice(-6)}`,re=`
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
.wrap {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
padding: 20px 20px 0 20px;
|
|
background-color: #f9f9f9;
|
|
position:fixed;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 100;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
overflow: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
.message {
|
|
margin-bottom: 20px;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
background-color: #fff;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.user-name {
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
.timestamp {
|
|
display: block;
|
|
font-size: 0.8em;
|
|
color: #666;
|
|
margin-top: 5px;
|
|
}
|
|
pre.code {
|
|
background-color: #f5f5f5;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
overflow-x: auto;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
margin: 10px 0 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class='wrap' id=${ne}>
|
|
${xt}
|
|
</div>
|
|
</body>
|
|
</html>
|
|
`;if(Bt.key==="html")At(re,`\u4E0E${Me.user_name}\u5BF9\u8BDD\u5185\u5BB9.html`,"html");else if(Bt.key==="markdown")At(ue,`\u4E0E${Me.user_name}\u5BF9\u8BDD\u5185\u5BB9.md`,"markdown");else if(Bt.key==="pdf"){const ae=Le.default.info({icon:null,width:460,title:"\u63D0\u793A",content:"\u6B63\u5728\u5BFC\u51FAPDF\u4E2D...",maskClosable:!1,keyboard:!1,okButtonProps:{style:{display:"none"}}}),he=document.createElement("div");he.innerHTML=re.replaceAll("box-shadow","// box-shadow"),document.body.appendChild(he);const oe=document.getElementById(ne);if(!oe){console.error("PDF \u5143\u7D20\u672A\u627E\u5230");return}oe.style.width="auto",oe.style.height="auto",oe.style.position="initial";const Se={html2canvas:{letterRendering:!0,useCORS:!0,allowTaint:!1},jsPDF:{unit:"in",format:"letter",orientation:"portrait"},pagebreak:{mode:["avoid-all"]}};et()().set(Se).from(oe).toPdf().get("pdf").save(`\u4E0E${Me.user_name}\u5BF9\u8BDD\u5185\u5BB9.pdf`).finally(()=>{ae.destroy(),document.body.removeChild(he)})}});var We={cursor:"cursor___XqlqI"},_e=({text:Me,open:Bt=!1,onTextChange:xt})=>{const[ue,ne]=(0,se.useState)(""),[re,ae]=(0,se.useState)(0),[he,oe]=(0,se.useState)(!0);return(0,se.useEffect)(()=>{if(Bt)if(re<Me.length){oe(!1);const Se=setTimeout(()=>{ne(rt=>rt+Me[re]),ae(re+1),xt()},50);return()=>clearTimeout(Se)}else oe(!0),xt();else ne(Me),ae(0),oe(!0)},[re,Me,Bt]),se.createElement(wt.Z,{value:ue+(he?"":`<span class='${We.cursor}'></span>`)})},Ze={menuWrap:"menuWrap___GDodS",menuMask:"menuMask___dldKr",menu:"menu___OrkS3",itemTwo:"itemTwo___gOXTT",item:"item___XhZWJ",itemDisabled:"itemDisabled___pRoiI",menuWrapRight:"menuWrapRight___Tgo4N"},Mt=Be(71360),Lt=Be(92310),aA=Be.n(Lt),be=({disabled:Me=!1,recoverDisabled:Bt=!1,onFileType:xt,onRecover:ue,onEmpty:ne})=>{const[re,ae]=(0,se.useState)(!1),[he,oe]=(0,se.useState)(!1),Se=(0,se.useRef)(null),rt=[{key:"html",label:"\u5BFC\u51FA\u6210HTML"},{key:"markdown",label:"\u5BFC\u51FA\u6210Markdown"},{key:"pdf",label:"\u5BFC\u51FA\u6210PDF"}],Yt=()=>{if(!Me){if(Se.current){const Ht=Se.current.getBoundingClientRect(),Tt=window.innerWidth-Ht.right;oe(Tt>300)}ae(!0)}};return console.log(he),se.createElement("div",{ref:Se,className:aA()(Ze.menuWrap,he&&Ze.menuWrapRight),onMouseEnter:Yt,onMouseLeave:()=>ae(!1)},se.createElement(Mt.op,{disabled:Me},se.createElement("i",{className:"iconfont icon-gengduo6 font12 mr5"}),"\u66F4\u591A\u64CD\u4F5C"),se.createElement("div",{className:Ze.menuMask,style:{display:re?"block":"none"}},se.createElement("div",{className:Ze.menu},se.createElement("div",{className:Ze.itemOne},se.createElement("div",{className:Ze.item,style:{cursor:"auto"}},se.createElement("span",null,"\u5BFC\u51FA\u5BF9\u8BDD"),se.createElement("div",{className:Ze.itemTwo},rt.map(Ht=>se.createElement("div",{key:Ht.key,onClick:()=>{ae(!1),xt(Ht)},className:Ze.item},Ht.label)))),Bt?se.createElement("div",{className:Ze.itemDisabled},"\u6062\u590D\u5BF9\u8BDD"):se.createElement("div",{onClick:Ht=>{ae(!1),ue(Ht)},className:Ze.item},"\u6062\u590D\u5BF9\u8BDD"),se.createElement("div",{onClick:Ht=>{ae(!1),ne(Ht)},className:Ze.item},"\u6E05\u7A7A\u5BF9\u8BDD")))))},de=Be(59301),Ct=Object.defineProperty,qt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,pt=(Me,Bt,xt)=>Bt in Me?Ct(Me,Bt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Me[Bt]=xt,ft=(Me,Bt)=>{for(var xt in Bt||(Bt={}))Rt.call(Bt,xt)&&pt(Me,xt,Bt[xt]);if(qt)for(var xt of qt(Bt))Ve.call(Bt,xt)&&pt(Me,xt,Bt[xt]);return Me},$t=(Me,Bt,xt)=>new Promise((ue,ne)=>{var re=oe=>{try{he(xt.next(oe))}catch(Se){ne(Se)}},ae=oe=>{try{he(xt.throw(oe))}catch(Se){ne(Se)}},he=oe=>oe.done?ue(oe.value):Promise.resolve(oe.value).then(re,ae);he((xt=xt.apply(Me,Bt)).next())}),eA=({})=>{var Me,Bt,xt,ue;const{id:ne,position:re}=(0,bt.oP)(),[ae,he]=(0,se.useState)(!0),[oe,Se]=(0,se.useState)(!1),rt=(0,se.useRef)("bottomRight"),Yt=(0,se.useRef)();let[Ht,Tt]=(0,se.useState)({});const[Pt,pA]=(0,se.useState)(Number(ne)),[vA,xA]=(0,se.useState)([]),[sA,Nt]=(0,se.useState)(1),[CA,Xt]=(0,se.useState)(Number(re)),IA=(0,se.useRef)(Number(re)),[mt,GA]=(0,se.useState)([]),[mA,yA]=(0,se.useState)(!1),[MA,dr]=(0,se.useState)(!0),KA=(0,se.useRef)(null),ZA=(0,se.useRef)(1),[$A,Er]=(0,se.useState)({});let[Yr,cn]=(0,se.useState)("");const[jr,Ur]=(0,se.useState)(!1),[zA,Ir]=(0,se.useState)(!1),[TA]=(0,Ce.useSearchParams)();(0,se.useEffect)(()=>((0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!1}),()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,se.useEffect)(()=>{ir()},[]),(0,se.useEffect)(()=>{KA.current.scrollTop=KA.current.scrollHeight},[sA]),(0,se.useEffect)(()=>{const He=document.getElementById("wechat_QR_code_ids");return He.classList.add("hide"),()=>{He.classList.remove("hide")}},[]);const ir=()=>$t(void 0,null,function*(){var He,jt;const kA=yield(0,Ue.ZP)("/api/chats.json",{method:"post",body:{to_user_id:ne}});if((kA==null?void 0:kA.status)===0){const HA=yield(0,Ue.ZP)("/api/chats.json",{method:"get",params:{to_user_id:ne,challenge_id:Number(re)||""}});if(HA!=null&&HA.data){dr(!1),xA((HA==null?void 0:HA.data)||[]);const Te=(jt=(He=HA==null?void 0:HA.data)==null?void 0:He.find(Re=>Re.to_user_id===Number(ne)))==null?void 0:jt.id;pA(Te),Nr(Te),Qt(Te,re)}}}),Nr=He=>$t(void 0,null,function*(){const jt=yield(0,Ue.ZP)("/api/chats/challenge_list.json",{method:"get",params:{id:He,challenge_id:CA||""}});jt!=null&&jt.challenges&&GA([{id:0,subject:"\u5168\u90E8"},...jt.challenges])}),vt=(He,jt)=>$t(void 0,null,function*(){const kA=yield(0,Ue.ZP)("/api/chats.json",{method:"get",params:{to_user_id:He,challenge_id:jt||""}});kA!=null&&kA.data&&xA((kA==null?void 0:kA.data)||[]),dr(!1)}),Qt=(He,jt,kA)=>$t(void 0,null,function*(){var HA;he(!0);const Te=yield(0,Ue.ZP)(`/api/chats/${He}.json`,{method:"get",params:{challenge_id:Number(jt)||""}});if(Te!=null&&Te.data){kA&&(Te.data[Te.data.length-1].open=!0),Er(ft({},Te)||{}),yA(!0),Se(!1);const Re=(HA=vA==null?void 0:vA.find(dA=>dA.id===He))==null?void 0:HA.to_user_id;window.location.host==="gpt.educoder.net"?TA.get("homeworkId")?Ce.history.replace(`/chatgpt?id=0&position=0&homeworkId=${TA.get("homeworkId")}`):Ce.history.replace("/chatgpt?id=0&position=0"):TA.get("homeworkId")?Ce.history.replace(`/chatgpt?id=${Re||ne}&position=${jt}&homeworkId=${TA.get("homeworkId")}`):Ce.history.replace(`/chatgpt?id=${Re||ne}&position=${jt}`),kA&&(Nt(Math.random()),vt(Re,jt))}he(!1)}),Ot=He=>{var jt;cn(He),(jt=He==null?void 0:He.trim())==null||jt.length},cA=He=>{ZA.current=ZA.current+1,pA(He),Xt(0),cn(""),Se(!1),Qt(He,0),Nr(He)},Ar=()=>$t(void 0,null,function*(){var He;if(Yr.trim().length===0){ct.ZP.error("\u4E0D\u80FD\u8F93\u5165\u7EAF\u7A7A\u683C");return}if(!Yr){ct.ZP.warning("\u8BF7\u8F93\u5165\u4F60\u8981\u95EE\u7684\u95EE\u9898");return}Se(!0);const jt=Ge()().format("YYYY-MM-DDTHH:mm:ss.SSSZ"),kA=ft({},$A);(He=kA==null?void 0:kA.data)==null||He.push({id:0,updated_at:jt,question:Yr,answer:de.createElement("div",{className:Ke.animation},"\u8001\u5E08\u6B63\u5728\u56DE\u7B54\u4E2D\uFF0C\u8BF7\u7A0D\u540E")}),Er(kA),Nt(sA+1),cn(""),ZA.current=ZA.current+1;const HA=ZA.current,Te=yield(0,Ue.ZP)("/api/chats/get_answer",{method:"post",body:{chat_id:Pt,to_user_id:ne,question:Yr,challenge_id:CA||"",time:jt}});HA===ZA.current&&(Te==null?void 0:Te.status)===0&&Qt(Pt,CA,!0)}),YA=()=>{Qt(Pt,CA),vt(ne,CA),Ur(!1)},UA=(He,jt,kA="")=>$t(void 0,null,function*(){he(!0);let HA={};TA.get("homeworkId")?HA={id:He,satisfied:jt,content:kA,homework_common_id:TA.get("homeworkId")}:HA={id:He,satisfied:jt,content:kA};const Te=yield(0,Ue.ZP)("/api/chats/praise.json",{method:"post",body:HA});(Te==null?void 0:Te.status)===0&&Qt(Pt,CA)}),Cr=He=>{He.shiftKey&&He.keyCode===13||He.keyCode===13&&(He.preventDefault(),Ar())},hr=He=>$t(void 0,null,function*(){Le.default.confirm({icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u8BE5\u95EE\u7B54\u5185\u5BB9\u8FDB\u884C\u5220\u9664\uFF1F",onOk:()=>$t(void 0,null,function*(){(yield(0,Ue.ZP)("/api/chats/delete_one.json",{method:"delete",body:{id:He}})).status===0&&(ct.ZP.success("\u5220\u9664\u6210\u529F"),Qt(Pt,CA))})})}),or=()=>$t(void 0,null,function*(){he(!0),ZA.current=ZA.current+1,(yield(0,Ue.ZP)("/api/chats/stop_one.json",{method:"delete",body:{challenge_id:CA,id:Pt}})).status===0&&Qt(Pt,CA),he(!1)}),JA=[`\u8BF7${$A==null?void 0:$A.user_name}\u8001\u5E08\u5C1D\u8BD5\u518D\u56DE\u7B54\u4E00\u6B21`,"\u53EF\u80FD\u542F\u7528\u4E86\u673A\u5668\u4EBA\uFF0C\u8BF7\u8001\u5E08\u4EB2\u81EA\u56DE\u7B54"],Br=He=>{yt($A,He)},fA=()=>{};return de.createElement("div",{className:Ke.wrap},de.createElement("div",{className:Ke.head},de.createElement("b",null,"\u5B9E\u8BAD >"),"\u6559\u5B66\u8F85\u5BFC\uFF08beta\u7248\u672C\uFF09"),de.createElement("div",{className:Ke.content},de.createElement(je.Z,{spinning:MA},de.createElement("div",{className:Ke.left,onClick:()=>{Ir(!1)}},de.createElement("div",{className:Ke.title},de.createElement("span",null,"\u95EE\u7B54\u5217\u8868"),de.createElement("div",{className:aA()(Ke.add,oe&&Ke.disabledElement),onClick:()=>$t(void 0,null,function*(){if(oe)return;dr(!0);const He=yield(0,Ue.ZP)("/api/chats.json",{method:"post",body:{to_user_id:ne,new_chat:!0}});if(He.status===0){const jt=He==null?void 0:He.id;if(jt===Pt){ct.ZP.warning("\u5F53\u524D\u5DF2\u7ECF\u5728\u65B0\u5BF9\u8BDD\u7A97\u53E3"),dr(!1);return}yield vt(-1,0),pA(jt),Xt(0),yield Qt(jt,0)}dr(!1)})})),de.createElement("div",{className:Ke.leftBar},vA.map(He=>de.createElement("div",{key:He.id,onClick:()=>cA(He.id),className:`${Ke.li} ${He.id===Pt?Ke.active:""}`},He!=null&&He.avatar?de.createElement("img",{src:`${Fe.Z.IMG_SERVER}/images/${He==null?void 0:He.avatar}`}):de.createElement("img",{src:ze}),de.createElement("aside",null,de.createElement("p",null,de.createElement("b",{title:He.user_name},He.user_name),de.createElement("span",null,He.time)),de.createElement("div",null,He.last_message))))))),de.createElement("div",{className:Ke.right},mA&&de.createElement("div",{className:Ke.title,onClick:()=>{Ir(!1)}},de.createElement("section",{className:Ke.center},de.createElement("span",null,"\u4E0E",$A==null?void 0:$A.user_name,"\u8001\u5E08\u6C9F\u901A\u4E2D\u2026"),de.createElement("div",{className:Ke.tabs},de.createElement("i",{className:"iconfont icon-lianjie3"}),de.createElement("span",null,"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",$A!=null&&$A.challenge_name?`${(Bt=(Me=$A==null?void 0:$A.data[0])==null?void 0:Me.shixun)==null?void 0:Bt.name} \u5B9E\u8BAD---\u7B2C${$A==null?void 0:$A.challenge_position}\u5173`:"\u5168\u90E8"),de.createElement("span",{onClick:()=>{oe||(IA.current=CA,Ur(!0))},className:aA()(Ke.cut,oe&&Ke.disabledElement)},"\u5207\u6362")),de.createElement(be,{disabled:oe,recoverDisabled:!($A!=null&&$A.can_recycle),onFileType:Br,onRecover:()=>$t(void 0,null,function*(){he(!0),(yield(0,Ue.ZP)("/api/chats/recycle.json",{method:"post",body:{challenge_id:CA,id:Pt}})).status===0&&(ct.ZP.success("\u6062\u590D\u5BF9\u8BDD\u6210\u529F"),vt(ne,CA),Qt(Pt,CA)),he(!1)}),onEmpty:()=>{Le.default.confirm({icon:null,centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u5F53\u524D\u5BF9\u8BDD\u7A97\u53E3\u4E2D\u7684\u5BF9\u8BDD\u5185\u5BB9\u5168\u90E8\u6E05\u7A7A\uFF1F",onOk:()=>$t(void 0,null,function*(){(yield(0,Ue.ZP)("/api/chats/clean.json",{method:"delete",body:{challenge_id:CA,id:Pt}})).status===0&&(ct.ZP.success("\u6E05\u7A7A\u5BF9\u8BDD\u6210\u529F"),vt(ne,CA),Qt(Pt,CA))})})}}))),de.createElement("div",{onClick:()=>{Ir(!1)},className:Ke.rightBar,ref:KA},de.createElement(je.Z,{spinning:ae},!((xt=$A==null?void 0:$A.data)!=null&&xt.length)&&de.createElement("div",{className:Ke.empty}),(ue=$A==null?void 0:$A.data)==null?void 0:ue.map((He,jt)=>{var kA,HA,Te;return de.createElement(se.Fragment,{key:jt},!!He.question&&de.createElement("div",{className:Ke.li},de.createElement("img",{src:`${Fe.Z.IMG_SERVER}/images/${$A==null?void 0:$A.my_avatar}`,style:{borderRadius:"50%",width:56,height:56}}),de.createElement("aside",null,de.createElement("p",null,de.createElement("b",null,$A.my_user_name),de.createElement("span",null,Ge()(He.updated_at).format("YYYY-MM-DD HH:mm"))),de.createElement(wt.Z,{value:He.question}),de.createElement("div",{className:Ke.action},de.createElement(ht.CopyToClipboard,{text:He.question,onCopy:()=>ct.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},de.createElement("div",{className:Ke.tagBtn},de.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236")),!oe&&de.createElement("div",{onClick:()=>hr(He.id),className:Ke.tagBtn},de.createElement("i",{className:"iconfont icon-shanchu8"}),"\u5220\u9664")))),!!He.answer&&de.createElement("div",{style:jt===0?{borderTop:0}:{},className:`${Ke.li} ${Ke.active}`},$A!=null&&$A.avatar?de.createElement("img",{src:`${Fe.Z.IMG_SERVER}/images/${$A==null?void 0:$A.avatar}`,style:{borderRadius:"50%",width:56,height:56}}):de.createElement("img",{src:ze,style:{borderRadius:"50%",width:56,height:56}}),de.createElement("aside",null,de.createElement("p",null,de.createElement("div",{style:{display:"flex"}},de.createElement("b",{style:{marginRight:"20px"}},$A.user_name),(kA=He.shixun)!=null&&kA.name?de.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",(HA=He.shixun)==null?void 0:HA.name," \u5B9E\u8BAD---\u7B2C",(Te=He.challenge)==null?void 0:Te.position,"\u5173"):de.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A\u5168\u90E8")),de.createElement("span",null,Ge()(He.updated_at).format("YYYY-MM-DD HH:mm"))),He.id===0?He.answer:de.createElement(_e,{onTextChange:fA,open:!!(He!=null&&He.open),text:He.answer}),He.id===0&&de.createElement("div",{className:Ke.action},de.createElement("div",{onClick:or,className:Ke.tagBtn},de.createElement("i",{className:"iconfont icon-tingzhishengcheng"}),"\u505C\u6B62\u751F\u6210")),(He==null?void 0:He.id)!==0&&de.createElement("div",{className:Ke.action},!!He.question&&de.createElement(de.Fragment,null,de.createElement("div",{onClick:()=>{Yr=He.question,Ar()},className:Ke.tagBtn},de.createElement("i",{className:"iconfont icon-zhongxinshengcheng"}),"\u91CD\u65B0\u751F\u6210"),de.createElement(ht.CopyToClipboard,{text:He.answer,onCopy:()=>ct.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},de.createElement("div",{className:Ke.tagBtn},de.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236")),!oe&&de.createElement("div",{onClick:()=>hr(He.id),className:Ke.tagBtn},de.createElement("i",{className:"iconfont icon-shanchu8"}),"\u5220\u9664")),de.createElement("span",{style:{marginLeft:"auto"},onClick:()=>{UA(He.id,He.satisfied===1?-1:1)},className:`mr30 ${He.satisfied===1?Ke.actActive:""}`},de.createElement("i",{className:"iconfont icon-yijiejue"}),"\u5DF2\u89E3\u51B3"),de.createElement(Ee.Z,{autoAdjustOverflow:!1,destroyTooltipOnHide:!0,open:Ht[jt],getPopupContainer:Re=>Re,placement:rt.current,content:de.createElement("div",{className:Ke.box,onMouseLeave:Re=>{clearTimeout(Yt.current),Ht[jt]=!1,Tt(ft({},Ht))},onMouseOver:()=>{clearTimeout(Yt.current)}},de.createElement("p",null,"\u62B1\u6B49\u8BA9\u4F60\u5931\u671B\u4E86\uFF0C\u8BF7\u7EE7\u7EED\u5C1D\u8BD5\uFF1A"),JA.map((Re,dA)=>{const Kt=Re===He.content;return de.createElement("div",{onClick:()=>{UA(He.id,Kt?-1:0,Kt?"":Re)},className:Kt?Ke.hot:"",key:Re},Re)}))},de.createElement("span",{onMouseOver:Re=>{clearTimeout(Yt.current),window.innerHeight-Re.target.getBoundingClientRect().top<350?rt.current="topRight":rt.current="bottomRight",Ht={},Ht[jt]=!0,Tt(ft({},Ht))},onMouseOut:Re=>{Yt.current=setTimeout(()=>{clearTimeout(Yt.current),Ht[jt]=!1,Tt(ft({},Ht))},800)},className:`${Ke.unsolved} ${He.satisfied===0?Ke.actActive:""}`},de.createElement("i",{className:"iconfont icon-weijiejuezhengchang"}),"\u672A\u89E3\u51B3"))))))}))),mA&&de.createElement("div",{className:Ke.answers},!zA&&de.createElement("div",{className:Ke.open_md,onClick:()=>{Ir(!0)}},"\u8BF7\u8F93\u5165\u4F60\u7684\u95EE\u9898"),de.createElement("div",{className:zA?"md_container":"md_container hide",style:{marginTop:20}},de.createElement(Oe.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Yr,height:240,width:1e3,onChange:Ot,className:Ke.md_editor}),de.createElement("div",{className:Ke.tip_container,style:{display:"flex"},onClick:()=>{Ir(!1)}},de.createElement("div",{className:Ke.btn_send,onClick:Ar},"\u53D1\u9001")))))),de.createElement(Le.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,onCancel:()=>{Xt(IA.current),Ur(!1)},onOk:YA,open:jr,wrapClassName:Dt.Z.CustomCss,title:"\u66F4\u6362\u5173\u8054",width:"666px"},de.createElement("div",null,de.createElement(Qe.ZP.Group,{value:CA,onChange:He=>Xt(He.target.value)},de.createElement(Ye.Z,{direction:"vertical"},mt==null?void 0:mt.map(He=>{var jt;return de.createElement(Qe.ZP,{key:He.id,value:He.id},He.id===0?He.subject:`${(jt=He.shixun)==null?void 0:jt.name} \u5B9E\u8BAD---\u7B2C${He==null?void 0:He.challenge_position}\u5173`)}))))))}},90290:function(oA,hA,Be){"use strict";Be.d(hA,{AL:function(){return et},Iy:function(){return bt},Qv:function(){return Xe},ez:function(){return Ft},jb:function(){return Fe}});var se=Be(32834),ct=Be.n(se),Le=Be(11690),je=Be.n(Le);let Ee=1;function Qe(it,Je){const yt=it.match(/^(\s+)(?:```)/);if(yt===null)return Je;const We=yt[1];return Je.split(`
|
|
`).map($e=>{const _e=$e.match(/^\s+/);if(_e===null)return $e;const[Ze]=_e;return Ze.length>=We.length?$e.slice(We.length):$e}).join(`
|
|
`)}let Ye=[],Ke=["<ul>"];const Ue=new(ct()).Renderer,Ce=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function bt(){Ye.length=0,Ke=["<ul>"]}const Fe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Dt(it,Je,yt,We){if(Je>=it.length||it[Je].level<=yt)return Je;var $e=it[Je];We.push("<li><a href='#"+Ee+$e.anchor+"'>"+$e.text+"</a>"),Je++;var _e=[];return Je=Dt(it,Je,$e.level,_e),_e.length>0&&(We.push("<ul>"),_e.forEach(function(Ze){We.push(Ze)}),We.push("</ul>")),We.push("</li>"),Je=Dt(it,Je,yt,We),Je}function Xe(){return Dt(Ye,0,0,Ke),Ke.push("</ul>"),Ke.join("")}const Ge={heading(it){const Je=Ce.exec(it);if(Ee+=1,Je)return{type:"heading",raw:Je[0],depth:Je[1].length,text:Je[2]}},fences(it){const Je=this.rules.block.fences.exec(it);if(Je){const yt=Je[0];let We=Qe(yt,Je[3]||"");const $e=Je[2]?Je[2].trim():Je[2];if(["latex","katex","math"].indexOf($e)>=0){const _e=wt(),Ze=We;We=_e,ht[_e]={type:"block",expression:Ze}}return{type:"code",raw:yt,lang:$e,text:We}}}},ze=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Oe=0;const wt=()=>`__special_katext_id_${Oe++}__`;let ht={};function Ft(){return ht}function et(){Oe=0,ht={}}function nt(it){return it=it.replace(ze,(Je,yt)=>{const We=wt();return ht[We]={type:"inline",expression:yt},We}),it}const lt=Ue.listitem;Ue.listitem=function(it){return lt(nt(it))};const At=Ue.paragraph;Ue.paragraph=function(it){return At(nt(it))};const uA=Ue.tablecell;Ue.tablecell=function(it,Je){return uA(nt(it),Je)},Ue.code=function(it,Je,yt){const We=(Je||"").match(/\S*/)[0];return We?["latex","katex","math"].indexOf(We)>=0?`<p class='editormd-tex'>${it}</p>`:`<pre class="prettyprint linenums"><code class="language-${Je}">${yt?it:(0,Le.escape)(it,!0)}</code></pre>
|
|
`:'<pre class="prettyprint linenums"><code>'+(yt?it:(0,Le.escape)(it,!0))+"</code></pre>"},Ue.heading=function(it,Je,yt){let We=this.options.headerPrefix+yt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Ye.push({anchor:We,level:Je,text:it}),"<h"+Je+' id="'+Ee+We+'">'+it+"</h"+Je+">"},ct().setOptions({silent:!0,gfm:!0,pedantic:!1}),ct().use({tokenizer:Ge,renderer:Ue}),hA.ZP=ct()},99498:function(oA,hA,Be){(function(se){se(Be(89780))})(function(se){se.defineOption("placeholder","",function(Ke,Ue,Ce){var bt=Ce&&Ce!=se.Init;if(Ue&&!bt)Ke.on("blur",Ee),Ke.on("change",Qe),Ke.on("swapDoc",Qe),se.on(Ke.getInputField(),"compositionupdate",Ke.state.placeholderCompose=function(){je(Ke)}),Qe(Ke);else if(!Ue&&bt){Ke.off("blur",Ee),Ke.off("change",Qe),Ke.off("swapDoc",Qe),se.off(Ke.getInputField(),"compositionupdate",Ke.state.placeholderCompose),ct(Ke);var Fe=Ke.getWrapperElement();Fe.className=Fe.className.replace(" CodeMirror-empty","")}Ue&&!Ke.hasFocus()&&Ee(Ke)});function ct(Ke){Ke.state.placeholder&&(Ke.state.placeholder.parentNode.removeChild(Ke.state.placeholder),Ke.state.placeholder=null)}function Le(Ke){ct(Ke);var Ue=Ke.state.placeholder=document.createElement("pre");Ue.style.cssText="height: 0; overflow: visible",Ue.style.direction=Ke.getOption("direction"),Ue.className="CodeMirror-placeholder CodeMirror-line-like";var Ce=Ke.getOption("placeholder");typeof Ce=="string"&&(Ce=document.createTextNode(Ce)),Ue.appendChild(Ce),Ke.display.lineSpace.insertBefore(Ue,Ke.display.lineSpace.firstChild)}function je(Ke){setTimeout(function(){var Ue=!1,Ce=Ke.getInputField();Ce.nodeName=="TEXTAREA"?Ue=!Ce.value:Ke.lineCount()==1&&(Ue=!/[^\u200b]/.test(Ce.querySelector(".CodeMirror-line").textContent)),Ue?Le(Ke):ct(Ke)},20)}function Ee(Ke){Ye(Ke)&&Le(Ke)}function Qe(Ke){var Ue=Ke.getWrapperElement(),Ce=Ye(Ke);Ue.className=Ue.className.replace(" CodeMirror-empty","")+(Ce?" CodeMirror-empty":""),Ce?Le(Ke):ct(Ke)}function Ye(Ke){return Ke.lineCount()===1&&Ke.getLine(0)===""}})},25717:function(oA,hA,Be){(function(se){se(Be(89780))})(function(se){var ct={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Le=se.Pos;se.defineOption("autoCloseBrackets",!1,function(Ge,ze,Oe){Oe&&Oe!=se.Init&&(Ge.removeKeyMap(Ee),Ge.state.closeBrackets=null),ze&&(Qe(je(ze,"pairs")),Ge.state.closeBrackets=ze,Ge.addKeyMap(Ee))});function je(Ge,ze){return ze=="pairs"&&typeof Ge=="string"?Ge:typeof Ge=="object"&&Ge[ze]!=null?Ge[ze]:ct[ze]}var Ee={Backspace:Ue,Enter:Ce};function Qe(Ge){for(var ze=0;ze<Ge.length;ze++){var Oe=Ge.charAt(ze),wt="'"+Oe+"'";Ee[wt]||(Ee[wt]=Ye(Oe))}}Qe(ct.pairs+"`");function Ye(Ge){return function(ze){return Fe(ze,Ge)}}function Ke(Ge){var ze=Ge.state.closeBrackets;if(!ze||ze.override)return ze;var Oe=Ge.getModeAt(Ge.getCursor());return Oe.closeBrackets||ze}function Ue(Ge){var ze=Ke(Ge);if(!ze||Ge.getOption("disableInput"))return se.Pass;for(var Oe=je(ze,"pairs"),wt=Ge.listSelections(),ht=0;ht<wt.length;ht++){if(!wt[ht].empty())return se.Pass;var Ft=Dt(Ge,wt[ht].head);if(!Ft||Oe.indexOf(Ft)%2!=0)return se.Pass}for(var ht=wt.length-1;ht>=0;ht--){var et=wt[ht].head;Ge.replaceRange("",Le(et.line,et.ch-1),Le(et.line,et.ch+1),"+delete")}}function Ce(Ge){var ze=Ke(Ge),Oe=ze&&je(ze,"explode");if(!Oe||Ge.getOption("disableInput"))return se.Pass;for(var wt=Ge.listSelections(),ht=0;ht<wt.length;ht++){if(!wt[ht].empty())return se.Pass;var Ft=Dt(Ge,wt[ht].head);if(!Ft||Oe.indexOf(Ft)%2!=0)return se.Pass}Ge.operation(function(){var et=Ge.lineSeparator()||`
|
|
`;Ge.replaceSelection(et+et,null),Ge.execCommand("goCharLeft"),wt=Ge.listSelections();for(var nt=0;nt<wt.length;nt++){var lt=wt[nt].head.line;Ge.indentLine(lt,null,!0),Ge.indentLine(lt+1,null,!0)}})}function bt(Ge){var ze=se.cmpPos(Ge.anchor,Ge.head)>0;return{anchor:new Le(Ge.anchor.line,Ge.anchor.ch+(ze?-1:1)),head:new Le(Ge.head.line,Ge.head.ch+(ze?1:-1))}}function Fe(Ge,ze){var Oe=Ke(Ge);if(!Oe||Ge.getOption("disableInput"))return se.Pass;var wt=je(Oe,"pairs"),ht=wt.indexOf(ze);if(ht==-1)return se.Pass;for(var Ft=je(Oe,"closeBefore"),et=je(Oe,"triples"),nt=wt.charAt(ht+1)==ze,lt=Ge.listSelections(),At=ht%2==0,uA,it=0;it<lt.length;it++){var Je=lt[it],yt=Je.head,We,$e=Ge.getRange(yt,Le(yt.line,yt.ch+1));if(At&&!Je.empty())We="surround";else if((nt||!At)&&$e==ze)nt&&Xe(Ge,yt)?We="both":et.indexOf(ze)>=0&&Ge.getRange(yt,Le(yt.line,yt.ch+3))==ze+ze+ze?We="skipThree":We="skip";else if(nt&&yt.ch>1&&et.indexOf(ze)>=0&&Ge.getRange(Le(yt.line,yt.ch-2),yt)==ze+ze){if(yt.ch>2&&/\bstring/.test(Ge.getTokenTypeAt(Le(yt.line,yt.ch-2))))return se.Pass;We="addFour"}else if(nt){var _e=yt.ch==0?" ":Ge.getRange(Le(yt.line,yt.ch-1),yt);if(!se.isWordChar($e)&&_e!=ze&&!se.isWordChar(_e))We="both";else return se.Pass}else if(At&&($e.length===0||/\s/.test($e)||Ft.indexOf($e)>-1))We="both";else return se.Pass;if(!uA)uA=We;else if(uA!=We)return se.Pass}var Ze=ht%2?wt.charAt(ht-1):ze,Mt=ht%2?ze:wt.charAt(ht+1);Ge.operation(function(){if(uA=="skip")Ge.execCommand("goCharRight");else if(uA=="skipThree")for(var Lt=0;Lt<3;Lt++)Ge.execCommand("goCharRight");else if(uA=="surround"){for(var aA=Ge.getSelections(),Lt=0;Lt<aA.length;Lt++)aA[Lt]=Ze+aA[Lt]+Mt;Ge.replaceSelections(aA,"around"),aA=Ge.listSelections().slice();for(var Lt=0;Lt<aA.length;Lt++)aA[Lt]=bt(aA[Lt]);Ge.setSelections(aA)}else uA=="both"?(Ge.replaceSelection(Ze+Mt,null),Ge.triggerElectric(Ze+Mt),Ge.execCommand("goCharLeft")):uA=="addFour"&&(Ge.replaceSelection(Ze+Ze+Ze+Ze,"before"),Ge.execCommand("goCharRight"))})}function Dt(Ge,ze){var Oe=Ge.getRange(Le(ze.line,ze.ch-1),Le(ze.line,ze.ch+1));return Oe.length==2?Oe:null}function Xe(Ge,ze){var Oe=Ge.getTokenAt(Le(ze.line,ze.ch+1));return/\bstring/.test(Oe.type)&&Oe.start==ze.ch&&(ze.ch==0||!/\bstring/.test(Ge.getTokenTypeAt(ze)))}})},6313:function(oA,hA,Be){(function(se){se(Be(89780),Be(52730))})(function(se){se.defineOption("autoCloseTags",!1,function(Ue,Ce,bt){if(bt!=se.Init&&bt&&Ue.removeKeyMap("autoCloseTags"),!!Ce){var Fe={name:"autoCloseTags"};(typeof Ce!="object"||Ce.whenClosing!==!1)&&(Fe["'/'"]=function(Dt){return Qe(Dt)}),(typeof Ce!="object"||Ce.whenOpening!==!1)&&(Fe["'>'"]=function(Dt){return je(Dt)}),Ue.addKeyMap(Fe)}});var ct=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Le=["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 je(Ue){if(Ue.getOption("disableInput"))return se.Pass;for(var Ce=Ue.listSelections(),bt=[],Fe=Ue.getOption("autoCloseTags"),Dt=0;Dt<Ce.length;Dt++){if(!Ce[Dt].empty())return se.Pass;var Xe=Ce[Dt].head,Ge=Ue.getTokenAt(Xe),ze=se.innerMode(Ue.getMode(),Ge.state),Oe=ze.state,wt=ze.mode.xmlCurrentTag&&ze.mode.xmlCurrentTag(Oe),ht=wt&&wt.name;if(!ht)return se.Pass;var Ft=ze.mode.configuration=="html",et=typeof Fe=="object"&&Fe.dontCloseTags||Ft&&ct,nt=typeof Fe=="object"&&Fe.indentTags||Ft&&Le;Ge.end>Xe.ch&&(ht=ht.slice(0,ht.length-Ge.end+Xe.ch));var lt=ht.toLowerCase();if(!ht||Ge.type=="string"&&(Ge.end!=Xe.ch||!/[\"\']/.test(Ge.string.charAt(Ge.string.length-1))||Ge.string.length==1)||Ge.type=="tag"&&wt.close||Ge.string.indexOf("/")==Xe.ch-Ge.start-1||et&&Ye(et,lt)>-1||Ke(Ue,ze.mode.xmlCurrentContext&&ze.mode.xmlCurrentContext(Oe)||[],ht,Xe,!0))return se.Pass;var At=typeof Fe=="object"&&Fe.emptyTags;if(At&&Ye(At,ht)>-1){bt[Dt]={text:"/>",newPos:se.Pos(Xe.line,Xe.ch+2)};continue}var uA=nt&&Ye(nt,lt)>-1;bt[Dt]={indent:uA,text:">"+(uA?`
|
|
|
|
`:"")+"</"+ht+">",newPos:uA?se.Pos(Xe.line+1,0):se.Pos(Xe.line,Xe.ch+1)}}for(var it=typeof Fe=="object"&&Fe.dontIndentOnAutoClose,Dt=Ce.length-1;Dt>=0;Dt--){var Je=bt[Dt];Ue.replaceRange(Je.text,Ce[Dt].head,Ce[Dt].anchor,"+insert");var yt=Ue.listSelections().slice(0);yt[Dt]={head:Je.newPos,anchor:Je.newPos},Ue.setSelections(yt),!it&&Je.indent&&(Ue.indentLine(Je.newPos.line,null,!0),Ue.indentLine(Je.newPos.line+1,null,!0))}}function Ee(Ue,Ce){for(var bt=Ue.listSelections(),Fe=[],Dt=Ce?"/":"</",Xe=Ue.getOption("autoCloseTags"),Ge=typeof Xe=="object"&&Xe.dontIndentOnSlash,ze=0;ze<bt.length;ze++){if(!bt[ze].empty())return se.Pass;var Oe=bt[ze].head,wt=Ue.getTokenAt(Oe),ht=se.innerMode(Ue.getMode(),wt.state),Ft=ht.state;if(Ce&&(wt.type=="string"||wt.string.charAt(0)!="<"||wt.start!=Oe.ch-1))return se.Pass;var et,nt=ht.mode.name!="xml"&&Ue.getMode().name=="htmlmixed";if(nt&&ht.mode.name=="javascript")et=Dt+"script";else if(nt&&ht.mode.name=="css")et=Dt+"style";else{var lt=ht.mode.xmlCurrentContext&&ht.mode.xmlCurrentContext(Ft);if(!lt||lt.length&&Ke(Ue,lt,lt[lt.length-1],Oe))return se.Pass;et=Dt+lt[lt.length-1]}Ue.getLine(Oe.line).charAt(wt.end)!=">"&&(et+=">"),Fe[ze]=et}if(Ue.replaceSelections(Fe),bt=Ue.listSelections(),!Ge)for(var ze=0;ze<bt.length;ze++)(ze==bt.length-1||bt[ze].head.line<bt[ze+1].head.line)&&Ue.indentLine(bt[ze].head.line)}function Qe(Ue){return Ue.getOption("disableInput")?se.Pass:Ee(Ue,!0)}se.commands.closeTag=function(Ue){return Ee(Ue)};function Ye(Ue,Ce){if(Ue.indexOf)return Ue.indexOf(Ce);for(var bt=0,Fe=Ue.length;bt<Fe;++bt)if(Ue[bt]==Ce)return bt;return-1}function Ke(Ue,Ce,bt,Fe,Dt){if(!se.scanForClosingTag)return!1;var Xe=Math.min(Ue.lastLine()+1,Fe.line+500),Ge=se.scanForClosingTag(Ue,Fe,null,Xe);if(!Ge||Ge.tag!=bt)return!1;for(var ze=Dt?1:0,Oe=Ce.length-1;Oe>=0&&Ce[Oe]==bt;Oe--)++ze;Fe=Ge.to;for(var Oe=1;Oe<ze;Oe++){var wt=se.scanForClosingTag(Ue,Fe,null,Xe);if(!wt||wt.tag!=bt)return!1;Fe=wt.to}return!0}})},52730:function(oA,hA,Be){(function(se){se(Be(89780))})(function(se){"use strict";var ct=se.Pos;function Le(Oe,wt){return Oe.line-wt.line||Oe.ch-wt.ch}var je="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",Ee=je+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Qe=new RegExp("<(/?)(["+je+"]["+Ee+"]*)","g");function Ye(Oe,wt,ht,Ft){this.line=wt,this.ch=ht,this.cm=Oe,this.text=Oe.getLine(wt),this.min=Ft?Math.max(Ft.from,Oe.firstLine()):Oe.firstLine(),this.max=Ft?Math.min(Ft.to-1,Oe.lastLine()):Oe.lastLine()}function Ke(Oe,wt){var ht=Oe.cm.getTokenTypeAt(ct(Oe.line,wt));return ht&&/\btag\b/.test(ht)}function Ue(Oe){if(!(Oe.line>=Oe.max))return Oe.ch=0,Oe.text=Oe.cm.getLine(++Oe.line),!0}function Ce(Oe){if(!(Oe.line<=Oe.min))return Oe.text=Oe.cm.getLine(--Oe.line),Oe.ch=Oe.text.length,!0}function bt(Oe){for(;;){var wt=Oe.text.indexOf(">",Oe.ch);if(wt==-1){if(Ue(Oe))continue;return}if(!Ke(Oe,wt+1)){Oe.ch=wt+1;continue}var ht=Oe.text.lastIndexOf("/",wt),Ft=ht>-1&&!/\S/.test(Oe.text.slice(ht+1,wt));return Oe.ch=wt+1,Ft?"selfClose":"regular"}}function Fe(Oe){for(;;){var wt=Oe.ch?Oe.text.lastIndexOf("<",Oe.ch-1):-1;if(wt==-1){if(Ce(Oe))continue;return}if(!Ke(Oe,wt+1)){Oe.ch=wt;continue}Qe.lastIndex=wt,Oe.ch=wt;var ht=Qe.exec(Oe.text);if(ht&&ht.index==wt)return ht}}function Dt(Oe){for(;;){Qe.lastIndex=Oe.ch;var wt=Qe.exec(Oe.text);if(!wt){if(Ue(Oe))continue;return}if(!Ke(Oe,wt.index+1)){Oe.ch=wt.index+1;continue}return Oe.ch=wt.index+wt[0].length,wt}}function Xe(Oe){for(;;){var wt=Oe.ch?Oe.text.lastIndexOf(">",Oe.ch-1):-1;if(wt==-1){if(Ce(Oe))continue;return}if(!Ke(Oe,wt+1)){Oe.ch=wt;continue}var ht=Oe.text.lastIndexOf("/",wt),Ft=ht>-1&&!/\S/.test(Oe.text.slice(ht+1,wt));return Oe.ch=wt+1,Ft?"selfClose":"regular"}}function Ge(Oe,wt){for(var ht=[];;){var Ft=Dt(Oe),et,nt=Oe.line,lt=Oe.ch-(Ft?Ft[0].length:0);if(!Ft||!(et=bt(Oe)))return;if(et!="selfClose")if(Ft[1]){for(var At=ht.length-1;At>=0;--At)if(ht[At]==Ft[2]){ht.length=At;break}if(At<0&&(!wt||wt==Ft[2]))return{tag:Ft[2],from:ct(nt,lt),to:ct(Oe.line,Oe.ch)}}else ht.push(Ft[2])}}function ze(Oe,wt){for(var ht=[];;){var Ft=Xe(Oe);if(!Ft)return;if(Ft=="selfClose"){Fe(Oe);continue}var et=Oe.line,nt=Oe.ch,lt=Fe(Oe);if(!lt)return;if(lt[1])ht.push(lt[2]);else{for(var At=ht.length-1;At>=0;--At)if(ht[At]==lt[2]){ht.length=At;break}if(At<0&&(!wt||wt==lt[2]))return{tag:lt[2],from:ct(Oe.line,Oe.ch),to:ct(et,nt)}}}}se.registerHelper("fold","xml",function(Oe,wt){for(var ht=new Ye(Oe,wt.line,0);;){var Ft=Dt(ht);if(!Ft||ht.line!=wt.line)return;var et=bt(ht);if(!et)return;if(!Ft[1]&&et!="selfClose"){var nt=ct(ht.line,ht.ch),lt=Ge(ht,Ft[2]);return lt&&Le(lt.from,nt)>0?{from:nt,to:lt.from}:null}}}),se.findMatchingTag=function(Oe,wt,ht){var Ft=new Ye(Oe,wt.line,wt.ch,ht);if(!(Ft.text.indexOf(">")==-1&&Ft.text.indexOf("<")==-1)){var et=bt(Ft),nt=et&&ct(Ft.line,Ft.ch),lt=et&&Fe(Ft);if(!(!et||!lt||Le(Ft,wt)>0)){var At={from:ct(Ft.line,Ft.ch),to:nt,tag:lt[2]};return et=="selfClose"?{open:At,close:null,at:"open"}:lt[1]?{open:ze(Ft,lt[2]),close:At,at:"close"}:(Ft=new Ye(Oe,nt.line,nt.ch,ht),{open:At,close:Ge(Ft,lt[2]),at:"open"})}}},se.findEnclosingTag=function(Oe,wt,ht,Ft){for(var et=new Ye(Oe,wt.line,wt.ch,ht);;){var nt=ze(et,Ft);if(!nt)break;var lt=new Ye(Oe,wt.line,wt.ch,ht),At=Ge(lt,nt.tag);if(At)return{open:nt,close:At}}},se.scanForClosingTag=function(Oe,wt,ht,Ft){var et=new Ye(Oe,wt.line,wt.ch,Ft?{from:0,to:Ft}:null);return Ge(et,ht)}})},89780:function(oA){(function(hA,Be){oA.exports=Be()})(this,function(){"use strict";var hA=navigator.userAgent,Be=navigator.platform,se=/gecko\/\d/i.test(hA),ct=/MSIE \d/.test(hA),Le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(hA),je=/Edge\/(\d+)/.exec(hA),Ee=ct||Le||je,Qe=Ee&&(ct?document.documentMode||6:+(je||Le)[1]),Ye=!je&&/WebKit\//.test(hA),Ke=Ye&&/Qt\/\d+\.\d+/.test(hA),Ue=!je&&/Chrome\//.test(hA),Ce=/Opera\//.test(hA),bt=/Apple Computer/.test(navigator.vendor),Fe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(hA),Dt=/PhantomJS/.test(hA),Xe=!je&&/AppleWebKit/.test(hA)&&/Mobile\/\w+/.test(hA),Ge=/Android/.test(hA),ze=Xe||Ge||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(hA),Oe=Xe||/Mac/.test(Be),wt=/\bCrOS\b/.test(hA),ht=/win/i.test(Be),Ft=Ce&&hA.match(/Version\/(\d*\.\d*)/);Ft&&(Ft=Number(Ft[1])),Ft&&Ft>=15&&(Ce=!1,Ye=!0);var et=Oe&&(Ke||Ce&&(Ft==null||Ft<12.11)),nt=se||Ee&&Qe>=9;function lt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var At=function(a,y){var x=a.className,b=lt(y).exec(x);if(b){var E=x.slice(b.index+b[0].length);a.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function uA(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function it(a,y){return uA(a).appendChild(y)}function Je(a,y,x,b){var E=document.createElement(a);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof y=="string")E.appendChild(document.createTextNode(y));else if(y)for(var ie=0;ie<y.length;++ie)E.appendChild(y[ie]);return E}function yt(a,y,x,b){var E=Je(a,y,x,b);return E.setAttribute("role","presentation"),E}var We;document.createRange?We=function(a,y,x,b){var E=document.createRange();return E.setEnd(b||a,x),E.setStart(a,y),E}:We=function(a,y,x){var b=document.body.createTextRange();try{b.moveToElementText(a.parentNode)}catch(E){return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",y),b};function $e(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function _e(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function Ze(a,y){var x=a.className;lt(y).test(x)||(a.className+=(x?" ":"")+y)}function Mt(a,y){for(var x=a.split(" "),b=0;b<x.length;b++)x[b]&&!lt(x[b]).test(y)&&(y+=" "+x[b]);return y}var Lt=function(a){a.select()};Xe?Lt=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:Ee&&(Lt=function(a){try{a.select()}catch(y){}});function aA(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function Jt(a,y,x){y||(y={});for(var b in a)a.hasOwnProperty(b)&&(x!==!1||!y.hasOwnProperty(b))&&(y[b]=a[b]);return y}function be(a,y,x,b,E){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var ie=b||0,le=E||0;;){var fe=a.indexOf(" ",ie);if(fe<0||fe>=y)return le+(y-ie);le+=fe-ie,le+=x-le%x,ie=fe+1}}var de=function(){this.id=null,this.f=null,this.time=0,this.handler=aA(this.onTimeout,this)};de.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},de.prototype.set=function(a,y){this.f=y;var x=+new Date+a;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=x)};function Ct(a,y){for(var x=0;x<a.length;++x)if(a[x]==y)return x;return-1}var qt=50,Rt={toString:function(){return"CodeMirror.Pass"}},Ve={scroll:!1},pt={origin:"*mouse"},ft={origin:"+move"};function $t(a,y,x){for(var b=0,E=0;;){var ie=a.indexOf(" ",b);ie==-1&&(ie=a.length);var le=ie-b;if(ie==a.length||E+le>=y)return b+Math.min(le,y-E);if(E+=ie-b,E+=x-E%x,b=ie+1,E>=y)return b}}var It=[""];function eA(a){for(;It.length<=a;)It.push(Me(It)+" ");return It[a]}function Me(a){return a[a.length-1]}function Bt(a,y){for(var x=[],b=0;b<a.length;b++)x[b]=y(a[b],b);return x}function xt(a,y,x){for(var b=0,E=x(y);b<a.length&&x(a[b])<=E;)b++;a.splice(b,0,y)}function ue(){}function ne(a,y){var x;return Object.create?x=Object.create(a):(ue.prototype=a,x=new ue),y&&Jt(y,x),x}var re=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ae(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||re.test(a))}function he(a,y){return y?y.source.indexOf("\\w")>-1&&ae(a)?!0:y.test(a):ae(a)}function oe(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var Se=/[\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 rt(a){return a.charCodeAt(0)>=768&&Se.test(a)}function Yt(a,y,x){for(;(x<0?y>0:y<a.length)&&rt(a.charAt(y));)y+=x;return y}function Ht(a,y,x){for(var b=y>x?-1:1;;){if(y==x)return y;var E=(y+x)/2,ie=b<0?Math.ceil(E):Math.floor(E);if(ie==y)return a(ie)?y:x;a(ie)?x=ie:y=ie+b}}function Tt(a,y,x,b){if(!a)return b(y,x,"ltr",0);for(var E=!1,ie=0;ie<a.length;++ie){var le=a[ie];(le.from<x&&le.to>y||y==x&&le.to==y)&&(b(Math.max(le.from,y),Math.min(le.to,x),le.level==1?"rtl":"ltr",ie),E=!0)}E||b(y,x,"ltr")}var Pt=null;function pA(a,y,x){var b;Pt=null;for(var E=0;E<a.length;++E){var ie=a[E];if(ie.from<y&&ie.to>y)return E;ie.to==y&&(ie.from!=ie.to&&x=="before"?b=E:Pt=E),ie.from==y&&(ie.from!=ie.to&&x!="before"?b=E:Pt=E)}return b!=null?b:Pt}var vA=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function x(me){return me<=247?a.charAt(me):1424<=me&&me<=1524?"R":1536<=me&&me<=1785?y.charAt(me-1536):1774<=me&&me<=2220?"r":8192<=me&&me<=8203?"w":me==8204?"b":"L"}var b=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,E=/[stwN]/,ie=/[LRr]/,le=/[Lb1n]/,fe=/[1n]/;function ge(me,De,Ne){this.level=me,this.from=De,this.to=Ne}return function(me,De){var Ne=De=="ltr"?"L":"R";if(me.length==0||De=="ltr"&&!b.test(me))return!1;for(var dt=me.length,ut=[],Zt=0;Zt<dt;++Zt)ut.push(x(me.charCodeAt(Zt)));for(var gA=0,QA=Ne;gA<dt;++gA){var OA=ut[gA];OA=="m"?ut[gA]=QA:QA=OA}for(var XA=0,PA=Ne;XA<dt;++XA){var tr=ut[XA];tr=="1"&&PA=="r"?ut[XA]="n":ie.test(tr)&&(PA=tr,tr=="r"&&(ut[XA]="R"))}for(var kr=1,wr=ut[0];kr<dt-1;++kr){var Zr=ut[kr];Zr=="+"&&wr=="1"&&ut[kr+1]=="1"?ut[kr]="1":Zr==","&&wr==ut[kr+1]&&(wr=="1"||wr=="n")&&(ut[kr]=wr),wr=Zr}for(var Fn=0;Fn<dt;++Fn){var ti=ut[Fn];if(ti==",")ut[Fn]="N";else if(ti=="%"){var Mn=void 0;for(Mn=Fn+1;Mn<dt&&ut[Mn]=="%";++Mn);for(var Qi=Fn&&ut[Fn-1]=="!"||Mn<dt&&ut[Mn]=="1"?"1":"N",ui=Fn;ui<Mn;++ui)ut[ui]=Qi;Fn=Mn-1}}for(var Vn=0,ci=Ne;Vn<dt;++Vn){var ri=ut[Vn];ci=="L"&&ri=="1"?ut[Vn]="L":ie.test(ri)&&(ci=ri)}for(var LA=0;LA<dt;++LA)if(E.test(ut[LA])){var kn=void 0;for(kn=LA+1;kn<dt&&E.test(ut[kn]);++kn);for(var Dn=(LA?ut[LA-1]:Ne)=="L",Ln=(kn<dt?ut[kn]:Ne)=="L",oa=Dn==Ln?Dn?"L":"R":Ne,nn=LA;nn<kn;++nn)ut[nn]=oa;LA=kn-1}for(var Xr=[],Hi,Ai=0;Ai<dt;)if(le.test(ut[Ai])){var aa=Ai;for(++Ai;Ai<dt&&le.test(ut[Ai]);++Ai);Xr.push(new ge(0,aa,Ai))}else{var lo=Ai,Ji=Xr.length,_o=De=="rtl"?1:0;for(++Ai;Ai<dt&&ut[Ai]!="L";++Ai);for(var Bi=lo;Bi<Ai;)if(fe.test(ut[Bi])){lo<Bi&&(Xr.splice(Ji,0,new ge(1,lo,Bi)),Ji+=_o);var Go=Bi;for(++Bi;Bi<Ai&&fe.test(ut[Bi]);++Bi);Xr.splice(Ji,0,new ge(2,Go,Bi)),Ji+=_o,lo=Bi}else++Bi;lo<Ai&&Xr.splice(Ji,0,new ge(1,lo,Ai))}return De=="ltr"&&(Xr[0].level==1&&(Hi=me.match(/^\s+/))&&(Xr[0].from=Hi[0].length,Xr.unshift(new ge(0,0,Hi[0].length))),Me(Xr).level==1&&(Hi=me.match(/\s+$/))&&(Me(Xr).to-=Hi[0].length,Xr.push(new ge(0,dt-Hi[0].length,dt)))),De=="rtl"?Xr.reverse():Xr}}();function xA(a,y){var x=a.order;return x==null&&(x=a.order=vA(a.text,y)),x}var sA=[],Nt=function(a,y,x){if(a.addEventListener)a.addEventListener(y,x,!1);else if(a.attachEvent)a.attachEvent("on"+y,x);else{var b=a._handlers||(a._handlers={});b[y]=(b[y]||sA).concat(x)}};function CA(a,y){return a._handlers&&a._handlers[y]||sA}function Xt(a,y,x){if(a.removeEventListener)a.removeEventListener(y,x,!1);else if(a.detachEvent)a.detachEvent("on"+y,x);else{var b=a._handlers,E=b&&b[y];if(E){var ie=Ct(E,x);ie>-1&&(b[y]=E.slice(0,ie).concat(E.slice(ie+1)))}}}function IA(a,y){var x=CA(a,y);if(x.length)for(var b=Array.prototype.slice.call(arguments,2),E=0;E<x.length;++E)x[E].apply(null,b)}function mt(a,y,x){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),IA(a,x||y.type,a,y),KA(y)||y.codemirrorIgnore}function GA(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var x=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),b=0;b<y.length;++b)Ct(x,y[b])==-1&&x.push(y[b])}function mA(a,y){return CA(a,y).length>0}function yA(a){a.prototype.on=function(y,x){Nt(this,y,x)},a.prototype.off=function(y,x){Xt(this,y,x)}}function MA(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function dr(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function KA(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function ZA(a){MA(a),dr(a)}function $A(a){return a.target||a.srcElement}function Er(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Oe&&a.ctrlKey&&y==1&&(y=3),y}var Yr=function(){if(Ee&&Qe<9)return!1;var a=Je("div");return"draggable"in a||"dragDrop"in a}(),cn;function jr(a){if(cn==null){var y=Je("span","\u200B");it(a,Je("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(cn=y.offsetWidth<=1&&y.offsetHeight>2&&!(Ee&&Qe<8))}var x=cn?Je("span","\u200B"):Je("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return x.setAttribute("cm-text",""),x}var Ur;function zA(a){if(Ur!=null)return Ur;var y=it(a,document.createTextNode("A\u062EA")),x=We(y,0,1).getBoundingClientRect(),b=We(y,1,2).getBoundingClientRect();return uA(a),!x||x.left==x.right?!1:Ur=b.right-x.right<3}var Ir=`
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,x=[],b=a.length;y<=b;){var E=a.indexOf(`
|
|
`,y);E==-1&&(E=a.length);var ie=a.slice(y,a.charAt(E-1)=="\r"?E-1:E),le=ie.indexOf("\r");le!=-1?(x.push(ie.slice(0,le)),y+=le+1):(x.push(ie),y=E+1)}return x}:function(a){return a.split(/\r\n?|\n/)},TA=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(x){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},ir=function(){var a=Je("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Nr=null;function vt(a){if(Nr!=null)return Nr;var y=it(a,Je("span","x")),x=y.getBoundingClientRect(),b=We(y,0,1).getBoundingClientRect();return Nr=Math.abs(x.left-b.left)>1}var Qt={},Ot={};function cA(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),Qt[a]=y}function Ar(a,y){Ot[a]=y}function YA(a){if(typeof a=="string"&&Ot.hasOwnProperty(a))a=Ot[a];else if(a&&typeof a.name=="string"&&Ot.hasOwnProperty(a.name)){var y=Ot[a.name];typeof y=="string"&&(y={name:y}),a=ne(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return YA("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return YA("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function UA(a,y){y=YA(y);var x=Qt[y.name];if(!x)return UA(a,"text/plain");var b=x(a,y);if(Cr.hasOwnProperty(y.name)){var E=Cr[y.name];for(var ie in E)E.hasOwnProperty(ie)&&(b.hasOwnProperty(ie)&&(b["_"+ie]=b[ie]),b[ie]=E[ie])}if(b.name=y.name,y.helperType&&(b.helperType=y.helperType),y.modeProps)for(var le in y.modeProps)b[le]=y.modeProps[le];return b}var Cr={};function hr(a,y){var x=Cr.hasOwnProperty(a)?Cr[a]:Cr[a]={};Jt(y,x)}function or(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var x={};for(var b in y){var E=y[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function JA(a,y){for(var x;a.innerMode&&(x=a.innerMode(y),!(!x||x.mode==a));)y=x.state,a=x.mode;return x||{mode:a,state:y}}function Br(a,y,x){return a.startState?a.startState(y,x):!0}var fA=function(a,y,x){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};fA.prototype.eol=function(){return this.pos>=this.string.length},fA.prototype.sol=function(){return this.pos==this.lineStart},fA.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},fA.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},fA.prototype.eat=function(a){var y=this.string.charAt(this.pos),x;if(typeof a=="string"?x=y==a:x=y&&(a.test?a.test(y):a(y)),x)return++this.pos,y},fA.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},fA.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},fA.prototype.skipToEnd=function(){this.pos=this.string.length},fA.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},fA.prototype.backUp=function(a){this.pos-=a},fA.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=be(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?be(this.string,this.lineStart,this.tabSize):0)},fA.prototype.indentation=function(){return be(this.string,null,this.tabSize)-(this.lineStart?be(this.string,this.lineStart,this.tabSize):0)},fA.prototype.match=function(a,y,x){if(typeof a=="string"){var b=function(le){return x?le.toLowerCase():le},E=this.string.substr(this.pos,a.length);if(b(E)==b(a))return y!==!1&&(this.pos+=a.length),!0}else{var ie=this.string.slice(this.pos).match(a);return ie&&ie.index>0?null:(ie&&y!==!1&&(this.pos+=ie[0].length),ie)}},fA.prototype.current=function(){return this.string.slice(this.start,this.pos)},fA.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},fA.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},fA.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function He(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var x=a;!x.lines;)for(var b=0;;++b){var E=x.children[b],ie=E.chunkSize();if(y<ie){x=E;break}y-=ie}return x.lines[y]}function jt(a,y,x){var b=[],E=y.line;return a.iter(y.line,x.line+1,function(ie){var le=ie.text;E==x.line&&(le=le.slice(0,x.ch)),E==y.line&&(le=le.slice(y.ch)),b.push(le),++E}),b}function kA(a,y,x){var b=[];return a.iter(y,x,function(E){b.push(E.text)}),b}function HA(a,y){var x=y-a.height;if(x)for(var b=a;b;b=b.parent)b.height+=x}function Te(a){if(a.parent==null)return null;for(var y=a.parent,x=Ct(y.lines,a),b=y.parent;b;y=b,b=b.parent)for(var E=0;b.children[E]!=y;++E)x+=b.children[E].chunkSize();return x+y.first}function Re(a,y){var x=a.first;e:do{for(var b=0;b<a.children.length;++b){var E=a.children[b],ie=E.height;if(y<ie){a=E;continue e}y-=ie,x+=E.chunkSize()}return x}while(!a.lines);for(var le=0;le<a.lines.length;++le){var fe=a.lines[le],ge=fe.height;if(y<ge)break;y-=ge}return x+le}function dA(a,y){return y>=a.first&&y<a.first+a.size}function Kt(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function qe(a,y,x){if(x===void 0&&(x=null),!(this instanceof qe))return new qe(a,y,x);this.line=a,this.ch=y,this.sticky=x}function Gt(a,y){return a.line-y.line||a.ch-y.ch}function EA(a,y){return a.sticky==y.sticky&&Gt(a,y)==0}function DA(a){return qe(a.line,a.ch)}function VA(a,y){return Gt(a,y)<0?y:a}function at(a,y){return Gt(a,y)<0?a:y}function SA(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Wt(a,y){if(y.line<a.first)return qe(a.first,0);var x=a.first+a.size-1;return y.line>x?qe(x,He(a,x).text.length):ar(y,He(a,y.line).text.length)}function ar(a,y){var x=a.ch;return x==null||x>y?qe(a.line,y):x<0?qe(a.line,0):a}function bA(a,y){for(var x=[],b=0;b<y.length;b++)x[b]=Wt(a,y[b]);return x}var sr=function(a,y){this.state=a,this.lookAhead=y},RA=function(a,y,x,b){this.state=y,this.doc=a,this.line=x,this.maxLookAhead=b||0,this.baseTokens=null,this.baseTokenPos=1};RA.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},RA.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},RA.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},RA.fromSaved=function(a,y,x){return y instanceof sr?new RA(a,or(a.mode,y.state),x,y.lookAhead):new RA(a,or(a.mode,y),x)},RA.prototype.save=function(a){var y=a!==!1?or(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new sr(y,this.maxLookAhead):y};function Fr(a,y,x,b){var E=[a.state.modeGen],ie={};An(a,y.text,a.doc.mode,x,function(me,De){return E.push(me,De)},ie,b);for(var le=x.state,fe=function(me){x.baseTokens=E;var De=a.state.overlays[me],Ne=1,dt=0;x.state=!0,An(a,y.text,De.mode,x,function(ut,Zt){for(var gA=Ne;dt<ut;){var QA=E[Ne];QA>ut&&E.splice(Ne,1,ut,E[Ne+1],QA),Ne+=2,dt=Math.min(ut,QA)}if(Zt)if(De.opaque)E.splice(gA,Ne-gA,ut,"overlay "+Zt),Ne=gA+2;else for(;gA<Ne;gA+=2){var OA=E[gA+1];E[gA+1]=(OA?OA+" ":"")+"overlay "+Zt}},ie),x.state=le,x.baseTokens=null,x.baseTokenPos=1},ge=0;ge<a.state.overlays.length;++ge)fe(ge);return{styles:E,classes:ie.bgClass||ie.textClass?ie:null}}function br(a,y,x){if(!y.styles||y.styles[0]!=a.state.modeGen){var b=zr(a,Te(y)),E=y.text.length>a.options.maxHighlightLength&&or(a.doc.mode,b.state),ie=Fr(a,y,b);E&&(b.state=E),y.stateAfter=b.save(!E),y.styles=ie.styles,ie.classes?y.styleClasses=ie.classes:y.styleClasses&&(y.styleClasses=null),x===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function zr(a,y,x){var b=a.doc,E=a.display;if(!b.mode.startState)return new RA(b,!0,y);var ie=hn(a,y,x),le=ie>b.first&&He(b,ie-1).stateAfter,fe=le?RA.fromSaved(b,le,ie):new RA(b,Br(b.mode),ie);return b.iter(ie,y,function(ge){qr(a,ge.text,fe);var me=fe.line;ge.stateAfter=me==y-1||me%5==0||me>=E.viewFrom&&me<E.viewTo?fe.save():null,fe.nextLine()}),x&&(b.modeFrontier=fe.line),fe}function qr(a,y,x,b){var E=a.doc.mode,ie=new fA(y,a.options.tabSize,x);for(ie.start=ie.pos=b||0,y==""&&Gr(E,x.state);!ie.eol();)fn(E,ie,x.state),ie.start=ie.pos}function Gr(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var x=JA(a,y);if(x.mode.blankLine)return x.mode.blankLine(x.state)}}function fn(a,y,x,b){for(var E=0;E<10;E++){b&&(b[0]=JA(a,x).mode);var ie=a.token(y,x);if(y.pos>y.start)return ie}throw new Error("Mode "+a.name+" failed to advance stream.")}var Tr=function(a,y,x){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=x};function vn(a,y,x,b){var E=a.doc,ie=E.mode,le;y=Wt(E,y);var fe=He(E,y.line),ge=zr(a,y.line,x),me=new fA(fe.text,a.options.tabSize,ge),De;for(b&&(De=[]);(b||me.pos<y.ch)&&!me.eol();)me.start=me.pos,le=fn(ie,me,ge.state),b&&De.push(new Tr(me,le,or(E.mode,ge.state)));return b?De:new Tr(me,le,ge.state)}function ln(a,y){if(a)for(;;){var x=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!x)break;a=a.slice(0,x.index)+a.slice(x.index+x[0].length);var b=x[1]?"bgClass":"textClass";y[b]==null?y[b]=x[2]:new RegExp("(?:^|\\s)"+x[2]+"(?:$|\\s)").test(y[b])||(y[b]+=" "+x[2])}return a}function An(a,y,x,b,E,ie,le){var fe=x.flattenSpans;fe==null&&(fe=a.options.flattenSpans);var ge=0,me=null,De=new fA(y,a.options.tabSize,b),Ne,dt=a.options.addModeClass&&[null];for(y==""&&ln(Gr(x,b.state),ie);!De.eol();){if(De.pos>a.options.maxHighlightLength?(fe=!1,le&&qr(a,y,b,De.pos),De.pos=y.length,Ne=null):Ne=ln(fn(x,De,b.state,dt),ie),dt){var ut=dt[0].name;ut&&(Ne="m-"+(Ne?ut+" "+Ne:ut))}if(!fe||me!=Ne){for(;ge<De.start;)ge=Math.min(De.start,ge+5e3),E(ge,me);me=Ne}De.start=De.pos}for(;ge<De.pos;){var Zt=Math.min(De.pos,ge+5e3);E(Zt,me),ge=Zt}}function hn(a,y,x){for(var b,E,ie=a.doc,le=x?-1:y-(a.doc.mode.innerMode?1e3:100),fe=y;fe>le;--fe){if(fe<=ie.first)return ie.first;var ge=He(ie,fe-1),me=ge.stateAfter;if(me&&(!x||fe+(me instanceof sr?me.lookAhead:0)<=ie.modeFrontier))return fe;var De=be(ge.text,null,a.options.tabSize);(E==null||b>De)&&(E=fe-1,b=De)}return E}function we(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var x=a.first,b=y-1;b>x;b--){var E=He(a,b).stateAfter;if(E&&(!(E instanceof sr)||b+E.lookAhead<y)){x=b+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,x)}}var ve=!1,xe=!1;function Pe(){ve=!0}function st(){xe=!0}function Et(a,y,x){this.marker=a,this.from=y,this.to=x}function Vt(a,y){if(a)for(var x=0;x<a.length;++x){var b=a[x];if(b.marker==y)return b}}function rA(a,y){for(var x,b=0;b<a.length;++b)a[b]!=y&&(x||(x=[])).push(a[b]);return x}function wA(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function lA(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var ie=a[E],le=ie.marker,fe=ie.from==null||(le.inclusiveLeft?ie.from<=y:ie.from<y);if(fe||ie.from==y&&le.type=="bookmark"&&(!x||!ie.marker.insertLeft)){var ge=ie.to==null||(le.inclusiveRight?ie.to>=y:ie.to>y);(b||(b=[])).push(new Et(le,ie.from,ge?null:ie.to))}}return b}function zt(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var ie=a[E],le=ie.marker,fe=ie.to==null||(le.inclusiveRight?ie.to>=y:ie.to>y);if(fe||ie.from==y&&le.type=="bookmark"&&(!x||ie.marker.insertLeft)){var ge=ie.from==null||(le.inclusiveLeft?ie.from<=y:ie.from<y);(b||(b=[])).push(new Et(le,ge?null:ie.from-y,ie.to==null?null:ie.to-y))}}return b}function nA(a,y){if(y.full)return null;var x=dA(a,y.from.line)&&He(a,y.from.line).markedSpans,b=dA(a,y.to.line)&&He(a,y.to.line).markedSpans;if(!x&&!b)return null;var E=y.from.ch,ie=y.to.ch,le=Gt(y.from,y.to)==0,fe=lA(x,E,le),ge=zt(b,ie,le),me=y.text.length==1,De=Me(y.text).length+(me?E:0);if(fe)for(var Ne=0;Ne<fe.length;++Ne){var dt=fe[Ne];if(dt.to==null){var ut=Vt(ge,dt.marker);ut?me&&(dt.to=ut.to==null?null:ut.to+De):dt.to=E}}if(ge)for(var Zt=0;Zt<ge.length;++Zt){var gA=ge[Zt];if(gA.to!=null&&(gA.to+=De),gA.from==null){var QA=Vt(fe,gA.marker);QA||(gA.from=De,me&&(fe||(fe=[])).push(gA))}else gA.from+=De,me&&(fe||(fe=[])).push(gA)}fe&&(fe=_A(fe)),ge&&ge!=fe&&(ge=_A(ge));var OA=[fe];if(!me){var XA=y.text.length-2,PA;if(XA>0&&fe)for(var tr=0;tr<fe.length;++tr)fe[tr].to==null&&(PA||(PA=[])).push(new Et(fe[tr].marker,null,null));for(var kr=0;kr<XA;++kr)OA.push(PA);OA.push(ge)}return OA}function _A(a){for(var y=0;y<a.length;++y){var x=a[y];x.from!=null&&x.from==x.to&&x.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function er(a,y,x){var b=null;if(a.iter(y.line,x.line+1,function(ut){if(ut.markedSpans)for(var Zt=0;Zt<ut.markedSpans.length;++Zt){var gA=ut.markedSpans[Zt].marker;gA.readOnly&&(!b||Ct(b,gA)==-1)&&(b||(b=[])).push(gA)}}),!b)return null;for(var E=[{from:y,to:x}],ie=0;ie<b.length;++ie)for(var le=b[ie],fe=le.find(0),ge=0;ge<E.length;++ge){var me=E[ge];if(!(Gt(me.to,fe.from)<0||Gt(me.from,fe.to)>0)){var De=[ge,1],Ne=Gt(me.from,fe.from),dt=Gt(me.to,fe.to);(Ne<0||!le.inclusiveLeft&&!Ne)&&De.push({from:me.from,to:fe.from}),(dt>0||!le.inclusiveRight&&!dt)&&De.push({from:fe.to,to:me.to}),E.splice.apply(E,De),ge+=De.length-3}}return E}function cr(a){var y=a.markedSpans;if(y){for(var x=0;x<y.length;++x)y[x].marker.detachLine(a);a.markedSpans=null}}function lr(a,y){if(y){for(var x=0;x<y.length;++x)y[x].marker.attachLine(a);a.markedSpans=y}}function jA(a){return a.inclusiveLeft?-1:0}function Qr(a){return a.inclusiveRight?1:0}function Mr(a,y){var x=a.lines.length-y.lines.length;if(x!=0)return x;var b=a.find(),E=y.find(),ie=Gt(b.from,E.from)||jA(a)-jA(y);if(ie)return-ie;var le=Gt(b.to,E.to)||Qr(a)-Qr(y);return le||y.id-a.id}function fr(a,y){var x=xe&&a.markedSpans,b;if(x)for(var E=void 0,ie=0;ie<x.length;++ie)E=x[ie],E.marker.collapsed&&(y?E.from:E.to)==null&&(!b||Mr(b,E.marker)<0)&&(b=E.marker);return b}function FA(a){return fr(a,!0)}function _t(a){return fr(a,!1)}function tA(a,y){var x=xe&&a.markedSpans,b;if(x)for(var E=0;E<x.length;++E){var ie=x[E];ie.marker.collapsed&&(ie.from==null||ie.from<y)&&(ie.to==null||ie.to>y)&&(!b||Mr(b,ie.marker)<0)&&(b=ie.marker)}return b}function Ut(a,y,x,b,E){var ie=He(a,y),le=xe&&ie.markedSpans;if(le)for(var fe=0;fe<le.length;++fe){var ge=le[fe];if(ge.marker.collapsed){var me=ge.marker.find(0),De=Gt(me.from,x)||jA(ge.marker)-jA(E),Ne=Gt(me.to,b)||Qr(ge.marker)-Qr(E);if(!(De>=0&&Ne<=0||De<=0&&Ne>=0)&&(De<=0&&(ge.marker.inclusiveRight&&E.inclusiveLeft?Gt(me.to,x)>=0:Gt(me.to,x)>0)||De>=0&&(ge.marker.inclusiveRight&&E.inclusiveLeft?Gt(me.from,b)<=0:Gt(me.from,b)<0)))return!0}}}function tt(a){for(var y;y=FA(a);)a=y.find(-1,!0).line;return a}function St(a){for(var y;y=_t(a);)a=y.find(1,!0).line;return a}function AA(a){for(var y,x;y=_t(a);)a=y.find(1,!0).line,(x||(x=[])).push(a);return x}function BA(a,y){var x=He(a,y),b=tt(x);return x==b?y:Te(b)}function WA(a,y){if(y>a.lastLine())return y;var x=He(a,y),b;if(!pr(a,x))return y;for(;b=_t(x);)x=b.find(1,!0).line;return Te(x)+1}function pr(a,y){var x=xe&&y.markedSpans;if(x){for(var b=void 0,E=0;E<x.length;++E)if(b=x[E],!!b.marker.collapsed){if(b.from==null)return!0;if(!b.marker.widgetNode&&b.from==0&&b.marker.inclusiveLeft&&yr(a,y,b))return!0}}}function yr(a,y,x){if(x.to==null){var b=x.marker.find(1,!0);return yr(a,b.line,Vt(b.line.markedSpans,x.marker))}if(x.marker.inclusiveRight&&x.to==y.text.length)return!0;for(var E=void 0,ie=0;ie<y.markedSpans.length;++ie)if(E=y.markedSpans[ie],E.marker.collapsed&&!E.marker.widgetNode&&E.from==x.to&&(E.to==null||E.to!=x.from)&&(E.marker.inclusiveLeft||x.marker.inclusiveRight)&&yr(a,y,E))return!0}function gr(a){a=tt(a);for(var y=0,x=a.parent,b=0;b<x.lines.length;++b){var E=x.lines[b];if(E==a)break;y+=E.height}for(var ie=x.parent;ie;x=ie,ie=x.parent)for(var le=0;le<ie.children.length;++le){var fe=ie.children[le];if(fe==x)break;y+=fe.height}return y}function Dr(a){if(a.height==0)return 0;for(var y=a.text.length,x,b=a;x=FA(b);){var E=x.find(0,!0);b=E.from.line,y+=E.from.ch-E.to.ch}for(b=a;x=_t(b);){var ie=x.find(0,!0);y-=b.text.length-ie.from.ch,b=ie.to.line,y+=b.text.length-ie.to.ch}return y}function vr(a){var y=a.display,x=a.doc;y.maxLine=He(x,x.first),y.maxLineLength=Dr(y.maxLine),y.maxLineChanged=!0,x.iter(function(b){var E=Dr(b);E>y.maxLineLength&&(y.maxLineLength=E,y.maxLine=b)})}var Kr=function(a,y,x){this.text=a,lr(this,y),this.height=x?x(this):1};Kr.prototype.lineNo=function(){return Te(this)},yA(Kr);function on(a,y,x,b){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),cr(a),lr(a,x);var E=b?b(a):1;E!=a.height&&HA(a,E)}function Sn(a){a.parent=null,cr(a)}var an={},dn={};function Pr(a,y){if(!a||/^\s*$/.test(a))return null;var x=y.addModeClass?dn:an;return x[a]||(x[a]=a.replace(/\S+/g,"cm-$&"))}function mn(a,y){var x=yt("span",null,null,Ye?"padding-right: .1px":null),b={pre:yt("pre",[x],"CodeMirror-line"),content:x,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var E=0;E<=(y.rest?y.rest.length:0);E++){var ie=E?y.rest[E-1]:y.line,le=void 0;b.pos=0,b.addToken=Vr,zA(a.display.measure)&&(le=xA(ie,a.doc.direction))&&(b.addToken=On(b.addToken,le)),b.map=[];var fe=y!=a.display.externalMeasured&&Te(ie);Zn(ie,b,br(a,ie,fe)),ie.styleClasses&&(ie.styleClasses.bgClass&&(b.bgClass=Mt(ie.styleClasses.bgClass,b.bgClass||"")),ie.styleClasses.textClass&&(b.textClass=Mt(ie.styleClasses.textClass,b.textClass||""))),b.map.length==0&&b.map.push(0,0,b.content.appendChild(jr(a.display.measure))),E==0?(y.measure.map=b.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(b.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Ye){var ge=b.content.lastChild;(/\bcm-tab\b/.test(ge.className)||ge.querySelector&&ge.querySelector(".cm-tab"))&&(b.content.className="cm-tab-wrap-hack")}return IA(a,"renderLine",a,y.line,b.pre),b.pre.className&&(b.textClass=Mt(b.pre.className,b.textClass||"")),b}function sn(a){var y=Je("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Vr(a,y,x,b,E,ie,le){if(y){var fe=a.splitSpaces?Kn(y,a.trailingSpace):y,ge=a.cm.state.specialChars,me=!1,De;if(!ge.test(y))a.col+=y.length,De=document.createTextNode(fe),a.map.push(a.pos,a.pos+y.length,De),Ee&&Qe<9&&(me=!0),a.pos+=y.length;else{De=document.createDocumentFragment();for(var Ne=0;;){ge.lastIndex=Ne;var dt=ge.exec(y),ut=dt?dt.index-Ne:y.length-Ne;if(ut){var Zt=document.createTextNode(fe.slice(Ne,Ne+ut));Ee&&Qe<9?De.appendChild(Je("span",[Zt])):De.appendChild(Zt),a.map.push(a.pos,a.pos+ut,Zt),a.col+=ut,a.pos+=ut}if(!dt)break;Ne+=ut+1;var gA=void 0;if(dt[0]==" "){var QA=a.cm.options.tabSize,OA=QA-a.col%QA;gA=De.appendChild(Je("span",eA(OA),"cm-tab")),gA.setAttribute("role","presentation"),gA.setAttribute("cm-text"," "),a.col+=OA}else dt[0]=="\r"||dt[0]==`
|
|
`?(gA=De.appendChild(Je("span",dt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),gA.setAttribute("cm-text",dt[0]),a.col+=1):(gA=a.cm.options.specialCharPlaceholder(dt[0]),gA.setAttribute("cm-text",dt[0]),Ee&&Qe<9?De.appendChild(Je("span",[gA])):De.appendChild(gA),a.col+=1);a.map.push(a.pos,a.pos+1,gA),a.pos++}}if(a.trailingSpace=fe.charCodeAt(y.length-1)==32,x||b||E||me||ie||le){var XA=x||"";b&&(XA+=b),E&&(XA+=E);var PA=Je("span",[De],XA,ie);if(le)for(var tr in le)le.hasOwnProperty(tr)&&tr!="style"&&tr!="class"&&PA.setAttribute(tr,le[tr]);return a.content.appendChild(PA)}a.content.appendChild(De)}}function Kn(a,y){if(a.length>1&&!/ /.test(a))return a;for(var x=y,b="",E=0;E<a.length;E++){var ie=a.charAt(E);ie==" "&&x&&(E==a.length-1||a.charCodeAt(E+1)==32)&&(ie="\xA0"),b+=ie,x=ie==" "}return b}function On(a,y){return function(x,b,E,ie,le,fe,ge){E=E?E+" cm-force-border":"cm-force-border";for(var me=x.pos,De=me+b.length;;){for(var Ne=void 0,dt=0;dt<y.length&&(Ne=y[dt],!(Ne.to>me&&Ne.from<=me));dt++);if(Ne.to>=De)return a(x,b,E,ie,le,fe,ge);a(x,b.slice(0,Ne.to-me),E,ie,null,fe,ge),ie=null,b=b.slice(Ne.to-me),me=Ne.to}}}function fi(a,y,x,b){var E=!b&&x.widgetNode;E&&a.map.push(a.pos,a.pos+y,E),!b&&a.cm.display.input.needsContentAttribute&&(E||(E=a.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(a.cm.display.input.setUneditable(E),a.content.appendChild(E)),a.pos+=y,a.trailingSpace=!1}function Zn(a,y,x){var b=a.markedSpans,E=a.text,ie=0;if(!b){for(var le=1;le<x.length;le+=2)y.addToken(y,E.slice(ie,ie=x[le]),Pr(x[le+1],y.cm.options));return}for(var fe=E.length,ge=0,me=1,De="",Ne,dt,ut=0,Zt,gA,QA,OA,XA;;){if(ut==ge){Zt=gA=QA=dt="",XA=null,OA=null,ut=1/0;for(var PA=[],tr=void 0,kr=0;kr<b.length;++kr){var wr=b[kr],Zr=wr.marker;if(Zr.type=="bookmark"&&wr.from==ge&&Zr.widgetNode)PA.push(Zr);else if(wr.from<=ge&&(wr.to==null||wr.to>ge||Zr.collapsed&&wr.to==ge&&wr.from==ge)){if(wr.to!=null&&wr.to!=ge&&ut>wr.to&&(ut=wr.to,gA=""),Zr.className&&(Zt+=" "+Zr.className),Zr.css&&(dt=(dt?dt+";":"")+Zr.css),Zr.startStyle&&wr.from==ge&&(QA+=" "+Zr.startStyle),Zr.endStyle&&wr.to==ut&&(tr||(tr=[])).push(Zr.endStyle,wr.to),Zr.title&&((XA||(XA={})).title=Zr.title),Zr.attributes)for(var Fn in Zr.attributes)(XA||(XA={}))[Fn]=Zr.attributes[Fn];Zr.collapsed&&(!OA||Mr(OA.marker,Zr)<0)&&(OA=wr)}else wr.from>ge&&ut>wr.from&&(ut=wr.from)}if(tr)for(var ti=0;ti<tr.length;ti+=2)tr[ti+1]==ut&&(gA+=" "+tr[ti]);if(!OA||OA.from==ge)for(var Mn=0;Mn<PA.length;++Mn)fi(y,0,PA[Mn]);if(OA&&(OA.from||0)==ge){if(fi(y,(OA.to==null?fe+1:OA.to)-ge,OA.marker,OA.from==null),OA.to==null)return;OA.to==ge&&(OA=!1)}}if(ge>=fe)break;for(var Qi=Math.min(fe,ut);;){if(De){var ui=ge+De.length;if(!OA){var Vn=ui>Qi?De.slice(0,Qi-ge):De;y.addToken(y,Vn,Ne?Ne+Zt:Zt,QA,ge+Vn.length==ut?gA:"",dt,XA)}if(ui>=Qi){De=De.slice(Qi-ge),ge=Qi;break}ge=ui,QA=""}De=E.slice(ie,ie=x[me++]),Ne=Pr(x[me++],y.cm.options)}}}function ii(a,y,x){this.line=y,this.rest=AA(y),this.size=this.rest?Te(Me(this.rest))-x+1:1,this.node=this.text=null,this.hidden=pr(a,y)}function un(a,y,x){for(var b=[],E,ie=y;ie<x;ie=E){var le=new ii(a.doc,He(a.doc,ie),ie);E=ie+le.size,b.push(le)}return b}var jn=null;function Si(a){jn?jn.ops.push(a):a.ownsGroup=jn={ops:[a],delayedCallbacks:[]}}function $i(a){var y=a.delayedCallbacks,x=0;do{for(;x<y.length;x++)y[x].call(null);for(var b=0;b<a.ops.length;b++){var E=a.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<y.length)}function ua(a,y){var x=a.ownsGroup;if(x)try{$i(x)}finally{jn=null,y(x)}}var Ui=null;function Rn(a,y){var x=CA(a,y);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;jn?E=jn.delayedCallbacks:Ui?E=Ui:(E=Ui=[],setTimeout(eo,0));for(var ie=function(fe){E.push(function(){return x[fe].apply(null,b)})},le=0;le<x.length;++le)ie(le)}}function eo(){var a=Ui;Ui=null;for(var y=0;y<a.length;++y)a[y]()}function uo(a,y,x,b){for(var E=0;E<y.changes.length;E++){var ie=y.changes[E];ie=="text"?co(a,y):ie=="gutter"?Or(a,y,x,b):ie=="class"?Sr(a,y):ie=="widget"&&Lr(a,y,b)}y.changes=null}function Wi(a){return a.node==a.text&&(a.node=Je("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),Ee&&Qe<8&&(a.node.style.zIndex=2)),a.node}function Wn(a,y){var x=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),y.background)x?y.background.className=x:(y.background.parentNode.removeChild(y.background),y.background=null);else if(x){var b=Wi(y);y.background=b.insertBefore(Je("div",null,x),b.firstChild),a.display.input.setUneditable(y.background)}}function So(a,y){var x=a.display.externalMeasured;return x&&x.line==y.line?(a.display.externalMeasured=null,y.measure=x.measure,x.built):mn(a,y)}function co(a,y){var x=y.text.className,b=So(a,y);y.text==y.node&&(y.node=b.pre),y.text.parentNode.replaceChild(b.pre,y.text),y.text=b.pre,b.bgClass!=y.bgClass||b.textClass!=y.textClass?(y.bgClass=b.bgClass,y.textClass=b.textClass,Sr(a,y)):x&&(y.text.className=x)}function Sr(a,y){Wn(a,y),y.line.wrapClass?Wi(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var x=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=x||""}function Or(a,y,x,b){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var E=Wi(y);y.gutterBackground=Je("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px; width: "+b.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),E.insertBefore(y.gutterBackground,y.text)}var ie=y.line.gutterMarkers;if(a.options.lineNumbers||ie){var le=Wi(y),fe=y.gutter=Je("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px");if(a.display.input.setUneditable(fe),le.insertBefore(fe,y.text),y.line.gutterClass&&(fe.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!ie||!ie["CodeMirror-linenumbers"])&&(y.lineNumber=fe.appendChild(Je("div",Kt(a.options,x),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+b.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),ie)for(var ge=0;ge<a.display.gutterSpecs.length;++ge){var me=a.display.gutterSpecs[ge].className,De=ie.hasOwnProperty(me)&&ie[me];De&&fe.appendChild(Je("div",[De],"CodeMirror-gutter-elt","left: "+b.gutterLeft[me]+"px; width: "+b.gutterWidth[me]+"px"))}}}function Lr(a,y,x){y.alignable&&(y.alignable=null);for(var b=lt("CodeMirror-linewidget"),E=y.node.firstChild,ie=void 0;E;E=ie)ie=E.nextSibling,b.test(E.className)&&y.node.removeChild(E);$r(a,y,x)}function Hr(a,y,x,b){var E=So(a,y);return y.text=y.node=E.pre,E.bgClass&&(y.bgClass=E.bgClass),E.textClass&&(y.textClass=E.textClass),Sr(a,y),Or(a,y,x,b),$r(a,y,b),y.node}function $r(a,y,x){if(gn(a,y.line,y,x,!0),y.rest)for(var b=0;b<y.rest.length;b++)gn(a,y.rest[b],y,x,!1)}function gn(a,y,x,b,E){if(y.widgets)for(var ie=Wi(x),le=0,fe=y.widgets;le<fe.length;++le){var ge=fe[le],me=Je("div",[ge.node],"CodeMirror-linewidget"+(ge.className?" "+ge.className:""));ge.handleMouseEvents||me.setAttribute("cm-ignore-events","true"),en(ge,me,x,b),a.display.input.setUneditable(me),E&&ge.above?ie.insertBefore(me,x.gutter||x.text):ie.appendChild(me),Rn(ge,"redraw")}}function en(a,y,x,b){if(a.noHScroll){(x.alignable||(x.alignable=[])).push(y);var E=b.wrapperWidth;y.style.left=b.fixedPos+"px",a.coverGutter||(E-=b.gutterTotalWidth,y.style.paddingLeft=b.gutterTotalWidth+"px"),y.style.width=E+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-b.gutterTotalWidth+"px"))}function hi(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!$e(document.body,a.node)){var x="position: relative;";a.coverGutter&&(x+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(x+="width: "+y.display.wrapper.clientWidth+"px;"),it(y.display.measure,Je("div",[a.node],null,x))}return a.height=a.node.parentNode.offsetHeight}function Xn(a,y){for(var x=$A(y);x!=a.wrapper;x=x.parentNode)if(!x||x.nodeType==1&&x.getAttribute("cm-ignore-events")=="true"||x.parentNode==a.sizer&&x!=a.mover)return!0}function Pn(a){return a.lineSpace.offsetTop}function oi(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function $n(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=it(a.measure,Je("pre","x","CodeMirror-line-like")),x=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,b={left:parseInt(x.paddingLeft),right:parseInt(x.paddingRight)};return!isNaN(b.left)&&!isNaN(b.right)&&(a.cachedPaddingH=b),b}function bi(a){return qt-a.display.nativeBarWidth}function ai(a){return a.display.scroller.clientWidth-bi(a)-a.display.barWidth}function En(a){return a.display.scroller.clientHeight-bi(a)-a.display.barHeight}function Ti(a,y,x){var b=a.options.lineWrapping,E=b&&ai(a);if(!y.measure.heights||b&&y.measure.width!=E){var ie=y.measure.heights=[];if(b){y.measure.width=E;for(var le=y.text.firstChild.getClientRects(),fe=0;fe<le.length-1;fe++){var ge=le[fe],me=le[fe+1];Math.abs(ge.bottom-me.bottom)>2&&ie.push((ge.bottom+me.top)/2-x.top)}}ie.push(x.bottom-x.top)}}function _n(a,y,x){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var b=0;b<a.rest.length;b++)if(a.rest[b]==y)return{map:a.measure.maps[b],cache:a.measure.caches[b]};for(var E=0;E<a.rest.length;E++)if(Te(a.rest[E])>x)return{map:a.measure.maps[E],cache:a.measure.caches[E],before:!0}}function ca(a,y){y=tt(y);var x=Te(y),b=a.display.externalMeasured=new ii(a.doc,y,x);b.lineN=x;var E=b.built=mn(a,b);return b.text=E.pre,it(a.display.lineMeasure,E.pre),b}function zi(a,y,x,b){return Ii(a,pn(a,y),x,b)}function xi(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[po(a,y)];var x=a.display.externalMeasured;if(x&&y>=x.lineN&&y<x.lineN+x.size)return x}function pn(a,y){var x=Te(y),b=xi(a,x);b&&!b.text?b=null:b&&b.changes&&(uo(a,b,x,ho(a)),a.curOp.forceUpdate=!0),b||(b=ca(a,y));var E=_n(b,y,x);return{line:y,view:b,rect:null,map:E.map,cache:E.cache,before:E.before,hasHeights:!1}}function Ii(a,y,x,b,E){y.before&&(x=-1);var ie=x+(b||""),le;return y.cache.hasOwnProperty(ie)?le=y.cache[ie]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Ti(a,y.view,y.rect),y.hasHeights=!0),le=Uo(a,y,x,b),le.bogus||(y.cache[ie]=le)),{left:le.left,right:le.right,top:E?le.rtop:le.top,bottom:E?le.rbottom:le.bottom}}var fa={left:0,right:0,top:0,bottom:0};function ha(a,y,x){for(var b,E,ie,le,fe,ge,me=0;me<a.length;me+=3)if(fe=a[me],ge=a[me+1],y<fe?(E=0,ie=1,le="left"):y<ge?(E=y-fe,ie=E+1):(me==a.length-3||y==ge&&a[me+3]>y)&&(ie=ge-fe,E=ie-1,y>=ge&&(le="right")),E!=null){if(b=a[me+2],fe==ge&&x==(b.insertLeft?"left":"right")&&(le=x),x=="left"&&E==0)for(;me&&a[me-2]==a[me-3]&&a[me-1].insertLeft;)b=a[(me-=3)+2],le="left";if(x=="right"&&E==ge-fe)for(;me<a.length-3&&a[me+3]==a[me+4]&&!a[me+5].insertLeft;)b=a[(me+=3)+2],le="right";break}return{node:b,start:E,end:ie,collapse:le,coverStart:fe,coverEnd:ge}}function Wa(a,y){var x=fa;if(y=="left")for(var b=0;b<a.length&&(x=a[b]).left==x.right;b++);else for(var E=a.length-1;E>=0&&(x=a[E]).left==x.right;E--);return x}function Uo(a,y,x,b){var E=ha(y.map,x,b),ie=E.node,le=E.start,fe=E.end,ge=E.collapse,me;if(ie.nodeType==3){for(var De=0;De<4;De++){for(;le&&rt(y.line.text.charAt(E.coverStart+le));)--le;for(;E.coverStart+fe<E.coverEnd&&rt(y.line.text.charAt(E.coverStart+fe));)++fe;if(Ee&&Qe<9&&le==0&&fe==E.coverEnd-E.coverStart?me=ie.parentNode.getBoundingClientRect():me=Wa(We(ie,le,fe).getClientRects(),b),me.left||me.right||le==0)break;fe=le,le=le-1,ge="right"}Ee&&Qe<11&&(me=za(a.display.measure,me))}else{le>0&&(ge=b="right");var Ne;a.options.lineWrapping&&(Ne=ie.getClientRects()).length>1?me=Ne[b=="right"?Ne.length-1:0]:me=ie.getBoundingClientRect()}if(Ee&&Qe<9&&!le&&(!me||!me.left&&!me.right)){var dt=ie.parentNode.getClientRects()[0];dt?me={left:dt.left,right:dt.left+Vi(a.display),top:dt.top,bottom:dt.bottom}:me=fa}for(var ut=me.top-y.rect.top,Zt=me.bottom-y.rect.top,gA=(ut+Zt)/2,QA=y.view.measure.heights,OA=0;OA<QA.length-1&&!(gA<QA[OA]);OA++);var XA=OA?QA[OA-1]:0,PA=QA[OA],tr={left:(ge=="right"?me.right:me.left)-y.rect.left,right:(ge=="left"?me.left:me.right)-y.rect.left,top:XA,bottom:PA};return!me.left&&!me.right&&(tr.bogus=!0),a.options.singleCursorHeightPerLine||(tr.rtop=ut,tr.rbottom=Zt),tr}function za(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!vt(a))return y;var x=screen.logicalXDPI/screen.deviceXDPI,b=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*x,right:y.right*x,top:y.top*b,bottom:y.bottom*b}}function Vo(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function di(a){a.display.externalMeasure=null,uA(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Vo(a.display.view[y])}function Ei(a){di(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Mi(){return Ue&&Ge?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function zn(){return Ue&&Ge?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Oi(a){var y=0;if(a.widgets)for(var x=0;x<a.widgets.length;++x)a.widgets[x].above&&(y+=hi(a.widgets[x]));return y}function Io(a,y,x,b,E){if(!E){var ie=Oi(y);x.top+=ie,x.bottom+=ie}if(b=="line")return x;b||(b="local");var le=gr(y);if(b=="local"?le+=Pn(a.display):le-=a.display.viewOffset,b=="page"||b=="window"){var fe=a.display.lineSpace.getBoundingClientRect();le+=fe.top+(b=="window"?0:zn());var ge=fe.left+(b=="window"?0:Mi());x.left+=ge,x.right+=ge}return x.top+=le,x.bottom+=le,x}function da(a,y,x){if(x=="div")return y;var b=y.left,E=y.top;if(x=="page")b-=Mi(),E-=zn();else if(x=="local"||!x){var ie=a.display.sizer.getBoundingClientRect();b+=ie.left,E+=ie.top}var le=a.display.lineSpace.getBoundingClientRect();return{left:b-le.left,top:E-le.top}}function fo(a,y,x,b,E){return b||(b=He(a.doc,y.line)),Io(a,b,zi(a,b,y.ch,E),x)}function gi(a,y,x,b,E,ie){b=b||He(a.doc,y.line),E||(E=pn(a,b));function le(Zt,gA){var QA=Ii(a,E,Zt,gA?"right":"left",ie);return gA?QA.left=QA.right:QA.right=QA.left,Io(a,b,QA,x)}var fe=xA(b,a.doc.direction),ge=y.ch,me=y.sticky;if(ge>=b.text.length?(ge=b.text.length,me="before"):ge<=0&&(ge=0,me="after"),!fe)return le(me=="before"?ge-1:ge,me=="before");function De(Zt,gA,QA){var OA=fe[gA],XA=OA.level==1;return le(QA?Zt-1:Zt,XA!=QA)}var Ne=pA(fe,ge,me),dt=Pt,ut=De(ge,Ne,me=="before");return dt!=null&&(ut.other=De(ge,dt,me!="before")),ut}function rn(a,y){var x=0;y=Wt(a.doc,y),a.options.lineWrapping||(x=Vi(a.display)*y.ch);var b=He(a.doc,y.line),E=gr(b)+Pn(a.display);return{left:x,right:x,top:E,bottom:E+b.height}}function Rr(a,y,x,b,E){var ie=qe(a,y,x);return ie.xRel=E,b&&(ie.outside=b),ie}function Un(a,y,x){var b=a.doc;if(x+=a.display.viewOffset,x<0)return Rr(b.first,0,null,-1,-1);var E=Re(b,x),ie=b.first+b.size-1;if(E>ie)return Rr(b.first+b.size-1,He(b,ie).text.length,null,1,1);y<0&&(y=0);for(var le=He(b,E);;){var fe=Ri(a,le,E,y,x),ge=tA(le,fe.ch+(fe.xRel>0||fe.outside>0?1:0));if(!ge)return fe;var me=ge.find(1);if(me.line==E)return me;le=He(b,E=me.line)}}function si(a,y,x,b){b-=Oi(y);var E=y.text.length,ie=Ht(function(le){return Ii(a,x,le-1).bottom<=b},E,0);return E=Ht(function(le){return Ii(a,x,le).top>b},ie,E),{begin:ie,end:E}}function Gn(a,y,x,b){x||(x=pn(a,y));var E=Io(a,y,Ii(a,x,b),"line").top;return si(a,y,x,E)}function Nn(a,y,x,b){return a.bottom<=x?!1:a.top>x?!0:(b?a.left:a.right)>y}function Ri(a,y,x,b,E){E-=gr(y);var ie=pn(a,y),le=Oi(y),fe=0,ge=y.text.length,me=!0,De=xA(y,a.doc.direction);if(De){var Ne=(a.options.lineWrapping?to:Pi)(a,y,x,ie,De,b,E);me=Ne.level!=1,fe=me?Ne.from:Ne.to-1,ge=me?Ne.to:Ne.from-1}var dt=null,ut=null,Zt=Ht(function(kr){var wr=Ii(a,ie,kr);return wr.top+=le,wr.bottom+=le,Nn(wr,b,E,!1)?(wr.top<=E&&wr.left<=b&&(dt=kr,ut=wr),!0):!1},fe,ge),gA,QA,OA=!1;if(ut){var XA=b-ut.left<ut.right-b,PA=XA==me;Zt=dt+(PA?0:1),QA=PA?"after":"before",gA=XA?ut.left:ut.right}else{!me&&(Zt==ge||Zt==fe)&&Zt++,QA=Zt==0?"after":Zt==y.text.length?"before":Ii(a,ie,Zt-(me?1:0)).bottom+le<=E==me?"after":"before";var tr=gi(a,qe(x,Zt,QA),"line",y,ie);gA=tr.left,OA=E<tr.top?-1:E>=tr.bottom?1:0}return Zt=Yt(y.text,Zt,1),Rr(x,Zt,QA,OA,b-gA)}function Pi(a,y,x,b,E,ie,le){var fe=Ht(function(Ne){var dt=E[Ne],ut=dt.level!=1;return Nn(gi(a,qe(x,ut?dt.to:dt.from,ut?"before":"after"),"line",y,b),ie,le,!0)},0,E.length-1),ge=E[fe];if(fe>0){var me=ge.level!=1,De=gi(a,qe(x,me?ge.from:ge.to,me?"after":"before"),"line",y,b);Nn(De,ie,le,!0)&&De.top>le&&(ge=E[fe-1])}return ge}function to(a,y,x,b,E,ie,le){var fe=si(a,y,b,le),ge=fe.begin,me=fe.end;/\s/.test(y.text.charAt(me-1))&&me--;for(var De=null,Ne=null,dt=0;dt<E.length;dt++){var ut=E[dt];if(!(ut.from>=me||ut.to<=ge)){var Zt=ut.level!=1,gA=Ii(a,b,Zt?Math.min(me,ut.to)-1:Math.max(ge,ut.from)).right,QA=gA<ie?ie-gA+1e9:gA-ie;(!De||Ne>QA)&&(De=ut,Ne=QA)}}return De||(De=E[E.length-1]),De.from<ge&&(De={from:ge,to:De.to,level:De.level}),De.to>me&&(De={from:De.from,to:me,level:De.level}),De}var Tn;function wi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Tn==null){Tn=Je("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Tn.appendChild(document.createTextNode("x")),Tn.appendChild(Je("br"));Tn.appendChild(document.createTextNode("x"))}it(a.measure,Tn);var x=Tn.offsetHeight/50;return x>3&&(a.cachedTextHeight=x),uA(a.measure),x||1}function Vi(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Je("span","xxxxxxxxxx"),x=Je("pre",[y],"CodeMirror-line-like");it(a.measure,x);var b=y.getBoundingClientRect(),E=(b.right-b.left)/10;return E>2&&(a.cachedCharWidth=E),E||10}function ho(a){for(var y=a.display,x={},b={},E=y.gutters.clientLeft,ie=y.gutters.firstChild,le=0;ie;ie=ie.nextSibling,++le){var fe=a.display.gutterSpecs[le].className;x[fe]=ie.offsetLeft+ie.clientLeft+E,b[fe]=ie.clientWidth}return{fixedPos:Zo(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:x,gutterWidth:b,wrapperWidth:y.wrapper.clientWidth}}function Zo(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function ol(a){var y=wi(a.display),x=a.options.lineWrapping,b=x&&Math.max(5,a.display.scroller.clientWidth/Vi(a.display)-3);return function(E){if(pr(a.doc,E))return 0;var ie=0;if(E.widgets)for(var le=0;le<E.widgets.length;le++)E.widgets[le].height&&(ie+=E.widgets[le].height);return x?ie+(Math.ceil(E.text.length/b)||1)*y:ie+y}}function Va(a){var y=a.doc,x=ol(a);y.iter(function(b){var E=x(b);E!=b.height&&HA(b,E)})}function go(a,y,x,b){var E=a.display;if(!x&&$A(y).getAttribute("cm-not-content")=="true")return null;var ie,le,fe=E.lineSpace.getBoundingClientRect();try{ie=y.clientX-fe.left,le=y.clientY-fe.top}catch(Ne){return null}var ge=Un(a,ie,le),me;if(b&&ge.xRel>0&&(me=He(a.doc,ge.line).text).length==ge.ch){var De=be(me,me.length,a.options.tabSize)-me.length;ge=qe(ge.line,Math.max(0,Math.round((ie-$n(a.display).left)/Vi(a.display))-De))}return ge}function po(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var x=a.display.view,b=0;b<x.length;b++)if(y-=x[b].size,y<0)return b}function pi(a,y,x,b){y==null&&(y=a.doc.first),x==null&&(x=a.doc.first+a.doc.size),b||(b=0);var E=a.display;if(b&&x<E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>y)&&(E.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=E.viewTo)xe&&BA(a.doc,y)<E.viewTo&&ro(a);else if(x<=E.viewFrom)xe&&WA(a.doc,x+b)>E.viewFrom?ro(a):(E.viewFrom+=b,E.viewTo+=b);else if(y<=E.viewFrom&&x>=E.viewTo)ro(a);else if(y<=E.viewFrom){var ie=ga(a,x,x+b,1);ie?(E.view=E.view.slice(ie.index),E.viewFrom=ie.lineN,E.viewTo+=b):ro(a)}else if(x>=E.viewTo){var le=ga(a,y,y,-1);le?(E.view=E.view.slice(0,le.index),E.viewTo=le.lineN):ro(a)}else{var fe=ga(a,y,y,-1),ge=ga(a,x,x+b,1);fe&&ge?(E.view=E.view.slice(0,fe.index).concat(un(a,fe.lineN,ge.lineN)).concat(E.view.slice(ge.index)),E.viewTo+=b):ro(a)}var me=E.externalMeasured;me&&(x<me.lineN?me.lineN+=b:y<me.lineN+me.size&&(E.externalMeasured=null))}function Ao(a,y,x){a.curOp.viewChanged=!0;var b=a.display,E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size&&(b.externalMeasured=null),!(y<b.viewFrom||y>=b.viewTo)){var ie=b.view[po(a,y)];if(ie.node!=null){var le=ie.changes||(ie.changes=[]);Ct(le,x)==-1&&le.push(x)}}}function ro(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function ga(a,y,x,b){var E=po(a,y),ie,le=a.display.view;if(!xe||x==a.doc.first+a.doc.size)return{index:E,lineN:x};for(var fe=a.display.viewFrom,ge=0;ge<E;ge++)fe+=le[ge].size;if(fe!=y){if(b>0){if(E==le.length-1)return null;ie=fe+le[E].size-y,E++}else ie=fe-y;y+=ie,x+=ie}for(;BA(a.doc,x)!=x;){if(E==(b<0?0:le.length-1))return null;x+=b*le[E-(b<0?1:0)].size,E+=b}return{index:E,lineN:x}}function al(a,y,x){var b=a.display,E=b.view;E.length==0||y>=b.viewTo||x<=b.viewFrom?(b.view=un(a,y,x),b.viewFrom=y):(b.viewFrom>y?b.view=un(a,y,b.viewFrom).concat(b.view):b.viewFrom<y&&(b.view=b.view.slice(po(a,y))),b.viewFrom=y,b.viewTo<x?b.view=b.view.concat(un(a,b.viewTo,x)):b.viewTo>x&&(b.view=b.view.slice(0,po(a,x)))),b.viewTo=x}function sl(a){for(var y=a.display.view,x=0,b=0;b<y.length;b++){var E=y[b];!E.hidden&&(!E.node||E.changes)&&++x}return x}function vo(a){a.display.input.showSelection(a.display.input.prepareSelection())}function ll(a,y){y===void 0&&(y=!0);for(var x=a.doc,b={},E=b.cursors=document.createDocumentFragment(),ie=b.selection=document.createDocumentFragment(),le=0;le<x.sel.ranges.length;le++)if(!(!y&&le==x.sel.primIndex)){var fe=x.sel.ranges[le];if(!(fe.from().line>=a.display.viewTo||fe.to().line<a.display.viewFrom)){var ge=fe.empty();(ge||a.options.showCursorWhenSelecting)&&ul(a,fe.head,E),ge||fu(a,fe,ie)}}return b}function ul(a,y,x){var b=gi(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),E=x.appendChild(Je("div","\xA0","CodeMirror-cursor"));if(E.style.left=b.left+"px",E.style.top=b.top+"px",E.style.height=Math.max(0,b.bottom-b.top)*a.options.cursorHeight+"px",b.other){var ie=x.appendChild(Je("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));ie.style.display="",ie.style.left=b.other.left+"px",ie.style.top=b.other.top+"px",ie.style.height=(b.other.bottom-b.other.top)*.85+"px"}}function jo(a,y){return a.top-y.top||a.left-y.left}function fu(a,y,x){var b=a.display,E=a.doc,ie=document.createDocumentFragment(),le=$n(a.display),fe=le.left,ge=Math.max(b.sizerWidth,ai(a)-b.sizer.offsetLeft)-le.right,me=E.direction=="ltr";function De(PA,tr,kr,wr){tr<0&&(tr=0),tr=Math.round(tr),wr=Math.round(wr),ie.appendChild(Je("div",null,"CodeMirror-selected","position: absolute; left: "+PA+`px;
|
|
top: `+tr+"px; width: "+(kr==null?ge-PA:kr)+`px;
|
|
height: `+(wr-tr)+"px"))}function Ne(PA,tr,kr){var wr=He(E,PA),Zr=wr.text.length,Fn,ti;function Mn(Vn,ci){return fo(a,qe(PA,Vn),"div",wr,ci)}function Qi(Vn,ci,ri){var LA=Gn(a,wr,null,Vn),kn=ci=="ltr"==(ri=="after")?"left":"right",Dn=ri=="after"?LA.begin:LA.end-(/\s/.test(wr.text.charAt(LA.end-1))?2:1);return Mn(Dn,kn)[kn]}var ui=xA(wr,E.direction);return Tt(ui,tr||0,kr==null?Zr:kr,function(Vn,ci,ri,LA){var kn=ri=="ltr",Dn=Mn(Vn,kn?"left":"right"),Ln=Mn(ci-1,kn?"right":"left"),oa=tr==null&&Vn==0,nn=kr==null&&ci==Zr,Xr=LA==0,Hi=!ui||LA==ui.length-1;if(Ln.top-Dn.top<=3){var Ai=(me?oa:nn)&&Xr,aa=(me?nn:oa)&&Hi,lo=Ai?fe:(kn?Dn:Ln).left,Ji=aa?ge:(kn?Ln:Dn).right;De(lo,Dn.top,Ji-lo,Dn.bottom)}else{var _o,Bi,Go,nl;kn?(_o=me&&oa&&Xr?fe:Dn.left,Bi=me?ge:Qi(Vn,ri,"before"),Go=me?fe:Qi(ci,ri,"after"),nl=me&&nn&&Hi?ge:Ln.right):(_o=me?Qi(Vn,ri,"before"):fe,Bi=!me&&oa&&Xr?ge:Dn.right,Go=!me&&nn&&Hi?fe:Ln.left,nl=me?Qi(ci,ri,"after"):ge),De(_o,Dn.top,Bi-_o,Dn.bottom),Dn.bottom<Ln.top&&De(fe,Dn.bottom,null,Ln.top),De(Go,Ln.top,nl-Go,Ln.bottom)}(!Fn||jo(Dn,Fn)<0)&&(Fn=Dn),jo(Ln,Fn)<0&&(Fn=Ln),(!ti||jo(Dn,ti)<0)&&(ti=Dn),jo(Ln,ti)<0&&(ti=Ln)}),{start:Fn,end:ti}}var dt=y.from(),ut=y.to();if(dt.line==ut.line)Ne(dt.line,dt.ch,ut.ch);else{var Zt=He(E,dt.line),gA=He(E,ut.line),QA=tt(Zt)==tt(gA),OA=Ne(dt.line,dt.ch,QA?Zt.text.length+1:null).end,XA=Ne(ut.line,QA?0:null,ut.ch).start;QA&&(OA.top<XA.top-2?(De(OA.right,OA.top,null,OA.bottom),De(fe,XA.top,XA.left,XA.bottom)):De(OA.right,OA.top,XA.left-OA.right,OA.bottom)),OA.bottom<XA.top&&De(fe,OA.bottom,null,XA.top)}x.appendChild(ie)}function Za(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var x=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||Xo(a),y.cursorDiv.style.visibility=(x=!x)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function cl(a){a.state.focused||(a.display.input.focus(),xs(a))}function fl(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Xo(a))},100)}function xs(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(IA(a,"focus",a,y),a.state.focused=!0,Ze(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Ye&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Za(a))}function Xo(a,y){a.state.delayingBlurEvent||(a.state.focused&&(IA(a,"blur",a,y),a.state.focused=!1,At(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ja(a){for(var y=a.display,x=y.lineDiv.offsetTop,b=0;b<y.view.length;b++){var E=y.view[b],ie=a.options.lineWrapping,le=void 0,fe=0;if(!E.hidden){if(Ee&&Qe<8){var ge=E.node.offsetTop+E.node.offsetHeight;le=ge-x,x=ge}else{var me=E.node.getBoundingClientRect();le=me.bottom-me.top,!ie&&E.text.firstChild&&(fe=E.text.firstChild.getBoundingClientRect().right-me.left-1)}var De=E.line.height-le;if((De>.005||De<-.005)&&(HA(E.line,le),ko(E.line),E.rest))for(var Ne=0;Ne<E.rest.length;Ne++)ko(E.rest[Ne]);if(fe>a.display.sizerWidth){var dt=Math.ceil(fe/Vi(a.display));dt>a.display.maxLineLength&&(a.display.maxLineLength=dt,a.display.maxLine=E.line,a.display.maxLineChanged=!0)}}}}function ko(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var x=a.widgets[y],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function Xa(a,y,x){var b=x&&x.top!=null?Math.max(0,x.top):a.scroller.scrollTop;b=Math.floor(b-Pn(a));var E=x&&x.bottom!=null?x.bottom:b+a.wrapper.clientHeight,ie=Re(y,b),le=Re(y,E);if(x&&x.ensure){var fe=x.ensure.from.line,ge=x.ensure.to.line;fe<ie?(ie=fe,le=Re(y,gr(He(y,fe))+a.wrapper.clientHeight)):Math.min(ge,y.lastLine())>=le&&(ie=Re(y,gr(He(y,ge))-a.wrapper.clientHeight),le=ge)}return{from:ie,to:Math.max(le,ie+1)}}function hu(a,y){if(!mt(a,"scrollCursorIntoView")){var x=a.display,b=x.sizer.getBoundingClientRect(),E=null;if(y.top+b.top<0?E=!0:y.bottom+b.top>(window.innerHeight||document.documentElement.clientHeight)&&(E=!1),E!=null&&!Dt){var ie=Je("div","\u200B",null,`position: absolute;
|
|
top: `+(y.top-x.viewOffset-Pn(a.display))+`px;
|
|
height: `+(y.bottom-y.top+bi(a)+x.barHeight)+`px;
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(ie),ie.scrollIntoView(E),a.display.lineSpace.removeChild(ie)}}}function Ya(a,y,x,b){b==null&&(b=0);var E;!a.options.lineWrapping&&y==x&&(y=y.ch?qe(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,x=y.sticky=="before"?qe(y.line,y.ch+1,"before"):y);for(var ie=0;ie<5;ie++){var le=!1,fe=gi(a,y),ge=!x||x==y?fe:gi(a,x);E={left:Math.min(fe.left,ge.left),top:Math.min(fe.top,ge.top)-b,right:Math.max(fe.left,ge.left),bottom:Math.max(fe.bottom,ge.bottom)+b};var me=Es(a,E),De=a.doc.scrollTop,Ne=a.doc.scrollLeft;if(me.scrollTop!=null&&(pa(a,me.scrollTop),Math.abs(a.doc.scrollTop-De)>1&&(le=!0)),me.scrollLeft!=null&&(Do(a,me.scrollLeft),Math.abs(a.doc.scrollLeft-Ne)>1&&(le=!0)),!le)break}return E}function du(a,y){var x=Es(a,y);x.scrollTop!=null&&pa(a,x.scrollTop),x.scrollLeft!=null&&Do(a,x.scrollLeft)}function Es(a,y){var x=a.display,b=wi(a.display);y.top<0&&(y.top=0);var E=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:x.scroller.scrollTop,ie=En(a),le={};y.bottom-y.top>ie&&(y.bottom=y.top+ie);var fe=a.doc.height+oi(x),ge=y.top<b,me=y.bottom>fe-b;if(y.top<E)le.scrollTop=ge?0:y.top;else if(y.bottom>E+ie){var De=Math.min(y.top,(me?fe:y.bottom)-ie);De!=E&&(le.scrollTop=De)}var Ne=a.options.fixedGutter?0:x.gutters.offsetWidth,dt=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:x.scroller.scrollLeft-Ne,ut=ai(a)-x.gutters.offsetWidth,Zt=y.right-y.left>ut;return Zt&&(y.right=y.left+ut),y.left<10?le.scrollLeft=0:y.left<dt?le.scrollLeft=Math.max(0,y.left+Ne-(Zt?0:10)):y.right>ut+dt-3&&(le.scrollLeft=y.right+(Zt?0:10)-ut),le}function Fs(a,y){y!=null&&(Ja(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Yo(a){Ja(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function mo(a,y,x){(y!=null||x!=null)&&Ja(a),y!=null&&(a.curOp.scrollLeft=y),x!=null&&(a.curOp.scrollTop=x)}function gu(a,y){Ja(a),a.curOp.scrollToPos=y}function Ja(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var x=rn(a,y.from),b=rn(a,y.to);hl(a,x,b,y.margin)}}function hl(a,y,x,b){var E=Es(a,{left:Math.min(y.left,x.left),top:Math.min(y.top,x.top)-b,right:Math.max(y.right,x.right),bottom:Math.max(y.bottom,x.bottom)+b});mo(a,E.scrollLeft,E.scrollTop)}function pa(a,y){Math.abs(a.doc.scrollTop-y)<2||(se||Jo(a,{top:y}),va(a,y,!0),se&&Jo(a),Mo(a,100))}function va(a,y,x){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!x)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Do(a,y,x,b){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((x?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!b)&&(a.doc.scrollLeft=y,ml(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function ma(a){var y=a.display,x=y.gutters.offsetWidth,b=Math.round(a.doc.height+oi(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+bi(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:x}}var Lo=function(a,y,x){this.cm=x;var b=this.vert=Je("div",[Je("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=Je("div",[Je("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,a(b),a(E),Nt(b,"scroll",function(){b.clientHeight&&y(b.scrollTop,"vertical")}),Nt(E,"scroll",function(){E.clientWidth&&y(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Ee&&Qe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Lo.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,x=a.scrollHeight>a.clientHeight+1,b=a.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=y?b+"px":"0";var E=a.viewHeight-(y?b:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+E)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=a.barLeft+"px";var ie=a.viewWidth-a.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ie)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:y?b:0}},Lo.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Lo.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Lo.prototype.zeroWidthHack=function(){var a=Oe&&!Fe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new de,this.disableVert=new de},Lo.prototype.enableZeroWidthBar=function(a,y,x){a.style.pointerEvents="auto";function b(){var E=a.getBoundingClientRect(),ie=x=="vert"?document.elementFromPoint(E.right-1,(E.top+E.bottom)/2):document.elementFromPoint((E.right+E.left)/2,E.bottom-1);ie!=a?a.style.pointerEvents="none":y.set(1e3,b)}y.set(1e3,b)},Lo.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var Ba=function(){};Ba.prototype.update=function(){return{bottom:0,right:0}},Ba.prototype.setScrollLeft=function(){},Ba.prototype.setScrollTop=function(){},Ba.prototype.clear=function(){};function no(a,y){y||(y=ma(a));var x=a.display.barWidth,b=a.display.barHeight;dl(a,y);for(var E=0;E<4&&x!=a.display.barWidth||b!=a.display.barHeight;E++)x!=a.display.barWidth&&a.options.lineWrapping&&ja(a),dl(a,ma(a)),x=a.display.barWidth,b=a.display.barHeight}function dl(a,y){var x=a.display,b=x.scrollbars.update(y);x.sizer.style.paddingRight=(x.barWidth=b.right)+"px",x.sizer.style.paddingBottom=(x.barHeight=b.bottom)+"px",x.heightForcer.style.borderBottom=b.bottom+"px solid transparent",b.right&&b.bottom?(x.scrollbarFiller.style.display="block",x.scrollbarFiller.style.height=b.bottom+"px",x.scrollbarFiller.style.width=b.right+"px"):x.scrollbarFiller.style.display="",b.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(x.gutterFiller.style.display="block",x.gutterFiller.style.height=b.bottom+"px",x.gutterFiller.style.width=y.gutterWidth+"px"):x.gutterFiller.style.display=""}var gl={native:Lo,null:Ba};function pl(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&At(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new gl[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Nt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,x){x=="horizontal"?Do(a,y):pa(a,y)},a),a.display.scrollbars.addClass&&Ze(a.display.wrapper,a.display.scrollbars.addClass)}var pu=0;function Ho(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++pu},Si(a.curOp)}function To(a){var y=a.curOp;y&&ua(y,function(x){for(var b=0;b<x.ops.length;b++)x.ops[b].cm.curOp=null;vu(x)})}function vu(a){for(var y=a.ops,x=0;x<y.length;x++)mu(y[x]);for(var b=0;b<y.length;b++)Bu(y[b]);for(var E=0;E<y.length;E++)wu(y[E]);for(var ie=0;ie<y.length;ie++)qa(y[ie]);for(var le=0;le<y.length;le++)Cu(y[le])}function mu(a){var y=a.cm,x=y.display;yu(y),a.updateMaxLine&&vr(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<x.viewFrom||a.scrollToPos.to.line>=x.viewTo)||x.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new es(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Bu(a){a.updatedDisplay=a.mustUpdate&&Qs(a.cm,a.update)}function wu(a){var y=a.cm,x=y.display;a.updatedDisplay&&ja(y),a.barMeasure=ma(y),x.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=zi(y,x.maxLine,x.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(x.scroller.clientWidth,x.sizer.offsetLeft+a.adjustWidthTo+bi(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,x.sizer.offsetLeft+a.adjustWidthTo-ai(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=x.input.prepareSelection())}function qa(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Do(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var x=a.focus&&a.focus==_e();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,x),(a.updatedDisplay||a.startHeight!=y.doc.height)&&no(y,a.barMeasure),a.updatedDisplay&&Us(y,a.barMeasure),a.selectionChanged&&Za(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),x&&cl(a.cm)}function Cu(a){var y=a.cm,x=y.display,b=y.doc;if(a.updatedDisplay&&vl(y,a.update),x.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(x.wheelStartX=x.wheelStartY=null),a.scrollTop!=null&&va(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Do(y,a.scrollLeft,!0,!0),a.scrollToPos){var E=Ya(y,Wt(b,a.scrollToPos.from),Wt(b,a.scrollToPos.to),a.scrollToPos.margin);hu(y,E)}var ie=a.maybeHiddenMarkers,le=a.maybeUnhiddenMarkers;if(ie)for(var fe=0;fe<ie.length;++fe)ie[fe].lines.length||IA(ie[fe],"hide");if(le)for(var ge=0;ge<le.length;++ge)le[ge].lines.length&&IA(le[ge],"unhide");x.wrapper.offsetHeight&&(b.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&IA(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Fi(a,y){if(a.curOp)return y();Ho(a);try{return y()}finally{To(a)}}function Yn(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Ho(a);try{return y.apply(a,arguments)}finally{To(a)}}}function vi(a){return function(){if(this.curOp)return a.apply(this,arguments);Ho(this);try{return a.apply(this,arguments)}finally{To(this)}}}function ei(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Ho(y);try{return a.apply(this,arguments)}finally{To(y)}}}function Mo(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,aA($a,a))}function $a(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var x=+new Date+a.options.workTime,b=zr(a,y.highlightFrontier),E=[];y.iter(b.line,Math.min(y.first+y.size,a.display.viewTo+500),function(ie){if(b.line>=a.display.viewFrom){var le=ie.styles,fe=ie.text.length>a.options.maxHighlightLength?or(y.mode,b.state):null,ge=Fr(a,ie,b,!0);fe&&(b.state=fe),ie.styles=ge.styles;var me=ie.styleClasses,De=ge.classes;De?ie.styleClasses=De:me&&(ie.styleClasses=null);for(var Ne=!le||le.length!=ie.styles.length||me!=De&&(!me||!De||me.bgClass!=De.bgClass||me.textClass!=De.textClass),dt=0;!Ne&&dt<le.length;++dt)Ne=le[dt]!=ie.styles[dt];Ne&&E.push(b.line),ie.stateAfter=b.save(),b.nextLine()}else ie.text.length<=a.options.maxHighlightLength&&qr(a,ie.text,b),ie.stateAfter=b.line%5==0?b.save():null,b.nextLine();if(+new Date>x)return Mo(a,a.options.workDelay),!0}),y.highlightFrontier=b.line,y.modeFrontier=Math.max(y.modeFrontier,b.line),E.length&&Fi(a,function(){for(var ie=0;ie<E.length;ie++)Ao(a,E[ie],"text")})}}var es=function(a,y,x){var b=a.display;this.viewport=y,this.visible=Xa(b,a.doc,y),this.editorIsHidden=!b.wrapper.offsetWidth,this.wrapperHeight=b.wrapper.clientHeight,this.wrapperWidth=b.wrapper.clientWidth,this.oldDisplayWidth=ai(a),this.force=x,this.dims=ho(a),this.events=[]};es.prototype.signal=function(a,y){mA(a,y)&&this.events.push(arguments)},es.prototype.finish=function(){for(var a=0;a<this.events.length;a++)IA.apply(null,this.events[a])};function yu(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=bi(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=bi(a)+"px",y.scrollbarsClipped=!0)}function bu(a){if(a.hasFocus())return null;var y=_e();if(!y||!$e(a.display.lineDiv,y))return null;var x={activeElt:y};if(window.getSelection){var b=window.getSelection();b.anchorNode&&b.extend&&$e(a.display.lineDiv,b.anchorNode)&&(x.anchorNode=b.anchorNode,x.anchorOffset=b.anchorOffset,x.focusNode=b.focusNode,x.focusOffset=b.focusOffset)}return x}function xu(a){if(!(!a||!a.activeElt||a.activeElt==_e())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&$e(document.body,a.anchorNode)&&$e(document.body,a.focusNode))){var y=window.getSelection(),x=document.createRange();x.setEnd(a.anchorNode,a.anchorOffset),x.collapse(!1),y.removeAllRanges(),y.addRange(x),y.extend(a.focusNode,a.focusOffset)}}function Qs(a,y){var x=a.display,b=a.doc;if(y.editorIsHidden)return ro(a),!1;if(!y.force&&y.visible.from>=x.viewFrom&&y.visible.to<=x.viewTo&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo)&&x.renderedView==x.view&&sl(a)==0)return!1;Bl(a)&&(ro(a),y.dims=ho(a));var E=b.first+b.size,ie=Math.max(y.visible.from-a.options.viewportMargin,b.first),le=Math.min(E,y.visible.to+a.options.viewportMargin);x.viewFrom<ie&&ie-x.viewFrom<20&&(ie=Math.max(b.first,x.viewFrom)),x.viewTo>le&&x.viewTo-le<20&&(le=Math.min(E,x.viewTo)),xe&&(ie=BA(a.doc,ie),le=WA(a.doc,le));var fe=ie!=x.viewFrom||le!=x.viewTo||x.lastWrapHeight!=y.wrapperHeight||x.lastWrapWidth!=y.wrapperWidth;al(a,ie,le),x.viewOffset=gr(He(a.doc,x.viewFrom)),a.display.mover.style.top=x.viewOffset+"px";var ge=sl(a);if(!fe&&ge==0&&!y.force&&x.renderedView==x.view&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo))return!1;var me=bu(a);return ge>4&&(x.lineDiv.style.display="none"),Eu(a,x.updateLineNumbers,y.dims),ge>4&&(x.lineDiv.style.display=""),x.renderedView=x.view,xu(me),uA(x.cursorDiv),uA(x.selectionDiv),x.gutters.style.height=x.sizer.style.minHeight=0,fe&&(x.lastWrapHeight=y.wrapperHeight,x.lastWrapWidth=y.wrapperWidth,Mo(a,400)),x.updateLineNumbers=null,!0}function vl(a,y){for(var x=y.viewport,b=!0;;b=!1){if(!b||!a.options.lineWrapping||y.oldDisplayWidth==ai(a)){if(x&&x.top!=null&&(x={top:Math.min(a.doc.height+oi(a.display)-En(a),x.top)}),y.visible=Xa(a.display,a.doc,x),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else b&&(y.visible=Xa(a.display,a.doc,x));if(!Qs(a,y))break;ja(a);var E=ma(a);vo(a),no(a,E),Us(a,E),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Jo(a,y){var x=new es(a,y);if(Qs(a,x)){ja(a),vl(a,x);var b=ma(a);vo(a),no(a,b),Us(a,b),x.finish()}}function Eu(a,y,x){var b=a.display,E=a.options.lineNumbers,ie=b.lineDiv,le=ie.firstChild;function fe(Zt){var gA=Zt.nextSibling;return Ye&&Oe&&a.display.currentWheelTarget==Zt?Zt.style.display="none":Zt.parentNode.removeChild(Zt),gA}for(var ge=b.view,me=b.viewFrom,De=0;De<ge.length;De++){var Ne=ge[De];if(!Ne.hidden)if(!Ne.node||Ne.node.parentNode!=ie){var dt=Hr(a,Ne,me,x);ie.insertBefore(dt,le)}else{for(;le!=Ne.node;)le=fe(le);var ut=E&&y!=null&&y<=me&&Ne.lineNumber;Ne.changes&&(Ct(Ne.changes,"gutter")>-1&&(ut=!1),uo(a,Ne,me,x)),ut&&(uA(Ne.lineNumber),Ne.lineNumber.appendChild(document.createTextNode(Kt(a.options,me)))),le=Ne.node.nextSibling}me+=Ne.size}for(;le;)le=fe(le)}function Ss(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function Us(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+bi(a)+"px"}function ml(a){var y=a.display,x=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var b=Zo(y)-y.scroller.scrollLeft+a.doc.scrollLeft,E=y.gutters.offsetWidth,ie=b+"px",le=0;le<x.length;le++)if(!x[le].hidden){a.options.fixedGutter&&(x[le].gutter&&(x[le].gutter.style.left=ie),x[le].gutterBackground&&(x[le].gutterBackground.style.left=ie));var fe=x[le].alignable;if(fe)for(var ge=0;ge<fe.length;ge++)fe[ge].style.left=ie}a.options.fixedGutter&&(y.gutters.style.left=b+E+"px")}}function Bl(a){if(!a.options.lineNumbers)return!1;var y=a.doc,x=Kt(a.options,y.first+y.size-1),b=a.display;if(x.length!=b.lineNumChars){var E=b.measure.appendChild(Je("div",[Je("div",x)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ie=E.firstChild.offsetWidth,le=E.offsetWidth-ie;return b.lineGutter.style.width="",b.lineNumInnerWidth=Math.max(ie,b.lineGutter.offsetWidth-le)+1,b.lineNumWidth=b.lineNumInnerWidth+le,b.lineNumChars=b.lineNumInnerWidth?x.length:-1,b.lineGutter.style.width=b.lineNumWidth+"px",Ss(a.display),!0}return!1}function Is(a,y){for(var x=[],b=!1,E=0;E<a.length;E++){var ie=a[E],le=null;if(typeof ie!="string"&&(le=ie.style,ie=ie.className),ie=="CodeMirror-linenumbers")if(y)b=!0;else continue;x.push({className:ie,style:le})}return y&&!b&&x.push({className:"CodeMirror-linenumbers",style:null}),x}function wl(a){var y=a.gutters,x=a.gutterSpecs;uA(y),a.lineGutter=null;for(var b=0;b<x.length;++b){var E=x[b],ie=E.className,le=E.style,fe=y.appendChild(Je("div",null,"CodeMirror-gutter "+ie));le&&(fe.style.cssText=le),ie=="CodeMirror-linenumbers"&&(a.lineGutter=fe,fe.style.width=(a.lineNumWidth||1)+"px")}y.style.display=x.length?"":"none",Ss(a)}function wa(a){wl(a.display),pi(a),ml(a)}function Fu(a,y,x,b){var E=this;this.input=x,E.scrollbarFiller=Je("div",null,"CodeMirror-scrollbar-filler"),E.scrollbarFiller.setAttribute("cm-not-content","true"),E.gutterFiller=Je("div",null,"CodeMirror-gutter-filler"),E.gutterFiller.setAttribute("cm-not-content","true"),E.lineDiv=yt("div",null,"CodeMirror-code"),E.selectionDiv=Je("div",null,null,"position: relative; z-index: 1"),E.cursorDiv=Je("div",null,"CodeMirror-cursors"),E.measure=Je("div",null,"CodeMirror-measure"),E.lineMeasure=Je("div",null,"CodeMirror-measure"),E.lineSpace=yt("div",[E.measure,E.lineMeasure,E.selectionDiv,E.cursorDiv,E.lineDiv],null,"position: relative; outline: none");var ie=yt("div",[E.lineSpace],"CodeMirror-lines");E.mover=Je("div",[ie],null,"position: relative"),E.sizer=Je("div",[E.mover],"CodeMirror-sizer"),E.sizerWidth=null,E.heightForcer=Je("div",null,null,"position: absolute; height: "+qt+"px; width: 1px;"),E.gutters=Je("div",null,"CodeMirror-gutters"),E.lineGutter=null,E.scroller=Je("div",[E.sizer,E.heightForcer,E.gutters],"CodeMirror-scroll"),E.scroller.setAttribute("tabIndex","-1"),E.wrapper=Je("div",[E.scrollbarFiller,E.gutterFiller,E.scroller],"CodeMirror"),Ee&&Qe<8&&(E.gutters.style.zIndex=-1,E.scroller.style.paddingRight=0),!Ye&&!(se&&ze)&&(E.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(E.wrapper):a(E.wrapper)),E.viewFrom=E.viewTo=y.first,E.reportedViewFrom=E.reportedViewTo=y.first,E.view=[],E.renderedView=null,E.externalMeasured=null,E.viewOffset=0,E.lastWrapHeight=E.lastWrapWidth=0,E.updateLineNumbers=null,E.nativeBarWidth=E.barHeight=E.barWidth=0,E.scrollbarsClipped=!1,E.lineNumWidth=E.lineNumInnerWidth=E.lineNumChars=null,E.alignWidgets=!1,E.cachedCharWidth=E.cachedTextHeight=E.cachedPaddingH=null,E.maxLine=null,E.maxLineLength=0,E.maxLineChanged=!1,E.wheelDX=E.wheelDY=E.wheelStartX=E.wheelStartY=null,E.shift=!1,E.selForContextMenu=null,E.activeTouch=null,E.gutterSpecs=Is(b.gutters,b.lineNumbers),wl(E),x.init(E)}var ts=0,ki=null;Ee?ki=-.53:se?ki=15:Ue?ki=-.7:bt&&(ki=-1/3);function Cl(a){var y=a.wheelDeltaX,x=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),x==null&&a.detail&&a.axis==a.VERTICAL_AXIS?x=a.detail:x==null&&(x=a.wheelDelta),{x:y,y:x}}function yl(a){var y=Cl(a);return y.x*=ki,y.y*=ki,y}function bl(a,y){var x=Cl(y),b=x.x,E=x.y,ie=a.display,le=ie.scroller,fe=le.scrollWidth>le.clientWidth,ge=le.scrollHeight>le.clientHeight;if(b&&fe||E&&ge){if(E&&Oe&&Ye){e:for(var me=y.target,De=ie.view;me!=le;me=me.parentNode)for(var Ne=0;Ne<De.length;Ne++)if(De[Ne].node==me){a.display.currentWheelTarget=me;break e}}if(b&&!se&&!Ce&&ki!=null){E&&ge&&pa(a,Math.max(0,le.scrollTop+E*ki)),Do(a,Math.max(0,le.scrollLeft+b*ki)),(!E||E&&ge)&&MA(y),ie.wheelStartX=null;return}if(E&&ki!=null){var dt=E*ki,ut=a.doc.scrollTop,Zt=ut+ie.wrapper.clientHeight;dt<0?ut=Math.max(0,ut+dt-50):Zt=Math.min(a.doc.height,Zt+dt+50),Jo(a,{top:ut,bottom:Zt})}ts<20&&(ie.wheelStartX==null?(ie.wheelStartX=le.scrollLeft,ie.wheelStartY=le.scrollTop,ie.wheelDX=b,ie.wheelDY=E,setTimeout(function(){if(ie.wheelStartX!=null){var gA=le.scrollLeft-ie.wheelStartX,QA=le.scrollTop-ie.wheelStartY,OA=QA&&ie.wheelDY&&QA/ie.wheelDY||gA&&ie.wheelDX&&gA/ie.wheelDX;ie.wheelStartX=ie.wheelStartY=null,OA&&(ki=(ki*ts+OA)/(ts+1),++ts)}},200)):(ie.wheelDX+=b,ie.wheelDY+=E))}}var Di=function(a,y){this.ranges=a,this.primIndex=y};Di.prototype.primary=function(){return this.ranges[this.primIndex]},Di.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var x=this.ranges[y],b=a.ranges[y];if(!EA(x.anchor,b.anchor)||!EA(x.head,b.head))return!1}return!0},Di.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Bn(DA(this.ranges[y].anchor),DA(this.ranges[y].head));return new Di(a,this.primIndex)},Di.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Di.prototype.contains=function(a,y){y||(y=a);for(var x=0;x<this.ranges.length;x++){var b=this.ranges[x];if(Gt(y,b.from())>=0&&Gt(a,b.to())<=0)return x}return-1};var Bn=function(a,y){this.anchor=a,this.head=y};Bn.prototype.from=function(){return at(this.anchor,this.head)},Bn.prototype.to=function(){return VA(this.anchor,this.head)},Bn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ci(a,y,x){var b=a&&a.options.selectionsMayTouch,E=y[x];y.sort(function(dt,ut){return Gt(dt.from(),ut.from())}),x=Ct(y,E);for(var ie=1;ie<y.length;ie++){var le=y[ie],fe=y[ie-1],ge=Gt(fe.to(),le.from());if(b&&!le.empty()?ge>0:ge>=0){var me=at(fe.from(),le.from()),De=VA(fe.to(),le.to()),Ne=fe.empty()?le.from()==le.head:fe.from()==fe.head;ie<=x&&--x,y.splice(--ie,2,new Bn(Ne?De:me,Ne?me:De))}}return new Di(y,x)}function Bo(a,y){return new Di([new Bn(a,y||a)],0)}function wo(a){return a.text?qe(a.from.line+a.text.length-1,Me(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function ks(a,y){if(Gt(a,y.from)<0)return a;if(Gt(a,y.to)<=0)return wo(y);var x=a.line+y.text.length-(y.to.line-y.from.line)-1,b=a.ch;return a.line==y.to.line&&(b+=wo(y).ch-y.to.ch),qe(x,b)}function Ds(a,y){for(var x=[],b=0;b<a.sel.ranges.length;b++){var E=a.sel.ranges[b];x.push(new Bn(ks(E.anchor,y),ks(E.head,y)))}return Ci(a.cm,x,a.sel.primIndex)}function xl(a,y,x){return a.line==y.line?qe(x.line,a.ch-y.ch+x.ch):qe(x.line+(a.line-y.line),a.ch)}function Qu(a,y,x){for(var b=[],E=qe(a.first,0),ie=E,le=0;le<y.length;le++){var fe=y[le],ge=xl(fe.from,E,ie),me=xl(wo(fe),E,ie);if(E=fe.to,ie=me,x=="around"){var De=a.sel.ranges[le],Ne=Gt(De.head,De.anchor)<0;b[le]=new Bn(Ne?me:ge,Ne?ge:me)}else b[le]=new Bn(ge,ge)}return new Di(b,a.sel.primIndex)}function Ls(a){a.doc.mode=UA(a.options,a.doc.modeOption),Ca(a)}function Ca(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,Mo(a,100),a.state.modeGen++,a.curOp&&pi(a)}function El(a,y){return y.from.ch==0&&y.to.ch==0&&Me(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function Hs(a,y,x,b){function E(XA){return x?x[XA]:null}function ie(XA,PA,tr){on(XA,PA,tr,b),Rn(XA,"change",XA,y)}function le(XA,PA){for(var tr=[],kr=XA;kr<PA;++kr)tr.push(new Kr(me[kr],E(kr),b));return tr}var fe=y.from,ge=y.to,me=y.text,De=He(a,fe.line),Ne=He(a,ge.line),dt=Me(me),ut=E(me.length-1),Zt=ge.line-fe.line;if(y.full)a.insert(0,le(0,me.length)),a.remove(me.length,a.size-me.length);else if(El(a,y)){var gA=le(0,me.length-1);ie(Ne,Ne.text,ut),Zt&&a.remove(fe.line,Zt),gA.length&&a.insert(fe.line,gA)}else if(De==Ne)if(me.length==1)ie(De,De.text.slice(0,fe.ch)+dt+De.text.slice(ge.ch),ut);else{var QA=le(1,me.length-1);QA.push(new Kr(dt+De.text.slice(ge.ch),ut,b)),ie(De,De.text.slice(0,fe.ch)+me[0],E(0)),a.insert(fe.line+1,QA)}else if(me.length==1)ie(De,De.text.slice(0,fe.ch)+me[0]+Ne.text.slice(ge.ch),E(0)),a.remove(fe.line+1,Zt);else{ie(De,De.text.slice(0,fe.ch)+me[0],E(0)),ie(Ne,dt+Ne.text.slice(ge.ch),ut);var OA=le(1,me.length-1);Zt>1&&a.remove(fe.line+1,Zt-1),a.insert(fe.line+1,OA)}Rn(a,"change",a,y)}function Co(a,y,x){function b(E,ie,le){if(E.linked)for(var fe=0;fe<E.linked.length;++fe){var ge=E.linked[fe];if(ge.doc!=ie){var me=le&&ge.sharedHist;x&&!me||(y(ge.doc,me),b(ge.doc,E,me))}}}b(a,null,!0)}function Jn(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Va(a),Ls(a),Fl(a),a.options.lineWrapping||vr(a),a.options.mode=y.modeOption,pi(a)}function Fl(a){(a.doc.direction=="rtl"?Ze:At)(a.display.lineDiv,"CodeMirror-rtl")}function Su(a){Fi(a,function(){Fl(a),pi(a)})}function As(a){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=a||1}function Ts(a,y){var x={from:DA(y.from),to:wo(y),text:jt(a,y.from,y.to)};return Il(a,x,y.from.line,y.to.line+1),Co(a,function(b){return Il(b,x,y.from.line,y.to.line+1)},!0),x}function Ql(a){for(;a.length;){var y=Me(a);if(y.ranges)a.pop();else break}}function Sl(a,y){if(y)return Ql(a.done),Me(a.done);if(a.done.length&&!Me(a.done).ranges)return Me(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Me(a.done)}function Ul(a,y,x,b){var E=a.history;E.undone.length=0;var ie=+new Date,le,fe;if((E.lastOp==b||E.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&E.lastModTime>ie-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(le=Sl(E,E.lastOp==b)))fe=Me(le.changes),Gt(y.from,y.to)==0&&Gt(y.from,fe.to)==0?fe.to=wo(y):le.changes.push(Ts(a,y));else{var ge=Me(E.done);for((!ge||!ge.ranges)&&rs(a.sel,E.done),le={changes:[Ts(a,y)],generation:E.generation},E.done.push(le);E.done.length>E.undoDepth;)E.done.shift(),E.done[0].ranges||E.done.shift()}E.done.push(x),E.generation=++E.maxGeneration,E.lastModTime=E.lastSelTime=ie,E.lastOp=E.lastSelOp=b,E.lastOrigin=E.lastSelOrigin=y.origin,fe||IA(a,"historyAdded")}function Uu(a,y,x,b){var E=y.charAt(0);return E=="*"||E=="+"&&x.ranges.length==b.ranges.length&&x.somethingSelected()==b.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Iu(a,y,x,b){var E=a.history,ie=b&&b.origin;x==E.lastSelOp||ie&&E.lastSelOrigin==ie&&(E.lastModTime==E.lastSelTime&&E.lastOrigin==ie||Uu(a,ie,Me(E.done),y))?E.done[E.done.length-1]=y:rs(y,E.done),E.lastSelTime=+new Date,E.lastSelOrigin=ie,E.lastSelOp=x,b&&b.clearRedo!==!1&&Ql(E.undone)}function rs(a,y){var x=Me(y);x&&x.ranges&&x.equals(a)||y.push(a)}function Il(a,y,x,b){var E=y["spans_"+a.id],ie=0;a.iter(Math.max(a.first,x),Math.min(a.first+a.size,b),function(le){le.markedSpans&&((E||(E=y["spans_"+a.id]={}))[ie]=le.markedSpans),++ie})}function ku(a){if(!a)return null;for(var y,x=0;x<a.length;++x)a[x].marker.explicitlyCleared?y||(y=a.slice(0,x)):y&&y.push(a[x]);return y?y.length?y:null:a}function kl(a,y){var x=y["spans_"+a.id];if(!x)return null;for(var b=[],E=0;E<y.text.length;++E)b.push(ku(x[E]));return b}function rr(a,y){var x=kl(a,y),b=nA(a,y);if(!x)return b;if(!b)return x;for(var E=0;E<x.length;++E){var ie=x[E],le=b[E];if(ie&&le)e:for(var fe=0;fe<le.length;++fe){for(var ge=le[fe],me=0;me<ie.length;++me)if(ie[me].marker==ge.marker)continue e;ie.push(ge)}else le&&(x[E]=le)}return x}function qo(a,y,x){for(var b=[],E=0;E<a.length;++E){var ie=a[E];if(ie.ranges){b.push(x?Di.prototype.deepCopy.call(ie):ie);continue}var le=ie.changes,fe=[];b.push({changes:fe});for(var ge=0;ge<le.length;++ge){var me=le[ge],De=void 0;if(fe.push({from:me.from,to:me.to,text:me.text}),y)for(var Ne in me)(De=Ne.match(/^spans_(\d+)$/))&&Ct(y,Number(De[1]))>-1&&(Me(fe)[Ne]=me[Ne],delete me[Ne])}}return b}function Ms(a,y,x,b){if(b){var E=a.anchor;if(x){var ie=Gt(y,E)<0;ie!=Gt(x,E)<0?(E=y,y=x):ie!=Gt(y,x)<0&&(y=x)}return new Bn(E,y)}else return new Bn(x||y,y)}function $o(a,y,x,b,E){E==null&&(E=a.cm&&(a.cm.display.shift||a.extend)),li(a,new Di([Ms(a.sel.primary(),y,x,E)],0),b)}function Zi(a,y,x){for(var b=[],E=a.cm&&(a.cm.display.shift||a.extend),ie=0;ie<a.sel.ranges.length;ie++)b[ie]=Ms(a.sel.ranges[ie],y[ie],null,E);var le=Ci(a.cm,b,a.sel.primIndex);li(a,le,x)}function Os(a,y,x,b){var E=a.sel.ranges.slice(0);E[y]=x,li(a,Ci(a.cm,E,a.sel.primIndex),b)}function Rs(a,y,x,b){li(a,Bo(y,x),b)}function ya(a,y,x){var b={ranges:y.ranges,update:function(E){this.ranges=[];for(var ie=0;ie<E.length;ie++)this.ranges[ie]=new Bn(Wt(a,E[ie].anchor),Wt(a,E[ie].head))},origin:x&&x.origin};return IA(a,"beforeSelectionChange",a,b),a.cm&&IA(a.cm,"beforeSelectionChange",a.cm,b),b.ranges!=y.ranges?Ci(a.cm,b.ranges,b.ranges.length-1):y}function ba(a,y,x){var b=a.history.done,E=Me(b);E&&E.ranges?(b[b.length-1]=y,ns(a,y,x)):li(a,y,x)}function li(a,y,x){ns(a,y,x),Iu(a,a.sel,a.cm?a.cm.curOp.id:NaN,x)}function ns(a,y,x){(mA(a,"beforeSelectionChange")||a.cm&&mA(a.cm,"beforeSelectionChange"))&&(y=ya(a,y,x));var b=x&&x.bias||(Gt(y.primary().head,a.sel.primary().head)<0?-1:1);Dl(a,is(a,y,b,!0)),!(x&&x.scroll===!1)&&a.cm&&Yo(a.cm)}function Dl(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,GA(a.cm)),Rn(a,"cursorActivity",a))}function yo(a){Dl(a,is(a,a.sel,null,!1))}function is(a,y,x,b){for(var E,ie=0;ie<y.ranges.length;ie++){var le=y.ranges[ie],fe=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[ie],ge=os(a,le.anchor,fe&&fe.anchor,x,b),me=os(a,le.head,fe&&fe.head,x,b);(E||ge!=le.anchor||me!=le.head)&&(E||(E=y.ranges.slice(0,ie)),E[ie]=new Bn(ge,me))}return E?Ci(a.cm,E,y.primIndex):y}function bo(a,y,x,b,E){var ie=He(a,y.line);if(ie.markedSpans)for(var le=0;le<ie.markedSpans.length;++le){var fe=ie.markedSpans[le],ge=fe.marker,me="selectLeft"in ge?!ge.selectLeft:ge.inclusiveLeft,De="selectRight"in ge?!ge.selectRight:ge.inclusiveRight;if((fe.from==null||(me?fe.from<=y.ch:fe.from<y.ch))&&(fe.to==null||(De?fe.to>=y.ch:fe.to>y.ch))){if(E&&(IA(ge,"beforeCursorEnter"),ge.explicitlyCleared))if(ie.markedSpans){--le;continue}else break;if(!ge.atomic)continue;if(x){var Ne=ge.find(b<0?1:-1),dt=void 0;if((b<0?De:me)&&(Ne=Ps(a,Ne,-b,Ne&&Ne.line==y.line?ie:null)),Ne&&Ne.line==y.line&&(dt=Gt(Ne,x))&&(b<0?dt<0:dt>0))return bo(a,Ne,y,b,E)}var ut=ge.find(b<0?-1:1);return(b<0?me:De)&&(ut=Ps(a,ut,b,ut.line==y.line?ie:null)),ut?bo(a,ut,y,b,E):null}}return y}function os(a,y,x,b,E){var ie=b||1,le=bo(a,y,x,ie,E)||!E&&bo(a,y,x,ie,!0)||bo(a,y,x,-ie,E)||!E&&bo(a,y,x,-ie,!0);return le||(a.cantEdit=!0,qe(a.first,0))}function Ps(a,y,x,b){return x<0&&y.ch==0?y.line>a.first?Wt(a,qe(y.line-1)):null:x>0&&y.ch==(b||He(a,y.line)).text.length?y.line<a.first+a.size-1?qe(y.line+1,0):null:new qe(y.line,y.ch+x)}function Ll(a){a.setSelection(qe(a.firstLine(),0),qe(a.lastLine()),Ve)}function as(a,y,x){var b={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return b.canceled=!0}};return x&&(b.update=function(E,ie,le,fe){E&&(b.from=Wt(a,E)),ie&&(b.to=Wt(a,ie)),le&&(b.text=le),fe!==void 0&&(b.origin=fe)}),IA(a,"beforeChange",a,b),a.cm&&IA(a.cm,"beforeChange",a.cm,b),b.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:b.from,to:b.to,text:b.text,origin:b.origin}}function ea(a,y,x){if(a.cm){if(!a.cm.curOp)return Yn(a.cm,ea)(a,y,x);if(a.cm.state.suppressEdits)return}if(!((mA(a,"beforeChange")||a.cm&&mA(a.cm,"beforeChange"))&&(y=as(a,y,!0),!y))){var b=ve&&!x&&er(a,y.from,y.to);if(b)for(var E=b.length-1;E>=0;--E)Hl(a,{from:b[E].from,to:b[E].to,text:E?[""]:y.text,origin:y.origin});else Hl(a,y)}}function Hl(a,y){if(!(y.text.length==1&&y.text[0]==""&&Gt(y.from,y.to)==0)){var x=Ds(a,y);Ul(a,y,x,a.cm?a.cm.curOp.id:NaN),xa(a,y,x,nA(a,y));var b=[];Co(a,function(E,ie){!ie&&Ct(b,E.history)==-1&&(Ol(E.history,y),b.push(E.history)),xa(E,y,null,nA(E,y))})}}function ss(a,y,x){var b=a.cm&&a.cm.state.suppressEdits;if(!(b&&!x)){for(var E=a.history,ie,le=a.sel,fe=y=="undo"?E.done:E.undone,ge=y=="undo"?E.undone:E.done,me=0;me<fe.length&&(ie=fe[me],!(x?ie.ranges&&!ie.equals(a.sel):!ie.ranges));me++);if(me!=fe.length){for(E.lastOrigin=E.lastSelOrigin=null;;)if(ie=fe.pop(),ie.ranges){if(rs(ie,ge),x&&!ie.equals(a.sel)){li(a,ie,{clearRedo:!1});return}le=ie}else if(b){fe.push(ie);return}else break;var De=[];rs(le,ge),ge.push({changes:De,generation:E.generation}),E.generation=ie.generation||++E.maxGeneration;for(var Ne=mA(a,"beforeChange")||a.cm&&mA(a.cm,"beforeChange"),dt=function(gA){var QA=ie.changes[gA];if(QA.origin=y,Ne&&!as(a,QA,!1))return fe.length=0,{};De.push(Ts(a,QA));var OA=gA?Ds(a,QA):Me(fe);xa(a,QA,OA,rr(a,QA)),!gA&&a.cm&&a.cm.scrollIntoView({from:QA.from,to:wo(QA)});var XA=[];Co(a,function(PA,tr){!tr&&Ct(XA,PA.history)==-1&&(Ol(PA.history,QA),XA.push(PA.history)),xa(PA,QA,null,rr(PA,QA))})},ut=ie.changes.length-1;ut>=0;--ut){var Zt=dt(ut);if(Zt)return Zt.v}}}}function Tl(a,y){if(y!=0&&(a.first+=y,a.sel=new Di(Bt(a.sel.ranges,function(E){return new Bn(qe(E.anchor.line+y,E.anchor.ch),qe(E.head.line+y,E.head.ch))}),a.sel.primIndex),a.cm)){pi(a.cm,a.first,a.first-y,y);for(var x=a.cm.display,b=x.viewFrom;b<x.viewTo;b++)Ao(a.cm,b,"gutter")}}function xa(a,y,x,b){if(a.cm&&!a.cm.curOp)return Yn(a.cm,xa)(a,y,x,b);if(y.to.line<a.first){Tl(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var E=y.text.length-1-(a.first-y.from.line);Tl(a,E),y={from:qe(a.first,0),to:qe(y.to.line+E,y.to.ch),text:[Me(y.text)],origin:y.origin}}var ie=a.lastLine();y.to.line>ie&&(y={from:y.from,to:qe(ie,He(a,ie).text.length),text:[y.text[0]],origin:y.origin}),y.removed=jt(a,y.from,y.to),x||(x=Ds(a,y)),a.cm?Du(a.cm,y,b):Hs(a,y,b),ns(a,x,Ve),a.cantEdit&&os(a,qe(a.firstLine(),0))&&(a.cantEdit=!1)}}function Du(a,y,x){var b=a.doc,E=a.display,ie=y.from,le=y.to,fe=!1,ge=ie.line;a.options.lineWrapping||(ge=Te(tt(He(b,ie.line))),b.iter(ge,le.line+1,function(ut){if(ut==E.maxLine)return fe=!0,!0})),b.sel.contains(y.from,y.to)>-1&&GA(a),Hs(b,y,x,ol(a)),a.options.lineWrapping||(b.iter(ge,ie.line+y.text.length,function(ut){var Zt=Dr(ut);Zt>E.maxLineLength&&(E.maxLine=ut,E.maxLineLength=Zt,E.maxLineChanged=!0,fe=!1)}),fe&&(a.curOp.updateMaxLine=!0)),we(b,ie.line),Mo(a,400);var me=y.text.length-(le.line-ie.line)-1;y.full?pi(a):ie.line==le.line&&y.text.length==1&&!El(a.doc,y)?Ao(a,ie.line,"text"):pi(a,ie.line,le.line+1,me);var De=mA(a,"changes"),Ne=mA(a,"change");if(Ne||De){var dt={from:ie,to:le,text:y.text,removed:y.removed,origin:y.origin};Ne&&Rn(a,"change",a,dt),De&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(dt)}a.display.selForContextMenu=null}function ta(a,y,x,b,E){var ie;b||(b=x),Gt(b,x)<0&&(ie=[b,x],x=ie[0],b=ie[1]),typeof y=="string"&&(y=a.splitLines(y)),ea(a,{from:x,to:b,text:y,origin:E})}function Ml(a,y,x,b){x<a.line?a.line+=b:y<a.line&&(a.line=y,a.ch=0)}function Ns(a,y,x,b){for(var E=0;E<a.length;++E){var ie=a[E],le=!0;if(ie.ranges){ie.copied||(ie=a[E]=ie.deepCopy(),ie.copied=!0);for(var fe=0;fe<ie.ranges.length;fe++)Ml(ie.ranges[fe].anchor,y,x,b),Ml(ie.ranges[fe].head,y,x,b);continue}for(var ge=0;ge<ie.changes.length;++ge){var me=ie.changes[ge];if(x<me.from.line)me.from=qe(me.from.line+b,me.from.ch),me.to=qe(me.to.line+b,me.to.ch);else if(y<=me.to.line){le=!1;break}}le||(a.splice(0,E+1),E=0)}}function Ol(a,y){var x=y.from.line,b=y.to.line,E=y.text.length-(b-x)-1;Ns(a.done,x,b,E),Ns(a.undone,x,b,E)}function Ea(a,y,x,b){var E=y,ie=y;return typeof y=="number"?ie=He(a,SA(a,y)):E=Te(y),E==null?null:(b(ie,E)&&a.cm&&Ao(a.cm,E,x),ie)}function Fa(a){this.lines=a,this.parent=null;for(var y=0,x=0;x<a.length;++x)a[x].parent=this,y+=a[x].height;this.height=y}Fa.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var x=a,b=a+y;x<b;++x){var E=this.lines[x];this.height-=E.height,Sn(E),Rn(E,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,x){this.height+=x,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var b=0;b<y.length;++b)y[b].parent=this},iterN:function(a,y,x){for(var b=a+y;a<b;++a)if(x(this.lines[a]))return!0}};function Aa(a){this.children=a;for(var y=0,x=0,b=0;b<a.length;++b){var E=a[b];y+=E.chunkSize(),x+=E.height,E.parent=this}this.size=y,this.height=x,this.parent=null}Aa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var x=0;x<this.children.length;++x){var b=this.children[x],E=b.chunkSize();if(a<E){var ie=Math.min(y,E-a),le=b.height;if(b.removeInner(a,ie),this.height-=le-b.height,E==ie&&(this.children.splice(x--,1),b.parent=null),(y-=ie)==0)break;a=0}else a-=E}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof Fa))){var fe=[];this.collapse(fe),this.children=[new Fa(fe)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,x){this.size+=y.length,this.height+=x;for(var b=0;b<this.children.length;++b){var E=this.children[b],ie=E.chunkSize();if(a<=ie){if(E.insertInner(a,y,x),E.lines&&E.lines.length>50){for(var le=E.lines.length%25+25,fe=le;fe<E.lines.length;){var ge=new Fa(E.lines.slice(fe,fe+=25));E.height-=ge.height,this.children.splice(++b,0,ge),ge.parent=this}E.lines=E.lines.slice(0,le),this.maybeSpill()}break}a-=ie}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),x=new Aa(y);if(a.parent){a.size-=x.size,a.height-=x.height;var E=Ct(a.parent.children,a);a.parent.children.splice(E+1,0,x)}else{var b=new Aa(a.children);b.parent=a,a.children=[b,x],a=b}x.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,x){for(var b=0;b<this.children.length;++b){var E=this.children[b],ie=E.chunkSize();if(a<ie){var le=Math.min(y,ie-a);if(E.iterN(a,le,x))return!0;if((y-=le)==0)break;a=0}else a-=ie}}};var Qa=function(a,y,x){if(x)for(var b in x)x.hasOwnProperty(b)&&(this[b]=x[b]);this.doc=a,this.node=y};Qa.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,x=this.line,b=Te(x);if(!(b==null||!y)){for(var E=0;E<y.length;++E)y[E]==this&&y.splice(E--,1);y.length||(x.widgets=null);var ie=hi(this);HA(x,Math.max(0,x.height-ie)),a&&(Fi(a,function(){Sa(a,x,-ie),Ao(a,b,"widget")}),Rn(a,"lineWidgetCleared",a,this,b))}},Qa.prototype.changed=function(){var a=this,y=this.height,x=this.doc.cm,b=this.line;this.height=null;var E=hi(this)-y;E&&(pr(this.doc,b)||HA(b,b.height+E),x&&Fi(x,function(){x.curOp.forceUpdate=!0,Sa(x,b,E),Rn(x,"lineWidgetChanged",x,a,Te(b))}))},yA(Qa);function Sa(a,y,x){gr(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&Fs(a,x)}function Lu(a,y,x,b){var E=new Qa(a,x,b),ie=a.cm;return ie&&E.noHScroll&&(ie.display.alignWidgets=!0),Ea(a,y,"widget",function(le){var fe=le.widgets||(le.widgets=[]);if(E.insertAt==null?fe.push(E):fe.splice(Math.min(fe.length-1,Math.max(0,E.insertAt)),0,E),E.line=le,ie&&!pr(a,le)){var ge=gr(le)<a.scrollTop;HA(le,le.height+hi(E)),ge&&Fs(ie,E.height),ie.curOp.forceUpdate=!0}return!0}),ie&&Rn(ie,"lineWidgetAdded",ie,E,typeof y=="number"?y:Te(y)),E}var ls=0,Xi=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++ls};Xi.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Ho(a),mA(this,"clear")){var x=this.find();x&&Rn(this,"clear",x.from,x.to)}for(var b=null,E=null,ie=0;ie<this.lines.length;++ie){var le=this.lines[ie],fe=Vt(le.markedSpans,this);a&&!this.collapsed?Ao(a,Te(le),"text"):a&&(fe.to!=null&&(E=Te(le)),fe.from!=null&&(b=Te(le))),le.markedSpans=rA(le.markedSpans,fe),fe.from==null&&this.collapsed&&!pr(this.doc,le)&&a&&HA(le,wi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ge=0;ge<this.lines.length;++ge){var me=tt(this.lines[ge]),De=Dr(me);De>a.display.maxLineLength&&(a.display.maxLine=me,a.display.maxLineLength=De,a.display.maxLineChanged=!0)}b!=null&&a&&this.collapsed&&pi(a,b,E+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&yo(a.doc)),a&&Rn(a,"markerCleared",a,this,b,E),y&&To(a),this.parent&&this.parent.clear()}},Xi.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var x,b,E=0;E<this.lines.length;++E){var ie=this.lines[E],le=Vt(ie.markedSpans,this);if(le.from!=null&&(x=qe(y?ie:Te(ie),le.from),a==-1))return x;if(le.to!=null&&(b=qe(y?ie:Te(ie),le.to),a==1))return b}return x&&{from:x,to:b}},Xi.prototype.changed=function(){var a=this,y=this.find(-1,!0),x=this,b=this.doc.cm;!y||!b||Fi(b,function(){var E=y.line,ie=Te(y.line),le=xi(b,ie);if(le&&(Vo(le),b.curOp.selectionChanged=b.curOp.forceUpdate=!0),b.curOp.updateMaxLine=!0,!pr(x.doc,E)&&x.height!=null){var fe=x.height;x.height=null;var ge=hi(x)-fe;ge&&HA(E,E.height+ge)}Rn(b,"markerChanged",b,a)})},Xi.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||Ct(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},Xi.prototype.detachLine=function(a){if(this.lines.splice(Ct(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},yA(Xi);function Oo(a,y,x,b,E){if(b&&b.shared)return Hu(a,y,x,b,E);if(a.cm&&!a.cm.curOp)return Yn(a.cm,Oo)(a,y,x,b,E);var ie=new Xi(a,E),le=Gt(y,x);if(b&&Jt(b,ie,!1),le>0||le==0&&ie.clearWhenEmpty!==!1)return ie;if(ie.replacedWith&&(ie.collapsed=!0,ie.widgetNode=yt("span",[ie.replacedWith],"CodeMirror-widget"),b.handleMouseEvents||ie.widgetNode.setAttribute("cm-ignore-events","true"),b.insertLeft&&(ie.widgetNode.insertLeft=!0)),ie.collapsed){if(Ut(a,y.line,y,x,ie)||y.line!=x.line&&Ut(a,x.line,y,x,ie))throw new Error("Inserting collapsed marker partially overlapping an existing one");st()}ie.addToHistory&&Ul(a,{from:y,to:x,origin:"markText"},a.sel,NaN);var fe=y.line,ge=a.cm,me;if(a.iter(fe,x.line+1,function(Ne){ge&&ie.collapsed&&!ge.options.lineWrapping&&tt(Ne)==ge.display.maxLine&&(me=!0),ie.collapsed&&fe!=y.line&&HA(Ne,0),wA(Ne,new Et(ie,fe==y.line?y.ch:null,fe==x.line?x.ch:null)),++fe}),ie.collapsed&&a.iter(y.line,x.line+1,function(Ne){pr(a,Ne)&&HA(Ne,0)}),ie.clearOnEnter&&Nt(ie,"beforeCursorEnter",function(){return ie.clear()}),ie.readOnly&&(Pe(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ie.collapsed&&(ie.id=++ls,ie.atomic=!0),ge){if(me&&(ge.curOp.updateMaxLine=!0),ie.collapsed)pi(ge,y.line,x.line+1);else if(ie.className||ie.startStyle||ie.endStyle||ie.css||ie.attributes||ie.title)for(var De=y.line;De<=x.line;De++)Ao(ge,De,"text");ie.atomic&&yo(ge.doc),Rn(ge,"markerAdded",ge,ie)}return ie}var ra=function(a,y){this.markers=a,this.primary=y;for(var x=0;x<a.length;++x)a[x].parent=this};ra.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Rn(this,"clear")}},ra.prototype.find=function(a,y){return this.primary.find(a,y)},yA(ra);function Hu(a,y,x,b,E){b=Jt(b),b.shared=!1;var ie=[Oo(a,y,x,b,E)],le=ie[0],fe=b.widgetNode;return Co(a,function(ge){fe&&(b.widgetNode=fe.cloneNode(!0)),ie.push(Oo(ge,Wt(ge,y),Wt(ge,x),b,E));for(var me=0;me<ge.linked.length;++me)if(ge.linked[me].isParent)return;le=Me(ie)}),new ra(ie,le)}function Ks(a){return a.findMarks(qe(a.first,0),a.clipPos(qe(a.lastLine())),function(y){return y.parent})}function _s(a,y){for(var x=0;x<y.length;x++){var b=y[x],E=b.find(),ie=a.clipPos(E.from),le=a.clipPos(E.to);if(Gt(ie,le)){var fe=Oo(a,ie,le,b.primary,b.primary.type);b.markers.push(fe),fe.parent=b}}}function Gs(a){for(var y=function(b){var E=a[b],ie=[E.primary.doc];Co(E.primary.doc,function(ge){return ie.push(ge)});for(var le=0;le<E.markers.length;le++){var fe=E.markers[le];Ct(ie,fe.doc)==-1&&(fe.parent=null,E.markers.splice(le--,1))}},x=0;x<a.length;x++)y(x)}var Rl=0,mi=function(a,y,x,b,E){if(!(this instanceof mi))return new mi(a,y,x,b,E);x==null&&(x=0),Aa.call(this,[new Fa([new Kr("",null)])]),this.first=x,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=x;var ie=qe(x,0);this.sel=Bo(ie),this.history=new As(null),this.id=++Rl,this.modeOption=y,this.lineSep=b,this.direction=E=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),Hs(this,{from:ie,to:ie,text:a}),li(this,Bo(ie),Ve)};mi.prototype=ne(Aa.prototype,{constructor:mi,iter:function(a,y,x){x?this.iterN(a-this.first,y-a,x):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var x=0,b=0;b<y.length;++b)x+=y[b].height;this.insertInner(a-this.first,y,x)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=kA(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:ei(function(a){var y=qe(this.first,0),x=this.first+this.size-1;ea(this,{from:y,to:qe(x,He(this,x).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&mo(this.cm,0,0),li(this,Bo(y),Ve)}),replaceRange:function(a,y,x,b){y=Wt(this,y),x=x?Wt(this,x):y,ta(this,a,y,x,b)},getRange:function(a,y,x){var b=jt(this,Wt(this,a),Wt(this,y));return x===!1?b:b.join(x||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(dA(this,a))return He(this,a)},getLineNumber:function(a){return Te(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=He(this,a)),tt(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Wt(this,a)},getCursor:function(a){var y=this.sel.primary(),x;return a==null||a=="head"?x=y.head:a=="anchor"?x=y.anchor:a=="end"||a=="to"||a===!1?x=y.to():x=y.from(),x},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ei(function(a,y,x){Rs(this,Wt(this,typeof a=="number"?qe(a,y||0):a),null,x)}),setSelection:ei(function(a,y,x){Rs(this,Wt(this,a),Wt(this,y||a),x)}),extendSelection:ei(function(a,y,x){$o(this,Wt(this,a),y&&Wt(this,y),x)}),extendSelections:ei(function(a,y){Zi(this,bA(this,a),y)}),extendSelectionsBy:ei(function(a,y){var x=Bt(this.sel.ranges,a);Zi(this,bA(this,x),y)}),setSelections:ei(function(a,y,x){if(a.length){for(var b=[],E=0;E<a.length;E++)b[E]=new Bn(Wt(this,a[E].anchor),Wt(this,a[E].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),li(this,Ci(this.cm,b,y),x)}}),addSelection:ei(function(a,y,x){var b=this.sel.ranges.slice(0);b.push(new Bn(Wt(this,a),Wt(this,y||a))),li(this,Ci(this.cm,b,b.length-1),x)}),getSelection:function(a){for(var y=this.sel.ranges,x,b=0;b<y.length;b++){var E=jt(this,y[b].from(),y[b].to());x=x?x.concat(E):E}return a===!1?x:x.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],x=this.sel.ranges,b=0;b<x.length;b++){var E=jt(this,x[b].from(),x[b].to());a!==!1&&(E=E.join(a||this.lineSeparator())),y[b]=E}return y},replaceSelection:function(a,y,x){for(var b=[],E=0;E<this.sel.ranges.length;E++)b[E]=a;this.replaceSelections(b,y,x||"+input")},replaceSelections:ei(function(a,y,x){for(var b=[],E=this.sel,ie=0;ie<E.ranges.length;ie++){var le=E.ranges[ie];b[ie]={from:le.from(),to:le.to(),text:this.splitLines(a[ie]),origin:x}}for(var fe=y&&y!="end"&&Qu(this,b,y),ge=b.length-1;ge>=0;ge--)ea(this,b[ge]);fe?ba(this,fe):this.cm&&Yo(this.cm)}),undo:ei(function(){ss(this,"undo")}),redo:ei(function(){ss(this,"redo")}),undoSelection:ei(function(){ss(this,"undo",!0)}),redoSelection:ei(function(){ss(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,x=0,b=0;b<a.done.length;b++)a.done[b].ranges||++y;for(var E=0;E<a.undone.length;E++)a.undone[E].ranges||++x;return{undo:y,redo:x}},clearHistory:function(){var a=this;this.history=new As(this.history.maxGeneration),Co(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:qo(this.history.done),undone:qo(this.history.undone)}},setHistory:function(a){var y=this.history=new As(this.history.maxGeneration);y.done=qo(a.done.slice(0),null,!0),y.undone=qo(a.undone.slice(0),null,!0)},setGutterMarker:ei(function(a,y,x){return Ea(this,a,"gutter",function(b){var E=b.gutterMarkers||(b.gutterMarkers={});return E[y]=x,!x&&oe(E)&&(b.gutterMarkers=null),!0})}),clearGutter:ei(function(a){var y=this;this.iter(function(x){x.gutterMarkers&&x.gutterMarkers[a]&&Ea(y,x,"gutter",function(){return x.gutterMarkers[a]=null,oe(x.gutterMarkers)&&(x.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!dA(this,a)||(y=a,a=He(this,a),!a))return null}else if(y=Te(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:ei(function(a,y,x){return Ea(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!b[E])b[E]=x;else{if(lt(x).test(b[E]))return!1;b[E]+=" "+x}return!0})}),removeLineClass:ei(function(a,y,x){return Ea(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",ie=b[E];if(ie)if(x==null)b[E]=null;else{var le=ie.match(lt(x));if(!le)return!1;var fe=le.index+le[0].length;b[E]=ie.slice(0,le.index)+(!le.index||fe==ie.length?"":" ")+ie.slice(fe)||null}else return!1;return!0})}),addLineWidget:ei(function(a,y,x){return Lu(this,a,y,x)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,x){return Oo(this,Wt(this,a),Wt(this,y),x,x&&x.type||"range")},setBookmark:function(a,y){var x={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Wt(this,a),Oo(this,a,a,x,"bookmark")},findMarksAt:function(a){a=Wt(this,a);var y=[],x=He(this,a.line).markedSpans;if(x)for(var b=0;b<x.length;++b){var E=x[b];(E.from==null||E.from<=a.ch)&&(E.to==null||E.to>=a.ch)&&y.push(E.marker.parent||E.marker)}return y},findMarks:function(a,y,x){a=Wt(this,a),y=Wt(this,y);var b=[],E=a.line;return this.iter(a.line,y.line+1,function(ie){var le=ie.markedSpans;if(le)for(var fe=0;fe<le.length;fe++){var ge=le[fe];!(ge.to!=null&&E==a.line&&a.ch>=ge.to||ge.from==null&&E!=a.line||ge.from!=null&&E==y.line&&ge.from>=y.ch)&&(!x||x(ge.marker))&&b.push(ge.marker.parent||ge.marker)}++E}),b},getAllMarks:function(){var a=[];return this.iter(function(y){var x=y.markedSpans;if(x)for(var b=0;b<x.length;++b)x[b].from!=null&&a.push(x[b].marker)}),a},posFromIndex:function(a){var y,x=this.first,b=this.lineSeparator().length;return this.iter(function(E){var ie=E.text.length+b;if(ie>a)return y=a,!0;a-=ie,++x}),Wt(this,qe(x,y))},indexFromPos:function(a){a=Wt(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var x=this.lineSeparator().length;return this.iter(this.first,a.line,function(b){y+=b.text.length+x}),y},copy:function(a){var y=new mi(kA(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,x=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<x&&(x=a.to);var b=new mi(kA(this,y,x),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(b.history=this.history),(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist}),b.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],_s(b,Ks(this)),b},unlinkDoc:function(a){if(a instanceof Qn&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var x=this.linked[y];if(x.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),Gs(Ks(this));break}}if(a.history==this.history){var b=[a.id];Co(a,function(E){return b.push(E.id)},!0),a.history=new As(null),a.history.done=qo(this.history.done,b),a.history.undone=qo(this.history.undone,b)}},iterLinkedDocs:function(a){Co(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Ir(a)},lineSeparator:function(){return this.lineSep||`
|
|
`},setDirection:ei(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&Su(this.cm))})}),mi.prototype.eachLine=mi.prototype.iter;var Ws=0;function Pl(a){var y=this;if(Nl(y),!(mt(y,a)||Xn(y.display,a))){MA(a),Ee&&(Ws=+new Date);var x=go(y,a,!0),b=a.dataTransfer.files;if(!(!x||y.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var E=b.length,ie=Array(E),le=0,fe=function(){++le==E&&Yn(y,function(){x=Wt(y.doc,x);var ut={from:x,to:x,text:y.doc.splitLines(ie.filter(function(Zt){return Zt!=null}).join(y.doc.lineSeparator())),origin:"paste"};ea(y.doc,ut),ba(y.doc,Bo(Wt(y.doc,x),Wt(y.doc,wo(ut))))})()},ge=function(ut,Zt){if(y.options.allowDropFileTypes&&Ct(y.options.allowDropFileTypes,ut.type)==-1){fe();return}var gA=new FileReader;gA.onerror=function(){return fe()},gA.onload=function(){var QA=gA.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(QA)){fe();return}ie[Zt]=QA,fe()},gA.readAsText(ut)},me=0;me<b.length;me++)ge(b[me],me);else{if(y.state.draggingText&&y.doc.sel.contains(x)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var De=a.dataTransfer.getData("Text");if(De){var Ne;if(y.state.draggingText&&!y.state.draggingText.copy&&(Ne=y.listSelections()),ns(y.doc,Bo(x,x)),Ne)for(var dt=0;dt<Ne.length;++dt)ta(y.doc,"",Ne[dt].anchor,Ne[dt].head,"drag");y.replaceSelection(De,"around","paste"),y.display.input.focus()}}catch(ut){}}}}function zs(a,y){if(Ee&&(!a.state.draggingText||+new Date-Ws<100)){ZA(y);return}if(!(mt(a,y)||Xn(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!bt)){var x=Je("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Ce&&(x.width=x.height=1,a.display.wrapper.appendChild(x),x._top=x.offsetTop),y.dataTransfer.setDragImage(x,0,0),Ce&&x.parentNode.removeChild(x)}}function Tu(a,y){var x=go(a,y);if(x){var b=document.createDocumentFragment();ul(a,x,b),a.display.dragCursor||(a.display.dragCursor=Je("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),it(a.display.dragCursor,b)}}function Nl(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function Kl(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<y.length;b++){var E=y[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var ie=0;ie<x.length;ie++)a(x[ie])})}}var Li=!1;function Vs(){Li||(Mu(),Li=!0)}function Mu(){var a;Nt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,Kl(Ou)},100))}),Nt(window,"blur",function(){return Kl(Xo)})}function Ou(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var xo={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"},Ua=0;Ua<10;Ua++)xo[Ua+48]=xo[Ua+96]=String(Ua);for(var us=65;us<=90;us++)xo[us]=String.fromCharCode(us);for(var Ia=1;Ia<=12;Ia++)xo[Ia+111]=xo[Ia+63235]="F"+Ia;var io={};io.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"},io.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"},io.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"},io.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"]},io.default=Oe?io.macDefault:io.pcDefault;function Ru(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var x,b,E,ie,le=0;le<y.length-1;le++){var fe=y[le];if(/^(cmd|meta|m)$/i.test(fe))ie=!0;else if(/^a(lt)?$/i.test(fe))x=!0;else if(/^(c|ctrl|control)$/i.test(fe))b=!0;else if(/^s(hift)?$/i.test(fe))E=!0;else throw new Error("Unrecognized modifier name: "+fe)}return x&&(a="Alt-"+a),b&&(a="Ctrl-"+a),ie&&(a="Cmd-"+a),E&&(a="Shift-"+a),a}function Pu(a){var y={};for(var x in a)if(a.hasOwnProperty(x)){var b=a[x];if(/^(name|fallthrough|(de|at)tach)$/.test(x))continue;if(b=="..."){delete a[x];continue}for(var E=Bt(x.split(" "),Ru),ie=0;ie<E.length;ie++){var le=void 0,fe=void 0;ie==E.length-1?(fe=E.join(" "),le=b):(fe=E.slice(0,ie+1).join(" "),le="...");var ge=y[fe];if(!ge)y[fe]=le;else if(ge!=le)throw new Error("Inconsistent bindings for "+fe)}delete a[x]}for(var me in y)a[me]=y[me];return a}function Ro(a,y,x,b){y=qn(y);var E=y.call?y.call(a,b):y[a];if(E===!1)return"nothing";if(E==="...")return"multi";if(E!=null&&x(E))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Ro(a,y.fallthrough,x,b);for(var ie=0;ie<y.fallthrough.length;ie++){var le=Ro(a,y.fallthrough[ie],x,b);if(le)return le}}}function _l(a){var y=typeof a=="string"?a:xo[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function cs(a,y,x){var b=a;return y.altKey&&b!="Alt"&&(a="Alt-"+a),(et?y.metaKey:y.ctrlKey)&&b!="Ctrl"&&(a="Ctrl-"+a),(et?y.ctrlKey:y.metaKey)&&b!="Mod"&&(a="Cmd-"+a),!x&&y.shiftKey&&b!="Shift"&&(a="Shift-"+a),a}function Zs(a,y){if(Ce&&a.keyCode==34&&a.char)return!1;var x=xo[a.keyCode];return x==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(x=a.code),cs(x,a,y))}function qn(a){return typeof a=="string"?io[a]:a}function Yi(a,y){for(var x=a.doc.sel.ranges,b=[],E=0;E<x.length;E++){for(var ie=y(x[E]);b.length&&Gt(ie.from,Me(b).to)<=0;){var le=b.pop();if(Gt(le.from,ie.from)<0){ie.from=le.from;break}}b.push(ie)}Fi(a,function(){for(var fe=b.length-1;fe>=0;fe--)ta(a.doc,"",b[fe].from,b[fe].to,"+delete");Yo(a)})}function js(a,y,x){var b=Yt(a.text,y+x,x);return b<0||b>a.text.length?null:b}function Xs(a,y,x){var b=js(a,y.ch,x);return b==null?null:new qe(y.line,b,x<0?"after":"before")}function fs(a,y,x,b,E){if(a){y.doc.direction=="rtl"&&(E=-E);var ie=xA(x,y.doc.direction);if(ie){var le=E<0?Me(ie):ie[0],fe=E<0==(le.level==1),ge=fe?"after":"before",me;if(le.level>0||y.doc.direction=="rtl"){var De=pn(y,x);me=E<0?x.text.length-1:0;var Ne=Ii(y,De,me).top;me=Ht(function(dt){return Ii(y,De,dt).top==Ne},E<0==(le.level==1)?le.from:le.to-1,me),ge=="before"&&(me=js(x,me,1))}else me=E<0?le.to:le.from;return new qe(b,me,ge)}}return new qe(b,E<0?x.text.length:0,E<0?"before":"after")}function Ys(a,y,x,b){var E=xA(y,a.doc.direction);if(!E)return Xs(y,x,b);x.ch>=y.text.length?(x.ch=y.text.length,x.sticky="before"):x.ch<=0&&(x.ch=0,x.sticky="after");var ie=pA(E,x.ch,x.sticky),le=E[ie];if(a.doc.direction=="ltr"&&le.level%2==0&&(b>0?le.to>x.ch:le.from<x.ch))return Xs(y,x,b);var fe=function(OA,XA){return js(y,OA instanceof qe?OA.ch:OA,XA)},ge,me=function(OA){return a.options.lineWrapping?(ge=ge||pn(a,y),Gn(a,y,ge,OA)):{begin:0,end:y.text.length}},De=me(x.sticky=="before"?fe(x,-1):x.ch);if(a.doc.direction=="rtl"||le.level==1){var Ne=le.level==1==b<0,dt=fe(x,Ne?1:-1);if(dt!=null&&(Ne?dt<=le.to&&dt<=De.end:dt>=le.from&&dt>=De.begin)){var ut=Ne?"before":"after";return new qe(x.line,dt,ut)}}var Zt=function(OA,XA,PA){for(var tr=function(Fn,ti){return ti?new qe(x.line,fe(Fn,1),"before"):new qe(x.line,Fn,"after")};OA>=0&&OA<E.length;OA+=XA){var kr=E[OA],wr=XA>0==(kr.level!=1),Zr=wr?PA.begin:fe(PA.end,-1);if(kr.from<=Zr&&Zr<kr.to||(Zr=wr?kr.from:fe(kr.to,-1),PA.begin<=Zr&&Zr<PA.end))return tr(Zr,wr)}},gA=Zt(ie+b,b,De);if(gA)return gA;var QA=b>0?De.end:fe(De.begin,-1);return QA!=null&&!(b>0&&QA==y.text.length)&&(gA=Zt(b>0?0:E.length-1,b,me(QA)),gA)?gA:null}var ka={selectAll:Ll,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),Ve)},killLine:function(a){return Yi(a,function(y){if(y.empty()){var x=He(a.doc,y.head.line).text.length;return y.head.ch==x&&y.head.line<a.lastLine()?{from:y.head,to:qe(y.head.line+1,0)}:{from:y.head,to:qe(y.head.line,x)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return Yi(a,function(y){return{from:qe(y.from().line,0),to:Wt(a.doc,qe(y.to().line+1,0))}})},delLineLeft:function(a){return Yi(a,function(y){return{from:qe(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return Yi(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return{from:b,to:y.from()}})},delWrappedLineRight:function(a){return Yi(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div");return{from:y.from(),to:b}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(qe(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(qe(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return Gl(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return Wl(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Nu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div")},ft)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:x},"div")},ft)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return b.ch<a.getLine(b.line).search(/\S/)?Wl(a,y.head):b},ft)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],x=a.listSelections(),b=a.options.tabSize,E=0;E<x.length;E++){var ie=x[E].from(),le=be(a.getLine(ie.line),ie.ch,b);y.push(eA(b-le%b))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Fi(a,function(){for(var y=a.listSelections(),x=[],b=0;b<y.length;b++)if(y[b].empty()){var E=y[b].head,ie=He(a.doc,E.line).text;if(ie){if(E.ch==ie.length&&(E=new qe(E.line,E.ch-1)),E.ch>0)E=new qe(E.line,E.ch+1),a.replaceRange(ie.charAt(E.ch-1)+ie.charAt(E.ch-2),qe(E.line,E.ch-2),E,"+transpose");else if(E.line>a.doc.first){var le=He(a.doc,E.line-1).text;le&&(E=new qe(E.line,1),a.replaceRange(ie.charAt(0)+a.doc.lineSeparator()+le.charAt(le.length-1),qe(E.line-1,le.length-1),E,"+transpose"))}}x.push(new Bn(E,E))}a.setSelections(x)})},newlineAndIndent:function(a){return Fi(a,function(){for(var y=a.listSelections(),x=y.length-1;x>=0;x--)a.replaceRange(a.doc.lineSeparator(),y[x].anchor,y[x].head,"+input");y=a.listSelections();for(var b=0;b<y.length;b++)a.indentLine(y[b].from().line,null,!0);Yo(a)})},openLine:function(a){return a.replaceSelection(`
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function Gl(a,y){var x=He(a.doc,y),b=tt(x);return b!=x&&(y=Te(b)),fs(!0,a,b,y,1)}function Nu(a,y){var x=He(a.doc,y),b=St(x);return b!=x&&(y=Te(b)),fs(!0,a,x,y,-1)}function Wl(a,y){var x=Gl(a,y.line),b=He(a.doc,x.line),E=xA(b,a.doc.direction);if(!E||E[0].level==0){var ie=Math.max(x.ch,b.text.search(/\S/)),le=y.line==x.line&&y.ch<=ie&&y.ch;return qe(x.line,le?0:ie,x.sticky)}return x}function hs(a,y,x){if(typeof y=="string"&&(y=ka[y],!y))return!1;a.display.input.ensurePolled();var b=a.display.shift,E=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),x&&(a.display.shift=!1),E=y(a)!=Rt}finally{a.display.shift=b,a.state.suppressEdits=!1}return E}function Ku(a,y,x){for(var b=0;b<a.state.keyMaps.length;b++){var E=Ro(y,a.state.keyMaps[b],x,a);if(E)return E}return a.options.extraKeys&&Ro(y,a.options.extraKeys,x,a)||Ro(y,a.options.keyMap,x,a)}var _u=new de;function Da(a,y,x,b){var E=a.state.keySeq;if(E){if(_l(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:_u.set(50,function(){a.state.keySeq==E&&(a.state.keySeq=null,a.display.input.reset())}),Js(a,E+" "+y,x,b))return!0}return Js(a,y,x,b)}function Js(a,y,x,b){var E=Ku(a,y,b);return E=="multi"&&(a.state.keySeq=y),E=="handled"&&Rn(a,"keyHandled",a,y,x),(E=="handled"||E=="multi")&&(MA(x),Za(a)),!!E}function qs(a,y){var x=Zs(y,!0);return x?y.shiftKey&&!a.state.keySeq?Da(a,"Shift-"+x,y,function(b){return hs(a,b,!0)})||Da(a,x,y,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return hs(a,b)}):Da(a,x,y,function(b){return hs(a,b)}):!1}function zl(a,y,x){return Da(a,"'"+x+"'",y,function(b){return hs(a,b,!0)})}var ds=null;function gs(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=_e(),!mt(y,a))){Ee&&Qe<11&&a.keyCode==27&&(a.returnValue=!1);var x=a.keyCode;y.display.shift=x==16||a.shiftKey;var b=qs(y,a);Ce&&(ds=b?x:null,!b&&x==88&&!ir&&(Oe?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),se&&!Oe&&!b&&x==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Gu(y)}}function Gu(a){var y=a.display.lineDiv;Ze(y,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(At(y,"CodeMirror-crosshair"),Xt(document,"keyup",x),Xt(document,"mouseover",x))}Nt(document,"keyup",x),Nt(document,"mouseover",x)}function Vl(a){a.keyCode==16&&(this.doc.sel.shift=!1),mt(this,a)}function Zl(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(Xn(y.display,a)||mt(y,a)||a.ctrlKey&&!a.altKey||Oe&&a.metaKey)){var x=a.keyCode,b=a.charCode;if(Ce&&x==ds){ds=null,MA(a);return}if(!(Ce&&(!a.which||a.which<10)&&qs(y,a))){var E=String.fromCharCode(b==null?x:b);E!="\b"&&(zl(y,a,E)||y.display.input.onKeyPress(a))}}}var Wu=400,na=function(a,y,x){this.time=a,this.pos=y,this.button=x};na.prototype.compare=function(a,y,x){return this.time+Wu>a&&Gt(y,this.pos)==0&&x==this.button};var Eo,La;function jl(a,y){var x=+new Date;return La&&La.compare(x,a,y)?(Eo=La=null,"triple"):Eo&&Eo.compare(x,a,y)?(La=new na(x,a,y),Eo=null,"double"):(Eo=new na(x,a,y),La=null,"single")}function ps(a){var y=this,x=y.display;if(!(mt(y,a)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=a.shiftKey,Xn(x,a)){Ye||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!$s(y,a)){var b=go(y,a),E=Er(a),ie=b?jl(b,E):"single";window.focus(),E==1&&y.state.selectingText&&y.state.selectingText(a),!(b&&Xl(y,E,b,ie,a))&&(E==1?b?Jl(y,b,ie,a):$A(a)==x.scroller&&MA(a):E==2?(b&&$o(y.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(nt?y.display.input.onContextMenu(a):fl(y)))}}}function Xl(a,y,x,b,E){var ie="Click";return b=="double"?ie="Double"+ie:b=="triple"&&(ie="Triple"+ie),ie=(y==1?"Left":y==2?"Middle":"Right")+ie,Da(a,cs(ie,E),E,function(le){if(typeof le=="string"&&(le=ka[le]),!le)return!1;var fe=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),fe=le(a,x)!=Rt}finally{a.state.suppressEdits=!1}return fe})}function Yl(a,y,x){var b=a.getOption("configureMouse"),E=b?b(a,y,x):{};if(E.unit==null){var ie=wt?x.shiftKey&&x.metaKey:x.altKey;E.unit=ie?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(E.extend==null||a.doc.extend)&&(E.extend=a.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=Oe?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(Oe?x.altKey:x.ctrlKey)),E}function Jl(a,y,x,b){Ee?setTimeout(aA(cl,a),0):a.curOp.focus=_e();var E=Yl(a,x,b),ie=a.doc.sel,le;a.options.dragDrop&&Yr&&!a.isReadOnly()&&x=="single"&&(le=ie.contains(y))>-1&&(Gt((le=ie.ranges[le]).from(),y)<0||y.xRel>0)&&(Gt(le.to(),y)>0||y.xRel<0)?zu(a,b,y,E):ql(a,b,y,E)}function zu(a,y,x,b){var E=a.display,ie=!1,le=Yn(a,function(me){Ye&&(E.scroller.draggable=!1),a.state.draggingText=!1,Xt(E.wrapper.ownerDocument,"mouseup",le),Xt(E.wrapper.ownerDocument,"mousemove",fe),Xt(E.scroller,"dragstart",ge),Xt(E.scroller,"drop",le),ie||(MA(me),b.addNew||$o(a.doc,x,null,null,b.extend),Ye&&!bt||Ee&&Qe==9?setTimeout(function(){E.wrapper.ownerDocument.body.focus({preventScroll:!0}),E.input.focus()},20):E.input.focus())}),fe=function(me){ie=ie||Math.abs(y.clientX-me.clientX)+Math.abs(y.clientY-me.clientY)>=10},ge=function(){return ie=!0};Ye&&(E.scroller.draggable=!0),a.state.draggingText=le,le.copy=!b.moveOnDrag,E.scroller.dragDrop&&E.scroller.dragDrop(),Nt(E.wrapper.ownerDocument,"mouseup",le),Nt(E.wrapper.ownerDocument,"mousemove",fe),Nt(E.scroller,"dragstart",ge),Nt(E.scroller,"drop",le),fl(a),setTimeout(function(){return E.input.focus()},20)}function Ha(a,y,x){if(x=="char")return new Bn(y,y);if(x=="word")return a.findWordAt(y);if(x=="line")return new Bn(qe(y.line,0),Wt(a.doc,qe(y.line+1,0)));var b=x(a,y);return new Bn(b.from,b.to)}function ql(a,y,x,b){var E=a.display,ie=a.doc;MA(y);var le,fe,ge=ie.sel,me=ge.ranges;if(b.addNew&&!b.extend?(fe=ie.sel.contains(x),fe>-1?le=me[fe]:le=new Bn(x,x)):(le=ie.sel.primary(),fe=ie.sel.primIndex),b.unit=="rectangle")b.addNew||(le=new Bn(x,x)),x=go(a,y,!0,!0),fe=-1;else{var De=Ha(a,x,b.unit);b.extend?le=Ms(le,De.anchor,De.head,b.extend):le=De}b.addNew?fe==-1?(fe=me.length,li(ie,Ci(a,me.concat([le]),fe),{scroll:!1,origin:"*mouse"})):me.length>1&&me[fe].empty()&&b.unit=="char"&&!b.extend?(li(ie,Ci(a,me.slice(0,fe).concat(me.slice(fe+1)),0),{scroll:!1,origin:"*mouse"}),ge=ie.sel):Os(ie,fe,le,pt):(fe=0,li(ie,new Di([le],0),pt),ge=ie.sel);var Ne=x;function dt(PA){if(Gt(Ne,PA)!=0)if(Ne=PA,b.unit=="rectangle"){for(var tr=[],kr=a.options.tabSize,wr=be(He(ie,x.line).text,x.ch,kr),Zr=be(He(ie,PA.line).text,PA.ch,kr),Fn=Math.min(wr,Zr),ti=Math.max(wr,Zr),Mn=Math.min(x.line,PA.line),Qi=Math.min(a.lastLine(),Math.max(x.line,PA.line));Mn<=Qi;Mn++){var ui=He(ie,Mn).text,Vn=$t(ui,Fn,kr);Fn==ti?tr.push(new Bn(qe(Mn,Vn),qe(Mn,Vn))):ui.length>Vn&&tr.push(new Bn(qe(Mn,Vn),qe(Mn,$t(ui,ti,kr))))}tr.length||tr.push(new Bn(x,x)),li(ie,Ci(a,ge.ranges.slice(0,fe).concat(tr),fe),{origin:"*mouse",scroll:!1}),a.scrollIntoView(PA)}else{var ci=le,ri=Ha(a,PA,b.unit),LA=ci.anchor,kn;Gt(ri.anchor,LA)>0?(kn=ri.head,LA=at(ci.from(),ri.anchor)):(kn=ri.anchor,LA=VA(ci.to(),ri.head));var Dn=ge.ranges.slice(0);Dn[fe]=$l(a,new Bn(Wt(ie,LA),kn)),li(ie,Ci(a,Dn,fe),pt)}}var ut=E.wrapper.getBoundingClientRect(),Zt=0;function gA(PA){var tr=++Zt,kr=go(a,PA,!0,b.unit=="rectangle");if(kr)if(Gt(kr,Ne)!=0){a.curOp.focus=_e(),dt(kr);var wr=Xa(E,ie);(kr.line>=wr.to||kr.line<wr.from)&&setTimeout(Yn(a,function(){Zt==tr&&gA(PA)}),150)}else{var Zr=PA.clientY<ut.top?-20:PA.clientY>ut.bottom?20:0;Zr&&setTimeout(Yn(a,function(){Zt==tr&&(E.scroller.scrollTop+=Zr,gA(PA))}),50)}}function QA(PA){a.state.selectingText=!1,Zt=1/0,PA&&(MA(PA),E.input.focus()),Xt(E.wrapper.ownerDocument,"mousemove",OA),Xt(E.wrapper.ownerDocument,"mouseup",XA),ie.history.lastSelOrigin=null}var OA=Yn(a,function(PA){PA.buttons===0||!Er(PA)?QA(PA):gA(PA)}),XA=Yn(a,QA);a.state.selectingText=XA,Nt(E.wrapper.ownerDocument,"mousemove",OA),Nt(E.wrapper.ownerDocument,"mouseup",XA)}function $l(a,y){var x=y.anchor,b=y.head,E=He(a.doc,x.line);if(Gt(x,b)==0&&x.sticky==b.sticky)return y;var ie=xA(E);if(!ie)return y;var le=pA(ie,x.ch,x.sticky),fe=ie[le];if(fe.from!=x.ch&&fe.to!=x.ch)return y;var ge=le+(fe.from==x.ch==(fe.level!=1)?0:1);if(ge==0||ge==ie.length)return y;var me;if(b.line!=x.line)me=(b.line-x.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var De=pA(ie,b.ch,b.sticky),Ne=De-le||(b.ch-x.ch)*(fe.level==1?-1:1);De==ge-1||De==ge?me=Ne<0:me=Ne>0}var dt=ie[ge+(me?-1:0)],ut=me==(dt.level==1),Zt=ut?dt.from:dt.to,gA=ut?"after":"before";return x.ch==Zt&&x.sticky==gA?y:new Bn(new qe(x.line,Zt,gA),b)}function eu(a,y,x,b){var E,ie;if(y.touches)E=y.touches[0].clientX,ie=y.touches[0].clientY;else try{E=y.clientX,ie=y.clientY}catch(dt){return!1}if(E>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;b&&MA(y);var le=a.display,fe=le.lineDiv.getBoundingClientRect();if(ie>fe.bottom||!mA(a,x))return KA(y);ie-=fe.top-le.viewOffset;for(var ge=0;ge<a.display.gutterSpecs.length;++ge){var me=le.gutters.childNodes[ge];if(me&&me.getBoundingClientRect().right>=E){var De=Re(a.doc,ie),Ne=a.display.gutterSpecs[ge];return IA(a,x,a,De,Ne.className,y),KA(y)}}}function $s(a,y){return eu(a,y,"gutterClick",!0)}function el(a,y){Xn(a.display,y)||ia(a,y)||mt(a,y,"contextmenu")||nt||a.display.input.onContextMenu(y)}function ia(a,y){return mA(a,"gutterContextMenu")?eu(a,y,"gutterContextMenu",!1):!1}function vs(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ei(a)}var oo={toString:function(){return"CodeMirror.Init"}},tu={},ms={};function Vu(a){var y=a.optionHandlers;function x(b,E,ie,le){a.defaults[b]=E,ie&&(y[b]=le?function(fe,ge,me){me!=oo&&ie(fe,ge,me)}:ie)}a.defineOption=x,a.Init=oo,x("value","",function(b,E){return b.setValue(E)},!0),x("mode",null,function(b,E){b.doc.modeOption=E,Ls(b)},!0),x("indentUnit",2,Ls,!0),x("indentWithTabs",!1),x("smartIndent",!0),x("tabSize",4,function(b){Ca(b),Ei(b),pi(b)},!0),x("lineSeparator",null,function(b,E){if(b.doc.lineSep=E,!!E){var ie=[],le=b.doc.first;b.doc.iter(function(ge){for(var me=0;;){var De=ge.text.indexOf(E,me);if(De==-1)break;me=De+E.length,ie.push(qe(le,De))}le++});for(var fe=ie.length-1;fe>=0;fe--)ta(b.doc,E,ie[fe],qe(ie[fe].line,ie[fe].ch+E.length))}}),x("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(b,E,ie){b.state.specialChars=new RegExp(E.source+(E.test(" ")?"":"| "),"g"),ie!=oo&&b.refresh()}),x("specialCharPlaceholder",sn,function(b){return b.refresh()},!0),x("electricChars",!0),x("inputStyle",ze?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),x("spellcheck",!1,function(b,E){return b.getInputField().spellcheck=E},!0),x("autocorrect",!1,function(b,E){return b.getInputField().autocorrect=E},!0),x("autocapitalize",!1,function(b,E){return b.getInputField().autocapitalize=E},!0),x("rtlMoveVisually",!ht),x("wholeLineUpdateBefore",!0),x("theme","default",function(b){vs(b),wa(b)},!0),x("keyMap","default",function(b,E,ie){var le=qn(E),fe=ie!=oo&&qn(ie);fe&&fe.detach&&fe.detach(b,le),le.attach&&le.attach(b,fe||null)}),x("extraKeys",null),x("configureMouse",null),x("lineWrapping",!1,Au,!0),x("gutters",[],function(b,E){b.display.gutterSpecs=Is(E,b.options.lineNumbers),wa(b)},!0),x("fixedGutter",!0,function(b,E){b.display.gutters.style.left=E?Zo(b.display)+"px":"0",b.refresh()},!0),x("coverGutterNextToScrollbar",!1,function(b){return no(b)},!0),x("scrollbarStyle","native",function(b){pl(b),no(b),b.display.scrollbars.setScrollTop(b.doc.scrollTop),b.display.scrollbars.setScrollLeft(b.doc.scrollLeft)},!0),x("lineNumbers",!1,function(b,E){b.display.gutterSpecs=Is(b.options.gutters,E),wa(b)},!0),x("firstLineNumber",1,wa,!0),x("lineNumberFormatter",function(b){return b},wa,!0),x("showCursorWhenSelecting",!1,vo,!0),x("resetSelectionOnContextMenu",!0),x("lineWiseCopyCut",!0),x("pasteLinesPerSelection",!0),x("selectionsMayTouch",!1),x("readOnly",!1,function(b,E){E=="nocursor"&&(Xo(b),b.display.input.blur()),b.display.input.readOnlyChanged(E)}),x("screenReaderLabel",null,function(b,E){E=E===""?null:E,b.display.input.screenReaderLabelChanged(E)}),x("disableInput",!1,function(b,E){E||b.display.input.reset()},!0),x("dragDrop",!0,Zu),x("allowDropFileTypes",null),x("cursorBlinkRate",530),x("cursorScrollMargin",0),x("cursorHeight",1,vo,!0),x("singleCursorHeightPerLine",!0,vo,!0),x("workTime",100),x("workDelay",100),x("flattenSpans",!0,Ca,!0),x("addModeClass",!1,Ca,!0),x("pollInterval",100),x("undoDepth",200,function(b,E){return b.doc.history.undoDepth=E}),x("historyEventDelay",1250),x("viewportMargin",10,function(b){return b.refresh()},!0),x("maxHighlightLength",1e4,Ca,!0),x("moveInputWithCursor",!0,function(b,E){E||b.display.input.resetPosition()}),x("tabindex",null,function(b,E){return b.display.input.getField().tabIndex=E||""}),x("autofocus",null),x("direction","ltr",function(b,E){return b.doc.setDirection(E)},!0),x("phrases",null)}function Zu(a,y,x){var b=x&&x!=oo;if(!y!=!b){var E=a.display.dragFunctions,ie=y?Nt:Xt;ie(a.display.scroller,"dragstart",E.start),ie(a.display.scroller,"dragenter",E.enter),ie(a.display.scroller,"dragover",E.over),ie(a.display.scroller,"dragleave",E.leave),ie(a.display.scroller,"drop",E.drop)}}function Au(a){a.options.lineWrapping?(Ze(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(At(a.display.wrapper,"CodeMirror-wrap"),vr(a)),Va(a),pi(a),Ei(a),setTimeout(function(){return no(a)},100)}function Qn(a,y){var x=this;if(!(this instanceof Qn))return new Qn(a,y);this.options=y=y?Jt(y):{},Jt(tu,y,!1);var b=y.value;typeof b=="string"?b=new mi(b,y.mode,null,y.lineSeparator,y.direction):y.mode&&(b.modeOption=y.mode),this.doc=b;var E=new Qn.inputStyles[y.inputStyle](this),ie=this.display=new Fu(a,b,E,y);ie.wrapper.CodeMirror=this,vs(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),pl(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 de,keySeq:null,specialChars:null},y.autofocus&&!ze&&ie.input.focus(),Ee&&Qe<11&&setTimeout(function(){return x.display.input.reset(!0)},20),ru(this),Vs(),Ho(this),this.curOp.forceUpdate=!0,Jn(this,b),y.autofocus&&!ze||this.hasFocus()?setTimeout(function(){x.hasFocus()&&!x.state.focused&&xs(x)},20):Xo(this);for(var le in ms)ms.hasOwnProperty(le)&&ms[le](this,y[le],oo);Bl(this),y.finishInit&&y.finishInit(this);for(var fe=0;fe<Bs.length;++fe)Bs[fe](this);To(this),Ye&&y.lineWrapping&&getComputedStyle(ie.lineDiv).textRendering=="optimizelegibility"&&(ie.lineDiv.style.textRendering="auto")}Qn.defaults=tu,Qn.optionHandlers=ms;function ru(a){var y=a.display;Nt(y.scroller,"mousedown",Yn(a,ps)),Ee&&Qe<11?Nt(y.scroller,"dblclick",Yn(a,function(ge){if(!mt(a,ge)){var me=go(a,ge);if(!(!me||$s(a,ge)||Xn(a.display,ge))){MA(ge);var De=a.findWordAt(me);$o(a.doc,De.anchor,De.head)}}})):Nt(y.scroller,"dblclick",function(ge){return mt(a,ge)||MA(ge)}),Nt(y.scroller,"contextmenu",function(ge){return el(a,ge)}),Nt(y.input.getField(),"contextmenu",function(ge){y.scroller.contains(ge.target)||el(a,ge)});var x,b={end:0};function E(){y.activeTouch&&(x=setTimeout(function(){return y.activeTouch=null},1e3),b=y.activeTouch,b.end=+new Date)}function ie(ge){if(ge.touches.length!=1)return!1;var me=ge.touches[0];return me.radiusX<=1&&me.radiusY<=1}function le(ge,me){if(me.left==null)return!0;var De=me.left-ge.left,Ne=me.top-ge.top;return De*De+Ne*Ne>20*20}Nt(y.scroller,"touchstart",function(ge){if(!mt(a,ge)&&!ie(ge)&&!$s(a,ge)){y.input.ensurePolled(),clearTimeout(x);var me=+new Date;y.activeTouch={start:me,moved:!1,prev:me-b.end<=300?b:null},ge.touches.length==1&&(y.activeTouch.left=ge.touches[0].pageX,y.activeTouch.top=ge.touches[0].pageY)}}),Nt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Nt(y.scroller,"touchend",function(ge){var me=y.activeTouch;if(me&&!Xn(y,ge)&&me.left!=null&&!me.moved&&new Date-me.start<300){var De=a.coordsChar(y.activeTouch,"page"),Ne;!me.prev||le(me,me.prev)?Ne=new Bn(De,De):!me.prev.prev||le(me,me.prev.prev)?Ne=a.findWordAt(De):Ne=new Bn(qe(De.line,0),Wt(a.doc,qe(De.line+1,0))),a.setSelection(Ne.anchor,Ne.head),a.focus(),MA(ge)}E()}),Nt(y.scroller,"touchcancel",E),Nt(y.scroller,"scroll",function(){y.scroller.clientHeight&&(pa(a,y.scroller.scrollTop),Do(a,y.scroller.scrollLeft,!0),IA(a,"scroll",a))}),Nt(y.scroller,"mousewheel",function(ge){return bl(a,ge)}),Nt(y.scroller,"DOMMouseScroll",function(ge){return bl(a,ge)}),Nt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(ge){mt(a,ge)||ZA(ge)},over:function(ge){mt(a,ge)||(Tu(a,ge),ZA(ge))},start:function(ge){return zs(a,ge)},drop:Yn(a,Pl),leave:function(ge){mt(a,ge)||Nl(a)}};var fe=y.input.getField();Nt(fe,"keyup",function(ge){return Vl.call(a,ge)}),Nt(fe,"keydown",Yn(a,gs)),Nt(fe,"keypress",Yn(a,Zl)),Nt(fe,"focus",function(ge){return xs(a,ge)}),Nt(fe,"blur",function(ge){return Xo(a,ge)})}var Bs=[];Qn.defineInitHook=function(a){return Bs.push(a)};function Po(a,y,x,b){var E=a.doc,ie;x==null&&(x="add"),x=="smart"&&(E.mode.indent?ie=zr(a,y).state:x="prev");var le=a.options.tabSize,fe=He(E,y),ge=be(fe.text,null,le);fe.stateAfter&&(fe.stateAfter=null);var me=fe.text.match(/^\s*/)[0],De;if(!b&&!/\S/.test(fe.text))De=0,x="not";else if(x=="smart"&&(De=E.mode.indent(ie,fe.text.slice(me.length),fe.text),De==Rt||De>150)){if(!b)return;x="prev"}x=="prev"?y>E.first?De=be(He(E,y-1).text,null,le):De=0:x=="add"?De=ge+a.options.indentUnit:x=="subtract"?De=ge-a.options.indentUnit:typeof x=="number"&&(De=ge+x),De=Math.max(0,De);var Ne="",dt=0;if(a.options.indentWithTabs)for(var ut=Math.floor(De/le);ut;--ut)dt+=le,Ne+=" ";if(dt<De&&(Ne+=eA(De-dt)),Ne!=me)return ta(E,Ne,qe(y,0),qe(y,me.length),"+input"),fe.stateAfter=null,!0;for(var Zt=0;Zt<E.sel.ranges.length;Zt++){var gA=E.sel.ranges[Zt];if(gA.head.line==y&&gA.head.ch<me.length){var QA=qe(y,me.length);Os(E,Zt,new Bn(QA,QA));break}}}var Ni=null;function Ta(a){Ni=a}function tl(a,y,x,b,E){var ie=a.doc;a.display.shift=!1,b||(b=ie.sel);var le=+new Date-200,fe=E=="paste"||a.state.pasteIncoming>le,ge=Ir(y),me=null;if(fe&&b.ranges.length>1)if(Ni&&Ni.text.join(`
|
|
`)==y){if(b.ranges.length%Ni.text.length==0){me=[];for(var De=0;De<Ni.text.length;De++)me.push(ie.splitLines(Ni.text[De]))}}else ge.length==b.ranges.length&&a.options.pasteLinesPerSelection&&(me=Bt(ge,function(OA){return[OA]}));for(var Ne=a.curOp.updateInput,dt=b.ranges.length-1;dt>=0;dt--){var ut=b.ranges[dt],Zt=ut.from(),gA=ut.to();ut.empty()&&(x&&x>0?Zt=qe(Zt.line,Zt.ch-x):a.state.overwrite&&!fe?gA=qe(gA.line,Math.min(He(ie,gA.line).text.length,gA.ch+Me(ge).length)):fe&&Ni&&Ni.lineWise&&Ni.text.join(`
|
|
`)==ge.join(`
|
|
`)&&(Zt=gA=qe(Zt.line,0)));var QA={from:Zt,to:gA,text:me?me[dt%me.length]:ge,origin:E||(fe?"paste":a.state.cutIncoming>le?"cut":"+input")};ea(a.doc,QA),Rn(a,"inputRead",a,QA)}y&&!fe&&Oa(a,y),Yo(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Ne),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Ma(a,y){var x=a.clipboardData&&a.clipboardData.getData("Text");if(x)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Fi(y,function(){return tl(y,x,0,null,"paste")}),!0}function Oa(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var x=a.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var ie=a.getModeAt(E.head),le=!1;if(ie.electricChars){for(var fe=0;fe<ie.electricChars.length;fe++)if(y.indexOf(ie.electricChars.charAt(fe))>-1){le=Po(a,E.head.line,"smart");break}}else ie.electricInput&&ie.electricInput.test(He(a.doc,E.head.line).text.slice(0,E.head.ch))&&(le=Po(a,E.head.line,"smart"));le&&Rn(a,"electricInput",a,E.head.line)}}}function Al(a){for(var y=[],x=[],b=0;b<a.doc.sel.ranges.length;b++){var E=a.doc.sel.ranges[b].head.line,ie={anchor:qe(E,0),head:qe(E+1,0)};x.push(ie),y.push(a.getRange(ie.anchor,ie.head))}return{text:y,ranges:x}}function rl(a,y,x,b){a.setAttribute("autocorrect",x?"":"off"),a.setAttribute("autocapitalize",b?"":"off"),a.setAttribute("spellcheck",!!y)}function nu(){var a=Je("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Je("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ye?a.style.width="1000px":a.setAttribute("wrap","off"),Xe&&(a.style.border="1px solid black"),rl(a),y}function iu(a){var y=a.optionHandlers,x=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(b,E){var ie=this.options,le=ie[b];ie[b]==E&&b!="mode"||(ie[b]=E,y.hasOwnProperty(b)&&Yn(this,y[b])(this,E,le),IA(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](qn(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,ie=0;ie<E.length;++ie)if(E[ie]==b||E[ie].name==b)return E.splice(ie,1),!0},addOverlay:vi(function(b,E){var ie=b.token?b:a.getMode(this.options,b);if(ie.startState)throw new Error("Overlays may not be stateful.");xt(this.state.overlays,{mode:ie,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function(le){return le.priority}),this.state.modeGen++,pi(this)}),removeOverlay:vi(function(b){for(var E=this.state.overlays,ie=0;ie<E.length;++ie){var le=E[ie].modeSpec;if(le==b||typeof b=="string"&&le.name==b){E.splice(ie,1),this.state.modeGen++,pi(this);return}}}),indentLine:vi(function(b,E,ie){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),dA(this.doc,b)&&Po(this,b,E,ie)}),indentSelection:vi(function(b){for(var E=this.doc.sel.ranges,ie=-1,le=0;le<E.length;le++){var fe=E[le];if(fe.empty())fe.head.line>ie&&(Po(this,fe.head.line,b,!0),ie=fe.head.line,le==this.doc.sel.primIndex&&Yo(this));else{var ge=fe.from(),me=fe.to(),De=Math.max(ie,ge.line);ie=Math.min(this.lastLine(),me.line-(me.ch?0:1))+1;for(var Ne=De;Ne<ie;++Ne)Po(this,Ne,b);var dt=this.doc.sel.ranges;ge.ch==0&&E.length==dt.length&&dt[le].from().ch>0&&Os(this.doc,le,new Bn(ge,dt[le].to()),Ve)}}}),getTokenAt:function(b,E){return vn(this,b,E)},getLineTokens:function(b,E){return vn(this,qe(b),E,!0)},getTokenTypeAt:function(b){b=Wt(this.doc,b);var E=br(this,He(this.doc,b.line)),ie=0,le=(E.length-1)/2,fe=b.ch,ge;if(fe==0)ge=E[2];else for(;;){var me=ie+le>>1;if((me?E[me*2-1]:0)>=fe)le=me;else if(E[me*2+1]<fe)ie=me+1;else{ge=E[me*2+2];break}}var De=ge?ge.indexOf("overlay "):-1;return De<0?ge:De==0?null:ge.slice(0,De-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?a.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var ie=[];if(!x.hasOwnProperty(E))return ie;var le=x[E],fe=this.getModeAt(b);if(typeof fe[E]=="string")le[fe[E]]&&ie.push(le[fe[E]]);else if(fe[E])for(var ge=0;ge<fe[E].length;ge++){var me=le[fe[E][ge]];me&&ie.push(me)}else fe.helperType&&le[fe.helperType]?ie.push(le[fe.helperType]):le[fe.name]&&ie.push(le[fe.name]);for(var De=0;De<le._global.length;De++){var Ne=le._global[De];Ne.pred(fe,this)&&Ct(ie,Ne.val)==-1&&ie.push(Ne.val)}return ie},getStateAfter:function(b,E){var ie=this.doc;return b=SA(ie,b==null?ie.first+ie.size-1:b),zr(this,b+1,E).state},cursorCoords:function(b,E){var ie,le=this.doc.sel.primary();return b==null?ie=le.head:typeof b=="object"?ie=Wt(this.doc,b):ie=b?le.from():le.to(),gi(this,ie,E||"page")},charCoords:function(b,E){return fo(this,Wt(this.doc,b),E||"page")},coordsChar:function(b,E){return b=da(this,b,E||"page"),Un(this,b.left,b.top)},lineAtHeight:function(b,E){return b=da(this,{top:b,left:0},E||"page").top,Re(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,E,ie){var le=!1,fe;if(typeof b=="number"){var ge=this.doc.first+this.doc.size-1;b<this.doc.first?b=this.doc.first:b>ge&&(b=ge,le=!0),fe=He(this.doc,b)}else fe=b;return Io(this,fe,{top:0,left:0},E||"page",ie||le).top+(le?this.doc.height-gr(fe):0)},defaultTextHeight:function(){return wi(this.display)},defaultCharWidth:function(){return Vi(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(b,E,ie,le,fe){var ge=this.display;b=gi(this,Wt(this.doc,b));var me=b.bottom,De=b.left;if(E.style.position="absolute",E.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(E),ge.sizer.appendChild(E),le=="over")me=b.top;else if(le=="above"||le=="near"){var Ne=Math.max(ge.wrapper.clientHeight,this.doc.height),dt=Math.max(ge.sizer.clientWidth,ge.lineSpace.clientWidth);(le=="above"||b.bottom+E.offsetHeight>Ne)&&b.top>E.offsetHeight?me=b.top-E.offsetHeight:b.bottom+E.offsetHeight<=Ne&&(me=b.bottom),De+E.offsetWidth>dt&&(De=dt-E.offsetWidth)}E.style.top=me+"px",E.style.left=E.style.right="",fe=="right"?(De=ge.sizer.clientWidth-E.offsetWidth,E.style.right="0px"):(fe=="left"?De=0:fe=="middle"&&(De=(ge.sizer.clientWidth-E.offsetWidth)/2),E.style.left=De+"px"),ie&&du(this,{left:De,top:me,right:De+E.offsetWidth,bottom:me+E.offsetHeight})},triggerOnKeyDown:vi(gs),triggerOnKeyPress:vi(Zl),triggerOnKeyUp:Vl,triggerOnMouseDown:vi(ps),execCommand:function(b){if(ka.hasOwnProperty(b))return ka[b].call(null,this)},triggerElectric:vi(function(b){Oa(this,b)}),findPosH:function(b,E,ie,le){var fe=1;E<0&&(fe=-1,E=-E);for(var ge=Wt(this.doc,b),me=0;me<E&&(ge=ws(this.doc,ge,fe,ie,le),!ge.hitSide);++me);return ge},moveH:vi(function(b,E){var ie=this;this.extendSelectionsBy(function(le){return ie.display.shift||ie.doc.extend||le.empty()?ws(ie.doc,le.head,b,E,ie.options.rtlMoveVisually):b<0?le.from():le.to()},ft)}),deleteH:vi(function(b,E){var ie=this.doc.sel,le=this.doc;ie.somethingSelected()?le.replaceSelection("",null,"+delete"):Yi(this,function(fe){var ge=ws(le,fe.head,b,E,!1);return b<0?{from:ge,to:fe.head}:{from:fe.head,to:ge}})}),findPosV:function(b,E,ie,le){var fe=1,ge=le;E<0&&(fe=-1,E=-E);for(var me=Wt(this.doc,b),De=0;De<E;++De){var Ne=gi(this,me,"div");if(ge==null?ge=Ne.left:Ne.left=ge,me=ou(this,Ne,fe,ie),me.hitSide)break}return me},moveV:vi(function(b,E){var ie=this,le=this.doc,fe=[],ge=!this.display.shift&&!le.extend&&le.sel.somethingSelected();if(le.extendSelectionsBy(function(De){if(ge)return b<0?De.from():De.to();var Ne=gi(ie,De.head,"div");De.goalColumn!=null&&(Ne.left=De.goalColumn),fe.push(Ne.left);var dt=ou(ie,Ne,b,E);return E=="page"&&De==le.sel.primary()&&Fs(ie,fo(ie,dt,"div").top-Ne.top),dt},ft),fe.length)for(var me=0;me<le.sel.ranges.length;me++)le.sel.ranges[me].goalColumn=fe[me]}),findWordAt:function(b){var E=this.doc,ie=He(E,b.line).text,le=b.ch,fe=b.ch;if(ie){var ge=this.getHelper(b,"wordChars");(b.sticky=="before"||fe==ie.length)&&le?--le:++fe;for(var me=ie.charAt(le),De=he(me,ge)?function(Ne){return he(Ne,ge)}:/\s/.test(me)?function(Ne){return/\s/.test(Ne)}:function(Ne){return!/\s/.test(Ne)&&!he(Ne)};le>0&&De(ie.charAt(le-1));)--le;for(;fe<ie.length&&De(ie.charAt(fe));)++fe}return new Bn(qe(b.line,le),qe(b.line,fe))},toggleOverwrite:function(b){b!=null&&b==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Ze(this.display.cursorDiv,"CodeMirror-overwrite"):At(this.display.cursorDiv,"CodeMirror-overwrite"),IA(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==_e()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:vi(function(b,E){mo(this,b,E)}),getScrollInfo:function(){var b=this.display.scroller;return{left:b.scrollLeft,top:b.scrollTop,height:b.scrollHeight-bi(this)-this.display.barHeight,width:b.scrollWidth-bi(this)-this.display.barWidth,clientHeight:En(this),clientWidth:ai(this)}},scrollIntoView:vi(function(b,E){b==null?(b={from:this.doc.sel.primary().head,to:null},E==null&&(E=this.options.cursorScrollMargin)):typeof b=="number"?b={from:qe(b,0),to:null}:b.from==null&&(b={from:b,to:null}),b.to||(b.to=b.from),b.margin=E||0,b.from.line!=null?gu(this,b):hl(this,b.from,b.to,b.margin)}),setSize:vi(function(b,E){var ie=this,le=function(ge){return typeof ge=="number"||/^\d+$/.test(String(ge))?ge+"px":ge};b!=null&&(this.display.wrapper.style.width=le(b)),E!=null&&(this.display.wrapper.style.height=le(E)),this.options.lineWrapping&&di(this);var fe=this.display.viewFrom;this.doc.iter(fe,this.display.viewTo,function(ge){if(ge.widgets){for(var me=0;me<ge.widgets.length;me++)if(ge.widgets[me].noHScroll){Ao(ie,fe,"widget");break}}++fe}),this.curOp.forceUpdate=!0,IA(this,"refresh",this)}),operation:function(b){return Fi(this,b)},startOperation:function(){return Ho(this)},endOperation:function(){return To(this)},refresh:vi(function(){var b=this.display.cachedTextHeight;pi(this),this.curOp.forceUpdate=!0,Ei(this),mo(this,this.doc.scrollLeft,this.doc.scrollTop),Ss(this.display),(b==null||Math.abs(b-wi(this.display))>.5||this.options.lineWrapping)&&Va(this),IA(this,"refresh",this)}),swapDoc:vi(function(b){var E=this.doc;return E.cm=null,this.state.selectingText&&this.state.selectingText(),Jn(this,b),Ei(this),this.display.input.reset(),mo(this,b.scrollLeft,b.scrollTop),this.curOp.forceScroll=!0,Rn(this,"swapDoc",this,E),E}),phrase:function(b){var E=this.options.phrases;return E&&Object.prototype.hasOwnProperty.call(E,b)?E[b]:b},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}},yA(a),a.registerHelper=function(b,E,ie){x.hasOwnProperty(b)||(x[b]=a[b]={_global:[]}),x[b][E]=ie},a.registerGlobalHelper=function(b,E,ie,le){a.registerHelper(b,E,le),x[b]._global.push({pred:ie,val:le})}}function ws(a,y,x,b,E){var ie=y,le=x,fe=He(a,y.line),ge=E&&a.direction=="rtl"?-x:x;function me(){var XA=y.line+ge;return XA<a.first||XA>=a.first+a.size?!1:(y=new qe(XA,y.ch,y.sticky),fe=He(a,XA))}function De(XA){var PA;if(b=="codepoint"){var tr=fe.text.charCodeAt(y.ch+(b>0?0:-1));isNaN(tr)?PA=null:PA=new qe(y.line,Math.max(0,Math.min(fe.text.length,y.ch+x*(tr>=55296&&tr<56320?2:1))),-x)}else E?PA=Ys(a.cm,fe,y,x):PA=Xs(fe,y,x);if(PA==null)if(!XA&&me())y=fs(E,a.cm,fe,y.line,ge);else return!1;else y=PA;return!0}if(b=="char"||b=="codepoint")De();else if(b=="column")De(!0);else if(b=="word"||b=="group")for(var Ne=null,dt=b=="group",ut=a.cm&&a.cm.getHelper(y,"wordChars"),Zt=!0;!(x<0&&!De(!Zt));Zt=!1){var gA=fe.text.charAt(y.ch)||`
|
|
`,QA=he(gA,ut)?"w":dt&&gA==`
|
|
`?"n":!dt||/\s/.test(gA)?null:"p";if(dt&&!Zt&&!QA&&(QA="s"),Ne&&Ne!=QA){x<0&&(x=1,De(),y.sticky="after");break}if(QA&&(Ne=QA),x>0&&!De(!Zt))break}var OA=os(a,y,ie,le,!0);return EA(ie,OA)&&(OA.hitSide=!0),OA}function ou(a,y,x,b){var E=a.doc,ie=y.left,le;if(b=="page"){var fe=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ge=Math.max(fe-.5*wi(a.display),3);le=(x>0?y.bottom:y.top)+x*ge}else b=="line"&&(le=x>0?y.bottom+3:y.top-3);for(var me;me=Un(a,ie,le),!!me.outside;){if(x<0?le<=0:le>=E.height){me.hitSide=!0;break}le+=x*5}return me}var yn=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new de,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};yn.prototype.init=function(a){var y=this,x=this,b=x.cm,E=x.div=a.lineDiv;rl(E,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function ie(fe){for(var ge=fe.target;ge;ge=ge.parentNode){if(ge==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ge.className))break}return!1}Nt(E,"paste",function(fe){!ie(fe)||mt(b,fe)||Ma(fe,b)||Qe<=11&&setTimeout(Yn(b,function(){return y.updateFromDOM()}),20)}),Nt(E,"compositionstart",function(fe){y.composing={data:fe.data,done:!1}}),Nt(E,"compositionupdate",function(fe){y.composing||(y.composing={data:fe.data,done:!1})}),Nt(E,"compositionend",function(fe){y.composing&&(fe.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Nt(E,"touchstart",function(){return x.forceCompositionEnd()}),Nt(E,"input",function(){y.composing||y.readFromDOMSoon()});function le(fe){if(!(!ie(fe)||mt(b,fe))){if(b.somethingSelected())Ta({lineWise:!1,text:b.getSelections()}),fe.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var ge=Al(b);Ta({lineWise:!0,text:ge.text}),fe.type=="cut"&&b.operation(function(){b.setSelections(ge.ranges,0,Ve),b.replaceSelection("",null,"cut")})}else return;if(fe.clipboardData){fe.clipboardData.clearData();var me=Ni.text.join(`
|
|
`);if(fe.clipboardData.setData("Text",me),fe.clipboardData.getData("Text")==me){fe.preventDefault();return}}var De=nu(),Ne=De.firstChild;b.display.lineSpace.insertBefore(De,b.display.lineSpace.firstChild),Ne.value=Ni.text.join(`
|
|
`);var dt=document.activeElement;Lt(Ne),setTimeout(function(){b.display.lineSpace.removeChild(De),dt.focus(),dt==E&&x.showPrimarySelection()},50)}}Nt(E,"copy",le),Nt(E,"cut",le)},yn.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},yn.prototype.prepareSelection=function(){var a=ll(this.cm,!1);return a.focus=document.activeElement==this.div,a},yn.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},yn.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},yn.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,x=y.doc.sel.primary(),b=x.from(),E=x.to();if(y.display.viewTo==y.display.viewFrom||b.line>=y.display.viewTo||E.line<y.display.viewFrom){a.removeAllRanges();return}var ie=ao(y,a.anchorNode,a.anchorOffset),le=ao(y,a.focusNode,a.focusOffset);if(!(ie&&!ie.bad&&le&&!le.bad&&Gt(at(ie,le),b)==0&&Gt(VA(ie,le),E)==0)){var fe=y.display.view,ge=b.line>=y.display.viewFrom&&No(y,b)||{node:fe[0].measure.map[2],offset:0},me=E.line<y.display.viewTo&&No(y,E);if(!me){var De=fe[fe.length-1].measure,Ne=De.maps?De.maps[De.maps.length-1]:De.map;me={node:Ne[Ne.length-1],offset:Ne[Ne.length-2]-Ne[Ne.length-3]}}if(!ge||!me){a.removeAllRanges();return}var dt=a.rangeCount&&a.getRangeAt(0),ut;try{ut=We(ge.node,ge.offset,me.offset,me.node)}catch(Zt){}ut&&(!se&&y.state.focused?(a.collapse(ge.node,ge.offset),ut.collapsed||(a.removeAllRanges(),a.addRange(ut))):(a.removeAllRanges(),a.addRange(ut)),dt&&a.anchorNode==null?a.addRange(dt):se&&this.startGracePeriod()),this.rememberSelection()}},yn.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},yn.prototype.showMultipleSelections=function(a){it(this.cm.display.cursorDiv,a.cursors),it(this.cm.display.selectionDiv,a.selection)},yn.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},yn.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return $e(this.div,y)},yn.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},yn.prototype.blur=function(){this.div.blur()},yn.prototype.getField=function(){return this.div},yn.prototype.supportsTouch=function(){return!0},yn.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Fi(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},yn.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},yn.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(Ge&&Ue&&this.cm.display.gutterSpecs.length&&au(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=ao(y,a.anchorNode,a.anchorOffset),b=ao(y,a.focusNode,a.focusOffset);x&&b&&Fi(y,function(){li(y.doc,Bo(x,b),Ve),(x.bad||b.bad)&&(y.curOp.selectionChanged=!0)})}}},yn.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,x=a.doc.sel.primary(),b=x.from(),E=x.to();if(b.ch==0&&b.line>a.firstLine()&&(b=qe(b.line-1,He(a.doc,b.line-1).length)),E.ch==He(a.doc,E.line).text.length&&E.line<a.lastLine()&&(E=qe(E.line+1,0)),b.line<y.viewFrom||E.line>y.viewTo-1)return!1;var ie,le,fe;b.line==y.viewFrom||(ie=po(a,b.line))==0?(le=Te(y.view[0].line),fe=y.view[0].node):(le=Te(y.view[ie].line),fe=y.view[ie-1].node.nextSibling);var ge=po(a,E.line),me,De;if(ge==y.view.length-1?(me=y.viewTo-1,De=y.lineDiv.lastChild):(me=Te(y.view[ge+1].line)-1,De=y.view[ge+1].node.previousSibling),!fe)return!1;for(var Ne=a.doc.splitLines(Ko(a,fe,De,le,me)),dt=jt(a.doc,qe(le,0),qe(me,He(a.doc,me).text.length));Ne.length>1&&dt.length>1;)if(Me(Ne)==Me(dt))Ne.pop(),dt.pop(),me--;else if(Ne[0]==dt[0])Ne.shift(),dt.shift(),le++;else break;for(var ut=0,Zt=0,gA=Ne[0],QA=dt[0],OA=Math.min(gA.length,QA.length);ut<OA&&gA.charCodeAt(ut)==QA.charCodeAt(ut);)++ut;for(var XA=Me(Ne),PA=Me(dt),tr=Math.min(XA.length-(Ne.length==1?ut:0),PA.length-(dt.length==1?ut:0));Zt<tr&&XA.charCodeAt(XA.length-Zt-1)==PA.charCodeAt(PA.length-Zt-1);)++Zt;if(Ne.length==1&&dt.length==1&&le==b.line)for(;ut&&ut>b.ch&&XA.charCodeAt(XA.length-Zt-1)==PA.charCodeAt(PA.length-Zt-1);)ut--,Zt++;Ne[Ne.length-1]=XA.slice(0,XA.length-Zt).replace(/^\u200b+/,""),Ne[0]=Ne[0].slice(ut).replace(/\u200b+$/,"");var kr=qe(le,ut),wr=qe(me,dt.length?Me(dt).length-Zt:0);if(Ne.length>1||Ne[0]||Gt(kr,wr))return ta(a.doc,Ne,kr,wr,"+input"),!0},yn.prototype.ensurePolled=function(){this.forceCompositionEnd()},yn.prototype.reset=function(){this.forceCompositionEnd()},yn.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},yn.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},yn.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Fi(this.cm,function(){return pi(a.cm)})},yn.prototype.setUneditable=function(a){a.contentEditable="false"},yn.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||Yn(this.cm,tl)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},yn.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},yn.prototype.onContextMenu=function(){},yn.prototype.resetPosition=function(){},yn.prototype.needsContentAttribute=!0;function No(a,y){var x=xi(a,y.line);if(!x||x.hidden)return null;var b=He(a.doc,y.line),E=_n(x,b,y.line),ie=xA(b,a.doc.direction),le="left";if(ie){var fe=pA(ie,y.ch);le=fe%2?"right":"left"}var ge=ha(E.map,y.ch,le);return ge.offset=ge.collapse=="right"?ge.end:ge.start,ge}function au(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function In(a,y){return y&&(a.bad=!0),a}function Ko(a,y,x,b,E){var ie="",le=!1,fe=a.doc.lineSeparator(),ge=!1;function me(ut){return function(Zt){return Zt.id==ut}}function De(){le&&(ie+=fe,ge&&(ie+=fe),le=ge=!1)}function Ne(ut){ut&&(De(),ie+=ut)}function dt(ut){if(ut.nodeType==1){var Zt=ut.getAttribute("cm-text");if(Zt){Ne(Zt);return}var gA=ut.getAttribute("cm-marker"),QA;if(gA){var OA=a.findMarks(qe(b,0),qe(E+1,0),me(+gA));OA.length&&(QA=OA[0].find(0))&&Ne(jt(a.doc,QA.from,QA.to).join(fe));return}if(ut.getAttribute("contenteditable")=="false")return;var XA=/^(pre|div|p|li|table|br)$/i.test(ut.nodeName);if(!/^br$/i.test(ut.nodeName)&&ut.textContent.length==0)return;XA&&De();for(var PA=0;PA<ut.childNodes.length;PA++)dt(ut.childNodes[PA]);/^(pre|p)$/i.test(ut.nodeName)&&(ge=!0),XA&&(le=!0)}else ut.nodeType==3&&Ne(ut.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;dt(y),y!=x;)y=y.nextSibling,ge=!1;return ie}function ao(a,y,x){var b;if(y==a.display.lineDiv){if(b=a.display.lineDiv.childNodes[x],!b)return In(a.clipPos(qe(a.display.viewTo-1)),!0);y=null,x=0}else for(b=y;;b=b.parentNode){if(!b||b==a.display.lineDiv)return null;if(b.parentNode&&b.parentNode==a.display.lineDiv)break}for(var E=0;E<a.display.view.length;E++){var ie=a.display.view[E];if(ie.node==b)return Fo(ie,y,x)}}function Fo(a,y,x){var b=a.text.firstChild,E=!1;if(!y||!$e(b,y))return In(qe(Te(a.line),0),!0);if(y==b&&(E=!0,y=b.childNodes[x],x=0,!y)){var ie=a.rest?Me(a.rest):a.line;return In(qe(Te(ie),ie.text.length),E)}var le=y.nodeType==3?y:null,fe=y;for(!le&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(le=y.firstChild,x&&(x=le.nodeValue.length));fe.parentNode!=b;)fe=fe.parentNode;var ge=a.measure,me=ge.maps;function De(QA,OA,XA){for(var PA=-1;PA<(me?me.length:0);PA++)for(var tr=PA<0?ge.map:me[PA],kr=0;kr<tr.length;kr+=3){var wr=tr[kr+2];if(wr==QA||wr==OA){var Zr=Te(PA<0?a.line:a.rest[PA]),Fn=tr[kr]+XA;return(XA<0||wr!=QA)&&(Fn=tr[kr+(XA?1:0)]),qe(Zr,Fn)}}}var Ne=De(le,fe,x);if(Ne)return In(Ne,E);for(var dt=fe.nextSibling,ut=le?le.nodeValue.length-x:0;dt;dt=dt.nextSibling){if(Ne=De(dt,dt.firstChild,0),Ne)return In(qe(Ne.line,Ne.ch-ut),E);ut+=dt.textContent.length}for(var Zt=fe.previousSibling,gA=x;Zt;Zt=Zt.previousSibling){if(Ne=De(Zt,Zt.firstChild,-1),Ne)return In(qe(Ne.line,Ne.ch+gA),E);gA+=Zt.textContent.length}}var xn=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new de,this.hasSelection=!1,this.composing=null};xn.prototype.init=function(a){var y=this,x=this,b=this.cm;this.createField(a);var E=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),Xe&&(E.style.width="0px"),Nt(E,"input",function(){Ee&&Qe>=9&&y.hasSelection&&(y.hasSelection=null),x.poll()}),Nt(E,"paste",function(le){mt(b,le)||Ma(le,b)||(b.state.pasteIncoming=+new Date,x.fastPoll())});function ie(le){if(!mt(b,le)){if(b.somethingSelected())Ta({lineWise:!1,text:b.getSelections()});else if(b.options.lineWiseCopyCut){var fe=Al(b);Ta({lineWise:!0,text:fe.text}),le.type=="cut"?b.setSelections(fe.ranges,null,Ve):(x.prevInput="",E.value=fe.text.join(`
|
|
`),Lt(E))}else return;le.type=="cut"&&(b.state.cutIncoming=+new Date)}}Nt(E,"cut",ie),Nt(E,"copy",ie),Nt(a.scroller,"paste",function(le){if(!(Xn(a,le)||mt(b,le))){if(!E.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var fe=new Event("paste");fe.clipboardData=le.clipboardData,E.dispatchEvent(fe)}}),Nt(a.lineSpace,"selectstart",function(le){Xn(a,le)||MA(le)}),Nt(E,"compositionstart",function(){var le=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:le,range:b.markText(le,b.getCursor("to"),{className:"CodeMirror-composing"})}}),Nt(E,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},xn.prototype.createField=function(a){this.wrapper=nu(),this.textarea=this.wrapper.firstChild},xn.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},xn.prototype.prepareSelection=function(){var a=this.cm,y=a.display,x=a.doc,b=ll(a);if(a.options.moveInputWithCursor){var E=gi(a,x.sel.primary().head,"div"),ie=y.wrapper.getBoundingClientRect(),le=y.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,E.top+le.top-ie.top)),b.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,E.left+le.left-ie.left))}return b},xn.prototype.showSelection=function(a){var y=this.cm,x=y.display;it(x.cursorDiv,a.cursors),it(x.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},xn.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var x=y.getSelection();this.textarea.value=x,y.state.focused&&Lt(this.textarea),Ee&&Qe>=9&&(this.hasSelection=x)}else a||(this.prevInput=this.textarea.value="",Ee&&Qe>=9&&(this.hasSelection=null))}},xn.prototype.getField=function(){return this.textarea},xn.prototype.supportsTouch=function(){return!1},xn.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!ze||_e()!=this.textarea))try{this.textarea.focus()}catch(a){}},xn.prototype.blur=function(){this.textarea.blur()},xn.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},xn.prototype.receivedFocus=function(){this.slowPoll()},xn.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},xn.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function x(){var b=y.poll();!b&&!a?(a=!0,y.polling.set(60,x)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,x)},xn.prototype.poll=function(){var a=this,y=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||!y.state.focused||TA(x)&&!b&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var E=x.value;if(E==b&&!y.somethingSelected())return!1;if(Ee&&Qe>=9&&this.hasSelection===E||Oe&&/[\uf700-\uf7ff]/.test(E))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var ie=E.charCodeAt(0);if(ie==8203&&!b&&(b="\u200B"),ie==8666)return this.reset(),this.cm.execCommand("undo")}for(var le=0,fe=Math.min(b.length,E.length);le<fe&&b.charCodeAt(le)==E.charCodeAt(le);)++le;return Fi(y,function(){tl(y,E.slice(le),b.length-le,null,a.composing?"*compose":null),E.length>1e3||E.indexOf(`
|
|
`)>-1?x.value=a.prevInput="":a.prevInput=E,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},xn.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},xn.prototype.onKeyPress=function(){Ee&&Qe>=9&&(this.hasSelection=null),this.fastPoll()},xn.prototype.onContextMenu=function(a){var y=this,x=y.cm,b=x.display,E=y.textarea;y.contextMenuPending&&y.contextMenuPending();var ie=go(x,a),le=b.scroller.scrollTop;if(!ie||Ce)return;var fe=x.options.resetSelectionOnContextMenu;fe&&x.doc.sel.contains(ie)==-1&&Yn(x,li)(x.doc,Bo(ie),Ve);var ge=E.style.cssText,me=y.wrapper.style.cssText,De=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
top: `+(a.clientY-De.top-5)+"px; left: "+(a.clientX-De.left-5)+`px;
|
|
z-index: 1000; background: `+(Ee?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ne;Ye&&(Ne=window.scrollY),b.input.focus(),Ye&&window.scrollTo(null,Ne),b.input.reset(),x.somethingSelected()||(E.value=y.prevInput=" "),y.contextMenuPending=ut,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function dt(){if(E.selectionStart!=null){var gA=x.somethingSelected(),QA="\u200B"+(gA?E.value:"");E.value="\u21DA",E.value=QA,y.prevInput=gA?"":"\u200B",E.selectionStart=1,E.selectionEnd=QA.length,b.selForContextMenu=x.doc.sel}}function ut(){if(y.contextMenuPending==ut&&(y.contextMenuPending=!1,y.wrapper.style.cssText=me,E.style.cssText=ge,Ee&&Qe<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=le),E.selectionStart!=null)){(!Ee||Ee&&Qe<9)&&dt();var gA=0,QA=function(){b.selForContextMenu==x.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&y.prevInput=="\u200B"?Yn(x,Ll)(x):gA++<10?b.detectingSelectAll=setTimeout(QA,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(QA,200)}}if(Ee&&Qe>=9&&dt(),nt){ZA(a);var Zt=function(){Xt(window,"mouseup",Zt),setTimeout(ut,20)};Nt(window,"mouseup",Zt)}else setTimeout(ut,50)},xn.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},xn.prototype.setUneditable=function(){},xn.prototype.needsContentAttribute=!1;function Ra(a,y){if(y=y?Jt(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var x=_e();y.autofocus=x==a||a.getAttribute("autofocus")!=null&&x==document.body}function b(){a.value=fe.getValue()}var E;if(a.form&&(Nt(a.form,"submit",b),!y.leaveSubmitMethodAlone)){var ie=a.form;E=ie.submit;try{var le=ie.submit=function(){b(),ie.submit=E,ie.submit(),ie.submit=le}}catch(ge){}}y.finishInit=function(ge){ge.save=b,ge.getTextArea=function(){return a},ge.toTextArea=function(){ge.toTextArea=isNaN,b(),a.parentNode.removeChild(ge.getWrapperElement()),a.style.display="",a.form&&(Xt(a.form,"submit",b),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=E))}},a.style.display="none";var fe=Qn(function(ge){return a.parentNode.insertBefore(ge,a.nextSibling)},y);return fe}function so(a){a.off=Xt,a.on=Nt,a.wheelEventPixels=yl,a.Doc=mi,a.splitLines=Ir,a.countColumn=be,a.findColumn=$t,a.isWordChar=ae,a.Pass=Rt,a.signal=IA,a.Line=Kr,a.changeEnd=wo,a.scrollbarModel=gl,a.Pos=qe,a.cmpPos=Gt,a.modes=Qt,a.mimeModes=Ot,a.resolveMode=YA,a.getMode=UA,a.modeExtensions=Cr,a.extendMode=hr,a.copyState=or,a.startState=Br,a.innerMode=JA,a.commands=ka,a.keyMap=io,a.keyName=Zs,a.isModifierKey=_l,a.lookupKey=Ro,a.normalizeKeyMap=Pu,a.StringStream=fA,a.SharedTextMarker=ra,a.TextMarker=Xi,a.LineWidget=Qa,a.e_preventDefault=MA,a.e_stopPropagation=dr,a.e_stop=ZA,a.addClass=Ze,a.contains=$e,a.rmClass=At,a.keyNames=xo}Vu(Qn),iu(Qn);var su="iter insert remove copy getEditor constructor".split(" ");for(var Pa in mi.prototype)mi.prototype.hasOwnProperty(Pa)&&Ct(su,Pa)<0&&(Qn.prototype[Pa]=function(a){return function(){return a.apply(this.doc,arguments)}}(mi.prototype[Pa]));return yA(mi),Qn.inputStyles={textarea:xn,contenteditable:yn},Qn.defineMode=function(a){!Qn.defaults.mode&&a!="null"&&(Qn.defaults.mode=a),cA.apply(this,arguments)},Qn.defineMIME=Ar,Qn.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Qn.defineMIME("text/plain","null"),Qn.defineExtension=function(a,y){Qn.prototype[a]=y},Qn.defineDocExtension=function(a,y){mi.prototype[a]=y},Qn.fromTextArea=Ra,so(Qn),Qn.version="5.58.2",Qn})},25419:function(oA,hA,Be){(function(se){se(Be(89780),Be(15525),Be(98101))})(function(se){"use strict";se.defineMode("markdown",function(ct,Le){var je=se.getMode(ct,"text/html"),Ee=je.name=="null";function Qe(be){if(se.findModeByName){var de=se.findModeByName(be);de&&(be=de.mime||de.mimes[0])}var Ct=se.getMode(ct,be);return Ct.name=="null"?null:Ct}Le.highlightFormatting===void 0&&(Le.highlightFormatting=!1),Le.maxBlockquoteDepth===void 0&&(Le.maxBlockquoteDepth=0),Le.taskLists===void 0&&(Le.taskLists=!1),Le.strikethrough===void 0&&(Le.strikethrough=!1),Le.emoji===void 0&&(Le.emoji=!1),Le.fencedCodeBlockHighlighting===void 0&&(Le.fencedCodeBlockHighlighting=!0),Le.fencedCodeBlockDefaultMode===void 0&&(Le.fencedCodeBlockDefaultMode="text/plain"),Le.xml===void 0&&(Le.xml=!0),Le.tokenTypeOverrides===void 0&&(Le.tokenTypeOverrides={});var Ye={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ke in Ye)Ye.hasOwnProperty(Ke)&&Le.tokenTypeOverrides[Ke]&&(Ye[Ke]=Le.tokenTypeOverrides[Ke]);var Ue=/^([*\-_])(?:\s*\1){2,}\s*$/,Ce=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,bt=/^\[(x| )\](?=\s)/i,Fe=Le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Dt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,Xe=/^[^#!\[\]*_\\<>` "'(~:]+/,Ge=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,ze=/^\s*\[[^\]]+?\]:.*$/,Oe=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,wt=" ";function ht(be,de,Ct){return de.f=de.inline=Ct,Ct(be,de)}function Ft(be,de,Ct){return de.f=de.block=Ct,Ct(be,de)}function et(be){return!be||!/\S/.test(be.string)}function nt(be){if(be.linkTitle=!1,be.linkHref=!1,be.linkText=!1,be.em=!1,be.strong=!1,be.strikethrough=!1,be.quote=0,be.indentedCode=!1,be.f==At){var de=Ee;if(!de){var Ct=se.innerMode(je,be.htmlState);de=Ct.mode.name=="xml"&&Ct.state.tagStart===null&&!Ct.state.context&&Ct.state.tokenize.isInText}de&&(be.f=yt,be.block=lt,be.htmlState=null)}return be.trailingSpace=0,be.trailingSpaceNewLine=!1,be.prevLine=be.thisLine,be.thisLine={stream:null},null}function lt(be,de){var Ct=be.column()===de.indentation,qt=et(de.prevLine.stream),Rt=de.indentedCode,Ve=de.prevLine.hr,pt=de.list!==!1,ft=(de.listStack[de.listStack.length-1]||0)+3;de.indentedCode=!1;var $t=de.indentation;if(de.indentationDiff===null&&(de.indentationDiff=de.indentation,pt)){for(de.list=null;$t<de.listStack[de.listStack.length-1];)de.listStack.pop(),de.listStack.length?de.indentation=de.listStack[de.listStack.length-1]:de.list=!1;de.list!==!1&&(de.indentationDiff=$t-de.listStack[de.listStack.length-1])}var It=!qt&&!Ve&&!de.prevLine.header&&(!pt||!Rt)&&!de.prevLine.fencedCodeEnd,eA=(de.list===!1||Ve||qt)&&de.indentation<=ft&&be.match(Ue),Me=null;if(de.indentationDiff>=4&&(Rt||de.prevLine.fencedCodeEnd||de.prevLine.header||qt))return be.skipToEnd(),de.indentedCode=!0,Ye.code;if(be.eatSpace())return null;if(Ct&&de.indentation<=ft&&(Me=be.match(Fe))&&Me[1].length<=6)return de.quote=0,de.header=Me[1].length,de.thisLine.header=!0,Le.highlightFormatting&&(de.formatting="header"),de.f=de.inline,it(de);if(de.indentation<=ft&&be.eat(">"))return de.quote=Ct?1:de.quote+1,Le.highlightFormatting&&(de.formatting="quote"),be.eatSpace(),it(de);if(!eA&&!de.setext&&Ct&&de.indentation<=ft&&(Me=be.match(Ce))){var Bt=Me[1]?"ol":"ul";return de.indentation=$t+be.current().length,de.list=!0,de.quote=0,de.listStack.push(de.indentation),de.em=!1,de.strong=!1,de.code=!1,de.strikethrough=!1,Le.taskLists&&be.match(bt,!1)&&(de.taskList=!0),de.f=de.inline,Le.highlightFormatting&&(de.formatting=["list","list-"+Bt]),it(de)}else{if(Ct&&de.indentation<=ft&&(Me=be.match(Ge,!0)))return de.quote=0,de.fencedEndRE=new RegExp(Me[1]+"+ *$"),de.localMode=Le.fencedCodeBlockHighlighting&&Qe(Me[2]||Le.fencedCodeBlockDefaultMode),de.localMode&&(de.localState=se.startState(de.localMode)),de.f=de.block=uA,Le.highlightFormatting&&(de.formatting="code-block"),de.code=-1,it(de);if(de.setext||(!It||!pt)&&!de.quote&&de.list===!1&&!de.code&&!eA&&!ze.test(be.string)&&(Me=be.lookAhead(1))&&(Me=Me.match(Dt)))return de.setext?(de.header=de.setext,de.setext=0,be.skipToEnd(),Le.highlightFormatting&&(de.formatting="header")):(de.header=Me[0].charAt(0)=="="?1:2,de.setext=de.header),de.thisLine.header=!0,de.f=de.inline,it(de);if(eA)return be.skipToEnd(),de.hr=!0,de.thisLine.hr=!0,Ye.hr;if(be.peek()==="[")return ht(be,de,Mt)}return ht(be,de,de.inline)}function At(be,de){var Ct=je.token(be,de.htmlState);if(!Ee){var qt=se.innerMode(je,de.htmlState);(qt.mode.name=="xml"&&qt.state.tagStart===null&&!qt.state.context&&qt.state.tokenize.isInText||de.md_inside&&be.current().indexOf(">")>-1)&&(de.f=yt,de.block=lt,de.htmlState=null)}return Ct}function uA(be,de){var Ct=de.listStack[de.listStack.length-1]||0,qt=de.indentation<Ct,Rt=Ct+3;if(de.fencedEndRE&&de.indentation<=Rt&&(qt||be.match(de.fencedEndRE))){Le.highlightFormatting&&(de.formatting="code-block");var Ve;return qt||(Ve=it(de)),de.localMode=de.localState=null,de.block=lt,de.f=yt,de.fencedEndRE=null,de.code=0,de.thisLine.fencedCodeEnd=!0,qt?Ft(be,de,de.block):Ve}else return de.localMode?de.localMode.token(be,de.localState):(be.skipToEnd(),Ye.code)}function it(be){var de=[];if(be.formatting){de.push(Ye.formatting),typeof be.formatting=="string"&&(be.formatting=[be.formatting]);for(var Ct=0;Ct<be.formatting.length;Ct++)de.push(Ye.formatting+"-"+be.formatting[Ct]),be.formatting[Ct]==="header"&&de.push(Ye.formatting+"-"+be.formatting[Ct]+"-"+be.header),be.formatting[Ct]==="quote"&&(!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=be.quote?de.push(Ye.formatting+"-"+be.formatting[Ct]+"-"+be.quote):de.push("error"))}if(be.taskOpen)return de.push("meta"),de.length?de.join(" "):null;if(be.taskClosed)return de.push("property"),de.length?de.join(" "):null;if(be.linkHref?de.push(Ye.linkHref,"url"):(be.strong&&de.push(Ye.strong),be.em&&de.push(Ye.em),be.strikethrough&&de.push(Ye.strikethrough),be.emoji&&de.push(Ye.emoji),be.linkText&&de.push(Ye.linkText),be.code&&de.push(Ye.code),be.image&&de.push(Ye.image),be.imageAltText&&de.push(Ye.imageAltText,"link"),be.imageMarker&&de.push(Ye.imageMarker)),be.header&&de.push(Ye.header,Ye.header+"-"+be.header),be.quote&&(de.push(Ye.quote),!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=be.quote?de.push(Ye.quote+"-"+be.quote):de.push(Ye.quote+"-"+Le.maxBlockquoteDepth)),be.list!==!1){var qt=(be.listStack.length-1)%3;qt?qt===1?de.push(Ye.list2):de.push(Ye.list3):de.push(Ye.list1)}return be.trailingSpaceNewLine?de.push("trailing-space-new-line"):be.trailingSpace&&de.push("trailing-space-"+(be.trailingSpace%2?"a":"b")),de.length?de.join(" "):null}function Je(be,de){if(be.match(Xe,!0))return it(de)}function yt(be,de){var Ct=de.text(be,de);if(typeof Ct!="undefined")return Ct;if(de.list)return de.list=null,it(de);if(de.taskList){var qt=be.match(bt,!0)[1]===" ";return qt?de.taskOpen=!0:de.taskClosed=!0,Le.highlightFormatting&&(de.formatting="task"),de.taskList=!1,it(de)}if(de.taskOpen=!1,de.taskClosed=!1,de.header&&be.match(/^#+$/,!0))return Le.highlightFormatting&&(de.formatting="header"),it(de);var Rt=be.next();if(de.linkTitle){de.linkTitle=!1;var Ve=Rt;Rt==="("&&(Ve=")"),Ve=(Ve+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var pt="^\\s*(?:[^"+Ve+"\\\\]+|\\\\\\\\|\\\\.)"+Ve;if(be.match(new RegExp(pt),!0))return Ye.linkHref}if(Rt==="`"){var ft=de.formatting;Le.highlightFormatting&&(de.formatting="code"),be.eatWhile("`");var $t=be.current().length;if(de.code==0&&(!de.quote||$t==1))return de.code=$t,it(de);if($t==de.code){var It=it(de);return de.code=0,It}else return de.formatting=ft,it(de)}else if(de.code)return it(de);if(Rt==="\\"&&(be.next(),Le.highlightFormatting)){var eA=it(de),Me=Ye.formatting+"-escape";return eA?eA+" "+Me:Me}if(Rt==="!"&&be.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return de.imageMarker=!0,de.image=!0,Le.highlightFormatting&&(de.formatting="image"),it(de);if(Rt==="["&&de.imageMarker&&be.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return de.imageMarker=!1,de.imageAltText=!0,Le.highlightFormatting&&(de.formatting="image"),it(de);if(Rt==="]"&&de.imageAltText){Le.highlightFormatting&&(de.formatting="image");var eA=it(de);return de.imageAltText=!1,de.image=!1,de.inline=de.f=$e,eA}if(Rt==="["&&!de.image)return de.linkText&&be.match(/^.*?\]/)||(de.linkText=!0,Le.highlightFormatting&&(de.formatting="link")),it(de);if(Rt==="]"&&de.linkText){Le.highlightFormatting&&(de.formatting="link");var eA=it(de);return de.linkText=!1,de.inline=de.f=be.match(/\(.*?\)| ?\[.*?\]/,!1)?$e:yt,eA}if(Rt==="<"&&be.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){de.f=de.inline=We,Le.highlightFormatting&&(de.formatting="link");var eA=it(de);return eA?eA+=" ":eA="",eA+Ye.linkInline}if(Rt==="<"&&be.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){de.f=de.inline=We,Le.highlightFormatting&&(de.formatting="link");var eA=it(de);return eA?eA+=" ":eA="",eA+Ye.linkEmail}if(Le.xml&&Rt==="<"&&be.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Bt=be.string.indexOf(">",be.pos);if(Bt!=-1){var xt=be.string.substring(be.start,Bt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(xt)&&(de.md_inside=!0)}return be.backUp(1),de.htmlState=se.startState(je),Ft(be,de,At)}if(Le.xml&&Rt==="<"&&be.match(/^\/\w*?>/))return de.md_inside=!1,"tag";if(Rt==="*"||Rt==="_"){for(var ue=1,ne=be.pos==1?" ":be.string.charAt(be.pos-2);ue<3&&be.eat(Rt);)ue++;var re=be.peek()||" ",ae=!/\s/.test(re)&&(!Oe.test(re)||/\s/.test(ne)||Oe.test(ne)),he=!/\s/.test(ne)&&(!Oe.test(ne)||/\s/.test(re)||Oe.test(re)),oe=null,Se=null;if(ue%2&&(!de.em&&ae&&(Rt==="*"||!he||Oe.test(ne))?oe=!0:de.em==Rt&&he&&(Rt==="*"||!ae||Oe.test(re))&&(oe=!1)),ue>1&&(!de.strong&&ae&&(Rt==="*"||!he||Oe.test(ne))?Se=!0:de.strong==Rt&&he&&(Rt==="*"||!ae||Oe.test(re))&&(Se=!1)),Se!=null||oe!=null){Le.highlightFormatting&&(de.formatting=oe==null?"strong":Se==null?"em":"strong em"),oe===!0&&(de.em=Rt),Se===!0&&(de.strong=Rt);var It=it(de);return oe===!1&&(de.em=!1),Se===!1&&(de.strong=!1),It}}else if(Rt===" "&&(be.eat("*")||be.eat("_"))){if(be.peek()===" ")return it(de);be.backUp(1)}if(Le.strikethrough){if(Rt==="~"&&be.eatWhile(Rt)){if(de.strikethrough){Le.highlightFormatting&&(de.formatting="strikethrough");var It=it(de);return de.strikethrough=!1,It}else if(be.match(/^[^\s]/,!1))return de.strikethrough=!0,Le.highlightFormatting&&(de.formatting="strikethrough"),it(de)}else if(Rt===" "&&be.match(/^~~/,!0)){if(be.peek()===" ")return it(de);be.backUp(2)}}if(Le.emoji&&Rt===":"&&be.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){de.emoji=!0,Le.highlightFormatting&&(de.formatting="emoji");var rt=it(de);return de.emoji=!1,rt}return Rt===" "&&(be.match(/^ +$/,!1)?de.trailingSpace++:de.trailingSpace&&(de.trailingSpaceNewLine=!0)),it(de)}function We(be,de){var Ct=be.next();if(Ct===">"){de.f=de.inline=yt,Le.highlightFormatting&&(de.formatting="link");var qt=it(de);return qt?qt+=" ":qt="",qt+Ye.linkInline}return be.match(/^[^>]+/,!0),Ye.linkInline}function $e(be,de){if(be.eatSpace())return null;var Ct=be.next();return Ct==="("||Ct==="["?(de.f=de.inline=Ze(Ct==="("?")":"]"),Le.highlightFormatting&&(de.formatting="link-string"),de.linkHref=!0,it(de)):"error"}var _e={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ze(be){return function(de,Ct){var qt=de.next();if(qt===be){Ct.f=Ct.inline=yt,Le.highlightFormatting&&(Ct.formatting="link-string");var Rt=it(Ct);return Ct.linkHref=!1,Rt}return de.match(_e[be]),Ct.linkHref=!0,it(Ct)}}function Mt(be,de){return be.match(/^([^\]\\]|\\.)*\]:/,!1)?(de.f=Lt,be.next(),Le.highlightFormatting&&(de.formatting="link"),de.linkText=!0,it(de)):ht(be,de,yt)}function Lt(be,de){if(be.match(/^\]:/,!0)){de.f=de.inline=aA,Le.highlightFormatting&&(de.formatting="link");var Ct=it(de);return de.linkText=!1,Ct}return be.match(/^([^\]\\]|\\.)+/,!0),Ye.linkText}function aA(be,de){return be.eatSpace()?null:(be.match(/^[^\s]+/,!0),be.peek()===void 0?de.linkTitle=!0:be.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),de.f=de.inline=yt,Ye.linkHref+" url")}var Jt={startState:function(){return{f:lt,prevLine:{stream:null},thisLine:{stream:null},block:lt,htmlState:null,indentation:0,inline:yt,text:Je,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(be){return{f:be.f,prevLine:be.prevLine,thisLine:be.thisLine,block:be.block,htmlState:be.htmlState&&se.copyState(je,be.htmlState),indentation:be.indentation,localMode:be.localMode,localState:be.localMode?se.copyState(be.localMode,be.localState):null,inline:be.inline,text:be.text,formatting:!1,linkText:be.linkText,linkTitle:be.linkTitle,linkHref:be.linkHref,code:be.code,em:be.em,strong:be.strong,strikethrough:be.strikethrough,emoji:be.emoji,header:be.header,setext:be.setext,hr:be.hr,taskList:be.taskList,list:be.list,listStack:be.listStack.slice(0),quote:be.quote,indentedCode:be.indentedCode,trailingSpace:be.trailingSpace,trailingSpaceNewLine:be.trailingSpaceNewLine,md_inside:be.md_inside,fencedEndRE:be.fencedEndRE}},token:function(be,de){if(de.formatting=!1,be!=de.thisLine.stream){if(de.header=0,de.hr=!1,be.match(/^\s*$/,!0))return nt(de),null;if(de.prevLine=de.thisLine,de.thisLine={stream:be},de.taskList=!1,de.trailingSpace=0,de.trailingSpaceNewLine=!1,!de.localState&&(de.f=de.block,de.f!=At)){var Ct=be.match(/^\s*/,!0)[0].replace(/\t/g,wt).length;if(de.indentation=Ct,de.indentationDiff=null,Ct>0)return null}}return de.f(be,de)},innerMode:function(be){return be.block==At?{state:be.htmlState,mode:je}:be.localState?{state:be.localState,mode:be.localMode}:{state:be,mode:Jt}},indent:function(be,de,Ct){return be.block==At&&je.indent?je.indent(be.htmlState,de,Ct):be.localState&&be.localMode.indent?be.localMode.indent(be.localState,de,Ct):se.Pass},blankLine:nt,getType:it,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Jt},"xml"),se.defineMIME("text/markdown","markdown"),se.defineMIME("text/x-markdown","markdown")})},98101:function(oA,hA,Be){(function(se){se(Be(89780))})(function(se){"use strict";se.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 ct=0;ct<se.modeInfo.length;ct++){var Le=se.modeInfo[ct];Le.mimes&&(Le.mime=Le.mimes[0])}se.findModeByMIME=function(je){je=je.toLowerCase();for(var Ee=0;Ee<se.modeInfo.length;Ee++){var Qe=se.modeInfo[Ee];if(Qe.mime==je)return Qe;if(Qe.mimes){for(var Ye=0;Ye<Qe.mimes.length;Ye++)if(Qe.mimes[Ye]==je)return Qe}}if(/\+xml$/.test(je))return se.findModeByMIME("application/xml");if(/\+json$/.test(je))return se.findModeByMIME("application/json")},se.findModeByExtension=function(je){je=je.toLowerCase();for(var Ee=0;Ee<se.modeInfo.length;Ee++){var Qe=se.modeInfo[Ee];if(Qe.ext){for(var Ye=0;Ye<Qe.ext.length;Ye++)if(Qe.ext[Ye]==je)return Qe}}},se.findModeByFileName=function(je){for(var Ee=0;Ee<se.modeInfo.length;Ee++){var Qe=se.modeInfo[Ee];if(Qe.file&&Qe.file.test(je))return Qe}var Ye=je.lastIndexOf("."),Ke=Ye>-1&&je.substring(Ye+1,je.length);if(Ke)return se.findModeByExtension(Ke)},se.findModeByName=function(je){je=je.toLowerCase();for(var Ee=0;Ee<se.modeInfo.length;Ee++){var Qe=se.modeInfo[Ee];if(Qe.name.toLowerCase()==je)return Qe;if(Qe.alias){for(var Ye=0;Ye<Qe.alias.length;Ye++)if(Qe.alias[Ye].toLowerCase()==je)return Qe}}}})},67549:function(oA,hA,Be){(function(se){se(Be(89780))})(function(se){"use strict";se.defineMode("stex",function(ct,Le){"use strict";function je(Xe,Ge){Xe.cmdState.push(Ge)}function Ee(Xe){return Xe.cmdState.length>0?Xe.cmdState[Xe.cmdState.length-1]:null}function Qe(Xe){var Ge=Xe.cmdState.pop();Ge&&Ge.closeBracket()}function Ye(Xe){for(var Ge=Xe.cmdState,ze=Ge.length-1;ze>=0;ze--){var Oe=Ge[ze];if(Oe.name!="DEFAULT")return Oe}return{styleIdentifier:function(){return null}}}function Ke(Xe,Ge,ze){return function(){this.name=Xe,this.bracketNo=0,this.style=Ge,this.styles=ze,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ue={};Ue.importmodule=Ke("importmodule","tag",["string","builtin"]),Ue.documentclass=Ke("documentclass","tag",["","atom"]),Ue.usepackage=Ke("usepackage","tag",["atom"]),Ue.begin=Ke("begin","tag",["atom"]),Ue.end=Ke("end","tag",["atom"]),Ue.label=Ke("label","tag",["atom"]),Ue.ref=Ke("ref","tag",["atom"]),Ue.eqref=Ke("eqref","tag",["atom"]),Ue.cite=Ke("cite","tag",["atom"]),Ue.bibitem=Ke("bibitem","tag",["atom"]),Ue.Bibitem=Ke("Bibitem","tag",["atom"]),Ue.RBibitem=Ke("RBibitem","tag",["atom"]),Ue.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function Ce(Xe,Ge){Xe.f=Ge}function bt(Xe,Ge){var ze;if(Xe.match(/^\\[a-zA-Z@]+/)){var Oe=Xe.current().slice(1);return ze=Ue.hasOwnProperty(Oe)?Ue[Oe]:Ue.DEFAULT,ze=new ze,je(Ge,ze),Ce(Ge,Dt),ze.style}if(Xe.match(/^\\[$&%#{}_]/)||Xe.match(/^\\[,;!\/\\]/))return"tag";if(Xe.match("\\["))return Ce(Ge,function(ht,Ft){return Fe(ht,Ft,"\\]")}),"keyword";if(Xe.match("\\("))return Ce(Ge,function(ht,Ft){return Fe(ht,Ft,"\\)")}),"keyword";if(Xe.match("$$"))return Ce(Ge,function(ht,Ft){return Fe(ht,Ft,"$$")}),"keyword";if(Xe.match("$"))return Ce(Ge,function(ht,Ft){return Fe(ht,Ft,"$")}),"keyword";var wt=Xe.next();if(wt=="%")return Xe.skipToEnd(),"comment";if(wt=="}"||wt=="]"){if(ze=Ee(Ge),ze)ze.closeBracket(wt),Ce(Ge,Dt);else return"error";return"bracket"}else return wt=="{"||wt=="["?(ze=Ue.DEFAULT,ze=new ze,je(Ge,ze),"bracket"):/\d/.test(wt)?(Xe.eatWhile(/[\w.%]/),"atom"):(Xe.eatWhile(/[\w\-_]/),ze=Ye(Ge),ze.name=="begin"&&(ze.argument=Xe.current()),ze.styleIdentifier())}function Fe(Xe,Ge,ze){if(Xe.eatSpace())return null;if(ze&&Xe.match(ze))return Ce(Ge,bt),"keyword";if(Xe.match(/^\\[a-zA-Z@]+/))return"tag";if(Xe.match(/^[a-zA-Z]+/))return"variable-2";if(Xe.match(/^\\[$&%#{}_]/)||Xe.match(/^\\[,;!\/]/)||Xe.match(/^[\^_&]/))return"tag";if(Xe.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(Xe.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Oe=Xe.next();return Oe=="{"||Oe=="}"||Oe=="["||Oe=="]"||Oe=="("||Oe==")"?"bracket":Oe=="%"?(Xe.skipToEnd(),"comment"):"error"}function Dt(Xe,Ge){var ze=Xe.peek(),Oe;return ze=="{"||ze=="["?(Oe=Ee(Ge),Oe.openBracket(ze),Xe.eat(ze),Ce(Ge,bt),"bracket"):/[ \t\r]/.test(ze)?(Xe.eat(ze),null):(Ce(Ge,bt),Qe(Ge),bt(Xe,Ge))}return{startState:function(){var Xe=Le.inMathMode?function(Ge,ze){return Fe(Ge,ze)}:bt;return{cmdState:[],f:Xe}},copyState:function(Xe){return{cmdState:Xe.cmdState.slice(),f:Xe.f}},token:function(Xe,Ge){return Ge.f(Xe,Ge)},blankLine:function(Xe){Xe.f=bt,Xe.cmdState.length=0},lineComment:"%"}}),se.defineMIME("text/x-stex","stex"),se.defineMIME("text/x-latex","stex")})},15525:function(oA,hA,Be){(function(se){se(Be(89780))})(function(se){"use strict";var ct={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},Le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};se.defineMode("xml",function(je,Ee){var Qe=je.indentUnit,Ye={},Ke=Ee.htmlMode?ct:Le;for(var Ue in Ke)Ye[Ue]=Ke[Ue];for(var Ue in Ee)Ye[Ue]=Ee[Ue];var Ce,bt;function Fe(We,$e){function _e(Lt){return $e.tokenize=Lt,Lt(We,$e)}var Ze=We.next();if(Ze=="<")return We.eat("!")?We.eat("[")?We.match("CDATA[")?_e(Ge("atom","]]>")):null:We.match("--")?_e(Ge("comment","-->")):We.match("DOCTYPE",!0,!0)?(We.eatWhile(/[\w\._\-]/),_e(ze(1))):null:We.eat("?")?(We.eatWhile(/[\w\._\-]/),$e.tokenize=Ge("meta","?>"),"meta"):(Ce=We.eat("/")?"closeTag":"openTag",$e.tokenize=Dt,"tag bracket");if(Ze=="&"){var Mt;return We.eat("#")?We.eat("x")?Mt=We.eatWhile(/[a-fA-F\d]/)&&We.eat(";"):Mt=We.eatWhile(/[\d]/)&&We.eat(";"):Mt=We.eatWhile(/[\w\.\-:]/)&&We.eat(";"),Mt?"atom":"error"}else return We.eatWhile(/[^&<]/),null}Fe.isInText=!0;function Dt(We,$e){var _e=We.next();if(_e==">"||_e=="/"&&We.eat(">"))return $e.tokenize=Fe,Ce=_e==">"?"endTag":"selfcloseTag","tag bracket";if(_e=="=")return Ce="equals",null;if(_e=="<"){$e.tokenize=Fe,$e.state=Ft,$e.tagName=$e.tagStart=null;var Ze=$e.tokenize(We,$e);return Ze?Ze+" tag error":"tag error"}else return/[\'\"]/.test(_e)?($e.tokenize=Xe(_e),$e.stringStartCol=We.column(),$e.tokenize(We,$e)):(We.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Xe(We){var $e=function(_e,Ze){for(;!_e.eol();)if(_e.next()==We){Ze.tokenize=Dt;break}return"string"};return $e.isInAttribute=!0,$e}function Ge(We,$e){return function(_e,Ze){for(;!_e.eol();){if(_e.match($e)){Ze.tokenize=Fe;break}_e.next()}return We}}function ze(We){return function($e,_e){for(var Ze;(Ze=$e.next())!=null;){if(Ze=="<")return _e.tokenize=ze(We+1),_e.tokenize($e,_e);if(Ze==">")if(We==1){_e.tokenize=Fe;break}else return _e.tokenize=ze(We-1),_e.tokenize($e,_e)}return"meta"}}function Oe(We,$e,_e){this.prev=We.context,this.tagName=$e,this.indent=We.indented,this.startOfLine=_e,(Ye.doNotIndent.hasOwnProperty($e)||We.context&&We.context.noIndent)&&(this.noIndent=!0)}function wt(We){We.context&&(We.context=We.context.prev)}function ht(We,$e){for(var _e;;){if(!We.context||(_e=We.context.tagName,!Ye.contextGrabbers.hasOwnProperty(_e)||!Ye.contextGrabbers[_e].hasOwnProperty($e)))return;wt(We)}}function Ft(We,$e,_e){return We=="openTag"?(_e.tagStart=$e.column(),et):We=="closeTag"?nt:Ft}function et(We,$e,_e){return We=="word"?(_e.tagName=$e.current(),bt="tag",uA):Ye.allowMissingTagName&&We=="endTag"?(bt="tag bracket",uA(We,$e,_e)):(bt="error",et)}function nt(We,$e,_e){if(We=="word"){var Ze=$e.current();return _e.context&&_e.context.tagName!=Ze&&Ye.implicitlyClosed.hasOwnProperty(_e.context.tagName)&&wt(_e),_e.context&&_e.context.tagName==Ze||Ye.matchClosing===!1?(bt="tag",lt):(bt="tag error",At)}else return Ye.allowMissingTagName&&We=="endTag"?(bt="tag bracket",lt(We,$e,_e)):(bt="error",At)}function lt(We,$e,_e){return We!="endTag"?(bt="error",lt):(wt(_e),Ft)}function At(We,$e,_e){return bt="error",lt(We,$e,_e)}function uA(We,$e,_e){if(We=="word")return bt="attribute",it;if(We=="endTag"||We=="selfcloseTag"){var Ze=_e.tagName,Mt=_e.tagStart;return _e.tagName=_e.tagStart=null,We=="selfcloseTag"||Ye.autoSelfClosers.hasOwnProperty(Ze)?ht(_e,Ze):(ht(_e,Ze),_e.context=new Oe(_e,Ze,Mt==_e.indented)),Ft}return bt="error",uA}function it(We,$e,_e){return We=="equals"?Je:(Ye.allowMissing||(bt="error"),uA(We,$e,_e))}function Je(We,$e,_e){return We=="string"?yt:We=="word"&&Ye.allowUnquoted?(bt="string",uA):(bt="error",uA(We,$e,_e))}function yt(We,$e,_e){return We=="string"?yt:uA(We,$e,_e)}return{startState:function(We){var $e={tokenize:Fe,state:Ft,indented:We||0,tagName:null,tagStart:null,context:null};return We!=null&&($e.baseIndent=We),$e},token:function(We,$e){if(!$e.tagName&&We.sol()&&($e.indented=We.indentation()),We.eatSpace())return null;Ce=null;var _e=$e.tokenize(We,$e);return(_e||Ce)&&_e!="comment"&&(bt=null,$e.state=$e.state(Ce||_e,We,$e),bt&&(_e=bt=="error"?_e+" error":bt)),_e},indent:function(We,$e,_e){var Ze=We.context;if(We.tokenize.isInAttribute)return We.tagStart==We.indented?We.stringStartCol+1:We.indented+Qe;if(Ze&&Ze.noIndent)return se.Pass;if(We.tokenize!=Dt&&We.tokenize!=Fe)return _e?_e.match(/^(\s*)/)[0].length:0;if(We.tagName)return Ye.multilineTagIndentPastTag!==!1?We.tagStart+We.tagName.length+2:We.tagStart+Qe*(Ye.multilineTagIndentFactor||1);if(Ye.alignCDATA&&/<!\[CDATA\[/.test($e))return 0;var Mt=$e&&/^<(\/)?([\w_:\.-]*)/.exec($e);if(Mt&&Mt[1])for(;Ze;)if(Ze.tagName==Mt[2]){Ze=Ze.prev;break}else if(Ye.implicitlyClosed.hasOwnProperty(Ze.tagName))Ze=Ze.prev;else break;else if(Mt)for(;Ze;){var Lt=Ye.contextGrabbers[Ze.tagName];if(Lt&&Lt.hasOwnProperty(Mt[2]))Ze=Ze.prev;else break}for(;Ze&&Ze.prev&&!Ze.startOfLine;)Ze=Ze.prev;return Ze?Ze.indent+Qe:We.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Ye.htmlMode?"html":"xml",helperType:Ye.htmlMode?"html":"xml",skipAttribute:function(We){We.state==Je&&(We.state=uA)},xmlCurrentTag:function(We){return We.tagName?{name:We.tagName,close:We.type=="closeTag"}:null},xmlCurrentContext:function(We){for(var $e=[],_e=We.context;_e;_e=_e.prev)_e.tagName&&$e.push(_e.tagName);return $e.reverse()}}}),se.defineMIME("text/xml","xml"),se.defineMIME("application/xml","xml"),se.mimeModes.hasOwnProperty("text/html")||se.defineMIME("text/html",{name:"xml",htmlMode:!0})})},6330:function(oA,hA,Be){"use strict";Be.d(hA,{HT:function(){return JA},iZ:function(){return UA}});var se={},ct=function(we,ve,xe,Pe,st){var Et=new Worker(se[ve]||(se[ve]=URL.createObjectURL(new Blob([we+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Et.onmessage=function(Vt){var rA=Vt.data,wA=rA.$e$;if(wA){var lA=new Error(wA[0]);lA.code=wA[1],lA.stack=wA[2],st(lA,null)}else st(null,rA)},Et.postMessage(xe,Pe),Et},Le=Uint8Array,je=Uint16Array,Ee=Int32Array,Qe=new Le([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ye=new Le([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ke=new Le([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ue=function(we,ve){for(var xe=new je(31),Pe=0;Pe<31;++Pe)xe[Pe]=ve+=1<<we[Pe-1];for(var st=new Ee(xe[30]),Pe=1;Pe<30;++Pe)for(var Et=xe[Pe];Et<xe[Pe+1];++Et)st[Et]=Et-xe[Pe]<<5|Pe;return{b:xe,r:st}},Ce=Ue(Qe,2),bt=Ce.b,Fe=Ce.r;bt[28]=258,Fe[258]=28;for(var Dt=Ue(Ye,0),Xe=Dt.b,Ge=Dt.r,ze=new je(32768),Oe=0;Oe<32768;++Oe){var wt=(Oe&43690)>>1|(Oe&21845)<<1;wt=(wt&52428)>>2|(wt&13107)<<2,wt=(wt&61680)>>4|(wt&3855)<<4,ze[Oe]=((wt&65280)>>8|(wt&255)<<8)>>1}for(var ht=function(we,ve,xe){for(var Pe=we.length,st=0,Et=new je(ve);st<Pe;++st)we[st]&&++Et[we[st]-1];var Vt=new je(ve);for(st=1;st<ve;++st)Vt[st]=Vt[st-1]+Et[st-1]<<1;var rA;if(xe){rA=new je(1<<ve);var wA=15-ve;for(st=0;st<Pe;++st)if(we[st])for(var lA=st<<4|we[st],zt=ve-we[st],nA=Vt[we[st]-1]++<<zt,_A=nA|(1<<zt)-1;nA<=_A;++nA)rA[ze[nA]>>wA]=lA}else for(rA=new je(Pe),st=0;st<Pe;++st)we[st]&&(rA[st]=ze[Vt[we[st]-1]++]>>15-we[st]);return rA},Ft=new Le(288),Oe=0;Oe<144;++Oe)Ft[Oe]=8;for(var Oe=144;Oe<256;++Oe)Ft[Oe]=9;for(var Oe=256;Oe<280;++Oe)Ft[Oe]=7;for(var Oe=280;Oe<288;++Oe)Ft[Oe]=8;for(var et=new Le(32),Oe=0;Oe<32;++Oe)et[Oe]=5;var nt=ht(Ft,9,0),lt=ht(Ft,9,1),At=ht(et,5,0),uA=ht(et,5,1),it=function(we){for(var ve=we[0],xe=1;xe<we.length;++xe)we[xe]>ve&&(ve=we[xe]);return ve},Je=function(we,ve,xe){var Pe=ve/8|0;return(we[Pe]|we[Pe+1]<<8)>>(ve&7)&xe},yt=function(we,ve){var xe=ve/8|0;return(we[xe]|we[xe+1]<<8|we[xe+2]<<16)>>(ve&7)},We=function(we){return(we+7)/8|0},$e=function(we,ve,xe){return(ve==null||ve<0)&&(ve=0),(xe==null||xe>we.length)&&(xe=we.length),new Le(we.subarray(ve,xe))},_e={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Ze=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Mt=function(we,ve,xe){var Pe=new Error(ve||Ze[we]);if(Pe.code=we,Error.captureStackTrace&&Error.captureStackTrace(Pe,Mt),!xe)throw Pe;return Pe},Lt=function(we,ve,xe,Pe){var st=we.length,Et=Pe?Pe.length:0;if(!st||ve.f&&!ve.l)return xe||new Le(0);var Vt=!xe,rA=Vt||ve.i!=2,wA=ve.i;Vt&&(xe=new Le(st*3));var lA=function(ii){var un=xe.length;if(ii>un){var jn=new Le(Math.max(un*2,ii));jn.set(xe),xe=jn}},zt=ve.f||0,nA=ve.p||0,_A=ve.b||0,er=ve.l,cr=ve.d,lr=ve.m,jA=ve.n,Qr=st*8;do{if(!er){zt=Je(we,nA,1);var Mr=Je(we,nA+1,3);if(nA+=3,Mr)if(Mr==1)er=lt,cr=uA,lr=9,jA=5;else if(Mr==2){var tA=Je(we,nA,31)+257,Ut=Je(we,nA+10,15)+4,tt=tA+Je(we,nA+5,31)+1;nA+=14;for(var St=new Le(tt),AA=new Le(19),BA=0;BA<Ut;++BA)AA[Ke[BA]]=Je(we,nA+BA*3,7);nA+=Ut*3;for(var WA=it(AA),pr=(1<<WA)-1,yr=ht(AA,WA,1),BA=0;BA<tt;){var gr=yr[Je(we,nA,pr)];nA+=gr&15;var fr=gr>>4;if(fr<16)St[BA++]=fr;else{var Dr=0,vr=0;for(fr==16?(vr=3+Je(we,nA,3),nA+=2,Dr=St[BA-1]):fr==17?(vr=3+Je(we,nA,7),nA+=3):fr==18&&(vr=11+Je(we,nA,127),nA+=7);vr--;)St[BA++]=Dr}}var Kr=St.subarray(0,tA),on=St.subarray(tA);lr=it(Kr),jA=it(on),er=ht(Kr,lr,1),cr=ht(on,jA,1)}else Mt(1);else{var fr=We(nA)+4,FA=we[fr-4]|we[fr-3]<<8,_t=fr+FA;if(_t>st){wA&&Mt(0);break}rA&&lA(_A+FA),xe.set(we.subarray(fr,_t),_A),ve.b=_A+=FA,ve.p=nA=_t*8,ve.f=zt;continue}if(nA>Qr){wA&&Mt(0);break}}rA&&lA(_A+131072);for(var Sn=(1<<lr)-1,an=(1<<jA)-1,dn=nA;;dn=nA){var Dr=er[yt(we,nA)&Sn],Pr=Dr>>4;if(nA+=Dr&15,nA>Qr){wA&&Mt(0);break}if(Dr||Mt(2),Pr<256)xe[_A++]=Pr;else if(Pr==256){dn=nA,er=null;break}else{var mn=Pr-254;if(Pr>264){var BA=Pr-257,sn=Qe[BA];mn=Je(we,nA,(1<<sn)-1)+bt[BA],nA+=sn}var Vr=cr[yt(we,nA)&an],Kn=Vr>>4;Vr||Mt(3),nA+=Vr&15;var on=Xe[Kn];if(Kn>3){var sn=Ye[Kn];on+=yt(we,nA)&(1<<sn)-1,nA+=sn}if(nA>Qr){wA&&Mt(0);break}rA&&lA(_A+131072);var On=_A+mn;if(_A<on){var fi=Et-on,Zn=Math.min(on,On);for(fi+_A<0&&Mt(3);_A<Zn;++_A)xe[_A]=Pe[fi+_A]}for(;_A<On;++_A)xe[_A]=xe[_A-on]}}ve.l=er,ve.p=dn,ve.b=_A,ve.f=zt,er&&(zt=1,ve.m=lr,ve.d=cr,ve.n=jA)}while(!zt);return _A!=xe.length&&Vt?$e(xe,0,_A):xe.subarray(0,_A)},aA=function(we,ve,xe){xe<<=ve&7;var Pe=ve/8|0;we[Pe]|=xe,we[Pe+1]|=xe>>8},Jt=function(we,ve,xe){xe<<=ve&7;var Pe=ve/8|0;we[Pe]|=xe,we[Pe+1]|=xe>>8,we[Pe+2]|=xe>>16},be=function(we,ve){for(var xe=[],Pe=0;Pe<we.length;++Pe)we[Pe]&&xe.push({s:Pe,f:we[Pe]});var st=xe.length,Et=xe.slice();if(!st)return{t:ft,l:0};if(st==1){var Vt=new Le(xe[0].s+1);return Vt[xe[0].s]=1,{t:Vt,l:1}}xe.sort(function(_t,tA){return _t.f-tA.f}),xe.push({s:-1,f:25001});var rA=xe[0],wA=xe[1],lA=0,zt=1,nA=2;for(xe[0]={s:-1,f:rA.f+wA.f,l:rA,r:wA};zt!=st-1;)rA=xe[xe[lA].f<xe[nA].f?lA++:nA++],wA=xe[lA!=zt&&xe[lA].f<xe[nA].f?lA++:nA++],xe[zt++]={s:-1,f:rA.f+wA.f,l:rA,r:wA};for(var _A=Et[0].s,Pe=1;Pe<st;++Pe)Et[Pe].s>_A&&(_A=Et[Pe].s);var er=new je(_A+1),cr=de(xe[zt-1],er,0);if(cr>ve){var Pe=0,lr=0,jA=cr-ve,Qr=1<<jA;for(Et.sort(function(tA,Ut){return er[Ut.s]-er[tA.s]||tA.f-Ut.f});Pe<st;++Pe){var Mr=Et[Pe].s;if(er[Mr]>ve)lr+=Qr-(1<<cr-er[Mr]),er[Mr]=ve;else break}for(lr>>=jA;lr>0;){var fr=Et[Pe].s;er[fr]<ve?lr-=1<<ve-er[fr]++-1:++Pe}for(;Pe>=0&&lr;--Pe){var FA=Et[Pe].s;er[FA]==ve&&(--er[FA],++lr)}cr=ve}return{t:new Le(er),l:cr}},de=function(we,ve,xe){return we.s==-1?Math.max(de(we.l,ve,xe+1),de(we.r,ve,xe+1)):ve[we.s]=xe},Ct=function(we){for(var ve=we.length;ve&&!we[--ve];);for(var xe=new je(++ve),Pe=0,st=we[0],Et=1,Vt=function(wA){xe[Pe++]=wA},rA=1;rA<=ve;++rA)if(we[rA]==st&&rA!=ve)++Et;else{if(!st&&Et>2){for(;Et>138;Et-=138)Vt(32754);Et>2&&(Vt(Et>10?Et-11<<5|28690:Et-3<<5|12305),Et=0)}else if(Et>3){for(Vt(st),--Et;Et>6;Et-=6)Vt(8304);Et>2&&(Vt(Et-3<<5|8208),Et=0)}for(;Et--;)Vt(st);Et=1,st=we[rA]}return{c:xe.subarray(0,Pe),n:ve}},qt=function(we,ve){for(var xe=0,Pe=0;Pe<ve.length;++Pe)xe+=we[Pe]*ve[Pe];return xe},Rt=function(we,ve,xe){var Pe=xe.length,st=We(ve+2);we[st]=Pe&255,we[st+1]=Pe>>8,we[st+2]=we[st]^255,we[st+3]=we[st+1]^255;for(var Et=0;Et<Pe;++Et)we[st+Et+4]=xe[Et];return(st+4+Pe)*8},Ve=function(we,ve,xe,Pe,st,Et,Vt,rA,wA,lA,zt){aA(ve,zt++,xe),++st[256];for(var nA=be(st,15),_A=nA.t,er=nA.l,cr=be(Et,15),lr=cr.t,jA=cr.l,Qr=Ct(_A),Mr=Qr.c,fr=Qr.n,FA=Ct(lr),_t=FA.c,tA=FA.n,Ut=new je(19),tt=0;tt<Mr.length;++tt)++Ut[Mr[tt]&31];for(var tt=0;tt<_t.length;++tt)++Ut[_t[tt]&31];for(var St=be(Ut,7),AA=St.t,BA=St.l,WA=19;WA>4&&!AA[Ke[WA-1]];--WA);var pr=lA+5<<3,yr=qt(st,Ft)+qt(Et,et)+Vt,gr=qt(st,_A)+qt(Et,lr)+Vt+14+3*WA+qt(Ut,AA)+2*Ut[16]+3*Ut[17]+7*Ut[18];if(wA>=0&&pr<=yr&&pr<=gr)return Rt(ve,zt,we.subarray(wA,wA+lA));var Dr,vr,Kr,on;if(aA(ve,zt,1+(gr<yr)),zt+=2,gr<yr){Dr=ht(_A,er,0),vr=_A,Kr=ht(lr,jA,0),on=lr;var Sn=ht(AA,BA,0);aA(ve,zt,fr-257),aA(ve,zt+5,tA-1),aA(ve,zt+10,WA-4),zt+=14;for(var tt=0;tt<WA;++tt)aA(ve,zt+3*tt,AA[Ke[tt]]);zt+=3*WA;for(var an=[Mr,_t],dn=0;dn<2;++dn)for(var Pr=an[dn],tt=0;tt<Pr.length;++tt){var mn=Pr[tt]&31;aA(ve,zt,Sn[mn]),zt+=AA[mn],mn>15&&(aA(ve,zt,Pr[tt]>>5&127),zt+=Pr[tt]>>12)}}else Dr=nt,vr=Ft,Kr=At,on=et;for(var tt=0;tt<rA;++tt){var sn=Pe[tt];if(sn>255){var mn=sn>>18&31;Jt(ve,zt,Dr[mn+257]),zt+=vr[mn+257],mn>7&&(aA(ve,zt,sn>>23&31),zt+=Qe[mn]);var Vr=sn&31;Jt(ve,zt,Kr[Vr]),zt+=on[Vr],Vr>3&&(Jt(ve,zt,sn>>5&8191),zt+=Ye[Vr])}else Jt(ve,zt,Dr[sn]),zt+=vr[sn]}return Jt(ve,zt,Dr[256]),zt+vr[256]},pt=new Ee([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ft=new Le(0),$t=function(we,ve,xe,Pe,st,Et){var Vt=Et.z||we.length,rA=new Le(Pe+Vt+5*(1+Math.ceil(Vt/7e3))+st),wA=rA.subarray(Pe,rA.length-st),lA=Et.l,zt=(Et.r||0)&7;if(ve){zt&&(wA[0]=Et.r>>3);for(var nA=pt[ve-1],_A=nA>>13,er=nA&8191,cr=(1<<xe)-1,lr=Et.p||new je(32768),jA=Et.h||new je(cr+1),Qr=Math.ceil(xe/3),Mr=2*Qr,fr=function(Si){return(we[Si]^we[Si+1]<<Qr^we[Si+2]<<Mr)&cr},FA=new Ee(25e3),_t=new je(288),tA=new je(32),Ut=0,tt=0,St=Et.i||0,AA=0,BA=Et.w||0,WA=0;St+2<Vt;++St){var pr=fr(St),yr=St&32767,gr=jA[pr];if(lr[yr]=gr,jA[pr]=yr,BA<=St){var Dr=Vt-St;if((Ut>7e3||AA>24576)&&(Dr>423||!lA)){zt=Ve(we,wA,0,FA,_t,tA,tt,AA,WA,St-WA,zt),AA=Ut=tt=0,WA=St;for(var vr=0;vr<286;++vr)_t[vr]=0;for(var vr=0;vr<30;++vr)tA[vr]=0}var Kr=2,on=0,Sn=er,an=yr-gr&32767;if(Dr>2&&pr==fr(St-an))for(var dn=Math.min(_A,Dr)-1,Pr=Math.min(32767,St),mn=Math.min(258,Dr);an<=Pr&&--Sn&&yr!=gr;){if(we[St+Kr]==we[St+Kr-an]){for(var sn=0;sn<mn&&we[St+sn]==we[St+sn-an];++sn);if(sn>Kr){if(Kr=sn,on=an,sn>dn)break;for(var Vr=Math.min(an,sn-2),Kn=0,vr=0;vr<Vr;++vr){var On=St-an+vr&32767,fi=lr[On],Zn=On-fi&32767;Zn>Kn&&(Kn=Zn,gr=On)}}}yr=gr,gr=lr[yr],an+=yr-gr&32767}if(on){FA[AA++]=268435456|Fe[Kr]<<18|Ge[on];var ii=Fe[Kr]&31,un=Ge[on]&31;tt+=Qe[ii]+Ye[un],++_t[257+ii],++tA[un],BA=St+Kr,++Ut}else FA[AA++]=we[St],++_t[we[St]]}}for(St=Math.max(St,BA);St<Vt;++St)FA[AA++]=we[St],++_t[we[St]];zt=Ve(we,wA,lA,FA,_t,tA,tt,AA,WA,St-WA,zt),lA||(Et.r=zt&7|wA[zt/8|0]<<3,zt-=7,Et.h=jA,Et.p=lr,Et.i=St,Et.w=BA)}else{for(var St=Et.w||0;St<Vt+lA;St+=65535){var jn=St+65535;jn>=Vt&&(wA[zt/8|0]=lA,jn=Vt),zt=Rt(wA,zt+1,we.subarray(St,jn))}Et.i=Vt}return $e(rA,0,Pe+We(zt)+st)},It=null,eA=function(){var we=-1;return{p:function(ve){for(var xe=we,Pe=0;Pe<ve.length;++Pe)xe=It[xe&255^ve[Pe]]^xe>>>8;we=xe},d:function(){return~we}}},Me=function(){var we=1,ve=0;return{p:function(xe){for(var Pe=we,st=ve,Et=xe.length|0,Vt=0;Vt!=Et;){for(var rA=Math.min(Vt+2655,Et);Vt<rA;++Vt)st+=Pe+=xe[Vt];Pe=(Pe&65535)+15*(Pe>>16),st=(st&65535)+15*(st>>16)}we=Pe,ve=st},d:function(){return we%=65521,ve%=65521,(we&255)<<24|(we&65280)<<8|(ve&255)<<8|ve>>8}}},Bt=function(we,ve,xe,Pe,st){if(!st&&(st={l:1},ve.dictionary)){var Et=ve.dictionary.subarray(-32768),Vt=new Le(Et.length+we.length);Vt.set(Et),Vt.set(we,Et.length),we=Vt,st.w=Et.length}return $t(we,ve.level==null?6:ve.level,ve.mem==null?st.l?Math.ceil(Math.max(8,Math.min(13,Math.log(we.length)))*1.5):20:12+ve.mem,xe,Pe,st)},xt=function(we,ve){var xe={};for(var Pe in we)xe[Pe]=we[Pe];for(var Pe in ve)xe[Pe]=ve[Pe];return xe},ue=function(we,ve,xe){for(var Pe=we(),st=we.toString(),Et=st.slice(st.indexOf("[")+1,st.lastIndexOf("]")).replace(/\s+/g,"").split(","),Vt=0;Vt<Pe.length;++Vt){var rA=Pe[Vt],wA=Et[Vt];if(typeof rA=="function"){ve+=";"+wA+"=";var lA=rA.toString();if(rA.prototype)if(lA.indexOf("[native code]")!=-1){var zt=lA.indexOf(" ",8)+1;ve+=lA.slice(zt,lA.indexOf("(",zt))}else{ve+=lA;for(var nA in rA.prototype)ve+=";"+wA+".prototype."+nA+"="+rA.prototype[nA].toString()}else ve+=lA}else xe[wA]=rA}return ve},ne=null,re=function(we){var ve=[];for(var xe in we)we[xe].buffer&&ve.push((we[xe]=new we[xe].constructor(we[xe])).buffer);return ve},ae=function(we,ve,xe,Pe){if(!ne[xe]){for(var st="",Et={},Vt=we.length-1,rA=0;rA<Vt;++rA)st=ue(we[rA],st,Et);ne[xe]={c:ue(we[Vt],st,Et),e:Et}}var wA=xt({},ne[xe].e);return ct(ne[xe].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+ve.toString()+"}",xe,wA,re(wA),Pe)},he=function(){return[Le,je,Ee,Qe,Ye,Ke,bt,Xe,lt,uA,ze,Ze,ht,it,Je,yt,We,$e,Mt,Lt,Ur,Tt,Pt]},oe=function(){return[Le,je,Ee,Qe,Ye,Ke,Fe,Ge,nt,Ft,At,et,ze,pt,ft,ht,aA,Jt,be,de,Ct,qt,Rt,Ve,We,$e,$t,Bt,Er,Tt]},Se=function(){return[IA,mA,Xt,eA,It]},rt=function(){return[mt,GA]},Yt=function(){return[yA,Xt,Me]},Ht=function(){return[MA]},Tt=function(we){return postMessage(we,[we.buffer])},Pt=function(we){return we&&{out:we.size&&new Le(we.size),dictionary:we.dictionary}},pA=function(we,ve,xe,Pe,st,Et){var Vt=ae(xe,Pe,st,function(rA,wA){Vt.terminate(),Et(rA,wA)});return Vt.postMessage([we,ve],ve.consume?[we.buffer]:[]),function(){Vt.terminate()}},vA=function(we){return we.ondata=function(ve,xe){return postMessage([ve,xe],[ve.buffer])},function(ve){ve.data.length?(we.push(ve.data[0],ve.data[1]),postMessage([ve.data[0].length])):we.flush()}},xA=function(we,ve,xe,Pe,st,Et,Vt){var rA,wA=ae(we,Pe,st,function(lA,zt){lA?(wA.terminate(),ve.ondata.call(ve,lA)):Array.isArray(zt)?zt.length==1?(ve.queuedSize-=zt[0],ve.ondrain&&ve.ondrain(zt[0])):(zt[1]&&wA.terminate(),ve.ondata.call(ve,lA,zt[0],zt[1])):Vt(zt)});wA.postMessage(xe),ve.queuedSize=0,ve.push=function(lA,zt){ve.ondata||Mt(5),rA&&ve.ondata(Mt(4,0,1),null,!!zt),ve.queuedSize+=lA.length,wA.postMessage([lA,rA=zt],[lA.buffer])},ve.terminate=function(){wA.terminate()},Et&&(ve.flush=function(){wA.postMessage([])})},sA=function(we,ve){return we[ve]|we[ve+1]<<8},Nt=function(we,ve){return(we[ve]|we[ve+1]<<8|we[ve+2]<<16|we[ve+3]<<24)>>>0},CA=function(we,ve){return Nt(we,ve)+Nt(we,ve+4)*4294967296},Xt=function(we,ve,xe){for(;xe;++ve)we[ve]=xe,xe>>>=8},IA=function(we,ve){var xe=ve.filename;if(we[0]=31,we[1]=139,we[2]=8,we[8]=ve.level<2?4:ve.level==9?2:0,we[9]=3,ve.mtime!=0&&Xt(we,4,Math.floor(new Date(ve.mtime||Date.now())/1e3)),xe){we[3]=8;for(var Pe=0;Pe<=xe.length;++Pe)we[Pe+10]=xe.charCodeAt(Pe)}},mt=function(we){(we[0]!=31||we[1]!=139||we[2]!=8)&&Mt(6,"invalid gzip data");var ve=we[3],xe=10;ve&4&&(xe+=(we[10]|we[11]<<8)+2);for(var Pe=(ve>>3&1)+(ve>>4&1);Pe>0;Pe-=!we[xe++]);return xe+(ve&2)},GA=function(we){var ve=we.length;return(we[ve-4]|we[ve-3]<<8|we[ve-2]<<16|we[ve-1]<<24)>>>0},mA=function(we){return 10+(we.filename?we.filename.length+1:0)},yA=function(we,ve){var xe=ve.level,Pe=xe==0?0:xe<6?1:xe==9?3:2;if(we[0]=120,we[1]=Pe<<6|(ve.dictionary&&32),we[1]|=31-(we[0]<<8|we[1])%31,ve.dictionary){var st=Me();st.p(ve.dictionary),Xt(we,2,st.d())}},MA=function(we,ve){return((we[0]&15)!=8||we[0]>>4>7||(we[0]<<8|we[1])%31)&&Mt(6,"invalid zlib data"),(we[1]>>5&1)==+!ve&&Mt(6,"invalid zlib data: "+(we[1]&32?"need":"unexpected")+" dictionary"),(we[1]>>3&4)+2};function dr(we,ve){return typeof we=="function"&&(ve=we,we={}),this.ondata=ve,we}var KA=null,ZA=null;function $A(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),pA(we,ve,[oe],function(Pe){return Tt(Er(Pe.data[0],Pe.data[1]))},0,xe)}function Er(we,ve){return Bt(we,ve||{},0,0)}var Yr=null,cn=null;function jr(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),pA(we,ve,[he],function(Pe){return Tt(Ur(Pe.data[0],Pt(Pe.data[1])))},1,xe)}function Ur(we,ve){return Lt(we,{i:2},ve&&ve.out,ve&&ve.dictionary)}var zA=null,Ir=null;function TA(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),pA(we,ve,[oe,Se,function(){return[ir]}],function(Pe){return Tt(ir(Pe.data[0],Pe.data[1]))},2,xe)}function ir(we,ve){ve||(ve={});var xe=eA(),Pe=we.length;xe.p(we);var st=Bt(we,ve,mA(ve),8),Et=st.length;return IA(st,ve),Xt(st,Et-8,xe.d()),Xt(st,Et-4,Pe),st}var Nr=null,vt=null;function Qt(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),pA(we,ve,[he,rt,function(){return[Ot]}],function(Pe){return Tt(Ot(Pe.data[0],Pe.data[1]))},3,xe)}function Ot(we,ve){var xe=mt(we);return xe+8>we.length&&Mt(6,"invalid gzip data"),Lt(we.subarray(xe,-8),{i:2},ve&&ve.out||new Le(GA(we)),ve&&ve.dictionary)}var cA=null,Ar=null;function YA(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),pA(we,ve,[oe,Yt,function(){return[UA]}],function(Pe){return Tt(UA(Pe.data[0],Pe.data[1]))},4,xe)}function UA(we,ve){ve||(ve={});var xe=Me();xe.p(we);var Pe=Bt(we,ve,ve.dictionary?6:2,4);return yA(Pe,ve),Xt(Pe,Pe.length-4,xe.d()),Pe}var Cr=null,hr=null;function or(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),pA(we,ve,[he,Ht,function(){return[JA]}],function(Pe){return Tt(JA(Pe.data[0],Pt(Pe.data[1])))},5,xe)}function JA(we,ve){return Lt(we.subarray(MA(we,ve&&ve.dictionary),-4),{i:2},ve&&ve.out,ve&&ve.dictionary)}var Br=null,fA=null;function He(we,ve,xe){return xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7),we[0]==31&&we[1]==139&&we[2]==8?Qt(we,ve,xe):(we[0]&15)!=8||we[0]>>4>7||(we[0]<<8|we[1])%31?jr(we,ve,xe):or(we,ve,xe)}function jt(we,ve){return we[0]==31&&we[1]==139&&we[2]==8?Ot(we,ve):(we[0]&15)!=8||we[0]>>4>7||(we[0]<<8|we[1])%31?Ur(we,ve):JA(we,ve)}var kA=function(we,ve,xe,Pe){for(var st in we){var Et=we[st],Vt=ve+st,rA=Pe;Array.isArray(Et)&&(rA=xt(Pe,Et[1]),Et=Et[0]),Et instanceof Le?xe[Vt]=[Et,rA]:(xe[Vt+="/"]=[new Le(0),rA],kA(Et,Vt,xe,Pe))}},HA=typeof TextEncoder!="undefined"&&new TextEncoder,Te=typeof TextDecoder!="undefined"&&new TextDecoder,Re=0;try{Te.decode(ft,{stream:!0}),Re=1}catch(we){}var dA=function(we){for(var ve="",xe=0;;){var Pe=we[xe++],st=(Pe>127)+(Pe>223)+(Pe>239);if(xe+st>we.length)return{s:ve,r:$e(we,xe-1)};st?st==3?(Pe=((Pe&15)<<18|(we[xe++]&63)<<12|(we[xe++]&63)<<6|we[xe++]&63)-65536,ve+=String.fromCharCode(55296|Pe>>10,56320|Pe&1023)):st&1?ve+=String.fromCharCode((Pe&31)<<6|we[xe++]&63):ve+=String.fromCharCode((Pe&15)<<12|(we[xe++]&63)<<6|we[xe++]&63):ve+=String.fromCharCode(Pe)}},Kt=null,qe=null;function Gt(we,ve){if(ve){for(var xe=new Le(we.length),Pe=0;Pe<we.length;++Pe)xe[Pe]=we.charCodeAt(Pe);return xe}if(HA)return HA.encode(we);for(var st=we.length,Et=new Le(we.length+(we.length>>1)),Vt=0,rA=function(zt){Et[Vt++]=zt},Pe=0;Pe<st;++Pe){if(Vt+5>Et.length){var wA=new Le(Vt+8+(st-Pe<<1));wA.set(Et),Et=wA}var lA=we.charCodeAt(Pe);lA<128||ve?rA(lA):lA<2048?(rA(192|lA>>6),rA(128|lA&63)):lA>55295&&lA<57344?(lA=65536+(lA&1047552)|we.charCodeAt(++Pe)&1023,rA(240|lA>>18),rA(128|lA>>12&63),rA(128|lA>>6&63),rA(128|lA&63)):(rA(224|lA>>12),rA(128|lA>>6&63),rA(128|lA&63))}return $e(Et,0,Vt)}function EA(we,ve){if(ve){for(var xe="",Pe=0;Pe<we.length;Pe+=16384)xe+=String.fromCharCode.apply(null,we.subarray(Pe,Pe+16384));return xe}else{if(Te)return Te.decode(we);var st=dA(we),Et=st.s,xe=st.r;return xe.length&&Mt(8),Et}}var DA=function(we){return we==1?3:we<6?2:we==9?1:0},VA=function(we,ve){return ve+30+sA(we,ve+26)+sA(we,ve+28)},at=function(we,ve,xe){var Pe=sA(we,ve+28),st=EA(we.subarray(ve+46,ve+46+Pe),!(sA(we,ve+8)&2048)),Et=ve+46+Pe,Vt=Nt(we,ve+20),rA=xe&&Vt==4294967295?SA(we,Et):[Vt,Nt(we,ve+24),Nt(we,ve+42)],wA=rA[0],lA=rA[1],zt=rA[2];return[sA(we,ve+10),wA,lA,st,Et+sA(we,ve+30)+sA(we,ve+32),zt]},SA=function(we,ve){for(;sA(we,ve)!=1;ve+=4+sA(we,ve+2));return[CA(we,ve+12),CA(we,ve+4),CA(we,ve+20)]},Wt=function(we){var ve=0;if(we)for(var xe in we){var Pe=we[xe].length;Pe>65535&&Mt(9),ve+=Pe+4}return ve},ar=function(we,ve,xe,Pe,st,Et,Vt,rA){var wA=Pe.length,lA=xe.extra,zt=rA&&rA.length,nA=Wt(lA);Xt(we,ve,Vt!=null?33639248:67324752),ve+=4,Vt!=null&&(we[ve++]=20,we[ve++]=xe.os),we[ve]=20,ve+=2,we[ve++]=xe.flag<<1|(Et<0&&8),we[ve++]=st&&8,we[ve++]=xe.compression&255,we[ve++]=xe.compression>>8;var _A=new Date(xe.mtime==null?Date.now():xe.mtime),er=_A.getFullYear()-1980;if((er<0||er>119)&&Mt(10),Xt(we,ve,er<<25|_A.getMonth()+1<<21|_A.getDate()<<16|_A.getHours()<<11|_A.getMinutes()<<5|_A.getSeconds()>>1),ve+=4,Et!=-1&&(Xt(we,ve,xe.crc),Xt(we,ve+4,Et<0?-Et-2:Et),Xt(we,ve+8,xe.size)),Xt(we,ve+12,wA),Xt(we,ve+14,nA),ve+=16,Vt!=null&&(Xt(we,ve,zt),Xt(we,ve+6,xe.attrs),Xt(we,ve+10,Vt),ve+=14),we.set(Pe,ve),ve+=wA,nA)for(var cr in lA){var lr=lA[cr],jA=lr.length;Xt(we,ve,+cr),Xt(we,ve+2,jA),we.set(lr,ve+4),ve+=4+jA}return zt&&(we.set(rA,ve),ve+=zt),ve},bA=function(we,ve,xe,Pe,st){Xt(we,ve,101010256),Xt(we,ve+8,xe),Xt(we,ve+10,xe),Xt(we,ve+12,Pe),Xt(we,ve+16,st)},sr=null,RA=null,Fr=null,br=null;function zr(we,ve,xe){xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7);var Pe={};kA(we,"",Pe,ve);var st=Object.keys(Pe),Et=st.length,Vt=0,rA=0,wA=Et,lA=new Array(Et),zt=[],nA=function(){for(var jA=0;jA<zt.length;++jA)zt[jA]()},_A=function(jA,Qr){ln(function(){xe(jA,Qr)})};ln(function(){_A=xe});var er=function(){var jA=new Le(rA+22),Qr=Vt,Mr=rA-Vt;rA=0;for(var fr=0;fr<wA;++fr){var FA=lA[fr];try{var _t=FA.c.length;ar(jA,rA,FA,FA.f,FA.u,_t);var tA=30+FA.f.length+Wt(FA.extra),Ut=rA+tA;jA.set(FA.c,Ut),ar(jA,Vt,FA,FA.f,FA.u,_t,rA,FA.m),Vt+=16+tA+(FA.m?FA.m.length:0),rA=Ut+_t}catch(tt){return _A(tt,null)}}bA(jA,Vt,lA.length,Mr,Qr),_A(null,jA)};Et||er();for(var cr=function(jA){var Qr=st[jA],Mr=Pe[Qr],fr=Mr[0],FA=Mr[1],_t=eA(),tA=fr.length;_t.p(fr);var Ut=Gt(Qr),tt=Ut.length,St=FA.comment,AA=St&&Gt(St),BA=AA&&AA.length,WA=Wt(FA.extra),pr=FA.level==0?0:8,yr=function(gr,Dr){if(gr)nA(),_A(gr,null);else{var vr=Dr.length;lA[jA]=xt(FA,{size:tA,crc:_t.d(),c:Dr,f:Ut,m:AA,u:tt!=Qr.length||AA&&St.length!=BA,compression:pr}),Vt+=30+tt+WA+vr,rA+=76+2*(tt+WA)+(BA||0)+vr,--Et||er()}};if(tt>65535&&yr(Mt(11,0,1),null),!pr)yr(null,fr);else if(tA<16e4)try{yr(null,Er(fr,FA))}catch(gr){yr(gr,null)}else zt.push($A(fr,FA,yr))},lr=0;lr<wA;++lr)cr(lr);return nA}function qr(we,ve){ve||(ve={});var xe={},Pe=[];kA(we,"",xe,ve);var st=0,Et=0;for(var Vt in xe){var rA=xe[Vt],wA=rA[0],lA=rA[1],zt=lA.level==0?0:8,nA=Gt(Vt),_A=nA.length,er=lA.comment,cr=er&&Gt(er),lr=cr&&cr.length,jA=Wt(lA.extra);_A>65535&&Mt(11);var Qr=zt?Er(wA,lA):wA,Mr=Qr.length,fr=eA();fr.p(wA),Pe.push(xt(lA,{size:wA.length,crc:fr.d(),c:Qr,f:nA,m:cr,u:_A!=Vt.length||cr&&er.length!=lr,o:st,compression:zt})),st+=30+_A+jA+Mr,Et+=76+2*(_A+jA)+(lr||0)+Mr}for(var FA=new Le(Et+22),_t=st,tA=Et-st,Ut=0;Ut<Pe.length;++Ut){var nA=Pe[Ut];ar(FA,nA.o,nA,nA.f,nA.u,nA.c.length);var tt=30+nA.f.length+Wt(nA.extra);FA.set(nA.c,nA.o+tt),ar(FA,st,nA,nA.f,nA.u,nA.c.length,nA.o,nA.m),st+=16+tt+(nA.m?nA.m.length:0)}return bA(FA,st,Pe.length,tA,_t),FA}var Gr=null,fn=null,Tr=null,vn=null,ln=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(we){we()};function An(we,ve,xe){xe||(xe=ve,ve={}),typeof xe!="function"&&Mt(7);var Pe=[],st=function(){for(var jA=0;jA<Pe.length;++jA)Pe[jA]()},Et={},Vt=function(jA,Qr){ln(function(){xe(jA,Qr)})};ln(function(){Vt=xe});for(var rA=we.length-22;Nt(we,rA)!=101010256;--rA)if(!rA||we.length-rA>65558)return Vt(Mt(13,0,1),null),st;var wA=sA(we,rA+8);if(wA){var lA=wA,zt=Nt(we,rA+16),nA=zt==4294967295||lA==65535;if(nA){var _A=Nt(we,rA-12);nA=Nt(we,_A)==101075792,nA&&(lA=wA=Nt(we,_A+32),zt=Nt(we,_A+48))}for(var er=ve&&ve.filter,cr=function(jA){var Qr=at(we,zt,nA),Mr=Qr[0],fr=Qr[1],FA=Qr[2],_t=Qr[3],tA=Qr[4],Ut=Qr[5],tt=VA(we,Ut);zt=tA;var St=function(BA,WA){BA?(st(),Vt(BA,null)):(WA&&(Et[_t]=WA),--wA||Vt(null,Et))};if(!er||er({name:_t,size:fr,originalSize:FA,compression:Mr}))if(!Mr)St(null,$e(we,tt,tt+fr));else if(Mr==8){var AA=we.subarray(tt,tt+fr);if(FA<524288||fr>.8*FA)try{St(null,Ur(AA,{out:new Le(FA)}))}catch(BA){St(BA,null)}else Pe.push(jr(AA,{size:FA},St))}else St(Mt(14,"unknown compression type "+Mr,1),null);else St(null,null)},lr=0;lr<lA;++lr)cr(lr)}else Vt(null,{});return st}function hn(we,ve){for(var xe={},Pe=we.length-22;Nt(we,Pe)!=101010256;--Pe)(!Pe||we.length-Pe>65558)&&Mt(13);var st=sA(we,Pe+8);if(!st)return{};var Et=Nt(we,Pe+16),Vt=Et==4294967295||st==65535;if(Vt){var rA=Nt(we,Pe-12);Vt=Nt(we,rA)==101075792,Vt&&(st=Nt(we,rA+32),Et=Nt(we,rA+48))}for(var wA=ve&&ve.filter,lA=0;lA<st;++lA){var zt=at(we,Et,Vt),nA=zt[0],_A=zt[1],er=zt[2],cr=zt[3],lr=zt[4],jA=zt[5],Qr=VA(we,jA);Et=lr,(!wA||wA({name:cr,size:_A,originalSize:er,compression:nA}))&&(nA?nA==8?xe[cr]=Ur(we.subarray(Qr,Qr+_A),{out:new Le(er)}):Mt(14,"unknown compression type "+nA):xe[cr]=$e(we,Qr,Qr+_A))}return xe}},64270:function(oA){(function(hA,Be){oA.exports=Be()})(this,function(){"use strict";var hA=function(ee,z){return hA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ae,te){Ae.__proto__=te}||function(Ae,te){for(var ce in te)Object.prototype.hasOwnProperty.call(te,ce)&&(Ae[ce]=te[ce])},hA(ee,z)};function Be(ee,z){if(typeof z!="function"&&z!==null)throw new TypeError("Class extends value "+String(z)+" is not a constructor or null");hA(ee,z);function Ae(){this.constructor=ee}ee.prototype=z===null?Object.create(z):(Ae.prototype=z.prototype,new Ae)}var se=function(){return se=Object.assign||function(z){for(var Ae,te=1,ce=arguments.length;te<ce;te++){Ae=arguments[te];for(var pe in Ae)Object.prototype.hasOwnProperty.call(Ae,pe)&&(z[pe]=Ae[pe])}return z},se.apply(this,arguments)};function ct(ee,z,Ae,te){function ce(pe){return pe instanceof Ae?pe:new Ae(function(ye){ye(pe)})}return new(Ae||(Ae=Promise))(function(pe,ye){function ke(gt){try{ot(te.next(gt))}catch(kt){ye(kt)}}function Ie(gt){try{ot(te.throw(gt))}catch(kt){ye(kt)}}function ot(gt){gt.done?pe(gt.value):ce(gt.value).then(ke,Ie)}ot((te=te.apply(ee,z||[])).next())})}function Le(ee,z){var Ae={label:0,sent:function(){if(pe[0]&1)throw pe[1];return pe[1]},trys:[],ops:[]},te,ce,pe,ye;return ye={next:ke(0),throw:ke(1),return:ke(2)},typeof Symbol=="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function ke(ot){return function(gt){return Ie([ot,gt])}}function Ie(ot){if(te)throw new TypeError("Generator is already executing.");for(;Ae;)try{if(te=1,ce&&(pe=ot[0]&2?ce.return:ot[0]?ce.throw||((pe=ce.return)&&pe.call(ce),0):ce.next)&&!(pe=pe.call(ce,ot[1])).done)return pe;switch(ce=0,pe&&(ot=[ot[0]&2,pe.value]),ot[0]){case 0:case 1:pe=ot;break;case 4:return Ae.label++,{value:ot[1],done:!1};case 5:Ae.label++,ce=ot[1],ot=[0];continue;case 7:ot=Ae.ops.pop(),Ae.trys.pop();continue;default:if(pe=Ae.trys,!(pe=pe.length>0&&pe[pe.length-1])&&(ot[0]===6||ot[0]===2)){Ae=0;continue}if(ot[0]===3&&(!pe||ot[1]>pe[0]&&ot[1]<pe[3])){Ae.label=ot[1];break}if(ot[0]===6&&Ae.label<pe[1]){Ae.label=pe[1],pe=ot;break}if(pe&&Ae.label<pe[2]){Ae.label=pe[2],Ae.ops.push(ot);break}pe[2]&&Ae.ops.pop(),Ae.trys.pop();continue}ot=z.call(ee,Ae)}catch(gt){ot=[6,gt],ce=0}finally{te=pe=0}if(ot[0]&5)throw ot[1];return{value:ot[0]?ot[1]:void 0,done:!0}}}function je(ee,z,Ae){if(Ae||arguments.length===2)for(var te=0,ce=z.length,pe;te<ce;te++)(pe||!(te in z))&&(pe||(pe=Array.prototype.slice.call(z,0,te)),pe[te]=z[te]);return ee.concat(pe||z)}for(var Ee=function(){function ee(z,Ae,te,ce){this.left=z,this.top=Ae,this.width=te,this.height=ce}return ee.prototype.add=function(z,Ae,te,ce){return new ee(this.left+z,this.top+Ae,this.width+te,this.height+ce)},ee.fromClientRect=function(z,Ae){return new ee(Ae.left+z.windowBounds.left,Ae.top+z.windowBounds.top,Ae.width,Ae.height)},ee.fromDOMRectList=function(z,Ae){var te=Array.from(Ae).find(function(ce){return ce.width!==0});return te?new ee(te.left+z.windowBounds.left,te.top+z.windowBounds.top,te.width,te.height):ee.EMPTY},ee.EMPTY=new ee(0,0,0,0),ee}(),Qe=function(ee,z){return Ee.fromClientRect(ee,z.getBoundingClientRect())},Ye=function(ee){var z=ee.body,Ae=ee.documentElement;if(!z||!Ae)throw new Error("Unable to get document size");var te=Math.max(Math.max(z.scrollWidth,Ae.scrollWidth),Math.max(z.offsetWidth,Ae.offsetWidth),Math.max(z.clientWidth,Ae.clientWidth)),ce=Math.max(Math.max(z.scrollHeight,Ae.scrollHeight),Math.max(z.offsetHeight,Ae.offsetHeight),Math.max(z.clientHeight,Ae.clientHeight));return new Ee(0,0,te,ce)},Ke=function(ee){for(var z=[],Ae=0,te=ee.length;Ae<te;){var ce=ee.charCodeAt(Ae++);if(ce>=55296&&ce<=56319&&Ae<te){var pe=ee.charCodeAt(Ae++);(pe&64512)===56320?z.push(((ce&1023)<<10)+(pe&1023)+65536):(z.push(ce),Ae--)}else z.push(ce)}return z},Ue=function(){for(var ee=[],z=0;z<arguments.length;z++)ee[z]=arguments[z];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ee);var Ae=ee.length;if(!Ae)return"";for(var te=[],ce=-1,pe="";++ce<Ae;){var ye=ee[ce];ye<=65535?te.push(ye):(ye-=65536,te.push((ye>>10)+55296,ye%1024+56320)),(ce+1===Ae||te.length>16384)&&(pe+=String.fromCharCode.apply(String,te),te.length=0)}return pe},Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bt=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Fe=0;Fe<Ce.length;Fe++)bt[Ce.charCodeAt(Fe)]=Fe;for(var Dt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ge=0;Ge<Dt.length;Ge++)Xe[Dt.charCodeAt(Ge)]=Ge;for(var ze=function(ee){var z=ee.length*.75,Ae=ee.length,te,ce=0,pe,ye,ke,Ie;ee[ee.length-1]==="="&&(z--,ee[ee.length-2]==="="&&z--);var ot=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(z):new Array(z),gt=Array.isArray(ot)?ot:new Uint8Array(ot);for(te=0;te<Ae;te+=4)pe=Xe[ee.charCodeAt(te)],ye=Xe[ee.charCodeAt(te+1)],ke=Xe[ee.charCodeAt(te+2)],Ie=Xe[ee.charCodeAt(te+3)],gt[ce++]=pe<<2|ye>>4,gt[ce++]=(ye&15)<<4|ke>>2,gt[ce++]=(ke&3)<<6|Ie&63;return ot},Oe=function(ee){for(var z=ee.length,Ae=[],te=0;te<z;te+=2)Ae.push(ee[te+1]<<8|ee[te]);return Ae},wt=function(ee){for(var z=ee.length,Ae=[],te=0;te<z;te+=4)Ae.push(ee[te+3]<<24|ee[te+2]<<16|ee[te+1]<<8|ee[te]);return Ae},ht=5,Ft=11,et=2,nt=Ft-ht,lt=65536>>ht,At=1<<ht,uA=At-1,it=1024>>ht,Je=lt+it,yt=Je,We=32,$e=yt+We,_e=65536>>Ft,Ze=1<<nt,Mt=Ze-1,Lt=function(ee,z,Ae){return ee.slice?ee.slice(z,Ae):new Uint16Array(Array.prototype.slice.call(ee,z,Ae))},aA=function(ee,z,Ae){return ee.slice?ee.slice(z,Ae):new Uint32Array(Array.prototype.slice.call(ee,z,Ae))},Jt=function(ee,z){var Ae=ze(ee),te=Array.isArray(Ae)?wt(Ae):new Uint32Array(Ae),ce=Array.isArray(Ae)?Oe(Ae):new Uint16Array(Ae),pe=24,ye=Lt(ce,pe/2,te[4]/2),ke=te[5]===2?Lt(ce,(pe+te[4])/2):aA(te,Math.ceil((pe+te[4])/4));return new be(te[0],te[1],te[2],te[3],ye,ke)},be=function(){function ee(z,Ae,te,ce,pe,ye){this.initialValue=z,this.errorValue=Ae,this.highStart=te,this.highValueIndex=ce,this.index=pe,this.data=ye}return ee.prototype.get=function(z){var Ae;if(z>=0){if(z<55296||z>56319&&z<=65535)return Ae=this.index[z>>ht],Ae=(Ae<<et)+(z&uA),this.data[Ae];if(z<=65535)return Ae=this.index[lt+(z-55296>>ht)],Ae=(Ae<<et)+(z&uA),this.data[Ae];if(z<this.highStart)return Ae=$e-_e+(z>>Ft),Ae=this.index[Ae],Ae+=z>>ht&Mt,Ae=this.index[Ae],Ae=(Ae<<et)+(z&uA),this.data[Ae];if(z<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ee}(),de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ct=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),qt=0;qt<de.length;qt++)Ct[de.charCodeAt(qt)]=qt;var Rt="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8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csBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcs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ADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMA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sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAA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AQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4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gAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2AC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UABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAA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ABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Ve=50,pt=1,ft=2,$t=3,It=4,eA=5,Me=7,Bt=8,xt=9,ue=10,ne=11,re=12,ae=13,he=14,oe=15,Se=16,rt=17,Yt=18,Ht=19,Tt=20,Pt=21,pA=22,vA=23,xA=24,sA=25,Nt=26,CA=27,Xt=28,IA=29,mt=30,GA=31,mA=32,yA=33,MA=34,dr=35,KA=36,ZA=37,$A=38,Er=39,Yr=40,cn=41,jr=42,Ur=43,zA=[9001,65288],Ir="!",TA="\xD7",ir="\xF7",Nr=Jt(Rt),vt=[mt,KA],Qt=[pt,ft,$t,eA],Ot=[ue,Bt],cA=[CA,Nt],Ar=Qt.concat(Ot),YA=[$A,Er,Yr,MA,dr],UA=[oe,ae],Cr=function(ee,z){z===void 0&&(z="strict");var Ae=[],te=[],ce=[];return ee.forEach(function(pe,ye){var ke=Nr.get(pe);if(ke>Ve?(ce.push(!0),ke-=Ve):ce.push(!1),["normal","auto","loose"].indexOf(z)!==-1&&[8208,8211,12316,12448].indexOf(pe)!==-1)return te.push(ye),Ae.push(Se);if(ke===It||ke===ne){if(ye===0)return te.push(ye),Ae.push(mt);var Ie=Ae[ye-1];return Ar.indexOf(Ie)===-1?(te.push(te[ye-1]),Ae.push(Ie)):(te.push(ye),Ae.push(mt))}if(te.push(ye),ke===GA)return Ae.push(z==="strict"?Pt:ZA);if(ke===jr||ke===IA)return Ae.push(mt);if(ke===Ur)return pe>=131072&&pe<=196605||pe>=196608&&pe<=262141?Ae.push(ZA):Ae.push(mt);Ae.push(ke)}),[te,Ae,ce]},hr=function(ee,z,Ae,te){var ce=te[Ae];if(Array.isArray(ee)?ee.indexOf(ce)!==-1:ee===ce)for(var pe=Ae;pe<=te.length;){pe++;var ye=te[pe];if(ye===z)return!0;if(ye!==ue)break}if(ce===ue)for(var pe=Ae;pe>0;){pe--;var ke=te[pe];if(Array.isArray(ee)?ee.indexOf(ke)!==-1:ee===ke)for(var Ie=Ae;Ie<=te.length;){Ie++;var ye=te[Ie];if(ye===z)return!0;if(ye!==ue)break}if(ke!==ue)break}return!1},or=function(ee,z){for(var Ae=ee;Ae>=0;){var te=z[Ae];if(te===ue)Ae--;else return te}return 0},JA=function(ee,z,Ae,te,ce){if(Ae[te]===0)return TA;var pe=te-1;if(Array.isArray(ce)&&ce[pe]===!0)return TA;var ye=pe-1,ke=pe+1,Ie=z[pe],ot=ye>=0?z[ye]:0,gt=z[ke];if(Ie===ft&>===$t)return TA;if(Qt.indexOf(Ie)!==-1)return Ir;if(Qt.indexOf(gt)!==-1||Ot.indexOf(gt)!==-1)return TA;if(or(pe,z)===Bt)return ir;if(Nr.get(ee[pe])===ne||(Ie===mA||Ie===yA)&&Nr.get(ee[ke])===ne||Ie===Me||gt===Me||Ie===xt||[ue,ae,oe].indexOf(Ie)===-1&>===xt||[rt,Yt,Ht,xA,Xt].indexOf(gt)!==-1||or(pe,z)===pA||hr(vA,pA,pe,z)||hr([rt,Yt],Pt,pe,z)||hr(re,re,pe,z))return TA;if(Ie===ue)return ir;if(Ie===vA||gt===vA)return TA;if(gt===Se||Ie===Se)return ir;if([ae,oe,Pt].indexOf(gt)!==-1||Ie===he||ot===KA&&UA.indexOf(Ie)!==-1||Ie===Xt&>===KA||gt===Tt||vt.indexOf(gt)!==-1&&Ie===sA||vt.indexOf(Ie)!==-1&>===sA||Ie===CA&&[ZA,mA,yA].indexOf(gt)!==-1||[ZA,mA,yA].indexOf(Ie)!==-1&>===Nt||vt.indexOf(Ie)!==-1&&cA.indexOf(gt)!==-1||cA.indexOf(Ie)!==-1&&vt.indexOf(gt)!==-1||[CA,Nt].indexOf(Ie)!==-1&&(gt===sA||[pA,oe].indexOf(gt)!==-1&&z[ke+1]===sA)||[pA,oe].indexOf(Ie)!==-1&>===sA||Ie===sA&&[sA,Xt,xA].indexOf(gt)!==-1)return TA;if([sA,Xt,xA,rt,Yt].indexOf(gt)!==-1)for(var kt=pe;kt>=0;){var iA=z[kt];if(iA===sA)return TA;if([Xt,xA].indexOf(iA)!==-1)kt--;else break}if([CA,Nt].indexOf(gt)!==-1)for(var kt=[rt,Yt].indexOf(Ie)!==-1?ye:pe;kt>=0;){var iA=z[kt];if(iA===sA)return TA;if([Xt,xA].indexOf(iA)!==-1)kt--;else break}if($A===Ie&&[$A,Er,MA,dr].indexOf(gt)!==-1||[Er,MA].indexOf(Ie)!==-1&&[Er,Yr].indexOf(gt)!==-1||[Yr,dr].indexOf(Ie)!==-1&>===Yr||YA.indexOf(Ie)!==-1&&[Tt,Nt].indexOf(gt)!==-1||YA.indexOf(gt)!==-1&&Ie===CA||vt.indexOf(Ie)!==-1&&vt.indexOf(gt)!==-1||Ie===xA&&vt.indexOf(gt)!==-1||vt.concat(sA).indexOf(Ie)!==-1&>===pA&&zA.indexOf(ee[ke])===-1||vt.concat(sA).indexOf(gt)!==-1&&Ie===Yt)return TA;if(Ie===cn&>===cn){for(var ur=Ae[pe],NA=1;ur>0&&(ur--,z[ur]===cn);)NA++;if(NA%2!==0)return TA}return Ie===mA&>===yA?TA:ir},Br=function(ee,z){z||(z={lineBreak:"normal",wordBreak:"normal"});var Ae=Cr(ee,z.lineBreak),te=Ae[0],ce=Ae[1],pe=Ae[2];(z.wordBreak==="break-all"||z.wordBreak==="break-word")&&(ce=ce.map(function(ke){return[sA,mt,jr].indexOf(ke)!==-1?ZA:ke}));var ye=z.wordBreak==="keep-all"?pe.map(function(ke,Ie){return ke&&ee[Ie]>=19968&&ee[Ie]<=40959}):void 0;return[te,ce,ye]},fA=function(){function ee(z,Ae,te,ce){this.codePoints=z,this.required=Ae===Ir,this.start=te,this.end=ce}return ee.prototype.slice=function(){return Ue.apply(void 0,this.codePoints.slice(this.start,this.end))},ee}(),He=function(ee,z){var Ae=Ke(ee),te=Br(Ae,z),ce=te[0],pe=te[1],ye=te[2],ke=Ae.length,Ie=0,ot=0;return{next:function(){if(ot>=ke)return{done:!0,value:null};for(var gt=TA;ot<ke&&(gt=JA(Ae,pe,ce,++ot,ye))===TA;);if(gt!==TA||ot===ke){var kt=new fA(Ae,gt,Ie,ot);return Ie=ot,{value:kt,done:!1}}return{done:!0,value:null}}}},jt=1,kA=2,HA=4,Te=8,Re=10,dA=47,Kt=92,qe=9,Gt=32,EA=34,DA=61,VA=35,at=36,SA=37,Wt=39,ar=40,bA=41,sr=95,RA=45,Fr=33,br=60,zr=62,qr=64,Gr=91,fn=93,Tr=61,vn=123,ln=63,An=125,hn=124,we=126,ve=128,xe=65533,Pe=42,st=43,Et=44,Vt=58,rA=59,wA=46,lA=0,zt=8,nA=11,_A=14,er=31,cr=127,lr=-1,jA=48,Qr=97,Mr=101,fr=102,FA=117,_t=122,tA=65,Ut=69,tt=70,St=85,AA=90,BA=function(ee){return ee>=jA&&ee<=57},WA=function(ee){return ee>=55296&&ee<=57343},pr=function(ee){return BA(ee)||ee>=tA&&ee<=tt||ee>=Qr&&ee<=fr},yr=function(ee){return ee>=Qr&&ee<=_t},gr=function(ee){return ee>=tA&&ee<=AA},Dr=function(ee){return yr(ee)||gr(ee)},vr=function(ee){return ee>=ve},Kr=function(ee){return ee===Re||ee===qe||ee===Gt},on=function(ee){return Dr(ee)||vr(ee)||ee===sr},Sn=function(ee){return on(ee)||BA(ee)||ee===RA},an=function(ee){return ee>=lA&&ee<=zt||ee===nA||ee>=_A&&ee<=er||ee===cr},dn=function(ee,z){return ee!==Kt?!1:z!==Re},Pr=function(ee,z,Ae){return ee===RA?on(z)||dn(z,Ae):on(ee)?!0:!!(ee===Kt&&dn(ee,z))},mn=function(ee,z,Ae){return ee===st||ee===RA?BA(z)?!0:z===wA&&BA(Ae):BA(ee===wA?z:ee)},sn=function(ee){var z=0,Ae=1;(ee[z]===st||ee[z]===RA)&&(ee[z]===RA&&(Ae=-1),z++);for(var te=[];BA(ee[z]);)te.push(ee[z++]);var ce=te.length?parseInt(Ue.apply(void 0,te),10):0;ee[z]===wA&&z++;for(var pe=[];BA(ee[z]);)pe.push(ee[z++]);var ye=pe.length,ke=ye?parseInt(Ue.apply(void 0,pe),10):0;(ee[z]===Ut||ee[z]===Mr)&&z++;var Ie=1;(ee[z]===st||ee[z]===RA)&&(ee[z]===RA&&(Ie=-1),z++);for(var ot=[];BA(ee[z]);)ot.push(ee[z++]);var gt=ot.length?parseInt(Ue.apply(void 0,ot),10):0;return Ae*(ce+ke*Math.pow(10,-ye))*Math.pow(10,Ie*gt)},Vr={type:2},Kn={type:3},On={type:4},fi={type:13},Zn={type:8},ii={type:21},un={type:9},jn={type:10},Si={type:11},$i={type:12},ua={type:14},Ui={type:23},Rn={type:1},eo={type:25},uo={type:24},Wi={type:26},Wn={type:27},So={type:28},co={type:29},Sr={type:31},Or={type:32},Lr=function(){function ee(){this._value=[]}return ee.prototype.write=function(z){this._value=this._value.concat(Ke(z))},ee.prototype.read=function(){for(var z=[],Ae=this.consumeToken();Ae!==Or;)z.push(Ae),Ae=this.consumeToken();return z},ee.prototype.consumeToken=function(){var z=this.consumeCodePoint();switch(z){case EA:return this.consumeStringToken(EA);case VA:var Ae=this.peekCodePoint(0),te=this.peekCodePoint(1),ce=this.peekCodePoint(2);if(Sn(Ae)||dn(te,ce)){var pe=Pr(Ae,te,ce)?kA:jt,ye=this.consumeName();return{type:5,value:ye,flags:pe}}break;case at:if(this.peekCodePoint(0)===DA)return this.consumeCodePoint(),fi;break;case Wt:return this.consumeStringToken(Wt);case ar:return Vr;case bA:return Kn;case Pe:if(this.peekCodePoint(0)===DA)return this.consumeCodePoint(),ua;break;case st:if(mn(z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(z),this.consumeNumericToken();break;case Et:return On;case RA:var ke=z,Ie=this.peekCodePoint(0),ot=this.peekCodePoint(1);if(mn(ke,Ie,ot))return this.reconsumeCodePoint(z),this.consumeNumericToken();if(Pr(ke,Ie,ot))return this.reconsumeCodePoint(z),this.consumeIdentLikeToken();if(Ie===RA&&ot===zr)return this.consumeCodePoint(),this.consumeCodePoint(),uo;break;case wA:if(mn(z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(z),this.consumeNumericToken();break;case dA:if(this.peekCodePoint(0)===Pe)for(this.consumeCodePoint();;){var gt=this.consumeCodePoint();if(gt===Pe&&(gt=this.consumeCodePoint(),gt===dA))return this.consumeToken();if(gt===lr)return this.consumeToken()}break;case Vt:return Wi;case rA:return Wn;case br:if(this.peekCodePoint(0)===Fr&&this.peekCodePoint(1)===RA&&this.peekCodePoint(2)===RA)return this.consumeCodePoint(),this.consumeCodePoint(),eo;break;case qr:var kt=this.peekCodePoint(0),iA=this.peekCodePoint(1),ur=this.peekCodePoint(2);if(Pr(kt,iA,ur)){var ye=this.consumeName();return{type:7,value:ye}}break;case Gr:return So;case Kt:if(dn(z,this.peekCodePoint(0)))return this.reconsumeCodePoint(z),this.consumeIdentLikeToken();break;case fn:return co;case Tr:if(this.peekCodePoint(0)===DA)return this.consumeCodePoint(),Zn;break;case vn:return Si;case An:return $i;case FA:case St:var NA=this.peekCodePoint(0),qA=this.peekCodePoint(1);return NA===st&&(pr(qA)||qA===ln)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(z),this.consumeIdentLikeToken();case hn:if(this.peekCodePoint(0)===DA)return this.consumeCodePoint(),un;if(this.peekCodePoint(0)===hn)return this.consumeCodePoint(),ii;break;case we:if(this.peekCodePoint(0)===DA)return this.consumeCodePoint(),jn;break;case lr:return Or}return Kr(z)?(this.consumeWhiteSpace(),Sr):BA(z)?(this.reconsumeCodePoint(z),this.consumeNumericToken()):on(z)?(this.reconsumeCodePoint(z),this.consumeIdentLikeToken()):{type:6,value:Ue(z)}},ee.prototype.consumeCodePoint=function(){var z=this._value.shift();return typeof z=="undefined"?-1:z},ee.prototype.reconsumeCodePoint=function(z){this._value.unshift(z)},ee.prototype.peekCodePoint=function(z){return z>=this._value.length?-1:this._value[z]},ee.prototype.consumeUnicodeRangeToken=function(){for(var z=[],Ae=this.consumeCodePoint();pr(Ae)&&z.length<6;)z.push(Ae),Ae=this.consumeCodePoint();for(var te=!1;Ae===ln&&z.length<6;)z.push(Ae),Ae=this.consumeCodePoint(),te=!0;if(te){var ce=parseInt(Ue.apply(void 0,z.map(function(Ie){return Ie===ln?jA:Ie})),16),pe=parseInt(Ue.apply(void 0,z.map(function(Ie){return Ie===ln?tt:Ie})),16);return{type:30,start:ce,end:pe}}var ye=parseInt(Ue.apply(void 0,z),16);if(this.peekCodePoint(0)===RA&&pr(this.peekCodePoint(1))){this.consumeCodePoint(),Ae=this.consumeCodePoint();for(var ke=[];pr(Ae)&&ke.length<6;)ke.push(Ae),Ae=this.consumeCodePoint();var pe=parseInt(Ue.apply(void 0,ke),16);return{type:30,start:ye,end:pe}}else return{type:30,start:ye,end:ye}},ee.prototype.consumeIdentLikeToken=function(){var z=this.consumeName();return z.toLowerCase()==="url"&&this.peekCodePoint(0)===ar?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ar?(this.consumeCodePoint(),{type:19,value:z}):{type:20,value:z}},ee.prototype.consumeUrlToken=function(){var z=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===lr)return{type:22,value:""};var Ae=this.peekCodePoint(0);if(Ae===Wt||Ae===EA){var te=this.consumeStringToken(this.consumeCodePoint());return te.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===lr||this.peekCodePoint(0)===bA)?(this.consumeCodePoint(),{type:22,value:te.value}):(this.consumeBadUrlRemnants(),Ui)}for(;;){var ce=this.consumeCodePoint();if(ce===lr||ce===bA)return{type:22,value:Ue.apply(void 0,z)};if(Kr(ce))return this.consumeWhiteSpace(),this.peekCodePoint(0)===lr||this.peekCodePoint(0)===bA?(this.consumeCodePoint(),{type:22,value:Ue.apply(void 0,z)}):(this.consumeBadUrlRemnants(),Ui);if(ce===EA||ce===Wt||ce===ar||an(ce))return this.consumeBadUrlRemnants(),Ui;if(ce===Kt)if(dn(ce,this.peekCodePoint(0)))z.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ui;else z.push(ce)}},ee.prototype.consumeWhiteSpace=function(){for(;Kr(this.peekCodePoint(0));)this.consumeCodePoint()},ee.prototype.consumeBadUrlRemnants=function(){for(;;){var z=this.consumeCodePoint();if(z===bA||z===lr)return;dn(z,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ee.prototype.consumeStringSlice=function(z){for(var Ae=5e4,te="";z>0;){var ce=Math.min(Ae,z);te+=Ue.apply(void 0,this._value.splice(0,ce)),z-=ce}return this._value.shift(),te},ee.prototype.consumeStringToken=function(z){var Ae="",te=0;do{var ce=this._value[te];if(ce===lr||ce===void 0||ce===z)return Ae+=this.consumeStringSlice(te),{type:0,value:Ae};if(ce===Re)return this._value.splice(0,te),Rn;if(ce===Kt){var pe=this._value[te+1];pe!==lr&&pe!==void 0&&(pe===Re?(Ae+=this.consumeStringSlice(te),te=-1,this._value.shift()):dn(ce,pe)&&(Ae+=this.consumeStringSlice(te),Ae+=Ue(this.consumeEscapedCodePoint()),te=-1))}te++}while(!0)},ee.prototype.consumeNumber=function(){var z=[],Ae=HA,te=this.peekCodePoint(0);for((te===st||te===RA)&&z.push(this.consumeCodePoint());BA(this.peekCodePoint(0));)z.push(this.consumeCodePoint());te=this.peekCodePoint(0);var ce=this.peekCodePoint(1);if(te===wA&&BA(ce))for(z.push(this.consumeCodePoint(),this.consumeCodePoint()),Ae=Te;BA(this.peekCodePoint(0));)z.push(this.consumeCodePoint());te=this.peekCodePoint(0),ce=this.peekCodePoint(1);var pe=this.peekCodePoint(2);if((te===Ut||te===Mr)&&((ce===st||ce===RA)&&BA(pe)||BA(ce)))for(z.push(this.consumeCodePoint(),this.consumeCodePoint()),Ae=Te;BA(this.peekCodePoint(0));)z.push(this.consumeCodePoint());return[sn(z),Ae]},ee.prototype.consumeNumericToken=function(){var z=this.consumeNumber(),Ae=z[0],te=z[1],ce=this.peekCodePoint(0),pe=this.peekCodePoint(1),ye=this.peekCodePoint(2);if(Pr(ce,pe,ye)){var ke=this.consumeName();return{type:15,number:Ae,flags:te,unit:ke}}return ce===SA?(this.consumeCodePoint(),{type:16,number:Ae,flags:te}):{type:17,number:Ae,flags:te}},ee.prototype.consumeEscapedCodePoint=function(){var z=this.consumeCodePoint();if(pr(z)){for(var Ae=Ue(z);pr(this.peekCodePoint(0))&&Ae.length<6;)Ae+=Ue(this.consumeCodePoint());Kr(this.peekCodePoint(0))&&this.consumeCodePoint();var te=parseInt(Ae,16);return te===0||WA(te)||te>1114111?xe:te}return z===lr?xe:z},ee.prototype.consumeName=function(){for(var z="";;){var Ae=this.consumeCodePoint();if(Sn(Ae))z+=Ue(Ae);else if(dn(Ae,this.peekCodePoint(0)))z+=Ue(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(Ae),z}},ee}(),Hr=function(){function ee(z){this._tokens=z}return ee.create=function(z){var Ae=new Lr;return Ae.write(z),new ee(Ae.read())},ee.parseValue=function(z){return ee.create(z).parseComponentValue()},ee.parseValues=function(z){return ee.create(z).parseComponentValues()},ee.prototype.parseComponentValue=function(){for(var z=this.consumeToken();z.type===31;)z=this.consumeToken();if(z.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(z);var Ae=this.consumeComponentValue();do z=this.consumeToken();while(z.type===31);if(z.type===32)return Ae;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ee.prototype.parseComponentValues=function(){for(var z=[];;){var Ae=this.consumeComponentValue();if(Ae.type===32)return z;z.push(Ae),z.push()}},ee.prototype.consumeComponentValue=function(){var z=this.consumeToken();switch(z.type){case 11:case 28:case 2:return this.consumeSimpleBlock(z.type);case 19:return this.consumeFunction(z)}return z},ee.prototype.consumeSimpleBlock=function(z){for(var Ae={type:z,values:[]},te=this.consumeToken();;){if(te.type===32||bi(te,z))return Ae;this.reconsumeToken(te),Ae.values.push(this.consumeComponentValue()),te=this.consumeToken()}},ee.prototype.consumeFunction=function(z){for(var Ae={name:z.value,values:[],type:18};;){var te=this.consumeToken();if(te.type===32||te.type===3)return Ae;this.reconsumeToken(te),Ae.values.push(this.consumeComponentValue())}},ee.prototype.consumeToken=function(){var z=this._tokens.shift();return typeof z=="undefined"?Or:z},ee.prototype.reconsumeToken=function(z){this._tokens.unshift(z)},ee}(),$r=function(ee){return ee.type===15},gn=function(ee){return ee.type===17},en=function(ee){return ee.type===20},hi=function(ee){return ee.type===0},Xn=function(ee,z){return en(ee)&&ee.value===z},Pn=function(ee){return ee.type!==31},oi=function(ee){return ee.type!==31&&ee.type!==4},$n=function(ee){var z=[],Ae=[];return ee.forEach(function(te){if(te.type===4){if(Ae.length===0)throw new Error("Error parsing function args, zero tokens for arg");z.push(Ae),Ae=[];return}te.type!==31&&Ae.push(te)}),Ae.length&&z.push(Ae),z},bi=function(ee,z){return z===11&&ee.type===12||z===28&&ee.type===29?!0:z===2&&ee.type===3},ai=function(ee){return ee.type===17||ee.type===15},En=function(ee){return ee.type===16||ai(ee)},Ti=function(ee){return ee.length>1?[ee[0],ee[1]]:[ee[0]]},_n={type:17,number:0,flags:HA},ca={type:16,number:50,flags:HA},zi={type:16,number:100,flags:HA},xi=function(ee,z,Ae){var te=ee[0],ce=ee[1];return[pn(te,z),pn(typeof ce!="undefined"?ce:te,Ae)]},pn=function(ee,z){if(ee.type===16)return ee.number/100*z;if($r(ee))switch(ee.unit){case"rem":case"em":return 16*ee.number;case"px":default:return ee.number}return ee.number},Ii="deg",fa="grad",ha="rad",Wa="turn",Uo={name:"angle",parse:function(ee,z){if(z.type===15)switch(z.unit){case Ii:return Math.PI*z.number/180;case fa:return Math.PI/200*z.number;case ha:return z.number;case Wa:return Math.PI*2*z.number}throw new Error("Unsupported angle type")}},za=function(ee){return ee.type===15&&(ee.unit===Ii||ee.unit===fa||ee.unit===ha||ee.unit===Wa)},Vo=function(ee){var z=ee.filter(en).map(function(Ae){return Ae.value}).join(" ");switch(z){case"to bottom right":case"to right bottom":case"left top":case"top left":return[_n,_n];case"to top":case"bottom":return di(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[_n,zi];case"to right":case"left":return di(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[zi,zi];case"to bottom":case"top":return di(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[zi,_n];case"to left":case"right":return di(270)}return 0},di=function(ee){return Math.PI*ee/180},Ei={name:"color",parse:function(ee,z){if(z.type===18){var Ae=rn[z.name];if(typeof Ae=="undefined")throw new Error('Attempting to parse an unsupported color function "'+z.name+'"');return Ae(ee,z.values)}if(z.type===5){if(z.value.length===3){var te=z.value.substring(0,1),ce=z.value.substring(1,2),pe=z.value.substring(2,3);return Oi(parseInt(te+te,16),parseInt(ce+ce,16),parseInt(pe+pe,16),1)}if(z.value.length===4){var te=z.value.substring(0,1),ce=z.value.substring(1,2),pe=z.value.substring(2,3),ye=z.value.substring(3,4);return Oi(parseInt(te+te,16),parseInt(ce+ce,16),parseInt(pe+pe,16),parseInt(ye+ye,16)/255)}if(z.value.length===6){var te=z.value.substring(0,2),ce=z.value.substring(2,4),pe=z.value.substring(4,6);return Oi(parseInt(te,16),parseInt(ce,16),parseInt(pe,16),1)}if(z.value.length===8){var te=z.value.substring(0,2),ce=z.value.substring(2,4),pe=z.value.substring(4,6),ye=z.value.substring(6,8);return Oi(parseInt(te,16),parseInt(ce,16),parseInt(pe,16),parseInt(ye,16)/255)}}if(z.type===20){var ke=Un[z.value.toUpperCase()];if(typeof ke!="undefined")return ke}return Un.TRANSPARENT}},Mi=function(ee){return(255&ee)===0},zn=function(ee){var z=255&ee,Ae=255&ee>>8,te=255&ee>>16,ce=255&ee>>24;return z<255?"rgba("+ce+","+te+","+Ae+","+z/255+")":"rgb("+ce+","+te+","+Ae+")"},Oi=function(ee,z,Ae,te){return(ee<<24|z<<16|Ae<<8|Math.round(te*255)<<0)>>>0},Io=function(ee,z){if(ee.type===17)return ee.number;if(ee.type===16){var Ae=z===3?1:255;return z===3?ee.number/100*Ae:Math.round(ee.number/100*Ae)}return 0},da=function(ee,z){var Ae=z.filter(oi);if(Ae.length===3){var te=Ae.map(Io),ce=te[0],pe=te[1],ye=te[2];return Oi(ce,pe,ye,1)}if(Ae.length===4){var ke=Ae.map(Io),ce=ke[0],pe=ke[1],ye=ke[2],Ie=ke[3];return Oi(ce,pe,ye,Ie)}return 0};function fo(ee,z,Ae){return Ae<0&&(Ae+=1),Ae>=1&&(Ae-=1),Ae<1/6?(z-ee)*Ae*6+ee:Ae<1/2?z:Ae<2/3?(z-ee)*6*(2/3-Ae)+ee:ee}var gi=function(ee,z){var Ae=z.filter(oi),te=Ae[0],ce=Ae[1],pe=Ae[2],ye=Ae[3],ke=(te.type===17?di(te.number):Uo.parse(ee,te))/(Math.PI*2),Ie=En(ce)?ce.number/100:0,ot=En(pe)?pe.number/100:0,gt=typeof ye!="undefined"&&En(ye)?pn(ye,1):1;if(Ie===0)return Oi(ot*255,ot*255,ot*255,1);var kt=ot<=.5?ot*(Ie+1):ot+Ie-ot*Ie,iA=ot*2-kt,ur=fo(iA,kt,ke+1/3),NA=fo(iA,kt,ke),qA=fo(iA,kt,ke-1/3);return Oi(ur*255,NA*255,qA*255,gt)},rn={hsl:gi,hsla:gi,rgb:da,rgba:da},Rr=function(ee,z){return Ei.parse(ee,Hr.create(z).parseComponentValue())},Un={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},si={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ee,z){return z.map(function(Ae){if(en(Ae))switch(Ae.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Gn={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Nn=function(ee,z){var Ae=Ei.parse(ee,z[0]),te=z[1];return te&&En(te)?{color:Ae,stop:te}:{color:Ae,stop:null}},Ri=function(ee,z){var Ae=ee[0],te=ee[ee.length-1];Ae.stop===null&&(Ae.stop=_n),te.stop===null&&(te.stop=zi);for(var ce=[],pe=0,ye=0;ye<ee.length;ye++){var ke=ee[ye].stop;if(ke!==null){var Ie=pn(ke,z);Ie>pe?ce.push(Ie):ce.push(pe),pe=Ie}else ce.push(null)}for(var ot=null,ye=0;ye<ce.length;ye++){var gt=ce[ye];if(gt===null)ot===null&&(ot=ye);else if(ot!==null){for(var kt=ye-ot,iA=ce[ot-1],ur=(gt-iA)/(kt+1),NA=1;NA<=kt;NA++)ce[ot+NA-1]=ur*NA;ot=null}}return ee.map(function(qA,Jr){var xr=qA.color;return{color:xr,stop:Math.max(Math.min(1,ce[Jr]/z),0)}})},Pi=function(ee,z,Ae){var te=z/2,ce=Ae/2,pe=pn(ee[0],z)-te,ye=ce-pn(ee[1],Ae);return(Math.atan2(ye,pe)+Math.PI*2)%(Math.PI*2)},to=function(ee,z,Ae){var te=typeof ee=="number"?ee:Pi(ee,z,Ae),ce=Math.abs(z*Math.sin(te))+Math.abs(Ae*Math.cos(te)),pe=z/2,ye=Ae/2,ke=ce/2,Ie=Math.sin(te-Math.PI/2)*ke,ot=Math.cos(te-Math.PI/2)*ke;return[ce,pe-ot,pe+ot,ye-Ie,ye+Ie]},Tn=function(ee,z){return Math.sqrt(ee*ee+z*z)},wi=function(ee,z,Ae,te,ce){var pe=[[0,0],[0,z],[ee,0],[ee,z]];return pe.reduce(function(ye,ke){var Ie=ke[0],ot=ke[1],gt=Tn(Ae-Ie,te-ot);return(ce?gt<ye.optimumDistance:gt>ye.optimumDistance)?{optimumCorner:ke,optimumDistance:gt}:ye},{optimumDistance:ce?1/0:-1/0,optimumCorner:null}).optimumCorner},Vi=function(ee,z,Ae,te,ce){var pe=0,ye=0;switch(ee.size){case 0:ee.shape===0?pe=ye=Math.min(Math.abs(z),Math.abs(z-te),Math.abs(Ae),Math.abs(Ae-ce)):ee.shape===1&&(pe=Math.min(Math.abs(z),Math.abs(z-te)),ye=Math.min(Math.abs(Ae),Math.abs(Ae-ce)));break;case 2:if(ee.shape===0)pe=ye=Math.min(Tn(z,Ae),Tn(z,Ae-ce),Tn(z-te,Ae),Tn(z-te,Ae-ce));else if(ee.shape===1){var ke=Math.min(Math.abs(Ae),Math.abs(Ae-ce))/Math.min(Math.abs(z),Math.abs(z-te)),Ie=wi(te,ce,z,Ae,!0),ot=Ie[0],gt=Ie[1];pe=Tn(ot-z,(gt-Ae)/ke),ye=ke*pe}break;case 1:ee.shape===0?pe=ye=Math.max(Math.abs(z),Math.abs(z-te),Math.abs(Ae),Math.abs(Ae-ce)):ee.shape===1&&(pe=Math.max(Math.abs(z),Math.abs(z-te)),ye=Math.max(Math.abs(Ae),Math.abs(Ae-ce)));break;case 3:if(ee.shape===0)pe=ye=Math.max(Tn(z,Ae),Tn(z,Ae-ce),Tn(z-te,Ae),Tn(z-te,Ae-ce));else if(ee.shape===1){var ke=Math.max(Math.abs(Ae),Math.abs(Ae-ce))/Math.max(Math.abs(z),Math.abs(z-te)),kt=wi(te,ce,z,Ae,!1),ot=kt[0],gt=kt[1];pe=Tn(ot-z,(gt-Ae)/ke),ye=ke*pe}break}return Array.isArray(ee.size)&&(pe=pn(ee.size[0],te),ye=ee.size.length===2?pn(ee.size[1],ce):pe),[pe,ye]},ho=function(ee,z){var Ae=di(180),te=[];return $n(z).forEach(function(ce,pe){if(pe===0){var ye=ce[0];if(ye.type===20&&ye.value==="to"){Ae=Vo(ce);return}else if(za(ye)){Ae=Uo.parse(ee,ye);return}}var ke=Nn(ee,ce);te.push(ke)}),{angle:Ae,stops:te,type:1}},Zo=function(ee,z){var Ae=di(180),te=[];return $n(z).forEach(function(ce,pe){if(pe===0){var ye=ce[0];if(ye.type===20&&["top","left","right","bottom"].indexOf(ye.value)!==-1){Ae=Vo(ce);return}else if(za(ye)){Ae=(Uo.parse(ee,ye)+di(270))%di(360);return}}var ke=Nn(ee,ce);te.push(ke)}),{angle:Ae,stops:te,type:1}},ol=function(ee,z){var Ae=di(180),te=[],ce=1,pe=0,ye=3,ke=[];return $n(z).forEach(function(Ie,ot){var gt=Ie[0];if(ot===0){if(en(gt)&>.value==="linear"){ce=1;return}else if(en(gt)&>.value==="radial"){ce=2;return}}if(gt.type===18){if(gt.name==="from"){var kt=Ei.parse(ee,gt.values[0]);te.push({stop:_n,color:kt})}else if(gt.name==="to"){var kt=Ei.parse(ee,gt.values[0]);te.push({stop:zi,color:kt})}else if(gt.name==="color-stop"){var iA=gt.values.filter(oi);if(iA.length===2){var kt=Ei.parse(ee,iA[1]),ur=iA[0];gn(ur)&&te.push({stop:{type:16,number:ur.number*100,flags:ur.flags},color:kt})}}}}),ce===1?{angle:(Ae+di(180))%di(360),stops:te,type:ce}:{size:ye,shape:pe,stops:te,position:ke,type:ce}},Va="closest-side",go="farthest-side",po="closest-corner",pi="farthest-corner",Ao="circle",ro="ellipse",ga="cover",al="contain",sl=function(ee,z){var Ae=0,te=3,ce=[],pe=[];return $n(z).forEach(function(ye,ke){var Ie=!0;if(ke===0){var ot=!1;Ie=ye.reduce(function(kt,iA){if(ot)if(en(iA))switch(iA.value){case"center":return pe.push(ca),kt;case"top":case"left":return pe.push(_n),kt;case"right":case"bottom":return pe.push(zi),kt}else(En(iA)||ai(iA))&&pe.push(iA);else if(en(iA))switch(iA.value){case Ao:return Ae=0,!1;case ro:return Ae=1,!1;case"at":return ot=!0,!1;case Va:return te=0,!1;case ga:case go:return te=1,!1;case al:case po:return te=2,!1;case pi:return te=3,!1}else if(ai(iA)||En(iA))return Array.isArray(te)||(te=[]),te.push(iA),!1;return kt},Ie)}if(Ie){var gt=Nn(ee,ye);ce.push(gt)}}),{size:te,shape:Ae,stops:ce,position:pe,type:2}},vo=function(ee,z){var Ae=0,te=3,ce=[],pe=[];return $n(z).forEach(function(ye,ke){var Ie=!0;if(ke===0?Ie=ye.reduce(function(gt,kt){if(en(kt))switch(kt.value){case"center":return pe.push(ca),!1;case"top":case"left":return pe.push(_n),!1;case"right":case"bottom":return pe.push(zi),!1}else if(En(kt)||ai(kt))return pe.push(kt),!1;return gt},Ie):ke===1&&(Ie=ye.reduce(function(gt,kt){if(en(kt))switch(kt.value){case Ao:return Ae=0,!1;case ro:return Ae=1,!1;case al:case Va:return te=0,!1;case go:return te=1,!1;case po:return te=2,!1;case ga:case pi:return te=3,!1}else if(ai(kt)||En(kt))return Array.isArray(te)||(te=[]),te.push(kt),!1;return gt},Ie)),Ie){var ot=Nn(ee,ye);ce.push(ot)}}),{size:te,shape:Ae,stops:ce,position:pe,type:2}},ll=function(ee){return ee.type===1},ul=function(ee){return ee.type===2},jo={name:"image",parse:function(ee,z){if(z.type===22){var Ae={url:z.value,type:0};return ee.cache.addImage(z.value),Ae}if(z.type===18){var te=Za[z.name];if(typeof te=="undefined")throw new Error('Attempting to parse an unsupported image function "'+z.name+'"');return te(ee,z.values)}throw new Error("Unsupported image type "+z.type)}};function fu(ee){return!(ee.type===20&&ee.value==="none")&&(ee.type!==18||!!Za[ee.name])}var Za={"linear-gradient":ho,"-moz-linear-gradient":Zo,"-ms-linear-gradient":Zo,"-o-linear-gradient":Zo,"-webkit-linear-gradient":Zo,"radial-gradient":sl,"-moz-radial-gradient":vo,"-ms-radial-gradient":vo,"-o-radial-gradient":vo,"-webkit-radial-gradient":vo,"-webkit-gradient":ol},cl={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ee,z){if(z.length===0)return[];var Ae=z[0];return Ae.type===20&&Ae.value==="none"?[]:z.filter(function(te){return oi(te)&&fu(te)}).map(function(te){return jo.parse(ee,te)})}},fl={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ee,z){return z.map(function(Ae){if(en(Ae))switch(Ae.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},xs={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ee,z){return $n(z).map(function(Ae){return Ae.filter(En)}).map(Ti)}},Xo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ee,z){return $n(z).map(function(Ae){return Ae.filter(en).map(function(te){return te.value}).join(" ")}).map(ja)}},ja=function(ee){switch(ee){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ko;(function(ee){ee.AUTO="auto",ee.CONTAIN="contain",ee.COVER="cover"})(ko||(ko={}));var Xa={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ee,z){return $n(z).map(function(Ae){return Ae.filter(hu)})}},hu=function(ee){return en(ee)||En(ee)},Ya=function(ee){return{name:"border-"+ee+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},du=Ya("top"),Es=Ya("right"),Fs=Ya("bottom"),Yo=Ya("left"),mo=function(ee){return{name:"border-radius-"+ee,initialValue:"0 0",prefix:!1,type:1,parse:function(z,Ae){return Ti(Ae.filter(En))}}},gu=mo("top-left"),Ja=mo("top-right"),hl=mo("bottom-right"),pa=mo("bottom-left"),va=function(ee){return{name:"border-"+ee+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(z,Ae){switch(Ae){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Do=va("top"),ma=va("right"),Lo=va("bottom"),Ba=va("left"),no=function(ee){return{name:"border-"+ee+"-width",initialValue:"0",type:0,prefix:!1,parse:function(z,Ae){return $r(Ae)?Ae.number:0}}},dl=no("top"),gl=no("right"),pl=no("bottom"),pu=no("left"),Ho={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},To={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ee,z){switch(z){case"rtl":return 1;case"ltr":default:return 0}}},vu={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ee,z){return z.filter(en).reduce(function(Ae,te){return Ae|mu(te.value)},0)}},mu=function(ee){switch(ee){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Bu={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ee,z){switch(z){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ee,z){return z.type===20&&z.value==="normal"?0:z.type===17||z.type===15?z.number:0}},qa;(function(ee){ee.NORMAL="normal",ee.STRICT="strict"})(qa||(qa={}));var Cu={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ee,z){switch(z){case"strict":return qa.STRICT;case"normal":default:return qa.NORMAL}}},Fi={name:"line-height",initialValue:"normal",prefix:!1,type:4},Yn=function(ee,z){return en(ee)&&ee.value==="normal"?1.2*z:ee.type===17?z*ee.number:En(ee)?pn(ee,z):z},vi={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ee,z){return z.type===20&&z.value==="none"?null:jo.parse(ee,z)}},ei={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ee,z){switch(z){case"inside":return 0;case"outside":default:return 1}}},Mo={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ee,z){switch(z){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},$a=function(ee){return{name:"margin-"+ee,initialValue:"0",prefix:!1,type:4}},es=$a("top"),yu=$a("right"),bu=$a("bottom"),xu=$a("left"),Qs={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ee,z){return z.filter(en).map(function(Ae){switch(Ae.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},vl={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ee,z){switch(z){case"break-word":return"break-word";case"normal":default:return"normal"}}},Jo=function(ee){return{name:"padding-"+ee,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Eu=Jo("top"),Ss=Jo("right"),Us=Jo("bottom"),ml=Jo("left"),Bl={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ee,z){switch(z){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Is={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ee,z){switch(z){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},wl={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ee,z){return z.length===1&&Xn(z[0],"none")?[]:$n(z).map(function(Ae){for(var te={color:Un.TRANSPARENT,offsetX:_n,offsetY:_n,blur:_n},ce=0,pe=0;pe<Ae.length;pe++){var ye=Ae[pe];ai(ye)?(ce===0?te.offsetX=ye:ce===1?te.offsetY=ye:te.blur=ye,ce++):te.color=Ei.parse(ee,ye)}return te})}},wa={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(ee,z){switch(z){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Fu={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(ee,z){if(z.type===20&&z.value==="none")return null;if(z.type===18){var Ae=Cl[z.name];if(typeof Ae=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+z.name+'"');return Ae(z.values)}return null}},ts=function(ee){var z=ee.filter(function(Ae){return Ae.type===17}).map(function(Ae){return Ae.number});return z.length===6?z:null},ki=function(ee){var z=ee.filter(function(Ie){return Ie.type===17}).map(function(Ie){return Ie.number}),Ae=z[0],te=z[1];z[2],z[3];var ce=z[4],pe=z[5];z[6],z[7],z[8],z[9],z[10],z[11];var ye=z[12],ke=z[13];return z[14],z[15],z.length===16?[Ae,te,ce,pe,ye,ke]:null},Cl={matrix:ts,matrix3d:ki},yl={type:16,number:50,flags:HA},bl=[yl,yl],Di={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(ee,z){var Ae=z.filter(En);return Ae.length!==2?bl:[Ae[0],Ae[1]]}},Bn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(ee,z){switch(z){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ci;(function(ee){ee.NORMAL="normal",ee.BREAK_ALL="break-all",ee.KEEP_ALL="keep-all"})(Ci||(Ci={}));for(var Bo={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(ee,z){switch(z){case"break-all":return Ci.BREAK_ALL;case"keep-all":return Ci.KEEP_ALL;case"normal":default:return Ci.NORMAL}}},wo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(ee,z){if(z.type===20)return{auto:!0,order:0};if(gn(z))return{auto:!1,order:z.number};throw new Error("Invalid z-index number parsed")}},ks={name:"time",parse:function(ee,z){if(z.type===15)switch(z.unit.toLowerCase()){case"s":return 1e3*z.number;case"ms":return z.number}throw new Error("Unsupported time type")}},Ds={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(ee,z){return gn(z)?z.number:1}},xl={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Qu={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(ee,z){return z.filter(en).map(function(Ae){switch(Ae.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Ae){return Ae!==0})}},Ls={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(ee,z){var Ae=[],te=[];return z.forEach(function(ce){switch(ce.type){case 20:case 0:Ae.push(ce.value);break;case 17:Ae.push(ce.number.toString());break;case 4:te.push(Ae.join(" ")),Ae.length=0;break}}),Ae.length&&te.push(Ae.join(" ")),te.map(function(ce){return ce.indexOf(" ")===-1?ce:"'"+ce+"'"})}},Ca={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},El={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(ee,z){if(gn(z))return z.number;if(en(z))switch(z.value){case"bold":return 700;case"normal":default:return 400}return 400}},Hs={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(ee,z){return z.filter(en).map(function(Ae){return Ae.value})}},Co={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(ee,z){switch(z){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Jn=function(ee,z){return(ee&z)!==0},Fl={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(ee,z){if(z.length===0)return[];var Ae=z[0];return Ae.type===20&&Ae.value==="none"?[]:z}},Su={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(ee,z){if(z.length===0)return null;var Ae=z[0];if(Ae.type===20&&Ae.value==="none")return null;for(var te=[],ce=z.filter(Pn),pe=0;pe<ce.length;pe++){var ye=ce[pe],ke=ce[pe+1];if(ye.type===20){var Ie=ke&&gn(ke)?ke.number:1;te.push({counter:ye.value,increment:Ie})}}return te}},As={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(ee,z){if(z.length===0)return[];for(var Ae=[],te=z.filter(Pn),ce=0;ce<te.length;ce++){var pe=te[ce],ye=te[ce+1];if(en(pe)&&pe.value!=="none"){var ke=ye&&gn(ye)?ye.number:0;Ae.push({counter:pe.value,reset:ke})}}return Ae}},Ts={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(ee,z){return z.filter($r).map(function(Ae){return ks.parse(ee,Ae)})}},Ql={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(ee,z){if(z.length===0)return null;var Ae=z[0];if(Ae.type===20&&Ae.value==="none")return null;var te=[],ce=z.filter(hi);if(ce.length%2!==0)return null;for(var pe=0;pe<ce.length;pe+=2){var ye=ce[pe].value,ke=ce[pe+1].value;te.push({open:ye,close:ke})}return te}},Sl=function(ee,z,Ae){if(!ee)return"";var te=ee[Math.min(z,ee.length-1)];return te?Ae?te.open:te.close:""},Ul={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ee,z){return z.length===1&&Xn(z[0],"none")?[]:$n(z).map(function(Ae){for(var te={color:255,offsetX:_n,offsetY:_n,blur:_n,spread:_n,inset:!1},ce=0,pe=0;pe<Ae.length;pe++){var ye=Ae[pe];Xn(ye,"inset")?te.inset=!0:ai(ye)?(ce===0?te.offsetX=ye:ce===1?te.offsetY=ye:ce===2?te.blur=ye:te.spread=ye,ce++):te.color=Ei.parse(ee,ye)}return te})}},Uu={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(ee,z){var Ae=[0,1,2],te=[];return z.filter(en).forEach(function(ce){switch(ce.value){case"stroke":te.push(1);break;case"fill":te.push(0);break;case"markers":te.push(2);break}}),Ae.forEach(function(ce){te.indexOf(ce)===-1&&te.push(ce)}),te}},Iu={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},rs={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(ee,z){return $r(z)?z.number:0}},Il=function(){function ee(z,Ae){var te,ce;this.animationDuration=rr(z,Ts,Ae.animationDuration),this.backgroundClip=rr(z,si,Ae.backgroundClip),this.backgroundColor=rr(z,Gn,Ae.backgroundColor),this.backgroundImage=rr(z,cl,Ae.backgroundImage),this.backgroundOrigin=rr(z,fl,Ae.backgroundOrigin),this.backgroundPosition=rr(z,xs,Ae.backgroundPosition),this.backgroundRepeat=rr(z,Xo,Ae.backgroundRepeat),this.backgroundSize=rr(z,Xa,Ae.backgroundSize),this.borderTopColor=rr(z,du,Ae.borderTopColor),this.borderRightColor=rr(z,Es,Ae.borderRightColor),this.borderBottomColor=rr(z,Fs,Ae.borderBottomColor),this.borderLeftColor=rr(z,Yo,Ae.borderLeftColor),this.borderTopLeftRadius=rr(z,gu,Ae.borderTopLeftRadius),this.borderTopRightRadius=rr(z,Ja,Ae.borderTopRightRadius),this.borderBottomRightRadius=rr(z,hl,Ae.borderBottomRightRadius),this.borderBottomLeftRadius=rr(z,pa,Ae.borderBottomLeftRadius),this.borderTopStyle=rr(z,Do,Ae.borderTopStyle),this.borderRightStyle=rr(z,ma,Ae.borderRightStyle),this.borderBottomStyle=rr(z,Lo,Ae.borderBottomStyle),this.borderLeftStyle=rr(z,Ba,Ae.borderLeftStyle),this.borderTopWidth=rr(z,dl,Ae.borderTopWidth),this.borderRightWidth=rr(z,gl,Ae.borderRightWidth),this.borderBottomWidth=rr(z,pl,Ae.borderBottomWidth),this.borderLeftWidth=rr(z,pu,Ae.borderLeftWidth),this.boxShadow=rr(z,Ul,Ae.boxShadow),this.color=rr(z,Ho,Ae.color),this.direction=rr(z,To,Ae.direction),this.display=rr(z,vu,Ae.display),this.float=rr(z,Bu,Ae.cssFloat),this.fontFamily=rr(z,Ls,Ae.fontFamily),this.fontSize=rr(z,Ca,Ae.fontSize),this.fontStyle=rr(z,Co,Ae.fontStyle),this.fontVariant=rr(z,Hs,Ae.fontVariant),this.fontWeight=rr(z,El,Ae.fontWeight),this.letterSpacing=rr(z,wu,Ae.letterSpacing),this.lineBreak=rr(z,Cu,Ae.lineBreak),this.lineHeight=rr(z,Fi,Ae.lineHeight),this.listStyleImage=rr(z,vi,Ae.listStyleImage),this.listStylePosition=rr(z,ei,Ae.listStylePosition),this.listStyleType=rr(z,Mo,Ae.listStyleType),this.marginTop=rr(z,es,Ae.marginTop),this.marginRight=rr(z,yu,Ae.marginRight),this.marginBottom=rr(z,bu,Ae.marginBottom),this.marginLeft=rr(z,xu,Ae.marginLeft),this.opacity=rr(z,Ds,Ae.opacity);var pe=rr(z,Qs,Ae.overflow);this.overflowX=pe[0],this.overflowY=pe[pe.length>1?1:0],this.overflowWrap=rr(z,vl,Ae.overflowWrap),this.paddingTop=rr(z,Eu,Ae.paddingTop),this.paddingRight=rr(z,Ss,Ae.paddingRight),this.paddingBottom=rr(z,Us,Ae.paddingBottom),this.paddingLeft=rr(z,ml,Ae.paddingLeft),this.paintOrder=rr(z,Uu,Ae.paintOrder),this.position=rr(z,Is,Ae.position),this.textAlign=rr(z,Bl,Ae.textAlign),this.textDecorationColor=rr(z,xl,(te=Ae.textDecorationColor)!==null&&te!==void 0?te:Ae.color),this.textDecorationLine=rr(z,Qu,(ce=Ae.textDecorationLine)!==null&&ce!==void 0?ce:Ae.textDecoration),this.textShadow=rr(z,wl,Ae.textShadow),this.textTransform=rr(z,wa,Ae.textTransform),this.transform=rr(z,Fu,Ae.transform),this.transformOrigin=rr(z,Di,Ae.transformOrigin),this.visibility=rr(z,Bn,Ae.visibility),this.webkitTextStrokeColor=rr(z,Iu,Ae.webkitTextStrokeColor),this.webkitTextStrokeWidth=rr(z,rs,Ae.webkitTextStrokeWidth),this.wordBreak=rr(z,Bo,Ae.wordBreak),this.zIndex=rr(z,wo,Ae.zIndex)}return ee.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ee.prototype.isTransparent=function(){return Mi(this.backgroundColor)},ee.prototype.isTransformed=function(){return this.transform!==null},ee.prototype.isPositioned=function(){return this.position!==0},ee.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ee.prototype.isFloating=function(){return this.float!==0},ee.prototype.isInlineLevel=function(){return Jn(this.display,4)||Jn(this.display,33554432)||Jn(this.display,268435456)||Jn(this.display,536870912)||Jn(this.display,67108864)||Jn(this.display,134217728)},ee}(),ku=function(){function ee(z,Ae){this.content=rr(z,Fl,Ae.content),this.quotes=rr(z,Ql,Ae.quotes)}return ee}(),kl=function(){function ee(z,Ae){this.counterIncrement=rr(z,Su,Ae.counterIncrement),this.counterReset=rr(z,As,Ae.counterReset)}return ee}(),rr=function(ee,z,Ae){var te=new Lr,ce=Ae!==null&&typeof Ae!="undefined"?Ae.toString():z.initialValue;te.write(ce);var pe=new Hr(te.read());switch(z.type){case 2:var ye=pe.parseComponentValue();return z.parse(ee,en(ye)?ye.value:z.initialValue);case 0:return z.parse(ee,pe.parseComponentValue());case 1:return z.parse(ee,pe.parseComponentValues());case 4:return pe.parseComponentValue();case 3:switch(z.format){case"angle":return Uo.parse(ee,pe.parseComponentValue());case"color":return Ei.parse(ee,pe.parseComponentValue());case"image":return jo.parse(ee,pe.parseComponentValue());case"length":var ke=pe.parseComponentValue();return ai(ke)?ke:_n;case"length-percentage":var Ie=pe.parseComponentValue();return En(Ie)?Ie:_n;case"time":return ks.parse(ee,pe.parseComponentValue())}break}},qo="data-html2canvas-debug",Ms=function(ee){var z=ee.getAttribute(qo);switch(z){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},$o=function(ee,z){var Ae=Ms(ee);return Ae===1||z===Ae},Zi=function(){function ee(z,Ae){if(this.context=z,this.textNodes=[],this.elements=[],this.flags=0,$o(Ae,3))debugger;this.styles=new Il(z,window.getComputedStyle(Ae,null)),vs(Ae)&&(this.styles.animationDuration.some(function(te){return te>0})&&(Ae.style.animationDuration="0s"),this.styles.transform!==null&&(Ae.style.transform="none")),this.bounds=Qe(this.context,Ae),$o(Ae,4)&&(this.flags|=16)}return ee}(),Os="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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gAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Rs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ya=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ba=0;ba<Rs.length;ba++)ya[Rs.charCodeAt(ba)]=ba;for(var li=function(ee){var z=ee.length*.75,Ae=ee.length,te,ce=0,pe,ye,ke,Ie;ee[ee.length-1]==="="&&(z--,ee[ee.length-2]==="="&&z--);var ot=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(z):new Array(z),gt=Array.isArray(ot)?ot:new Uint8Array(ot);for(te=0;te<Ae;te+=4)pe=ya[ee.charCodeAt(te)],ye=ya[ee.charCodeAt(te+1)],ke=ya[ee.charCodeAt(te+2)],Ie=ya[ee.charCodeAt(te+3)],gt[ce++]=pe<<2|ye>>4,gt[ce++]=(ye&15)<<4|ke>>2,gt[ce++]=(ke&3)<<6|Ie&63;return ot},ns=function(ee){for(var z=ee.length,Ae=[],te=0;te<z;te+=2)Ae.push(ee[te+1]<<8|ee[te]);return Ae},Dl=function(ee){for(var z=ee.length,Ae=[],te=0;te<z;te+=4)Ae.push(ee[te+3]<<24|ee[te+2]<<16|ee[te+1]<<8|ee[te]);return Ae},yo=5,is=11,bo=2,os=is-yo,Ps=65536>>yo,Ll=1<<yo,as=Ll-1,ea=1024>>yo,Hl=Ps+ea,ss=Hl,Tl=32,xa=ss+Tl,Du=65536>>is,ta=1<<os,Ml=ta-1,Ns=function(ee,z,Ae){return ee.slice?ee.slice(z,Ae):new Uint16Array(Array.prototype.slice.call(ee,z,Ae))},Ol=function(ee,z,Ae){return ee.slice?ee.slice(z,Ae):new Uint32Array(Array.prototype.slice.call(ee,z,Ae))},Ea=function(ee,z){var Ae=li(ee),te=Array.isArray(Ae)?Dl(Ae):new Uint32Array(Ae),ce=Array.isArray(Ae)?ns(Ae):new Uint16Array(Ae),pe=24,ye=Ns(ce,pe/2,te[4]/2),ke=te[5]===2?Ns(ce,(pe+te[4])/2):Ol(te,Math.ceil((pe+te[4])/4));return new Fa(te[0],te[1],te[2],te[3],ye,ke)},Fa=function(){function ee(z,Ae,te,ce,pe,ye){this.initialValue=z,this.errorValue=Ae,this.highStart=te,this.highValueIndex=ce,this.index=pe,this.data=ye}return ee.prototype.get=function(z){var Ae;if(z>=0){if(z<55296||z>56319&&z<=65535)return Ae=this.index[z>>yo],Ae=(Ae<<bo)+(z&as),this.data[Ae];if(z<=65535)return Ae=this.index[Ps+(z-55296>>yo)],Ae=(Ae<<bo)+(z&as),this.data[Ae];if(z<this.highStart)return Ae=xa-Du+(z>>is),Ae=this.index[Ae],Ae+=z>>yo&Ml,Ae=this.index[Ae],Ae=(Ae<<bo)+(z&as),this.data[Ae];if(z<=1114111)return this.data[this.highValueIndex]}return this.errorValue},ee}(),Aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qa=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Sa=0;Sa<Aa.length;Sa++)Qa[Aa.charCodeAt(Sa)]=Sa;var Lu=1,ls=2,Xi=3,Oo=4,ra=5,Hu=7,Ks=8,_s=9,Gs=10,Rl=11,mi=12,Ws=13,Pl=14,zs=15,Tu=function(ee){for(var z=[],Ae=0,te=ee.length;Ae<te;){var ce=ee.charCodeAt(Ae++);if(ce>=55296&&ce<=56319&&Ae<te){var pe=ee.charCodeAt(Ae++);(pe&64512)===56320?z.push(((ce&1023)<<10)+(pe&1023)+65536):(z.push(ce),Ae--)}else z.push(ce)}return z},Nl=function(){for(var ee=[],z=0;z<arguments.length;z++)ee[z]=arguments[z];if(String.fromCodePoint)return String.fromCodePoint.apply(String,ee);var Ae=ee.length;if(!Ae)return"";for(var te=[],ce=-1,pe="";++ce<Ae;){var ye=ee[ce];ye<=65535?te.push(ye):(ye-=65536,te.push((ye>>10)+55296,ye%1024+56320)),(ce+1===Ae||te.length>16384)&&(pe+=String.fromCharCode.apply(String,te),te.length=0)}return pe},Kl=Ea(Os),Li="\xD7",Vs="\xF7",Mu=function(ee){return Kl.get(ee)},Ou=function(ee,z,Ae){var te=Ae-2,ce=z[te],pe=z[Ae-1],ye=z[Ae];if(pe===ls&&ye===Xi)return Li;if(pe===ls||pe===Xi||pe===Oo||ye===ls||ye===Xi||ye===Oo)return Vs;if(pe===Ks&&[Ks,_s,Rl,mi].indexOf(ye)!==-1||(pe===Rl||pe===_s)&&(ye===_s||ye===Gs)||(pe===mi||pe===Gs)&&ye===Gs||ye===Ws||ye===ra||ye===Hu||pe===Lu)return Li;if(pe===Ws&&ye===Pl){for(;ce===ra;)ce=z[--te];if(ce===Pl)return Li}if(pe===zs&&ye===zs){for(var ke=0;ce===zs;)ke++,ce=z[--te];if(ke%2===0)return Li}return Vs},xo=function(ee){var z=Tu(ee),Ae=z.length,te=0,ce=0,pe=z.map(Mu);return{next:function(){if(te>=Ae)return{done:!0,value:null};for(var ye=Li;te<Ae&&(ye=Ou(z,pe,++te))===Li;);if(ye!==Li||te===Ae){var ke=Nl.apply(null,z.slice(ce,te));return ce=te,{value:ke,done:!1}}return{done:!0,value:null}}}},Ua=function(ee){for(var z=xo(ee),Ae=[],te;!(te=z.next()).done;)te.value&&Ae.push(te.value.slice());return Ae},us=function(ee){var z=123;if(ee.createRange){var Ae=ee.createRange();if(Ae.getBoundingClientRect){var te=ee.createElement("boundtest");te.style.height=z+"px",te.style.display="block",ee.body.appendChild(te),Ae.selectNode(te);var ce=Ae.getBoundingClientRect(),pe=Math.round(ce.height);if(ee.body.removeChild(te),pe===z)return!0}}return!1},Ia=function(ee){var z=ee.createElement("boundtest");z.style.width="50px",z.style.display="block",z.style.fontSize="12px",z.style.letterSpacing="0px",z.style.wordSpacing="0px",ee.body.appendChild(z);var Ae=ee.createRange();z.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var te=z.firstChild,ce=Ke(te.data).map(function(Ie){return Ue(Ie)}),pe=0,ye={},ke=ce.every(function(Ie,ot){Ae.setStart(te,pe),Ae.setEnd(te,pe+Ie.length);var gt=Ae.getBoundingClientRect();pe+=Ie.length;var kt=gt.x>ye.x||gt.y>ye.y;return ye=gt,ot===0?!0:kt});return ee.body.removeChild(z),ke},io=function(){return typeof new Image().crossOrigin!="undefined"},Ru=function(){return typeof new XMLHttpRequest().responseType=="string"},Pu=function(ee){var z=new Image,Ae=ee.createElement("canvas"),te=Ae.getContext("2d");if(!te)return!1;z.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{te.drawImage(z,0,0),Ae.toDataURL()}catch(ce){return!1}return!0},Ro=function(ee){return ee[0]===0&&ee[1]===255&&ee[2]===0&&ee[3]===255},_l=function(ee){var z=ee.createElement("canvas"),Ae=100;z.width=Ae,z.height=Ae;var te=z.getContext("2d");if(!te)return Promise.reject(!1);te.fillStyle="rgb(0, 255, 0)",te.fillRect(0,0,Ae,Ae);var ce=new Image,pe=z.toDataURL();ce.src=pe;var ye=cs(Ae,Ae,0,0,ce);return te.fillStyle="red",te.fillRect(0,0,Ae,Ae),Zs(ye).then(function(ke){te.drawImage(ke,0,0);var Ie=te.getImageData(0,0,Ae,Ae).data;te.fillStyle="red",te.fillRect(0,0,Ae,Ae);var ot=ee.createElement("div");return ot.style.backgroundImage="url("+pe+")",ot.style.height=Ae+"px",Ro(Ie)?Zs(cs(Ae,Ae,0,0,ot)):Promise.reject(!1)}).then(function(ke){return te.drawImage(ke,0,0),Ro(te.getImageData(0,0,Ae,Ae).data)}).catch(function(){return!1})},cs=function(ee,z,Ae,te,ce){var pe="http://www.w3.org/2000/svg",ye=document.createElementNS(pe,"svg"),ke=document.createElementNS(pe,"foreignObject");return ye.setAttributeNS(null,"width",ee.toString()),ye.setAttributeNS(null,"height",z.toString()),ke.setAttributeNS(null,"width","100%"),ke.setAttributeNS(null,"height","100%"),ke.setAttributeNS(null,"x",Ae.toString()),ke.setAttributeNS(null,"y",te.toString()),ke.setAttributeNS(null,"externalResourcesRequired","true"),ye.appendChild(ke),ke.appendChild(ce),ye},Zs=function(ee){return new Promise(function(z,Ae){var te=new Image;te.onload=function(){return z(te)},te.onerror=Ae,te.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ee))})},qn={get SUPPORT_RANGE_BOUNDS(){var ee=us(document);return Object.defineProperty(qn,"SUPPORT_RANGE_BOUNDS",{value:ee}),ee},get SUPPORT_WORD_BREAKING(){var ee=qn.SUPPORT_RANGE_BOUNDS&&Ia(document);return Object.defineProperty(qn,"SUPPORT_WORD_BREAKING",{value:ee}),ee},get SUPPORT_SVG_DRAWING(){var ee=Pu(document);return Object.defineProperty(qn,"SUPPORT_SVG_DRAWING",{value:ee}),ee},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ee=typeof Array.from=="function"&&typeof window.fetch=="function"?_l(document):Promise.resolve(!1);return Object.defineProperty(qn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ee}),ee},get SUPPORT_CORS_IMAGES(){var ee=io();return Object.defineProperty(qn,"SUPPORT_CORS_IMAGES",{value:ee}),ee},get SUPPORT_RESPONSE_TYPE(){var ee=Ru();return Object.defineProperty(qn,"SUPPORT_RESPONSE_TYPE",{value:ee}),ee},get SUPPORT_CORS_XHR(){var ee="withCredentials"in new XMLHttpRequest;return Object.defineProperty(qn,"SUPPORT_CORS_XHR",{value:ee}),ee},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ee=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(qn,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ee}),ee}},Yi=function(){function ee(z,Ae){this.text=z,this.bounds=Ae}return ee}(),js=function(ee,z,Ae,te){var ce=Gl(z,Ae),pe=[],ye=0;return ce.forEach(function(ke){if(Ae.textDecorationLine.length||ke.trim().length>0)if(qn.SUPPORT_RANGE_BOUNDS){var Ie=fs(te,ye,ke.length).getClientRects();if(Ie.length>1){var ot=Ys(ke),gt=0;ot.forEach(function(iA){pe.push(new Yi(iA,Ee.fromDOMRectList(ee,fs(te,gt+ye,iA.length).getClientRects()))),gt+=iA.length})}else pe.push(new Yi(ke,Ee.fromDOMRectList(ee,Ie)))}else{var kt=te.splitText(ke.length);pe.push(new Yi(ke,Xs(ee,te))),te=kt}else qn.SUPPORT_RANGE_BOUNDS||(te=te.splitText(ke.length));ye+=ke.length}),pe},Xs=function(ee,z){var Ae=z.ownerDocument;if(Ae){var te=Ae.createElement("html2canvaswrapper");te.appendChild(z.cloneNode(!0));var ce=z.parentNode;if(ce){ce.replaceChild(te,z);var pe=Qe(ee,te);return te.firstChild&&ce.replaceChild(te.firstChild,te),pe}}return Ee.EMPTY},fs=function(ee,z,Ae){var te=ee.ownerDocument;if(!te)throw new Error("Node has no owner document");var ce=te.createRange();return ce.setStart(ee,z),ce.setEnd(ee,z+Ae),ce},Ys=function(ee){if(qn.SUPPORT_NATIVE_TEXT_SEGMENTATION){var z=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(z.segment(ee)).map(function(Ae){return Ae.segment})}return Ua(ee)},ka=function(ee,z){if(qn.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Ae.segment(ee)).map(function(te){return te.segment})}return Wl(ee,z)},Gl=function(ee,z){return z.letterSpacing!==0?Ys(ee):ka(ee,z)},Nu=[32,160,4961,65792,65793,4153,4241],Wl=function(ee,z){for(var Ae=He(ee,{lineBreak:z.lineBreak,wordBreak:z.overflowWrap==="break-word"?"break-word":z.wordBreak}),te=[],ce,pe=function(){if(ce.value){var ye=ce.value.slice(),ke=Ke(ye),Ie="";ke.forEach(function(ot){Nu.indexOf(ot)===-1?Ie+=Ue(ot):(Ie.length&&te.push(Ie),te.push(Ue(ot)),Ie="")}),Ie.length&&te.push(Ie)}};!(ce=Ae.next()).done;)pe();return te},hs=function(){function ee(z,Ae,te){this.text=Ku(Ae.data,te.textTransform),this.textBounds=js(z,this.text,te,Ae)}return ee}(),Ku=function(ee,z){switch(z){case 1:return ee.toLowerCase();case 3:return ee.replace(_u,Da);case 2:return ee.toUpperCase();default:return ee}},_u=/(^|\s|:|-|\(|\))([a-z])/g,Da=function(ee,z,Ae){return ee.length>0?z+Ae.toUpperCase():ee},Js=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce.src=te.currentSrc||te.src,ce.intrinsicWidth=te.naturalWidth,ce.intrinsicHeight=te.naturalHeight,ce.context.cache.addImage(ce.src),ce}return z}(Zi),qs=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce.canvas=te,ce.intrinsicWidth=te.width,ce.intrinsicHeight=te.height,ce}return z}(Zi),zl=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this,pe=new XMLSerializer,ye=Qe(Ae,te);return te.setAttribute("width",ye.width+"px"),te.setAttribute("height",ye.height+"px"),ce.svg="data:image/svg+xml,"+encodeURIComponent(pe.serializeToString(te)),ce.intrinsicWidth=te.width.baseVal.value,ce.intrinsicHeight=te.height.baseVal.value,ce.context.cache.addImage(ce.svg),ce}return z}(Zi),ds=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce.value=te.value,ce}return z}(Zi),gs=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce.start=te.start,ce.reversed=typeof te.reversed=="boolean"&&te.reversed===!0,ce}return z}(Zi),Gu=[{type:15,flags:0,unit:"px",number:3}],Vl=[{type:16,flags:0,number:50}],Zl=function(ee){return ee.width>ee.height?new Ee(ee.left+(ee.width-ee.height)/2,ee.top,ee.height,ee.height):ee.width<ee.height?new Ee(ee.left,ee.top+(ee.height-ee.width)/2,ee.width,ee.width):ee},Wu=function(ee){var z=ee.type===La?new Array(ee.value.length+1).join("\u2022"):ee.value;return z.length===0?ee.placeholder||"":z},na="checkbox",Eo="radio",La="password",jl=707406591,ps=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;switch(ce.type=te.type.toLowerCase(),ce.checked=te.checked,ce.value=Wu(te),(ce.type===na||ce.type===Eo)&&(ce.styles.backgroundColor=3739148031,ce.styles.borderTopColor=ce.styles.borderRightColor=ce.styles.borderBottomColor=ce.styles.borderLeftColor=2779096575,ce.styles.borderTopWidth=ce.styles.borderRightWidth=ce.styles.borderBottomWidth=ce.styles.borderLeftWidth=1,ce.styles.borderTopStyle=ce.styles.borderRightStyle=ce.styles.borderBottomStyle=ce.styles.borderLeftStyle=1,ce.styles.backgroundClip=[0],ce.styles.backgroundOrigin=[0],ce.bounds=Zl(ce.bounds)),ce.type){case na:ce.styles.borderTopRightRadius=ce.styles.borderTopLeftRadius=ce.styles.borderBottomRightRadius=ce.styles.borderBottomLeftRadius=Gu;break;case Eo:ce.styles.borderTopRightRadius=ce.styles.borderTopLeftRadius=ce.styles.borderBottomRightRadius=ce.styles.borderBottomLeftRadius=Vl;break}return ce}return z}(Zi),Xl=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this,pe=te.options[te.selectedIndex||0];return ce.value=pe&&pe.text||"",ce}return z}(Zi),Yl=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce.value=te.value,ce}return z}(Zi),Jl=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;ce.src=te.src,ce.width=parseInt(te.width,10)||0,ce.height=parseInt(te.height,10)||0,ce.backgroundColor=ce.styles.backgroundColor;try{if(te.contentWindow&&te.contentWindow.document&&te.contentWindow.document.documentElement){ce.tree=$l(Ae,te.contentWindow.document.documentElement);var pe=te.contentWindow.document.documentElement?Rr(Ae,getComputedStyle(te.contentWindow.document.documentElement).backgroundColor):Un.TRANSPARENT,ye=te.contentWindow.document.body?Rr(Ae,getComputedStyle(te.contentWindow.document.body).backgroundColor):Un.TRANSPARENT;ce.backgroundColor=Mi(pe)?Mi(ye)?ce.styles.backgroundColor:ye:pe}}catch(ke){}return ce}return z}(Zi),zu=["OL","UL","MENU"],Ha=function(ee,z,Ae,te){for(var ce=z.firstChild,pe=void 0;ce;ce=pe)if(pe=ce.nextSibling,el(ce)&&ce.data.trim().length>0)Ae.textNodes.push(new hs(ee,ce,Ae.styles));else if(ia(ce))if(Al(ce)&&ce.assignedNodes)ce.assignedNodes().forEach(function(ke){return Ha(ee,ke,Ae,te)});else{var ye=ql(ee,ce);ye.styles.isVisible()&&(eu(ce,ye,te)?ye.flags|=4:$s(ye.styles)&&(ye.flags|=2),zu.indexOf(ce.tagName)!==-1&&(ye.flags|=8),Ae.elements.push(ye),ce.slot,ce.shadowRoot?Ha(ee,ce.shadowRoot,ye,te):!Ma(ce)&&!Au(ce)&&!Oa(ce)&&Ha(ee,ce,ye,te))}},ql=function(ee,z){return Po(z)?new Js(ee,z):ru(z)?new qs(ee,z):Au(z)?new zl(ee,z):tu(z)?new ds(ee,z):ms(z)?new gs(ee,z):Vu(z)?new ps(ee,z):Oa(z)?new Xl(ee,z):Ma(z)?new Yl(ee,z):Ni(z)?new Jl(ee,z):new Zi(ee,z)},$l=function(ee,z){var Ae=ql(ee,z);return Ae.flags|=4,Ha(ee,z,Ae,Ae),Ae},eu=function(ee,z,Ae){return z.styles.isPositionedWithZIndex()||z.styles.opacity<1||z.styles.isTransformed()||Qn(ee)&&Ae.styles.isTransparent()},$s=function(ee){return ee.isPositioned()||ee.isFloating()},el=function(ee){return ee.nodeType===Node.TEXT_NODE},ia=function(ee){return ee.nodeType===Node.ELEMENT_NODE},vs=function(ee){return ia(ee)&&typeof ee.style!="undefined"&&!oo(ee)},oo=function(ee){return typeof ee.className=="object"},tu=function(ee){return ee.tagName==="LI"},ms=function(ee){return ee.tagName==="OL"},Vu=function(ee){return ee.tagName==="INPUT"},Zu=function(ee){return ee.tagName==="HTML"},Au=function(ee){return ee.tagName==="svg"},Qn=function(ee){return ee.tagName==="BODY"},ru=function(ee){return ee.tagName==="CANVAS"},Bs=function(ee){return ee.tagName==="VIDEO"},Po=function(ee){return ee.tagName==="IMG"},Ni=function(ee){return ee.tagName==="IFRAME"},Ta=function(ee){return ee.tagName==="STYLE"},tl=function(ee){return ee.tagName==="SCRIPT"},Ma=function(ee){return ee.tagName==="TEXTAREA"},Oa=function(ee){return ee.tagName==="SELECT"},Al=function(ee){return ee.tagName==="SLOT"},rl=function(ee){return ee.tagName.indexOf("-")>0},nu=function(){function ee(){this.counters={}}return ee.prototype.getCounterValue=function(z){var Ae=this.counters[z];return Ae&&Ae.length?Ae[Ae.length-1]:1},ee.prototype.getCounterValues=function(z){var Ae=this.counters[z];return Ae||[]},ee.prototype.pop=function(z){var Ae=this;z.forEach(function(te){return Ae.counters[te].pop()})},ee.prototype.parse=function(z){var Ae=this,te=z.counterIncrement,ce=z.counterReset,pe=!0;te!==null&&te.forEach(function(ke){var Ie=Ae.counters[ke.counter];Ie&&ke.increment!==0&&(pe=!1,Ie.length||Ie.push(1),Ie[Math.max(0,Ie.length-1)]+=ke.increment)});var ye=[];return pe&&ce.forEach(function(ke){var Ie=Ae.counters[ke.counter];ye.push(ke.counter),Ie||(Ie=Ae.counters[ke.counter]=[]),Ie.push(ke.reset)}),ye},ee}(),iu={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ws={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},ou={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},yn={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},No=function(ee,z,Ae,te,ce,pe){return ee<z||ee>Ae?x(ee,ce,pe.length>0):te.integers.reduce(function(ye,ke,Ie){for(;ee>=ke;)ee-=ke,ye+=te.values[Ie];return ye},"")+pe},au=function(ee,z,Ae,te){var ce="";do Ae||ee--,ce=te(ee)+ce,ee/=z;while(ee*z>=z);return ce},In=function(ee,z,Ae,te,ce){var pe=Ae-z+1;return(ee<0?"-":"")+(au(Math.abs(ee),pe,te,function(ye){return Ue(Math.floor(ye%pe)+z)})+ce)},Ko=function(ee,z,Ae){Ae===void 0&&(Ae=". ");var te=z.length;return au(Math.abs(ee),te,!1,function(ce){return z[Math.floor(ce%te)]})+Ae},ao=1,Fo=2,xn=4,Ra=8,so=function(ee,z,Ae,te,ce,pe){if(ee<-9999||ee>9999)return x(ee,4,ce.length>0);var ye=Math.abs(ee),ke=ce;if(ye===0)return z[0]+ke;for(var Ie=0;ye>0&&Ie<=4;Ie++){var ot=ye%10;ot===0&&Jn(pe,ao)&&ke!==""?ke=z[ot]+ke:ot>1||ot===1&&Ie===0||ot===1&&Ie===1&&Jn(pe,Fo)||ot===1&&Ie===1&&Jn(pe,xn)&&ee>100||ot===1&&Ie>1&&Jn(pe,Ra)?ke=z[ot]+(Ie>0?Ae[Ie-1]:"")+ke:ot===1&&Ie>0&&(ke=Ae[Ie-1]+ke),ye=Math.floor(ye/10)}return(ee<0?te:"")+ke},su="\u5341\u767E\u5343\u842C",Pa="\u62FE\u4F70\u4EDF\u842C",a="\u30DE\u30A4\u30CA\u30B9",y="\uB9C8\uC774\uB108\uC2A4",x=function(ee,z,Ae){var te=Ae?". ":"",ce=Ae?"\u3001":"",pe=Ae?", ":"",ye=Ae?" ":"";switch(z){case 0:return"\u2022"+ye;case 1:return"\u25E6"+ye;case 2:return"\u25FE"+ye;case 5:var ke=In(ee,48,57,!0,te);return ke.length<4?"0"+ke:ke;case 4:return Ko(ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ce);case 6:return No(ee,1,3999,iu,3,te).toLowerCase();case 7:return No(ee,1,3999,iu,3,te);case 8:return In(ee,945,969,!1,te);case 9:return In(ee,97,122,!1,te);case 10:return In(ee,65,90,!1,te);case 11:return In(ee,1632,1641,!0,te);case 12:case 49:return No(ee,1,9999,ws,3,te);case 35:return No(ee,1,9999,ws,3,te).toLowerCase();case 13:return In(ee,2534,2543,!0,te);case 14:case 30:return In(ee,6112,6121,!0,te);case 15:return Ko(ee,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",ce);case 16:return Ko(ee,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",ce);case 17:case 48:return so(ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",su,"\u8CA0",ce,Fo|xn|Ra);case 47:return so(ee,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Pa,"\u8CA0",ce,ao|Fo|xn|Ra);case 42:return so(ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",su,"\u8D1F",ce,Fo|xn|Ra);case 41:return so(ee,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Pa,"\u8D1F",ce,ao|Fo|xn|Ra);case 26:return so(ee,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",a,ce,0);case 25:return so(ee,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",a,ce,ao|Fo|xn);case 31:return so(ee,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",y,pe,ao|Fo|xn);case 33:return so(ee,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",y,pe,0);case 32:return so(ee,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",y,pe,ao|Fo|xn);case 18:return In(ee,2406,2415,!0,te);case 20:return No(ee,1,19999,yn,3,te);case 21:return In(ee,2790,2799,!0,te);case 22:return In(ee,2662,2671,!0,te);case 22:return No(ee,1,10999,ou,3,te);case 23:return Ko(ee,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Ko(ee,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return In(ee,3302,3311,!0,te);case 28:return Ko(ee,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",ce);case 29:return Ko(ee,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",ce);case 34:return In(ee,3792,3801,!0,te);case 37:return In(ee,6160,6169,!0,te);case 38:return In(ee,4160,4169,!0,te);case 39:return In(ee,2918,2927,!0,te);case 40:return In(ee,1776,1785,!0,te);case 43:return In(ee,3046,3055,!0,te);case 44:return In(ee,3174,3183,!0,te);case 45:return In(ee,3664,3673,!0,te);case 46:return In(ee,3872,3881,!0,te);case 3:default:return In(ee,48,57,!0,te)}},b="data-html2canvas-ignore",E=function(){function ee(z,Ae,te){if(this.context=z,this.options=te,this.scrolledElements=[],this.referenceElement=Ae,this.counters=new nu,this.quoteDepth=0,!Ae.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(Ae.ownerDocument.documentElement,!1)}return ee.prototype.toIFrame=function(z,Ae){var te=this,ce=le(z,Ae);if(!ce.contentWindow)return Promise.reject("Unable to find iframe window");var pe=z.defaultView.pageXOffset,ye=z.defaultView.pageYOffset,ke=ce.contentWindow,Ie=ke.document,ot=me(ce).then(function(){return ct(te,void 0,void 0,function(){var gt,kt;return Le(this,function(iA){switch(iA.label){case 0:return this.scrolledElements.forEach(Zt),ke&&(ke.scrollTo(Ae.left,Ae.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(ke.scrollY!==Ae.top||ke.scrollX!==Ae.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(ke.scrollX-Ae.left,ke.scrollY-Ae.top,0,0))),gt=this.options.onclone,kt=this.clonedReferenceElement,typeof kt=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Ie.fonts&&Ie.fonts.ready?[4,Ie.fonts.ready]:[3,2];case 1:iA.sent(),iA.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ge(Ie)]:[3,4];case 3:iA.sent(),iA.label=4;case 4:return typeof gt=="function"?[2,Promise.resolve().then(function(){return gt(Ie,kt)}).then(function(){return ce})]:[2,ce]}})})});return Ie.open(),Ie.write(dt(document.doctype)+"<html></html>"),ut(this.referenceElement.ownerDocument,pe,ye),Ie.replaceChild(Ie.adoptNode(this.documentElement),Ie.documentElement),Ie.close(),ot},ee.prototype.createElementClone=function(z){if($o(z,2))debugger;if(ru(z))return this.createCanvasClone(z);if(Bs(z))return this.createVideoClone(z);if(Ta(z))return this.createStyleClone(z);var Ae=z.cloneNode(!1);return Po(Ae)&&(Po(z)&&z.currentSrc&&z.currentSrc!==z.src&&(Ae.src=z.currentSrc,Ae.srcset=""),Ae.loading==="lazy"&&(Ae.loading="eager")),rl(Ae)?this.createCustomElementClone(Ae):Ae},ee.prototype.createCustomElementClone=function(z){var Ae=document.createElement("html2canvascustomelement");return Ne(z.style,Ae),Ae},ee.prototype.createStyleClone=function(z){try{var Ae=z.sheet;if(Ae&&Ae.cssRules){var te=[].slice.call(Ae.cssRules,0).reduce(function(pe,ye){return ye&&typeof ye.cssText=="string"?pe+ye.cssText:pe},""),ce=z.cloneNode(!1);return ce.textContent=te,ce}}catch(pe){if(this.context.logger.error("Unable to access cssRules property",pe),pe.name!=="SecurityError")throw pe}return z.cloneNode(!1)},ee.prototype.createCanvasClone=function(z){var Ae;if(this.options.inlineImages&&z.ownerDocument){var te=z.ownerDocument.createElement("img");try{return te.src=z.toDataURL(),te}catch(ot){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",z)}}var ce=z.cloneNode(!1);try{ce.width=z.width,ce.height=z.height;var pe=z.getContext("2d"),ye=ce.getContext("2d");if(ye)if(!this.options.allowTaint&&pe)ye.putImageData(pe.getImageData(0,0,z.width,z.height),0,0);else{var ke=(Ae=z.getContext("webgl2"))!==null&&Ae!==void 0?Ae:z.getContext("webgl");if(ke){var Ie=ke.getContextAttributes();(Ie==null?void 0:Ie.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",z)}ye.drawImage(z,0,0)}return ce}catch(ot){this.context.logger.info("Unable to clone canvas as it is tainted",z)}return ce},ee.prototype.createVideoClone=function(z){var Ae=z.ownerDocument.createElement("canvas");Ae.width=z.offsetWidth,Ae.height=z.offsetHeight;var te=Ae.getContext("2d");try{return te&&(te.drawImage(z,0,0,Ae.width,Ae.height),this.options.allowTaint||te.getImageData(0,0,Ae.width,Ae.height)),Ae}catch(pe){this.context.logger.info("Unable to clone video as it is tainted",z)}var ce=z.ownerDocument.createElement("canvas");return ce.width=z.offsetWidth,ce.height=z.offsetHeight,ce},ee.prototype.appendChildNode=function(z,Ae,te){(!ia(Ae)||!tl(Ae)&&!Ae.hasAttribute(b)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(Ae)))&&(!this.options.copyStyles||!ia(Ae)||!Ta(Ae))&&z.appendChild(this.cloneNode(Ae,te))},ee.prototype.cloneChildNodes=function(z,Ae,te){for(var ce=this,pe=z.shadowRoot?z.shadowRoot.firstChild:z.firstChild;pe;pe=pe.nextSibling)if(ia(pe)&&Al(pe)&&typeof pe.assignedNodes=="function"){var ye=pe.assignedNodes();ye.length&&ye.forEach(function(ke){return ce.appendChildNode(Ae,ke,te)})}else this.appendChildNode(Ae,pe,te)},ee.prototype.cloneNode=function(z,Ae){if(el(z))return document.createTextNode(z.data);if(!z.ownerDocument)return z.cloneNode(!1);var te=z.ownerDocument.defaultView;if(te&&ia(z)&&(vs(z)||oo(z))){var ce=this.createElementClone(z);ce.style.transitionProperty="none";var pe=te.getComputedStyle(z),ye=te.getComputedStyle(z,":before"),ke=te.getComputedStyle(z,":after");this.referenceElement===z&&vs(ce)&&(this.clonedReferenceElement=ce),Qn(ce)&&tr(ce);var Ie=this.counters.parse(new kl(this.context,pe)),ot=this.resolvePseudoContent(z,ce,ye,ie.BEFORE);rl(z)&&(Ae=!0),Bs(z)||this.cloneChildNodes(z,ce,Ae),ot&&ce.insertBefore(ot,ce.firstChild);var gt=this.resolvePseudoContent(z,ce,ke,ie.AFTER);return gt&&ce.appendChild(gt),this.counters.pop(Ie),(pe&&(this.options.copyStyles||oo(z))&&!Ni(z)||Ae)&&Ne(pe,ce),(z.scrollTop!==0||z.scrollLeft!==0)&&this.scrolledElements.push([ce,z.scrollLeft,z.scrollTop]),(Ma(z)||Oa(z))&&(Ma(ce)||Oa(ce))&&(ce.value=z.value),ce}return z.cloneNode(!1)},ee.prototype.resolvePseudoContent=function(z,Ae,te,ce){var pe=this;if(te){var ye=te.content,ke=Ae.ownerDocument;if(!(!ke||!ye||ye==="none"||ye==="-moz-alt-content"||te.display==="none")){this.counters.parse(new kl(this.context,te));var Ie=new ku(this.context,te),ot=ke.createElement("html2canvaspseudoelement");Ne(te,ot),Ie.content.forEach(function(kt){if(kt.type===0)ot.appendChild(ke.createTextNode(kt.value));else if(kt.type===22){var iA=ke.createElement("img");iA.src=kt.value,iA.style.opacity="1",ot.appendChild(iA)}else if(kt.type===18){if(kt.name==="attr"){var ur=kt.values.filter(en);ur.length&&ot.appendChild(ke.createTextNode(z.getAttribute(ur[0].value)||""))}else if(kt.name==="counter"){var NA=kt.values.filter(oi),qA=NA[0],Jr=NA[1];if(qA&&en(qA)){var xr=pe.counters.getCounterValue(qA.value),mr=Jr&&en(Jr)?Mo.parse(pe.context,Jr.value):3;ot.appendChild(ke.createTextNode(x(xr,mr,!1)))}}else if(kt.name==="counters"){var bn=kt.values.filter(oi),qA=bn[0],tn=bn[1],Jr=bn[2];if(qA&&en(qA)){var _r=pe.counters.getCounterValues(qA.value),nr=Jr&&en(Jr)?Mo.parse(pe.context,Jr.value):3,wn=tn&&tn.type===0?tn.value:"",Cn=_r.map(function(Ki){return x(Ki,nr,!1)}).join(wn);ot.appendChild(ke.createTextNode(Cn))}}}else if(kt.type===20)switch(kt.value){case"open-quote":ot.appendChild(ke.createTextNode(Sl(Ie.quotes,pe.quoteDepth++,!0)));break;case"close-quote":ot.appendChild(ke.createTextNode(Sl(Ie.quotes,--pe.quoteDepth,!1)));break;default:ot.appendChild(ke.createTextNode(kt.value))}}),ot.className=OA+" "+XA;var gt=ce===ie.BEFORE?" "+OA:" "+XA;return oo(Ae)?Ae.className.baseValue+=gt:Ae.className+=gt,ot}}},ee.destroy=function(z){return z.parentNode?(z.parentNode.removeChild(z),!0):!1},ee}(),ie;(function(ee){ee[ee.BEFORE=0]="BEFORE",ee[ee.AFTER=1]="AFTER"})(ie||(ie={}));var le=function(ee,z){var Ae=ee.createElement("iframe");return Ae.className="html2canvas-container",Ae.style.visibility="hidden",Ae.style.position="fixed",Ae.style.left="-10000px",Ae.style.top="0px",Ae.style.border="0",Ae.width=z.width.toString(),Ae.height=z.height.toString(),Ae.scrolling="no",Ae.setAttribute(b,"true"),ee.body.appendChild(Ae),Ae},fe=function(ee){return new Promise(function(z){if(ee.complete){z();return}if(!ee.src){z();return}ee.onload=z,ee.onerror=z})},ge=function(ee){return Promise.all([].slice.call(ee.images,0).map(fe))},me=function(ee){return new Promise(function(z,Ae){var te=ee.contentWindow;if(!te)return Ae("No window assigned for iframe");var ce=te.document;te.onload=ee.onload=function(){te.onload=ee.onload=null;var pe=setInterval(function(){ce.body.childNodes.length>0&&ce.readyState==="complete"&&(clearInterval(pe),z(ee))},50)}})},De=["all","d","content"],Ne=function(ee,z){for(var Ae=ee.length-1;Ae>=0;Ae--){var te=ee.item(Ae);De.indexOf(te)===-1&&z.style.setProperty(te,ee.getPropertyValue(te))}return z},dt=function(ee){var z="";return ee&&(z+="<!DOCTYPE ",ee.name&&(z+=ee.name),ee.internalSubset&&(z+=ee.internalSubset),ee.publicId&&(z+='"'+ee.publicId+'"'),ee.systemId&&(z+='"'+ee.systemId+'"'),z+=">"),z},ut=function(ee,z,Ae){ee&&ee.defaultView&&(z!==ee.defaultView.pageXOffset||Ae!==ee.defaultView.pageYOffset)&&ee.defaultView.scrollTo(z,Ae)},Zt=function(ee){var z=ee[0],Ae=ee[1],te=ee[2];z.scrollLeft=Ae,z.scrollTop=te},gA=":before",QA=":after",OA="___html2canvas___pseudoelement_before",XA="___html2canvas___pseudoelement_after",PA=`{
|
|
content: "" !important;
|
|
display: none !important;
|
|
}`,tr=function(ee){kr(ee,"."+OA+gA+PA+`
|
|
.`+XA+QA+PA)},kr=function(ee,z){var Ae=ee.ownerDocument;if(Ae){var te=Ae.createElement("style");te.textContent=z,ee.appendChild(te)}},wr=function(){function ee(){}return ee.getOrigin=function(z){var Ae=ee._link;return Ae?(Ae.href=z,Ae.href=Ae.href,Ae.protocol+Ae.hostname+Ae.port):"about:blank"},ee.isSameOrigin=function(z){return ee.getOrigin(z)===ee._origin},ee.setContext=function(z){ee._link=z.document.createElement("a"),ee._origin=ee.getOrigin(z.location.href)},ee._origin="about:blank",ee}(),Zr=function(){function ee(z,Ae){this.context=z,this._options=Ae,this._cache={}}return ee.prototype.addImage=function(z){var Ae=Promise.resolve();return this.has(z)||(ci(z)||Qi(z))&&(this._cache[z]=this.loadImage(z)).catch(function(){}),Ae},ee.prototype.match=function(z){return this._cache[z]},ee.prototype.loadImage=function(z){return ct(this,void 0,void 0,function(){var Ae,te,ce,pe,ye=this;return Le(this,function(ke){switch(ke.label){case 0:return Ae=wr.isSameOrigin(z),te=!ui(z)&&this._options.useCORS===!0&&qn.SUPPORT_CORS_IMAGES&&!Ae,ce=!ui(z)&&!Ae&&!ci(z)&&typeof this._options.proxy=="string"&&qn.SUPPORT_CORS_XHR&&!te,!Ae&&this._options.allowTaint===!1&&!ui(z)&&!ci(z)&&!ce&&!te?[2]:(pe=z,ce?[4,this.proxy(pe)]:[3,2]);case 1:pe=ke.sent(),ke.label=2;case 2:return this.context.logger.debug("Added image "+z.substring(0,256)),[4,new Promise(function(Ie,ot){var gt=new Image;gt.onload=function(){return Ie(gt)},gt.onerror=ot,(Vn(pe)||te)&&(gt.crossOrigin="anonymous"),gt.src=pe,gt.complete===!0&&setTimeout(function(){return Ie(gt)},500),ye._options.imageTimeout>0&&setTimeout(function(){return ot("Timed out ("+ye._options.imageTimeout+"ms) loading image")},ye._options.imageTimeout)})];case 3:return[2,ke.sent()]}})})},ee.prototype.has=function(z){return typeof this._cache[z]!="undefined"},ee.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ee.prototype.proxy=function(z){var Ae=this,te=this._options.proxy;if(!te)throw new Error("No proxy defined");var ce=z.substring(0,256);return new Promise(function(pe,ye){var ke=qn.SUPPORT_RESPONSE_TYPE?"blob":"text",Ie=new XMLHttpRequest;Ie.onload=function(){if(Ie.status===200)if(ke==="text")pe(Ie.response);else{var kt=new FileReader;kt.addEventListener("load",function(){return pe(kt.result)},!1),kt.addEventListener("error",function(iA){return ye(iA)},!1),kt.readAsDataURL(Ie.response)}else ye("Failed to proxy resource "+ce+" with status code "+Ie.status)},Ie.onerror=ye;var ot=te.indexOf("?")>-1?"&":"?";if(Ie.open("GET",""+te+ot+"url="+encodeURIComponent(z)+"&responseType="+ke),ke!=="text"&&Ie instanceof XMLHttpRequest&&(Ie.responseType=ke),Ae._options.imageTimeout){var gt=Ae._options.imageTimeout;Ie.timeout=gt,Ie.ontimeout=function(){return ye("Timed out ("+gt+"ms) proxying "+ce)}}Ie.send()})},ee}(),Fn=/^data:image\/svg\+xml/i,ti=/^data:image\/.*;base64,/i,Mn=/^data:image\/.*/i,Qi=function(ee){return qn.SUPPORT_SVG_DRAWING||!ri(ee)},ui=function(ee){return Mn.test(ee)},Vn=function(ee){return ti.test(ee)},ci=function(ee){return ee.substr(0,4)==="blob"},ri=function(ee){return ee.substr(-3).toLowerCase()==="svg"||Fn.test(ee)},LA=function(){function ee(z,Ae){this.type=0,this.x=z,this.y=Ae}return ee.prototype.add=function(z,Ae){return new ee(this.x+z,this.y+Ae)},ee}(),kn=function(ee,z,Ae){return new LA(ee.x+(z.x-ee.x)*Ae,ee.y+(z.y-ee.y)*Ae)},Dn=function(){function ee(z,Ae,te,ce){this.type=1,this.start=z,this.startControl=Ae,this.endControl=te,this.end=ce}return ee.prototype.subdivide=function(z,Ae){var te=kn(this.start,this.startControl,z),ce=kn(this.startControl,this.endControl,z),pe=kn(this.endControl,this.end,z),ye=kn(te,ce,z),ke=kn(ce,pe,z),Ie=kn(ye,ke,z);return Ae?new ee(this.start,te,ye,Ie):new ee(Ie,ke,pe,this.end)},ee.prototype.add=function(z,Ae){return new ee(this.start.add(z,Ae),this.startControl.add(z,Ae),this.endControl.add(z,Ae),this.end.add(z,Ae))},ee.prototype.reverse=function(){return new ee(this.end,this.endControl,this.startControl,this.start)},ee}(),Ln=function(ee){return ee.type===1},oa=function(){function ee(z){var Ae=z.styles,te=z.bounds,ce=xi(Ae.borderTopLeftRadius,te.width,te.height),pe=ce[0],ye=ce[1],ke=xi(Ae.borderTopRightRadius,te.width,te.height),Ie=ke[0],ot=ke[1],gt=xi(Ae.borderBottomRightRadius,te.width,te.height),kt=gt[0],iA=gt[1],ur=xi(Ae.borderBottomLeftRadius,te.width,te.height),NA=ur[0],qA=ur[1],Jr=[];Jr.push((pe+Ie)/te.width),Jr.push((NA+kt)/te.width),Jr.push((ye+qA)/te.height),Jr.push((ot+iA)/te.height);var xr=Math.max.apply(Math,Jr);xr>1&&(pe/=xr,ye/=xr,Ie/=xr,ot/=xr,kt/=xr,iA/=xr,NA/=xr,qA/=xr);var mr=te.width-Ie,bn=te.height-iA,tn=te.width-kt,_r=te.height-qA,nr=Ae.borderTopWidth,wn=Ae.borderRightWidth,Cn=Ae.borderBottomWidth,Wr=Ae.borderLeftWidth,ni=pn(Ae.paddingTop,z.bounds.width),Ki=pn(Ae.paddingRight,z.bounds.width),ji=pn(Ae.paddingBottom,z.bounds.width),Hn=pn(Ae.paddingLeft,z.bounds.width);this.topLeftBorderDoubleOuterBox=pe>0||ye>0?Xr(te.left+Wr/3,te.top+nr/3,pe-Wr/3,ye-nr/3,nn.TOP_LEFT):new LA(te.left+Wr/3,te.top+nr/3),this.topRightBorderDoubleOuterBox=pe>0||ye>0?Xr(te.left+mr,te.top+nr/3,Ie-wn/3,ot-nr/3,nn.TOP_RIGHT):new LA(te.left+te.width-wn/3,te.top+nr/3),this.bottomRightBorderDoubleOuterBox=kt>0||iA>0?Xr(te.left+tn,te.top+bn,kt-wn/3,iA-Cn/3,nn.BOTTOM_RIGHT):new LA(te.left+te.width-wn/3,te.top+te.height-Cn/3),this.bottomLeftBorderDoubleOuterBox=NA>0||qA>0?Xr(te.left+Wr/3,te.top+_r,NA-Wr/3,qA-Cn/3,nn.BOTTOM_LEFT):new LA(te.left+Wr/3,te.top+te.height-Cn/3),this.topLeftBorderDoubleInnerBox=pe>0||ye>0?Xr(te.left+Wr*2/3,te.top+nr*2/3,pe-Wr*2/3,ye-nr*2/3,nn.TOP_LEFT):new LA(te.left+Wr*2/3,te.top+nr*2/3),this.topRightBorderDoubleInnerBox=pe>0||ye>0?Xr(te.left+mr,te.top+nr*2/3,Ie-wn*2/3,ot-nr*2/3,nn.TOP_RIGHT):new LA(te.left+te.width-wn*2/3,te.top+nr*2/3),this.bottomRightBorderDoubleInnerBox=kt>0||iA>0?Xr(te.left+tn,te.top+bn,kt-wn*2/3,iA-Cn*2/3,nn.BOTTOM_RIGHT):new LA(te.left+te.width-wn*2/3,te.top+te.height-Cn*2/3),this.bottomLeftBorderDoubleInnerBox=NA>0||qA>0?Xr(te.left+Wr*2/3,te.top+_r,NA-Wr*2/3,qA-Cn*2/3,nn.BOTTOM_LEFT):new LA(te.left+Wr*2/3,te.top+te.height-Cn*2/3),this.topLeftBorderStroke=pe>0||ye>0?Xr(te.left+Wr/2,te.top+nr/2,pe-Wr/2,ye-nr/2,nn.TOP_LEFT):new LA(te.left+Wr/2,te.top+nr/2),this.topRightBorderStroke=pe>0||ye>0?Xr(te.left+mr,te.top+nr/2,Ie-wn/2,ot-nr/2,nn.TOP_RIGHT):new LA(te.left+te.width-wn/2,te.top+nr/2),this.bottomRightBorderStroke=kt>0||iA>0?Xr(te.left+tn,te.top+bn,kt-wn/2,iA-Cn/2,nn.BOTTOM_RIGHT):new LA(te.left+te.width-wn/2,te.top+te.height-Cn/2),this.bottomLeftBorderStroke=NA>0||qA>0?Xr(te.left+Wr/2,te.top+_r,NA-Wr/2,qA-Cn/2,nn.BOTTOM_LEFT):new LA(te.left+Wr/2,te.top+te.height-Cn/2),this.topLeftBorderBox=pe>0||ye>0?Xr(te.left,te.top,pe,ye,nn.TOP_LEFT):new LA(te.left,te.top),this.topRightBorderBox=Ie>0||ot>0?Xr(te.left+mr,te.top,Ie,ot,nn.TOP_RIGHT):new LA(te.left+te.width,te.top),this.bottomRightBorderBox=kt>0||iA>0?Xr(te.left+tn,te.top+bn,kt,iA,nn.BOTTOM_RIGHT):new LA(te.left+te.width,te.top+te.height),this.bottomLeftBorderBox=NA>0||qA>0?Xr(te.left,te.top+_r,NA,qA,nn.BOTTOM_LEFT):new LA(te.left,te.top+te.height),this.topLeftPaddingBox=pe>0||ye>0?Xr(te.left+Wr,te.top+nr,Math.max(0,pe-Wr),Math.max(0,ye-nr),nn.TOP_LEFT):new LA(te.left+Wr,te.top+nr),this.topRightPaddingBox=Ie>0||ot>0?Xr(te.left+Math.min(mr,te.width-wn),te.top+nr,mr>te.width+wn?0:Math.max(0,Ie-wn),Math.max(0,ot-nr),nn.TOP_RIGHT):new LA(te.left+te.width-wn,te.top+nr),this.bottomRightPaddingBox=kt>0||iA>0?Xr(te.left+Math.min(tn,te.width-Wr),te.top+Math.min(bn,te.height-Cn),Math.max(0,kt-wn),Math.max(0,iA-Cn),nn.BOTTOM_RIGHT):new LA(te.left+te.width-wn,te.top+te.height-Cn),this.bottomLeftPaddingBox=NA>0||qA>0?Xr(te.left+Wr,te.top+Math.min(_r,te.height-Cn),Math.max(0,NA-Wr),Math.max(0,qA-Cn),nn.BOTTOM_LEFT):new LA(te.left+Wr,te.top+te.height-Cn),this.topLeftContentBox=pe>0||ye>0?Xr(te.left+Wr+Hn,te.top+nr+ni,Math.max(0,pe-(Wr+Hn)),Math.max(0,ye-(nr+ni)),nn.TOP_LEFT):new LA(te.left+Wr+Hn,te.top+nr+ni),this.topRightContentBox=Ie>0||ot>0?Xr(te.left+Math.min(mr,te.width+Wr+Hn),te.top+nr+ni,mr>te.width+Wr+Hn?0:Ie-Wr+Hn,ot-(nr+ni),nn.TOP_RIGHT):new LA(te.left+te.width-(wn+Ki),te.top+nr+ni),this.bottomRightContentBox=kt>0||iA>0?Xr(te.left+Math.min(tn,te.width-(Wr+Hn)),te.top+Math.min(bn,te.height+nr+ni),Math.max(0,kt-(wn+Ki)),iA-(Cn+ji),nn.BOTTOM_RIGHT):new LA(te.left+te.width-(wn+Ki),te.top+te.height-(Cn+ji)),this.bottomLeftContentBox=NA>0||qA>0?Xr(te.left+Wr+Hn,te.top+_r,Math.max(0,NA-(Wr+Hn)),qA-(Cn+ji),nn.BOTTOM_LEFT):new LA(te.left+Wr+Hn,te.top+te.height-(Cn+ji))}return ee}(),nn;(function(ee){ee[ee.TOP_LEFT=0]="TOP_LEFT",ee[ee.TOP_RIGHT=1]="TOP_RIGHT",ee[ee.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ee[ee.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(nn||(nn={}));var Xr=function(ee,z,Ae,te,ce){var pe=4*((Math.sqrt(2)-1)/3),ye=Ae*pe,ke=te*pe,Ie=ee+Ae,ot=z+te;switch(ce){case nn.TOP_LEFT:return new Dn(new LA(ee,ot),new LA(ee,ot-ke),new LA(Ie-ye,z),new LA(Ie,z));case nn.TOP_RIGHT:return new Dn(new LA(ee,z),new LA(ee+ye,z),new LA(Ie,ot-ke),new LA(Ie,ot));case nn.BOTTOM_RIGHT:return new Dn(new LA(Ie,z),new LA(Ie,z+ke),new LA(ee+ye,ot),new LA(ee,ot));case nn.BOTTOM_LEFT:default:return new Dn(new LA(Ie,ot),new LA(Ie-ye,ot),new LA(ee,z+ke),new LA(ee,z))}},Hi=function(ee){return[ee.topLeftBorderBox,ee.topRightBorderBox,ee.bottomRightBorderBox,ee.bottomLeftBorderBox]},Ai=function(ee){return[ee.topLeftContentBox,ee.topRightContentBox,ee.bottomRightContentBox,ee.bottomLeftContentBox]},aa=function(ee){return[ee.topLeftPaddingBox,ee.topRightPaddingBox,ee.bottomRightPaddingBox,ee.bottomLeftPaddingBox]},lo=function(){function ee(z,Ae,te){this.offsetX=z,this.offsetY=Ae,this.matrix=te,this.type=0,this.target=6}return ee}(),Ji=function(){function ee(z,Ae){this.path=z,this.target=Ae,this.type=1}return ee}(),_o=function(){function ee(z){this.opacity=z,this.type=2,this.target=6}return ee}(),Bi=function(ee){return ee.type===0},Go=function(ee){return ee.type===1},nl=function(ee){return ee.type===2},Yu=function(ee,z){return ee.length===z.length?ee.some(function(Ae,te){return Ae===z[te]}):!1},ic=function(ee,z,Ae,te,ce){return ee.map(function(pe,ye){switch(ye){case 0:return pe.add(z,Ae);case 1:return pe.add(z+te,Ae);case 2:return pe.add(z+te,Ae+ce);case 3:return pe.add(z,Ae+ce)}return pe})},Ju=function(){function ee(z){this.element=z,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ee}(),qu=function(){function ee(z,Ae){if(this.container=z,this.parent=Ae,this.effects=[],this.curves=new oa(this.container),this.container.styles.opacity<1&&this.effects.push(new _o(this.container.styles.opacity)),this.container.styles.transform!==null){var te=this.container.bounds.left+this.container.styles.transformOrigin[0].number,ce=this.container.bounds.top+this.container.styles.transformOrigin[1].number,pe=this.container.styles.transform;this.effects.push(new lo(te,ce,pe))}if(this.container.styles.overflowX!==0){var ye=Hi(this.curves),ke=aa(this.curves);Yu(ye,ke)?this.effects.push(new Ji(ye,6)):(this.effects.push(new Ji(ye,2)),this.effects.push(new Ji(ke,4)))}}return ee.prototype.getEffects=function(z){for(var Ae=[2,3].indexOf(this.container.styles.position)===-1,te=this.parent,ce=this.effects.slice(0);te;){var pe=te.effects.filter(function(Ie){return!Go(Ie)});if(Ae||te.container.styles.position!==0||!te.parent){if(ce.unshift.apply(ce,pe),Ae=[2,3].indexOf(te.container.styles.position)===-1,te.container.styles.overflowX!==0){var ye=Hi(te.curves),ke=aa(te.curves);Yu(ye,ke)||ce.unshift(new Ji(ke,6))}}else ce.unshift.apply(ce,pe);te=te.parent}return ce.filter(function(Ie){return Jn(Ie.target,z)})},ee}(),ju=function(ee,z,Ae,te){ee.container.elements.forEach(function(ce){var pe=Jn(ce.flags,4),ye=Jn(ce.flags,2),ke=new qu(ce,ee);Jn(ce.styles.display,2048)&&te.push(ke);var Ie=Jn(ce.flags,8)?[]:te;if(pe||ye){var ot=pe||ce.styles.isPositioned()?Ae:z,gt=new Ju(ke);if(ce.styles.isPositioned()||ce.styles.opacity<1||ce.styles.isTransformed()){var kt=ce.styles.zIndex.order;if(kt<0){var iA=0;ot.negativeZIndex.some(function(NA,qA){return kt>NA.element.container.styles.zIndex.order?(iA=qA,!1):iA>0}),ot.negativeZIndex.splice(iA,0,gt)}else if(kt>0){var ur=0;ot.positiveZIndex.some(function(NA,qA){return kt>=NA.element.container.styles.zIndex.order?(ur=qA+1,!1):ur>0}),ot.positiveZIndex.splice(ur,0,gt)}else ot.zeroOrAutoZIndexOrTransformedOrOpacity.push(gt)}else ce.styles.isFloating()?ot.nonPositionedFloats.push(gt):ot.nonPositionedInlineLevel.push(gt);ju(ke,gt,pe?gt:Ae,Ie)}else ce.styles.isInlineLevel()?z.inlineLevel.push(ke):z.nonInlineLevel.push(ke),ju(ke,z,Ae,Ie);Jn(ce.flags,8)&&$u(ce,Ie)})},$u=function(ee,z){for(var Ae=ee instanceof gs?ee.start:1,te=ee instanceof gs?ee.reversed:!1,ce=0;ce<z.length;ce++){var pe=z[ce];pe.container instanceof ds&&typeof pe.container.value=="number"&&pe.container.value!==0&&(Ae=pe.container.value),pe.listValue=x(Ae,pe.container.styles.listStyleType,!0),Ae+=te?-1:1}},oc=function(ee){var z=new qu(ee,null),Ae=new Ju(z),te=[];return ju(z,Ae,Ae,te),$u(z.container,te),Ae},ec=function(ee,z){switch(z){case 0:return qi(ee.topLeftBorderBox,ee.topLeftPaddingBox,ee.topRightBorderBox,ee.topRightPaddingBox);case 1:return qi(ee.topRightBorderBox,ee.topRightPaddingBox,ee.bottomRightBorderBox,ee.bottomRightPaddingBox);case 2:return qi(ee.bottomRightBorderBox,ee.bottomRightPaddingBox,ee.bottomLeftBorderBox,ee.bottomLeftPaddingBox);case 3:default:return qi(ee.bottomLeftBorderBox,ee.bottomLeftPaddingBox,ee.topLeftBorderBox,ee.topLeftPaddingBox)}},ac=function(ee,z){switch(z){case 0:return qi(ee.topLeftBorderBox,ee.topLeftBorderDoubleOuterBox,ee.topRightBorderBox,ee.topRightBorderDoubleOuterBox);case 1:return qi(ee.topRightBorderBox,ee.topRightBorderDoubleOuterBox,ee.bottomRightBorderBox,ee.bottomRightBorderDoubleOuterBox);case 2:return qi(ee.bottomRightBorderBox,ee.bottomRightBorderDoubleOuterBox,ee.bottomLeftBorderBox,ee.bottomLeftBorderDoubleOuterBox);case 3:default:return qi(ee.bottomLeftBorderBox,ee.bottomLeftBorderDoubleOuterBox,ee.topLeftBorderBox,ee.topLeftBorderDoubleOuterBox)}},sc=function(ee,z){switch(z){case 0:return qi(ee.topLeftBorderDoubleInnerBox,ee.topLeftPaddingBox,ee.topRightBorderDoubleInnerBox,ee.topRightPaddingBox);case 1:return qi(ee.topRightBorderDoubleInnerBox,ee.topRightPaddingBox,ee.bottomRightBorderDoubleInnerBox,ee.bottomRightPaddingBox);case 2:return qi(ee.bottomRightBorderDoubleInnerBox,ee.bottomRightPaddingBox,ee.bottomLeftBorderDoubleInnerBox,ee.bottomLeftPaddingBox);case 3:default:return qi(ee.bottomLeftBorderDoubleInnerBox,ee.bottomLeftPaddingBox,ee.topLeftBorderDoubleInnerBox,ee.topLeftPaddingBox)}},lc=function(ee,z){switch(z){case 0:return lu(ee.topLeftBorderStroke,ee.topRightBorderStroke);case 1:return lu(ee.topRightBorderStroke,ee.bottomRightBorderStroke);case 2:return lu(ee.bottomRightBorderStroke,ee.bottomLeftBorderStroke);case 3:default:return lu(ee.bottomLeftBorderStroke,ee.topLeftBorderStroke)}},lu=function(ee,z){var Ae=[];return Ln(ee)?Ae.push(ee.subdivide(.5,!1)):Ae.push(ee),Ln(z)?Ae.push(z.subdivide(.5,!0)):Ae.push(z),Ae},qi=function(ee,z,Ae,te){var ce=[];return Ln(ee)?ce.push(ee.subdivide(.5,!1)):ce.push(ee),Ln(Ae)?ce.push(Ae.subdivide(.5,!0)):ce.push(Ae),Ln(te)?ce.push(te.subdivide(.5,!0).reverse()):ce.push(te),Ln(z)?ce.push(z.subdivide(.5,!1).reverse()):ce.push(z),ce},tc=function(ee){var z=ee.bounds,Ae=ee.styles;return z.add(Ae.borderLeftWidth,Ae.borderTopWidth,-(Ae.borderRightWidth+Ae.borderLeftWidth),-(Ae.borderTopWidth+Ae.borderBottomWidth))},uu=function(ee){var z=ee.styles,Ae=ee.bounds,te=pn(z.paddingLeft,Ae.width),ce=pn(z.paddingRight,Ae.width),pe=pn(z.paddingTop,Ae.width),ye=pn(z.paddingBottom,Ae.width);return Ae.add(te+z.borderLeftWidth,pe+z.borderTopWidth,-(z.borderRightWidth+z.borderLeftWidth+te+ce),-(z.borderTopWidth+z.borderBottomWidth+pe+ye))},uc=function(ee,z){return ee===0?z.bounds:ee===2?uu(z):tc(z)},cc=function(ee,z){return ee===0?z.bounds:ee===2?uu(z):tc(z)},Xu=function(ee,z,Ae){var te=uc(ys(ee.styles.backgroundOrigin,z),ee),ce=cc(ys(ee.styles.backgroundClip,z),ee),pe=fc(ys(ee.styles.backgroundSize,z),Ae,te),ye=pe[0],ke=pe[1],Ie=xi(ys(ee.styles.backgroundPosition,z),te.width-ye,te.height-ke),ot=hc(ys(ee.styles.backgroundRepeat,z),Ie,pe,te,ce),gt=Math.round(te.left+Ie[0]),kt=Math.round(te.top+Ie[1]);return[ot,gt,kt,ye,ke]},Cs=function(ee){return en(ee)&&ee.value===ko.AUTO},cu=function(ee){return typeof ee=="number"},fc=function(ee,z,Ae){var te=z[0],ce=z[1],pe=z[2],ye=ee[0],ke=ee[1];if(!ye)return[0,0];if(En(ye)&&ke&&En(ke))return[pn(ye,Ae.width),pn(ke,Ae.height)];var Ie=cu(pe);if(en(ye)&&(ye.value===ko.CONTAIN||ye.value===ko.COVER)){if(cu(pe)){var ot=Ae.width/Ae.height;return ot<pe!=(ye.value===ko.COVER)?[Ae.width,Ae.width/pe]:[Ae.height*pe,Ae.height]}return[Ae.width,Ae.height]}var gt=cu(te),kt=cu(ce),iA=gt||kt;if(Cs(ye)&&(!ke||Cs(ke))){if(gt&&kt)return[te,ce];if(!Ie&&!iA)return[Ae.width,Ae.height];if(iA&&Ie){var ur=gt?te:ce*pe,NA=kt?ce:te/pe;return[ur,NA]}var qA=gt?te:Ae.width,Jr=kt?ce:Ae.height;return[qA,Jr]}if(Ie){var xr=0,mr=0;return En(ye)?xr=pn(ye,Ae.width):En(ke)&&(mr=pn(ke,Ae.height)),Cs(ye)?xr=mr*pe:(!ke||Cs(ke))&&(mr=xr/pe),[xr,mr]}var bn=null,tn=null;if(En(ye)?bn=pn(ye,Ae.width):ke&&En(ke)&&(tn=pn(ke,Ae.height)),bn!==null&&(!ke||Cs(ke))&&(tn=gt&&kt?bn/te*ce:Ae.height),tn!==null&&Cs(ye)&&(bn=gt&&kt?tn/ce*te:Ae.width),bn!==null&&tn!==null)return[bn,tn];throw new Error("Unable to calculate background-size for element")},ys=function(ee,z){var Ae=ee[z];return typeof Ae=="undefined"?ee[0]:Ae},hc=function(ee,z,Ae,te,ce){var pe=z[0],ye=z[1],ke=Ae[0],Ie=Ae[1];switch(ee){case 2:return[new LA(Math.round(te.left),Math.round(te.top+ye)),new LA(Math.round(te.left+te.width),Math.round(te.top+ye)),new LA(Math.round(te.left+te.width),Math.round(Ie+te.top+ye)),new LA(Math.round(te.left),Math.round(Ie+te.top+ye))];case 3:return[new LA(Math.round(te.left+pe),Math.round(te.top)),new LA(Math.round(te.left+pe+ke),Math.round(te.top)),new LA(Math.round(te.left+pe+ke),Math.round(te.height+te.top)),new LA(Math.round(te.left+pe),Math.round(te.height+te.top))];case 1:return[new LA(Math.round(te.left+pe),Math.round(te.top+ye)),new LA(Math.round(te.left+pe+ke),Math.round(te.top+ye)),new LA(Math.round(te.left+pe+ke),Math.round(te.top+ye+Ie)),new LA(Math.round(te.left+pe),Math.round(te.top+ye+Ie))];default:return[new LA(Math.round(ce.left),Math.round(ce.top)),new LA(Math.round(ce.left+ce.width),Math.round(ce.top)),new LA(Math.round(ce.left+ce.width),Math.round(ce.height+ce.top)),new LA(Math.round(ce.left),Math.round(ce.height+ce.top))]}},dc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Ac="Hidden Text",gc=function(){function ee(z){this._data={},this._document=z}return ee.prototype.parseMetrics=function(z,Ae){var te=this._document.createElement("div"),ce=this._document.createElement("img"),pe=this._document.createElement("span"),ye=this._document.body;te.style.visibility="hidden",te.style.fontFamily=z,te.style.fontSize=Ae,te.style.margin="0",te.style.padding="0",te.style.whiteSpace="nowrap",ye.appendChild(te),ce.src=dc,ce.width=1,ce.height=1,ce.style.margin="0",ce.style.padding="0",ce.style.verticalAlign="baseline",pe.style.fontFamily=z,pe.style.fontSize=Ae,pe.style.margin="0",pe.style.padding="0",pe.appendChild(this._document.createTextNode(Ac)),te.appendChild(pe),te.appendChild(ce);var ke=ce.offsetTop-pe.offsetTop+2;te.removeChild(pe),te.appendChild(this._document.createTextNode(Ac)),te.style.lineHeight="normal",ce.style.verticalAlign="super";var Ie=ce.offsetTop-te.offsetTop+2;return ye.removeChild(te),{baseline:ke,middle:Ie}},ee.prototype.getMetrics=function(z,Ae){var te=z+" "+Ae;return typeof this._data[te]=="undefined"&&(this._data[te]=this.parseMetrics(z,Ae)),this._data[te]},ee}(),rc=function(){function ee(z,Ae){this.context=z,this.options=Ae}return ee}(),pc=1e4,vc=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce._activeEffects=[],ce.canvas=te.canvas?te.canvas:document.createElement("canvas"),ce.ctx=ce.canvas.getContext("2d"),te.canvas||(ce.canvas.width=Math.floor(te.width*te.scale),ce.canvas.height=Math.floor(te.height*te.scale),ce.canvas.style.width=te.width+"px",ce.canvas.style.height=te.height+"px"),ce.fontMetrics=new gc(document),ce.ctx.scale(ce.options.scale,ce.options.scale),ce.ctx.translate(-te.x,-te.y),ce.ctx.textBaseline="bottom",ce._activeEffects=[],ce.context.logger.debug("Canvas renderer initialized ("+te.width+"x"+te.height+") with scale "+te.scale),ce}return z.prototype.applyEffects=function(Ae){for(var te=this;this._activeEffects.length;)this.popEffect();Ae.forEach(function(ce){return te.applyEffect(ce)})},z.prototype.applyEffect=function(Ae){this.ctx.save(),nl(Ae)&&(this.ctx.globalAlpha=Ae.opacity),Bi(Ae)&&(this.ctx.translate(Ae.offsetX,Ae.offsetY),this.ctx.transform(Ae.matrix[0],Ae.matrix[1],Ae.matrix[2],Ae.matrix[3],Ae.matrix[4],Ae.matrix[5]),this.ctx.translate(-Ae.offsetX,-Ae.offsetY)),Go(Ae)&&(this.path(Ae.path),this.ctx.clip()),this._activeEffects.push(Ae)},z.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},z.prototype.renderStack=function(Ae){return ct(this,void 0,void 0,function(){var te;return Le(this,function(ce){switch(ce.label){case 0:return te=Ae.element.container.styles,te.isVisible()?[4,this.renderStackContent(Ae)]:[3,2];case 1:ce.sent(),ce.label=2;case 2:return[2]}})})},z.prototype.renderNode=function(Ae){return ct(this,void 0,void 0,function(){return Le(this,function(te){switch(te.label){case 0:if(Jn(Ae.container.flags,16))debugger;return Ae.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(Ae)]:[3,3];case 1:return te.sent(),[4,this.renderNodeContent(Ae)];case 2:te.sent(),te.label=3;case 3:return[2]}})})},z.prototype.renderTextWithLetterSpacing=function(Ae,te,ce){var pe=this;if(te===0)this.ctx.fillText(Ae.text,Ae.bounds.left,Ae.bounds.top+ce);else{var ye=Ys(Ae.text);ye.reduce(function(ke,Ie){return pe.ctx.fillText(Ie,ke,Ae.bounds.top+ce),ke+pe.ctx.measureText(Ie).width},Ae.bounds.left)}},z.prototype.createFontStyle=function(Ae){var te=Ae.fontVariant.filter(function(ye){return ye==="normal"||ye==="small-caps"}).join(""),ce=yc(Ae.fontFamily).join(", "),pe=$r(Ae.fontSize)?""+Ae.fontSize.number+Ae.fontSize.unit:Ae.fontSize.number+"px";return[[Ae.fontStyle,te,Ae.fontWeight,pe,ce].join(" "),ce,pe]},z.prototype.renderTextNode=function(Ae,te){return ct(this,void 0,void 0,function(){var ce,pe,ye,ke,Ie,ot,gt,kt,iA=this;return Le(this,function(ur){return ce=this.createFontStyle(te),pe=ce[0],ye=ce[1],ke=ce[2],this.ctx.font=pe,this.ctx.direction=te.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",Ie=this.fontMetrics.getMetrics(ye,ke),ot=Ie.baseline,gt=Ie.middle,kt=te.paintOrder,Ae.textBounds.forEach(function(NA){kt.forEach(function(qA){switch(qA){case 0:iA.ctx.fillStyle=zn(te.color),iA.renderTextWithLetterSpacing(NA,te.letterSpacing,ot);var Jr=te.textShadow;Jr.length&&NA.text.trim().length&&(Jr.slice(0).reverse().forEach(function(xr){iA.ctx.shadowColor=zn(xr.color),iA.ctx.shadowOffsetX=xr.offsetX.number*iA.options.scale,iA.ctx.shadowOffsetY=xr.offsetY.number*iA.options.scale,iA.ctx.shadowBlur=xr.blur.number,iA.renderTextWithLetterSpacing(NA,te.letterSpacing,ot)}),iA.ctx.shadowColor="",iA.ctx.shadowOffsetX=0,iA.ctx.shadowOffsetY=0,iA.ctx.shadowBlur=0),te.textDecorationLine.length&&(iA.ctx.fillStyle=zn(te.textDecorationColor||te.color),te.textDecorationLine.forEach(function(xr){switch(xr){case 1:iA.ctx.fillRect(NA.bounds.left,Math.round(NA.bounds.top+ot),NA.bounds.width,1);break;case 2:iA.ctx.fillRect(NA.bounds.left,Math.round(NA.bounds.top),NA.bounds.width,1);break;case 3:iA.ctx.fillRect(NA.bounds.left,Math.ceil(NA.bounds.top+gt),NA.bounds.width,1);break}}));break;case 1:te.webkitTextStrokeWidth&&NA.text.trim().length&&(iA.ctx.strokeStyle=zn(te.webkitTextStrokeColor),iA.ctx.lineWidth=te.webkitTextStrokeWidth,iA.ctx.lineJoin=window.chrome?"miter":"round",iA.ctx.strokeText(NA.text,NA.bounds.left,NA.bounds.top+ot)),iA.ctx.strokeStyle="",iA.ctx.lineWidth=0,iA.ctx.lineJoin="miter";break}})}),[2]})})},z.prototype.renderReplacedElement=function(Ae,te,ce){if(ce&&Ae.intrinsicWidth>0&&Ae.intrinsicHeight>0){var pe=uu(Ae),ye=aa(te);this.path(ye),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(ce,0,0,Ae.intrinsicWidth,Ae.intrinsicHeight,pe.left,pe.top,pe.width,pe.height),this.ctx.restore()}},z.prototype.renderNodeContent=function(Ae){return ct(this,void 0,void 0,function(){var te,ce,pe,ye,ke,Ie,mr,mr,ot,gt,kt,iA,tn,ur,NA,_r,qA,Jr,xr,mr,bn,tn,_r;return Le(this,function(nr){switch(nr.label){case 0:this.applyEffects(Ae.getEffects(4)),te=Ae.container,ce=Ae.curves,pe=te.styles,ye=0,ke=te.textNodes,nr.label=1;case 1:return ye<ke.length?(Ie=ke[ye],[4,this.renderTextNode(Ie,pe)]):[3,4];case 2:nr.sent(),nr.label=3;case 3:return ye++,[3,1];case 4:if(!(te instanceof Js))return[3,8];nr.label=5;case 5:return nr.trys.push([5,7,,8]),[4,this.context.cache.match(te.src)];case 6:return mr=nr.sent(),this.renderReplacedElement(te,ce,mr),[3,8];case 7:return nr.sent(),this.context.logger.error("Error loading image "+te.src),[3,8];case 8:if(te instanceof qs&&this.renderReplacedElement(te,ce,te.canvas),!(te instanceof zl))return[3,12];nr.label=9;case 9:return nr.trys.push([9,11,,12]),[4,this.context.cache.match(te.svg)];case 10:return mr=nr.sent(),this.renderReplacedElement(te,ce,mr),[3,12];case 11:return nr.sent(),this.context.logger.error("Error loading svg "+te.svg.substring(0,255)),[3,12];case 12:return te instanceof Jl&&te.tree?(ot=new z(this.context,{scale:this.options.scale,backgroundColor:te.backgroundColor,x:0,y:0,width:te.width,height:te.height}),[4,ot.render(te.tree)]):[3,14];case 13:gt=nr.sent(),te.width&&te.height&&this.ctx.drawImage(gt,0,0,te.width,te.height,te.bounds.left,te.bounds.top,te.bounds.width,te.bounds.height),nr.label=14;case 14:if(te instanceof ps&&(kt=Math.min(te.bounds.width,te.bounds.height),te.type===na?te.checked&&(this.ctx.save(),this.path([new LA(te.bounds.left+kt*.39363,te.bounds.top+kt*.79),new LA(te.bounds.left+kt*.16,te.bounds.top+kt*.5549),new LA(te.bounds.left+kt*.27347,te.bounds.top+kt*.44071),new LA(te.bounds.left+kt*.39694,te.bounds.top+kt*.5649),new LA(te.bounds.left+kt*.72983,te.bounds.top+kt*.23),new LA(te.bounds.left+kt*.84,te.bounds.top+kt*.34085),new LA(te.bounds.left+kt*.39363,te.bounds.top+kt*.79)]),this.ctx.fillStyle=zn(jl),this.ctx.fill(),this.ctx.restore()):te.type===Eo&&te.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(te.bounds.left+kt/2,te.bounds.top+kt/2,kt/4,0,Math.PI*2,!0),this.ctx.fillStyle=zn(jl),this.ctx.fill(),this.ctx.restore())),mc(te)&&te.value.length){switch(iA=this.createFontStyle(pe),tn=iA[0],ur=iA[1],NA=this.fontMetrics.getMetrics(tn,ur).baseline,this.ctx.font=tn,this.ctx.fillStyle=zn(pe.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=wc(te.styles.textAlign),_r=uu(te),qA=0,te.styles.textAlign){case 1:qA+=_r.width/2;break;case 2:qA+=_r.width;break}Jr=_r.add(qA,0,0,-_r.height/2+1),this.ctx.save(),this.path([new LA(_r.left,_r.top),new LA(_r.left+_r.width,_r.top),new LA(_r.left+_r.width,_r.top+_r.height),new LA(_r.left,_r.top+_r.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Yi(te.value,Jr),pe.letterSpacing,NA),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Jn(te.styles.display,2048))return[3,20];if(te.styles.listStyleImage===null)return[3,19];if(xr=te.styles.listStyleImage,xr.type!==0)return[3,18];mr=void 0,bn=xr.url,nr.label=15;case 15:return nr.trys.push([15,17,,18]),[4,this.context.cache.match(bn)];case 16:return mr=nr.sent(),this.ctx.drawImage(mr,te.bounds.left-(mr.width+10),te.bounds.top),[3,18];case 17:return nr.sent(),this.context.logger.error("Error loading list-style-image "+bn),[3,18];case 18:return[3,20];case 19:Ae.listValue&&te.styles.listStyleType!==-1&&(tn=this.createFontStyle(pe)[0],this.ctx.font=tn,this.ctx.fillStyle=zn(pe.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_r=new Ee(te.bounds.left,te.bounds.top+pn(te.styles.paddingTop,te.bounds.width),te.bounds.width,Yn(pe.lineHeight,pe.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Yi(Ae.listValue,_r),pe.letterSpacing,Yn(pe.lineHeight,pe.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),nr.label=20;case 20:return[2]}})})},z.prototype.renderStackContent=function(Ae){return ct(this,void 0,void 0,function(){var te,ce,xr,pe,ye,xr,ke,Ie,xr,ot,gt,xr,kt,iA,xr,ur,NA,xr,qA,Jr,xr;return Le(this,function(mr){switch(mr.label){case 0:if(Jn(Ae.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(Ae.element)];case 1:mr.sent(),te=0,ce=Ae.negativeZIndex,mr.label=2;case 2:return te<ce.length?(xr=ce[te],[4,this.renderStack(xr)]):[3,5];case 3:mr.sent(),mr.label=4;case 4:return te++,[3,2];case 5:return[4,this.renderNodeContent(Ae.element)];case 6:mr.sent(),pe=0,ye=Ae.nonInlineLevel,mr.label=7;case 7:return pe<ye.length?(xr=ye[pe],[4,this.renderNode(xr)]):[3,10];case 8:mr.sent(),mr.label=9;case 9:return pe++,[3,7];case 10:ke=0,Ie=Ae.nonPositionedFloats,mr.label=11;case 11:return ke<Ie.length?(xr=Ie[ke],[4,this.renderStack(xr)]):[3,14];case 12:mr.sent(),mr.label=13;case 13:return ke++,[3,11];case 14:ot=0,gt=Ae.nonPositionedInlineLevel,mr.label=15;case 15:return ot<gt.length?(xr=gt[ot],[4,this.renderStack(xr)]):[3,18];case 16:mr.sent(),mr.label=17;case 17:return ot++,[3,15];case 18:kt=0,iA=Ae.inlineLevel,mr.label=19;case 19:return kt<iA.length?(xr=iA[kt],[4,this.renderNode(xr)]):[3,22];case 20:mr.sent(),mr.label=21;case 21:return kt++,[3,19];case 22:ur=0,NA=Ae.zeroOrAutoZIndexOrTransformedOrOpacity,mr.label=23;case 23:return ur<NA.length?(xr=NA[ur],[4,this.renderStack(xr)]):[3,26];case 24:mr.sent(),mr.label=25;case 25:return ur++,[3,23];case 26:qA=0,Jr=Ae.positiveZIndex,mr.label=27;case 27:return qA<Jr.length?(xr=Jr[qA],[4,this.renderStack(xr)]):[3,30];case 28:mr.sent(),mr.label=29;case 29:return qA++,[3,27];case 30:return[2]}})})},z.prototype.mask=function(Ae){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(Ae.slice(0).reverse()),this.ctx.closePath()},z.prototype.path=function(Ae){this.ctx.beginPath(),this.formatPath(Ae),this.ctx.closePath()},z.prototype.formatPath=function(Ae){var te=this;Ae.forEach(function(ce,pe){var ye=Ln(ce)?ce.start:ce;pe===0?te.ctx.moveTo(ye.x,ye.y):te.ctx.lineTo(ye.x,ye.y),Ln(ce)&&te.ctx.bezierCurveTo(ce.startControl.x,ce.startControl.y,ce.endControl.x,ce.endControl.y,ce.end.x,ce.end.y)})},z.prototype.renderRepeat=function(Ae,te,ce,pe){this.path(Ae),this.ctx.fillStyle=te,this.ctx.translate(ce,pe),this.ctx.fill(),this.ctx.translate(-ce,-pe)},z.prototype.resizeImage=function(Ae,te,ce){var pe;if(Ae.width===te&&Ae.height===ce)return Ae;var ye=(pe=this.canvas.ownerDocument)!==null&&pe!==void 0?pe:document,ke=ye.createElement("canvas");ke.width=Math.max(1,te),ke.height=Math.max(1,ce);var Ie=ke.getContext("2d");return Ie.drawImage(Ae,0,0,Ae.width,Ae.height,0,0,te,ce),ke},z.prototype.renderBackgroundImage=function(Ae){return ct(this,void 0,void 0,function(){var te,ce,pe,ye,ke,Ie;return Le(this,function(ot){switch(ot.label){case 0:te=Ae.styles.backgroundImage.length-1,ce=function(gt){var kt,iA,ur,ni,_i,Gi,Hn,yi,Cn,NA,ni,_i,Gi,Hn,yi,qA,Jr,xr,mr,bn,tn,_r,nr,wn,Cn,Wr,ni,Ki,ji,Hn,yi,sa,_i,Gi,Na,Qo,la,Ka,_a,Wo,Ga,zo;return Le(this,function(bs){switch(bs.label){case 0:if(gt.type!==0)return[3,5];kt=void 0,iA=gt.url,bs.label=1;case 1:return bs.trys.push([1,3,,4]),[4,pe.context.cache.match(iA)];case 2:return kt=bs.sent(),[3,4];case 3:return bs.sent(),pe.context.logger.error("Error loading background-image "+iA),[3,4];case 4:return kt&&(ur=Xu(Ae,te,[kt.width,kt.height,kt.width/kt.height]),ni=ur[0],_i=ur[1],Gi=ur[2],Hn=ur[3],yi=ur[4],Cn=pe.ctx.createPattern(pe.resizeImage(kt,Hn,yi),"repeat"),pe.renderRepeat(ni,Cn,_i,Gi)),[3,6];case 5:ll(gt)?(NA=Xu(Ae,te,[null,null,null]),ni=NA[0],_i=NA[1],Gi=NA[2],Hn=NA[3],yi=NA[4],qA=to(gt.angle,Hn,yi),Jr=qA[0],xr=qA[1],mr=qA[2],bn=qA[3],tn=qA[4],_r=document.createElement("canvas"),_r.width=Hn,_r.height=yi,nr=_r.getContext("2d"),wn=nr.createLinearGradient(xr,bn,mr,tn),Ri(gt.stops,Jr).forEach(function(il){return wn.addColorStop(il.stop,zn(il.color))}),nr.fillStyle=wn,nr.fillRect(0,0,Hn,yi),Hn>0&&yi>0&&(Cn=pe.ctx.createPattern(_r,"repeat"),pe.renderRepeat(ni,Cn,_i,Gi))):ul(gt)&&(Wr=Xu(Ae,te,[null,null,null]),ni=Wr[0],Ki=Wr[1],ji=Wr[2],Hn=Wr[3],yi=Wr[4],sa=gt.position.length===0?[ca]:gt.position,_i=pn(sa[0],Hn),Gi=pn(sa[sa.length-1],yi),Na=Vi(gt,_i,Gi,Hn,yi),Qo=Na[0],la=Na[1],Qo>0&&la>0&&(Ka=pe.ctx.createRadialGradient(Ki+_i,ji+Gi,0,Ki+_i,ji+Gi,Qo),Ri(gt.stops,Qo*2).forEach(function(il){return Ka.addColorStop(il.stop,zn(il.color))}),pe.path(ni),pe.ctx.fillStyle=Ka,Qo!==la?(_a=Ae.bounds.left+.5*Ae.bounds.width,Wo=Ae.bounds.top+.5*Ae.bounds.height,Ga=la/Qo,zo=1/Ga,pe.ctx.save(),pe.ctx.translate(_a,Wo),pe.ctx.transform(1,0,0,Ga,0,0),pe.ctx.translate(-_a,-Wo),pe.ctx.fillRect(Ki,zo*(ji-Wo)+Wo,Hn,yi*zo),pe.ctx.restore()):pe.ctx.fill())),bs.label=6;case 6:return te--,[2]}})},pe=this,ye=0,ke=Ae.styles.backgroundImage.slice(0).reverse(),ot.label=1;case 1:return ye<ke.length?(Ie=ke[ye],[5,ce(Ie)]):[3,4];case 2:ot.sent(),ot.label=3;case 3:return ye++,[3,1];case 4:return[2]}})})},z.prototype.renderSolidBorder=function(Ae,te,ce){return ct(this,void 0,void 0,function(){return Le(this,function(pe){return this.path(ec(ce,te)),this.ctx.fillStyle=zn(Ae),this.ctx.fill(),[2]})})},z.prototype.renderDoubleBorder=function(Ae,te,ce,pe){return ct(this,void 0,void 0,function(){var ye,ke;return Le(this,function(Ie){switch(Ie.label){case 0:return te<3?[4,this.renderSolidBorder(Ae,ce,pe)]:[3,2];case 1:return Ie.sent(),[2];case 2:return ye=ac(pe,ce),this.path(ye),this.ctx.fillStyle=zn(Ae),this.ctx.fill(),ke=sc(pe,ce),this.path(ke),this.ctx.fill(),[2]}})})},z.prototype.renderNodeBackgroundAndBorders=function(Ae){return ct(this,void 0,void 0,function(){var te,ce,pe,ye,ke,Ie,ot,gt,kt=this;return Le(this,function(iA){switch(iA.label){case 0:return this.applyEffects(Ae.getEffects(2)),te=Ae.container.styles,ce=!Mi(te.backgroundColor)||te.backgroundImage.length,pe=[{style:te.borderTopStyle,color:te.borderTopColor,width:te.borderTopWidth},{style:te.borderRightStyle,color:te.borderRightColor,width:te.borderRightWidth},{style:te.borderBottomStyle,color:te.borderBottomColor,width:te.borderBottomWidth},{style:te.borderLeftStyle,color:te.borderLeftColor,width:te.borderLeftWidth}],ye=Bc(ys(te.backgroundClip,0),Ae.curves),ce||te.boxShadow.length?(this.ctx.save(),this.path(ye),this.ctx.clip(),Mi(te.backgroundColor)||(this.ctx.fillStyle=zn(te.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(Ae.container)]):[3,2];case 1:iA.sent(),this.ctx.restore(),te.boxShadow.slice(0).reverse().forEach(function(ur){kt.ctx.save();var NA=Hi(Ae.curves),qA=ur.inset?0:pc,Jr=ic(NA,-qA+(ur.inset?1:-1)*ur.spread.number,(ur.inset?1:-1)*ur.spread.number,ur.spread.number*(ur.inset?-2:2),ur.spread.number*(ur.inset?-2:2));ur.inset?(kt.path(NA),kt.ctx.clip(),kt.mask(Jr)):(kt.mask(NA),kt.ctx.clip(),kt.path(Jr)),kt.ctx.shadowOffsetX=ur.offsetX.number+qA,kt.ctx.shadowOffsetY=ur.offsetY.number,kt.ctx.shadowColor=zn(ur.color),kt.ctx.shadowBlur=ur.blur.number,kt.ctx.fillStyle=ur.inset?zn(ur.color):"rgba(0,0,0,1)",kt.ctx.fill(),kt.ctx.restore()}),iA.label=2;case 2:ke=0,Ie=0,ot=pe,iA.label=3;case 3:return Ie<ot.length?(gt=ot[Ie],gt.style!==0&&!Mi(gt.color)&>.width>0?gt.style!==2?[3,5]:[4,this.renderDashedDottedBorder(gt.color,gt.width,ke,Ae.curves,2)]:[3,11]):[3,13];case 4:return iA.sent(),[3,11];case 5:return gt.style!==3?[3,7]:[4,this.renderDashedDottedBorder(gt.color,gt.width,ke,Ae.curves,3)];case 6:return iA.sent(),[3,11];case 7:return gt.style!==4?[3,9]:[4,this.renderDoubleBorder(gt.color,gt.width,ke,Ae.curves)];case 8:return iA.sent(),[3,11];case 9:return[4,this.renderSolidBorder(gt.color,ke,Ae.curves)];case 10:iA.sent(),iA.label=11;case 11:ke++,iA.label=12;case 12:return Ie++,[3,3];case 13:return[2]}})})},z.prototype.renderDashedDottedBorder=function(Ae,te,ce,pe,ye){return ct(this,void 0,void 0,function(){var ke,Ie,ot,gt,kt,iA,ur,NA,qA,Jr,xr,mr,bn,tn,_r,nr,_r,nr;return Le(this,function(wn){return this.ctx.save(),ke=lc(pe,ce),Ie=ec(pe,ce),ye===2&&(this.path(Ie),this.ctx.clip()),Ln(Ie[0])?(ot=Ie[0].start.x,gt=Ie[0].start.y):(ot=Ie[0].x,gt=Ie[0].y),Ln(Ie[1])?(kt=Ie[1].end.x,iA=Ie[1].end.y):(kt=Ie[1].x,iA=Ie[1].y),ce===0||ce===2?ur=Math.abs(ot-kt):ur=Math.abs(gt-iA),this.ctx.beginPath(),ye===3?this.formatPath(ke):this.formatPath(Ie.slice(0,2)),NA=te<3?te*3:te*2,qA=te<3?te*2:te,ye===3&&(NA=te,qA=te),Jr=!0,ur<=NA*2?Jr=!1:ur<=NA*2+qA?(xr=ur/(2*NA+qA),NA*=xr,qA*=xr):(mr=Math.floor((ur+qA)/(NA+qA)),bn=(ur-mr*NA)/(mr-1),tn=(ur-(mr+1)*NA)/mr,qA=tn<=0||Math.abs(qA-bn)<Math.abs(qA-tn)?bn:tn),Jr&&(ye===3?this.ctx.setLineDash([0,NA+qA]):this.ctx.setLineDash([NA,qA])),ye===3?(this.ctx.lineCap="round",this.ctx.lineWidth=te):this.ctx.lineWidth=te*2+1.1,this.ctx.strokeStyle=zn(Ae),this.ctx.stroke(),this.ctx.setLineDash([]),ye===2&&(Ln(Ie[0])&&(_r=Ie[3],nr=Ie[0],this.ctx.beginPath(),this.formatPath([new LA(_r.end.x,_r.end.y),new LA(nr.start.x,nr.start.y)]),this.ctx.stroke()),Ln(Ie[1])&&(_r=Ie[1],nr=Ie[2],this.ctx.beginPath(),this.formatPath([new LA(_r.end.x,_r.end.y),new LA(nr.start.x,nr.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},z.prototype.render=function(Ae){return ct(this,void 0,void 0,function(){var te;return Le(this,function(ce){switch(ce.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=zn(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),te=oc(Ae),[4,this.renderStack(te)];case 1:return ce.sent(),this.applyEffects([]),[2,this.canvas]}})})},z}(rc),mc=function(ee){return ee instanceof Yl||ee instanceof Xl?!0:ee instanceof ps&&ee.type!==Eo&&ee.type!==na},Bc=function(ee,z){switch(ee){case 0:return Hi(z);case 2:return Ai(z);case 1:default:return aa(z)}},wc=function(ee){switch(ee){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Cc=["-apple-system","system-ui"],yc=function(ee){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?ee.filter(function(z){return Cc.indexOf(z)===-1}):ee},bc=function(ee){Be(z,ee);function z(Ae,te){var ce=ee.call(this,Ae,te)||this;return ce.canvas=te.canvas?te.canvas:document.createElement("canvas"),ce.ctx=ce.canvas.getContext("2d"),ce.options=te,ce.canvas.width=Math.floor(te.width*te.scale),ce.canvas.height=Math.floor(te.height*te.scale),ce.canvas.style.width=te.width+"px",ce.canvas.style.height=te.height+"px",ce.ctx.scale(ce.options.scale,ce.options.scale),ce.ctx.translate(-te.x,-te.y),ce.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+te.width+"x"+te.height+" at "+te.x+","+te.y+") with scale "+te.scale),ce}return z.prototype.render=function(Ae){return ct(this,void 0,void 0,function(){var te,ce;return Le(this,function(pe){switch(pe.label){case 0:return te=cs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,Ae),[4,xc(te)];case 1:return ce=pe.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=zn(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(ce,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},z}(rc),xc=function(ee){return new Promise(function(z,Ae){var te=new Image;te.onload=function(){z(te)},te.onerror=Ae,te.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ee))})},Ec=function(){function ee(z){var Ae=z.id,te=z.enabled;this.id=Ae,this.enabled=te,this.start=Date.now()}return ee.prototype.debug=function(){for(var z=[],Ae=0;Ae<arguments.length;Ae++)z[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,je([this.id,this.getTime()+"ms"],z)):this.info.apply(this,z))},ee.prototype.getTime=function(){return Date.now()-this.start},ee.prototype.info=function(){for(var z=[],Ae=0;Ae<arguments.length;Ae++)z[Ae]=arguments[Ae];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,je([this.id,this.getTime()+"ms"],z))},ee.prototype.warn=function(){for(var z=[],Ae=0;Ae<arguments.length;Ae++)z[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,je([this.id,this.getTime()+"ms"],z)):this.info.apply(this,z))},ee.prototype.error=function(){for(var z=[],Ae=0;Ae<arguments.length;Ae++)z[Ae]=arguments[Ae];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,je([this.id,this.getTime()+"ms"],z)):this.info.apply(this,z))},ee.instances={},ee}(),Fc=function(){function ee(z,Ae){var te;this.windowBounds=Ae,this.instanceName="#"+ee.instanceCount++,this.logger=new Ec({id:this.instanceName,enabled:z.logging}),this.cache=(te=z.cache)!==null&&te!==void 0?te:new Zr(this,z)}return ee.instanceCount=1,ee}(),Qc=function(ee,z){return z===void 0&&(z={}),Sc(ee,z)};typeof window!="undefined"&&wr.setContext(window);var Sc=function(ee,z){return ct(void 0,void 0,void 0,function(){var Ae,te,ce,pe,ye,ke,Ie,ot,gt,kt,iA,ur,NA,qA,Jr,xr,mr,bn,tn,_r,wn,nr,wn,Cn,Wr,ni,Ki,ji,Hn,yi,sa,_i,Gi,Na,Qo,la,Ka,_a,Wo,Ga;return Le(this,function(zo){switch(zo.label){case 0:if(!ee||typeof ee!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Ae=ee.ownerDocument,!Ae)throw new Error("Element is not attached to a Document");if(te=Ae.defaultView,!te)throw new Error("Document is not attached to a Window");return ce={allowTaint:(Cn=z.allowTaint)!==null&&Cn!==void 0?Cn:!1,imageTimeout:(Wr=z.imageTimeout)!==null&&Wr!==void 0?Wr:15e3,proxy:z.proxy,useCORS:(ni=z.useCORS)!==null&&ni!==void 0?ni:!1},pe=se({logging:(Ki=z.logging)!==null&&Ki!==void 0?Ki:!0,cache:z.cache},ce),ye={windowWidth:(ji=z.windowWidth)!==null&&ji!==void 0?ji:te.innerWidth,windowHeight:(Hn=z.windowHeight)!==null&&Hn!==void 0?Hn:te.innerHeight,scrollX:(yi=z.scrollX)!==null&&yi!==void 0?yi:te.pageXOffset,scrollY:(sa=z.scrollY)!==null&&sa!==void 0?sa:te.pageYOffset},ke=new Ee(ye.scrollX,ye.scrollY,ye.windowWidth,ye.windowHeight),Ie=new Fc(pe,ke),ot=(_i=z.foreignObjectRendering)!==null&&_i!==void 0?_i:!1,gt={allowTaint:(Gi=z.allowTaint)!==null&&Gi!==void 0?Gi:!1,onclone:z.onclone,ignoreElements:z.ignoreElements,inlineImages:ot,copyStyles:ot},Ie.logger.debug("Starting document clone with size "+ke.width+"x"+ke.height+" scrolled to "+-ke.left+","+-ke.top),kt=new E(Ie,ee,gt),iA=kt.clonedReferenceElement,iA?[4,kt.toIFrame(Ae,ke)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return ur=zo.sent(),NA=Qn(iA)||Zu(iA)?Ye(iA.ownerDocument):Qe(Ie,iA),qA=NA.width,Jr=NA.height,xr=NA.left,mr=NA.top,bn=Uc(Ie,iA,z.backgroundColor),tn={canvas:z.canvas,backgroundColor:bn,scale:(Qo=(Na=z.scale)!==null&&Na!==void 0?Na:te.devicePixelRatio)!==null&&Qo!==void 0?Qo:1,x:((la=z.x)!==null&&la!==void 0?la:0)+xr,y:((Ka=z.y)!==null&&Ka!==void 0?Ka:0)+mr,width:(_a=z.width)!==null&&_a!==void 0?_a:Math.ceil(qA),height:(Wo=z.height)!==null&&Wo!==void 0?Wo:Math.ceil(Jr)},ot?(Ie.logger.debug("Document cloned, using foreign object rendering"),wn=new bc(Ie,tn),[4,wn.render(iA)]):[3,3];case 2:return _r=zo.sent(),[3,5];case 3:return Ie.logger.debug("Document cloned, element located at "+xr+","+mr+" with size "+qA+"x"+Jr+" using computed rendering"),Ie.logger.debug("Starting DOM parsing"),nr=$l(Ie,iA),bn===nr.styles.backgroundColor&&(nr.styles.backgroundColor=Un.TRANSPARENT),Ie.logger.debug("Starting renderer for element at "+tn.x+","+tn.y+" with size "+tn.width+"x"+tn.height),wn=new vc(Ie,tn),[4,wn.render(nr)];case 4:_r=zo.sent(),zo.label=5;case 5:return(!((Ga=z.removeContainer)!==null&&Ga!==void 0)||Ga)&&(E.destroy(ur)||Ie.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),Ie.logger.debug("Finished rendering"),[2,_r]}})})},Uc=function(ee,z,Ae){var te=z.ownerDocument,ce=te.documentElement?Rr(ee,getComputedStyle(te.documentElement).backgroundColor):Un.TRANSPARENT,pe=te.body?Rr(ee,getComputedStyle(te.body).backgroundColor):Un.TRANSPARENT,ye=typeof Ae=="string"?Rr(ee,Ae):Ae===null?Un.TRANSPARENT:4294967295;return z===te.documentElement?Mi(ce)?Mi(pe)?ye:pe:ce:ye};return Qc})},2859:function(oA,hA,Be){"use strict";Be.d(hA,{hP:function(){return xt}});var se=function(ue,ne){return(se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,ae){re.__proto__=ae}||function(re,ae){for(var he in ae)Object.prototype.hasOwnProperty.call(ae,he)&&(re[he]=ae[he])})(ue,ne)};function ct(ue,ne){function re(){this.constructor=ue}se(ue,ne),ue.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}function Le(ue,ne,re,ae){return new(re||(re=Promise))(function(he,oe){function Se(Ht){try{Yt(ae.next(Ht))}catch(Tt){oe(Tt)}}function rt(Ht){try{Yt(ae.throw(Ht))}catch(Tt){oe(Tt)}}function Yt(Ht){var Tt;Ht.done?he(Ht.value):(Tt=Ht.value,Tt instanceof re?Tt:new re(function(Pt){Pt(Tt)})).then(Se,rt)}Yt((ae=ae.apply(ue,ne||[])).next())})}function je(ue,ne){var re,ae,he,oe,Se={label:0,sent:function(){if(1&he[0])throw he[1];return he[1]},trys:[],ops:[]};return oe={next:rt(0),throw:rt(1),return:rt(2)},typeof Symbol=="function"&&(oe[Symbol.iterator]=function(){return this}),oe;function rt(Yt){return function(Ht){return function(Tt){if(re)throw new TypeError("Generator is already executing.");for(;Se;)try{if(re=1,ae&&(he=2&Tt[0]?ae.return:Tt[0]?ae.throw||((he=ae.return)&&he.call(ae),0):ae.next)&&!(he=he.call(ae,Tt[1])).done)return he;switch(ae=0,he&&(Tt=[2&Tt[0],he.value]),Tt[0]){case 0:case 1:he=Tt;break;case 4:return Se.label++,{value:Tt[1],done:!1};case 5:Se.label++,ae=Tt[1],Tt=[0];continue;case 7:Tt=Se.ops.pop(),Se.trys.pop();continue;default:if(he=Se.trys,!((he=he.length>0&&he[he.length-1])||Tt[0]!==6&&Tt[0]!==2)){Se=0;continue}if(Tt[0]===3&&(!he||Tt[1]>he[0]&&Tt[1]<he[3])){Se.label=Tt[1];break}if(Tt[0]===6&&Se.label<he[1]){Se.label=he[1],he=Tt;break}if(he&&Se.label<he[2]){Se.label=he[2],Se.ops.push(Tt);break}he[2]&&Se.ops.pop(),Se.trys.pop();continue}Tt=ne.call(ue,Se)}catch(Pt){Tt=[6,Pt],ae=0}finally{re=he=0}if(5&Tt[0])throw Tt[1];return{value:Tt[0]?Tt[1]:void 0,done:!0}}([Yt,Ht])}}}function Ee(){for(var ue=0,ne=0,re=arguments.length;ne<re;ne++)ue+=arguments[ne].length;var ae=Array(ue),he=0;for(ne=0;ne<re;ne++)for(var oe=arguments[ne],Se=0,rt=oe.length;Se<rt;Se++,he++)ae[he]=oe[Se];return ae}var Qe=function(){function ue(){}return ue.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ue.setAttributes=function(ne,re){for(var ae=0,he=re;ae<he.length;ae++){var oe=he[ae],Se=oe[0],rt=oe[1];ne.setAttribute(Se,rt)}},ue.createRect=function(ne,re,ae){var he=document.createElementNS("http://www.w3.org/2000/svg","rect");return he.setAttribute("width",ne.toString()),he.setAttribute("height",re.toString()),ae&&ue.setAttributes(he,ae),he},ue.createLine=function(ne,re,ae,he,oe){var Se=document.createElementNS("http://www.w3.org/2000/svg","line");return Se.setAttribute("x1",ne.toString()),Se.setAttribute("y1",re.toString()),Se.setAttribute("x2",ae.toString()),Se.setAttribute("y2",he.toString()),oe&&ue.setAttributes(Se,oe),Se},ue.createPolygon=function(ne,re){var ae=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ae.setAttribute("points",ne),re&&ue.setAttributes(ae,re),ae},ue.createCircle=function(ne,re){var ae=document.createElementNS("http://www.w3.org/2000/svg","circle");return ae.setAttribute("cx",(ne/2).toString()),ae.setAttribute("cy",(ne/2).toString()),ae.setAttribute("r",ne.toString()),re&&ue.setAttributes(ae,re),ae},ue.createEllipse=function(ne,re,ae){var he=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return he.setAttribute("cx",(ne/2).toString()),he.setAttribute("cy",(re/2).toString()),he.setAttribute("rx",(ne/2).toString()),he.setAttribute("ry",(re/2).toString()),ae&&ue.setAttributes(he,ae),he},ue.createGroup=function(ne){var re=document.createElementNS("http://www.w3.org/2000/svg","g");return ne&&ue.setAttributes(re,ne),re},ue.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ue.createMarker=function(ne,re,ae,he,oe,Se,rt){var Yt=document.createElementNS("http://www.w3.org/2000/svg","marker");return ue.setAttributes(Yt,[["id",ne],["orient",re],["markerWidth",ae.toString()],["markerHeight",he.toString()],["refX",oe.toString()],["refY",Se.toString()]]),Yt.appendChild(rt),Yt},ue.createText=function(ne){var re=document.createElementNS("http://www.w3.org/2000/svg","text");return re.setAttribute("x","0"),re.setAttribute("y","0"),ne&&ue.setAttributes(re,ne),re},ue.createTSpan=function(ne,re){var ae=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ae.textContent=ne,re&&ue.setAttributes(ae,re),ae},ue.createImage=function(ne){var re=document.createElementNS("http://www.w3.org/2000/svg","image");return ne&&ue.setAttributes(re,ne),re},ue.createPoint=function(ne,re){var ae=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ae.x=ne,ae.y=re,ae},ue.createPath=function(ne,re){var ae=document.createElementNS("http://www.w3.org/2000/svg","path");return ae.setAttribute("d",ne),re&&ue.setAttributes(ae,re),ae},ue}(),Ye=function(){function ue(){}return ue.addKey=function(ne){ue.key=ne},Object.defineProperty(ue,"isLicensed",{get:function(){return!!ue.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(ue.key)},enumerable:!1,configurable:!0}),ue}(),Ke=function(){function ue(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ue.prototype.rasterize=function(ne,re,ae){var he=this;return new Promise(function(oe){var Se=ae!==void 0?ae:document.createElement("canvas");ne===null&&(he.markersOnly=!0,he.naturalSize=!1);var rt=document.createElementNS("http://www.w3.org/2000/svg","svg");rt.setAttribute("xmlns","http://www.w3.org/2000/svg"),rt.setAttribute("width",re.width.baseVal.valueAsString),rt.setAttribute("height",re.height.baseVal.valueAsString),rt.setAttribute("viewBox","0 0 "+re.viewBox.baseVal.width.toString()+" "+re.viewBox.baseVal.height.toString()),rt.innerHTML=re.innerHTML,he.naturalSize===!0?(rt.width.baseVal.value=ne.naturalWidth,rt.height.baseVal.value=ne.naturalHeight):he.width!==void 0&&he.height!==void 0&&(rt.width.baseVal.value=he.width,rt.height.baseVal.value=he.height),Se.width=rt.width.baseVal.value,Se.height=rt.height.baseVal.value;var Yt=rt.outerHTML,Ht=Se.getContext("2d");he.markersOnly!==!0&&Ht.drawImage(ne,0,0,Se.width,Se.height);var Tt=window.URL,Pt=new Image(Se.width,Se.height);Pt.setAttribute("crossOrigin","anonymous");var pA=new Blob([Yt],{type:"image/svg+xml"}),vA=Tt.createObjectURL(pA);Pt.onload=function(){Ht.drawImage(Pt,0,0),Tt.revokeObjectURL(vA);var xA=Se.toDataURL(he.imageType,he.imageQuality);oe(xA)},Pt.src=vA})},ue}(),Ue=function(){},Ce=function(){function ue(ne){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ne+"_"}return Object.defineProperty(ue.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(ue.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(ue.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),ue.prototype.addClass=function(ne){return this.styleSheet===void 0&&this.addStyleSheet(),ne.name=""+this.classNamePrefix+ne.localName,this.classes.push(ne),this.styleSheet.sheet.insertRule("."+ne.name+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length),ne},ue.prototype.addRule=function(ne){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ne),this.styleSheet.sheet.insertRule(ne.selector+" {"+ne.style+"}",this.styleSheet.sheet.cssRules.length)},ue.prototype.addStyleSheet=function(){var ne;this.styleSheet=document.createElement("style"),((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).appendChild(this.styleSheet),this.addRule(new bt("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new bt("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
`)),this.addRule(new bt("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
`)),this.addClass(new Fe("fade_in",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
`)),this.addClass(new Fe("fade_out",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
`))},ue.prototype.removeStyleSheet=function(){var ne;this.styleSheet&&(((ne=this.styleSheetRoot)!==null&&ne!==void 0?ne:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ue}(),bt=function(ue,ne){this.selector=ue,this.style=ne},Fe=function(ue,ne){this.localName=ue,this.style=ne},Dt=function(){function ue(ne,re,ae,he,oe){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ne,this.displayMode=re,this.markerItems=ae,this.uiStyleSettings=he,this.styles=oe,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return ue.prototype.show=function(ne){var re=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ae=document.createElement("div");ae.className=this.toolbarBlockStyleClass.name,ae.style.whiteSpace="nowrap",this.uiContainer.appendChild(ae),this.addActionButton(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(ae,'<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(oe){var Se=document.createElement("div");Se.className=""+re.toolbarButtonStyleClass.name,Se.setAttribute("data-type-name",oe.typeName),Se.innerHTML=oe.icon,Se.addEventListener("click",function(){re.markerToolbarButtonClicked(Se,oe)}),re.buttons.push(Se),re.markerButtons.push(Se)}),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()},ue.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},ue.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},ue.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ue.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ne=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var re=0;re<this.markerButtons.length;re++)re<ne||re===ne&&this.markerButtons.length-1===ne?this.markerButtonBlock.appendChild(this.markerButtons[re]):(re===ne&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[re]))}},ue.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")},ue.prototype.resetButtonStyles=function(){var ne=this;this.buttons.forEach(function(re){re.className=re.className.replace(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name,"").trim(),re.className=re.className.replace(ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ne.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ne.toolbarActiveButtonStyleColorsClass.name,"").trim(),re.className+=" "+(ne.uiStyleSettings.toolbarButtonStyleColorsClassName?ne.uiStyleSettings.toolbarButtonStyleColorsClassName:ne.toolbarButtonStyleColorsClass.name)})},ue.prototype.addActionButton=function(ne,re,ae){var he=this,oe=document.createElement("div");switch(oe.className=""+this.toolbarButtonStyleClass.name,oe.innerHTML=re,oe.setAttribute("data-action",ae),oe.addEventListener("click",function(){he.actionToolbarButtonClicked(oe,ae)}),ae){case"select":oe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":oe.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":oe.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":oe.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":oe.style.fill=this.uiStyleSettings.closeButtonColor}ne.appendChild(oe),this.buttons.push(oe)},ue.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new Fe("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 Fe("toolbar_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new Fe("toolbar-block",`
|
|
display: inline-block;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new Fe("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 Fe("toolbar-overflow-block_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`));var ne=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new Fe("toolbar_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ne)+`px;
|
|
padding: `+ne+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new Fe("toolbar_button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new Fe("toolbar_active_button",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new bt("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`)),this.styles.addRule(new bt("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`))},ue.prototype.markerToolbarButtonClicked=function(ne,re){this.setActiveButton(ne),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("marker",re)}),this.markerButtonOverflowBlock.style.display="none"},ue.prototype.actionToolbarButtonClicked=function(ne,re){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ae){return ae("action",re)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ue.prototype.setActiveButton=function(ne){this.resetButtonStyles(),ne.className=ne.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ne.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ue.prototype.setActiveMarkerButton=function(ne){var re=this.markerButtons.find(function(ae){return ae.getAttribute("data-type-name")===ne});re&&this.setActiveButton(re)},ue.prototype.setCurrentMarker=function(ne){var re=this;this.currentMarker=ne,this.buttons.filter(function(ae){return/delete|notes/.test(ae.getAttribute("data-action"))}).forEach(function(ae){re.currentMarker===void 0?(ae.style.fillOpacity="0.4",ae.style.pointerEvents="none"):(ae.style.fillOpacity="1",ae.style.pointerEvents="all")})},ue}(),Xe=function(){function ue(ne,re,ae,he){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=re,this.uiStyleSettings=ae,this.styles=he,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ue.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new Fe("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 Fe("toolbox_colors",`
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
`));var re=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Fe("toolbox-button-row",`
|
|
display: flex;
|
|
cursor: default;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Fe("toolbox-button-row_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Fe("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 Fe("toolbox-panel-row_colors",`
|
|
background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new Fe("toolbox_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*re)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*re)+`px;
|
|
padding: `+re+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Fe("toolbox-button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Fe("toolbox-active-button_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.styles.addRule(new bt("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new bt("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`))},ue.prototype.show=function(ne){var re;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolboxStyleClass.name+" "+((re=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&re!==void 0?re:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ue.prototype.setPanelButtons=function(ne){var re,ae,he=this;this.panels=ne,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((re=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&re!==void 0?re:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ae=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ae!==void 0?ae:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(oe){var Se;oe.uiStyleSettings=he.uiStyleSettings;var rt=document.createElement("div");rt.className=he.toolboxButtonStyleClass.name+" "+((Se=he.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Se!==void 0?Se:he.toolboxButtonStyleColorsClass.name),rt.innerHTML=oe.icon,rt.title=oe.title,rt.addEventListener("click",function(){he.panelButtonClick(oe)}),he.panelButtons.push(rt),he.buttonRow.appendChild(rt)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ue.prototype.panelButtonClick=function(ne){var re=this,ae=-1;if(ne!==this.activePanel){ae=this.panels.indexOf(ne),this.panelRow.innerHTML="";var he=ne.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=ne}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){re.displayMode==="inline"?re.panelRow.style.display="none":re.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(oe,Se){var rt,Yt;oe.className=re.toolboxButtonStyleClass.name+" "+(Se===ae?""+((rt=re.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&rt!==void 0?rt:re.toolboxActiveButtonStyleColorsClass.name):""+((Yt=re.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Yt!==void 0?Yt:re.toolboxButtonStyleColorsClass.name))})},ue}(),Ge=function(ue,ne){this.title=ue,this.icon=ne},ze=function(ue){function ne(re,ae,he,oe){var Se=ue.call(this,re,oe||'<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 Se.colors=[],Se.addTransparent=!1,Se.colorBoxes=[],Se.colors=ae,Se.currentColor=he,Se.setCurrentColor=Se.setCurrentColor.bind(Se),Se.getColorBox=Se.getColorBox.bind(Se),Se}return ct(ne,ue),ne.prototype.getUi=function(){var re=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.whiteSpace="nowrap",this.colors.forEach(function(he){var oe=re.getColorBox(he);ae.appendChild(oe),re.colorBoxes.push(oe)}),ae},ne.prototype.getColorBox=function(re){var ae=this,he=this.uiStyleSettings.toolbarHeight/4,oe=this.uiStyleSettings.toolbarHeight-he,Se=document.createElement("div");Se.style.display="inline-block",Se.style.boxSizing="content-box",Se.style.width=oe-2+"px",Se.style.height=oe-2+"px",Se.style.padding="1px",Se.style.marginRight="2px",Se.style.marginBottom="2px",Se.style.borderWidth="2px",Se.style.borderStyle="solid",Se.style.borderRadius=(oe+2)/2+"px",Se.style.borderColor=re===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Se.addEventListener("click",function(){ae.setCurrentColor(re,Se)});var rt=document.createElement("div");return rt.style.display="inline-block",rt.style.width=oe-2+"px",rt.style.height=oe-2+"px",rt.style.backgroundColor=re,rt.style.borderRadius=oe/2+"px",re==="transparent"&&(rt.style.fill=this.uiStyleSettings.toolboxAccentColor,rt.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>`),Se.appendChild(rt),Se},ne.prototype.setCurrentColor=function(re,ae){var he=this;this.currentColor=re,this.colorBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(re)},ne}(Ge),Oe=function(){function ue(ne,re,ae){this._state="new",this._isSelected=!1,this._container=ne,this._overlayContainer=re,this.globalSettings=ae,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ue.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ue.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(ue.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ue.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ue.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ue.prototype.pointerDown=function(ne,re){},ue.prototype.dblClick=function(ne,re){},ue.prototype.manipulate=function(ne){},ue.prototype.pointerUp=function(ne){this.stateChanged()},ue.prototype.dispose=function(){},ue.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},ue.prototype.getState=function(){return{typeName:ue.typeName,state:this.state,notes:this.notes}},ue.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},ue.prototype.scale=function(ne,re){},ue.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},ue.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},ue.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ne=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ne.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ne)&&this.onStateChanged(this)}},ue.typeName="MarkerBase",ue}(),wt=function(){function ue(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ue.prototype.findGripByVisual=function(ne){return this.topLeft.ownsTarget(ne)?this.topLeft:this.topCenter.ownsTarget(ne)?this.topCenter:this.topRight.ownsTarget(ne)?this.topRight:this.centerLeft.ownsTarget(ne)?this.centerLeft:this.centerRight.ownsTarget(ne)?this.centerRight:this.bottomLeft.ownsTarget(ne)?this.bottomLeft:this.bottomCenter.ownsTarget(ne)?this.bottomCenter:this.bottomRight.ownsTarget(ne)?this.bottomRight:void 0},ue}(),ht=function(){function ue(){this.GRIP_SIZE=10,this.visual=Qe.createGroup(),this.visual.appendChild(Qe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(Qe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ue.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},ue}(),Ft=function(){function ue(){}return ue.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},ue.toSVGMatrix=function(ne,re){return ne.a=re.a,ne.b=re.b,ne.c=re.c,ne.d=re.d,ne.e=re.e,ne.f=re.f,ne},ue}(),et=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.left=0,oe.top=0,oe.width=0,oe.height=0,oe.defaultSize={x:50,y:20},oe.offsetX=0,oe.offsetY=0,oe.rotationAngle=0,oe.CB_DISTANCE=10,oe._suppressMarkerCreateEvent=!1,oe.container.transform.baseVal.appendItem(Qe.createTransform()),oe.setupControlBox(),oe}return ct(ne,ue),Object.defineProperty(ne.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"visual",{get:function(){return this._visual},set:function(re){this._visual=re;var ae=Qe.createTransform();this._visual.transform.baseVal.appendItem(ae)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(re){return!!ue.prototype.ownsTarget.call(this,re)||!!(this.controlGrips.findGripByVisual(re)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(re))},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.state==="new"&&(this.left=re.x,this.top=re.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var he=this.unrotatePoint(re);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(ae),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ae)){this.activeGrip=this.rotatorGrip;var oe=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=oe.x-this.width/2,this.top=oe.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Se=this.container.transform.baseVal.getItem(0);Se.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Se,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(re){var ae=this.state;ue.prototype.pointerUp.call(this,re),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(re),this._state="select",ae==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ne.prototype.moveVisual=function(re){this.visual.style.transform="translate("+re.x+"px, "+re.y+"px)"},ne.prototype.manipulate=function(re){var ae=this.unrotatePoint(re);this.state==="creating"?this.resize(re):this.state==="move"?(this.left=this.manipulationStartLeft+(ae.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ae.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ae):this.state==="rotate"&&this.rotate(re)},ne.prototype.resize=function(re){var ae=this.manipulationStartLeft,he=this.manipulationStartWidth,oe=this.manipulationStartTop,Se=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ae=this.manipulationStartLeft+re.x-this.manipulationStartX,he=this.manipulationStartWidth+this.manipulationStartLeft-ae;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:he=this.manipulationStartWidth+re.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:oe=this.manipulationStartTop+re.y-this.manipulationStartY,Se=this.manipulationStartHeight+this.manipulationStartTop-oe;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Se=this.manipulationStartHeight+re.y-this.manipulationStartY}he>=0?(this.left=ae,this.width=he):(this.left=ae+he,this.width=-he),Se>=0?(this.top=oe,this.height=Se):(this.top=oe+Se,this.height=-Se),this.setSize()},ne.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ne.prototype.rotate=function(re){if(Math.abs(re.x-this.centerX)>.1){var ae=Math.sign(re.x-this.centerX);this.rotationAngle=180*Math.atan((re.y-this.centerY)/(re.x-this.centerX))/Math.PI+90*ae,this.applyRotation()}},ne.prototype.applyRotation=function(){var re=this.container.transform.baseVal.getItem(0);re.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(re,0)},ne.prototype.rotatePoint=function(re){if(this.rotationAngle===0)return re;var ae=this.container.getCTM(),he=Qe.createPoint(re.x,re.y);return{x:(he=he.matrixTransform(ae)).x,y:he.y}},ne.prototype.unrotatePoint=function(re){if(this.rotationAngle===0)return re;var ae=this.container.getCTM();ae=ae.inverse();var he=Qe.createPoint(re.x,re.y);return{x:(he=he.matrixTransform(ae)).x,y:he.y}},ne.prototype.select=function(){ue.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ue.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Qe.createGroup();var re=Qe.createTransform();re.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(re),this.container.appendChild(this.controlBox),this.controlRect=Qe.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=Qe.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 wt,this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){var re=this.controlBox.transform.baseVal.getItem(0);re.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(re,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()},ne.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()},ne.prototype.createGrip=function(){var re=new ht;return re.visual.transform.baseVal.appendItem(Qe.createTransform()),this.controlBox.appendChild(re.visual),re},ne.prototype.positionGrips=function(){var re=this.controlGrips.topLeft.GRIP_SIZE,ae=-re/2,he=ae,oe=(this.width+this.CB_DISTANCE)/2-re/2,Se=(this.height+this.CB_DISTANCE)/2-re/2,rt=this.height+this.CB_DISTANCE-re/2,Yt=this.width+this.CB_DISTANCE-re/2;this.positionGrip(this.controlGrips.topLeft.visual,ae,he),this.positionGrip(this.controlGrips.topCenter.visual,oe,he),this.positionGrip(this.controlGrips.topRight.visual,Yt,he),this.positionGrip(this.controlGrips.centerLeft.visual,ae,Se),this.positionGrip(this.controlGrips.centerRight.visual,Yt,Se),this.positionGrip(this.controlGrips.bottomLeft.visual,ae,rt),this.positionGrip(this.controlGrips.bottomCenter.visual,oe,rt),this.positionGrip(this.controlGrips.bottomRight.visual,Yt,rt),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,oe,he-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(re,ae,he){var oe=re.transform.baseVal.getItem(0);oe.setTranslate(ae,he),re.transform.baseVal.replaceItem(oe,0)},ne.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ne.prototype.showControlBox=function(){this.controlBox.style.display=""},ne.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Ft.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Ft.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ue.prototype.getState.call(this))},ne.prototype.restoreState=function(re){ue.prototype.restoreState.call(this,re);var ae=re;this.left=ae.left,this.top=ae.top,this.width=ae.width,this.height=ae.height,this.rotationAngle=ae.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Ft.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ae.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Ft.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ae.containerTransformMatrix))},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae);var he=this.rotatePoint({x:this.left,y:this.top}),oe=this.unrotatePoint({x:he.x*re,y:he.y*ae});this.left=oe.x,this.top=oe.y,this.width=this.width*re,this.height=this.height*ae,this.adjustControlBox()},ne}(Oe),nt=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.fillColor="transparent",oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.opacity=1,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setFillColor=oe.setFillColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.createVisual=oe.createVisual.bind(oe),oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.visual)},ne.prototype.createVisual=function(){this.visual=Qe.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)},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(re),this._state="creating")},ne.prototype.manipulate=function(re){ue.prototype.manipulate.call(this,re)},ne.prototype.resize=function(re){ue.prototype.resize.call(this,re),this.setSize()},ne.prototype.setSize=function(){ue.prototype.setSize.call(this),Qe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(re){ue.prototype.pointerUp.call(this,re),this.setSize()},ne.prototype.setStrokeColor=function(re){this.strokeColor=re,this.visual&&Qe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(re),this.stateChanged()},ne.prototype.setFillColor=function(re){this.fillColor=re,this.visual&&Qe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(re){this.strokeWidth=re,this.visual&&Qe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(re){this.strokeDasharray=re,this.visual&&Qe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ue.prototype.getState.call(this))},ne.prototype.restoreState=function(re){var ae=re;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),ue.prototype.restoreState.call(this,re),this.setSize()},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.setSize()},ne.title="Rectangle marker",ne}(et),lt=function(ue){function ne(re,ae,he,oe){var Se=ue.call(this,re,oe||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return Se.widths=[],Se.widthBoxes=[],Se.widths=ae,Se.currentWidth=he,Se.setCurrentWidth=Se.setCurrentWidth.bind(Se),Se}return ct(ne,ue),ne.prototype.getUi=function(){var re=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.widths.forEach(function(he){var oe=document.createElement("div");oe.style.display="flex",oe.style.flexGrow="2",oe.style.alignItems="center",oe.style.justifyContent="space-between",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.borderColor=he===re.currentWidth?re.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){re.setCurrentWidth(he,oe)}),ae.appendChild(oe);var Se=document.createElement("div");Se.innerText=he.toString(),Se.style.marginRight="5px",oe.appendChild(Se);var rt=document.createElement("div");rt.style.minHeight="20px",rt.style.flexGrow="2",rt.style.display="flex",rt.style.alignItems="center";var Yt=document.createElement("hr");Yt.style.minWidth="20px",Yt.style.border="0px",Yt.style.borderTop=he+"px solid "+re.uiStyleSettings.toolboxColor,Yt.style.flexGrow="2",rt.appendChild(Yt),oe.appendChild(rt),re.widthBoxes.push(oe)}),ae},ne.prototype.setCurrentWidth=function(re,ae){var he=this;this.currentWidth=re,this.widthBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}(Ge),At=function(ue){function ne(re,ae,he,oe){var Se=ue.call(this,re,oe||'<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 Se.styles=[],Se.styleBoxes=[],Se.styles=ae,Se.currentStyle=he,Se.setCurrentStyle=Se.setCurrentStyle.bind(Se),Se}return ct(ne,ue),ne.prototype.getUi=function(){var re=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",this.styles.forEach(function(he){var oe=document.createElement("div");oe.style.display="flex",oe.style.alignItems="center",oe.style.justifyContent="space-between",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.overflow="hidden",oe.style.maxWidth=100/re.styles.length-5+"%",oe.style.borderColor=he===re.currentStyle?re.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){re.setCurrentStyle(he,oe)}),ae.appendChild(oe);var Se=document.createElement("div");Se.style.minHeight="20px",Se.style.flexGrow="2",Se.style.overflow="hidden";var rt=`<svg width="100" height="20">
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+re.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(he!==""?'stroke-dasharray="'+he+'"':"")+` />
|
|
</svg>`;Se.innerHTML=rt,oe.appendChild(Se),re.styleBoxes.push(oe)}),ae},ne.prototype.setCurrentStyle=function(re,ae){var he=this;this.currentStyle=re,this.styleBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}(Ge),uA=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.strokeColor=he.defaultColor,oe.strokeWidth=he.defaultStrokeWidth,oe.strokeDasharray=he.defaultStrokeDasharray,oe.strokePanel=new ze("Line color",he.defaultColorSet,he.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.strokeWidthPanel=new lt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new At("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe}return ct(ne,ue),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=ue.prototype.getState.call(this);return re.typeName=ne.typeName,re},ne.typeName="FrameMarker",ne.title="Frame marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ne}(nt),it=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"},Je=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.x1=0,oe.y1=0,oe.x2=0,oe.y2=0,oe.defaultLength=50,oe.manipulationStartX=0,oe.manipulationStartY=0,oe.manipulationStartX1=0,oe.manipulationStartY1=0,oe.manipulationStartX2=0,oe.manipulationStartY2=0,oe.setupControlBox(),oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!!ue.prototype.ownsTarget.call(this,re)||!(!this.grip1.ownsTarget(re)&&!this.grip2.ownsTarget(re))},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.manipulationStartX=re.x,this.manipulationStartY=re.y,this.state==="new"&&(this.x1=re.x,this.y1=re.y,this.x2=re.x,this.y2=re.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(ae)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ae)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ne.prototype.pointerUp=function(re){var ae=this.state;ue.prototype.pointerUp.call(this,re),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(re),this._state="select",ae==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ne.prototype.adjustVisual=function(){},ne.prototype.manipulate=function(re){this.state==="creating"?this.resize(re):this.state==="move"?(this.x1=this.manipulationStartX1+re.x-this.manipulationStartX,this.y1=this.manipulationStartY1+re.y-this.manipulationStartY,this.x2=this.manipulationStartX2+re.x-this.manipulationStartX,this.y2=this.manipulationStartY2+re.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(re)},ne.prototype.resize=function(re){switch(this.activeGrip){case this.grip1:this.x1=re.x,this.y1=re.y;break;case this.grip2:case void 0:this.x2=re.x,this.y2=re.y}this.adjustVisual(),this.adjustControlBox()},ne.prototype.select=function(){ue.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ue.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=Qe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){this.positionGrips()},ne.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ne.prototype.createGrip=function(){var re=new ht;return re.visual.transform.baseVal.appendItem(Qe.createTransform()),this.controlBox.appendChild(re.visual),re},ne.prototype.positionGrips=function(){var re=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-re/2,this.y1-re/2),this.positionGrip(this.grip2.visual,this.x2-re/2,this.y2-re/2)},ne.prototype.positionGrip=function(re,ae,he){var oe=re.transform.baseVal.getItem(0);oe.setTranslate(ae,he),re.transform.baseVal.replaceItem(oe,0)},ne.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ue.prototype.getState.call(this))},ne.prototype.restoreState=function(re){ue.prototype.restoreState.call(this,re);var ae=re;this.x1=ae.x1,this.y1=ae.y1,this.x2=ae.x2,this.y2=ae.y2},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.x1=this.x1*re,this.y1=this.y1*ae,this.x2=this.x2*re,this.y2=this.y2*ae,this.adjustVisual(),this.adjustControlBox()},ne}(Oe),yt=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.strokeColor=he.defaultColor,oe.strokeWidth=he.defaultStrokeWidth,oe.strokeDasharray=he.defaultStrokeDasharray,oe.strokePanel=new ze("Line color",he.defaultColorSet,he.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.strokeWidthPanel=new lt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new At("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.visual&&re!==this.selectorLine&&re!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=Qe.createGroup(),this.selectorLine=Qe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=Qe.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)},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ne.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()),Qe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),Qe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),Qe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setStrokeColor=function(re){this.strokeColor=re,this.adjustVisual(),this.colorChanged(re)},ne.prototype.setStrokeWidth=function(re){this.strokeWidth=re,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(re){this.strokeDasharray=re,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){ue.prototype.restoreState.call(this,re);var ae=re;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.createVisual(),this.adjustVisual()},ne.typeName="LineMarker",ne.title="Line marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ne}(Je),We=function(ue){function ne(re,ae,he,oe){var Se=ue.call(this,re,oe||'<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 Se.fonts=[],Se.fontBoxes=[],Se.fonts=ae,Se.currentFont=he,Se.setCurrentFont=Se.setCurrentFont.bind(Se),Se}return ct(ne,ue),ne.prototype.getUi=function(){var re=this,ae=document.createElement("div");return ae.style.overflow="hidden",ae.style.flexGrow="2",this.fonts.forEach(function(he){var oe=document.createElement("div");oe.style.display="inline-block",oe.style.alignItems="center",oe.style.justifyContent="space-between",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.overflow="hidden",oe.style.maxWidth=100/re.fonts.length-5+"%",oe.style.borderColor=he===re.currentFont?re.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){re.setCurrentFont(he,oe)}),ae.appendChild(oe);var Se=document.createElement("div");Se.style.display="flex",Se.style.minHeight="20px",Se.style.flexGrow="2",Se.style.fontFamily=he,Se.style.overflow="hidden";var rt=document.createElement("div");rt.style.whiteSpace="nowrap",rt.style.overflow="hidden",rt.style.textOverflow="ellipsis",rt.innerHTML="The quick brown fox jumps over the lazy dog",Se.appendChild(rt),oe.appendChild(Se),re.fontBoxes.push(oe)}),ae},ne.prototype.setCurrentFont=function(re,ae){var he=this;this.currentFont=re,this.fontBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}(Ge),$e=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.color="transparent",oe.padding=5,oe.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",oe.text=oe.DEFAULT_TEXT,oe.isMoved=!1,oe.color=he.defaultColor,oe.fontFamily=he.defaultFontFamily,oe.defaultSize={x:100,y:30},oe.setColor=oe.setColor.bind(oe),oe.setFont=oe.setFont.bind(oe),oe.renderText=oe.renderText.bind(oe),oe.sizeText=oe.sizeText.bind(oe),oe.textEditDivClicked=oe.textEditDivClicked.bind(oe),oe.showTextEditor=oe.showTextEditor.bind(oe),oe.setSize=oe.setSize.bind(oe),oe.positionTextEditor=oe.positionTextEditor.bind(oe),oe.colorPanel=new ze("Color",he.defaultColorSet,he.defaultColor),oe.colorPanel.onColorChanged=oe.setColor,oe.fontFamilyPanel=new We("Font",he.defaultFontFamilies,he.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){if(ue.prototype.ownsTarget.call(this,re)||re===this.visual||re===this.textElement||re===this.bgRectangle)return!0;var ae=!1;return this.textElement.childNodes.forEach(function(he){he===re&&(ae=!0)}),ae},ne.prototype.createVisual=function(){this.visual=Qe.createGroup(),this.bgRectangle=Qe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=Qe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(Qe.createTransform()),this.textElement.transform.baseVal.appendItem(Qe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.isMoved=!1,this.pointerDownPoint=re,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(re),this._state="creating")},ne.prototype.renderText=function(){var re=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(ae){re.textElement.appendChild(Qe.createTSpan(ae.trim()===""?" ":ae.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ne.prototype.getTextScale=function(){var re=this.textElement.getBBox(),ae=1;if(re.width>0&&re.height>0){var he=(1*this.width-this.width*this.padding*2/100)/re.width,oe=(1*this.height-this.height*this.padding*2/100)/re.height;ae=Math.min(he,oe)}return ae},ne.prototype.getTextPosition=function(re){var ae=this.textElement.getBBox(),he=0,oe=0;return ae.width>0&&ae.height>0&&(he=(this.width-ae.width*re)/2,oe=this.height/2-ae.height*re/2),{x:he,y:oe}},ne.prototype.sizeText=function(){var re=this.textElement.getBBox(),ae=this.getTextScale(),he=this.getTextPosition(ae);he.y-=re.y*ae,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+he.x+"px, "+he.y+"px) scale("+ae+", "+ae+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(he.x,he.y),this.textElement.transform.baseVal.getItem(1).setScale(ae,ae))},ne.prototype.manipulate=function(re){ue.prototype.manipulate.call(this,re),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(re.x-this.pointerDownPoint.x)>5||Math.abs(re.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(re){ue.prototype.resize.call(this,re),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){ue.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(Qe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Qe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ne.prototype.pointerUp=function(re){var ae=this.state;ae==="creating"&&(this._suppressMarkerCreateEvent=!0),ue.prototype.pointerUp.call(this,re),this.setSize(),(ae==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.showTextEditor=function(){var re=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(ae){ae.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ae=Number.parseFloat(re.textEditor.style.fontSize);re.textEditor.clientWidth>=Number.parseInt(re.textEditor.style.maxWidth)&&ae>.9;)ae-=.1,re.textEditor.style.fontSize=Math.max(ae,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ae){if(ae.clipboardData){var he=ae.clipboardData.getData("text"),oe=window.getSelection();if(!oe.rangeCount)return!1;oe.deleteFromDocument(),oe.getRangeAt(0).insertNode(document.createTextNode(he)),ae.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){re.textEditDivClicked(re.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ne.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var re=this.getTextScale(),ae=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),he=this.textElement.getBBox(),oe={x:he.width*re,y:he.height*re};ae.x-=oe.x/2,ae.y-=oe.y/2,this.textEditor.style.top=ae.y+"px",this.textEditor.style.left=ae.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ae.x+"px",this.textEditor.style.fontSize=Math.max(16*re,12)+"px",this.textElement.style.display="none"}},ne.prototype.textEditDivClicked=function(re){this.text=re.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ne.prototype.select=function(){ue.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ue.prototype.deselect.call(this)},ne.prototype.dblClick=function(re,ae){ue.prototype.dblClick.call(this,re,ae),this.showTextEditor()},ne.prototype.setColor=function(re){this.textElement&&Qe.setAttributes(this.textElement,[["fill",re]]),this.color=re,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(re)},ne.prototype.setFont=function(re){this.textElement&&Qe.setAttributes(this.textElement,[["font-family",re]]),this.fontFamily=re,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ne.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ne.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){var ae=re;this.color=ae.color,this.fontFamily=ae.fontFamily,this.padding=ae.padding,this.text=ae.text,this.createVisual(),ue.prototype.restoreState.call(this,re),this.setSize()},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.setSize(),this.sizeText(),this.positionTextEditor()},ne.typeName="TextMarker",ne.title="Text marker",ne.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>',ne}(et),_e=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.color="transparent",oe.lineWidth=3,oe.drawing=!1,oe.pixelRatio=1,oe.color=he.defaultColor,oe.lineWidth=he.defaultStrokeWidth,oe.pixelRatio=he.freehandPixelRatio,oe.setColor=oe.setColor.bind(oe),oe.addCanvas=oe.addCanvas.bind(oe),oe.finishCreation=oe.finishCreation.bind(oe),oe.setLineWidth=oe.setLineWidth.bind(oe),oe.colorPanel=new ze("Color",he.defaultColorSet,he.defaultColor),oe.colorPanel.onColorChanged=oe.setColor,oe.lineWidthPanel=new lt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),oe.lineWidthPanel.onWidthChanged=oe.setLineWidth,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.visual&&re!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=Qe.createGroup(),this.drawingImage=Qe.createImage(),this.visual.appendChild(this.drawingImage);var re=Qe.createTransform();this.visual.transform.baseVal.appendItem(re),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(re,ae){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(re.x,re.y),this.drawing=!0):ue.prototype.pointerDown.call(this,re,ae)},ne.prototype.manipulate=function(re){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(re.x,re.y),this.canvasContext.stroke()):ue.prototype.manipulate.call(this,re)},ne.prototype.resize=function(re){ue.prototype.resize.call(this,re),Qe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),Qe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(re){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ue.prototype.pointerUp.call(this,re)},ne.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)},ne.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ue.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ue.prototype.deselect.call(this)},ne.prototype.finishCreation=function(){for(var re=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ae=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],he=ae[0],oe=ae[1],Se=ae[2],rt=ae[3],Yt=!1,Ht=0;Ht<this.canvasElement.height;Ht++)for(var Tt=0;Tt<this.canvasElement.width;Tt++)re.data[Ht*this.canvasElement.width*4+4*Tt+3]>0&&(Yt=!0,Ht<oe&&(oe=Ht),Tt<he&&(he=Tt),Ht>rt&&(rt=Ht),Tt>Se&&(Se=Tt));if(Yt){this.left=he/this.pixelRatio,this.top=oe/this.pixelRatio,this.width=(Se-he)/this.pixelRatio,this.height=(rt-oe)/this.pixelRatio;var Pt=document.createElement("canvas");Pt.width=Se-he,Pt.height=rt-oe,Pt.getContext("2d").putImageData(this.canvasContext.getImageData(he,oe,Se-he,rt-oe),0,0),this.drawingImgUrl=Pt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){Qe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),Qe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ne.prototype.setColor=function(re){this.color=re,this.colorChanged(re)},ne.prototype.setLineWidth=function(re){this.lineWidth=re},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=Object.assign({drawingImgUrl:this.drawingImgUrl},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){this.createVisual(),ue.prototype.restoreState.call(this,re),this.drawingImgUrl=re.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.setDrawingImage()},ne.typeName="FreehandMarker",ne.title="Freehand marker",ne.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>',ne}(et),Ze=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,he||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return oe.typeBoxes=[],oe.currentType=ae,oe.setCurrentType=oe.setCurrentType.bind(oe),oe}return ct(ne,ue),ne.prototype.getUi=function(){var re=this,ae=document.createElement("div");ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2";for(var he=function(rt){var Yt="both";switch(rt){case 0:Yt="both";break;case 1:Yt="start";break;case 2:Yt="end";break;case 3:Yt="none"}var Ht=document.createElement("div");if(Ht.style.display="flex",Ht.style.flexGrow="2",Ht.style.alignItems="center",Ht.style.justifyContent="space-between",Ht.style.padding="5px",Ht.style.borderWidth="2px",Ht.style.borderStyle="solid",Ht.style.borderColor=Yt===oe.currentType?oe.uiStyleSettings.toolboxAccentColor:"transparent",Ht.addEventListener("click",function(){re.setCurrentType(Yt,Ht)}),ae.appendChild(Ht),Yt==="both"||Yt==="start"){var Tt=document.createElement("div");Tt.style.display="flex",Tt.style.alignItems="center",Tt.style.minHeight="20px",Tt.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="`+(oe.uiStyleSettings!==void 0?oe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,Tt.style.marginLeft="5px",Ht.appendChild(Tt)}var Pt=document.createElement("div");Pt.style.display="flex",Pt.style.alignItems="center",Pt.style.minHeight="20px",Pt.style.flexGrow="2";var pA=document.createElement("hr");if(pA.style.minWidth="20px",pA.style.border="0px",pA.style.borderTop="3px solid "+(oe.uiStyleSettings!==void 0?oe.uiStyleSettings.toolboxColor:"#eeeeee"),pA.style.flexGrow="2",Pt.appendChild(pA),Ht.appendChild(Pt),Yt==="both"||Yt==="end"){var vA=document.createElement("div");vA.style.display="flex",vA.style.alignItems="center",vA.style.minHeight="20px",vA.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="`+(oe.uiStyleSettings!==void 0?oe.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,vA.style.marginRight="5px",Ht.appendChild(vA)}oe.typeBoxes.push(Ht)},oe=this,Se=0;Se<4;Se++)he(Se);return ae},ne.prototype.setCurrentType=function(re,ae){var he=this;this.currentType=re,this.typeBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?he.uiStyleSettings!==void 0?he.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}(Ge),Mt=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.arrowType="end",oe.arrowBaseHeight=10,oe.arrowBaseWidth=10,oe.getArrowPoints=oe.getArrowPoints.bind(oe),oe.setArrowType=oe.setArrowType.bind(oe),oe.arrowTypePanel=new Ze("Arrow type","end"),oe.arrowTypePanel.onArrowTypeChanged=oe.setArrowType,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.arrow1&&re!==this.arrow2)},ne.prototype.getArrowPoints=function(re,ae){var he=this.arrowBaseWidth+2*this.strokeWidth,oe=this.arrowBaseHeight+2*this.strokeWidth;return re-he/2+","+(ae+oe/2)+" "+re+","+(ae-oe/2)+" "+(re+he/2)+","+(ae+oe/2)},ne.prototype.createTips=function(){this.arrow1=Qe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(Qe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=Qe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(Qe.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(ue.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",Qe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),Qe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var re=0;Math.abs(this.x1-this.x2)>.1&&(re=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ae=this.arrow1.transform.baseVal.getItem(0);ae.setRotate(re,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ae,0);var he=this.arrow2.transform.baseVal.getItem(0);he.setRotate(re+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(he,0)}},ne.prototype.setArrowType=function(re){this.arrowType=re,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=Object.assign({arrowType:this.arrowType},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){ue.prototype.restoreState.call(this,re);var ae=re;this.arrowType=ae.arrowType,this.createTips(),this.adjustVisual()},ne.typeName="ArrowMarker",ne.title="Arrow marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ne}(yt),Lt=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.fillColor=he.defaultFillColor,oe.strokeWidth=0,oe.fillPanel=new ze("Color",he.defaultColorSet,he.defaultFillColor),oe.fillPanel.onColorChanged=oe.setFillColor,oe}return ct(ne,ue),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=ue.prototype.getState.call(this);return re.typeName=ne.typeName,re},ne.typeName="CoverMarker",ne.title="Cover marker",ne.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ne}(nt),aA=function(ue){function ne(re,ae,he,oe){var Se=ue.call(this,re,oe||'<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 Se.opacities=[],Se.opacityBoxes=[],Se.opacities=ae,Se.currentOpacity=he,Se.setCurrentOpacity=Se.setCurrentOpacity.bind(Se),Se}return ct(ne,ue),ne.prototype.getUi=function(){var re=this,ae=document.createElement("div");return ae.style.display="flex",ae.style.overflow="hidden",ae.style.flexGrow="2",ae.style.justifyContent="space-between",this.opacities.forEach(function(he){var oe=document.createElement("div");oe.style.display="flex",oe.style.alignItems="center",oe.style.justifyContent="center",oe.style.padding="5px",oe.style.borderWidth="2px",oe.style.borderStyle="solid",oe.style.borderColor=he===re.currentOpacity?re.uiStyleSettings.toolboxAccentColor:"transparent",oe.addEventListener("click",function(){re.setCurrentOpacity(he,oe)}),ae.appendChild(oe);var Se=document.createElement("div");Se.innerText=100*he+"%",oe.appendChild(Se),re.opacityBoxes.push(oe)}),ae},ne.prototype.setCurrentOpacity=function(re,ae){var he=this;this.currentOpacity=re,this.opacityBoxes.forEach(function(oe){oe.style.borderColor=oe===ae?he.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}(Ge),Jt=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.setOpacity=oe.setOpacity.bind(oe),oe.fillColor=he.defaultHighlightColor,oe.strokeWidth=0,oe.opacity=he.defaultHighlightOpacity,oe.fillPanel=new ze("Color",he.defaultColorSet,oe.fillColor),oe.fillPanel.onColorChanged=oe.setFillColor,oe.opacityPanel=new aA("Opacity",he.defaultOpacitySteps,oe.opacity),oe.opacityPanel.onOpacityChanged=oe.setOpacity,oe}return ct(ne,ue),ne.prototype.setOpacity=function(re){this.opacity=re,this.visual&&Qe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=ue.prototype.getState.call(this);return re.typeName=ne.typeName,re},ne.typeName="HighlightMarker",ne.title="Highlight marker",ne.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>',ne}(Lt),be='<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>',de='<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>',Ct=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.bgColor="transparent",oe.tipPosition={x:0,y:0},oe.tipBase1Position={x:0,y:0},oe.tipBase2Position={x:0,y:0},oe.tipMoving=!1,oe.color=he.defaultStrokeColor,oe.bgColor=he.defaultFillColor,oe.fontFamily=he.defaultFontFamily,oe.defaultSize={x:100,y:30},oe.setBgColor=oe.setBgColor.bind(oe),oe.getTipPoints=oe.getTipPoints.bind(oe),oe.positionTip=oe.positionTip.bind(oe),oe.setTipPoints=oe.setTipPoints.bind(oe),oe.colorPanel=new ze("Text color",he.defaultColorSet,oe.color,be),oe.colorPanel.onColorChanged=oe.setColor,oe.bgColorPanel=new ze("Fill color",he.defaultColorSet,oe.bgColor,de),oe.bgColorPanel.onColorChanged=oe.setBgColor,oe.fontFamilyPanel=new We("Font",he.defaultFontFamilies,he.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe.tipGrip=new ht,oe.tipGrip.visual.transform.baseVal.appendItem(Qe.createTransform()),oe.controlBox.appendChild(oe.tipGrip.visual),oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return ue.prototype.ownsTarget.call(this,re)||this.tipGrip.ownsTarget(re)||this.tip===re},ne.prototype.createTip=function(){Qe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=Qe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(re,ae){this.state==="new"&&ue.prototype.pointerDown.call(this,re,ae),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ae)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ue.prototype.pointerDown.call(this,re,ae)},ne.prototype.pointerUp=function(re){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ue.prototype.pointerUp.call(this,re);else{var ae=this.state==="creating";ue.prototype.pointerUp.call(this,re),this.setTipPoints(ae),this.positionTip()}},ne.prototype.manipulate=function(re){if(this.tipMoving){var ae=this.unrotatePoint(re);this.tipPosition={x:ae.x-this.manipulationStartLeft,y:ae.y-this.manipulationStartTop},this.positionTip()}else ue.prototype.manipulate.call(this,re)},ne.prototype.setBgColor=function(re){this.bgRectangle&&this.tip&&(Qe.setAttributes(this.bgRectangle,[["fill",re]]),Qe.setAttributes(this.tip,[["fill",re]])),this.bgColor=re,this.fillColorChanged(re)},ne.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},ne.prototype.setTipPoints=function(re){re===void 0&&(re=!1);var ae=Math.min(this.height/2,15),he=this.height/5;re&&(this.tipPosition={x:ae+he/2,y:this.height+20});var oe=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?oe<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:0},this.tipBase2Position={x:ae+he,y:0}):(this.tipBase1Position={x:0,y:ae},this.tipBase2Position={x:0,y:ae+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?oe<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-he,y:0},this.tipBase2Position={x:this.width-ae,y:0}):(this.tipBase1Position={x:this.width,y:ae},this.tipBase2Position={x:this.width,y:ae+he}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?oe<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ae-he,y:this.height},this.tipBase2Position={x:this.width-ae,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ae-he},this.tipBase2Position={x:this.width,y:this.height-ae}):oe<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(he=this.width/5,ae=Math.min(this.width/2,15),this.tipBase1Position={x:ae,y:this.height},this.tipBase2Position={x:ae+he,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ae},this.tipBase2Position={x:0,y:this.height-ae-he})},ne.prototype.resize=function(re){ue.prototype.resize.call(this,re),this.positionTip()},ne.prototype.positionTip=function(){Qe.setAttributes(this.tip,[["points",this.getTipPoints()]]);var re=this.tipGrip.visual.transform.baseVal.getItem(0);re.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(re,0)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.select=function(){this.positionTip(),ue.prototype.select.call(this)},ne.prototype.getState=function(){var re=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){var ae=re;this.bgColor=ae.bgColor,this.tipPosition=ae.tipPosition,ue.prototype.restoreState.call(this,re),this.createTip(),this.setTipPoints()},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.tipPosition={x:this.tipPosition.x*re,y:this.tipPosition.y*ae},this.positionTip()},ne.typeName="CalloutMarker",ne.title="Callout marker",ne.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>',ne}($e),qt=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.fillColor="transparent",oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.opacity=1,oe.strokeColor=he.defaultColor,oe.strokeWidth=he.defaultStrokeWidth,oe.strokeDasharray=he.defaultStrokeDasharray,oe.fillColor=he.defaultFillColor,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setFillColor=oe.setFillColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.setOpacity=oe.setOpacity.bind(oe),oe.createVisual=oe.createVisual.bind(oe),oe.strokePanel=new ze("Line color",Ee(he.defaultColorSet,["transparent"]),he.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.fillPanel=new ze("Fill color",Ee(he.defaultColorSet,["transparent"]),oe.fillColor,de),oe.fillPanel.onColorChanged=oe.setFillColor,oe.strokeWidthPanel=new lt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new At("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe.opacityPanel=new aA("Opacity",he.defaultOpacitySteps,oe.opacity),oe.opacityPanel.onOpacityChanged=oe.setOpacity,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.visual)},ne.prototype.createVisual=function(){this.visual=Qe.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)},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.state==="new"&&(this.createVisual(),this.moveVisual(re),this._state="creating")},ne.prototype.manipulate=function(re){ue.prototype.manipulate.call(this,re)},ne.prototype.resize=function(re){ue.prototype.resize.call(this,re),this.setSize()},ne.prototype.setSize=function(){ue.prototype.setSize.call(this),Qe.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ne.prototype.pointerUp=function(re){ue.prototype.pointerUp.call(this,re),this.setSize()},ne.prototype.setStrokeColor=function(re){this.strokeColor=re,this.visual&&Qe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(re),this.stateChanged()},ne.prototype.setFillColor=function(re){this.fillColor=re,this.visual&&Qe.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(re),this.stateChanged()},ne.prototype.setStrokeWidth=function(re){this.strokeWidth=re,this.visual&&Qe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(re){this.strokeDasharray=re,this.visual&&Qe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.setOpacity=function(re){this.opacity=re,this.visual&&Qe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){var ae=re;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.opacity=ae.opacity,this.createVisual(),ue.prototype.restoreState.call(this,re),this.setSize()},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.setSize()},ne.typeName="EllipseMarker",ne.title="Ellipse marker",ne.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>',ne}(et),Rt=function(ue){function ne(re,ae,he){return ue.call(this,re,ae,he)||this}return ct(ne,ue),Object.defineProperty(ne.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.tip1&&re!==this.tip2)},ne.prototype.createTips=function(){this.tip1=Qe.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(Qe.createTransform()),this.visual.appendChild(this.tip1),this.tip2=Qe.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(Qe.createTransform()),this.visual.appendChild(this.tip2)},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(ue.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(Qe.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()]]),Qe.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 re=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ae=this.tip1.transform.baseVal.getItem(0);ae.setRotate(re,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ae,0);var he=this.tip2.transform.baseVal.getItem(0);he.setRotate(re+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(he,0)}},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=ue.prototype.getState.call(this);return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){ue.prototype.restoreState.call(this,re),this.createTips(),this.adjustVisual()},ne.typeName="MeasurementMarker",ne.title="Measurement marker",ne.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>',ne}(yt),Ve=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.strokePanel.colors=he.defaultColorSet,oe.fillColor="transparent",oe}return ct(ne,ue),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=ue.prototype.getState.call(this);return re.typeName=ne.typeName,re},ne.typeName="EllipseFrameMarker",ne.title="Ellipse frame marker",ne.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>',ne}(qt),pt=function(){function ue(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ue.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ue.prototype.addUndoStep=function(ne){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ne)||(this.undoStack.push(ne),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ne)&&this.redoStack.splice(0,this.redoStack.length))},ue.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},ue.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ue.prototype.undo=function(){if(this.undoStack.length>1){var ne=this.undoStack.pop();return ne!==void 0&&this.redoStack.push(ne),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ue.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ue}(),ft=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.curveX=0,oe.curveY=0,oe.manipulationStartCurveX=0,oe.manipulationStartCurveY=0,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.positionGrips=oe.positionGrips.bind(oe),oe.addControlGrips=oe.addControlGrips.bind(oe),oe.adjustVisual=oe.adjustVisual.bind(oe),oe.setupControlBox=oe.setupControlBox.bind(oe),oe.resize=oe.resize.bind(oe),oe.strokeColor=he.defaultColor,oe.strokeWidth=he.defaultStrokeWidth,oe.strokeDasharray=he.defaultStrokeDasharray,oe.strokePanel=new ze("Line color",he.defaultColorSet,he.defaultColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.strokeWidthPanel=new lt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new At("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.visual&&re!==this.selectorCurve&&re!==this.visibleCurve&&!this.curveGrip.ownsTarget(re))},ne.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ne.prototype.createVisual=function(){this.visual=Qe.createGroup(),this.selectorCurve=Qe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=Qe.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)},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=re.x,this.curveY=re.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ae)&&(this.activeGrip=this.curveGrip,this._state="resize")},ne.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),Qe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),Qe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),Qe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){ue.prototype.setupControlBox.call(this),this.curveControlLine1=Qe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=Qe.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)},ne.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ue.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){ue.prototype.positionGrips.call(this);var re=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-re/2,this.curveY-re/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()))},ne.prototype.manipulate=function(re){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+re.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+re.y-this.manipulationStartY),ue.prototype.manipulate.call(this,re)},ne.prototype.resize=function(re){this.activeGrip===this.curveGrip&&(this.curveX=re.x,this.curveY=re.y),ue.prototype.resize.call(this,re),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ne.prototype.setStrokeColor=function(re){this.strokeColor=re,this.adjustVisual(),this.colorChanged(re)},ne.prototype.setStrokeWidth=function(re){this.strokeWidth=re,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(re){this.strokeDasharray=re,this.adjustVisual()},ne.prototype.scale=function(re,ae){this.curveX=this.curveX*re,this.curveY=this.curveY*ae,ue.prototype.scale.call(this,re,ae)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ue.prototype.getState.call(this));return re.typeName=ne.typeName,re},ne.prototype.restoreState=function(re){ue.prototype.restoreState.call(this,re);var ae=re;this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.curveX=ae.curveX,this.curveY=ae.curveY,this.createVisual(),this.adjustVisual()},ne.typeName="CurveMarker",ne.title="Curve marker",ne.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>',ne}(Je),$t=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,ae,he)||this;return oe.fillColor="transparent",oe.strokeColor="transparent",oe.strokeWidth=0,oe.strokeDasharray="",oe.textColor="transparent",oe.fontSize="1rem",oe.isMoved=!1,oe.captionText="Caption",oe.PADDING=5,oe.captionBoxWidth=0,oe.captionBoxHeight=0,oe.strokeColor=he.defaultColor,oe.strokeWidth=he.defaultStrokeWidth,oe.strokeDasharray=he.defaultStrokeDasharray,oe.fillColor=he.defaultFillColor,oe.textColor=he.defaultStrokeColor,oe.fontFamily=he.defaultFontFamily,oe.fontSize=he.defaultCaptionFontSize,oe.captionText=he.defaultCaptionText,oe.setStrokeColor=oe.setStrokeColor.bind(oe),oe.setFillColor=oe.setFillColor.bind(oe),oe.setStrokeWidth=oe.setStrokeWidth.bind(oe),oe.setStrokeDasharray=oe.setStrokeDasharray.bind(oe),oe.createVisual=oe.createVisual.bind(oe),oe.sizeCaption=oe.sizeCaption.bind(oe),oe.setCaptionText=oe.setCaptionText.bind(oe),oe.showTextEditor=oe.showTextEditor.bind(oe),oe.positionTextEditor=oe.positionTextEditor.bind(oe),oe.finishTextEditing=oe.finishTextEditing.bind(oe),oe.setFont=oe.setFont.bind(oe),oe.setTextColor=oe.setTextColor.bind(oe),oe.strokePanel=new ze("Line color",Ee(he.defaultColorSet,["transparent"]),oe.strokeColor),oe.strokePanel.onColorChanged=oe.setStrokeColor,oe.fillPanel=new ze("Fill color",Ee(he.defaultColorSet,["transparent"]),oe.fillColor,de),oe.fillPanel.onColorChanged=oe.setFillColor,oe.strokeWidthPanel=new lt("Line width",he.defaultStrokeWidths,he.defaultStrokeWidth),oe.strokeWidthPanel.onWidthChanged=oe.setStrokeWidth,oe.strokeStylePanel=new At("Line style",he.defaultStrokeDasharrays,he.defaultStrokeDasharray),oe.strokeStylePanel.onStyleChanged=oe.setStrokeDasharray,oe.fontFamilyPanel=new We("Font",he.defaultFontFamilies,he.defaultFontFamily),oe.fontFamilyPanel.onFontChanged=oe.setFont,oe.textColorPanel=new ze("Text color",he.defaultColorSet,oe.textColor,be),oe.textColorPanel.onColorChanged=oe.setTextColor,oe}return ct(ne,ue),ne.prototype.ownsTarget=function(re){return!(!ue.prototype.ownsTarget.call(this,re)&&re!==this.visual&&re!==this.frame&&re!==this.captionBg&&re!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=Qe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=Qe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=Qe.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=Qe.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()},ne.prototype.setCaptionText=function(re){this.captionText=re,this.captionElement.textContent=this.captionText,this.sizeCaption()},ne.prototype.pointerDown=function(re,ae){ue.prototype.pointerDown.call(this,re,ae),this.isMoved=!1,this.pointerDownPoint=re,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(re),this._state="creating")},ne.prototype.manipulate=function(re){ue.prototype.manipulate.call(this,re),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(re.x-this.pointerDownPoint.x)>5||Math.abs(re.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(re){ue.prototype.resize.call(this,re),this.setSize()},ne.prototype.sizeCaption=function(){var re=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=re.width+2*this.PADDING,this.captionBoxHeight=re.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),Qe.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')"]]),Qe.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')"]])},ne.prototype.showTextEditor=function(){var re=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(ae){ae.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ae){ae.key==="Enter"&&re.finishTextEditing(re.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ae){ae.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){re.finishTextEditing(re.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){re.finishTextEditing(re.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ne.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"))},ne.prototype.finishTextEditing=function(re){this.setCaptionText(re.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ne.prototype.setFont=function(re){this.captionElement&&Qe.setAttributes(this.captionElement,[["font-family",re]]),this.fontFamily=re,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ne.prototype.setTextColor=function(re){this.captionElement&&Qe.setAttributes(this.captionElement,[["fill",re]]),this.textColor=re,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){ue.prototype.setSize.call(this),Qe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(re){ue.prototype.pointerUp.call(this,re),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.dblClick=function(re,ae){ue.prototype.dblClick.call(this,re,ae),this.showTextEditor()},ne.prototype.setStrokeColor=function(re){this.strokeColor=re,this.frame&&Qe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(re),this.stateChanged()},ne.prototype.setFillColor=function(re){this.fillColor=re,this.captionBg&&Qe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(re),this.stateChanged()},ne.prototype.setStrokeWidth=function(re){this.strokeWidth=re,this.frame&&Qe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(re){this.strokeDasharray=re,this.frame&&Qe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var re=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},ue.prototype.getState.call(this));return re.typeName=this.typeName,re},ne.prototype.restoreState=function(re){var ae=re;this.fillColor=ae.fillColor,this.strokeColor=ae.strokeColor,this.strokeWidth=ae.strokeWidth,this.strokeDasharray=ae.strokeDasharray,this.textColor=ae.textColor,this.fontFamily=ae.fontFamily,this.captionText=ae.captionText,this.fontSize=ae.fontSize,this.createVisual(),ue.prototype.restoreState.call(this,re),this.setSize()},ne.prototype.scale=function(re,ae){ue.prototype.scale.call(this,re,ae),this.setSize()},ne.typeName="CaptionFrameMarker",ne.title="Caption frame marker",ne.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>',ne}(et),It=function(){function ue(ne,re){re===void 0&&(re=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=re}return Object.defineProperty(ue.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ue.prototype.preventDefault=function(){this._defaultPrevented=!0},ue}(),eA=function(ue){function ne(re,ae,he){var oe=ue.call(this,re,!1)||this;return oe.dataUrl=ae,oe.state=he,oe}return ct(ne,ue),ne}(It),Me=function(ue){function ne(re,ae,he){he===void 0&&(he=!1);var oe=ue.call(this,re,he)||this;return oe.marker=ae,oe}return ct(ne,ue),ne}(It),Bt=function(){function ue(){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 ue.prototype.addEventListener=function(ne,re){this[ne].push(re)},ue.prototype.removeEventListener=function(ne,re){var ae=this[ne].indexOf(re);ae>-1&&this[ne].splice(ae,1)},ue}(),xt=function(){function ue(ne){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new it,this._isOpen=!1,this.undoRedoManager=new pt,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=ue.instanceCounter++,this.styles=new Ce(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ne,this.targetRoot=document.body,this.width=ne.clientWidth,this.height=ne.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(ue.prototype,"ALL_MARKER_TYPES",{get:function(){return[uA,_e,Mt,$e,Ve,qt,Jt,Ct,Rt,Lt,yt,ft,$t]},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[uA,_e,Mt,$e,qt,Jt,Ct]},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"BASIC_MARKER_TYPES",{get:function(){return[uA,_e,Mt,$e,Jt]},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var re=this;this._availableMarkerTypes.splice(0),ne.forEach(function(ae){if(typeof ae=="string"){var he=re.ALL_MARKER_TYPES.find(function(oe){return oe.typeName===ae});he!==void 0&&re._availableMarkerTypes.push(he)}else re._availableMarkerTypes.push(ae)})},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ne){this._zoomLevel=ne,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(ue.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ue.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Ye.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ue.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Ue.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ue.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(re){return re(new It(ne))})},ue.prototype.render=function(){return Le(this,void 0,void 0,function(){var ne;return je(this,function(re){switch(re.label){case 0:return this.setCurrentMarker(),(ne=new Ke).naturalSize=this.renderAtNaturalSize,ne.imageType=this.renderImageType,ne.imageQuality=this.renderImageQuality,ne.markersOnly=this.renderMarkersOnly,ne.width=this.renderWidth,ne.height=this.renderHeight,[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return re.sent(),[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,re.sent()]}})})},ue.prototype.close=function(ne){var re=this;if(ne===void 0&&(ne=!1),this.isOpen){var ae=!1;ne||this.eventListeners.beforeclose.forEach(function(he){var oe=new It(re,!0);he(oe),oe.defaultPrevented&&(ae=!0)}),ae||(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 It(re))}),this.detachEvents(),this._isOpen=!1)}},ue.prototype.addMarkersToToolbar=function(){for(var ne,re=[],ae=0;ae<arguments.length;ae++)re[ae]=arguments[ae];(ne=this._availableMarkerTypes).push.apply(ne,re)},ue.prototype.addRenderEventListener=function(ne){this.addEventListener("render",function(re){ne(re.dataUrl,re.state)})},ue.prototype.removeRenderEventListener=function(ne){},ue.prototype.addCloseEventListener=function(ne){this.addEventListener("close",function(){ne()})},ue.prototype.removeCloseEventListener=function(ne){},ue.prototype.setupResizeObserver=function(){var ne=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ne.resize(ne.target.clientWidth,ne.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ne.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ue.prototype.onPopupTargetResize=function(){var ne=1*this.target.clientWidth/this.target.clientHeight,re=this.editorCanvas.clientWidth/ne>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ne:this.editorCanvas.clientWidth,ae=re<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ne;this.resize(re,ae)},ue.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ue.prototype.resize=function(ne,re){this._isResizing=!0;var ae=ne/this.imageWidth,he=re/this.imageHeight;this.imageWidth=Math.round(ne),this.imageHeight=Math.round(re),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(ae,he),this._isResizing=!1},ue.prototype.scaleMarkers=function(ne,re){var ae,he=this;this._currentMarker&&this._currentMarker instanceof $e?this._currentMarker.scale(ne,re):(ae=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(oe){oe!==he._currentMarker&&oe.scale(ne,re)}),ae!==void 0&&this.setCurrentMarker(ae)},ue.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"},ue.prototype.setTopLeft=function(){var ne=this.editingTarget.getBoundingClientRect(),re=this.editorCanvas.getBoundingClientRect();this.left=ne.left-re.left,this.top=ne.top-re.top},ue.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)},ue.prototype.addDefs=function(){for(var ne,re=[],ae=0;ae<arguments.length;ae++)re[ae]=arguments[ae];this.defs=Qe.createDefs(),this.addDefsToImage(),(ne=this.defs).append.apply(ne,re)},ue.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},ue.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)},ue.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},ue.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},ue.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)},ue.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},ue.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)},ue.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 ne=document.createElement("a");ne.href="https://markerjs.com/",ne.target="_blank",ne.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>',ne.title="Powered by marker.js",ne.style.display="grid",ne.style.alignItems="center",ne.style.justifyItems="center",ne.style.padding="3px",ne.style.width="20px",ne.style.height="20px",this.logoUI.appendChild(ne),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ue.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")},ue.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"},ue.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ue.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 ne=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=ne+"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 Dt(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 Xe(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},ue.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},ue.prototype.removeMarker=function(ne){this.markerImage.removeChild(ne.container),this.markers.indexOf(ne)>-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},ue.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())},ue.prototype.toolbarButtonClicked=function(ne,re){if(ne==="marker"&&re!==void 0)this.createNewMarker(re);else if(ne==="action")switch(re){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()}},ue.prototype.deleteSelectedMarker=function(){var ne=this;if(this._currentMarker!==void 0){var re=!1;if(this.eventListeners.markerbeforedelete.forEach(function(he){var oe=new Me(ne,ne._currentMarker,!0);he(oe),oe.defaultPrevented&&(re=!0)}),!re){var ae=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 Me(ne,ae))})}}},ue.prototype.clear=function(){var ne=this,re=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Se){var rt=new Me(ne,void 0,!0);Se(rt),rt.defaultPrevented&&(re=!0)}),!re)){this.setCurrentMarker();for(var ae=function(Se){var rt=he.markers[Se];he.setCurrentMarker(he.markers[Se]),he._currentMarker.dispose(),he.markerImage.removeChild(he._currentMarker.container),he.markers.splice(he.markers.indexOf(he._currentMarker),1),he.eventListeners.markerdelete.forEach(function(Yt){return Yt(new Me(ne,rt))})},he=this,oe=this.markers.length-1;oe>=0;oe--)ae(oe);this.addUndoStep()}},Object.defineProperty(ue.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ue.prototype.showNotesEditor=function(){var ne;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=(ne=this._currentMarker.notes)!==null&&ne!==void 0?ne:"",this.overlayContainer.appendChild(this.notesArea))},ue.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)},ue.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ue.prototype.addUndoStep=function(){var ne=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var re=this.getState(),ae=this.undoRedoManager.getLastUndoStep();if(!ae||ae.width===re.width&&ae.height===re.height){var he=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(re),he<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(oe){return oe(new It(ne))})}else this.undoRedoManager.replaceLastUndoStep(re),this.eventListeners.statechange.forEach(function(oe){return oe(new It(ne))})}},ue.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ue.prototype.undoStep=function(){var ne=this,re=this.undoRedoManager.undo();re!==void 0&&(this.restoreState(re),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new It(ne))}))},ue.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ue.prototype.redoStep=function(){var ne=this,re=this.undoRedoManager.redo();re!==void 0&&(this.restoreState(re),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ae){return ae(new It(ne))}))},ue.prototype.stepZoom=function(){var ne=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ne<this.zoomSteps.length-1?this.zoomSteps[ne+1]:this.zoomSteps[0]},ue.prototype.panTo=function(ne){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ne.x,top:this.prevPanPoint.y-ne.y}),this.prevPanPoint=ne},ue.prototype.startRenderAndClose=function(){return Le(this,void 0,void 0,function(){var ne,re,ae=this;return je(this,function(he){switch(he.label){case 0:return[4,this.render()];case 1:return ne=he.sent(),re=this.getState(),this.eventListeners.render.forEach(function(oe){return oe(new eA(ae,ne,re))}),this.close(!0),[2]}})})},ue.prototype.getState=function(ne){ne===!0&&this.setCurrentMarker();var re={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ae){return re.markers.push(ae.getState())}),re},ue.prototype.restoreState=function(ne){var re=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ne.markers.forEach(function(ae){var he=re._availableMarkerTypes.find(function(Se){return Se.typeName===ae.typeName});if(he!==void 0){var oe=re.addNewMarker(he);oe.restoreState(ae),re.markers.push(oe)}}),ne.width&&ne.height&&(ne.width!==this.imageWidth||ne.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ne.width,this.imageHeight/ne.height),this.eventListeners.restorestate.forEach(function(ae){return ae(new It(re))})},ue.prototype.addNewMarker=function(ne){var re=Qe.createGroup();return this.markerImage.appendChild(re),new ne(re,this.overlayContainer,this.settings)},ue.prototype.createNewMarker=function(ne){var re,ae=this;(re=typeof ne=="string"?this._availableMarkerTypes.find(function(he){return he.typeName===ne}):ne)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(re),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(re.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(he){return he(new Me(ae,ae._currentMarker))}))},ue.prototype.markerCreated=function(ne){var re=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ne),this.setCurrentMarker(ne),ne instanceof _e&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(_e):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ae){return ae(new Me(re,re._currentMarker))})},ue.prototype.colorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ne,this.settings.defaultStrokeColor=ne)},ue.prototype.fillColorChanged=function(ne){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ne)},ue.prototype.markerStateChanged=function(ne){var re=this;this.eventListeners.markerchange.forEach(function(ae){return ae(new Me(re,ne))})},ue.prototype.setCurrentMarker=function(ne){var re=this;this._currentMarker!==ne&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ae){return ae(new Me(re,re._currentMarker))})),this._currentMarker=ne,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(ae){return ae(new Me(re,re._currentMarker))}))},ue.prototype.onPointerDown=function(ne){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ne.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var re=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});re!==void 0?(this.setCurrentMarker(re),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ne.clientX,y:ne.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ne.clientX,ne.clientY))},ue.prototype.onDblClick=function(ne){if(this._isFocused||this.focus(),this.mode==="select"){var re=this.markers.find(function(ae){return ae.ownsTarget(ne.target)});re!==void 0&&re!==this._currentMarker&&this.setCurrentMarker(re),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ne.clientX,ne.clientY),ne.target):this.setCurrentMarker()}},ue.prototype.onPointerMove=function(ne){this.touchPoints!==1&&ne.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ne.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ne.clientX,ne.clientY)):this.zoomLevel>1&&this.panTo({x:ne.clientX,y:ne.clientY}))},ue.prototype.onPointerUp=function(ne){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ne.clientX,ne.clientY)),this.isDragging=!1,this.addUndoStep()},ue.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ue.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},ue.prototype.clientToLocalCoordinates=function(ne,re){var ae=this.markerImage.getBoundingClientRect();return{x:(ne-ae.left)/this.zoomLevel,y:(re-ae.top)/this.zoomLevel}},ue.prototype.onWindowResize=function(){this.positionUI()},ue.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ne=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"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()},ue.prototype.addLicenseKey=function(ne){Ye.addKey(ne)},ue.prototype.addEventListener=function(ne,re){this.eventListeners.addEventListener(ne,re)},ue.prototype.removeEventListener=function(ne,re){this.eventListeners.removeEventListener(ne,re)},ue.prototype.renderState=function(ne){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ne),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ue.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ue.prototype.focus=function(){var ne=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(re){return re(new It(ne))}))},ue.prototype.blur=function(){var ne=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(re){return re(new It(ne))}))},ue.instanceCounter=0,ue}()},66042:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return $e}});var se=Be(27247),ct=Be(11913),Le=Be(43403),je=Be(34280),Ee=Be(59301),Qe=Ee.createContext(null),Ye=Ee.createContext({}),Ke=Qe,Ue=Be(74430),Ce=Be(32855),bt=Be(92310),Fe=Be.n(bt),Dt=Be(77900),Xe=Be(10228),Ge=Be(26112),ze=Be(43079),Oe=Be(8654),wt=["prefixCls","className","containerRef"],ht=function(Ze){var Mt=Ze.prefixCls,Lt=Ze.className,aA=Ze.containerRef,Jt=(0,ze.Z)(Ze,wt),be=Ee.useContext(Ye),de=be.panel,Ct=(0,Oe.x1)(de,aA);return Ee.createElement("div",(0,Ce.Z)({className:Fe()("".concat(Mt,"-content"),Lt),role:"dialog",ref:Ct},(0,Ge.Z)(Ze,{aria:!0}),{"aria-modal":"true"},Jt))},Ft=ht,et=Be(48736);function nt(_e){return typeof _e=="string"&&String(Number(_e))===_e?((0,et.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(_e)):_e}function lt(_e){warning(!("wrapperClassName"in _e),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!_e.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var At={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function uA(_e,Ze){var Mt,Lt,aA,Jt=_e.prefixCls,be=_e.open,de=_e.placement,Ct=_e.inline,qt=_e.push,Rt=_e.forceRender,Ve=_e.autoFocus,pt=_e.keyboard,ft=_e.classNames,$t=_e.rootClassName,It=_e.rootStyle,eA=_e.zIndex,Me=_e.className,Bt=_e.id,xt=_e.style,ue=_e.motion,ne=_e.width,re=_e.height,ae=_e.children,he=_e.mask,oe=_e.maskClosable,Se=_e.maskMotion,rt=_e.maskClassName,Yt=_e.maskStyle,Ht=_e.afterOpenChange,Tt=_e.onClose,Pt=_e.onMouseEnter,pA=_e.onMouseOver,vA=_e.onMouseLeave,xA=_e.onClick,sA=_e.onKeyDown,Nt=_e.onKeyUp,CA=_e.styles,Xt=_e.drawerRender,IA=Ee.useRef(),mt=Ee.useRef(),GA=Ee.useRef();Ee.useImperativeHandle(Ze,function(){return IA.current});var mA=function(Nr){var vt=Nr.keyCode,Qt=Nr.shiftKey;switch(vt){case Xe.Z.TAB:{if(vt===Xe.Z.TAB){if(!Qt&&document.activeElement===GA.current){var Ot;(Ot=mt.current)===null||Ot===void 0||Ot.focus({preventScroll:!0})}else if(Qt&&document.activeElement===mt.current){var cA;(cA=GA.current)===null||cA===void 0||cA.focus({preventScroll:!0})}}break}case Xe.Z.ESC:{Tt&&pt&&(Nr.stopPropagation(),Tt(Nr));break}}};Ee.useEffect(function(){if(be&&Ve){var ir;(ir=IA.current)===null||ir===void 0||ir.focus({preventScroll:!0})}},[be]);var yA=Ee.useState(!1),MA=(0,ct.Z)(yA,2),dr=MA[0],KA=MA[1],ZA=Ee.useContext(Ke),$A;typeof qt=="boolean"?$A=qt?{}:{distance:0}:$A=qt||{};var Er=(Mt=(Lt=(aA=$A)===null||aA===void 0?void 0:aA.distance)!==null&&Lt!==void 0?Lt:ZA==null?void 0:ZA.pushDistance)!==null&&Mt!==void 0?Mt:180,Yr=Ee.useMemo(function(){return{pushDistance:Er,push:function(){KA(!0)},pull:function(){KA(!1)}}},[Er]);Ee.useEffect(function(){if(be){var ir;ZA==null||(ir=ZA.push)===null||ir===void 0||ir.call(ZA)}else{var Nr;ZA==null||(Nr=ZA.pull)===null||Nr===void 0||Nr.call(ZA)}},[be]),Ee.useEffect(function(){return function(){var ir;ZA==null||(ir=ZA.pull)===null||ir===void 0||ir.call(ZA)}},[]);var cn=he&&Ee.createElement(Dt.default,(0,Ce.Z)({key:"mask"},Se,{visible:be}),function(ir,Nr){var vt=ir.className,Qt=ir.style;return Ee.createElement("div",{className:Fe()("".concat(Jt,"-mask"),vt,ft==null?void 0:ft.mask,rt),style:(0,se.Z)((0,se.Z)((0,se.Z)({},Qt),Yt),CA==null?void 0:CA.mask),onClick:oe&&be?Tt:void 0,ref:Nr})}),jr=typeof ue=="function"?ue(de):ue,Ur={};if(dr&&Er)switch(de){case"top":Ur.transform="translateY(".concat(Er,"px)");break;case"bottom":Ur.transform="translateY(".concat(-Er,"px)");break;case"left":Ur.transform="translateX(".concat(Er,"px)");break;default:Ur.transform="translateX(".concat(-Er,"px)");break}de==="left"||de==="right"?Ur.width=nt(ne):Ur.height=nt(re);var zA={onMouseEnter:Pt,onMouseOver:pA,onMouseLeave:vA,onClick:xA,onKeyDown:sA,onKeyUp:Nt},Ir=Ee.createElement(Dt.default,(0,Ce.Z)({key:"panel"},jr,{visible:be,forceRender:Rt,onVisibleChanged:function(Nr){Ht==null||Ht(Nr)},removeOnLeave:!1,leavedClassName:"".concat(Jt,"-content-wrapper-hidden")}),function(ir,Nr){var vt=ir.className,Qt=ir.style,Ot=Ee.createElement(Ft,(0,Ce.Z)({id:Bt,containerRef:Nr,prefixCls:Jt,className:Fe()(Me,ft==null?void 0:ft.content),style:(0,se.Z)((0,se.Z)({},xt),CA==null?void 0:CA.content)},(0,Ge.Z)(_e,{aria:!0}),zA),ae);return Ee.createElement("div",(0,Ce.Z)({className:Fe()("".concat(Jt,"-content-wrapper"),ft==null?void 0:ft.wrapper,vt),style:(0,se.Z)((0,se.Z)((0,se.Z)({},Ur),Qt),CA==null?void 0:CA.wrapper)},(0,Ge.Z)(_e,{data:!0})),Xt?Xt(Ot):Ot)}),TA=(0,se.Z)({},It);return eA&&(TA.zIndex=eA),Ee.createElement(Ke.Provider,{value:Yr},Ee.createElement("div",{className:Fe()(Jt,"".concat(Jt,"-").concat(de),$t,(0,Ue.Z)((0,Ue.Z)({},"".concat(Jt,"-open"),be),"".concat(Jt,"-inline"),Ct)),style:TA,tabIndex:-1,ref:IA,onKeyDown:mA},cn,Ee.createElement("div",{tabIndex:0,ref:mt,style:At,"aria-hidden":"true","data-sentinel":"start"}),Ir,Ee.createElement("div",{tabIndex:0,ref:GA,style:At,"aria-hidden":"true","data-sentinel":"end"})))}var it=Ee.forwardRef(uA),Je=it,yt=function(Ze){var Mt=Ze.open,Lt=Mt===void 0?!1:Mt,aA=Ze.prefixCls,Jt=aA===void 0?"rc-drawer":aA,be=Ze.placement,de=be===void 0?"right":be,Ct=Ze.autoFocus,qt=Ct===void 0?!0:Ct,Rt=Ze.keyboard,Ve=Rt===void 0?!0:Rt,pt=Ze.width,ft=pt===void 0?378:pt,$t=Ze.mask,It=$t===void 0?!0:$t,eA=Ze.maskClosable,Me=eA===void 0?!0:eA,Bt=Ze.getContainer,xt=Ze.forceRender,ue=Ze.afterOpenChange,ne=Ze.destroyOnClose,re=Ze.onMouseEnter,ae=Ze.onMouseOver,he=Ze.onMouseLeave,oe=Ze.onClick,Se=Ze.onKeyDown,rt=Ze.onKeyUp,Yt=Ze.panelRef,Ht=Ee.useState(!1),Tt=(0,ct.Z)(Ht,2),Pt=Tt[0],pA=Tt[1],vA=Ee.useState(!1),xA=(0,ct.Z)(vA,2),sA=xA[0],Nt=xA[1];(0,je.Z)(function(){Nt(!0)},[]);var CA=sA?Lt:!1,Xt=Ee.useRef(),IA=Ee.useRef();(0,je.Z)(function(){CA&&(IA.current=document.activeElement)},[CA]);var mt=function(dr){var KA;if(pA(dr),ue==null||ue(dr),!dr&&IA.current&&!((KA=Xt.current)!==null&&KA!==void 0&&KA.contains(IA.current))){var ZA;(ZA=IA.current)===null||ZA===void 0||ZA.focus({preventScroll:!0})}},GA=Ee.useMemo(function(){return{panel:Yt}},[Yt]);if(!xt&&!Pt&&!CA&&ne)return null;var mA={onMouseEnter:re,onMouseOver:ae,onMouseLeave:he,onClick:oe,onKeyDown:Se,onKeyUp:rt},yA=(0,se.Z)((0,se.Z)({},Ze),{},{open:CA,prefixCls:Jt,placement:de,autoFocus:qt,keyboard:Ve,width:ft,mask:It,maskClosable:Me,inline:Bt===!1,afterOpenChange:mt,ref:Xt},mA);return Ee.createElement(Ye.Provider,{value:GA},Ee.createElement(Le.Z,{open:CA||xt||Pt,autoDestroy:!1,getContainer:Bt,autoLock:It&&(CA||Pt)},Ee.createElement(Je,yA)))},We=yt,$e=We},25930:function(oA,hA,Be){"use strict";Be.d(hA,{Cd:function(){return yt}});var se=Be(32855),ct=Be(27247),Le=Be(43079),je=Be(59301),Ee=Be(92310),Qe=Be.n(Ee),Ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ke=function(){var _e=(0,je.useRef)([]),Ze=(0,je.useRef)(null);return(0,je.useEffect)(function(){var Mt=Date.now(),Lt=!1;_e.current.forEach(function(aA){if(aA){Lt=!0;var Jt=aA.style;Jt.transitionDuration=".3s, .3s, .3s, .06s",Ze.current&&Mt-Ze.current<100&&(Jt.transitionDuration="0s, 0s")}}),Lt&&(Ze.current=Date.now())}),_e.current},Ue=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ce=function(_e){var Ze=(0,ct.Z)((0,ct.Z)({},Ye),_e),Mt=Ze.className,Lt=Ze.percent,aA=Ze.prefixCls,Jt=Ze.strokeColor,be=Ze.strokeLinecap,de=Ze.strokeWidth,Ct=Ze.style,qt=Ze.trailColor,Rt=Ze.trailWidth,Ve=Ze.transition,pt=(0,Le.Z)(Ze,Ue);delete pt.gapPosition;var ft=Array.isArray(Lt)?Lt:[Lt],$t=Array.isArray(Jt)?Jt:[Jt],It=Ke(),eA=de/2,Me=100-de/2,Bt="M ".concat(be==="round"?eA:0,",").concat(eA,`
|
|
L `).concat(be==="round"?Me:100,",").concat(eA),xt="0 0 100 ".concat(de),ue=0;return je.createElement("svg",(0,se.Z)({className:Qe()("".concat(aA,"-line"),Mt),viewBox:xt,preserveAspectRatio:"none",style:Ct},pt),je.createElement("path",{className:"".concat(aA,"-line-trail"),d:Bt,strokeLinecap:be,stroke:qt,strokeWidth:Rt||de,fillOpacity:"0"}),ft.map(function(ne,re){var ae=1;switch(be){case"round":ae=1-de/100;break;case"square":ae=1-de/2/100;break;default:ae=1;break}var he={strokeDasharray:"".concat(ne*ae,"px, 100px"),strokeDashoffset:"-".concat(ue,"px"),transition:Ve||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},oe=$t[re]||$t[$t.length-1];return ue+=ne,je.createElement("path",{key:re,className:"".concat(aA,"-line-path"),d:Bt,strokeLinecap:be,stroke:oe,strokeWidth:de,fillOpacity:"0",ref:function(rt){It[re]=rt},style:he})}))},bt=Ce,Fe=Be(34666),Dt=Be(11913),Xe=Be(47273),Ge=0,ze=(0,Xe.Z)();function Oe(){var $e;return ze?($e=Ge,Ge+=1):$e="TEST_OR_SSR",$e}var wt=function($e){var _e=je.useState(),Ze=(0,Dt.Z)(_e,2),Mt=Ze[0],Lt=Ze[1];return je.useEffect(function(){Lt("rc_progress_".concat(Oe()))},[]),$e||Mt},ht=function(_e){var Ze=_e.bg,Mt=_e.children;return je.createElement("div",{style:{width:"100%",height:"100%",background:Ze}},Mt)};function Ft($e,_e){return Object.keys($e).map(function(Ze){var Mt=parseFloat(Ze),Lt="".concat(Math.floor(Mt*_e),"%");return"".concat($e[Ze]," ").concat(Lt)})}var et=je.forwardRef(function($e,_e){var Ze=$e.prefixCls,Mt=$e.color,Lt=$e.gradientId,aA=$e.radius,Jt=$e.style,be=$e.ptg,de=$e.strokeLinecap,Ct=$e.strokeWidth,qt=$e.size,Rt=$e.gapDegree,Ve=Mt&&(0,Fe.Z)(Mt)==="object",pt=Ve?"#FFF":void 0,ft=qt/2,$t=je.createElement("circle",{className:"".concat(Ze,"-circle-path"),r:aA,cx:ft,cy:ft,stroke:pt,strokeLinecap:de,strokeWidth:Ct,opacity:be===0?0:1,style:Jt,ref:_e});if(!Ve)return $t;var It="".concat(Lt,"-conic"),eA=Rt?"".concat(180+Rt/2,"deg"):"0deg",Me=Ft(Mt,(360-Rt)/360),Bt=Ft(Mt,1),xt="conic-gradient(from ".concat(eA,", ").concat(Me.join(", "),")"),ue="linear-gradient(to ".concat(Rt?"bottom":"top",", ").concat(Bt.join(", "),")");return je.createElement(je.Fragment,null,je.createElement("mask",{id:It},$t),je.createElement("foreignObject",{x:0,y:0,width:qt,height:qt,mask:"url(#".concat(It,")")},je.createElement(ht,{bg:ue},je.createElement(ht,{bg:xt}))))}),nt=et,lt=100,At=function(_e,Ze,Mt,Lt,aA,Jt,be,de,Ct,qt){var Rt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ve=Mt/100*360*((360-Jt)/360),pt=Jt===0?0:{bottom:0,top:180,left:90,right:-90}[be],ft=(100-Lt)/100*Ze;Ct==="round"&&Lt!==100&&(ft+=qt/2,ft>=Ze&&(ft=Ze-.01));var $t=lt/2;return{stroke:typeof de=="string"?de:void 0,strokeDasharray:"".concat(Ze,"px ").concat(_e),strokeDashoffset:ft+Rt,transform:"rotate(".concat(aA+Ve+pt,"deg)"),transformOrigin:"".concat($t,"px ").concat($t,"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}},uA=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function it($e){var _e=$e!=null?$e:[];return Array.isArray(_e)?_e:[_e]}var Je=function(_e){var Ze=(0,ct.Z)((0,ct.Z)({},Ye),_e),Mt=Ze.id,Lt=Ze.prefixCls,aA=Ze.steps,Jt=Ze.strokeWidth,be=Ze.trailWidth,de=Ze.gapDegree,Ct=de===void 0?0:de,qt=Ze.gapPosition,Rt=Ze.trailColor,Ve=Ze.strokeLinecap,pt=Ze.style,ft=Ze.className,$t=Ze.strokeColor,It=Ze.percent,eA=(0,Le.Z)(Ze,uA),Me=lt/2,Bt=wt(Mt),xt="".concat(Bt,"-gradient"),ue=Me-Jt/2,ne=Math.PI*2*ue,re=Ct>0?90+Ct/2:-90,ae=ne*((360-Ct)/360),he=(0,Fe.Z)(aA)==="object"?aA:{count:aA,gap:2},oe=he.count,Se=he.gap,rt=it(It),Yt=it($t),Ht=Yt.find(function(Nt){return Nt&&(0,Fe.Z)(Nt)==="object"}),Tt=Ht&&(0,Fe.Z)(Ht)==="object",Pt=Tt?"butt":Ve,pA=At(ne,ae,0,100,re,Ct,qt,Rt,Pt,Jt),vA=Ke(),xA=function(){var CA=0;return rt.map(function(Xt,IA){var mt=Yt[IA]||Yt[Yt.length-1],GA=At(ne,ae,CA,Xt,re,Ct,qt,mt,Pt,Jt);return CA+=Xt,je.createElement(nt,{key:IA,color:mt,ptg:Xt,radius:ue,prefixCls:Lt,gradientId:xt,style:GA,strokeLinecap:Pt,strokeWidth:Jt,gapDegree:Ct,ref:function(yA){vA[IA]=yA},size:lt})}).reverse()},sA=function(){var CA=Math.round(oe*(rt[0]/100)),Xt=100/oe,IA=0;return new Array(oe).fill(null).map(function(mt,GA){var mA=GA<=CA-1?Yt[0]:Rt,yA=mA&&(0,Fe.Z)(mA)==="object"?"url(#".concat(xt,")"):void 0,MA=At(ne,ae,IA,Xt,re,Ct,qt,mA,"butt",Jt,Se);return IA+=(ae-MA.strokeDashoffset+Se)*100/ae,je.createElement("circle",{key:GA,className:"".concat(Lt,"-circle-path"),r:ue,cx:Me,cy:Me,stroke:yA,strokeWidth:Jt,opacity:1,style:MA,ref:function(KA){vA[GA]=KA}})})};return je.createElement("svg",(0,se.Z)({className:Qe()("".concat(Lt,"-circle"),ft),viewBox:"0 0 ".concat(lt," ").concat(lt),style:pt,id:Mt,role:"presentation"},eA),!oe&&je.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:ue,cx:Me,cy:Me,stroke:Rt,strokeLinecap:Pt,strokeWidth:be||Jt,style:pA}),oe?sA():xA())},yt=Je,We={Line:bt,Circle:yt}},738:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return Ft}});var se=Be(32855),ct=Be(74430),Le=Be(11913),je=Be(43079),Ee=Be(92310),Qe=Be.n(Ee),Ye=Be(18929),Ke=Be(10228),Ue=Be(26112),Ce=Be(59301);function bt(et,nt){var lt=et.disabled,At=et.prefixCls,uA=et.character,it=et.characterRender,Je=et.index,yt=et.count,We=et.value,$e=et.allowHalf,_e=et.focused,Ze=et.onHover,Mt=et.onClick,Lt=function(Ve){Ze(Ve,Je)},aA=function(Ve){Mt(Ve,Je)},Jt=function(Ve){Ve.keyCode===Ke.Z.ENTER&&Mt(Ve,Je)},be=Je+1,de=new Set([At]);We===0&&Je===0&&_e?de.add("".concat(At,"-focused")):$e&&We+.5>=be&&We<be?(de.add("".concat(At,"-half")),de.add("".concat(At,"-active")),_e&&de.add("".concat(At,"-focused"))):(be<=We?de.add("".concat(At,"-full")):de.add("".concat(At,"-zero")),be===We&&_e&&de.add("".concat(At,"-focused")));var Ct=typeof uA=="function"?uA(et):uA,qt=Ce.createElement("li",{className:Qe()(Array.from(de)),ref:nt},Ce.createElement("div",{onClick:lt?null:aA,onKeyDown:lt?null:Jt,onMouseMove:lt?null:Lt,role:"radio","aria-checked":We>Je?"true":"false","aria-posinset":Je+1,"aria-setsize":yt,tabIndex:lt?-1:0},Ce.createElement("div",{className:"".concat(At,"-first")},Ct),Ce.createElement("div",{className:"".concat(At,"-second")},Ct)));return it&&(qt=it(qt,et)),qt}var Fe=Ce.forwardRef(bt);function Dt(){var et=Ce.useRef({});function nt(At){return et.current[At]}function lt(At){return function(uA){et.current[At]=uA}}return[nt,lt]}function Xe(et){var nt=et.pageXOffset,lt="scrollLeft";if(typeof nt!="number"){var At=et.document;nt=At.documentElement[lt],typeof nt!="number"&&(nt=At.body[lt])}return nt}function Ge(et){var nt,lt,At=et.ownerDocument,uA=At.body,it=At&&At.documentElement,Je=et.getBoundingClientRect();return nt=Je.left,lt=Je.top,nt-=it.clientLeft||uA.clientLeft||0,lt-=it.clientTop||uA.clientTop||0,{left:nt,top:lt}}function ze(et){var nt=Ge(et),lt=et.ownerDocument,At=lt.defaultView||lt.parentWindow;return nt.left+=Xe(At),nt.left}var Oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function wt(et,nt){var lt=et.prefixCls,At=lt===void 0?"rc-rate":lt,uA=et.className,it=et.defaultValue,Je=et.value,yt=et.count,We=yt===void 0?5:yt,$e=et.allowHalf,_e=$e===void 0?!1:$e,Ze=et.allowClear,Mt=Ze===void 0?!0:Ze,Lt=et.keyboard,aA=Lt===void 0?!0:Lt,Jt=et.character,be=Jt===void 0?"\u2605":Jt,de=et.characterRender,Ct=et.disabled,qt=et.direction,Rt=qt===void 0?"ltr":qt,Ve=et.tabIndex,pt=Ve===void 0?0:Ve,ft=et.autoFocus,$t=et.onHoverChange,It=et.onChange,eA=et.onFocus,Me=et.onBlur,Bt=et.onKeyDown,xt=et.onMouseLeave,ue=(0,je.Z)(et,Oe),ne=Dt(),re=(0,Le.Z)(ne,2),ae=re[0],he=re[1],oe=Ce.useRef(null),Se=function(){if(!Ct){var zA;(zA=oe.current)===null||zA===void 0||zA.focus()}};Ce.useImperativeHandle(nt,function(){return{focus:Se,blur:function(){if(!Ct){var zA;(zA=oe.current)===null||zA===void 0||zA.blur()}}}});var rt=(0,Ye.Z)(it||0,{value:Je}),Yt=(0,Le.Z)(rt,2),Ht=Yt[0],Tt=Yt[1],Pt=(0,Ye.Z)(null),pA=(0,Le.Z)(Pt,2),vA=pA[0],xA=pA[1],sA=function(zA,Ir){var TA=Rt==="rtl",ir=zA+1;if(_e){var Nr=ae(zA),vt=ze(Nr),Qt=Nr.clientWidth;(TA&&Ir-vt>Qt/2||!TA&&Ir-vt<Qt/2)&&(ir-=.5)}return ir},Nt=function(zA){Tt(zA),It==null||It(zA)},CA=Ce.useState(!1),Xt=(0,Le.Z)(CA,2),IA=Xt[0],mt=Xt[1],GA=function(){mt(!0),eA==null||eA()},mA=function(){mt(!1),Me==null||Me()},yA=Ce.useState(null),MA=(0,Le.Z)(yA,2),dr=MA[0],KA=MA[1],ZA=function(zA,Ir){var TA=sA(Ir,zA.pageX);TA!==vA&&(KA(TA),xA(null)),$t==null||$t(TA)},$A=function(zA){Ct||(KA(null),xA(null),$t==null||$t(void 0)),zA&&(xt==null||xt(zA))},Er=function(zA,Ir){var TA=sA(Ir,zA.pageX),ir=!1;Mt&&(ir=TA===Ht),$A(),Nt(ir?0:TA),xA(ir?TA:null)},Yr=function(zA){var Ir=zA.keyCode,TA=Rt==="rtl",ir=_e?.5:1;aA&&(Ir===Ke.Z.RIGHT&&Ht<We&&!TA?(Nt(Ht+ir),zA.preventDefault()):Ir===Ke.Z.LEFT&&Ht>0&&!TA||Ir===Ke.Z.RIGHT&&Ht>0&&TA?(Nt(Ht-ir),zA.preventDefault()):Ir===Ke.Z.LEFT&&Ht<We&&TA&&(Nt(Ht+ir),zA.preventDefault())),Bt==null||Bt(zA)};Ce.useEffect(function(){ft&&!Ct&&Se()},[]);var cn=new Array(We).fill(0).map(function(Ur,zA){return Ce.createElement(Fe,{ref:he(zA),index:zA,count:We,disabled:Ct,prefixCls:"".concat(At,"-star"),allowHalf:_e,value:dr===null?Ht:dr,onClick:Er,onHover:ZA,key:Ur||zA,character:be,characterRender:de,focused:IA})}),jr=Qe()(At,uA,(0,ct.Z)((0,ct.Z)({},"".concat(At,"-disabled"),Ct),"".concat(At,"-rtl"),Rt==="rtl"));return Ce.createElement("ul",(0,se.Z)({className:jr,onMouseLeave:$A,tabIndex:Ct?-1:pt,onFocus:Ct?null:GA,onBlur:Ct?null:mA,onKeyDown:Ct?null:Yr,ref:oe},(0,Ue.Z)(ue,{aria:!0,data:!0,attr:!0})),cn)}var ht=Ce.forwardRef(wt),Ft=ht},6551:function(oA,hA,Be){"use strict";Be.d(hA,{ZP:function(){return Ye}});var se=Be(11913),ct=Be(59301),Le=Be(47273),je=0,Ee=(0,Le.Z)();function Qe(){var Ke;return Ee?(Ke=je,je+=1):Ke="TEST_OR_SSR",Ke}function Ye(Ke){var Ue=ct.useState(),Ce=(0,se.Z)(Ue,2),bt=Ce[0],Fe=Ce[1];return ct.useEffect(function(){Fe("rc_select_".concat(Qe()))},[]),Ke||bt}},37463:function(oA,hA,Be){"use strict";Be.d(hA,{Ac:function(){return mt},Xo:function(){return mA},Wx:function(){return MA},ZP:function(){return HA},lk:function(){return Ft}});var se=Be(32855),ct=Be(3300),Le=Be(74430),je=Be(27247),Ee=Be(11913),Qe=Be(43079),Ye=Be(34666),Ke=Be(18929),Ue=Be(48736),Ce=Be(59301),bt=Be(92310),Fe=Be.n(bt),Dt=Be(34280),Xe=Be(49658),Ge=Be(8654),ze=function(Re){var dA=Re.className,Kt=Re.customizeIcon,qe=Re.customizeIconProps,Gt=Re.children,EA=Re.onMouseDown,DA=Re.onClick,VA=typeof Kt=="function"?Kt(qe):Kt;return Ce.createElement("span",{className:dA,onMouseDown:function(SA){SA.preventDefault(),EA==null||EA(SA)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:DA,"aria-hidden":!0},VA!==void 0?VA:Ce.createElement("span",{className:Fe()(dA.split(/\s+/).map(function(at){return"".concat(at,"-icon")}))},Gt))},Oe=ze,wt=function(Re,dA,Kt,qe,Gt){var EA=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,DA=arguments.length>6?arguments[6]:void 0,VA=arguments.length>7?arguments[7]:void 0,at=Ce.useMemo(function(){if((0,Ye.Z)(qe)==="object")return qe.clearIcon;if(Gt)return Gt},[qe,Gt]),SA=Ce.useMemo(function(){return!!(!EA&&qe&&(Kt.length||DA)&&!(VA==="combobox"&&DA===""))},[qe,EA,Kt.length,DA,VA]);return{allowClear:SA,clearIcon:Ce.createElement(Oe,{className:"".concat(Re,"-clear"),onMouseDown:dA,customizeIcon:at},"\xD7")}},ht=Ce.createContext(null);function Ft(){return Ce.useContext(ht)}function et(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Re=Ce.useState(!1),dA=(0,Ee.Z)(Re,2),Kt=dA[0],qe=dA[1],Gt=Ce.useRef(null),EA=function(){window.clearTimeout(Gt.current)};Ce.useEffect(function(){return EA},[]);var DA=function(at,SA){EA(),Gt.current=window.setTimeout(function(){qe(at),SA&&SA()},Te)};return[Kt,DA,EA]}function nt(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Re=Ce.useRef(null),dA=Ce.useRef(null);Ce.useEffect(function(){return function(){window.clearTimeout(dA.current)}},[]);function Kt(qe){(qe||Re.current===null)&&(Re.current=qe),window.clearTimeout(dA.current),dA.current=window.setTimeout(function(){Re.current=null},Te)}return[function(){return Re.current},Kt]}function lt(Te,Re,dA,Kt){var qe=Ce.useRef(null);qe.current={open:Re,triggerOpen:dA,customizedTrigger:Kt},Ce.useEffect(function(){function Gt(EA){var DA;if(!((DA=qe.current)!==null&&DA!==void 0&&DA.customizedTrigger)){var VA=EA.target;VA.shadowRoot&&EA.composed&&(VA=EA.composedPath()[0]||VA),qe.current.open&&Te().filter(function(at){return at}).every(function(at){return!at.contains(VA)&&at!==VA})&&qe.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Gt),function(){return window.removeEventListener("mousedown",Gt)}},[])}var At=Be(10228);function uA(Te){return Te&&![At.Z.ESC,At.Z.SHIFT,At.Z.BACKSPACE,At.Z.TAB,At.Z.WIN_KEY,At.Z.ALT,At.Z.META,At.Z.WIN_KEY_RIGHT,At.Z.CTRL,At.Z.SEMICOLON,At.Z.EQUALS,At.Z.CAPS_LOCK,At.Z.CONTEXT_MENU,At.Z.F1,At.Z.F2,At.Z.F3,At.Z.F4,At.Z.F5,At.Z.F6,At.Z.F7,At.Z.F8,At.Z.F9,At.Z.F10,At.Z.F11,At.Z.F12].includes(Te)}var it=Be(26112),Je=Be(11780);function yt(Te,Re,dA){var Kt=(0,je.Z)((0,je.Z)({},Te),dA?Re:{});return Object.keys(Re).forEach(function(qe){var Gt=Re[qe];typeof Gt=="function"&&(Kt[qe]=function(){for(var EA,DA=arguments.length,VA=new Array(DA),at=0;at<DA;at++)VA[at]=arguments[at];return Gt.apply(void 0,VA),(EA=Te[qe])===null||EA===void 0?void 0:EA.call.apply(EA,[Te].concat(VA))})}),Kt}var We=yt,$e=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],_e=function(Re,dA){var Kt=Re.prefixCls,qe=Re.id,Gt=Re.inputElement,EA=Re.autoFocus,DA=Re.autoComplete,VA=Re.editable,at=Re.activeDescendantId,SA=Re.value,Wt=Re.open,ar=Re.attrs,bA=(0,Qe.Z)(Re,$e),sr=Gt||Ce.createElement("input",null),RA=sr,Fr=RA.ref,br=RA.props;return(0,Ue.Kp)(!("maxLength"in sr.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),sr=Ce.cloneElement(sr,(0,je.Z)((0,je.Z)((0,je.Z)({type:"search"},We(bA,br,!0)),{},{id:qe,ref:(0,Ge.sQ)(dA,Fr),autoComplete:DA||"off",autoFocus:EA,className:Fe()("".concat(Kt,"-selection-search-input"),br==null?void 0:br.className),role:"combobox","aria-expanded":Wt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(qe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(qe,"_list"),"aria-activedescendant":Wt?at:void 0},ar),{},{value:VA?SA:"",readOnly:!VA,unselectable:VA?null:"on",style:(0,je.Z)((0,je.Z)({},br.style),{},{opacity:VA?null:0})})),sr},Ze=Ce.forwardRef(_e),Mt=Ze;function Lt(Te){return Array.isArray(Te)?Te:Te!==void 0?[Te]:[]}var aA=typeof window!="undefined"&&window.document&&window.document.documentElement,Jt=aA;function be(Te){return Te!=null}function de(Te){return!Te&&Te!==0}function Ct(Te){return["string","number"].includes((0,Ye.Z)(Te))}function qt(Te){var Re=void 0;return Te&&(Ct(Te.title)?Re=Te.title.toString():Ct(Te.label)&&(Re=Te.label.toString())),Re}function Rt(Te,Re){Jt?Ce.useLayoutEffect(Te,Re):Ce.useEffect(Te,Re)}function Ve(Te){var Re;return(Re=Te.key)!==null&&Re!==void 0?Re:Te.value}var pt=function(Re){Re.preventDefault(),Re.stopPropagation()},ft=function(Re){var dA=Re.id,Kt=Re.prefixCls,qe=Re.values,Gt=Re.open,EA=Re.searchValue,DA=Re.autoClearSearchValue,VA=Re.inputRef,at=Re.placeholder,SA=Re.disabled,Wt=Re.mode,ar=Re.showSearch,bA=Re.autoFocus,sr=Re.autoComplete,RA=Re.activeDescendantId,Fr=Re.tabIndex,br=Re.removeIcon,zr=Re.maxTagCount,qr=Re.maxTagTextLength,Gr=Re.maxTagPlaceholder,fn=Gr===void 0?function(Ut){return"+ ".concat(Ut.length," ...")}:Gr,Tr=Re.tagRender,vn=Re.onToggleOpen,ln=Re.onRemove,An=Re.onInputChange,hn=Re.onInputPaste,we=Re.onInputKeyDown,ve=Re.onInputMouseDown,xe=Re.onInputCompositionStart,Pe=Re.onInputCompositionEnd,st=Re.onInputBlur,Et=Ce.useRef(null),Vt=(0,Ce.useState)(0),rA=(0,Ee.Z)(Vt,2),wA=rA[0],lA=rA[1],zt=(0,Ce.useState)(!1),nA=(0,Ee.Z)(zt,2),_A=nA[0],er=nA[1],cr="".concat(Kt,"-selection"),lr=Gt||Wt==="multiple"&&DA===!1||Wt==="tags"?EA:"",jA=Wt==="tags"||Wt==="multiple"&&DA===!1||ar&&(Gt||_A);Rt(function(){lA(Et.current.scrollWidth)},[lr]);var Qr=function(tt,St,AA,BA,WA){return Ce.createElement("span",{title:qt(tt),className:Fe()("".concat(cr,"-item"),(0,Le.Z)({},"".concat(cr,"-item-disabled"),AA))},Ce.createElement("span",{className:"".concat(cr,"-item-content")},St),BA&&Ce.createElement(Oe,{className:"".concat(cr,"-item-remove"),onMouseDown:pt,onClick:WA,customizeIcon:br},"\xD7"))},Mr=function(tt,St,AA,BA,WA,pr){var yr=function(Dr){pt(Dr),vn(!Gt)};return Ce.createElement("span",{onMouseDown:yr},Tr({label:St,value:tt,disabled:AA,closable:BA,onClose:WA,isMaxTag:!!pr}))},fr=function(tt){var St=tt.disabled,AA=tt.label,BA=tt.value,WA=!SA&&!St,pr=AA;if(typeof qr=="number"&&(typeof AA=="string"||typeof AA=="number")){var yr=String(pr);yr.length>qr&&(pr="".concat(yr.slice(0,qr),"..."))}var gr=function(vr){vr&&vr.stopPropagation(),ln(tt)};return typeof Tr=="function"?Mr(BA,pr,St,WA,gr):Qr(tt,pr,St,WA,gr)},FA=function(tt){if(!qe.length)return null;var St=typeof fn=="function"?fn(tt):fn;return typeof Tr=="function"?Mr(void 0,St,!1,!1,void 0,!0):Qr({title:St},St,!1)},_t=Ce.createElement("div",{className:"".concat(cr,"-search"),style:{width:wA},onFocus:function(){er(!0)},onBlur:function(){er(!1)}},Ce.createElement(Mt,{ref:VA,open:Gt,prefixCls:Kt,id:dA,inputElement:null,disabled:SA,autoFocus:bA,autoComplete:sr,editable:jA,activeDescendantId:RA,value:lr,onKeyDown:we,onMouseDown:ve,onChange:An,onPaste:hn,onCompositionStart:xe,onCompositionEnd:Pe,onBlur:st,tabIndex:Fr,attrs:(0,it.Z)(Re,!0)}),Ce.createElement("span",{ref:Et,className:"".concat(cr,"-search-mirror"),"aria-hidden":!0},lr,"\xA0")),tA=Ce.createElement(Je.Z,{prefixCls:"".concat(cr,"-overflow"),data:qe,renderItem:fr,renderRest:FA,suffix:_t,itemKey:Ve,maxCount:zr});return Ce.createElement("span",{className:"".concat(cr,"-wrap")},tA,!qe.length&&!lr&&Ce.createElement("span",{className:"".concat(cr,"-placeholder")},at))},$t=ft,It=function(Re){var dA=Re.inputElement,Kt=Re.prefixCls,qe=Re.id,Gt=Re.inputRef,EA=Re.disabled,DA=Re.autoFocus,VA=Re.autoComplete,at=Re.activeDescendantId,SA=Re.mode,Wt=Re.open,ar=Re.values,bA=Re.placeholder,sr=Re.tabIndex,RA=Re.showSearch,Fr=Re.searchValue,br=Re.activeValue,zr=Re.maxLength,qr=Re.onInputKeyDown,Gr=Re.onInputMouseDown,fn=Re.onInputChange,Tr=Re.onInputPaste,vn=Re.onInputCompositionStart,ln=Re.onInputCompositionEnd,An=Re.onInputBlur,hn=Re.title,we=Ce.useState(!1),ve=(0,Ee.Z)(we,2),xe=ve[0],Pe=ve[1],st=SA==="combobox",Et=st||RA,Vt=ar[0],rA=Fr||"";st&&br&&!xe&&(rA=br),Ce.useEffect(function(){st&&Pe(!1)},[st,br]);var wA=SA!=="combobox"&&!Wt&&!RA?!1:!!rA,lA=hn===void 0?qt(Vt):hn,zt=Ce.useMemo(function(){return Vt?null:Ce.createElement("span",{className:"".concat(Kt,"-selection-placeholder"),style:wA?{visibility:"hidden"}:void 0},bA)},[Vt,wA,bA,Kt]);return Ce.createElement("span",{className:"".concat(Kt,"-selection-wrap")},Ce.createElement("span",{className:"".concat(Kt,"-selection-search")},Ce.createElement(Mt,{ref:Gt,prefixCls:Kt,id:qe,open:Wt,inputElement:dA,disabled:EA,autoFocus:DA,autoComplete:VA,editable:Et,activeDescendantId:at,value:rA,onKeyDown:qr,onMouseDown:Gr,onChange:function(_A){Pe(!0),fn(_A)},onPaste:Tr,onCompositionStart:vn,onCompositionEnd:ln,onBlur:An,tabIndex:sr,attrs:(0,it.Z)(Re,!0),maxLength:st?zr:void 0})),!st&&Vt?Ce.createElement("span",{className:"".concat(Kt,"-selection-item"),title:lA,style:wA?{visibility:"hidden"}:void 0},Vt.label):null,zt)},eA=It,Me=function(Re,dA){var Kt=(0,Ce.useRef)(null),qe=(0,Ce.useRef)(!1),Gt=Re.prefixCls,EA=Re.open,DA=Re.mode,VA=Re.showSearch,at=Re.tokenWithEnter,SA=Re.disabled,Wt=Re.prefix,ar=Re.autoClearSearchValue,bA=Re.onSearch,sr=Re.onSearchSubmit,RA=Re.onToggleOpen,Fr=Re.onInputKeyDown,br=Re.onInputBlur,zr=Re.domRef;Ce.useImperativeHandle(dA,function(){return{focus:function(lA){Kt.current.focus(lA)},blur:function(){Kt.current.blur()}}});var qr=nt(0),Gr=(0,Ee.Z)(qr,2),fn=Gr[0],Tr=Gr[1],vn=function(lA){var zt=lA.which,nA=Kt.current instanceof HTMLTextAreaElement;!nA&&EA&&(zt===At.Z.UP||zt===At.Z.DOWN)&&lA.preventDefault(),Fr&&Fr(lA),zt===At.Z.ENTER&&DA==="tags"&&!qe.current&&!EA&&(sr==null||sr(lA.target.value)),!(nA&&!EA&&~[At.Z.UP,At.Z.DOWN,At.Z.LEFT,At.Z.RIGHT].indexOf(zt))&&uA(zt)&&RA(!0)},ln=function(){Tr(!0)},An=(0,Ce.useRef)(null),hn=function(lA){bA(lA,!0,qe.current)!==!1&&RA(!0)},we=function(){qe.current=!0},ve=function(lA){qe.current=!1,DA!=="combobox"&&hn(lA.target.value)},xe=function(lA){var zt=lA.target.value;if(at&&An.current&&/[\r\n]/.test(An.current)){var nA=An.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");zt=zt.replace(nA,An.current)}An.current=null,hn(zt)},Pe=function(lA){var zt=lA.clipboardData,nA=zt==null?void 0:zt.getData("text");An.current=nA||""},st=function(lA){var zt=lA.target;if(zt!==Kt.current){var nA=document.body.style.msTouchAction!==void 0;nA?setTimeout(function(){Kt.current.focus()}):Kt.current.focus()}},Et=function(lA){var zt=fn();lA.target!==Kt.current&&!zt&&!(DA==="combobox"&&SA)&&lA.preventDefault(),(DA!=="combobox"&&(!VA||!zt)||!EA)&&(EA&&ar!==!1&&bA("",!0,!1),RA())},Vt={inputRef:Kt,onInputKeyDown:vn,onInputMouseDown:ln,onInputChange:xe,onInputPaste:Pe,onInputCompositionStart:we,onInputCompositionEnd:ve,onInputBlur:br},rA=DA==="multiple"||DA==="tags"?Ce.createElement($t,(0,se.Z)({},Re,Vt)):Ce.createElement(eA,(0,se.Z)({},Re,Vt));return Ce.createElement("div",{ref:zr,className:"".concat(Gt,"-selector"),onClick:st,onMouseDown:Et},Wt&&Ce.createElement("div",{className:"".concat(Gt,"-prefix")},Wt),rA)},Bt=Ce.forwardRef(Me),xt=Bt,ue=Be(65030),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],re=function(Re){var dA=Re===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:dA,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:dA,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:dA,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:dA,adjustY:1},htmlRegion:"scroll"}}},ae=function(Re,dA){var Kt=Re.prefixCls,qe=Re.disabled,Gt=Re.visible,EA=Re.children,DA=Re.popupElement,VA=Re.animation,at=Re.transitionName,SA=Re.dropdownStyle,Wt=Re.dropdownClassName,ar=Re.direction,bA=ar===void 0?"ltr":ar,sr=Re.placement,RA=Re.builtinPlacements,Fr=Re.dropdownMatchSelectWidth,br=Re.dropdownRender,zr=Re.dropdownAlign,qr=Re.getPopupContainer,Gr=Re.empty,fn=Re.getTriggerDOMNode,Tr=Re.onPopupVisibleChange,vn=Re.onPopupMouseEnter,ln=(0,Qe.Z)(Re,ne),An="".concat(Kt,"-dropdown"),hn=DA;br&&(hn=br(DA));var we=Ce.useMemo(function(){return RA||re(Fr)},[RA,Fr]),ve=VA?"".concat(An,"-").concat(VA):at,xe=typeof Fr=="number",Pe=Ce.useMemo(function(){return xe?null:Fr===!1?"minWidth":"width"},[Fr,xe]),st=SA;xe&&(st=(0,je.Z)((0,je.Z)({},st),{},{width:Fr}));var Et=Ce.useRef(null);return Ce.useImperativeHandle(dA,function(){return{getPopupElement:function(){var rA;return(rA=Et.current)===null||rA===void 0?void 0:rA.popupElement}}}),Ce.createElement(ue.Z,(0,se.Z)({},ln,{showAction:Tr?["click"]:[],hideAction:Tr?["click"]:[],popupPlacement:sr||(bA==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:we,prefixCls:An,popupTransitionName:ve,popup:Ce.createElement("div",{onMouseEnter:vn},hn),ref:Et,stretch:Pe,popupAlign:zr,popupVisible:Gt,getPopupContainer:qr,popupClassName:Fe()(Wt,(0,Le.Z)({},"".concat(An,"-empty"),Gr)),popupStyle:st,getTriggerDOMNode:fn,onPopupVisibleChange:Tr}),EA)},he=Ce.forwardRef(ae),oe=he,Se=Be(40954);function rt(Te,Re){var dA=Te.key,Kt;return"value"in Te&&(Kt=Te.value),dA!=null?dA:Kt!==void 0?Kt:"rc-index-key-".concat(Re)}function Yt(Te){return typeof Te!="undefined"&&!Number.isNaN(Te)}function Ht(Te,Re){var dA=Te||{},Kt=dA.label,qe=dA.value,Gt=dA.options,EA=dA.groupLabel,DA=Kt||(Re?"children":"label");return{label:DA,value:qe||"value",options:Gt||"options",groupLabel:EA||DA}}function Tt(Te){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dA=Re.fieldNames,Kt=Re.childrenAsData,qe=[],Gt=Ht(dA,!1),EA=Gt.label,DA=Gt.value,VA=Gt.options,at=Gt.groupLabel;function SA(Wt,ar){Array.isArray(Wt)&&Wt.forEach(function(bA){if(ar||!(VA in bA)){var sr=bA[DA];qe.push({key:rt(bA,qe.length),groupOption:ar,data:bA,label:bA[EA],value:sr})}else{var RA=bA[at];RA===void 0&&Kt&&(RA=bA.label),qe.push({key:rt(bA,qe.length),group:!0,data:bA,label:RA}),SA(bA[VA],!0)}})}return SA(Te,!1),qe}function Pt(Te){var Re=(0,je.Z)({},Te);return"props"in Re||Object.defineProperty(Re,"props",{get:function(){return(0,Ue.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Re}}),Re}var pA=function(Re,dA,Kt){if(!dA||!dA.length)return null;var qe=!1,Gt=function DA(VA,at){var SA=(0,Se.Z)(at),Wt=SA[0],ar=SA.slice(1);if(!Wt)return[VA];var bA=VA.split(Wt);return qe=qe||bA.length>1,bA.reduce(function(sr,RA){return[].concat((0,ct.Z)(sr),(0,ct.Z)(DA(RA,ar)))},[]).filter(Boolean)},EA=Gt(Re,dA);return qe?typeof Kt!="undefined"?EA.slice(0,Kt):EA:null},vA=Ce.createContext(null),xA=vA;function sA(Te){var Re=Te.visible,dA=Te.values;if(!Re)return null;var Kt=50;return Ce.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(dA.slice(0,Kt).map(function(qe){var Gt=qe.label,EA=qe.value;return["number","string"].includes((0,Ye.Z)(Gt))?Gt:EA}).join(", ")),dA.length>Kt?", ...":null)}var Nt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],CA=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Xt=function(Re){return Re==="tags"||Re==="multiple"},IA=Ce.forwardRef(function(Te,Re){var dA,Kt=Te.id,qe=Te.prefixCls,Gt=Te.className,EA=Te.showSearch,DA=Te.tagRender,VA=Te.direction,at=Te.omitDomProps,SA=Te.displayValues,Wt=Te.onDisplayValuesChange,ar=Te.emptyOptions,bA=Te.notFoundContent,sr=bA===void 0?"Not Found":bA,RA=Te.onClear,Fr=Te.mode,br=Te.disabled,zr=Te.loading,qr=Te.getInputElement,Gr=Te.getRawInputElement,fn=Te.open,Tr=Te.defaultOpen,vn=Te.onDropdownVisibleChange,ln=Te.activeValue,An=Te.onActiveValueChange,hn=Te.activeDescendantId,we=Te.searchValue,ve=Te.autoClearSearchValue,xe=Te.onSearch,Pe=Te.onSearchSplit,st=Te.tokenSeparators,Et=Te.allowClear,Vt=Te.prefix,rA=Te.suffixIcon,wA=Te.clearIcon,lA=Te.OptionList,zt=Te.animation,nA=Te.transitionName,_A=Te.dropdownStyle,er=Te.dropdownClassName,cr=Te.dropdownMatchSelectWidth,lr=Te.dropdownRender,jA=Te.dropdownAlign,Qr=Te.placement,Mr=Te.builtinPlacements,fr=Te.getPopupContainer,FA=Te.showAction,_t=FA===void 0?[]:FA,tA=Te.onFocus,Ut=Te.onBlur,tt=Te.onKeyUp,St=Te.onKeyDown,AA=Te.onMouseDown,BA=(0,Qe.Z)(Te,Nt),WA=Xt(Fr),pr=(EA!==void 0?EA:WA)||Fr==="combobox",yr=(0,je.Z)({},BA);CA.forEach(function(rn){delete yr[rn]}),at==null||at.forEach(function(rn){delete yr[rn]});var gr=Ce.useState(!1),Dr=(0,Ee.Z)(gr,2),vr=Dr[0],Kr=Dr[1];Ce.useEffect(function(){Kr((0,Xe.Z)())},[]);var on=Ce.useRef(null),Sn=Ce.useRef(null),an=Ce.useRef(null),dn=Ce.useRef(null),Pr=Ce.useRef(null),mn=Ce.useRef(!1),sn=et(),Vr=(0,Ee.Z)(sn,3),Kn=Vr[0],On=Vr[1],fi=Vr[2];Ce.useImperativeHandle(Re,function(){var rn,Rr;return{focus:(rn=dn.current)===null||rn===void 0?void 0:rn.focus,blur:(Rr=dn.current)===null||Rr===void 0?void 0:Rr.blur,scrollTo:function(si){var Gn;return(Gn=Pr.current)===null||Gn===void 0?void 0:Gn.scrollTo(si)},nativeElement:on.current||Sn.current}});var Zn=Ce.useMemo(function(){var rn;if(Fr!=="combobox")return we;var Rr=(rn=SA[0])===null||rn===void 0?void 0:rn.value;return typeof Rr=="string"||typeof Rr=="number"?String(Rr):""},[we,Fr,SA]),ii=Fr==="combobox"&&typeof qr=="function"&&qr()||null,un=typeof Gr=="function"&&Gr(),jn=(0,Ge.x1)(Sn,un==null||(dA=un.props)===null||dA===void 0?void 0:dA.ref),Si=Ce.useState(!1),$i=(0,Ee.Z)(Si,2),ua=$i[0],Ui=$i[1];(0,Dt.Z)(function(){Ui(!0)},[]);var Rn=(0,Ke.Z)(!1,{defaultValue:Tr,value:fn}),eo=(0,Ee.Z)(Rn,2),uo=eo[0],Wi=eo[1],Wn=ua?uo:!1,So=!sr&&ar;(br||So&&Wn&&Fr==="combobox")&&(Wn=!1);var co=So?!1:Wn,Sr=Ce.useCallback(function(rn){var Rr=rn!==void 0?rn:!Wn;br||(Wi(Rr),Wn!==Rr&&(vn==null||vn(Rr)))},[br,Wn,Wi,vn]),Or=Ce.useMemo(function(){return(st||[]).some(function(rn){return[`
|
|
`,`\r
|
|
`].includes(rn)})},[st]),Lr=Ce.useContext(xA)||{},Hr=Lr.maxCount,$r=Lr.rawValues,gn=function(Rr,Un,si){if(!(WA&&Yt(Hr)&&($r==null?void 0:$r.size)>=Hr)){var Gn=!0,Nn=Rr;An==null||An(null);var Ri=pA(Rr,st,Yt(Hr)?Hr-$r.size:void 0),Pi=si?null:Ri;return Fr!=="combobox"&&Pi&&(Nn="",Pe==null||Pe(Pi),Sr(!1),Gn=!1),xe&&Zn!==Nn&&xe(Nn,{source:Un?"typing":"effect"}),Gn}},en=function(Rr){!Rr||!Rr.trim()||xe(Rr,{source:"submit"})};Ce.useEffect(function(){!Wn&&!WA&&Fr!=="combobox"&&gn("",!1,!1)},[Wn]),Ce.useEffect(function(){uo&&br&&Wi(!1),br&&!mn.current&&On(!1)},[br]);var hi=nt(),Xn=(0,Ee.Z)(hi,2),Pn=Xn[0],oi=Xn[1],$n=Ce.useRef(!1),bi=function(Rr){var Un=Pn(),si=Rr.key,Gn=si==="Enter";if(Gn&&(Fr!=="combobox"&&Rr.preventDefault(),Wn||Sr(!0)),oi(!!Zn),si==="Backspace"&&!Un&&WA&&!Zn&&SA.length){for(var Nn=(0,ct.Z)(SA),Ri=null,Pi=Nn.length-1;Pi>=0;Pi-=1){var to=Nn[Pi];if(!to.disabled){Nn.splice(Pi,1),Ri=to;break}}Ri&&Wt(Nn,{type:"remove",values:[Ri]})}for(var Tn=arguments.length,wi=new Array(Tn>1?Tn-1:0),Vi=1;Vi<Tn;Vi++)wi[Vi-1]=arguments[Vi];if(Wn&&(!Gn||!$n.current)){var ho;Gn&&($n.current=!0),(ho=Pr.current)===null||ho===void 0||ho.onKeyDown.apply(ho,[Rr].concat(wi))}St==null||St.apply(void 0,[Rr].concat(wi))},ai=function(Rr){for(var Un=arguments.length,si=new Array(Un>1?Un-1:0),Gn=1;Gn<Un;Gn++)si[Gn-1]=arguments[Gn];if(Wn){var Nn;(Nn=Pr.current)===null||Nn===void 0||Nn.onKeyUp.apply(Nn,[Rr].concat(si))}Rr.key==="Enter"&&($n.current=!1),tt==null||tt.apply(void 0,[Rr].concat(si))},En=function(Rr){var Un=SA.filter(function(si){return si!==Rr});Wt(Un,{type:"remove",values:[Rr]})},Ti=function(){$n.current=!1},_n=Ce.useRef(!1),ca=function(){On(!0),br||(tA&&!_n.current&&tA.apply(void 0,arguments),_t.includes("focus")&&Sr(!0)),_n.current=!0},zi=function(){mn.current=!0,On(!1,function(){_n.current=!1,mn.current=!1,Sr(!1)}),!br&&(Zn&&(Fr==="tags"?xe(Zn,{source:"submit"}):Fr==="multiple"&&xe("",{source:"blur"})),Ut&&Ut.apply(void 0,arguments))},xi=[];Ce.useEffect(function(){return function(){xi.forEach(function(rn){return clearTimeout(rn)}),xi.splice(0,xi.length)}},[]);var pn=function(Rr){var Un,si=Rr.target,Gn=(Un=an.current)===null||Un===void 0?void 0:Un.getPopupElement();if(Gn&&Gn.contains(si)){var Nn=setTimeout(function(){var Tn=xi.indexOf(Nn);if(Tn!==-1&&xi.splice(Tn,1),fi(),!vr&&!Gn.contains(document.activeElement)){var wi;(wi=dn.current)===null||wi===void 0||wi.focus()}});xi.push(Nn)}for(var Ri=arguments.length,Pi=new Array(Ri>1?Ri-1:0),to=1;to<Ri;to++)Pi[to-1]=arguments[to];AA==null||AA.apply(void 0,[Rr].concat(Pi))},Ii=Ce.useState({}),fa=(0,Ee.Z)(Ii,2),ha=fa[1];function Wa(){ha({})}var Uo;un&&(Uo=function(Rr){Sr(Rr)}),lt(function(){var rn;return[on.current,(rn=an.current)===null||rn===void 0?void 0:rn.getPopupElement()]},co,Sr,!!un);var za=Ce.useMemo(function(){return(0,je.Z)((0,je.Z)({},Te),{},{notFoundContent:sr,open:Wn,triggerOpen:co,id:Kt,showSearch:pr,multiple:WA,toggleOpen:Sr})},[Te,sr,co,Wn,Kt,pr,WA,Sr]),Vo=!!rA||zr,di;Vo&&(di=Ce.createElement(Oe,{className:Fe()("".concat(qe,"-arrow"),(0,Le.Z)({},"".concat(qe,"-arrow-loading"),zr)),customizeIcon:rA,customizeIconProps:{loading:zr,searchValue:Zn,open:Wn,focused:Kn,showSearch:pr}}));var Ei=function(){var Rr;RA==null||RA(),(Rr=dn.current)===null||Rr===void 0||Rr.focus(),Wt([],{type:"clear",values:SA}),gn("",!1,!1)},Mi=wt(qe,Ei,SA,Et,wA,br,Zn,Fr),zn=Mi.allowClear,Oi=Mi.clearIcon,Io=Ce.createElement(lA,{ref:Pr}),da=Fe()(qe,Gt,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(qe,"-focused"),Kn),"".concat(qe,"-multiple"),WA),"".concat(qe,"-single"),!WA),"".concat(qe,"-allow-clear"),Et),"".concat(qe,"-show-arrow"),Vo),"".concat(qe,"-disabled"),br),"".concat(qe,"-loading"),zr),"".concat(qe,"-open"),Wn),"".concat(qe,"-customize-input"),ii),"".concat(qe,"-show-search"),pr)),fo=Ce.createElement(oe,{ref:an,disabled:br,prefixCls:qe,visible:co,popupElement:Io,animation:zt,transitionName:nA,dropdownStyle:_A,dropdownClassName:er,direction:VA,dropdownMatchSelectWidth:cr,dropdownRender:lr,dropdownAlign:jA,placement:Qr,builtinPlacements:Mr,getPopupContainer:fr,empty:ar,getTriggerDOMNode:function(Rr){return Sn.current||Rr},onPopupVisibleChange:Uo,onPopupMouseEnter:Wa},un?Ce.cloneElement(un,{ref:jn}):Ce.createElement(xt,(0,se.Z)({},Te,{domRef:Sn,prefixCls:qe,inputElement:ii,ref:dn,id:Kt,prefix:Vt,showSearch:pr,autoClearSearchValue:ve,mode:Fr,activeDescendantId:hn,tagRender:DA,values:SA,open:Wn,onToggleOpen:Sr,activeValue:ln,searchValue:Zn,onSearch:gn,onSearchSubmit:en,onRemove:En,tokenWithEnter:Or,onInputBlur:Ti}))),gi;return un?gi=fo:gi=Ce.createElement("div",(0,se.Z)({className:da},yr,{ref:on,onMouseDown:pn,onKeyDown:bi,onKeyUp:ai,onFocus:ca,onBlur:zi}),Ce.createElement(sA,{visible:Kn&&!Wn,values:SA}),fo,di,zn&&Oi),Ce.createElement(ht.Provider,{value:za},gi)}),mt=IA,GA=function(){return null};GA.isSelectOptGroup=!0;var mA=GA,yA=function(){return null};yA.isSelectOption=!0;var MA=yA,dr=Be(80547),KA=Be(2738),ZA=Be(6790);function $A(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Er=["disabled","title","children","style","className"];function Yr(Te){return typeof Te=="string"||typeof Te=="number"}var cn=function(Re,dA){var Kt=Ft(),qe=Kt.prefixCls,Gt=Kt.id,EA=Kt.open,DA=Kt.multiple,VA=Kt.mode,at=Kt.searchValue,SA=Kt.toggleOpen,Wt=Kt.notFoundContent,ar=Kt.onPopupScroll,bA=Ce.useContext(xA),sr=bA.maxCount,RA=bA.flattenOptions,Fr=bA.onActiveValue,br=bA.defaultActiveFirstOption,zr=bA.onSelect,qr=bA.menuItemSelectedIcon,Gr=bA.rawValues,fn=bA.fieldNames,Tr=bA.virtual,vn=bA.direction,ln=bA.listHeight,An=bA.listItemHeight,hn=bA.optionRender,we="".concat(qe,"-item"),ve=(0,dr.Z)(function(){return RA},[EA,RA],function(FA,_t){return _t[0]&&FA[1]!==_t[1]}),xe=Ce.useRef(null),Pe=Ce.useMemo(function(){return DA&&Yt(sr)&&(Gr==null?void 0:Gr.size)>=sr},[DA,sr,Gr==null?void 0:Gr.size]),st=function(_t){_t.preventDefault()},Et=function(_t){var tA;(tA=xe.current)===null||tA===void 0||tA.scrollTo(typeof _t=="number"?{index:_t}:_t)},Vt=Ce.useCallback(function(FA){return VA==="combobox"?!1:Gr.has(FA)},[VA,(0,ct.Z)(Gr).toString(),Gr.size]),rA=function(_t){for(var tA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ut=ve.length,tt=0;tt<Ut;tt+=1){var St=(_t+tt*tA+Ut)%Ut,AA=ve[St]||{},BA=AA.group,WA=AA.data;if(!BA&&!(WA!=null&&WA.disabled)&&(Vt(WA.value)||!Pe))return St}return-1},wA=Ce.useState(function(){return rA(0)}),lA=(0,Ee.Z)(wA,2),zt=lA[0],nA=lA[1],_A=function(_t){var tA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;nA(_t);var Ut={source:tA?"keyboard":"mouse"},tt=ve[_t];if(!tt){Fr(null,-1,Ut);return}Fr(tt.value,_t,Ut)};(0,Ce.useEffect)(function(){_A(br!==!1?rA(0):-1)},[ve.length,at]);var er=Ce.useCallback(function(FA){return VA==="combobox"?String(FA).toLowerCase()===at.toLowerCase():Gr.has(FA)},[VA,at,(0,ct.Z)(Gr).toString(),Gr.size]);(0,Ce.useEffect)(function(){var FA=setTimeout(function(){if(!DA&&EA&&Gr.size===1){var tA=Array.from(Gr)[0],Ut=ve.findIndex(function(tt){var St=tt.data;return at?String(St.value).startsWith(at):St.value===tA});Ut!==-1&&(_A(Ut),Et(Ut))}});if(EA){var _t;(_t=xe.current)===null||_t===void 0||_t.scrollTo(void 0)}return function(){return clearTimeout(FA)}},[EA,at]);var cr=function(_t){_t!==void 0&&zr(_t,{selected:!Gr.has(_t)}),DA||SA(!1)};if(Ce.useImperativeHandle(dA,function(){return{onKeyDown:function(_t){var tA=_t.which,Ut=_t.ctrlKey;switch(tA){case At.Z.N:case At.Z.P:case At.Z.UP:case At.Z.DOWN:{var tt=0;if(tA===At.Z.UP?tt=-1:tA===At.Z.DOWN?tt=1:$A()&&Ut&&(tA===At.Z.N?tt=1:tA===At.Z.P&&(tt=-1)),tt!==0){var St=rA(zt+tt,tt);Et(St),_A(St,!0)}break}case At.Z.TAB:case At.Z.ENTER:{var AA,BA=ve[zt];BA&&!(BA!=null&&(AA=BA.data)!==null&&AA!==void 0&&AA.disabled)&&!Pe?cr(BA.value):cr(void 0),EA&&_t.preventDefault();break}case At.Z.ESC:SA(!1),EA&&_t.stopPropagation()}},onKeyUp:function(){},scrollTo:function(_t){Et(_t)}}}),ve.length===0)return Ce.createElement("div",{role:"listbox",id:"".concat(Gt,"_list"),className:"".concat(we,"-empty"),onMouseDown:st},Wt);var lr=Object.keys(fn).map(function(FA){return fn[FA]}),jA=function(_t){return _t.label};function Qr(FA,_t){var tA=FA.group;return{role:tA?"presentation":"option",id:"".concat(Gt,"_list_").concat(_t)}}var Mr=function(_t){var tA=ve[_t];if(!tA)return null;var Ut=tA.data||{},tt=Ut.value,St=tA.group,AA=(0,it.Z)(Ut,!0),BA=jA(tA);return tA?Ce.createElement("div",(0,se.Z)({"aria-label":typeof BA=="string"&&!St?BA:null},AA,{key:_t},Qr(tA,_t),{"aria-selected":er(tt)}),tt):null},fr={role:"listbox",id:"".concat(Gt,"_list")};return Ce.createElement(Ce.Fragment,null,Tr&&Ce.createElement("div",(0,se.Z)({},fr,{style:{height:0,width:0,overflow:"hidden"}}),Mr(zt-1),Mr(zt),Mr(zt+1)),Ce.createElement(ZA.Z,{itemKey:"key",ref:xe,data:ve,height:ln,itemHeight:An,fullHeight:!1,onMouseDown:st,onScroll:ar,virtual:Tr,direction:vn,innerProps:Tr?null:fr},function(FA,_t){var tA=FA.group,Ut=FA.groupOption,tt=FA.data,St=FA.label,AA=FA.value,BA=tt.key;if(tA){var WA,pr=(WA=tt.title)!==null&&WA!==void 0?WA:Yr(St)?St.toString():void 0;return Ce.createElement("div",{className:Fe()(we,"".concat(we,"-group"),tt.className),title:pr},St!==void 0?St:BA)}var yr=tt.disabled,gr=tt.title,Dr=tt.children,vr=tt.style,Kr=tt.className,on=(0,Qe.Z)(tt,Er),Sn=(0,KA.Z)(on,lr),an=Vt(AA),dn=yr||!an&&Pe,Pr="".concat(we,"-option"),mn=Fe()(we,Pr,Kr,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(Pr,"-grouped"),Ut),"".concat(Pr,"-active"),zt===_t&&!dn),"".concat(Pr,"-disabled"),dn),"".concat(Pr,"-selected"),an)),sn=jA(FA),Vr=!qr||typeof qr=="function"||an,Kn=typeof sn=="number"?sn:sn||AA,On=Yr(Kn)?Kn.toString():void 0;return gr!==void 0&&(On=gr),Ce.createElement("div",(0,se.Z)({},(0,it.Z)(Sn),Tr?{}:Qr(FA,_t),{"aria-selected":er(AA),className:mn,title:On,onMouseMove:function(){zt===_t||dn||_A(_t)},onClick:function(){dn||cr(AA)},style:vr}),Ce.createElement("div",{className:"".concat(Pr,"-content")},typeof hn=="function"?hn(FA,{index:_t}):Kn),Ce.isValidElement(qr)||an,Vr&&Ce.createElement(Oe,{className:"".concat(we,"-option-state"),customizeIcon:qr,customizeIconProps:{value:AA,disabled:dn,isSelected:an}},an?"\u2713":null))}))},jr=Ce.forwardRef(cn),Ur=jr,zA=function(Te,Re){var dA=Ce.useRef({values:new Map,options:new Map}),Kt=Ce.useMemo(function(){var Gt=dA.current,EA=Gt.values,DA=Gt.options,VA=Te.map(function(Wt){if(Wt.label===void 0){var ar;return(0,je.Z)((0,je.Z)({},Wt),{},{label:(ar=EA.get(Wt.value))===null||ar===void 0?void 0:ar.label})}return Wt}),at=new Map,SA=new Map;return VA.forEach(function(Wt){at.set(Wt.value,Wt),SA.set(Wt.value,Re.get(Wt.value)||DA.get(Wt.value))}),dA.current.values=at,dA.current.options=SA,VA},[Te,Re]),qe=Ce.useCallback(function(Gt){return Re.get(Gt)||dA.current.options.get(Gt)},[Re]);return[Kt,qe]};function Ir(Te,Re){return Lt(Te).join("").toUpperCase().includes(Re)}var TA=function(Te,Re,dA,Kt,qe){return Ce.useMemo(function(){if(!dA||Kt===!1)return Te;var Gt=Re.options,EA=Re.label,DA=Re.value,VA=[],at=typeof Kt=="function",SA=dA.toUpperCase(),Wt=at?Kt:function(bA,sr){return qe?Ir(sr[qe],SA):sr[Gt]?Ir(sr[EA!=="children"?EA:"label"],SA):Ir(sr[DA],SA)},ar=at?function(bA){return Pt(bA)}:function(bA){return bA};return Te.forEach(function(bA){if(bA[Gt]){var sr=Wt(dA,ar(bA));if(sr)VA.push(bA);else{var RA=bA[Gt].filter(function(Fr){return Wt(dA,ar(Fr))});RA.length&&VA.push((0,je.Z)((0,je.Z)({},bA),{},(0,Le.Z)({},Gt,RA)))}return}Wt(dA,ar(bA))&&VA.push(bA)}),VA},[Te,Kt,qe,dA,Re])},ir=Be(6551),Nr=Be(11592),vt=["children","value"],Qt=["children"];function Ot(Te){var Re=Te,dA=Re.key,Kt=Re.props,qe=Kt.children,Gt=Kt.value,EA=(0,Qe.Z)(Kt,vt);return(0,je.Z)({key:dA,value:Gt!==void 0?Gt:dA,children:qe},EA)}function cA(Te){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Nr.Z)(Te).map(function(dA,Kt){if(!Ce.isValidElement(dA)||!dA.type)return null;var qe=dA,Gt=qe.type.isSelectOptGroup,EA=qe.key,DA=qe.props,VA=DA.children,at=(0,Qe.Z)(DA,Qt);return Re||!Gt?Ot(dA):(0,je.Z)((0,je.Z)({key:"__RC_SELECT_GRP__".concat(EA===null?Kt:EA,"__"),label:EA},at),{},{options:cA(VA)})}).filter(function(dA){return dA})}var Ar=function(Re,dA,Kt,qe,Gt){return Ce.useMemo(function(){var EA=Re,DA=!Re;DA&&(EA=cA(dA));var VA=new Map,at=new Map,SA=function(bA,sr,RA){RA&&typeof RA=="string"&&bA.set(sr[RA],sr)},Wt=function ar(bA){for(var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,RA=0;RA<bA.length;RA+=1){var Fr=bA[RA];!Fr[Kt.options]||sr?(VA.set(Fr[Kt.value],Fr),SA(at,Fr,Kt.label),SA(at,Fr,qe),SA(at,Fr,Gt)):ar(Fr[Kt.options],!0)}};return Wt(EA),{options:EA,valueOptions:VA,labelOptions:at}},[Re,dA,Kt,qe,Gt])},YA=Ar;function UA(Te){var Re=Ce.useRef();Re.current=Te;var dA=Ce.useCallback(function(){return Re.current.apply(Re,arguments)},[]);return dA}function Cr(Te){var Re=Te.mode,dA=Te.options,Kt=Te.children,qe=Te.backfill,Gt=Te.allowClear,EA=Te.placeholder,DA=Te.getInputElement,VA=Te.showSearch,at=Te.onSearch,SA=Te.defaultOpen,Wt=Te.autoFocus,ar=Te.labelInValue,bA=Te.value,sr=Te.inputValue,RA=Te.optionLabelProp,Fr=isMultiple(Re),br=VA!==void 0?VA:Fr||Re==="combobox",zr=dA||convertChildrenToData(Kt);if(warning(Re!=="tags"||zr.every(function(Tr){return!Tr.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Re==="tags"||Re==="combobox"){var qr=zr.some(function(Tr){return Tr.options?Tr.options.some(function(vn){return typeof("value"in vn?vn.value:vn.key)=="number"}):typeof("value"in Tr?Tr.value:Tr.key)=="number"});warning(!qr,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Re!=="combobox"||!RA,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Re==="combobox"||!qe,"`backfill` only works with `combobox` mode."),warning(Re==="combobox"||!DA,"`getInputElement` only work with `combobox` mode."),noteOnce(Re!=="combobox"||!DA||!Gt||!EA,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),at&&!br&&Re!=="combobox"&&Re!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!SA||Wt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),bA!=null){var Gr=toArray(bA);warning(!ar||Gr.every(function(Tr){return _typeof(Tr)==="object"&&("key"in Tr||"value"in Tr)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Fr||Array.isArray(bA),"`value` should be array when `mode` is `multiple` or `tags`")}if(Kt){var fn=null;toNodeArray(Kt).some(function(Tr){if(!React.isValidElement(Tr)||!Tr.type)return!1;var vn=Tr,ln=vn.type;if(ln.isSelectOption)return!1;if(ln.isSelectOptGroup){var An=toNodeArray(Tr.props.children).every(function(hn){return!React.isValidElement(hn)||!Tr.type||hn.type.isSelectOption?!0:(fn=hn.type,!1)});return!An}return fn=ln,!0}),fn&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(fn.displayName||fn.name||fn,"`.")),warning(sr===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function hr(Te,Re){if(Te){var dA=function Kt(qe){for(var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,EA=0;EA<qe.length;EA++){var DA=qe[EA];if(DA[Re==null?void 0:Re.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Gt&&Array.isArray(DA[Re==null?void 0:Re.options])&&Kt(DA[Re==null?void 0:Re.options],!0))break}};dA(Te)}}var or=null,JA=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Br=["inputValue"];function fA(Te){return!Te||(0,Ye.Z)(Te)!=="object"}var He=Ce.forwardRef(function(Te,Re){var dA=Te.id,Kt=Te.mode,qe=Te.prefixCls,Gt=qe===void 0?"rc-select":qe,EA=Te.backfill,DA=Te.fieldNames,VA=Te.inputValue,at=Te.searchValue,SA=Te.onSearch,Wt=Te.autoClearSearchValue,ar=Wt===void 0?!0:Wt,bA=Te.onSelect,sr=Te.onDeselect,RA=Te.dropdownMatchSelectWidth,Fr=RA===void 0?!0:RA,br=Te.filterOption,zr=Te.filterSort,qr=Te.optionFilterProp,Gr=Te.optionLabelProp,fn=Te.options,Tr=Te.optionRender,vn=Te.children,ln=Te.defaultActiveFirstOption,An=Te.menuItemSelectedIcon,hn=Te.virtual,we=Te.direction,ve=Te.listHeight,xe=ve===void 0?200:ve,Pe=Te.listItemHeight,st=Pe===void 0?20:Pe,Et=Te.labelRender,Vt=Te.value,rA=Te.defaultValue,wA=Te.labelInValue,lA=Te.onChange,zt=Te.maxCount,nA=(0,Qe.Z)(Te,JA),_A=(0,ir.ZP)(dA),er=Xt(Kt),cr=!!(!fn&&vn),lr=Ce.useMemo(function(){return br===void 0&&Kt==="combobox"?!1:br},[br,Kt]),jA=Ce.useMemo(function(){return Ht(DA,cr)},[JSON.stringify(DA),cr]),Qr=(0,Ke.Z)("",{value:at!==void 0?at:VA,postState:function(Or){return Or||""}}),Mr=(0,Ee.Z)(Qr,2),fr=Mr[0],FA=Mr[1],_t=YA(fn,vn,jA,qr,Gr),tA=_t.valueOptions,Ut=_t.labelOptions,tt=_t.options,St=Ce.useCallback(function(Sr){var Or=Lt(Sr);return Or.map(function(Lr){var Hr,$r,gn,en,hi;if(fA(Lr))Hr=Lr;else{var Xn;gn=Lr.key,$r=Lr.label,Hr=(Xn=Lr.value)!==null&&Xn!==void 0?Xn:gn}var Pn=tA.get(Hr);if(Pn){var oi;if($r===void 0&&($r=Pn==null?void 0:Pn[Gr||jA.label]),gn===void 0&&(gn=(oi=Pn==null?void 0:Pn.key)!==null&&oi!==void 0?oi:Hr),en=Pn==null?void 0:Pn.disabled,hi=Pn==null?void 0:Pn.title,0)var $n}return{label:$r,value:Hr,key:gn,disabled:en,title:hi}})},[jA,Gr,tA]),AA=(0,Ke.Z)(rA,{value:Vt}),BA=(0,Ee.Z)(AA,2),WA=BA[0],pr=BA[1],yr=Ce.useMemo(function(){var Sr,Or=er&&WA===null?[]:WA,Lr=St(Or);return Kt==="combobox"&&de((Sr=Lr[0])===null||Sr===void 0?void 0:Sr.value)?[]:Lr},[WA,St,Kt,er]),gr=zA(yr,tA),Dr=(0,Ee.Z)(gr,2),vr=Dr[0],Kr=Dr[1],on=Ce.useMemo(function(){if(!Kt&&vr.length===1){var Sr=vr[0];if(Sr.value===null&&(Sr.label===null||Sr.label===void 0))return[]}return vr.map(function(Or){var Lr;return(0,je.Z)((0,je.Z)({},Or),{},{label:(Lr=typeof Et=="function"?Et(Or):Or.label)!==null&&Lr!==void 0?Lr:Or.value})})},[Kt,vr,Et]),Sn=Ce.useMemo(function(){return new Set(vr.map(function(Sr){return Sr.value}))},[vr]);Ce.useEffect(function(){if(Kt==="combobox"){var Sr,Or=(Sr=vr[0])===null||Sr===void 0?void 0:Sr.value;FA(be(Or)?String(Or):"")}},[vr]);var an=UA(function(Sr,Or){var Lr=Or!=null?Or:Sr;return(0,Le.Z)((0,Le.Z)({},jA.value,Sr),jA.label,Lr)}),dn=Ce.useMemo(function(){if(Kt!=="tags")return tt;var Sr=(0,ct.Z)(tt),Or=function(Hr){return tA.has(Hr)};return(0,ct.Z)(vr).sort(function(Lr,Hr){return Lr.value<Hr.value?-1:1}).forEach(function(Lr){var Hr=Lr.value;Or(Hr)||Sr.push(an(Hr,Lr.label))}),Sr},[an,tt,tA,vr,Kt]),Pr=TA(dn,jA,fr,lr,qr),mn=Ce.useMemo(function(){return Kt!=="tags"||!fr||Pr.some(function(Sr){return Sr[qr||"value"]===fr})||Pr.some(function(Sr){return Sr[jA.value]===fr})?Pr:[an(fr)].concat((0,ct.Z)(Pr))},[an,qr,Kt,Pr,fr,jA]),sn=function Sr(Or){var Lr=(0,ct.Z)(Or).sort(function(Hr,$r){return zr(Hr,$r,{searchValue:fr})});return Lr.map(function(Hr){return Array.isArray(Hr.options)?(0,je.Z)((0,je.Z)({},Hr),{},{options:Hr.options.length>0?Sr(Hr.options):Hr.options}):Hr})},Vr=Ce.useMemo(function(){return zr?sn(mn):mn},[mn,zr,fr]),Kn=Ce.useMemo(function(){return Tt(Vr,{fieldNames:jA,childrenAsData:cr})},[Vr,jA,cr]),On=function(Or){var Lr=St(Or);if(pr(Lr),lA&&(Lr.length!==vr.length||Lr.some(function(gn,en){var hi;return((hi=vr[en])===null||hi===void 0?void 0:hi.value)!==(gn==null?void 0:gn.value)}))){var Hr=wA?Lr:Lr.map(function(gn){return gn.value}),$r=Lr.map(function(gn){return Pt(Kr(gn.value))});lA(er?Hr:Hr[0],er?$r:$r[0])}},fi=Ce.useState(null),Zn=(0,Ee.Z)(fi,2),ii=Zn[0],un=Zn[1],jn=Ce.useState(0),Si=(0,Ee.Z)(jn,2),$i=Si[0],ua=Si[1],Ui=ln!==void 0?ln:Kt!=="combobox",Rn=Ce.useCallback(function(Sr,Or){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Hr=Lr.source,$r=Hr===void 0?"keyboard":Hr;ua(Or),EA&&Kt==="combobox"&&Sr!==null&&$r==="keyboard"&&un(String(Sr))},[EA,Kt]),eo=function(Or,Lr,Hr){var $r=function(){var En,Ti=Kr(Or);return[wA?{label:Ti==null?void 0:Ti[jA.label],value:Or,key:(En=Ti==null?void 0:Ti.key)!==null&&En!==void 0?En:Or}:Or,Pt(Ti)]};if(Lr&&bA){var gn=$r(),en=(0,Ee.Z)(gn,2),hi=en[0],Xn=en[1];bA(hi,Xn)}else if(!Lr&&sr&&Hr!=="clear"){var Pn=$r(),oi=(0,Ee.Z)(Pn,2),$n=oi[0],bi=oi[1];sr($n,bi)}},uo=UA(function(Sr,Or){var Lr,Hr=er?Or.selected:!0;Hr?Lr=er?[].concat((0,ct.Z)(vr),[Sr]):[Sr]:Lr=vr.filter(function($r){return $r.value!==Sr}),On(Lr),eo(Sr,Hr),Kt==="combobox"?un(""):(!Xt||ar)&&(FA(""),un(""))}),Wi=function(Or,Lr){On(Or);var Hr=Lr.type,$r=Lr.values;(Hr==="remove"||Hr==="clear")&&$r.forEach(function(gn){eo(gn.value,!1,Hr)})},Wn=function(Or,Lr){if(FA(Or),un(null),Lr.source==="submit"){var Hr=(Or||"").trim();if(Hr){var $r=Array.from(new Set([].concat((0,ct.Z)(Sn),[Hr])));On($r),eo(Hr,!0),FA("")}return}Lr.source!=="blur"&&(Kt==="combobox"&&On(Or),SA==null||SA(Or))},So=function(Or){var Lr=Or;Kt!=="tags"&&(Lr=Or.map(function($r){var gn=Ut.get($r);return gn==null?void 0:gn.value}).filter(function($r){return $r!==void 0}));var Hr=Array.from(new Set([].concat((0,ct.Z)(Sn),(0,ct.Z)(Lr))));On(Hr),Hr.forEach(function($r){eo($r,!0)})},co=Ce.useMemo(function(){var Sr=hn!==!1&&Fr!==!1;return(0,je.Z)((0,je.Z)({},_t),{},{flattenOptions:Kn,onActiveValue:Rn,defaultActiveFirstOption:Ui,onSelect:uo,menuItemSelectedIcon:An,rawValues:Sn,fieldNames:jA,virtual:Sr,direction:we,listHeight:xe,listItemHeight:st,childrenAsData:cr,maxCount:zt,optionRender:Tr})},[zt,_t,Kn,Rn,Ui,uo,An,Sn,jA,hn,Fr,we,xe,st,cr,Tr]);return Ce.createElement(xA.Provider,{value:co},Ce.createElement(mt,(0,se.Z)({},nA,{id:_A,prefixCls:Gt,ref:Re,omitDomProps:Br,mode:Kt,displayValues:on,onDisplayValuesChange:Wi,direction:we,searchValue:fr,onSearch:Wn,autoClearSearchValue:ar,onSearchSplit:So,dropdownMatchSelectWidth:Fr,OptionList:Ur,emptyOptions:!Kn.length,activeValue:ii,activeDescendantId:"".concat(_A,"_list_").concat($i)})))}),jt=He;jt.Option=MA,jt.OptGroup=mA;var kA=jt,HA=kA},63158:function(oA,hA,Be){"use strict";var se=Be(32855),ct=Be(74430),Le=Be(11913),je=Be(43079),Ee=Be(59301),Qe=Be(92310),Ye=Be.n(Qe),Ke=Be(18929),Ue=Be(10228),Ce=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],bt=Ee.forwardRef(function(Fe,Dt){var Xe,Ge=Fe.prefixCls,ze=Ge===void 0?"rc-switch":Ge,Oe=Fe.className,wt=Fe.checked,ht=Fe.defaultChecked,Ft=Fe.disabled,et=Fe.loadingIcon,nt=Fe.checkedChildren,lt=Fe.unCheckedChildren,At=Fe.onClick,uA=Fe.onChange,it=Fe.onKeyDown,Je=(0,je.Z)(Fe,Ce),yt=(0,Ke.Z)(!1,{value:wt,defaultValue:ht}),We=(0,Le.Z)(yt,2),$e=We[0],_e=We[1];function Ze(Jt,be){var de=$e;return Ft||(de=Jt,_e(de),uA==null||uA(de,be)),de}function Mt(Jt){Jt.which===Ue.Z.LEFT?Ze(!1,Jt):Jt.which===Ue.Z.RIGHT&&Ze(!0,Jt),it==null||it(Jt)}function Lt(Jt){var be=Ze(!$e,Jt);At==null||At(be,Jt)}var aA=Ye()(ze,Oe,(Xe={},(0,ct.Z)(Xe,"".concat(ze,"-checked"),$e),(0,ct.Z)(Xe,"".concat(ze,"-disabled"),Ft),Xe));return Ee.createElement("button",(0,se.Z)({},Je,{type:"button",role:"switch","aria-checked":$e,disabled:Ft,className:aA,ref:Dt,onKeyDown:Mt,onClick:Lt}),et,Ee.createElement("span",{className:"".concat(ze,"-inner")},Ee.createElement("span",{className:"".concat(ze,"-inner-checked")},nt),Ee.createElement("span",{className:"".concat(ze,"-inner-unchecked")},lt)))});bt.displayName="Switch",hA.Z=bt},22711:function(oA,hA,Be){"use strict";Be.r(hA),Be.d(hA,{ResizableTextArea:function(){return We},default:function(){return Mt}});var se=Be(32855),ct=Be(74430),Le=Be(27247),je=Be(3300),Ee=Be(11913),Qe=Be(43079),Ye=Be(92310),Ke=Be.n(Ye),Ue=Be(36901),Ce=Be(66003),bt=Be(30292),Fe=Be(18929),Dt=Be(59301),Xe=Be(34666),Ge=Be(29301),ze=Be(34280),Oe=Be(16089),wt=`
|
|
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"],Ft={},et;function nt(Lt){var aA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=Lt.getAttribute("id")||Lt.getAttribute("data-reactid")||Lt.getAttribute("name");if(aA&&Ft[Jt])return Ft[Jt];var be=window.getComputedStyle(Lt),de=be.getPropertyValue("box-sizing")||be.getPropertyValue("-moz-box-sizing")||be.getPropertyValue("-webkit-box-sizing"),Ct=parseFloat(be.getPropertyValue("padding-bottom"))+parseFloat(be.getPropertyValue("padding-top")),qt=parseFloat(be.getPropertyValue("border-bottom-width"))+parseFloat(be.getPropertyValue("border-top-width")),Rt=ht.map(function(pt){return"".concat(pt,":").concat(be.getPropertyValue(pt))}).join(";"),Ve={sizingStyle:Rt,paddingSize:Ct,borderSize:qt,boxSizing:de};return aA&&Jt&&(Ft[Jt]=Ve),Ve}function lt(Lt){var aA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;et||(et=document.createElement("textarea"),et.setAttribute("tab-index","-1"),et.setAttribute("aria-hidden","true"),et.setAttribute("name","hiddenTextarea"),document.body.appendChild(et)),Lt.getAttribute("wrap")?et.setAttribute("wrap",Lt.getAttribute("wrap")):et.removeAttribute("wrap");var de=nt(Lt,aA),Ct=de.paddingSize,qt=de.borderSize,Rt=de.boxSizing,Ve=de.sizingStyle;et.setAttribute("style","".concat(Ve,";").concat(wt)),et.value=Lt.value||Lt.placeholder||"";var pt=void 0,ft=void 0,$t,It=et.scrollHeight;if(Rt==="border-box"?It+=qt:Rt==="content-box"&&(It-=Ct),Jt!==null||be!==null){et.value=" ";var eA=et.scrollHeight-Ct;Jt!==null&&(pt=eA*Jt,Rt==="border-box"&&(pt=pt+Ct+qt),It=Math.max(pt,It)),be!==null&&(ft=eA*be,Rt==="border-box"&&(ft=ft+Ct+qt),$t=It>ft?"":"hidden",It=Math.min(ft,It))}var Me={height:It,overflowY:$t,resize:"none"};return pt&&(Me.minHeight=pt),ft&&(Me.maxHeight=ft),Me}var At=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],uA=0,it=1,Je=2,yt=Dt.forwardRef(function(Lt,aA){var Jt=Lt,be=Jt.prefixCls,de=Jt.defaultValue,Ct=Jt.value,qt=Jt.autoSize,Rt=Jt.onResize,Ve=Jt.className,pt=Jt.style,ft=Jt.disabled,$t=Jt.onChange,It=Jt.onInternalAutoSize,eA=(0,Qe.Z)(Jt,At),Me=(0,Fe.Z)(de,{value:Ct,postState:function(MA){return MA!=null?MA:""}}),Bt=(0,Ee.Z)(Me,2),xt=Bt[0],ue=Bt[1],ne=function(MA){ue(MA.target.value),$t==null||$t(MA)},re=Dt.useRef();Dt.useImperativeHandle(aA,function(){return{textArea:re.current}});var ae=Dt.useMemo(function(){return qt&&(0,Xe.Z)(qt)==="object"?[qt.minRows,qt.maxRows]:[]},[qt]),he=(0,Ee.Z)(ae,2),oe=he[0],Se=he[1],rt=!!qt,Yt=function(){try{if(document.activeElement===re.current){var MA=re.current,dr=MA.selectionStart,KA=MA.selectionEnd,ZA=MA.scrollTop;re.current.setSelectionRange(dr,KA),re.current.scrollTop=ZA}}catch($A){}},Ht=Dt.useState(Je),Tt=(0,Ee.Z)(Ht,2),Pt=Tt[0],pA=Tt[1],vA=Dt.useState(),xA=(0,Ee.Z)(vA,2),sA=xA[0],Nt=xA[1],CA=function(){pA(uA)};(0,ze.Z)(function(){rt&&CA()},[Ct,oe,Se,rt]),(0,ze.Z)(function(){if(Pt===uA)pA(it);else if(Pt===it){var yA=lt(re.current,!1,oe,Se);pA(Je),Nt(yA)}else Yt()},[Pt]);var Xt=Dt.useRef(),IA=function(){Oe.Z.cancel(Xt.current)},mt=function(MA){Pt===Je&&(Rt==null||Rt(MA),qt&&(IA(),Xt.current=(0,Oe.Z)(function(){CA()})))};Dt.useEffect(function(){return IA},[]);var GA=rt?sA:null,mA=(0,Le.Z)((0,Le.Z)({},pt),GA);return(Pt===uA||Pt===it)&&(mA.overflowY="hidden",mA.overflowX="hidden"),Dt.createElement(Ge.Z,{onResize:mt,disabled:!(qt||Rt)},Dt.createElement("textarea",(0,se.Z)({},eA,{ref:re,style:mA,className:Ke()(be,Ve,(0,ct.Z)({},"".concat(be,"-disabled"),ft)),disabled:ft,value:xt,onChange:ne})))}),We=yt,$e=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],_e=Dt.forwardRef(function(Lt,aA){var Jt,be=Lt.defaultValue,de=Lt.value,Ct=Lt.onFocus,qt=Lt.onBlur,Rt=Lt.onChange,Ve=Lt.allowClear,pt=Lt.maxLength,ft=Lt.onCompositionStart,$t=Lt.onCompositionEnd,It=Lt.suffix,eA=Lt.prefixCls,Me=eA===void 0?"rc-textarea":eA,Bt=Lt.showCount,xt=Lt.count,ue=Lt.className,ne=Lt.style,re=Lt.disabled,ae=Lt.hidden,he=Lt.classNames,oe=Lt.styles,Se=Lt.onResize,rt=Lt.onClear,Yt=Lt.onPressEnter,Ht=Lt.readOnly,Tt=Lt.autoSize,Pt=Lt.onKeyDown,pA=(0,Qe.Z)(Lt,$e),vA=(0,Fe.Z)(be,{value:de,defaultValue:be}),xA=(0,Ee.Z)(vA,2),sA=xA[0],Nt=xA[1],CA=sA==null?"":String(sA),Xt=Dt.useState(!1),IA=(0,Ee.Z)(Xt,2),mt=IA[0],GA=IA[1],mA=Dt.useRef(!1),yA=Dt.useState(null),MA=(0,Ee.Z)(yA,2),dr=MA[0],KA=MA[1],ZA=(0,Dt.useRef)(null),$A=(0,Dt.useRef)(null),Er=function(){var jt;return(jt=$A.current)===null||jt===void 0?void 0:jt.textArea},Yr=function(){Er().focus()};(0,Dt.useImperativeHandle)(aA,function(){var He;return{resizableTextArea:$A.current,focus:Yr,blur:function(){Er().blur()},nativeElement:((He=ZA.current)===null||He===void 0?void 0:He.nativeElement)||Er()}}),(0,Dt.useEffect)(function(){GA(function(He){return!re&&He})},[re]);var cn=Dt.useState(null),jr=(0,Ee.Z)(cn,2),Ur=jr[0],zA=jr[1];Dt.useEffect(function(){if(Ur){var He;(He=Er()).setSelectionRange.apply(He,(0,je.Z)(Ur))}},[Ur]);var Ir=(0,Ce.Z)(xt,Bt),TA=(Jt=Ir.max)!==null&&Jt!==void 0?Jt:pt,ir=Number(TA)>0,Nr=Ir.strategy(CA),vt=!!TA&&Nr>TA,Qt=function(jt,kA){var HA=kA;!mA.current&&Ir.exceedFormatter&&Ir.max&&Ir.strategy(kA)>Ir.max&&(HA=Ir.exceedFormatter(kA,{max:Ir.max}),kA!==HA&&zA([Er().selectionStart||0,Er().selectionEnd||0])),Nt(HA),(0,bt.rJ)(jt.currentTarget,jt,Rt,HA)},Ot=function(jt){mA.current=!0,ft==null||ft(jt)},cA=function(jt){mA.current=!1,Qt(jt,jt.currentTarget.value),$t==null||$t(jt)},Ar=function(jt){Qt(jt,jt.target.value)},YA=function(jt){jt.key==="Enter"&&Yt&&Yt(jt),Pt==null||Pt(jt)},UA=function(jt){GA(!0),Ct==null||Ct(jt)},Cr=function(jt){GA(!1),qt==null||qt(jt)},hr=function(jt){Nt(""),Yr(),(0,bt.rJ)(Er(),jt,Rt)},or=It,JA;Ir.show&&(Ir.showFormatter?JA=Ir.showFormatter({value:CA,count:Nr,maxLength:TA}):JA="".concat(Nr).concat(ir?" / ".concat(TA):""),or=Dt.createElement(Dt.Fragment,null,or,Dt.createElement("span",{className:Ke()("".concat(Me,"-data-count"),he==null?void 0:he.count),style:oe==null?void 0:oe.count},JA)));var Br=function(jt){var kA;Se==null||Se(jt),(kA=Er())!==null&&kA!==void 0&&kA.style.height&&KA(!0)},fA=!Tt&&!Bt&&!Ve;return Dt.createElement(Ue.BaseInput,{ref:ZA,value:CA,allowClear:Ve,handleReset:hr,suffix:or,prefixCls:Me,classNames:(0,Le.Z)((0,Le.Z)({},he),{},{affixWrapper:Ke()(he==null?void 0:he.affixWrapper,(0,ct.Z)((0,ct.Z)({},"".concat(Me,"-show-count"),Bt),"".concat(Me,"-textarea-allow-clear"),Ve))}),disabled:re,focused:mt,className:Ke()(ue,vt&&"".concat(Me,"-out-of-range")),style:(0,Le.Z)((0,Le.Z)({},ne),dr&&!fA?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof JA=="string"?JA:void 0}},hidden:ae,readOnly:Ht,onClear:rt},Dt.createElement(We,(0,se.Z)({},pA,{autoSize:Tt,maxLength:pt,onKeyDown:YA,onChange:Ar,onFocus:UA,onBlur:Cr,onCompositionStart:Ot,onCompositionEnd:cA,className:Ke()(he==null?void 0:he.textarea),style:(0,Le.Z)((0,Le.Z)({},oe==null?void 0:oe.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:re,prefixCls:Me,onResize:Br,ref:$A,readOnly:Ht})))}),Ze=_e,Mt=Ze},6790:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return xt}});var se=Be(32855),ct=Be(34666),Le=Be(27247),je=Be(74430),Ee=Be(11913),Qe=Be(43079),Ye=Be(92310),Ke=Be.n(Ye),Ue=Be(29301),Ce=Be(70425),bt=Be(34280),Fe=Be(59301),Dt=Be(4676),Xe=Fe.forwardRef(function(ue,ne){var re=ue.height,ae=ue.offsetY,he=ue.offsetX,oe=ue.children,Se=ue.prefixCls,rt=ue.onInnerResize,Yt=ue.innerProps,Ht=ue.rtl,Tt=ue.extra,Pt={},pA={display:"flex",flexDirection:"column"};return ae!==void 0&&(Pt={height:re,position:"relative",overflow:"hidden"},pA=(0,Le.Z)((0,Le.Z)({},pA),{},(0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)((0,je.Z)({transform:"translateY(".concat(ae,"px)")},Ht?"marginRight":"marginLeft",-he),"position","absolute"),"left",0),"right",0),"top",0))),Fe.createElement("div",{style:Pt},Fe.createElement(Ue.Z,{onResize:function(xA){var sA=xA.offsetHeight;sA&&rt&&rt()}},Fe.createElement("div",(0,se.Z)({style:pA,className:Ke()((0,je.Z)({},"".concat(Se,"-holder-inner"),Se)),ref:ne},Yt),oe,Tt)))});Xe.displayName="Filler";var Ge=Xe;function ze(ue){var ne=ue.children,re=ue.setRef,ae=Fe.useCallback(function(he){re(he)},[]);return Fe.cloneElement(ne,{ref:ae})}function Oe(ue,ne,re,ae,he,oe,Se,rt){var Yt=rt.getKey;return ue.slice(ne,re+1).map(function(Ht,Tt){var Pt=ne+Tt,pA=Se(Ht,Pt,{style:{width:ae},offsetX:he}),vA=Yt(Ht);return Fe.createElement(ze,{key:vA,setRef:function(sA){return oe(Ht,sA)}},pA)})}function wt(ue,ne,re,ae){var he=re-ue,oe=ne-re,Se=Math.min(he,oe)*2;if(ae<=Se){var rt=Math.floor(ae/2);return ae%2?re+rt+1:re-rt}return he>oe?re-(ae-oe):re+(ae-he)}function ht(ue,ne,re){var ae=ue.length,he=ne.length,oe,Se;if(ae===0&&he===0)return null;ae<he?(oe=ue,Se=ne):(oe=ne,Se=ue);var rt={__EMPTY_ITEM__:!0};function Yt(xA){return xA!==void 0?re(xA):rt}for(var Ht=null,Tt=Math.abs(ae-he)!==1,Pt=0;Pt<Se.length;Pt+=1){var pA=Yt(oe[Pt]),vA=Yt(Se[Pt]);if(pA!==vA){Ht=Pt,Tt=Tt||pA!==Yt(Se[Pt+1]);break}}return Ht===null?null:{index:Ht,multiple:Tt}}function Ft(ue,ne,re){var ae=Fe.useState(ue),he=(0,Ee.Z)(ae,2),oe=he[0],Se=he[1],rt=Fe.useState(null),Yt=(0,Ee.Z)(rt,2),Ht=Yt[0],Tt=Yt[1];return Fe.useEffect(function(){var Pt=ht(oe||[],ue||[],ne);(Pt==null?void 0:Pt.index)!==void 0&&(re==null||re(Pt.index),Tt(ue[Pt.index])),Se(ue)},[ue]),[Ht]}var et=Be(16089),nt=(typeof navigator=="undefined"?"undefined":(0,ct.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),lt=nt,At=function(ue,ne,re,ae){var he=(0,Fe.useRef)(!1),oe=(0,Fe.useRef)(null);function Se(){clearTimeout(oe.current),he.current=!0,oe.current=setTimeout(function(){he.current=!1},50)}var rt=(0,Fe.useRef)({top:ue,bottom:ne,left:re,right:ae});return rt.current.top=ue,rt.current.bottom=ne,rt.current.left=re,rt.current.right=ae,function(Yt,Ht){var Tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Pt=Yt?Ht<0&&rt.current.left||Ht>0&&rt.current.right:Ht<0&&rt.current.top||Ht>0&&rt.current.bottom;return Tt&&Pt?(clearTimeout(oe.current),he.current=!1):(!Pt||he.current)&&Se(),!he.current&&Pt}};function uA(ue,ne,re,ae,he,oe,Se){var rt=(0,Fe.useRef)(0),Yt=(0,Fe.useRef)(null),Ht=(0,Fe.useRef)(null),Tt=(0,Fe.useRef)(!1),Pt=At(ne,re,ae,he);function pA(Xt,IA){if(et.Z.cancel(Yt.current),!Pt(!1,IA)){var mt=Xt;if(!mt._virtualHandled)mt._virtualHandled=!0;else return;rt.current+=IA,Ht.current=IA,lt||mt.preventDefault(),Yt.current=(0,et.Z)(function(){var GA=Tt.current?10:1;Se(rt.current*GA,!1),rt.current=0})}}function vA(Xt,IA){Se(IA,!0),lt||Xt.preventDefault()}var xA=(0,Fe.useRef)(null),sA=(0,Fe.useRef)(null);function Nt(Xt){if(ue){et.Z.cancel(sA.current),sA.current=(0,et.Z)(function(){xA.current=null},2);var IA=Xt.deltaX,mt=Xt.deltaY,GA=Xt.shiftKey,mA=IA,yA=mt;(xA.current==="sx"||!xA.current&&GA&&mt&&!IA)&&(mA=mt,yA=0,xA.current="sx");var MA=Math.abs(mA),dr=Math.abs(yA);xA.current===null&&(xA.current=oe&&MA>dr?"x":"y"),xA.current==="y"?pA(Xt,yA):vA(Xt,mA)}}function CA(Xt){ue&&(Tt.current=Xt.detail===Ht.current)}return[Nt,CA]}function it(ue,ne,re,ae){var he=Fe.useMemo(function(){return[new Map,[]]},[ue,re.id,ae]),oe=(0,Ee.Z)(he,2),Se=oe[0],rt=oe[1],Yt=function(Tt){var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Tt,pA=Se.get(Tt),vA=Se.get(Pt);if(pA===void 0||vA===void 0)for(var xA=ue.length,sA=rt.length;sA<xA;sA+=1){var Nt,CA=ue[sA],Xt=ne(CA);Se.set(Xt,sA);var IA=(Nt=re.get(Xt))!==null&&Nt!==void 0?Nt:ae;if(rt[sA]=(rt[sA-1]||0)+IA,Xt===Tt&&(pA=sA),Xt===Pt&&(vA=sA),pA!==void 0&&vA!==void 0)break}return{top:rt[pA-1]||0,bottom:rt[vA]}};return Yt}var Je=Be(33377),yt=Be(93912),We=function(){function ue(){(0,Je.Z)(this,ue),(0,je.Z)(this,"maps",void 0),(0,je.Z)(this,"id",0),(0,je.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,yt.Z)(ue,[{key:"set",value:function(re,ae){this.diffRecords.set(re,this.maps[re]),this.maps[re]=ae,this.id+=1}},{key:"get",value:function(re){return this.maps[re]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ue}(),$e=We;function _e(ue){var ne=parseFloat(ue);return isNaN(ne)?0:ne}function Ze(ue,ne,re){var ae=Fe.useState(0),he=(0,Ee.Z)(ae,2),oe=he[0],Se=he[1],rt=(0,Fe.useRef)(new Map),Yt=(0,Fe.useRef)(new $e),Ht=(0,Fe.useRef)(0);function Tt(){Ht.current+=1}function Pt(){var vA=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Tt();var xA=function(){var CA=!1;rt.current.forEach(function(Xt,IA){if(Xt&&Xt.offsetParent){var mt=Xt.offsetHeight,GA=getComputedStyle(Xt),mA=GA.marginTop,yA=GA.marginBottom,MA=_e(mA),dr=_e(yA),KA=mt+MA+dr;Yt.current.get(IA)!==KA&&(Yt.current.set(IA,KA),CA=!0)}}),CA&&Se(function(Xt){return Xt+1})};if(vA)xA();else{Ht.current+=1;var sA=Ht.current;Promise.resolve().then(function(){sA===Ht.current&&xA()})}}function pA(vA,xA){var sA=ue(vA),Nt=rt.current.get(sA);xA?(rt.current.set(sA,xA),Pt()):rt.current.delete(sA),!Nt!=!xA&&(xA?ne==null||ne(vA):re==null||re(vA))}return(0,Fe.useEffect)(function(){return Tt},[]),[pA,Pt,Yt.current,oe]}var Mt=14/15;function Lt(ue,ne,re){var ae=(0,Fe.useRef)(!1),he=(0,Fe.useRef)(0),oe=(0,Fe.useRef)(0),Se=(0,Fe.useRef)(null),rt=(0,Fe.useRef)(null),Yt,Ht=function(vA){if(ae.current){var xA=Math.ceil(vA.touches[0].pageX),sA=Math.ceil(vA.touches[0].pageY),Nt=he.current-xA,CA=oe.current-sA,Xt=Math.abs(Nt)>Math.abs(CA);Xt?he.current=xA:oe.current=sA;var IA=re(Xt,Xt?Nt:CA,!1,vA);IA&&vA.preventDefault(),clearInterval(rt.current),IA&&(rt.current=setInterval(function(){Xt?Nt*=Mt:CA*=Mt;var mt=Math.floor(Xt?Nt:CA);(!re(Xt,mt,!0)||Math.abs(mt)<=.1)&&clearInterval(rt.current)},16))}},Tt=function(){ae.current=!1,Yt()},Pt=function(vA){Yt(),vA.touches.length===1&&!ae.current&&(ae.current=!0,he.current=Math.ceil(vA.touches[0].pageX),oe.current=Math.ceil(vA.touches[0].pageY),Se.current=vA.target,Se.current.addEventListener("touchmove",Ht,{passive:!1}),Se.current.addEventListener("touchend",Tt,{passive:!0}))};Yt=function(){Se.current&&(Se.current.removeEventListener("touchmove",Ht),Se.current.removeEventListener("touchend",Tt))},(0,bt.Z)(function(){return ue&&ne.current.addEventListener("touchstart",Pt,{passive:!0}),function(){var pA;(pA=ne.current)===null||pA===void 0||pA.removeEventListener("touchstart",Pt),Yt(),clearInterval(rt.current)}},[ue])}function aA(ue){return Math.floor(Math.pow(ue,.5))}function Jt(ue,ne){var re="touches"in ue?ue.touches[0]:ue;return re[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function be(ue,ne,re){Fe.useEffect(function(){var ae=ne.current;if(ue&&ae){var he=!1,oe,Se,rt=function(){et.Z.cancel(oe)},Yt=function pA(){rt(),oe=(0,et.Z)(function(){re(Se),pA()})},Ht=function(vA){if(!(vA.target.draggable||vA.button!==0)){var xA=vA;xA._virtualHandled||(xA._virtualHandled=!0,he=!0)}},Tt=function(){he=!1,rt()},Pt=function(vA){if(he){var xA=Jt(vA,!1),sA=ae.getBoundingClientRect(),Nt=sA.top,CA=sA.bottom;if(xA<=Nt){var Xt=Nt-xA;Se=-aA(Xt),Yt()}else if(xA>=CA){var IA=xA-CA;Se=aA(IA),Yt()}else rt()}};return ae.addEventListener("mousedown",Ht),ae.ownerDocument.addEventListener("mouseup",Tt),ae.ownerDocument.addEventListener("mousemove",Pt),function(){ae.removeEventListener("mousedown",Ht),ae.ownerDocument.removeEventListener("mouseup",Tt),ae.ownerDocument.removeEventListener("mousemove",Pt),rt()}}},[ue])}var de=10;function Ct(ue,ne,re,ae,he,oe,Se,rt){var Yt=Fe.useRef(),Ht=Fe.useState(null),Tt=(0,Ee.Z)(Ht,2),Pt=Tt[0],pA=Tt[1];return(0,bt.Z)(function(){if(Pt&&Pt.times<de){if(!ue.current){pA(function(Ir){return(0,Le.Z)({},Ir)});return}oe();var vA=Pt.targetAlign,xA=Pt.originAlign,sA=Pt.index,Nt=Pt.offset,CA=ue.current.clientHeight,Xt=!1,IA=vA,mt=null;if(CA){for(var GA=vA||xA,mA=0,yA=0,MA=0,dr=Math.min(ne.length-1,sA),KA=0;KA<=dr;KA+=1){var ZA=he(ne[KA]);yA=mA;var $A=re.get(ZA);MA=yA+($A===void 0?ae:$A),mA=MA}for(var Er=GA==="top"?Nt:CA-Nt,Yr=dr;Yr>=0;Yr-=1){var cn=he(ne[Yr]),jr=re.get(cn);if(jr===void 0){Xt=!0;break}if(Er-=jr,Er<=0)break}switch(GA){case"top":mt=yA-Nt;break;case"bottom":mt=MA-CA+Nt;break;default:{var Ur=ue.current.scrollTop,zA=Ur+CA;yA<Ur?IA="top":MA>zA&&(IA="bottom")}}mt!==null&&Se(mt),mt!==Pt.lastTop&&(Xt=!0)}Xt&&pA((0,Le.Z)((0,Le.Z)({},Pt),{},{times:Pt.times+1,targetAlign:IA,lastTop:mt}))}},[Pt,ue.current]),function(vA){if(vA==null){rt();return}if(et.Z.cancel(Yt.current),typeof vA=="number")Se(vA);else if(vA&&(0,ct.Z)(vA)==="object"){var xA,sA=vA.align;"index"in vA?xA=vA.index:xA=ne.findIndex(function(Xt){return he(Xt)===vA.key});var Nt=vA.offset,CA=Nt===void 0?0:Nt;pA({times:0,index:xA,offset:CA,originAlign:sA})}}}var qt=Fe.forwardRef(function(ue,ne){var re=ue.prefixCls,ae=ue.rtl,he=ue.scrollOffset,oe=ue.scrollRange,Se=ue.onStartMove,rt=ue.onStopMove,Yt=ue.onScroll,Ht=ue.horizontal,Tt=ue.spinSize,Pt=ue.containerSize,pA=ue.style,vA=ue.thumbStyle,xA=ue.showScrollBar,sA=Fe.useState(!1),Nt=(0,Ee.Z)(sA,2),CA=Nt[0],Xt=Nt[1],IA=Fe.useState(null),mt=(0,Ee.Z)(IA,2),GA=mt[0],mA=mt[1],yA=Fe.useState(null),MA=(0,Ee.Z)(yA,2),dr=MA[0],KA=MA[1],ZA=!ae,$A=Fe.useRef(),Er=Fe.useRef(),Yr=Fe.useState(xA),cn=(0,Ee.Z)(Yr,2),jr=cn[0],Ur=cn[1],zA=Fe.useRef(),Ir=function(){xA===!0||xA===!1||(clearTimeout(zA.current),Ur(!0),zA.current=setTimeout(function(){Ur(!1)},3e3))},TA=oe-Pt||0,ir=Pt-Tt||0,Nr=Fe.useMemo(function(){if(he===0||TA===0)return 0;var hr=he/TA;return hr*ir},[he,TA,ir]),vt=function(or){or.stopPropagation(),or.preventDefault()},Qt=Fe.useRef({top:Nr,dragging:CA,pageY:GA,startTop:dr});Qt.current={top:Nr,dragging:CA,pageY:GA,startTop:dr};var Ot=function(or){Xt(!0),mA(Jt(or,Ht)),KA(Qt.current.top),Se(),or.stopPropagation(),or.preventDefault()};Fe.useEffect(function(){var hr=function(fA){fA.preventDefault()},or=$A.current,JA=Er.current;return or.addEventListener("touchstart",hr,{passive:!1}),JA.addEventListener("touchstart",Ot,{passive:!1}),function(){or.removeEventListener("touchstart",hr),JA.removeEventListener("touchstart",Ot)}},[]);var cA=Fe.useRef();cA.current=TA;var Ar=Fe.useRef();Ar.current=ir,Fe.useEffect(function(){if(CA){var hr,or=function(fA){var He=Qt.current,jt=He.dragging,kA=He.pageY,HA=He.startTop;et.Z.cancel(hr);var Te=$A.current.getBoundingClientRect(),Re=Pt/(Ht?Te.width:Te.height);if(jt){var dA=(Jt(fA,Ht)-kA)*Re,Kt=HA;!ZA&&Ht?Kt-=dA:Kt+=dA;var qe=cA.current,Gt=Ar.current,EA=Gt?Kt/Gt:0,DA=Math.ceil(EA*qe);DA=Math.max(DA,0),DA=Math.min(DA,qe),hr=(0,et.Z)(function(){Yt(DA,Ht)})}},JA=function(){Xt(!1),rt()};return window.addEventListener("mousemove",or,{passive:!0}),window.addEventListener("touchmove",or,{passive:!0}),window.addEventListener("mouseup",JA,{passive:!0}),window.addEventListener("touchend",JA,{passive:!0}),function(){window.removeEventListener("mousemove",or),window.removeEventListener("touchmove",or),window.removeEventListener("mouseup",JA),window.removeEventListener("touchend",JA),et.Z.cancel(hr)}}},[CA]),Fe.useEffect(function(){return Ir(),function(){clearTimeout(zA.current)}},[he]),Fe.useImperativeHandle(ne,function(){return{delayHidden:Ir}});var YA="".concat(re,"-scrollbar"),UA={position:"absolute",visibility:jr?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 Ht?(Object.assign(UA,{height:8,left:0,right:0,bottom:0}),Object.assign(Cr,(0,je.Z)({height:"100%",width:Tt},ZA?"left":"right",Nr))):(Object.assign(UA,(0,je.Z)({width:8,top:0,bottom:0},ZA?"right":"left",0)),Object.assign(Cr,{width:"100%",height:Tt,top:Nr})),Fe.createElement("div",{ref:$A,className:Ke()(YA,(0,je.Z)((0,je.Z)((0,je.Z)({},"".concat(YA,"-horizontal"),Ht),"".concat(YA,"-vertical"),!Ht),"".concat(YA,"-visible"),jr)),style:(0,Le.Z)((0,Le.Z)({},UA),pA),onMouseDown:vt,onMouseMove:Ir},Fe.createElement("div",{ref:Er,className:Ke()("".concat(YA,"-thumb"),(0,je.Z)({},"".concat(YA,"-thumb-moving"),CA)),style:(0,Le.Z)((0,Le.Z)({},Cr),vA),onMouseDown:Ot}))}),Rt=qt,Ve=20;function pt(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,re=ue/ne*ue;return isNaN(re)&&(re=0),re=Math.max(re,Ve),Math.floor(re)}var ft=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],$t=[],It={overflowY:"auto",overflowAnchor:"none"};function eA(ue,ne){var re=ue.prefixCls,ae=re===void 0?"rc-virtual-list":re,he=ue.className,oe=ue.height,Se=ue.itemHeight,rt=ue.fullHeight,Yt=rt===void 0?!0:rt,Ht=ue.style,Tt=ue.data,Pt=ue.children,pA=ue.itemKey,vA=ue.virtual,xA=ue.direction,sA=ue.scrollWidth,Nt=ue.component,CA=Nt===void 0?"div":Nt,Xt=ue.onScroll,IA=ue.onVirtualScroll,mt=ue.onVisibleChange,GA=ue.innerProps,mA=ue.extraRender,yA=ue.styles,MA=ue.showScrollBar,dr=MA===void 0?"optional":MA,KA=(0,Qe.Z)(ue,ft),ZA=Fe.useCallback(function(_t){return typeof pA=="function"?pA(_t):_t==null?void 0:_t[pA]},[pA]),$A=Ze(ZA,null,null),Er=(0,Ee.Z)($A,4),Yr=Er[0],cn=Er[1],jr=Er[2],Ur=Er[3],zA=!!(vA!==!1&&oe&&Se),Ir=Fe.useMemo(function(){return Object.values(jr.maps).reduce(function(_t,tA){return _t+tA},0)},[jr.id,jr.maps]),TA=zA&&Tt&&(Math.max(Se*Tt.length,Ir)>oe||!!sA),ir=xA==="rtl",Nr=Ke()(ae,(0,je.Z)({},"".concat(ae,"-rtl"),ir),he),vt=Tt||$t,Qt=(0,Fe.useRef)(),Ot=(0,Fe.useRef)(),cA=(0,Fe.useRef)(),Ar=(0,Fe.useState)(0),YA=(0,Ee.Z)(Ar,2),UA=YA[0],Cr=YA[1],hr=(0,Fe.useState)(0),or=(0,Ee.Z)(hr,2),JA=or[0],Br=or[1],fA=(0,Fe.useState)(!1),He=(0,Ee.Z)(fA,2),jt=He[0],kA=He[1],HA=function(){kA(!0)},Te=function(){kA(!1)},Re={getKey:ZA};function dA(_t){Cr(function(tA){var Ut;typeof _t=="function"?Ut=_t(tA):Ut=_t;var tt=ln(Ut);return Qt.current.scrollTop=tt,tt})}var Kt=(0,Fe.useRef)({start:0,end:vt.length}),qe=(0,Fe.useRef)(),Gt=Ft(vt,ZA),EA=(0,Ee.Z)(Gt,1),DA=EA[0];qe.current=DA;var VA=Fe.useMemo(function(){if(!zA)return{scrollHeight:void 0,start:0,end:vt.length-1,offset:void 0};if(!TA){var _t;return{scrollHeight:((_t=Ot.current)===null||_t===void 0?void 0:_t.offsetHeight)||0,start:0,end:vt.length-1,offset:void 0}}for(var tA=0,Ut,tt,St,AA=vt.length,BA=0;BA<AA;BA+=1){var WA=vt[BA],pr=ZA(WA),yr=jr.get(pr),gr=tA+(yr===void 0?Se:yr);gr>=UA&&Ut===void 0&&(Ut=BA,tt=tA),gr>UA+oe&&St===void 0&&(St=BA),tA=gr}return Ut===void 0&&(Ut=0,tt=0,St=Math.ceil(oe/Se)),St===void 0&&(St=vt.length-1),St=Math.min(St+1,vt.length-1),{scrollHeight:tA,start:Ut,end:St,offset:tt}},[TA,zA,UA,vt,Ur,oe]),at=VA.scrollHeight,SA=VA.start,Wt=VA.end,ar=VA.offset;Kt.current.start=SA,Kt.current.end=Wt,Fe.useLayoutEffect(function(){var _t=jr.getRecord();if(_t.size===1){var tA=Array.from(_t.keys())[0],Ut=_t.get(tA),tt=vt[SA];if(tt&&Ut===void 0){var St=ZA(tt);if(St===tA){var AA=jr.get(tA),BA=AA-Se;dA(function(WA){return WA+BA})}}}jr.resetRecord()},[at]);var bA=Fe.useState({width:0,height:oe}),sr=(0,Ee.Z)(bA,2),RA=sr[0],Fr=sr[1],br=function(tA){Fr({width:tA.offsetWidth,height:tA.offsetHeight})},zr=(0,Fe.useRef)(),qr=(0,Fe.useRef)(),Gr=Fe.useMemo(function(){return pt(RA.width,sA)},[RA.width,sA]),fn=Fe.useMemo(function(){return pt(RA.height,at)},[RA.height,at]),Tr=at-oe,vn=(0,Fe.useRef)(Tr);vn.current=Tr;function ln(_t){var tA=_t;return Number.isNaN(vn.current)||(tA=Math.min(tA,vn.current)),tA=Math.max(tA,0),tA}var An=UA<=0,hn=UA>=Tr,we=JA<=0,ve=JA>=sA,xe=At(An,hn,we,ve),Pe=function(){return{x:ir?-JA:JA,y:UA}},st=(0,Fe.useRef)(Pe()),Et=(0,Ce.zX)(function(_t){if(IA){var tA=(0,Le.Z)((0,Le.Z)({},Pe()),_t);(st.current.x!==tA.x||st.current.y!==tA.y)&&(IA(tA),st.current=tA)}});function Vt(_t,tA){var Ut=_t;tA?((0,Dt.flushSync)(function(){Br(Ut)}),Et()):dA(Ut)}function rA(_t){var tA=_t.currentTarget.scrollTop;tA!==UA&&dA(tA),Xt==null||Xt(_t),Et()}var wA=function(tA){var Ut=tA,tt=sA?sA-RA.width:0;return Ut=Math.max(Ut,0),Ut=Math.min(Ut,tt),Ut},lA=(0,Ce.zX)(function(_t,tA){tA?((0,Dt.flushSync)(function(){Br(function(Ut){var tt=Ut+(ir?-_t:_t);return wA(tt)})}),Et()):dA(function(Ut){var tt=Ut+_t;return tt})}),zt=uA(zA,An,hn,we,ve,!!sA,lA),nA=(0,Ee.Z)(zt,2),_A=nA[0],er=nA[1];Lt(zA,Qt,function(_t,tA,Ut,tt){var St=tt;return xe(_t,tA,Ut)?!1:!St||!St._virtualHandled?(St&&(St._virtualHandled=!0),_A({preventDefault:function(){},deltaX:_t?tA:0,deltaY:_t?0:tA}),!0):!1}),be(TA,Qt,function(_t){dA(function(tA){return tA+_t})}),(0,bt.Z)(function(){function _t(Ut){var tt=An&&Ut.detail<0,St=hn&&Ut.detail>0;zA&&!tt&&!St&&Ut.preventDefault()}var tA=Qt.current;return tA.addEventListener("wheel",_A,{passive:!1}),tA.addEventListener("DOMMouseScroll",er,{passive:!0}),tA.addEventListener("MozMousePixelScroll",_t,{passive:!1}),function(){tA.removeEventListener("wheel",_A),tA.removeEventListener("DOMMouseScroll",er),tA.removeEventListener("MozMousePixelScroll",_t)}},[zA,An,hn]),(0,bt.Z)(function(){if(sA){var _t=wA(JA);Br(_t),Et({x:_t})}},[RA.width,sA]);var cr=function(){var tA,Ut;(tA=zr.current)===null||tA===void 0||tA.delayHidden(),(Ut=qr.current)===null||Ut===void 0||Ut.delayHidden()},lr=Ct(Qt,vt,jr,Se,ZA,function(){return cn(!0)},dA,cr);Fe.useImperativeHandle(ne,function(){return{nativeElement:cA.current,getScrollInfo:Pe,scrollTo:function(tA){function Ut(tt){return tt&&(0,ct.Z)(tt)==="object"&&("left"in tt||"top"in tt)}Ut(tA)?(tA.left!==void 0&&Br(wA(tA.left)),lr(tA.top)):lr(tA)}}}),(0,bt.Z)(function(){if(mt){var _t=vt.slice(SA,Wt+1);mt(_t,vt)}},[SA,Wt,vt]);var jA=it(vt,ZA,jr,Se),Qr=mA==null?void 0:mA({start:SA,end:Wt,virtual:TA,offsetX:JA,offsetY:ar,rtl:ir,getSize:jA}),Mr=Oe(vt,SA,Wt,sA,JA,Yr,Pt,Re),fr=null;oe&&(fr=(0,Le.Z)((0,je.Z)({},Yt?"height":"maxHeight",oe),It),zA&&(fr.overflowY="hidden",sA&&(fr.overflowX="hidden"),jt&&(fr.pointerEvents="none")));var FA={};return ir&&(FA.dir="rtl"),Fe.createElement("div",(0,se.Z)({ref:cA,style:(0,Le.Z)((0,Le.Z)({},Ht),{},{position:"relative"}),className:Nr},FA,KA),Fe.createElement(Ue.Z,{onResize:br},Fe.createElement(CA,{className:"".concat(ae,"-holder"),style:fr,ref:Qt,onScroll:rA,onMouseEnter:cr},Fe.createElement(Ge,{prefixCls:ae,height:at,offsetX:JA,offsetY:ar,scrollWidth:sA,onInnerResize:cn,ref:Ot,innerProps:GA,rtl:ir,extra:Qr},Mr))),TA&&at>oe&&Fe.createElement(Rt,{ref:zr,prefixCls:ae,scrollOffset:UA,scrollRange:at,rtl:ir,onScroll:Vt,onStartMove:HA,onStopMove:Te,spinSize:fn,containerSize:RA.height,style:yA==null?void 0:yA.verticalScrollBar,thumbStyle:yA==null?void 0:yA.verticalScrollBarThumb,showScrollBar:dr}),TA&&sA>RA.width&&Fe.createElement(Rt,{ref:qr,prefixCls:ae,scrollOffset:JA,scrollRange:sA,rtl:ir,onScroll:Vt,onStartMove:HA,onStopMove:Te,spinSize:Gr,containerSize:RA.width,horizontal:!0,style:yA==null?void 0:yA.horizontalScrollBar,thumbStyle:yA==null?void 0:yA.horizontalScrollBarThumb,showScrollBar:dr}))}var Me=Fe.forwardRef(eA);Me.displayName="List";var Bt=Me,xt=Bt},93314:function(oA){"use strict";oA.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3Mr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9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(oA,hA,Be){"use strict";Be.d(hA,{Z:function(){return Ke}});const se=Ue=>typeof Ue=="object"&&Ue!=null&&Ue.nodeType===1,ct=(Ue,Ce)=>(!Ce||Ue!=="hidden")&&Ue!=="visible"&&Ue!=="clip",Le=(Ue,Ce)=>{if(Ue.clientHeight<Ue.scrollHeight||Ue.clientWidth<Ue.scrollWidth){const bt=getComputedStyle(Ue,null);return ct(bt.overflowY,Ce)||ct(bt.overflowX,Ce)||(Fe=>{const Dt=(Xe=>{if(!Xe.ownerDocument||!Xe.ownerDocument.defaultView)return null;try{return Xe.ownerDocument.defaultView.frameElement}catch(Ge){return null}})(Fe);return!!Dt&&(Dt.clientHeight<Fe.scrollHeight||Dt.clientWidth<Fe.scrollWidth)})(Ue)}return!1},je=(Ue,Ce,bt,Fe,Dt,Xe,Ge,ze)=>Xe<Ue&&Ge>Ce||Xe>Ue&&Ge<Ce?0:Xe<=Ue&&ze<=bt||Ge>=Ce&&ze>=bt?Xe-Ue-Fe:Ge>Ce&&ze<bt||Xe<Ue&&ze>bt?Ge-Ce+Dt:0,Ee=Ue=>{const Ce=Ue.parentElement;return Ce==null?Ue.getRootNode().host||null:Ce},Qe=(Ue,Ce)=>{var bt,Fe,Dt,Xe;if(typeof document=="undefined")return[];const{scrollMode:Ge,block:ze,inline:Oe,boundary:wt,skipOverflowHiddenElements:ht}=Ce,Ft=typeof wt=="function"?wt:Rt=>Rt!==wt;if(!se(Ue))throw new TypeError("Invalid target");const et=document.scrollingElement||document.documentElement,nt=[];let lt=Ue;for(;se(lt)&&Ft(lt);){if(lt=Ee(lt),lt===et){nt.push(lt);break}lt!=null&<===document.body&&Le(lt)&&!Le(document.documentElement)||lt!=null&&Le(lt,ht)&&nt.push(lt)}const At=(Fe=(bt=window.visualViewport)==null?void 0:bt.width)!=null?Fe:innerWidth,uA=(Xe=(Dt=window.visualViewport)==null?void 0:Dt.height)!=null?Xe:innerHeight,{scrollX:it,scrollY:Je}=window,{height:yt,width:We,top:$e,right:_e,bottom:Ze,left:Mt}=Ue.getBoundingClientRect(),{top:Lt,right:aA,bottom:Jt,left:be}=(Rt=>{const Ve=window.getComputedStyle(Rt);return{top:parseFloat(Ve.scrollMarginTop)||0,right:parseFloat(Ve.scrollMarginRight)||0,bottom:parseFloat(Ve.scrollMarginBottom)||0,left:parseFloat(Ve.scrollMarginLeft)||0}})(Ue);let de=ze==="start"||ze==="nearest"?$e-Lt:ze==="end"?Ze+Jt:$e+yt/2-Lt+Jt,Ct=Oe==="center"?Mt+We/2-be+aA:Oe==="end"?_e+aA:Mt-be;const qt=[];for(let Rt=0;Rt<nt.length;Rt++){const Ve=nt[Rt],{height:pt,width:ft,top:$t,right:It,bottom:eA,left:Me}=Ve.getBoundingClientRect();if(Ge==="if-needed"&&$e>=0&&Mt>=0&&Ze<=uA&&_e<=At&&(Ve===et&&!Le(Ve)||$e>=$t&&Ze<=eA&&Mt>=Me&&_e<=It))return qt;const Bt=getComputedStyle(Ve),xt=parseInt(Bt.borderLeftWidth,10),ue=parseInt(Bt.borderTopWidth,10),ne=parseInt(Bt.borderRightWidth,10),re=parseInt(Bt.borderBottomWidth,10);let ae=0,he=0;const oe="offsetWidth"in Ve?Ve.offsetWidth-Ve.clientWidth-xt-ne:0,Se="offsetHeight"in Ve?Ve.offsetHeight-Ve.clientHeight-ue-re:0,rt="offsetWidth"in Ve?Ve.offsetWidth===0?0:ft/Ve.offsetWidth:0,Yt="offsetHeight"in Ve?Ve.offsetHeight===0?0:pt/Ve.offsetHeight:0;if(et===Ve)ae=ze==="start"?de:ze==="end"?de-uA:ze==="nearest"?je(Je,Je+uA,uA,ue,re,Je+de,Je+de+yt,yt):de-uA/2,he=Oe==="start"?Ct:Oe==="center"?Ct-At/2:Oe==="end"?Ct-At:je(it,it+At,At,xt,ne,it+Ct,it+Ct+We,We),ae=Math.max(0,ae+Je),he=Math.max(0,he+it);else{ae=ze==="start"?de-$t-ue:ze==="end"?de-eA+re+Se:ze==="nearest"?je($t,eA,pt,ue,re+Se,de,de+yt,yt):de-($t+pt/2)+Se/2,he=Oe==="start"?Ct-Me-xt:Oe==="center"?Ct-(Me+ft/2)+oe/2:Oe==="end"?Ct-It+ne+oe:je(Me,It,ft,xt,ne+oe,Ct,Ct+We,We);const{scrollLeft:Ht,scrollTop:Tt}=Ve;ae=Yt===0?0:Math.max(0,Math.min(Tt+ae/Yt,Ve.scrollHeight-pt/Yt+Se)),he=rt===0?0:Math.max(0,Math.min(Ht+he/rt,Ve.scrollWidth-ft/rt+oe)),de+=Tt-ae,Ct+=Ht-he}qt.push({el:Ve,top:ae,left:he})}return qt},Ye=Ue=>Ue===!1?{block:"end",inline:"nearest"}:(Ce=>Ce===Object(Ce)&&Object.keys(Ce).length!==0)(Ue)?Ue:{block:"start",inline:"nearest"};function Ke(Ue,Ce){if(!Ue.isConnected||!(Dt=>{let Xe=Dt;for(;Xe&&Xe.parentNode;){if(Xe.parentNode===document)return!0;Xe=Xe.parentNode instanceof ShadowRoot?Xe.parentNode.host:Xe.parentNode}return!1})(Ue))return;const bt=(Dt=>{const Xe=window.getComputedStyle(Dt);return{top:parseFloat(Xe.scrollMarginTop)||0,right:parseFloat(Xe.scrollMarginRight)||0,bottom:parseFloat(Xe.scrollMarginBottom)||0,left:parseFloat(Xe.scrollMarginLeft)||0}})(Ue);if((Dt=>typeof Dt=="object"&&typeof Dt.behavior=="function")(Ce))return Ce.behavior(Qe(Ue,Ce));const Fe=typeof Ce=="boolean"||Ce==null?void 0:Ce.behavior;for(const{el:Dt,top:Xe,left:Ge}of Qe(Ue,Ye(Ce))){const ze=Xe-bt.top+bt.bottom,Oe=Ge-bt.left+bt.right;Dt.scroll({top:ze,left:Oe,behavior:Fe})}}}}]);
|